/*
Theme Name: Twenty Seventeen Child
Template: twentyseventeen
Text Domain:  twenty-seventeen-child
Version: 0.8
*/


.site-title {
    font-size: 15px;
}

html[lang="ru-RU"] h1 {
	font-weight: 800;
}

@media (min-width: 320px) {
	site-title {
		font-size: 21px;
	}
}

.contact-menu-wrap {
	position: absolute;
	top: 12px;
	width: 100%;
   /* right: 30%;*/
}

.contact_menu {
	position: relative;
    z-index: 4;
    display: flex;
	/*display: none;*/
	list-style: none;
	width: 140px;
	margin: 0 auto;
}

.contact_menu {
    
}

.contact_menu li {
	padding: 5px;
	line-height: 1.15;
}

.contact_menu a {
	color: #fff;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.66;
}

.contact_menu svg {
    fill: #fff;
	width: 20px;
    height: 20px;
}

.site-title+.site-description {
	font-weight: 700;
}

.navigation-top {
	bottom: auto;
	top: 130px;
	border: none;
	background: none;
	position: absolute;
    right: 5px;
    top: 5px;
	z-index: 4;
}

.toggled-on {
	text-align: end;
}

:not( .mejs-button ) > button:hover {
	background: none;
}

.js .menu-toggle {
	display: inline-block;
}

.menu-toggle:focus {
    outline: none;
	margin: 0;
}

.menu-toggle .icon {
    margin-right: 0.25em;
    /* top: -2px; */
    margin-left: 0.25em;
}

.main-navigation ul {
    background: #f3e4d0;
	border: 1px solid #666;
}

.main-navigation > div > ul {
    border-top: none;
    padding: 0.25em 1.695em;
}

.main-navigation li {
    border-bottom: 1px solid #767676;
}

.navigation-top a {
	/*color: #fff;*/
	color: #7c7c7c;
}

.menu-scroll-down {
	color: #fff;
}

.navigation-top .current-menu-item > a, .navigation-top .current_page_item > a {
    color: #000;
	/*color: #767676;*/
}

.single-featured-image-header {
	display: none;
}

.site-content-contain {
	background: #f3e4d0
}

.entry-header .entry-title {
    margin-bottom: 1.25em;
}

.page .panel-content .entry-title, .page-title, body.page:not(.twentyseventeen-front-page) .entry-title {
	font-size: 18px;
}

.entry-content h2 {
	font-size: 16px;
}

.entry-content h3 {
	font-size: 15px;
	font-weight: 500;
}

input[type="text"], textarea, input[type="email"] {
	background: #eee9e4;
}

.entry-content a {
	box-shadow: none;
	text-decoration: underline;
}

.entry-content a img, .comment-content a img, .widget a img {
    box-shadow: none;
}

.site-footer {
	border-top: 1px solid #666;
}

a .nav-title, .site-info a {
	box-shadow: inset 0 -1px 0 #666;
}

.site-info a {
	color: #222;
}

@media (min-width: 480px) {
	.panel-content .entry-header {
    margin-bottom: 0;
	}
	
	.contact_menu {
   /* top: 55px;
    right: 25%;*/
	}
}

@media (min-width: 600px) {
	.site-title {
    font-size: 24px;
	}
}

@media (min-width: 768px) {
	
	.js .menu-toggle {
    	display: none;
	}

	body:not(twentyseventeen-front-page) .site-branding {
		top: 40px;
  		padding-top: 0;
  		padding-bottom: 120px;
	}

	.site-branding {
		top: 40px;
	}
	
	.custom-logo-link img {
    	max-height: 120px;
	}
	
	.custom-header {
		margin-bottom: 0 !important;
	}

	.navigation-top {
		bottom: auto;
		top: 150px;
		border: none;
		background: none;
	}

	.main-navigation ul {
	    background: none;
		border: none;
	}

	.main-navigation li  {
		border: none;
	}

	.navigation-top a {
		font-size: 1.0625rem;
		font-size: 17px;
		color: #fff;
	}

	.site-header .navigation-top .menu-scroll-down {
  		color: #fff;
		right: 30px;
	}

	.main-navigation a:hover, .menu-scroll-down:hover {
  		color: #f7b16f;
	}

	.navigation-top .current-menu-item > a, .navigation-top .current_page_item > a {
  		color: #ff8f26;
	}

	.has-sidebar:not(.error404) #primary {
		float: none;
		width: auto;
	}

	.page.page-one-column .entry-header {
		margin-bottom: 0;
	}

	article.post .entry-header {
		margin-bottom: 4em;
	}

	body.page:not(.twentyseventeen-front-page) .entry-header {
		height: 1px;
		font-size: 1px;
	}

	body.page:not(.twentyseventeen-front-page) .entry-title {
		clip: rect(1px, 1px, 1px, 1px);
		clip-path: inset(50%);
    	height: 1px;
		width: 1px;
    	overflow: hidden;
		border: 0;
		padding: 0;
		margin: -1px;
    	position: absolute !important;
    	word-wrap: normal !important;
		-webkit-clip-path: inset(50%);
    }
}

.entry-content ul {
	list-style-type: circle;
	margin-left: 1.2em;
}

.entry-content ol {
    margin-left: 1.2em;
}

/*  gpgu  */
.entry-content .gpgu-page-list {
	list-style-type: none;
	margin-left: 0;
}

.entry-content .gpgu-page-list li {
	position: relative;
    margin-left: 50px;
	min-height: 55px;
    margin-bottom: 0.5em;
    padding-left: 1em;
}

.entry-content .gpgu-page-list.v2 li {
/*	line-height: 55px;*/
}


.gpgu-page-list img {
	position: absolute;
    left: -55px;
    top: 0;
}

#wpcf7-f4744-p4742-o1 p {
	font-weight: 800;
}

/* update footer */
@media (max-width: 480px) {
    
    .site-info span{
        display: none;
    }
    
    .site-info>a {
        display: block;
        /*width: fit-content;*/
        /*line-height: 1;*/
        box-shadow: none;
        text-decoration: underline;
    }
}

@media screen and (min-width: 48em) {
    
    .site-footer .wrap {
        max-width: 740px;
    }
    
    .site-info{
        width: 100%;
        float: none;
    }
    
    .site-footer {
        margin-top: 1em;
    }
    
    .page:not(.home) #content {
        padding-bottom: 1.5em;
    }
}

@media screen and (min-width: 30em) {
    .site-content .wrap {
        max-width: 740px;
    }
}

/*прижимаем футер к низу: */

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header{
    flex-shrink: 0;
}

.site-content-contain {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex-grow: 1;
}

.site-footer {
    flex-shrink: 0;
}

/* шрифт крупнее */ 
body, .entry-content h3 {
    font-size: 1.125rem;
}

.icon {
    fill: white;
    width: 1.25rem; 
    height: 1.25rem;
}

/* уменьшим медиа на мобильном */
.has-header-image.twentyseventeen-front-page .custom-header, .has-header-image.home.blog .custom-header {
    height: 30vh;
}