/* 
Theme Name:		 Astra Child
Description:	 twentytwentyone-child is a child theme of Astra
Author:			 Potolok One
Template:		 astra
Version:		 1.0.3
Text Domain:	 astra-child
*/

.slick-slide,
.swiper-wrapper {
    height: auto;
}
#ast-desktop-header {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	z-index: 3;
}
#page {
	margin-top: 96px;
}

.page-id-283 #telephone-one_header,
.page-id-351 #telephone-one_header,
.page-id-283 #telephone2-one_header,
.page-id-351 #telephone2-one_header {
	display: none;
}
#telephone-two_header {
	display: none;
}
.page-id-283 #telephone-two_header,
.page-id-351 #telephone-two_header {
	display: block;
}

.hide {
	display: none;
}

.modal {
	/* pointer-events: none; */
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
	max-height: 100%;
    width: 100vw;
	z-index: 2000;
}

#menu-lang .current-lang>a,
#menu-lang-1 .current-lang>a {
	color: #E5E300;
}

.grecaptcha-badge {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.floating-btn {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	position: fixed;
	bottom: 5%;
	right: 5%;
	width: 80px;
	height: 80px;
	background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='40' fill='black' fill-opacity='0.3'/%3E%3Ccircle cx='40' cy='40' r='32' fill='black' fill-opacity='0.5'/%3E%3Cpath d='M54.3939 48.7286L49.7504 44.0845C48.8255 43.1633 47.2938 43.1913 46.3367 44.1488L43.9973 46.4877C43.8495 46.4062 43.6965 46.3211 43.5356 46.2309C42.0583 45.4123 40.0363 44.2904 37.9086 42.1611C35.7746 40.0273 34.6516 38.0023 33.8306 36.524C33.7439 36.3674 33.6609 36.2164 33.5789 36.073L35.149 34.5052L35.9209 33.7323C36.8795 32.7735 36.906 31.2423 35.9832 30.3184L31.3397 25.6738C30.4169 24.7513 28.8846 24.7792 27.926 25.7381L26.6173 27.0543L26.6531 27.0898C26.2142 27.6498 25.8475 28.2956 25.5747 28.992C25.3231 29.6549 25.1665 30.2875 25.0949 30.9213C24.4817 36.0045 26.8046 40.6501 33.1085 46.9541C41.8224 55.6674 48.8446 55.0091 49.1476 54.977C49.8074 54.8981 50.4397 54.7405 51.0823 54.4909C51.7727 54.2212 52.4181 53.8551 52.9776 53.4172L53.0062 53.4426L54.3321 52.1443C55.2887 51.1856 55.3162 49.6539 54.3939 48.7286Z' fill='white'/%3E%3C/svg%3E%0A");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
	text-decoration: none;
	transition: 3s;
	animation-name: rotate-icon;
	animation-duration: 10s;
	animation-iteration-count: infinite;
	z-index: 1999;
}
@keyframes rotate-icon {
  0% {
    transform: rotate(360deg);
  }
  50% {
    transform: rotate(-360deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.wrap-btn {
    text-align: center
}
.potolokone-btn {
    font-size: 14px;
	font-weight: 700;
    line-height: 1.2;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    padding: .8em 1.75em;
    border: 2px solid #EEFF41;
    border-radius: 3px;
    background-color: #EEFF41;
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s
}

.wpcf7-response-output {
	display: none;
}
.wpcf7-not-valid-tip {
    font-size: .8em;
}
/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
	-webkit-text-fill-color: #4f4f4f !important;
}
form input:not([type="button"]):not([type="submit"]).off-back,
form textarea.off-back {
    background-color: transparent;
    color: #4f4f4f;
    border-bottom: 1px solid #bdbdbd;
    padding: 10px 0;
}
form input:not([type="button"]):not([type="submit"]).off-back:focus,
form textarea.off-back:focus {
    background-color: transparent !important;
    color: #4f4f4f !important;
    outline-width: 0;
}
form textarea {
    height: 80px;
    min-height: 42px;
    max-height: 102px;
    padding: 8px 0;
    resize: vertical
}
form .submit {
	width: 260px;
	text-align: center;
	padding: .75em .75em;
	line-height: 1.5
}

.potolokone-btn .btn-icon,
form .submit .btn-icon {
	font-size: 16px;
	margin-left: 15px
}

.potolokone-btn-big,
.submit.potolokone-btn-big {
    width: 100%;
    /* max-width: 300px */
}

.ptlo-seotext h2 {
	font-size: 22px;
	margin-bottom: 0.5em;
}
.ptlo-seotext h3 {
	font-size: 20px;
	margin-bottom: 0.5em;
}
.ptlo-seotext h4 {
	font-size: 18px;
	margin-bottom: 0.5em;
}
.ptlo-seotext div p:last-child,
.ptlo-seotext div ul:last-child {
	margin-bottom: 0;
}

.content {
    padding: 0 15px;
    margin: 0 auto;
    width: 100%;
    max-width: 1210px
}

/* header */
.ast-desktop .ast-primary-header-bar .main-header-menu {
    width: 55vw;
    max-width: 900px;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .city {
    margin-left: auto;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .city > a {
    position: relative;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .city > a::after {
    font-size: .7rem;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .city > a::before {
    content: "";
    position: absolute;
	left: 12px;
    right: 12px;
    bottom: 20px;
    background: transparent;
    border-bottom: 1px solid;
}
.site-header-section>div:first-child {
    margin-right: auto;
}
/*
.header-contacts {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-width: 260px;
    -ms-flex-preferred-size: 280px;
    flex-basis: 280px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px
}
*/
.block-telephone {
	display: -webkit-box;
    display: -ms-flexbox;
	display: flex;
    flex-direction: column;
}

.btn-telephone {
    line-height: 1.5;
	margin-bottom: 0;
}

.btn-telephone:hover {
    color: #1A237E
}

.btn-telephone:first-child a {
	letter-spacing: -0.25px;
}

.btn-telephone a {
	font-size: 18px;
	font-weight: 600;
    color: inherit;
}

.wrap-chats {
	display: flex;
    flex-direction: column;
}

.text-chats {
	height: 24px;
	line-height: 24px
}
.text-chats:not(:last-child) {
	margin-bottom: 6px;
}
/*
.text-chats > .uk,
.text-chats > .ru {
	display: inline;
}
*/
[lang="ru-RU"] .text-chats > .uk {
	display: none;
}

[lang="uk"] .text-chats > .ru {
	display: none;
}

.link-chats {
	display: flex;
    justify-content: space-evenly;
}

.link-mob-chats {
	display: none
}

.btn-telegram,
.btn-telegram .svg-telegram,
.btn-viber,
.btn-viber .svg-viber {
    border-radius: 50%;
    height: 28px;
    width: 28px
}

.btn-telegram .svg-telegram {
    color: #4f4f4f;
    background-color: #fff
}

.btn-viber .svg-viber {
    color: #fff;
    padding: 5px;
    background-color: #4f4f4f
}

.btn-telegram .svg-telegram:hover {
    color: #1A237E
}

.btn-viber .svg-viber:hover {
    background-color: #1A237E
}

[data-section$="header-widget-2"]>.header-widget-area-inner {
	display: -webkit-box;
    display: -ms-flexbox;
	display: flex;
	align-items: center;
}

[data-section$="header-widget-2"] .widget_block {
	margin: 0 25px 0 0
}

[data-section$="header-widget-2"] .widget_nav_menu>.widget-title {
	display: none
}

.ast-header-break-point .main-header-bar-navigation .menu-item-has-children>.ast-menu-toggle {
	padding: 0 10px;
    background-color: #FFFFFF;
    line-height: 2em;
}

/* banner */
.banner .item {
    /* padding: 250px 0 100px; */
    position: relative;
    overflow: hidden
}

.banner .item img {
    /* height: 100%;
    max-width: none; */
    -o-object-fit: cover;
    object-fit: cover
}

.banner .item .desktop {
	/* position: absolute;
    top: 0; */
    width: 100%
}

.banner .item .mobile {
    display: none
}

.banner .item .content {
    position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0
}

.banner .header {
    color: #FFFFFF;
    line-height: 1.2;
	margin-bottom: 65px
}

.banner .header p {
	margin-bottom: 0
}

.banner .header .highlight {
    font-size: 70px;
	font-weight: 700;
    margin-bottom: 10px;
}
.banner .header .highlight-min {
	font-size: 35px;
	margin-bottom: 30px;
	font-weight: 700;
}
.banner .header :nth-child(n+4) {
    font-size: 26px;
	max-width: 725px;
}
.slider-banner .wrap-btn {
	margin-bottom: 45px;
	text-align: left
}
.slider-banner .wrap-btn.wrap-btn-slide-2 {
	text-align: center
}

.slick-slider.slider-banner .previous-btn, 
.slick-slider.slider-banner .next-btn {
    top: 50%;
	transform: translateY(-50%);
}

.slick-slider.slider-banner .previous-btn:hover, 
.slick-slider.slider-banner .next-btn:hover {
	transform: scale(1) translateY(-50%);
}

/* o kompanii */
.ptlo-border-left:before {
    content: "";
    display: block;
    width: 1px;
    height: 75%;
    background-color: rgba(0,0,0,.2);
    position: absolute;
    top: 18%;
}

/* contacts */
.ptlo-contacts-b1:before {
    content: "";
    display: block;
    width: 2px;
    height: 75%;
    background-color: rgba(0,0,0,.25);
    position: absolute;
    top: 13%;
    z-index: 2;
}
.ptlo-contacts-b1-m:before {
	left: 50%;
}

@media screen and (max-width:1630px) {
	/* banner */
	.banner .item .desktop {
		width: auto;
		height: 700px
    }
}

@media screen and (max-width:1199.98px) {
	/* site header */
	#ast-desktop-header {
	    position: static;
    }
	#page {
	    margin-top: 0;
    }
	
	/* banner */
	.banner .item .desktop {
		height: 750px
    }
}

@media screen and (max-width:1023.98px) {
	/* contacts */
	.ptlo-contacts-b1:before {
		height: 0px;
        width: 0px;
	}
}

@media screen and (max-width:991.98px) {
	/* banner */
	.banner .header .highlight {
        font-size: 40px;
    }
	.banner .header .highlight-min {
        font-size: 36px;
    }
    .banner .header :nth-child(n+4) {
        font-size: 24px;
		max-width: 570px;
    }
	/**/
	.ptlo-privet-vam {
		order: 1;
	}
}

@media screen and (max-width:920px) {
	.ast-header-break-point .ast-builder-menu-mobile .site-navigation,
    .ast-header-break-point .ast-builder-menu-mobile .main-navigation {
        height: auto;
    }
	
	.ast-header-break-point .ast-primary-header-bar {
        border-bottom-width: 0
    }
	
	.link-mob-chats {
	    display: flex;
		justify-content: space-between;
        min-width: 74px;
    }
	
	.block-telephone {
        flex-direction: row;
    }
	
	.block-telephone p:first-child {
        margin-right: 20px;
    }
	
	[data-section$="header-widget-2"]>.header-widget-area-inner {
	    flex-direction: column;
		align-items: flex-start;
    }
	
	[data-section$="header-widget-2"] .widget_block {
	    align-items: center;
		margin: 0 0 15px 0
    }
	
	[data-section$="header-widget-2"] .widget_nav_menu {
	    display: flex;
		align-items: center
    }
	
	[data-section$="header-widget-2"] .widget_nav_menu>.widget-title {
	    display: block;
		/* font-size: 16px; */
		margin: 0 20px 0 0
    }
	
	.wrap-chats {
        flex-direction: row;
		align-items: center;
    }

    .text-chats {
        height: 36px;
        line-height: 1.4;
    }
	
	.text-chats:not(:last-child) {
		margin-bottom: 0;
	    margin-right: 10px
    }
	
	.link-chats a:first-child {
	    margin-right: 15px
    }
	
	#menu-lang-1 {
		display: flex;
	}
	
	#menu-lang-1 li:first-child {
		margin-right: 15px
	}
}

@media screen and (max-width:767.98px) {
	/* banner */
	.banner .header :nth-child(n+4) {
		max-width: 430px;
    }
	
	/* o kompanii */
    .ptlo-border-left:before {
	    height: 0px;
        width: 0px;
    }
}

@media screen and (max-width:575.98px) {
	.floating-btn {
	    width: 50px;
	    height: 50px;
	}
	
	/* banner */
	.banner .item .desktop {
        display: none
    }
	.banner .item .mobile {
        display: block;
		width: 100%;
    }
	.banner .item .content.backgr-text {
		background-color: rgba(0,0,0,0.7);
	}
	.banner .header {
        margin: 20px 0;
    }
	.banner .header .highlight,
	.banner .header .highlight-min {
        font-size: 24px;
    }
	.banner .header .highlight-min {
        margin-bottom: 10px;
    }
	.banner .header :nth-child(n+4) {
		max-width: 330px;
        font-size: 18px;
    }
	.slider-banner .wrap-btn {
		margin-bottom: 30px;
	    text-align: center
    }
}
