
#sliderFrame, #sliderFrame div {
    
    box-sizing: content-box;

}
#sliderFrame 
{
    position:relative;
    width:auto;
    margin:0 auto; /*center-aligned*/
}

#slider, #slider div.sliderInner {
    width:100%;height:420px;/* Must be the same size as the slider images */
        
}

#slider {
	background:#fff url(loading.gif) no-repeat 100% 100%;
	position:relative;
	margin:0 auto; /*center-aligned*/
    transform: translate3d(0,0,0);
    box-shadow: 0px 1px 5px #999999;

}

/* image wrapper */
#slider a.imgLink, #slider div.video {
	z-index:2;
	position:absolute;
	top:0px;left:0px;border:0;padding:0;margin:0;
	width:100%;height:100%;
}
#slider .video {
	background:transparent url(video.png) no-repeat 50% 50%;
}

/* Caption styles */
#slider div.mc-caption-bg, #slider div.mc-caption-bg2 {
	position:absolute;
	width:100%;
	height:auto;
	padding:10px 0;/* 10px will increase the height.*/
	left:0px; /*if the caption needs to be aligned from right, specify by right instead of left. i.e. right:20px;*/
	bottom:0px;/*if the caption needs to be aligned from top, specify by top instead of bottom. i.e. top:150px;*/
	z-index:3;
	overflow:hidden;
	font-size: 0;
}
#slider div.mc-caption-bg 
{
    /* NOTE: Its opacity is to be set through the sliderOptions.captionOpacity setting in the js-image-slider.js file.*/
	background:Black;/* or any other colors such as White, or: background:none; */
}
#slider div.mc-caption-bg2 {
    background:none;
}
#slider div.mc-caption {
	font: bold 14px/20px Arial;
	color:#EEE;
	z-index:4;
	text-align:center;
    background:none;
}
#slider div.mc-caption a {
	color:#FB0;
}
#slider div.mc-caption a:hover {
	color:#DA0;
}


/* ------ built-in navigation bullets wrapper ------*/
#sliderFrame {
	width: 100%;
	overflow: hidden;
}

#slider {
	width: 100%;
	aspect-ratio: 16 / 9;
	/*height: 70vh;*/ /* responsive height */
	position: relative;
}

	#slider img {
		width: 100%;
		height: 100%;
		object-fit: cover; /* KEY */
		position: absolute;
		top: 0;
		left: 0;
		opacity: 0;
		transition: opacity 0.6s ease-in-out;
	}

		/* active slide */
		#slider img.active {
			opacity: 1;
			z-index: 1;
		}
/* dots */
.dots {
	position: inherit;
	bottom: 30px;
	width: 100%;
	text-align: center;
	z-index: 5;
}

	.dots span {
		height: 12px;
		width: 12px;
		background: #bbb;
		border-radius: 50%;
		display: inline-block;
		margin: 0 5px;
		cursor: pointer;
	}

		.dots span.active {
			background: #fff;
		}
@media (max-width: 768px) {
	#slider {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 480px) {
	#slider {
		aspect-ratio: 16 / 9;
	}
}
