<style>
.t668__col {
float: none;
display: block;
}
div[class*="acc_zeroslider"]{
transition:opacity 0.3s ease-in-out;
}
.dis_gallery{
pointer-events:none;
opacity:0;
}
@media screen and (min-width:1000px){
img.t668__img {
width: 0;
}
}
</style>
<script>
$( document ).ready(function() {
$('div[class*="acc_zeroslider"]:not(:first)').addClass("dis_gallery");
function hideSlider(em){
$('div[class*="acc_zeroslider"]').addClass("dis_gallery");
$('.acc_zeroslider'+em).removeClass("dis_gallery");
};
$('.t668__accordion').click(function() {
let accordWrap = $(this).closest('.t-container');
let accordNum = 1+accordWrap.find('.t668__accordion').index( $(this) );
let accElem = $(this);
setTimeout(function(){
if ( accElem.find('.t668__header').hasClass('t668__opened') ){
hideSlider(accordNum);
}else{
$('div[class*="acc_zeroslider"]').addClass("dis_gallery");
};
}, 300);
});
});
</script>