/* Start custom CSS */#boostly_modal_listing_gallery .modal-content{
    height:100vh;
}


/*Custom Gallery Section V3 Template*/
.d-none{
    display: none;
}

.custom-top-gallery-section{
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.custom-top-gallery-section button.top_gallery_v1_button{
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-family: var(--e-global-typography-ea9ed07-font-family ), Sans-serif;
    font-size: var(--e-global-typography-ea9ed07-font-size );
    font-weight: var(--e-global-typography-ea9ed07-font-weight );
    text-transform: var(--e-global-typography-ea9ed07-text-transform );
    line-height: var(--e-global-typography-ea9ed07-line-height );
    letter-spacing: var(--e-global-typography-ea9ed07-letter-spacing );
    word-spacing: var(--e-global-typography-ea9ed07-word-spacing );
    background-color: var( --e-global-color-accent );
    border: none !important;
    padding:10px 30px 10px 30px;
    border-radius: 30px 30px 30px 30px;
}
.custom-top-gallery-section .right-wrapper,
.custom-top-gallery-section .left-wrapper{
    width: 100%;
}

.custom-top-gallery-section.image-1 .left-wrapper .image,
.custom-top-gallery-section.image-1 .left-wrapper img,
.custom-top-gallery-section.image-1 .left-wrapper{
    width: 100%;
}
.custom-top-gallery-section img{
    object-fit: cover;
}
.custom-top-gallery-section .image-wrapper{
    display: flex;
    flex-wrap: wrap;
}

.custom-top-gallery-section.image-2 .right-wrapper img,
.custom-top-gallery-section .left-wrapper img{
    height: 520px;
}

.custom-top-gallery-section .right-wrapper img{
    height: 255px;
}
    
.custom-top-gallery-section .right-wrapper .image{
    width: 50%;
    padding-left: 10px;
}
.custom-top-gallery-section .right-wrapper .image:nth-child(2),
.custom-top-gallery-section .right-wrapper .image:first-child{
    padding-top: 0;
}
.custom-top-gallery-section.image-3 .right-wrapper .image:nth-child(2){
    padding-top: 10px;
}
.custom-top-gallery-section.image-2 .right-wrapper .image img,
.custom-top-gallery-section.image-2 .right-wrapper .image,
.custom-top-gallery-section.image-3 .right-wrapper .image img,
.custom-top-gallery-section.image-3 .right-wrapper .image,
.custom-top-gallery-section.image-4 .right-wrapper .image:last-child img,
.custom-top-gallery-section.image-4 .right-wrapper .image:last-child{
    width: 100%;
}


.custom-top-gallery-section .left-wrapper{
    flex: 0 0 35%;
    max-width: 35%;
}

.custom-top-gallery-section .right-wrapper{
    flex: 0 0 65%;
    max-width: 65%;
}

.custom-top-gallery-section .right-wrapper .image:first-child {
    width: 100%;
    padding-bottom: 10px;
}
.custom-top-gallery-section .right-wrapper .image:first-child img{
    width: 100%;
    
}
@media (max-width: 1366px){
    .custom-top-gallery-section img{
        max-height: 450px;
    }
    
    .custom-top-gallery-section.image-5 .right-wrapper img,
    .custom-top-gallery-section.image-4 .right-wrapper img,
    .custom-top-gallery-section.image-3 .right-wrapper img{
        max-height: 220px;
    }
}
@media (max-width: 991px){
    
    .custom-top-gallery-section img{
        max-height: 400px;
    }
    
    .custom-top-gallery-section.image-5 .right-wrapper img,
    .custom-top-gallery-section.image-4 .right-wrapper img,
    .custom-top-gallery-section.image-3 .right-wrapper img{
        max-height: 195px;
    }
    
}
@media (max-width: 768px){
    
    .custom-top-gallery-section .left-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
}
    .custom-top-gallery-section .right-wrapper{
        display: none;
    }
    .custom-top-gallery-section .left-wrapper{
        width: 100%;
    }
    .custom-top-gallery-section .left-wrapper .image,
    .custom-top-gallery-section img{
        max-height: 330px;
        width: 100%;
    }
    .detail-property-page-header-area-v3 .col-xs-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .custom-top-gallery-section .right-wrapper{
        margin-top: 20px;
    }
    /* 2 Images */
    .custom-top-gallery-section.image-2{
        flex-direction: column;
    }
    
    .custom-top-gallery-section.image-2 .right-wrapper,
    .custom-top-gallery-section.image-2 .left-wrapper{
        width: 100%;
    }
    .custom-top-gallery-section.image-2 .right-wrapper .image{
        padding-left: 0;
    }
    /* 3 Images */
    .custom-top-gallery-section.image-3 .right-wrapper{
        margin-bottom: 20px;
    }
    .custom-top-gallery-section.image-3 .right-wrapper img{
        max-height: 120px;
    }
    .custom-top-gallery-section.image-3 .right-wrapper .image{
        width: 50%;
    }
    .custom-top-gallery-section.image-3 .right-wrapper img{
        width: 100%;
    }
    .custom-top-gallery-section.image-3 .left-wrapper,
    .custom-top-gallery-section.image-3 .right-wrapper{
        width: 100%;
    }
    .custom-top-gallery-section.image-3 .right-wrapper .image:nth-child(2){
        padding-top: 0 ;
    }
    .custom-top-gallery-section.image-3 .right-wrapper .image:first-child{
        padding-left: 0;
        padding-right: 10px;
    }
}
@media (max-width: 575px){
    .custom-top-gallery-section img{
        max-height: 300px;
    }
}	
/*End Custom Gallery Section V3 Template*//* End custom CSS */