/*
Theme Name: Zvenyhorod
Author: Ruslan Ratych
Version: 1.0
*/

* { margin:0; padding:0; -ms-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing:border-box;}
:before, :after { -ms-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing:border-box;}
a { text-decoration:none; outline:0; cursor:pointer; margin:0; padding:0; color:#656d78; -webkit-transition: all 0.2s ease; -moz-transition: all 0.2s ease; -o-transition: all 0.2s ease; transition: all 0.2s ease;}
a:hover { color:#6e1039;}
img { border:0; max-width:100%; height:auto;}
ul { list-style-type:none;}
html { height:100%;}
body { height:100%; font:18px/24px 'Ubuntu', Arial, sans-serif; color:#656d78; background:#fff;}
.clearfix:after { display:block; content:"."; clear:both; font-size:0; line-height:0; height:0; overflow:hidden;}

@font-face {
    font-family:'Ubuntu';
    src: url('fonts/Ubuntu-Regular');
    src: url('fonts/Ubuntu-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/Ubuntu-Regular.ttf') format('truetype'),
         url('fonts/Ubuntu-Regular.woff') format('woff'),
		 url('fonts/Ubuntu-Regular.svg#Ubuntu-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family:'Ubuntu';
    src: url('fonts/Ubuntu-Bold');
    src: url('fonts/Ubuntu-Bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/Ubuntu-Bold.ttf') format('truetype'),
         url('fonts/Ubuntu-Bold.woff') format('woff'),
		 url('fonts/Ubuntu-Bold.svg#Ubuntu-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block;}
table { width:100%; border-collapse:collapse; border-spacing:0;}
.a-center { text-align:center;}
.cell { vertical-align:middle; display:table-cell;}
.nowrap { white-space:nowrap;}
.float-block { float:left; width:100%;}

h1, h2, h3, h4, h5, h6 { color:#6e1039; line-height:1.4; margin:0 0 20px;}
h1, h2 { font-family:'Podkova'; font-size:60px; line-height:60px; font-weight:400; margin-bottom:40px;}
h3 { font-family:'Podkova'; font-size:40px; line-height:40px; font-weight:400;}
h4 { font-size:20px;}
h5 { font-size:18px;}
h6 { font-size:16px;}
.block-title a { color:#6e1039;}

#wrapper { width:100%; min-width:300px; position:relative; overflow:hidden;}
.center { max-width:1630px; margin:0 auto; padding:0 15px;}
.center .center { padding:0;}
.center-mini { max-width:1230px;}
.center:after { content:''; clear:both; display:table;}
.section-inner { padding:35px 0;}

/* header */
#header { position:relative; background:url(images/header-bg.jpg) no-repeat center center; background-size:cover; padding-bottom:50px; z-index:120;}
#header.header-absolute { position:absolute; top:0; left:0; width:100%; background:none; padding-bottom:0;}
#header .center { position:relative; z-index:1;}
#logo { display:block; float:left; background:rgba(255,255,255,0.7); position:relative;}
#logo span { display:table-cell; width:400px; height:200px; font-size:0; line-height:0; vertical-align:middle; text-align:center;}
#logo img { display:inline-block; width:235px;}
.header-right { margin-left:400px; padding-top:80px; position:relative; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between;}
.header-navi { float:left; position: relative; padding-left:36px; padding-right: 66px;}
.main_menu li { float:left; margin:0 15px;}
.main_menu li a { display:block; font-size:28px; font-family:'Podkova'; line-height:40px; position:relative; color:#fff; text-decoration:none; text-transform:lowercase;}
.main_menu li a:before { content:"\f063"; display:none; position:absolute; top:-26px; left:50%; margin-left:-9px; width:18px; height:20px; font-size:10px; line-height:18px; text-align:center; font-family: 'Font Awesome 5 Pro'; font-weight: 300; color:#6e1039; background:url(images/sprite.png) no-repeat 0 -41px;}
.main_menu li.current-menu-item a:before { display:block;}
.main_menu li a:hover { color:#6e1039;}
.socials li { display:inline-block; vertical-align:top;}
.socials li+li { margin-left:14px;}
.socials li a { display:block; width:36px; height:40px; background:url(images/sprite.png) no-repeat 0 0; vertical-align:top; font-size:18px; line-height:38px; text-align:center; color:#6e1039; text-decoration:none; -webkit-transition:none; -moz-transition:none; -o-transition:none; transition:none;}
#lang li { display:inline-block; vertical-align:top;}
#lang li+li { margin-left:8px;}
#lang li a { display:block; width:36px; height:40px; background:url(images/sprite.png) no-repeat 50px 50px; line-height:38px; font-size:14px; font-weight:bold; text-align:center; color:#fff; text-transform:uppercase; text-decoration:none; -webkit-transition:none; -moz-transition:none; -o-transition:none; transition:none;}
#lang li.current-lang a, #lang li a:hover { background-position:-37px 0;}
.header-socials .socials li a:hover { background-position:-37px 0; color:#fff;}

/* navigation */
#navmobile-btn { display:none; float:left; margin-left:15px; position:relative; width:36px; height:40px; background:url(images/sprite.png) no-repeat -37px 0; margin-top:55px; cursor:pointer;}
#navmobile-close { display:block; position:absolute; right:0; top:3px; width:36px; height:40px; cursor:pointer; z-index: 50;}
#navmobile-btn span, #navmobile-close span { display:block; position:absolute; height:2px; width:14px; background:#fff; left:50%; transform:translateX(-50%);}
#navmobile-close span { background:#fff;}
#navmobile-btn span:nth-child(1), #navmobile-close span:nth-child(1) { top:11px;}
#navmobile-btn span:nth-child(2), #navmobile-close span:nth-child(2) { top:17px; width:20px;}
#navmobile-btn span:nth-child(3), #navmobile-close span:nth-child(3) { top:23px;}

.extended-navi { visibility: hidden; opacity: 0; display: block; position: absolute; top:-10px; right:-10px; z-index: 40; background: #6e1039; width: 400px; padding: 58px 20px 10px;}
.mobile-open .extended-navi { visibility: visible; opacity: 1;}
.extended-menu li { margin-top: 1px;}
.extended-menu li a { display: block; position: relative; color: #fff; font-size: 18px; line-height: 20px; padding: 10px 10px 10px 60px; text-decoration: none;}
.extended-menu li a:before { content:"\f061"; display:none; position:absolute; top:50%; margin-top: -8px; left:20px; width:18px; height:20px; font-size:10px; line-height:18px; text-align:center; font-family: 'Font Awesome 5 Pro'; font-weight: 300; color:#6e1039; background:url(images/sprite.png) no-repeat 0 -41px;}
.extended-menu li.current-menu-item a:before { display: block;}
.extended-menu li.current-menu-item a, .extended-menu li a:hover { background: #580d2e;}

/* content */
.title-section { padding-top:120px;}
.content-section { padding:160px 0 80px;}
.archive-section { background:#fafbfd url(images/content-bg.jpg) no-repeat right bottom;}
.posts-list { margin-top:-40px;}
.post-item { padding-top:40px; margin-bottom:60px;}
.post-item:nth-child(3n+1) { clear:both;}
.post-item .item-inner { max-width:450px;}
.post-item .item-part-thumb { width:88.89%;}
.post-item .item-thumb { position:relative; padding-bottom:37.5%;}
.post-item .item-thumb img { position:absolute; display:block; top:0; left:0; width:100%; height:178%; object-fit: cover; object-position: center;}
.post-item .item-part-video .item-thumb img { height: 149%;}
.post-item .item-part-entry { width:88.89%; margin-left:11.11%;}
.post-item .item-entry-padding { background:#fff url(images/news-pattern.jpg) repeat-y right 0; padding-top:30%; padding-right:12.5%; box-shadow:0 0 50px rgba(101,109,120,0.1);}
.post-item .item-part-video+.item-part-entry .item-entry-padding { padding-top: 20%;}
.post-item .item-entry { padding:22px 0 40px 30px; line-height:20px;}
.post-item .item-title { font-size:20px; line-height:24px; color:#6e1039;}
.post-item .item-title a { color:#6e1039; text-decoration:none;}
.post-item .item-title a:hover { text-decoration:underline;}
.post-item .item-excerpt { margin-top:20px;}
.wp-pagenavi { text-align:center; margin-bottom:50px;}
.wp-pagenavi a, .wp-pagenavi span { display:inline-block; vertical-align:top; width:58px; height:58px; margin:0 1px 10px 0; border:none; background:none; text-align:center; padding:0; line-height:58px; font-size:14px; color:#6e1039; font-weight:bold; position:relative;}
.wp-pagenavi a:hover, .wp-pagenavi span.current { background:#6e1039; color:#fff;}
.block-button .fa-arrow-left, .block-button .fa-arrow-right, .block-button .fa-long-arrow-left, .block-button .fa-long-arrow-right { font-size:30px;}

.content-section .text { max-width:900px; margin:0 auto 60px;}
.content-section .text-wide { max-width: none;}
.post-title { font-size:40px; line-height:40px;}
.text:after { content:''; clear:both; display:table;}
.text a { font-weight:bold; color:#6e1039;}
.text a:hover, .text a:active { color:#6e1039; text-decoration:underline;}
.text blockquote { font-size:24px; padding-left:10%; border-left:6px solid #6e1039; font-style: italic; color: #000; margin: 40px 0;}
.text p, .text figure { margin-bottom:24px;}
.text ul, .text ol { margin:0 0 24px 20px; padding:0;}
.text ul { list-style:outside disc;}
.text ol { list-style:outside decimal;}
.text ul li, .text ol li { margin-bottom:6px;}
.text>img { margin-bottom:24px;}
.text .alignleft { float:left; margin:0 20px 24px 0;}
.text .alignright { float:right; margin:0 0 24px 20px;}
.text .aligncenter { display:block; margin:0 auto 24px;}
.text .alignnone { display:block; margin:0 0 24px;}
.text .issuuembed, .text iframe, .text object { max-width:100%; border:none;}
.text>:last-child { margin-bottom:0;}
.video-block { display:block; position:relative; padding-bottom:56.25%;}
.video-block iframe { display:block; position:absolute; left:0; top:0; width:100%; height:100%;}
.wp-caption, .wp-block-image { position: relative; margin:0 0 24px; max-width:100%;}
.wp-caption img, .wp-block-image>img { display:block; width:100%; margin:0;}
.wp-caption .wp-caption-text, .wp-block-image figcaption { color: #656d78; font-size:14px; margin:10px 0 0; padding:0; text-align:right;}

.block-button-wrap { text-align:center;}
.block-button { display:inline-block; position:relative; background:none; border:1px solid #6e1039; width:300px; max-width:100%; padding:17px 75px 17px 17px; text-align:center; font-size:14px; line-height:24px; color:#6e1039; font-weight:bold; text-transform:uppercase; text-decoration:none;}
.block-button .fa-arrow-right, .block-button .fa-long-arrow-right { display:block; position:absolute; width:58px; height:58px; background:#6e1039; top:0; right:0; text-align:center; font-size:30px; line-height:58px; color:#fff;}
.block-button:hover { background:#6e1039; color:#fff;}
.block-button-white { border-color:#fff; color:#fff;}
.block-button-white .fa-arrow-right, .block-button-white .fa-long-arrow-right, .block-button-white:hover { background:#fff; color:#6e1039;}

.article-date{text-transform:lowercase}
/* home video */
.big-video-section { position:relative; overflow:hidden; height:100vh;}
.big-video-section:before { content:''; display:block; position:absolute; left:0; top:0; width:100%; height:100%; background:rgba(0,0,0,0.3); z-index:1;}
.big-video-section video { display:block; position:absolute; width:auto; height:auto; min-width:100%; min-height:100%; left:50%; top:50%; transform:translate(-50%,-50%);}

.home-about-block { position:relative; z-index:1; padding-top:200px; max-width:800px; margin:0 auto;}
.home-about-block .block-title { border-left:10px solid #fff; font-size:40px; line-height:48px; color:#fff; padding:8px 0 8px 90px; margin:0;}
.home-about-block .block-button-wrap { padding-top:100px;}

/* home history */
.home-history-section { overflow:hidden; background:#fff url(images/home-history-bg.png) no-repeat 35px center;}
.home-history-block { padding:165px 0 59px; position:relative;}
.home-history-inner { width:1000px; max-width:100%; background:#6e1039 url(images/home-history-inner.png) repeat-y 70% 0; min-height:50vh; padding:80px 280px 80px 100px;}
.home-history-inner .block-title { padding:0; color:#fff;}
.home-history-inner .block-subtitle { margin-top:48px; margin-left:-50px; font-size:20px; line-height:20px; color:#fff; padding:12px 0 18px 45px; border-left:5px solid #fff;}
.home-history-block .block-button-wrap { max-width:500px; padding-top:45px;}
.home-history-photos { position:absolute; left:800px; width:1280px; top:50%; transform:translateY(-50%);}
.home-history-photos .photo-item { display:block; padding:20px 40px 20px 0;}
.home-history-photos .photo-item img { display:block;}
.home-history-photos .photo-column { float:left;}

.home-news-section { background:#fafbfd url(images/content-bg.jpg) no-repeat right bottom;}
.home-exhibitions-section { background:#6e1039 url(images/exhibitions-bg.jpg) no-repeat 0 0;}
.home-exhibitions-section .block-title, .home-exhibitions-section .block-title a { color:#fff;}
.exhibitions-list { display: flex; flex-wrap:wrap; justify-content: space-between;}
.exhibitions-list .post-item { max-width: 560px;}
.exhibitions-list .post-item .item-inner { max-width: 530px;}
.exhibitions-list .post-item .item-part-thumb { margin-left: 9.4%; width: auto;}
.exhibitions-list .post-item .item-part-entry { width: 90.6%; margin-left:0;}
.exhibitions-list .post-item .item-entry-padding { background: #fff url(images/news-pattern-left.jpg) repeat-y left 0; padding-left: 27%; padding-right: 0;}
.exhibitions-list .post-item .item-entry { padding:50px 50px 50px 0; }
.exhibitions-list .post-item .item-title { font-size:30px; line-height:36px;}

/* home press */
.home-press-section { background:#fff;}
.home-press-photo { position:absolute; top:10%; bottom:10%; left:0; width:50%; background-position:center center; background-repeat:no-repeat; background-size:cover;}
.home-press-block { margin-left:calc(100% - 1000px); background:#f6f7fb url(images/home-press-bg.png) repeat-y right 0; min-height:50vh; position:relative; z-index:1; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-align-items:center; align-items:center;}
.home-press-block .home-press-inner { width:100%;}
.home-press-block .block-title { padding:15px 10% 15px; color:#6e1039; margin:0;}
.home-press-block .block-title a { color:#6e1039;}

/* team */
.page-id-725 .team-section {display:none}
.home-experts-section .block-title { margin-bottom:50px;}
.home-experts-section .team-item { margin-bottom:15px;}
.team-section { background:#fafbfd url(images/team-bg.png) no-repeat left center; padding:100px 0;}
.team-section.home-experts-section { padding:35px 0;}
.team-block { max-width:1470px; margin:0 auto;}
.team-item { margin-bottom:20px;}
.team-item:nth-child(3n+1) { clear:both;}
.team-item .item-inner { position:relative; padding-top:60px; max-width:410px; margin:0 auto;}
.team-item .item-thumb { display:block; position:absolute; top:0; left:0; width:160px; z-index:3;}
.team-item .item-thumb img { display:block; margin:0; width:100%; height:auto;}
.team-item .item-part-entry { position:relative; z-index:2;}
.team-item .item-entry { margin-left:80px; background:#fff url(images/news-pattern.jpg) repeat-y right center; padding:20px 15px 6px 130px; box-shadow:0 0 50px rgba(101,109,120,0.1); min-height:130px;}
.team-item .item-hover { display:none; position:absolute; top:0; left:0; width:100%; background:#fff; box-shadow:0 0 100px rgba(101,109,120,0.1); padding:20px 15px 15px 30px;}
.team-item .item-title { font-size:20px; line-height:24px; font-weight:bold; color:#6e1039;}
.team-item .item-position { font-size:16px; line-height:20px; margin-top:16px;}
.team-item .item-hover .item-title, .team-item .item-hover .item-position { padding-left:180px;}
.team-item .item-excerpt { padding:10px 15px 0 0; font-size:14px; line-height:18px;}
@media screen and (min-width: 992px) {
	.team-item .item-inner:hover { z-index:4;}
	.team-item .item-inner:hover .item-hover { display:block;}
}

/* home scheme */
.acf-map { width:100%;}
.home-map-wrap { display:block; position:absolute; height:100%; width:100%; left:0; top:0;}
.home-map-wrap .home-map { height:100%; width:140%; position:absolute !important; top:0; right:0;}
.map-info-block { display:block; position:absolute; top:10%; bottom:10%; right:5%; width:35%; background:#fff; overflow:auto;}
.map-info-block .map-head { display:block; position:relative; text-align:center; padding-bottom:47%; background:url(images/map-block-head.png) no-repeat center bottom; background-size:cover;}
.map-info-block .map-head-inner { display:block; position:absolute; padding:0 10%; left:0; width:100%; top:50%; transform:translateY(-50%);}
.map-info-block .block-title { font-size:60px; line-height:64px; margin:0; padding:0;}
.map-info-block .block-subtitle { font-size:20px; line-height:32px; color:#6d6e71; font-family:'Podkova';}
.map-info-block .labels-list { padding:8% 10%;} 
.map-info-block .labels-list ul { margin:0; padding:0;}
.map-info-block .labels-list li { padding:5px 0 5px 66px; position:relative;}
.map-info-block .labels-list li .icon { display:block; position:absolute; left:0; top:5px; width:36px; height:40px; background:url(images/marker.png) no-repeat 0 0; line-height:40px; text-align:center; color:#fff; font-size:20px; font-family:'Podkova';}
.map-info-block .labels-list li .label-text { display:table-cell; vertical-align:middle; height:40px; font-size:18px; line-height:20px;}

/* media page */
.media-head-section { padding:120px 0 50px;}
.media-head-section .section-inner { padding:150px 0; position:relative;}
.media-head-map { display:block; position:absolute; left:50%; top:0; width:50%; height:100%;}
.media-head-map .acf-map { display:block; position:absolute; height:100%; top:0; left:0;}
.media-head-block { position:relative; background:#f6f7fb url(images/home-press-bg.png) repeat-y right 0; padding:7% 25% 7% 7%; max-width:1000px; min-height:540px; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex;  -webkit-align-items:center; align-items:center; z-index:1;}
.media-head-block .block-subtitle { padding-top:25px; font-size:18px; line-height:30px; margin-bottom:30px;}

.media-projects-section { padding:30px 0; background:url(images/media-projects-bg.png) no-repeat left center; background-size:33% auto;}
.project-item { padding:20px 0;}
.project-item .project-photo { float:left; width:37.5%;}
.project-item .project-photo img { display:block; width:100%;}
.project-item .project-entry { margin-left:50%; width:37.5%; margin-top:-5px;}
.project-item .project-entry h3 { line-height:36px; margin-bottom:32px;}

.media-photos-section { padding:50px 0;}
.media-photos-inner { max-width:1500px; margin:0 0 0 auto;}
.gallery-posts .gallery-item:nth-child(3n+1) { clear:both;}
.gallery-posts .gallery-item .item-inner { padding:20px 0;}
.gallery-posts .gallery-item .item-image img { width:100%; display:block;}
.gallery-posts .gallery-item .item-caption { font-size:18px; margin-top:20px;}

.media-section { padding:120px 0;}
.media-section .section-inner { padding:150px 0; position:relative;}
.media-section .media-photo { display:block; position:absolute; left:0; top:0; width:50%; height:100%; background-position:center center; background-repeat:no-repeat; background-size:cover;}
.media-block { position:relative; background:#f6f7fb url(images/home-press-bg.png) repeat-y right 0; padding:7% 25% 7% 7%; font-size:18px; line-height:24px; max-width:1000px; min-height:540px; margin-left:auto; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex;  -webkit-align-items:center; align-items:center; z-index:1;}

/* history */
.history-section { padding:50px 0; background:url(images/media-projects-bg.png) no-repeat left center; background-size:33% auto;}
.history-section.section-right { background:url(images/media-projects-bg-right.png) no-repeat right center; background-size:33% auto;}
.history-photos { float:left; width:37.5%;}
.history-photos .photo-item { margin-bottom:40px;}
.history-photos .photo-item img { display:block; width:100%;}
.history-photos .photo-item:last-child { margin-bottom:0;}
.history-entry { margin-left:50%; margin-right:12.5%; margin-top:-5px;}
.history-entry h3 { line-height:36px; margin-bottom:32px;}
.section-right .history-photos { float:right;}
.section-right .history-entry { margin-right:50%; margin-left:12.5%; text-align:right;}

/* video */
.video-section { position:relative; padding:50px 0;}
.video-section .video-block { z-index:1; max-width:1280px; margin:0 auto;}
.history-video-section:before { content:''; display:block; position:absolute; top:50%; left:0; width:100%; height:50%; background:#f6f7fb;}

/* about */
.text-section { padding:35px 0;}
.text-section .text { max-width:900px; margin:0 auto;}
.photo-section { padding:35px 0;}
.photo-section.photo-left { background:url(images/media-projects-bg-right.png) no-repeat right center;}
.photo-section.photo-right { background:url(images/media-projects-bg.png) no-repeat left center;}
.photo-section.photo-left.photo-red { background:url(images/photo-red-right-bg.png) no-repeat right center;}
.photo-section.photo-right.photo-red { background:url(images/photo-red-left-bg.png) no-repeat left center;}
.photo-section .photo-block { max-width:1600px;}
.photo-section .photo-block:after { content:''; clear:both; display:table;}
.photo-section .photo-block img { display:block;}
.photo-section.photo-left .photo-block { margin-right:auto;}
.photo-section.photo-left .photo-block img { float:left;}
.photo-section.photo-right .photo-block { margin-left:auto;}
.photo-section.photo-right .photo-block img { float:right;}

/* footer */
#footer { background:#f6f7fb url(images/footer-pattern.png) no-repeat 0 center; padding:140px 0 105px;}
#footer .row { display: flex; flex-wrap:wrap;}
.footer-column { padding-top:25px; padding-bottom:25px; font-size:14px; line-height:20px;}
.footer-column-1 { font-size:16px;}
.footer-column .socials { padding-top:10px;}
.footer-column .socials li a { color:#939598;}
.footer-column .socials li a:hover { background-position:0 0; color:#6e1039;}
.footer-column .menu li { font-size:18px; line-height:20px; margin-bottom:10px;}
.footer-column .menu li a, .footer-column .menu .sub-menu li a:hover { color:#6e1039;}
.footer-column .menu li a:hover { text-decoration: underline;}
.footer-column .menu .sub-menu { margin-top: 10px;}
.footer-column .menu .sub-menu li { font-size: 16px;}
.footer-column .menu .sub-menu li a { color:#656d78;}

@media screen and (max-width: 1600px) {
	.home-history-section .center, .home-press-section .center, .media-head-section .center { padding:0;}
	
	#lang { position:absolute; right:0; top:15px;}
	#lang li+li { margin-left:14px;}
    
    .exhibitions-section .center-mini { max-width: 1030px;}
    .exhibitions-list .post-item { max-width: 460px;}
    .exhibitions-list .post-item .item-inner { max-width: 430px;}
    .exhibitions-list .post-item .item-entry { padding: 30px 30px 30px 0;}
    .exhibitions-list .post-item .item-title { font-size: 24px; line-height: 30px;}
}

@media screen and (max-width: 1400px) {
	.video-block { padding-bottom:56.25%;}
	
	#logo span { width:300px; height:150px;}
	#logo img { width:240px;}
	.header-right { padding-top:72px; margin-left:300px;}
	.header-navi { padding-left:12px;}
	.main_menu li { margin:0 12px;}
	.main_menu li a { font-size:26px;}

	.home-history-block { padding:104px 0 0;}
	.home-history-inner { padding:65px 240px 65px 60px;}
	.home-history-inner .block-title { font-size:50px; line-height:50px;}
	.home-history-inner .block-subtitle { margin-top:36px; margin-left:-35px; font-size:18px; padding-left:30px;}
	
	.home-news-section .post-item .item-excerpt { display:none;}
	.exhibitions-section .center-mini { max-width: 930px;}
    .exhibitions-list .post-item { max-width: 420px;}
    .exhibitions-list .post-item .item-inner { max-width: 390px;}
    .exhibitions-list .post-item .item-entry { padding: 20px 20px 20px 0;}
    .exhibitions-list .post-item .item-title { font-size: 20px; line-height: 24px;}
    
	.map-info-block .block-title { font-size:50px;}
	
	.project-item .project-entry { width:auto;}

	.history-entry { margin-left:50%; margin-right:0;}
	.section-right .history-entry { margin-right:50%; margin-left:0;}
}

@media screen and (max-width: 1200px) and (min-width: 992px) {
	/*.home-experts-section .team-item:nth-child(7), .home-experts-section .team-item:nth-child(8), .home-experts-section .team-item:nth-child(9) { display:none;}*/
}

@media screen and (max-width: 1200px) {
	#header { padding-bottom:40px;}
	#logo span { width:260px; height:130px;}
	#logo img { width:200px;}
	.header-right { padding-top:62px; margin-left:260px;}
	.main_menu li a { font-size:20px;}
	#lang { top:10px;}
	
    .extended-navi { width: 360px; padding: 50px 15px 10px;}
    .extended-menu li a { font-size: 16px; padding-left: 50px;}
    .extended-menu li a:before { left:15px;}
    
	.home-press-block { margin-left:12.5%;}
	
	.team-item .item-entry { padding-left:100px;}
	.team-item .item-hover .item-title, .team-item .item-hover .item-position { padding-left:150px;}
	
	.map-info-block .block-title { font-size:40px;}
	.map-info-block .block-subtitle { font-size:16px;}
	
	.media-head-section .section-inner, .media-section .section-inner { padding:100px 0;}
	
	.project-item .project-entry { margin-left:44%;}
	
	.history-entry { margin-left:44%; margin-right:0;}
	.section-right .history-entry { margin-right:44%; margin-left:0;}
	
	.media-block { width:87.5%;}
	
	.photo-section { background:none !important;}
	
	#footer { background-image:none;}
}

@media screen and (max-width: 991px) {
	h1, h2 { padding-left:8%; padding-right:8%;}
	
	#header { padding:0; height:150px;}
	#header:before { content:''; display:block; position:absolute; left:0; top:0; width:100%; height:100%; background:rgba(255,255,255,0.7);}
	#logo { background:none; position:absolute; left:50%; top:0; margin-left:-100px;}
	#logo span { width:200px; height:150px;}
	#logo img { width:190px;}
	.header-right { display:block; padding-top:50px; margin-left:0; float:right; text-align:center;}
	#lang { position:relative; top:auto; right:auto; float:left; margin-right:20px;}
	#lang li+li, .header-socials .socials li+li { margin-left:8px;}
	.header-socials { float:left; position:relative; z-index:1;}
    #navmobile-close { right:auto; left:30px; top:0; background:url(images/sprite.png) no-repeat 0 0; margin-top:55px;}
    #navmobile-close span { background:#6e1039;}
	#navmobile-btn { display:block;}
	.header-navi { visibility: hidden; opacity: 0; height:0; position:fixed; top:0; left:0; width:100%; z-index:150; background:#6e1039; padding:100px 0 20px; max-height:100vh; overflow:auto; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease;}
	.mobile-open .header-navi { visibility: visible; opacity: 1; height:auto;}
	.mobile-open.admin-bar .header-navi { top:32px; max-height:calc(100vh - 32px);}
	.home.mobile-open.admin-bar .header-navi { top:0; max-height:100vh;}
	.main_menu li { float:none; margin:1px 0 0;}
	.main_menu li a, .extended-menu li a { font-size:28px; line-height:36px; font-family: 'Podkova'; text-transform: lowercase; padding:12px 40px 12px 74px;}    
	.main_menu li.current-menu-item a, .main_menu li a:hover { background:#580d2e; color:#fff;}
	.main_menu li.current-menu-item a:before, extended-menu li.current-menu-item a:before { display:block; content:"\f061"; top:50%; left:40px; margin-left:0; margin-top:-8px;}    
	.extended-navi { visibility: visible; opacity: 1; width: auto; padding:0; position:relative; top:auto; right:auto;  z-index:auto; background:none;}
    
	.posts-list { margin-top:-20px;}
	.post-item { padding-top:20px; margin-bottom:40px;}
	.post-item .item-entry { padding:18px 0 24px 24px;}
	.post-item .item-title { font-size:18px; line-height:20px;}
	.post-item .item-excerpt { margin-top:16px;}

    .text { padding-left:8%; padding-right:8%;}
	
	.section-inner { padding:50px 0;}
	.title-section { padding-top:80px;}
	
	.home-about-block { padding-top:150px;}
	.home-about-block .block-title { font-size:32px; line-height:40px; padding-left:80px;}
	.home-about-block .block-button-wrap { padding-top:60px;}
	
	.home-history-block { padding-top:270px;}
	.home-history-inner { padding:100px; min-height:1px;}
	.home-history-inner .block-title { font-size:60px; line-height:60px;}
	.home-history-inner .block-subtitle { margin-top:48px; margin-left:-50px; font-size:20px; padding-left:45px;}
	.home-history-block .block-button-wrap { max-width:500px; padding-top:265px;}
	.home-history-photos { position:absolute; left:0; width:0; top:0; height:100%; transform:translateY(0);}
	.home-history-photos .photo-item { padding:0; position:absolute; width:400px;}
	.home-history-photos .photo-item-1 { left:50px; top:50px;}
	.home-history-photos .photo-item-2 { left:50px; bottom:110px;}
	.home-history-photos .photo-item-3 { left:490px; top:50px;}
	.home-history-photos .photo-item-4 { left:490px; bottom:110px;}
	
	.home-news-section .post-item .item-excerpt { display:block;}
	.exhibitions-list .post-item { max-width: 560px;}
    .exhibitions-list .post-item .item-inner { max-width:none;}
    .exhibitions-list .post-item .item-entry { padding: 30px 30px 30px 0;}
	
	.home-press-photo { top:0; bottom:0; left:0; width:100%;}
	.home-press-block .block-title { padding:15px 8%;}
	
	.home-map-wrap { position:relative; height:auto; width:auto; left:auto; top:auto;}
	.home-map-wrap .home-map { height:500px; width:100%; position:relative !important; top:auto; right:auto;}
	.map-info-block { position:relative; top:auto; bottom:auto; right:auto; width:auto; overflow:visible;}
	.map-info-block .map-head { padding:60px 10%;}
	.map-info-block .map-head-inner { display:block; position:relative; padding:0; left:auto; width:auto; top:auto; transform:translateY(0);}
	.map-info-block .block-title { line-height:48px;}
	.map-info-block .labels-list { padding:5% 5% 10%;} 
	.map-info-block .labels-list li { padding-left:56px;}
	
	.media-head-section { padding:0 0 30px;}
	.media-head-section .section-inner { padding:0;}
	.media-head-map { position:relative; left:auto; top:auto; width:auto; height:auto;}
	.media-head-map .acf-map { position:relative; height:300px; top:auto; left:auto;}
	.media-head-block, .media-block { min-height:1px;}
	.media-section { padding:0;}
	.media-section .media-photo { width:100%;}
	
	.media-projects-section { background:#fff;}	
	.media-projects-section .center { padding:0;}
	.project-item .project-photo { float:none; width:auto; max-width:600px; margin:0 auto 30px;}
	.project-item .project-entry { margin-left:0; width:auto; margin-top:0;}
	
	.team-section, .team-section.home-experts-section { padding:50px 0;}
	
	.history-section, .history-section.section-right { background:#fff;}
	.history-photos { float:none; width:auto; vertical-align:top; margin:0 -19px 0 -11px;}
	.history-photos .photo-item { display:inline-block; vertical-align:top; width:50%; margin-left:-4px; padding:0 15px; margin-bottom:40px;}
	.history-photos .photo-item:last-child { margin-bottom:40px;}
	.history-entry { margin-left:0; margin-top:-5px;}
	.section-right .history-photos { float:none;}
	.section-right .history-entry { margin-right:0; text-align:left;}
		
	#footer { padding:80px 0;}
    .footer-column-1 { order:1;}
    .footer-column-4 { order:2;}
}

@media screen and (max-width: 782px) {
	.mobile-open.admin-bar .header-navi { top:46px; max-height:calc(100vh - 46px);}
}

@media screen and (max-width: 767px) {
	body { line-height:20px;}
	h1, h2 { font-size:42px; line-height:40px; padding-left:8%; padding-right:8%; margin-bottom:32px;}
	h3, .post-title { font-size:30px; line-height:30px; padding-left:0; padding-right:0;}
	
	.center { padding:0;}
	
	#header .center { padding:0 15px;}
	.header-right { padding-top:25px; margin-right:-7px;}
	#lang { float:none; margin-right:0; margin-bottom:10px;}
	.header-socials { float:none;}
	
	.archive-section, .home-news-section { background-position:-25% bottom;}
	.content-section { padding:80px 0 40px;}
	.post-item .item-inner { margin:0 auto;}
	.post-item .item-entry { padding:22px 0 30px 30px;}
	.post-item .item-title { font-size:20px; line-height:24px;}
	.post-item .item-excerpt { margin-top:20px;}
	.wp-pagenavi, .content-section .text { margin-bottom:30px;}
	
	.home-about-block .block-title { border-left:5px solid #fff; font-size:20px; line-height:30px; padding-left:30px; padding-bottom:10px;}
	.home-about-block .block-button-wrap { padding-top:10%;}
	.home-history-inner { padding:90px 50px;}
	.home-history-inner .block-title { font-size:30px; line-height:30px;}
	.home-history-inner .block-subtitle { margin-top:35px; margin-left:-4px; font-size:16px; padding:0 0 0 25px;}
	
    .exhibitions-list .post-item { margin-left: auto; margin-right: auto;}
    
	.home-press-block { background-position:250px 0;}
	.home-press-block .block-title { padding:10px 8%;}
	
	.media-head-block, .media-block { background-position:250px 0; padding:8%;}
	.media-head-block .block-title, .media-block .block-title, .media-block .text { padding-left:0; padding-right:0;}
	.media-head-block .block-subtitle { font-size:16px; line-height:24px; margin-bottom:15px; padding-top:0;}	
	.media-block { font-size:16px; line-height:20px;}
	
	.gallery-posts .gallery-item .item-caption { font-size:16px; padding:0 8%;}
	
	.history-section { padding:35px 0;}
	.project-item .project-entry h3, .history-entry h3 { line-height:28px;}
	
	#footer { padding:35px 0;}
	.footer-column { padding:25px 60px;}
}

@media screen and (max-width: 600px) {
	#wpadminbar { position:fixed;}
	
	.history-photos { margin:0;}
	.history-photos .photo-item { display:block; width:auto; margin-left:0; padding:0;}	
}

@media screen and (max-width: 480px) {
    #logo { margin-left: -120px;}
}

@media screen and (max-width: 380px) {
	#logo img { width:130px;}
	.map-info-block .map-head { padding:44px 10%;}
	.map-info-block .block-title { font-size:30px;}
}