/*
Theme Name: Erizo
Author: Erizo.pl
*/

:root{
    --primary-color:#225bc5;
    --primary-bg-color:#fff;
    --secondary-bg-color: #f9f9f9;
    --font-color: #333;
    --small-padding: 60px;
    --big-padding: 120px;
    --font-size-1: 66px;
    --font-size-2: 46px;
    --font-size-3: 36px;
    --font-size-4: 26px;
    --font-size-5: 20px;
    --font-size-6: 18px;
    --font-size-7: 16px;
    --font-size-8: 14px;
    --font-size-9: 12px;
}

html{
	overflow-x: hidden;
}
body{
	background: var(--primary-bg-color);
	overflow-x: hidden;
	font-size: var(--font-size-7);
	margin: 0;
	padding: 0;
/*     font-family: 'Montserrat', sans-serif; */
	font-family: 'Sora', sans-serif;
    color: var(--font-color);
}
section{
	padding: 60px 0;
}
a{
	color: var(--font-color);
}
.double-pad-top{padding-top: 120px;}
.double-pad-bottom{padding-bottom: 120px;}
.double-pad{padding:120px 0;}

*:focus{
	outline: none;
}
a:hover{
	text-decoration: none;
}
img {
	max-width: 100%;
	height: unset;
}
h1,h2,h3,h4,h5,h6{
    margin: 0;
	padding: 0;
    color: var(--font-color);
}

/* ************* */
/* Titles */
/* ************* */
h1{
    font-size: var(--font-size-1);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 5px;
}
h2{
    font-size: var(--font-size-3);
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 400;
}
h4{
    font-size: var(--font-size-4);
    font-weight: 700;
    margin-bottom: 30px;
}
h6{
    color: var(--primary-color);
    font-size: var(--font-size-6);
    text-transform:uppercase;
    margin-bottom: 15px;
    font-weight: 400;
}
p{
    line-height: 1.5;
	margin-top: 0px;
}
p a {
	transition: color 0.5s;
	font-weight:400;
}
p a:hover {
	color: var(--primary-color);
}
.about-us p:last-of-type {
	margin-bottom: 0px;
}

@media screen and (max-width: 992px) {
	section{padding: 60px 0;}
	.double-pad-top{padding-top: 60px;}
	.double-pad-bottom{padding-bottom: 60px;}
	.double-pad{padding:60px 0;}
}

/* ************* */
/* For all */
/* ************* */
a,a:hover{text-decoration: none;}
.rel{position: relative;}
.flex-align-column{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.text-center{text-align: center;}
.text-right{text-align: right;}
.text-justify{text-align: justify;}
.uppercase{text-transform: uppercase;}
.bg{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.color-bg{
    background-color: var(--secondary-bg-color);
}
.justify-content-center{
    justify-content: center;
}
.offer-rev{
    flex-direction: row-reverse;
}



/* ************* */
/* Buttons*/
/* ************* */

.color-btn-arrow{
    background:var(--primary-color);
    color: #fff;
    display: inline-block;
    width: max-content;
    padding: 16px 75px;
    border: 2px solid var(--primary-color);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    max-width: 100%;
}
.border-btn-arrow{
    background:none;
    color: #333;
    display: inline-block;
    width: max-content;
    padding: 16px 75px;
    border: 2px solid #333;
    margin: 30px 0 0px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    max-width: 100%;
}
.white-border-btn-arrow{
    background:var(--primary-color);
    color: #fff;
    display: inline-block;
    width: max-content;
    padding: 16px 75px;
    border: 2px solid var(--primary-color);
    margin: 30px 0 0px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    max-width: 100%;
}
.btn-full-col{
    padding: 15px;
    text-align: center;
    display: block;
    width: 100%;
}
.color-btn-arrow>i{
    content: url('img/arrow-btn.png');
    width: 15px;
    margin-left: 10px;
    transition: 0.5s;
}
.border-btn-arrow>i{
    content: url('img/arrow-btn-black.png');
    width: 15px;
    margin-left: 10px;
    transition: 0.5s;
}
.white-border-btn-arrow>i{
    content: url('img/arrow-btn.png');
    width: 15px;
    margin-left: 10px;
    transition: 0.5s;
}
.white-border-btn-arrow:hover>i,
.color-btn-arrow:hover>i,
.border-btn-arrow:hover>i
{
    margin-left: 35px;
}

/* ************* */
/* Color icons */
/* ************* */

.color-icon-tick{
    background: var(--primary-color);
    border-radius: 50%;
    width: 50px;
    max-width: 100%;
    height: 50px;
    position: relative;
    margin:auto;
}
.color-icon-tick::after{
    content: "";
    background-image: url('img/tick.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 0;
    right: 0;
    width: 30%;
    top: 0;
    bottom: 0;
    margin: auto;
}


.color-icon-1{
    background: var(--primary-color);
    border-radius: 50%;
    width: 50px;
    max-width: 100%;
    height: 50px;
    position: relative;
    margin:auto;
}
.color-icon-1::after{
    content: "";
    background-image: url('img/white-icon-1.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 0;
    right: 0;
    width: 50%;
    top: 0;
    bottom: 0;
    margin: auto;
}



@media screen and (max-width:768px){
    .flex-reverse-mobile-768{flex-direction: column-reverse;}
    .mobile-mgbot-0{margin-bottom: 0;}
}
@media screen and (max-width:992px){
    .mobil992-mgt-60{
        margin-top: 60px;
    }
    .mobil992-mgb-60{
        margin-bottom: 60px;
    }
    .less992-text-center{
        text-align: center;
    }
}

/* slick */
.slick-dotted.slick-slider{
    margin-bottom: 0;
}
.slick-dots li button:before{
    content: "";
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    width: 10px;
    height: 10px;
}
.slick-dots li.slick-active button:before{
    background: var(--primary-color);
}
.slick-dots{bottom: -60px;}

/* ************* */
/* About us */
/* ************* */
.about-us-img-bg{
    min-height: 440px;
    height: 100%;
    width: 100%;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
	border-radius:23px;
}
@media screen and (max-width:768px){
    .about-us img{margin-top: 60px;}
    
}
.about-us-new{
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 0;
}
.about-us-new::after{
    z-index: -1;
    position: absolute;
    content: "";
    left: 42%;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #fff;
    opacity: 0.9;
}
@media screen and (max-width:992px){
    .about-us-new::after{
        left: 0!important;
    }
}

/* ************* */
/* Banner */
/* ************* */

@keyframes arrowAnimation {
    0%   {transform:translateY(-30px) ;}
    30% {transform:translateY(0) ;}
    100% {transform:translateY(-30px) ;}
}
.banner{
    background-position: center;
    width: 100%;
    height: 540px;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
	padding: 130px 0 15px;
    background-size: cover;
    z-index: 0;
    background-repeat: no-repeat;
}
.home{
    min-height: 100vh;
}
.banner h1 {
	font-weight: 600;
	letter-spacing: 4px;
	text-align: center;
}
.call-action{
    position: relative;
    z-index: 0;
}

.call-action-v1::after{
    opacity: 1;
}
.banner h2{
    color: #fff;
    text-transform: uppercase;
}
.banner-text, .banner-text *{
    font-size: 32px;
    font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 2px;
}
.banner-box{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}
.banner::after,.call-action::after{
    /* background:linear-gradient(90deg, #00193a91 0%, #00193a91 20%, rgba(255,255,255,0) 100%); */
	background: rgba(0,0,0,0.2);
    content: "";
    top: 0;
    left: 0;
    opacity: 0.2;
    z-index: -1;
    bottom: 0;
    right: 0;
    position: absolute;

}
.banner-scroll-btn{
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
    animation-duration: 2s;
    animation-name: arrowAnimation;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}
.scroll-btn-arrow{
    position: relative;
    margin: auto;
}
.scroll-btn-arrow::after{
    position: absolute;
    content: "";
    background: #fff;
    width: 3px;
    height: 16px;
    bottom: -4px;
    right: -6px;
    transform: rotateZ(45deg);
}
.scroll-btn-arrow::before{
    position: absolute;
    content: "";
    background: #fff;
    width: 3px;
    height: 16px;
    bottom: -4px;
    left: -7px;
    transform: rotateZ(-45deg);
}
.scroll-btn-elements{
    display: inline-block;
    border-radius: 50px;
    padding: 15px 12px;
}
/* @media screen and (max-width:992px){
    .banner h1{font-size: 36px;}
} */
.parallax-banner{
    background-size: 190%!important;
    background-position-y: 100%;
}
@media screen and (max-width:992px){
    .parallax-banner{
        background-size: 350%!important;
    }
}

/* ************* */
/* Banner  v4 2btns*/
/* ************* */
.banner-v4 h1,
.banner-v4 p,
.banner-v4 div{color: #fff;}
.banner-v4 h2{font-weight: 400;}

.banner-v4 .scroll-btn-arrow,
.banner-v4 .scroll-btn-arrow::after,
.banner-v4 .scroll-btn-arrow::before{background: #fff;}

.banner-v4 .scroll-btn-elements{border-color: #fff;}

@media screen and (max-width:768px){
    .banner-v4 a{
        margin: 60px 0 0;
    }
}


/* ************* */
/* Contact form */
/* ************* */
.contact-container{
    text-align: center;
    margin-top: 60px;
}
.contact-container  img{
    position: relative;
    float: left;
    top:-14px;
    margin-right: 5px;
    width: 60px;
}
.contact-container a,.contact-container{color: #999;}
@media screen and (max-width:992px){
    .contact-container{
        text-align: left;
    }
}
.wpcf7-not-valid-tip {
    margin-bottom: 30px;
    margin-top: -20px;
}
.contact-form input,
.contact-form textarea{
    width: 100%;
    border: none;
    background: none;
    transition: 0.5s;
    resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus
{outline: none;}

.contact-form-container{position: relative;}
input:-webkit-autofill {background-color:#fff!important;}
.contact-label-up{top: 0!important;}
/*Change autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:active,
input:-webkit-autofill:focus {
    background-color: #FFFFFF !important;
    color: #555 !important;
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: #555555 !important;
}
/* ************* */
/* Contact form v6*/
/* ************* */
.contact-form-v6 input,
.contact-form-v6 textarea
{
    border-bottom: 1px solid var(--primary-color);
    font-size: 14px;
    color: #fff;
    padding: 30px 20px;
    margin-bottom: 30px;
}
.contact-form-v6 label{
    position: absolute;
    top:25px;
    left: 0;
    transition: 0.5s;
    font-weight: 300;
    font-size: 14px;
    color: #fff;
}

.contact-form-v6 textarea {
	margin-top: 25px;
}
.contact-form-v6 input:focus,.contact-form-v6 textarea:focus{border-color: var(--primary-color);}

.contact-form-v6 button[type="submit"]{
    background: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    width: unset;
    border: 1px solid var(--primary-color);
    padding: 20px 60px;
    color: #fff;
    text-align: center;
    display: block;
    text-transform: uppercase;
    font-family: inherit;
}
.contact-form-v6 button[type="submit"]:hover>i{
    margin-left: 30px;
}
.contact-form-v6 button>i{
    content: url('./img/arrow-btn.png');
    width: 15px;
    margin-left: 10px;
    transition: 0.5s;
}
.contact-form-v6 iframe{
    width: 100%;
    min-height: 300px;
    height: 100%;
}
.contact-form-v6 .input-select label {
	position: static;
}
.contact-form-v6 select {
	border: 1px solid var(--primary-color);
	border-radius: 5px;
	background-color: transparent;
	padding: 5px;
	font-family: inherit;
	margin-top: 15px;
}
.contact-form-v6 .contact-form-box{
    padding-top: 60px;
    padding-bottom: 60px;
}
@media screen and (max-width:992px) {
	.contact-form-v6 .contact-form-box{
		padding-top: 60px;
    		padding-bottom: 60px;
	}
}
.wpcf7 form *{
    color: #333;
}
/* ************* */
/* Call action */
/* ************* */
.call-action *{
    color: #fff!important;
}
.call-action .white-border-btn-arrow{
    margin: 0;
}
.call-action-text{font-size: 20px;}
.call-action{background-color: #fff;}
.call-action h2{color: #fff;}
@media screen and (max-width:992px){
    .call-action h1{font-size: 30px;}
}
@media screen and (max-width:768px){
    .call-action h1{font-size: 30px;}
    .call-action .white-border-btn-arrow{
        margin: 60px 0 20px;
    }
}


/* ************* */
/* Price */
/* ************* */
.price-btn>i{
    content: url('img/arrow-btn.png');
    width: 15px;
    margin-left: 10px;
    transition: 0.5s;
}
.price-btn{
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: #fff;
    transition: 0.5s;
    padding:15px 30px;
    display: inline-block;
    border-radius: 50px;
}
/* ************* */
/* Price v4*/
/* ************* */
.price-v4 .price-title-1{
    font-size: 16px;
    color: var(--primary-color);
    margin: 30px 0;
}
.price-v4 .price-title-main{
    color:#999;
}
.price-v4 .price-container{
    margin-bottom: 30px;
}
.price-v4  .price-value{
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 26px;
}
.price-v4 .price-line{
    height: 100%;
    border-bottom: 1px solid #99999980;
}
.price-v4 .price-title-hide{
    font-size: 16px;
    background-color: #f7f7f7;
    padding: 30px 60px 30px 30px;
    position: relative;
    border-bottom: 1px solid #999;
}
.price-v4 .price-btn-x{
    position: absolute;
    width: 30px;
    height: 30px;
    right: 30px;
    cursor: pointer;
    top: 30%;
    opacity: 0.7;
    transition: 0.5s;
}
.price-v4 .price-btn-x::after,.price-v4 .price-btn-x::before{
    position: absolute;
    content: "";
    height: 20px;
    width: 2px;
    background-color: var(--primary-color);
    display: block;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.price-v4 .price-btn-x::before{
    transform: rotateZ(90deg);
}
.price-btn-transform{
    transform: rotateZ(45deg);
    opacity: 1;
}
.price-v4 .price-el{
    display: none;
}
@media screen and (max-width:768px){
    .price-v4 .price-line{
        margin-top: 15px;
        height: unset;
    }
    .price-v4  .price-value{
        margin-top: 15px;
    }
}

/* ************* */
/* Custom gallery */
/* ************* */

.custom-gallery{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.custom-gallery-photo{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    padding-top: 100%;
}
.gallery-column{
    padding: 15px;
}

.gl-1 > div{flex-basis: 100%;}
.gl-2 > div{flex-basis:50%;padding:15px;max-width: 50%;}
.gl-3 > div{flex-basis:33.3%;padding:15px;max-width: 33.3%;}
.gl-4 > div{flex-basis:25%;padding:15px;max-width: 25%;}
.gl-5 > div{flex-basis:20%;padding:15px;max-width: 20%;}
.gl-6 > div{flex-basis:16.6%;padding:15px;max-width: 16.6%;}
.gl-7 > div{flex-basis:14.2%;padding:15px;max-width: 14.2%;}
.gl-8 > div{flex-basis:12.5%;padding:15px;max-width: 12.5%;}
.gl-9 > div{flex-basis:11.1%;padding:15px;max-width: 11.1%;}
@media screen and (max-width:1199px){
    .gl-9 > div,
    .gl-8 > div,
    .gl-7 > div,
    .gl-6 > div{
        flex-basis: 20%;
        max-width: 20%;
    }
}
@media screen and (max-width:992px){
    .gl-9 > div,
    .gl-8 > div,
    .gl-7 > div,
    .gl-6 > div,
    .gl-5 > div{
        flex-basis:25%;
        max-width: 25%;
    }
}
@media screen and (max-width:768px){
    .gl-9 > div,
    .gl-8 > div,
    .gl-7 > div,
    .gl-6 > div,
    .gl-5 > div,
    .gl-4 > div,
    .gl-3 > div{
        flex-basis:50%;
        max-width: 50%;
    }
}



/* ************* */
/* Blog*/
/* ************* */
.blog .blog-container{
    padding: 0 0 30px;
    background-color: #f7f6f5;
    margin: 15px 0;
    box-shadow: 0px 9px 17px -16px rgba(61,61,61,0.6);
    position: relative;
	transition: transform 0.5s;
height: calc(100% - 30px);
}
.blog .blog-container:hover {
	transform: scale(1.05);
}
.blog .blog-container > a{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    bottom: 0;
}
.blog .post-title{
    color: #333;
    font-size: 16px;
    font-weight: 700;
	padding: 15px;
	text-align: center;
}
.blog .post-text{
	color: #333;
    font-size: 14px;
	padding: 0 15px 15px;
}
.blog .post-date{
    font-size: 12px;
    color: #333;
    text-transform: uppercase;
	text-align: center;
	position: absolute;
	bottom: 15px;
	width: 100%;
}
.blog .blog-post-bg{
    background-position: center;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
	padding-top:70%;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.simple-banner {
	background-color: #f3eee9;
	padding-top: 178px;
}
.simple-banner h2 {
	margin-bottom: 0px;
}
@media screen and (max-width:991px){
	.simple-banner {
		padding-top: 165px;
	}	
}
.single-post-img {
	display: block;
	margin-bottom: 30px;
}

.home {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.home h1, .home h2 {
    z-index: 2;
}
.home--overlay {
    background-color: #000;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.5;
    z-index: 1;       
}
.fade-zoom-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    overflow: hidden;
}
.fade-zoom-slider > div {
    display: none;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
@keyframes slideFade {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}
.fade-zoom-slider .fade-zoom-slider--active {
    display: block;
}

.home *{
    color: #fff;
}
.home h2{
    margin-bottom: 0;
}

.call-action::after{
    background-color: #000;
}
@media screen and (min-width: 992px) {
    .call-action{
        background-attachment: fixed;
    }
}

/* ************* */
/* Services */
/* ************* */

.services .services-container h6{
    font-weight: 700;
    color: #fff;
    text-transform: none;
}
.services .services-container img{
    height: 60px;
}
.services-container {
    margin-top: 60px;
}
.services-text{font-size: 14px;line-height: 1.4;}
.services-header-text{
    font-size: 14px;
    line-height: 1.4;
}
.services-v3 .services-container h6{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0 15px;
}
.services-v3 .services-white-box{
    box-shadow: 0px 1px 17px 0px rgba(0,0,0,0.06);
}
.services-v3 .services-container{
    margin-top: 30px;
}
.services-white-box{
    position: relative;
    z-index: 0;
}
.services-white-box a{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
}
.services-v3 .services-container h6{
    margin: 0;
}
.services-v3 .services-white-box{
    background: #fff;
    box-shadow: 0px 1px 17px 0px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
}
.services-v3 .services-white-box:hover .img-bg{
    transform: scale(1.2);
}
.services-v3 .services-white-box .content{
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 2;
    margin-top: 250px;
}
.services-v3 .services-white-box .content h6{
    color: #fff;
}
.services-v3 .services-white-box .img-bg{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: .5s;
}
.services-v3 .services-container{
    margin-top: 30px;
}
.banner::after{
    background-color: #000000ba;
}

@media screen and (max-width: 991px) {
    h1{
        font-size: 40px;
    }
    .about-us-img-bg{
        height: unset;
        margin-top: 30px;
    }
}

.banner-video {
    min-height: 80vh;
    position: relative;
}
.banner-video::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background-color: #000;
    opacity: 10%;
}
.banner-video video{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.big-cta{
    min-height: 60vh;
    display: flex;
    width: 100%;
    align-items: center;
}
.portfolio .portfolio-box{
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    margin-top: 30px;
}
.portfolio .portfolio-box::after{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-color: #000;
    opacity: 30%;
    transition: .3s;
    content: "";
}
.portfolio .portfolio-box .portfolio-img{
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: .3s;
    position: absolute;
}
.portfolio .portfolio-box:hover .portfolio-img{
    transform: scale(1.2);
}
.portfolio .portfolio-box:hover::after{
    opacity: 60%;
}
.portfolio .portfolio-box .wrapper {
    padding: 30px;
    width: 100%;
    position: relative;
    z-index: 10;
}
.portfolio .portfolio-box .wrapper h3{
    font-size: 20px;
    text-align: center;
    color: #fff;
    font-weight: 400;
}
.portfolio .portfolio-box a{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
}
.contact-img-bg{
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
@media screen and (max-width:991px) {
    .contact-img-bg{
        display: none;
    }
}

.single-gallery .g-img{
    padding-top: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 30px;
}

.single-gallery .g-img a{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.offer-post .offer-img{
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.offer-post .offer-wrapper {
    padding: 60px 30px;
    background-color: #f5f2f0;
}
.offer-post .offer-item + .offer-item{
    margin-top: 30px;
}
@media screen and (min-width: 992px) {
    .offer-post .rev{
        flex-direction: row-reverse;
    }
}
@media screen and (max-width:991px) {
    .offer-img{
        height: unset;
        padding-top: 40%;
    }
}

@media screen and (max-width:1199px) {
    :root{
        --font-size-1: 56px;
        --font-size-2: 36px;
        --font-size-3: 26px;
        --font-size-4: 20px;
        --font-size-5: 18px;
    }
}
@media screen and (max-width:767px) {
    :root{
        --font-size-1: 36px;
        --font-size-2: 26px;
        --font-size-3: 22px;
        --font-size-4: 18px;
    }
}
.banner-box{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}
.over-baner{
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	background:#000;
	opacity:0.7;
}
@media screen and (max-width:576px){
	.h1-main{
		font-size:26px;
		margin-bottom:10px;
	}
	.txt-slider{
		font-size:18px;
	}
}

.home-offer .icon-box{
    background-color: #fff;
    padding: 60px 30px;
    text-align: center;
    position: relative;
    margin-top: 30px;
    box-shadow: 0px 9px 17px -16px rgba(61,61,61,0.6);
    transition: .3s;
}
.home-offer .icon-box:hover{
    transform: scale(1.03);
}

.home-offer .icon-box .icon-img{
    height: 70px;
    object-fit: contain;
    margin: 0 auto 15px;
    display: block;
}
.home-offer .icon-box h6{
    color: #333;
    margin-bottom: 0;
}
.home-offer .icon-box a{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.bg-contain{
    background-size: contain;
}
.gallery-offer .img-bg {
    margin-top: 30px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    padding-top: 100%;
}
.gallery-offer .img-bg a{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}
.s-link-icons {
	position: fixed;
	right: 15px;
	z-index: 10000;
	bottom: 30px;
}
.s-link-icons a{
	display: block;
}
.s-link-icons a img{
	width: 40px;
	margin-bottom: 15px;
}
img.aligncenter {
	margin: auto;
	display: block;
}
/* ************* */
/* Price */
/* ************* */
.price-btn>i {
	content: url('img/arrow-btn.png');
	width: 15px;
	margin-left: 10px;
	transition: 0.5s;
}

.price-btn {
	background-color: var(--primary-color);
	border: 2px solid var(--primary-color);
	color: #fff;
	transition: 0.5s;
	padding: 15px 30px;
	display: inline-block;
	border-radius: 50px;
}

/* ************* */
/* Price v4*/
/* ************* */
.price-v4 .price-title-1 {
	font-size: 16px;
	color: var(--primary-color);
	margin: 30px 0;
}

.price-v4 .price-title-main {
	color: #999;
}

.price-v4 .price-container {
	margin-bottom: 30px;
}

.price-v4 .price-value {
	height: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	color: var(--primary-color);
	font-weight: 700;
	font-size: 26px;
}

.price-v4 .price-line {
	height: 100%;
	border-bottom: 1px solid #99999980;
}

.price-v4 .price-title-hide {
	font-size: 16px;
	background-color: #f7f7f7;
	padding: 30px 60px 30px 30px;
	position: relative;
	border-bottom: 1px solid #999;
}

.price-v4 .price-btn-x {
	position: absolute;
	width: 30px;
	height: 30px;
	right: 30px;
	cursor: pointer;
	top: 30%;
	opacity: 0.7;
	transition: 0.5s;
}

.price-v4 .price-btn-x::after,
.price-v4 .price-btn-x::before {
	position: absolute;
	content: "";
	height: 20px;
	width: 2px;
	background-color: var(--primary-color);
	display: block;
	margin: auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

.price-v4 .price-btn-x::before {
	transform: rotateZ(90deg);
}

.price-btn-transform {
	transform: rotateZ(45deg);
	opacity: 1;
}

.price-v4 .price-el {
	display: none;
}

@media screen and (max-width:767px) {
	.price-v4 .price-line {
		margin-top: 15px;
		height: unset;
	}

	.price-v4 .price-value {
		margin-top: 15px;
	}
}
.price-table {
	padding: 15px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--primary-color);
	font-weight: 700;
}

.price-table:last-of-type {
	border-bottom: 1px solid var(--primary-color);
}

.price-table-price {
	color: var(--primary-color);
	font-size: 26px;
}

.price-table-container {
	margin-bottom: 30px;
}

.price-table-container:last-of-type {
	margin-bottom: 0px;
}

@media screen and (max-width:991px) {


	.price-table {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.price-table-price {
		margin-top: 10px;
	}
}
