.msacwl-row-clearfix:after, .msacwl-row-clearfix:after{content: " ";    display: table;}
.msacwl-row-clearfix:after{clear:both;}
.msacwl-slider-conf, .msacwl-carousel-conf{display:none;}

/* Slider CSS */
.msacwl-gallery-slider{visibility: hidden; opacity:0;  transition:opacity 0.5s linear;  }
.msacwl-gallery-slider.slick-initialized { visibility: visible; opacity:1; }

.msacwl-gallery-carousel{visibility: hidden; opacity:0;  transition:opacity 0.5s linear;  }
.msacwl-gallery-carousel.slick-initialized { visibility: visible; opacity:1; }

.msacwl-gallery-slider button.slick-arrow, .msacwl-gallery-carousel button.slick-arrow { width:15px; cursor:pointer !important; height:26px; position:absolute; z-index:999; text-indent:-99999px;border:0px !important;padding:20px 15px !important; text-align:center; margin:0px; border-radius:0px !important;  -webkit-transition-duration: 0.4s;  transition-duration: 0.4s;}
.msacwl-gallery-slider button.slick-next,
.msacwl-gallery-carousel  button.slick-next{background:rgba(0,158,237,0.6) url('../images/arrow-right.png') center center no-repeat !important; background-size:15px 26px !important;} 
.msacwl-gallery-slider button.slick-next:hover,  
.msacwl-gallery-slider button.slick-next:focus,
.msacwl-gallery-slider button.slick-next:active,
.msacwl-gallery-carousel  button.slick-next:hover,  
.msacwl-gallery-carousel  button.slick-next:focus,
.msacwl-gallery-carousel  button.slick-next:active  {background-color:rgba(0,158,237,0.9) !important;}
.msacwl-gallery-slider button.slick-prev, 
.msacwl-gallery-carousel button.slick-prev{background:rgba(0,158,237,0.6) url('../images/arrow-left.png') center center no-repeat !important;background-size:15px 26px !important;}
.msacwl-gallery-slider button.slick-prev:hover, 
.msacwl-gallery-slider button.slick-prev:focus, 
.msacwl-gallery-slider button.slick-prev:active,
.msacwl-gallery-carousel button.slick-prev:hover, 
.msacwl-gallery-carousel button.slick-prev:focus,
.msacwl-gallery-carousel button.slick-prev:active {background-color:rgba(0,158,237,0.9) !important;}

.msacwl-gallery-slider .slick-dots, .msacwl-gallery-carousel .slick-dots{padding:0 !important; margin:0 !important; position:absolute; bottom:-5px; text-align:center; width:100%}

.msacwl-gallery-slider .slick-dots li button, .msacwl-gallery-carousel .slick-dots li button{text-indent:-99999px;}
.msacwl-gallery-slider .slick-dots li, .msacwl-gallery-carousel .slick-dots li {list-style:none !important; display:inline-block !important; margin:0 2px !important; padding:0px !important; width:10px !important; height:10px !important; }
.msacwl-gallery-slider .slick-dots li button, .msacwl-gallery-carousel .slick-dots li button{background:#fff !important; margin:0px !important; cursor:pointer !important; padding:0px !important; border:1px solid #000; border-radius:50% !important; width:10px !important; height:10px !important;}
.msacwl-gallery-slider .slick-dots li button:focus, .msacwl-gallery-carousel .slick-dots li button:focus{outline:none !important}
.msacwl-gallery-slider .slick-dots li.slick-active button, .msacwl-gallery-carousel .slick-dots li.slick-active button{background:#444 !important;}

.msacwl-gallery-carousel .slick-arrow{top:50%; margin-top:-26px !important; }
.msacwl-gallery-carousel button.slick-next{right:0}
.msacwl-gallery-carousel button.slick-prev{left:0px;}

.msacwl-gallery-slider .slick-arrow{top:50%; margin-top:-26px !important;}
.msacwl-gallery-slider button.slick-next{right:0px;}
.msacwl-gallery-slider button.slick-prev{left:0px;}

.msacwl-carousel-slide, .msacwl-slide{position:relative}
.msacwl-carousel-slide a{height:250px; display:block;}
.msacwl-gallery-caption{background:rgba(0,0,0,0.6); color:#fff; padding:5px 5px 40px 5px; text-align:center; position:absolute; bottom:0; left:0; right:0; font-size:14px; line-height:20px;}
.msacwl-gallery-caption span{display:block; }
.msacwl-gallery-caption span.image_title{font-size:16px; font-weight:bold; padding:5px 0;}
.msacwl-gallery-carousel .msacwl-gallery-caption{padding:15px !important}
.msacwl-slide img.attachment-full, .msacwl-carousel-slide img.attachment-large{height: 100% !important;width: 100% !important;object-fit: cover;object-position: top center;}

/* Popup*/
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
	opacity: 0;
	-webkit-backface-visibility: hidden;
	/* ideally, transition speed should match zoom duration */
	-webkit-transition: all 0.3s ease-out; 
	-moz-transition: all 0.3s ease-out; 
	-o-transition: all 0.3s ease-out; 
	transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
		opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
		opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container, 
.mfp-with-zoom.mfp-removing.mfp-bg {
	opacity: 0;
}