html,
body {
    height: 100%;
}

* {
    outline: 0;
}

a{
    text-decoration: none !important;
}

img
{
    max-width: 100%;
}

h1
{
    text-align: center;
}

.clear
{
    clear: both;
}

.nopadding
{
    padding: 0px !important;
}

.nomargin
{
    margin: 0px !important;
}

textarea
{
    resize: none;
}

.video-main-container {
    width: 100%;
    max-width: 600px;
    position: relative;
    margin: 10px auto;
    display: block;
}

.video-container {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.staticpages-content img, .news-content img
{
    margin: 5px 10px !important;
}

@media (max-width: 767px) {
    .staticpages-content img, .news-content img {
        margin: 10px auto !important;
        float: none !important;
        display: block !important;
    }
}
.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}


@media(min-width: 1400px){
    .offers-wrapper.container{
        max-width: 1345px !important;
        width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
.offers-wrapper.container{
    padding: 0 !important;
}

.overlay{
    border-radius: 2px;
    background: linear-gradient(270deg, rgba(5, 16, 22, 0.85) 2.2%, rgba(5, 16, 22, 0.25) 98.66%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.offers-wrapper .carousel-item {
    position: relative;
}

.carousel-indicators li{
    width: 60px;
    background: #fff !important;
    border: none !important;
    margin-left: 5px;
    margin-right: 5px;
    opacity: 1 !important;
}

.carousel-indicators li.active{
    background: var(--primary) !important;
}


#carouselMainpage .carousel-caption .left{ 
    max-width: 754px;
    width: 100%;
    min-width: 600px;
    font-size: 42px;
    font-weight: 700;
}

#carouselMainpage .carousel-caption{
    bottom: 0;
}

#carouselMainpage .filter{
    padding: 20px 16px;
   /* width: 345px; */
}
#carouselMainpage .carousel-caption {
    gap: 60px;
}
@media(max-width: 1299px){
    #carouselMainpage .carousel-caption {
        bottom: 0;
    }
    

}

@media(max-width: 1199px){
    #carouselMainpage .carousel-caption {
        bottom: 0;
    }
}

#carouselMainpage :where(img:not(.icon),video){
    height: 100vh;
    object-fit: cover;
}

#carouselMainpage .content{
    transform: translateX(-50%);
    left: 50%;

    z-index: 25;
    bottom: 90px;
    width: 100%;
    max-width: 1100px;
}

@media(max-width: 992px){
    #carouselMainpage .carousel-caption{
        bottom: 0;
    }

    .filter{
        padding: 12px 25px;
        margin-top: 16px;
    }

    .filter :where(input, select){
        width: 340px !important;
    }
    .filter-group .wrapper{
        width: 100% !important;
        justify-content: space-between !important;
        padding-left: 39px !important;
        padding-right: 20px !important;
    }
    .filter .fg-city{
        width: 100% !important;
    }
    .intro .container{
        margin-top: 44px !important;
        gap: 53px !important;
    }
    #carouselMainpage .carousel-caption{
        gap: 40px;
    }
}

/* Introduction */
.intro .container{
    margin-top: 71px;
    gap: 32px;
    margin-bottom: 31px;

}
.intro .left{
    max-width: 565px;
    width: 100%;
}
@media(min-width: 993px){
    .intro .left{
        max-width: 505px;
    }
}
.intro .title{
    font-size: 26px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 28px;
    max-width: 540px;
}

.intro .content{
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    padding-left: 28px;
    border-left: 2px solid var(--main);
    margin-bottom: 34px;
    margin-left: 16px;
    max-width: 525px;
}

.intro .right img{
    max-width: 634px;
    width: 100%;
}

.intro-btn{
    border: 1px solid #D3D3D3;
    width: 120px;
    height: 31px;
    font-size: 14px;
    font-weight: 400;
    margin-left: 46px;
    border-radius: 14px;
}

.intro-btn:not(.end-page):hover{
    background: #292929;
    color: #fff !important;
}


@media(max-width: 575px){
    .intro .right img{
        width: 370px;
        height: 260px;
    }
    .intro .title{
        font-size: 24px;
        font-weight: 700;
        line-height: 28px;
    }
    .intro .content{
        padding: 20px;
        margin-bottom: 7px;
        font-size: 14px;
        font-weight: 400;
    }
    .intro .left>div{
        max-width: 358px;
    }
    .intro .right{
        text-align: center;
    }
}

@media(max-width: 400px){
    .intro .right img{
        width: 300px;
        height: auto;
    }
}

@media(max-width: 355px){
    .intro .right img{
        max-width: unset !important;
        width: 100% !important;
        height: auto !important;
    }
    .intro .right{
        margin: 0;
        max-width: unset !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Introduction */

/* NEWS */

section.blog{
    padding: 55px 0; 
}

section.blog .title{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 18px;
}

.underline{
    width: 159px;
    height: 2px;
    background: var(--primary);
    margin-bottom: 34px;
}

.news-cards{
    row-gap: 31px;
}

.news-card:not(:first-child){
   margin-left: 17px;
}

.news-card{
    width: 306px;
}

.news-card .content{
    padding: 15px 24px 0 6px;
    gap: 13px;
}

.news-card .title{
    font-size: 16px !important;
    font-weight: 700;
    margin-bottom: 0 !important;
}

.news-card .lead{
    font-size: 14px;
    line-height: 16px;
}

.news-card a:hover{
    color:  var(--primary) !important;
}

.news-card .date{
    font-size: 13px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    padding: 3px 6px 3px 6px;
}
.news-card a img{
    transition: all 0.3s ease-in-out;
    width: 100%;
    height: 205px;
    object-fit: cover;
}

.news-card a:hover img{
    transform: scale(1.2);
}

.blog .intro-btn{
    margin-top: 52px;
    border-radius: 14px;
}

@media(max-width: 767px){
    .news-card{
       width: 369px;
       margin-left: 0 !important; 
    }

    .news-card .lead{
        line-height: normal;
    }
    .news-card .date{
        width: 112px;
    }
    .news-card a img{
        height: 261px;
    }
    .news-card .content{
        padding: 14px 10px 0 10px;
        gap: 12px;
    }
    section.blog .title{
        font-size: 24px;
        margin-bottom: 20px;
    }
    .underline{
        margin-bottom: 17px;
    }
    section.blog{
        padding: 42px 0;
    }
    .blog .intro-btn{
        margin-top: 42px;
    }
}
/* NEWS */

.project-wrapper{
    gap: 15px;
}
.mp-project{
    width: calc(50% - 20px);
}
.mp-project h3{
    font-weight: 700;
}
.project-wrapper img{
    height: 401px;
    width: 100%;
    object-fit: cover;
}
.project-wrapper :where(.img-frame,img){
    border-radius: 15px;
}
.mp-project:hover h3{
    color: var(--primary);
}
.mp-project:hover img{
    scale: 1.1;
}
@media(max-width: 992px){
    .mp-project{
        width: 100%;
    }
    .project-wrapper{
        gap: 30px;
    }
    .mp-project h3{
        font-size: 35px;
    }
}
@media(max-width: 576px){
    .mp-project h3{
        font-size: 30px;
    }
}