/* ------- slider ------- */

.header-wrapp-title {
    margin-top: 212px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: -27%;
    max-width: 845px;
    width: 100%;
    position: relative;

}

.header-wrapp-title::before {
    content: '';
    position: absolute;
    display: flex;
    max-width: 100%;
    width: 100%;
    height: 300px;
    background: url(../../../pic/bg-title-slider.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 10;
}

.header-slider {
    position: absolute;
    z-index: 20;
    top: 50px;
}

.header-slide.deskription {
    font-family: 'Onest', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 31px;
    letter-spacing: 0em;
    text-align: left;
}

.header-slide.deskription.white {
    color: #FFFFFF;
}

.home-slider .owl-carousel .owl-nav {
    position: absolute;
    z-index: 9;
    bottom: 10%;
    right: 5%;
    width: 100%;
    max-width: 170px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

@media(max-width:1860px){
    .header-wrapp-title {
        margin-left: -17%;
    }
}


@media(max-width:1640px) {

    .home-slider .js-carousel.owl-carousel.owl-loaded.owl-drag {
        display: flex;
    }

    .header-wrapp-title {
        margin-left: -15%;
    }
}

@media(max-width:1500px){
    .header-wrapp-title {
        margin-left: -12%;
    }
}

@media(max-width:1440px) {
    .header-slider {
        margin: 0;
        left: 28%;
        margin-right: -50%;
    }

    .header-slide.deskription {
        position: absolute;
        z-index: 10;
    }

    .header-wrapp-title::before {
        margin-top: -100px;
        z-index: 1;
    }

    .header-wrapp-title {
        align-items: center;
    }
    .header-wrapp-title {
        margin-left: -29%;
      }
}

@media(max-width:1340px){
    .header-wrapp-title {
        margin-left: auto;
        width: 100%;
        align-items: flex-start;
        margin-left: 0;
    }
    .header-slide.deskription {
        left: 0;
    }
    .header-slider {
        left: 0;
        margin-right: 0%;
    }
    
}

@media(max-width:1240px) {
    .deskription {
        font-size: 18px;
        line-height: 23px;
    }

    .home-slider .owl-carousel .owl-nav button.owl-prev {
        width: 40px;
        height: 40px;
        background-size: 18px;
        left: 60px;
    }

    .home-slider .owl-carousel .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        background-size: 11px;
    }
        
    .home-slider .owl-carousel .owl-nav button.owl-prev:hover {
        background-size: 12px;
    }
    .home-slider .owl-carousel .owl-nav button.owl-next:hover {
        background-size: 12px;
    }
 
    .home-slider .js-carousel .owl-dots {
        left: 8%;
    }
    .home-slider .owl-stage .js-carousel--item {
        min-height: 685px;
    }
    .js-carousel .owl-stage-outer, .js-carousel .owl-item, .js-carousel .owl-stage {
        max-height: 685px;
        min-height: 685px;
    }
    .home-slider .owl-stage {
        min-height: 685px;
    }
}

@media(max-width:1080px){
    .header-wrapp-title {
        margin-left: 20px;
    }
  .home-slider > ul > div.owl-stage-outer > div > div.owl-item li > div {
    max-width: 100%;
  }
}

@media(max-width:991px) {

    .home-slider .owl-stage-outer {
        min-height: 700px;
    }

    .home-slider .js-carousel.owl-carousel.owl-loaded.owl-drag .owl-stage-outer .owl-stage {
        min-height: 700px;
    }

    .home-slider .owl-stage .js-carousel--item {
        min-height: 700px;
    }

    .home-slider .owl-carousel .owl-nav {
        right: -5%;
    }
   
    .home-slider .js-carousel .owl-dots {
        left: 3%;
    }
 
}

@media(max-width:680px){
    .header-wrapp-title::before {
        max-width: 175%;
        left: -10%;
    }
    .header-slider {
        top: 40px;
    }
}

@media(max-width:575px) {
    .header-wrapp-title {
        margin-left: 20px;
    }
    .home-slider .owl-stage-outer {
        min-height: 560px;
    }

    .home-slider .js-carousel.owl-carousel.owl-loaded.owl-drag .owl-stage-outer .owl-stage {
        min-height: 560px;
    }

    .home-slider .owl-stage .js-carousel--item {
        min-height: 560px;
    }
}


@media(max-width:520px) {
    .home-slider .owl-carousel .owl-nav {
        right: -15%;
    }
    .home-slider .owl-carousel .owl-nav button.owl-prev {
        width: 30px;
        height: 30px;
        left: 80px;
        background-size: 14px;
    }
    .home-slider .owl-carousel .owl-nav button.owl-next {
        width: 30px;
        height: 30px;
        background-size: 9px;
    }
    .home-slider .owl-carousel .owl-nav button.owl-next:hover {
        background-size: 10px;
    }
    .home-slider .owl-carousel .owl-nav button.owl-prev:hover {
        background-size: 10px;
    }
    
}

@media(max-width:420px) {
    .header-slide.deskription {
        font-size: 14px;
        line-height: 17px;
    }

    .header-slider {
        width: 100%;
    }
    
}

@media(max-width:375px){
    .header-slider {
        top: 25px;

    }
.home-slider .js-carousel .owl-dots {
font-size: 12px;
font-weight: 700;
line-height: 15px;

}
}