.single-page-gallery{
    background: #ECECEC;
    margin-top: 108px;
    position: relative;
    padding-bottom: 190px;
    background-position: 50% 100%;
    background-size: 100% auto;
    background-repeat: no-repeat;
    padding-top: 0px;
    position: relative;
    min-height: calc(100vh - 108px);
    background-image: url(../images/bg_single_gallery_desktop.png);
    background-position: center bottom;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
.single-page-gallery:after{
    content: '';
    width: 265px;
    height: 108px;
    background: #59BE60;
    position: absolute;
    top: -108px;
    left: calc((100% - 265px) / 2);
}
.single-page-gallery:before{
    content: '';
    width: 265px;
    height: 50%;
    background: #59BE60;
    position: absolute;
    bottom: 0;
    left: calc((100% - 265px) / 2);
    z-index: 0;
}
.single-page-gallery .social{
    height: 75vh;
}
.single-page-gallery h1{
    text-align: center;
    font-size: 80px;
    font-family: 'Cormorant Garamond';
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    padding: 30px 0 20px;
    line-height: 1;
}
.single-page-gallery p.subtitle{
    text-align: center;
    font-size: 12px;
    color: #33691E;
    text-transform: uppercase;
    font-weight: 600;
}
.single-page-gallery .content{
    max-width: 1400px;
    position: relative;
    margin: auto;
    z-index: 97;
}
.back-gallery{
    position: absolute;
    left: 0;
    top: 90px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 99;
}
.back-gallery span{
    font-size: 10px;
    font-weight: 600;
    color: #5AC764;
    letter-spacing: .2em;
    text-transform: uppercase;
    transition: all .3s;
}
.back-gallery svg{
    fill: #5AC764;
    transition: all .3s;
}
.back-gallery:hover span{
    color: #2B5B18;
}
.back-gallery:hover svg{
    fill: #2B5B18;
}
.swiper-slide{
    text-align: center;
}
.item-gallery{
    position: relative;
    display: inline-block;
}
.item-gallery img{
    max-height: 60vh;
}
.download-image{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 150px 30px 30px;
    text-align: center;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    transition: all .3s;
    opacity: 0;
}
.item-gallery:hover .download-image{
    opacity: 1;
}
.download-image a{
    line-height: 40px;
    padding: 0 40px;
    border-radius: 20px;
    border: 1px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
}
.download-image a span{
    font-size: 10px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .2em;
}
.download-image a:hover{
    box-shadow: 1px 1px 15px 0px rgba(0,0,0,0.35);
}
.wrapper-slider-gallery{
    margin-top: 30px;
}
.wrapper-slider-gallery .slider-gallery{
    max-width: 1150px;
}
.wrapper-slider-gallery .swiper-button-next,
.wrapper-slider-gallery .swiper-button-prev{
    width: 79px;
    height: 79px;
    top: 37%;
}
.wrapper-slider-gallery .swiper-button-next:after, 
.wrapper-slider-gallery .swiper-button-prev:after{
    display: none;
}
.wrapper-slider-gallery .swiper-button-next svg,
.wrapper-slider-gallery .swiper-button-next svg path,
.wrapper-slider-gallery .swiper-button-prev svg,
.wrapper-slider-gallery .swiper-button-prev svg path{
    transition: all .3s;
}
.wrapper-slider-gallery .swiper-button-next:hover svg{
    fill: #59be60 !important;
}
.wrapper-slider-gallery .swiper-button-next:hover svg path.hover-white{
    stroke: #fff;
}
.wrapper-slider-gallery .swiper-button-prev svg{
    transform: rotate(180deg);
}
.wrapper-slider-gallery .swiper-button-prev:hover svg{
    fill: #59be60 !important;
}
.wrapper-slider-gallery .swiper-button-prev:hover svg path.hover-white{
    stroke: #fff;
}
.wrapper-slider-gallery .swiper-pagination{
    position: relative;
    margin-top: 30px;
    color: #fff;
    font-size: 35px;
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 500;
    line-height: 85px;
}
.wrapper-slider-gallery .swiper-pagination span{
    font-size: 100px;
}

@media screen and (max-width: 1799px){
    .single-page-gallery .content{
        max-width: 80%;
    }
    .wrapper-slider-gallery .slider-gallery{
        width: calc(100% - 200px);
        max-width: 1150px;
    }
}
@media screen and (max-width: 1200px){
    main .social{
        display: none;
    }
    .single-page-gallery{
        margin-top: 90px;
        background-image: none;
        min-height: calc(100vh - 90px);
    }
    .single-page-gallery:after{
        content: '';
        background-image: url(../images/bg_single_gallery_tablet.png);
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: 100%;
        z-index: 1;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: transparent;
    }
    .single-page-gallery:before{
        height: 100%;
    }
    .title-single-page-gallery{
        background: #ECECEC;
        padding: 10px 15px 20px;
        position: relative;
        top: 15px;
    }
    .title-single-page-gallery h1{
        padding: 0 0 5px;
    }
    .back-gallery{
        position: relative;
        text-align: center;
        display: flex;
        justify-content: center;
        color: #fff;
        top: 0;
    }
    .back-gallery span{
        color: #fff;
    }
    .back-gallery svg{
        fill: #fff;
    }
    .single-page-gallery .content {
        max-width: 100%;
    }
}
@media screen and (max-width: 767px){
    .single-page-gallery{
        margin-top: 56px;
        min-height: calc(100vh - 56px);
    }
    .title-single-page-gallery{
        top: 0;
    }
    .title-single-page-gallery h1{
        font-size: 40px;
    }
    .wrapper-slider-gallery .swiper-button-next, 
    .wrapper-slider-gallery .swiper-button-prev{
        display: none;
    }
    .wrapper-slider-gallery .slider-gallery{
        max-width: 100%;
        width: 100%;
    }
    .single-page-gallery{
        background-image: none;
    }
    .download-image{
        position: relative;
        background: none;
        padding: 20px 0 0;
        opacity: 1;
    }
    .wrapper-slider-gallery .swiper-pagination{
        margin-top: 0;
    }
    .single-page-gallery:after{
        background-image: url(../images/bg_sibgle_gallery_mobile.png);
    }
    .download-image a{
        padding: 0 20px;
    }
    .back-gallery{
        flex-wrap: wrap;
        gap: 10px;
    }
    .back-gallery svg{
        width: 25px;
    }
    .back-gallery span{
        width: 100%;
        text-align: center;
    }
    .item-gallery img{
        max-height: 90vh;
    }
}