/*
Theme Name: Yanko
Author: redstone.media
Version: 1.0
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: yanko
*/

@import url(css/style.css);
.bgcWrapp {
	height: 0px;
}
b { font-weight: bold; }

nav .current_page_item a {position: relative;}
nav .current_page_parent>a:before,
nav .current_page_item>a:before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d80d0d;
    opacity: 1;
}

.new-block .article-process:last-child,
.new-block .blog-detail-article h3 {
    margin-bottom: 20px!important;
}
div.wpcf7 .ajax-loader,
span span.wpcf7-not-valid-tip,
form div.wpcf7-response-output.wpcf7-display-none { display: none!important; }
.wpcf7-not-valid { border-color: #ff0036!important; }
.new-block.type-19 { min-height: 711px; }

.gallery-popup .close-popup {
/*	height: 60px;
	line-height: 60px;*/
	height: 0;
	line-height: 0;
	left: 45%;
	margin-top: 10px;
}
.gallery-popup .swiper-container {
	padding-top: 25px;
	padding-bottom: 50px;
}
.gallery-popup .image-container img {
	max-width: 100%;
	width: auto;
	max-height: 600px;
	margin: 0 auto;
}
.gallery-popup .image-container .description {
	padding: 20px 40px;
}
.gallery-popup .image-container .title {
	margin-bottom: 5px;
}

.slideBtn_Wrapp {
	left: 0;
}
@media (max-width: 320px){
	.footer-bottom .media-icon a {
	    margin: 0px 5px;
	}
}

@media (min-width: 1280px){
	.big{font-size: 20px;}
}


.page-id-643 .why~.block.type-1.benefits {
	display: none;
}

@media (min-width: 1200px) {
nav ul li .sub-menu li a {
		font-size: 15px;
		padding: 8px 0;
		height: auto;
		line-height: 15px;
		color: #fff;
		background: transparent;
	}
	nav ul li .sub-menu {
		-webkit-transition: all 0.5s ease;;
		-moz-transition: all 0.5s ease;;
		-o-transition: all 0.5s ease;;
		transition: all 0.5s ease;
		opacity: 0;
		top: 24px;
		padding-top: 30px;
	}
	nav ul li .sub-menu li {
		margin-right: 0;
		background-color: rgba(27, 27, 27, 0.5);
		padding: 0 15px;
	}
	nav ul li:hover .sub-menu {
		opacity: 1;
	}
	nav ul li .sub-menu li:first-child {
		padding-top: 15px;
	}
	nav ul li .sub-menu li:last-child {
		padding-bottom: 15px;
	}
	.fixedHeader nav ul li .sub-menu {
		padding-top: 14px;
	}
}
@media (max-width: 1199px) {
	.sub-menu li {
		margin: 0;
	}
	nav ul.sub-menu {
		padding: 0 15px;
	}
	nav ul ul li a {
		line-height: 18px;
		height: auto;
		opacity: 1;
	}
	nav ul li .sub-menu li a {
		padding: 15px 0;
		color: #000000 !important;
	}
}

@media (max-width: 376px) {
	nav ul.sub-menu {
		padding: 0px;
	}
}

ul li a:not([href]) {
	cursor: default;
}
ul li a:not([href]):before {
	display: none;
}
.footer-bottom .media-icon {
	padding-left: 0;
}

nav .current_page_parent>a:before,
nav .current_page_item>a:before {
	display: block;
}

@media (max-width: 991px) {
	body.home .block.type-2 .image-block.mob-hide,
	body.page-id-643 .block.type-2 .image-block.mob-hide {
		/*position: relative;*/
		width: 100%;
		height: 400px;
		display: block;
		top: auto;
		bottom: 0;
	}
	body.home .block.type-2 .image-block.mob-hide~div,
	body.home .block.type-2 .col-md-4.col-md-offset-1.col-sm-12.col-sm-offset-0.wow,
	body.page-id-643 .block.type-2 .image-block.mob-hide~div,
	body.page-id-643 .block.type-2 .col-md-4.col-md-offset-1.col-sm-12.col-sm-offset-0.wow {
		padding-bottom: 400px;
	}
}

@media (max-width: 767px) {
	body.home .block.type-2 .image-block.mob-hide,
	body.page-id-643 .block.type-2 .image-block.mob-hide {
		height: 350px;
	}
	body.home .block.type-2 .image-block.mob-hide~div,
	body.home .block.type-2 .col-md-4.col-md-offset-1.col-sm-12.col-sm-offset-0.wow,
	body.page-id-643 .block.type-2 .image-block.mob-hide~div,
	body.page-id-643 .block.type-2 .col-md-4.col-md-offset-1.col-sm-12.col-sm-offset-0.wow {
		padding-bottom: 350px;
	}
}

@media (max-width: 640px) {
	body.home .block.type-2 .image-block.mob-hide,
	body.page-id-643 .block.type-2 .image-block.mob-hide {
		height: 300px;
	}
	body.home .block.type-2 .image-block.mob-hide~div,
	body.home .block.type-2 .col-md-4.col-md-offset-1.col-sm-12.col-sm-offset-0.wow,
	body.page-id-643 .block.type-2 .image-block.mob-hide~div,
	body.page-id-643 .block.type-2 .col-md-4.col-md-offset-1.col-sm-12.col-sm-offset-0.wow {
		padding-bottom: 300px;
	}
}

@media (max-width: 480px) {
	body.home .block.type-2 .image-block.mob-hide,
	body.page-id-643 .block.type-2 .image-block.mob-hide {
		height: 215px;
	}
	body.home .block.type-2 .image-block.mob-hide~div,
	body.home .block.type-2 .col-md-4.col-md-offset-1.col-sm-12.col-sm-offset-0.wow,
	body.page-id-643 .block.type-2 .image-block.mob-hide~div,
	body.page-id-643 .block.type-2 .col-md-4.col-md-offset-1.col-sm-12.col-sm-offset-0.wow {
		padding-bottom: 215px;
	}
}

nav ul li .sub-menu {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

@media (min-width: 1200px) {
    nav ul li .sub-menu {
        visibility: hidden;
    }
    nav ul li:hover .sub-menu {
        visibility: visible;
    }
}

@media (min-width: 1200px) {

	header.fixedHeader nav {
    top: 10px;
}
nav {
    top: 50px;
}    
	nav ul li {
		margin-right: 20px;
		padding-right: 20px;
	}

nav ul li .sub-menu li a {
	text-align: left;
	width: 160px;
}
nav ul li .sub-menu li {
	background-color: transparent;
}	
nav a {
	display: inline-block;
}
nav ul li .sub-menu {
	    top: 36px;
	    border-radius: 0 20px 20px 20px;
    background-color: rgba(27, 27, 27, 1);
}

.menu-item-has-children {
	 -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 20px 20px 0 0;
}

.menu-item-has-children:hover{
	    background-color: rgba(27, 27, 27, 1);
    
}

nav ul ul {
	left: 0;
	transform: none;-webkit-transform: none;
	margin-left: 0px;
}
}

@media (min-width: 1200px) and (max-width: 1600px) {
nav ul li {
    padding-right: 20px;
}
 }

@media (min-width: 1200px) {
    .fixedHeader nav ul li .sub-menu {
        left: 50%;
        margin-left: -15px;
        transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        background-color: rgba(27, 27, 27, 0.6);
        border-radius: 0 0 20px 20px;
	    -webkit-backdrop-filter: blur(5px);
	    backdrop-filter: blur(5px);
	    }
    .fixedHeader nav ul li .sub-menu {
    	top: 44px
    }
    .fixedHeader .menu-item-has-children:hover {
        background-color: transparent;
    }

    .fixedHeader nav ul li .sub-menu li a {
        text-align: center;
    }
} 

@media (min-width: 1200px) {
  .fixedHeader nav ul li .sub-menu {
	margin-left: 0;
  }
}
.gallery-popup .image-container .description {
    background: none!important;
   /* padding: 40px;*/
}

.image-block-left {
	right: auto;
    left: 0;
}
.gallery-popup .image-container .text {
    color: #eeec!important;
   
}
.gallery-popup .image-container .text {
    text-align: center;
}


.gallery-popup .overflow, .screen-preview-popup .overflow {
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -moz-overflow-scrolling: touch;
    -o-overflow-scrolling: touch;
    -ms-overflow-scrolling: touch;
}

.img_pop {
	position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 100%;
    max-height: 100%;
}

 .swiper-container {
    padding-top: 0;
    padding-bottom: 0;
    height: 100%;
}

.gallery-popup .swiper-container {
	padding-top: 0;
	padding-bottom: 0;
}

.gallery-popup .swiper-pagination {
  /*  display: none!important;*/
}

@media (max-width: 1300px) {
    .gallery-popup .swiper-pagination {
    	/*display: block!important;*/
        position: absolute!important;
        width: 100%!important;
        bottom: 0!important;
        margin-top: 0!important;
    }
} 




@media (max-width: 1440px) {
	.gallery-popup .close-popup {
	    left: 42%;
    }
} 

@media (max-width: 1024px) {
	.gallery-popup .close-popup {
	    left: 40%;
    }
} 

@media (max-width: 414px) {
	.gallery-popup .close-popup {
	    left: 36%;
    }
} 

.gallery-popup .swiper-pagination {
	position: relative!important;
	margin-top: 11px;
}

.gallery-popup .swiper-container {
	padding-bottom: 12px;
}
#logo {
    z-index: 99 !important;
}
.gallery-popup .swiper-container {
	padding-bottom: 30px;
}
.gallery-popup .swiper-pagination {
    margin-top: 28px;
}
body.page-template-default .yanko-new-block .blog-post .thumbnail-entry .pagination {
	display: block;
}
.button-radius{width: 65px; height: 65px; display: inline-block; vertical-align: top; position: relative; color: #fff; cursor: pointer;}
.button-radius:before{position: absolute; left: 0; top: 0; top: 0; width: 100%; height: 100%; background: url(../img/icon-6.png); content: ""; transition: all .3s; -webkit-transition: all .3s;}
.button-radius:not(.button-scroll):hover:before{transform: rotate(-90deg); -webkit-transform: rotate(-90deg);}
/**/
.button-play{cursor: pointer;}
.button-play .icon{border-left: 8px #fff solid; border-top: 7px transparent solid; border-bottom: 7px transparent solid; position: absolute; left: 50%; top: 50%; margin: -7px 0 0 -3px;}
.button-play .shape:before{position: absolute; left: -7px; top: -7px; right: -7px; bottom: -7px; content: ""; border: 1px rgba(255,255,255,.21) solid; border-radius: 50%; -webkit-border-radius: 50%; transition: all .3s; -webkit-transition: all .3s;}
.button-play:hover .shape:before{left: 0; top: 0; right: 0; bottom: 0; border-color: transparent;}
/**/
.button-scroll:before{animation: buttonIcon 5s infinite linear; -webkit-animation: buttonIcon 5s infinite linear;}
.button-scroll .icon{width: 21px; height: 29px; background: #fff; position: absolute; left: 22px; top: 18px; border-radius: 10px; -webkit-border-radius: 10px;}
.button-scroll .icon:after{width: 3px; height: 9px; background: #d80d0d; position: absolute; left: 50%; left: 9px; top: 4px; content: ""; border-radius: 2px; -webkit-border-radius: 2px;}
.button-scroll .shape:before, .button-scroll .shape:after{position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 1px #fff solid; content: ""; border-radius: 50%; -webkit-border-radius: 50%;}
.button-scroll .shape:before{animation: buttonShape 3s infinite linear; -webkit-animation: buttonShape 3s infinite linear;}
.button-scroll .shape:after{animation: buttonShape 3s 1.5s infinite linear; -webkit-animation: buttonShape 3s 1.5s infinite linear;}
@keyframes buttonShape {
    0% {opacity: 0; transform: scale(1);}
    50% {opacity: 1; transform: scale(1.3);}
    100% {opacity: 0; transform: scale(1.6);}
} 
@-webkit-keyframes buttonShape {
    0% {opacity: 0; -webkit-transform: scale(1);}
    50% {opacity: 1; -webkit-transform: scale(1.3);}
    100% {opacity: 0; -webkit-transform: scale(1.6);}
} 
@keyframes buttonIcon {
    0%{transform: rotate(0deg);}
    30%{transform: rotate(-300deg);}
    70%{transform: rotate(-360deg);}
}
@-webkit-keyframes buttonIcon {
    0%{-webkit-transform: rotate(0deg);}
    30%{-webkit-transform: rotate(-300deg);}
    70%{-webkit-transform: rotate(-360deg);}
}
.button-scroll{position: absolute; bottom: 30px; left: 50%; margin-left: -32px;}
.page-id-784 .home-outer-21.article-process {margin-bottom: 0;}
@media (max-width: 991px) {
	.gallery-popup .swiper-pagination {
		position: absolute !important;
		padding-bottom: 0 !important;
	}
}
@media (max-width: 767px) {
	body.home .block.type-2.why:not(.why1) .image-block.mob-hide {
	    height: 0;
	}
	body.home .block.type-2.why:not(.why1) .col-md-4.col-md-offset-1.col-sm-12.col-sm-offset-0.wow {
		padding-bottom: 0;
	}
}

@media (max-width: 991px) {
	.br-not br {
	    display: none;
	}
}



@media (max-width: 991px) {
	.br-not p br  {
	    display: none;
	}
}

/*CF7 spiner*/
.button span.wpcf7-spinner {
	position: absolute;
}

#cookie-law-info-bar{
	-webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(27, 27, 27, 0.6)!important;
    color:#fff!important;
}

body .number img {
	width: 30px;
}