#swiperWrapper {
    height: 400px;
    display: flex;
    flex-direction: row;
}

#swiperWrapper2 {
    height: 400px;
    display: flex;
    flex-direction: row;
}

#swiperWrapper3,#swiperWrapper4 {
    height: 400px;
    display: flex;
    flex-direction: row;
}

#photoDese {
    padding-top: 30px;
    text-align: center;
    display: block;   
    width:90%;

}

.GalleryMobile .swiper-slide-active img {
    position: relative;
}
.GalleryMobile .swiper-button-next {
    top: 120px;
}

.GalleryMobile .swiper-button-prev {
    top: 120px;
}
.customPopUp1 .swiper-slide img, .customPopUp3 .swiper-slide img, .customPopUp4 .swiper-slide img  {
    display: block;
    height: auto;
    width: auto; 
    margin: 0 auto;
    -o-object-fit: cover;
    object-fit: cover;
    max-width: 100%;
	max-height: 100%;
}

.swiper-slide img {
    display: block;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    -o-object-fit: cover;
    object-fit: cover;
    max-width: 100%;
	max-height: 100%;
}

.swiper-slide-active {
    position: relative !important;
}
.customPopUp1 .GalleryMobile, .customPopUp3 .GalleryMobile, .customPopUp4 .GalleryMobile{
    max-height:400px;
}

.GalleryMobile{
    max-height:500px;
}

.customPopUp1  .GalleryMobile .swiper-slide-active img,.customPopUp3  .GalleryMobile .swiper-slide-active img,.customPopUp4  .GalleryMobile .swiper-slide-active img {
    width: auto;
    height:auto;
    max-height: 400px;
}

.GalleryMobile .swiper-slide-active img {
    width: auto;
    height:auto;
    max-height: 500px;
}

.customPopUp1 .Gallery .swiper-slide-active img,.customPopUp3 .Gallery .swiper-slide-active img,.customPopUp4 .Gallery .swiper-slide-active img {
    width: auto !important;
    max-height: 500px !important; 
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.Gallery .swiper-slide-active img {
    width: auto !important;
	height: auto !important;
    max-height: 800px !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


.customPopUp1 .Thumbs, .wrapA, .customPopUp3 .Thumbs, .wrapA , .customPopUp4 .Thumbs, .wrapA {
    flex-basis: 150px;
    height: 400px;
    text-align: center;
}

.Thumbs, .wrapA {
    flex-basis: 150px;
    height: 500px;
    text-align: center;
}

    .Thumbs .swiper-slide {
        opacity: 0.4;
    }

    .Thumbs .swiper-slide-active {
        opacity: 1;
    }

.customPopUp1 .popUpHeaderWrapper, .customPopUp3 .popUpHeaderWrapper, .customPopUp4 .popUpHeaderWrapper {
    margin-top: 0px;
    padding-left: 10%;
}

.popUpHeaderWrapper {
    margin-top: 60px;
    padding-left: 10%;
}

.Gallery {
    display: inline-block;
    width: 70%;
}

#swiperWrapperMobile, #swiperWrapperMobile3, #swiperWrapperMobile4 {
    display: none;
}

#swiperWrapperMobile2 {
    display: none;
}

.customPopUp1, .customPopUp3, .customPopUp4 {
    /* position: fixed; */
    /* left: 0%; */
    /* top: 0%; */
    /* right: 0%; */
    /* bottom: 0%; */
    overflow: auto;
    /*z-index: 3000;*/
    background-color: white;
    /* padding-left: 10%; */
    /* padding-right: 10%; */
    /*display: none;*/
}

.customPopUp {
    position: fixed;
    left: 0%; 
    top: 0%;
    right: 0%;
    bottom: 0%;
    overflow: auto;
    z-index: 3000;
    background-color: white;
    padding-left: 10%;
    padding-right: 10%;
    display: none;
}

.swiper-slide, #slideUp, #slideDown {
    cursor: pointer;
}

.PopUpHeader {
    position: absolute;
    left: 0;
    border-top: 2px solid #b41739;
    width: 100%;
    padding-top: 30px;
    text-align: right;
    margin-bottom: 10px;
}

    .PopUpHeader i {
        color: #dddddd;
        font-size: 2rem;
        cursor: pointer;
    }

@media screen and (max-width: 767px) {


    #photoDese{
        padding:10px;
        width:100% !important;
    }
    /* .customPopUp { */
        /* padding-left: 0; */
        /* padding-right: 0; */
    /* } */

    .popUpHeaderWrapper {
        padding-left: 5%;
        padding-right: 5%;
    }

    .wrapA {
        display: none;
    }

    #swiperWrapperMobile, #swiperWrapperMobile3, #swiperWrapperMobile4 {
        display: block;
    }
	
	#swiperWrapperMobile2 {
        display: block;
    }

    #swiperWrapper, #swiperWrapper3, #swiperWrapper4 {
        display: none !important;
    }
	
    #swiperWrapper2 {
        display: none !important;
    }	

    .swiper-slide-active img {
        left: 0%;
        transform: translate(0%, 0%);
    }
}
