html,body{
  height: auto!important;
}
#custom_zoom_in_container {
    width: 800px;
    max-width: 100%;
    display: inline-block;
}

#custom_zoom_in .zoom_image_wrapper{
    position: relative;
    display: block;
    margin: 0 auto;
    height: 600px;
    width: 800px;
}

#custom_zoom_in .primary_img{
    position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    margin: auto;  
}

#custom_zoom_in .zoom_image_wrapper img{
    max-width: 100%;
    max-height: 100%;
    width: auto;
}

#custom_zoom_in a img{
    max-width: 100%;
    max-height: 100%;
    max-width: calc(100% - 2px);
    max-height: calc(100% - 2px);
    width: auto;
}

#custom_zoom_in .zoom_gallery{
    max-width: 800px;
    margin: 0 auto;
}
#custom_zoom_in .thumbs_slider{
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

#custom_zoom_in .thumbs_wrapper{
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    float: left;
}
#custom_zoom_in .thumbs_container{
    display: flex;
    overflow-y: hidden;
    overflow-x: scroll;
    user-select: auto!important;
    -webkit-user-drag: auto!important;
    touch-action:auto!important;
}
#custom_zoom_in .thumbs_control{
    width: 15px;
    vertical-align: middle;
    position: relative;
    display: none;
    font-weight: 900;
    text-align: center;
    float: left;
    cursor: pointer;
    color: #FFB300;
    background-color: transparent;
}
#custom_zoom_in .thumbs_control:hover{
    color: #ffffff;
    background-color: #FFB300;
}
#custom_zoom_in .zoom_gallery a{
    display: block;
    position: relative;
    float: left;
    margin: 3px;
    padding: 1px;

    min-width: 120px;
    min-height: 120px;
    /*max-width: 125px;*/
    /*max-height: 125px;*/
}

#custom_zoom_in .zoom_gallery a img{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border: 1px solid transparent;
}
#custom_zoom_in .zoom_gallery a.active img{
    border: 5px solid #FFB300;
}

.gallery_inner_div{
}

.zoomContainer{
    z-index: 999;
}

.zoomWindowContainer{
    max-width: 100%;
}

.contact_map-section {
  height: 500px;
}

#custom_zoom_in .thumbs_container::-webkit-scrollbar{
    width: 1px;
}

@media (min-width: 576px) and (max-width: 991.98px) { 
    #custom_zoom_in_container{
        width:95vw;
    }
    #custom_zoom_in .zoom_image_wrapper{
        height: 450px!important;
        width: 100%!important;
    }
    #custom_zoom_in .zoom_gallery{
        max-width: 100%;
    }
    #gallery{
        overflow: hidden;
    }
    #custom_zoom_in .thumbs_slider{
        height: 130px;
        overflow-x: scroll; 
        overflow-y: hidden; 
    }
}

@media (min-width: 320px) and (max-width: 575px) { 
    #custom_zoom_in_container{
        width:95vw;
    }
    #custom_zoom_in .zoom_image_wrapper{
        height: 350px!important;
        width: 100%!important;
    }
    #custom_zoom_in .zoom_gallery{
        max-width: 100%;
    }
    #gallery{
        overflow: hidden;
    }
    #custom_zoom_in .thumbs_slider{
        height: 130px;
        overflow-x: scroll; 
        overflow-y: hidden; 
    }
}