.section-gallery{
    width: 100%;
    margin-top: 100px;
    height: auto;
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
    background: linear-gradient(90deg, rgba(9,28,64,.04) 31%, #fff 10%);;
}

.gallery-controls{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Raleway-Light, sans-serif;
}

.gallery-controls p{
    font-size: 30px;
    color: #0B1840;
}
.gallery-controls span{
    font-size: 19px;
    color: #979EAF;
}


.gallery-controls .slide-counter{
    position: relative;
    width: 56px;
    height: 66px;
}

.gallery-controls .current{
    position: absolute;
    top: 0;
    left: 25%;
}

.gallery-controls .count{
    position: absolute;
    top: 55%;
    right: 5%;
}

.gallery-controls .slide-counter::before{
    content: '';
    position: absolute;
    width: 25px;
    top: 50%;
    left: 30%;
    border-bottom: 1px solid #979EAF;
    transform: rotate(-45deg);
}

.galleryList{
    position: relative;
    width: 100%;

}

.galleryList li{
    padding-right: 20px;
}


.galleryList li img{
    width: 100%;
}


.section-gallery .slick-prev {
    top: 0;
    left: -11%;

}

.section-gallery .slick-next{
    left: -11%;
    top: 100%;


}


@media (min-width: 1920px ) {
    .gallery-controls .slide-counter{
        left: -5%;
    }
}

@media (min-width: 2560px ) {
    .gallery-controls .slide-counter{
        left: -15%;
    }
}

@media (max-width: 1600px){
    .gallery-controls .slide-counter{
        left: 15%;
    }
}
@media(max-width: 1500px){
    .gallery-controls .count {
        right: -10px;
    }
}
@media(max-width: 1400px){
    .gallery-controls .count {
        right: -20px;
    }
}

@media (max-width: 1350px){
    .gallery-controls .slide-counter{
        left: 25%;
    }
    .gallery-controls .count {
        right: -30px;
    }
}


@media (max-width: 1200px) {
    .gallery-controls .count {
        right: 0;
    }

    .gallery-controls.p-100{
        padding-left: 0;
        padding-right: 0;
    }

    .section-gallery{
        height: auto;
        background: rgba(9,28,64,.04);
        padding-bottom: 0;
    }
    .gallery-controls{
        width: 100%;
        height: 85px;
    }

    .gallery-controls p{
        display: none;
    }

    .galleryList{
        top: 0;
        left: 0;
    }

    .galleryList li{
        padding-right: 0;
    }

    .gallery-controls .slide-counter {
        position: relative;
        left: 50%;
        transform: translateX(-50%);

        top: -22px;
    }

    .section-gallery .slick-prev {
        top: -55px !important;
        left: 35px !important;

    }

    .section-gallery .slick-next{
        left: unset !important;
        top: -55px !important;
        right: 35px !important;

    }
}


@media (max-width: 768px) {
    .section-gallery{
        margin-top: 0;
        padding-top: 30px;
    }
}

.gallery-grid{
    padding-top: 80px;
}
.gallery-grid .toggleGallery{
    margin: 40px auto 0;
    display: block;
    max-width: fit-content;
}
.gallery-grid h2{
    text-align: center;
}
.gallery-grid ul{
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
}
.gallery-grid ul li {
    width: calc(100% / 5);
}
.gallery-grid ul li:nth-child(n+15){
    display: none;
}
.gallery-grid ul li a {
    display: block;
    padding: 0 5px!important;
    height: 100%;
}
.gallery-grid ul li a .img-wrap {
    height: 100%;
    width: 100%;
}
.gallery-grid ul li a .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 1500px) {
    .gallery-grid ul{
        margin-top: 40px;
    }
    .gallery-grid ul li {
        width: calc(100% / 4);
    }
}
@media(max-width: 1200px){
    .gallery-grid{
        padding-top: 50px;
    }
    .gallery-grid .p-100{
        padding-left: 35px;
        padding-right: 35px;
    }
}
@media(max-width: 768px){
    .gallery-grid .p-100{
        padding-left: 5px;
        padding-right: 5px;
    }
}
@media (max-width: 992px){
    .gallery-grid ul li {
        width: calc(100% / 3);
    }
}
@media (max-width: 600px){
    .gallery-grid ul{
        margin-top: 20px;
    }
    .gallery-grid ul li {
        width: calc(100% / 2);
    }
}
