
.amg-rotator {
	float: left;
}

.amg-wrap {
	margin: 10px;
	box-shadow: 0 0 3px #ccc;
	border-radius: 12px;
	overflow: hidden;
	max-width: 400px;
	width: 100%;
}

.amg-rotator-content {
	padding: 24px;
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.amg-rotator-wrap.clearfix {
	position: relative;
	left: 0;
	z-index: 10;
	height: 100%;
}

.rotating-dots li {
	display: inline-block;
	width: 12px;
	height: 12px;
	background: #aaa;
	border-radius: 50%;
}

.rotating-dots li.active {
	background: #000;
}

ul.rotating-dots {
	padding: 20px;
	display: inline;
	margin: 0;
}

.rotating-dots li:first-child {
	margin: 0;
}

button#amg-rotate-forward, button#amg-rotate-reverse {
	height: 30px;
	width: 30px;
	border-radius: 50%;
	border: 0;
	box-shadow: 0 0 3px #666;
}

.rotating-dots-holder {
	padding: 20px;
	text-align: center;
}

.amg-rotator-window.both {
	mask-image: linear-gradient(var(--mask-direction, to right), hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 1) 5%, hsla(0, 0%, 0%, 1) 95%, hsla(0, 0%, 0%, 0));
}

.amg-rotator-window.right {
	mask-image: linear-gradient(var(--mask-direction, to right), hsla(0, 0%, 0%, 1), hsla(0, 0%, 0%, 1) 5%, hsla(0, 0%, 0%, 1) 95%, hsla(0, 0%, 0%, 0));
}

.amg-rotator-window.left {
	mask-image: linear-gradient(var(--mask-direction, to right), hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 1) 5%, hsla(0, 0%, 0%, 1) 95%, hsla(0, 0%, 0%, 1));
}

.amg-rotator.left .amg-container, .amg-rotator.right .amg-container {
	display: flex;
}

.amg-rotator .amg-rotator-image img {
	height: 100%;
	object-fit: cover;
	display: block;
}

.rotatorContainer .amg-rotator.bottom .amg-rotator-image img, .rotatorContainer .amg-rotator.top .amg-rotator-image img {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 16/9;
	display: block;
}

.amg-rotator.left .amg-rotator-content, .amg-rotator.left .amg-rotator-image, .amg-rotator.right .amg-rotator-content, .amg-rotator.right .amg-rotator-image {
	flex: 1;
}

.amg-rotator-title {
	padding: 12px 10px 0;
}

.rotatorContainer .amg-rotator:nth-child(1) {
	animation-delay: 0s;
}

.rotatorContainer .amg-rotator-wrap .amg-rotator:nth-child(2) {
	animation-delay: .1s;
}

.rotatorContainer .amg-rotator-wrap .amg-rotator:nth-child(3) {
	animation-delay: .2s;
}

.rotatorContainer .amg-rotator-wrap .amg-rotator-wrap .amg-rotator:nth-child(4) {
	animation-delay: .3s;
}

.rotatorContainer .amg-rotator-wrap .amg-rotator:nth-child(5) {
	animation-delay: .4s;
}

.rotatorContainer .amg-rotator-wrap .amg-rotator:nth-child(6) {
	animation-delay: .5s;
}

.rotatorContainer .amg-rotator-wrap .amg-rotator:nth-child(7) {
	animation-delay: .6s;
}

.rotatorContainer .amg-rotator-wrap .amg-rotator:nth-child(8) {
	animation-delay: .7s;
}

.rotatorContainer .amg-rotator {
	visibility: hidden;
}

.rotatorContainer .amg-rotator.visible {
	visibility: visible;
}

.rotatorContainer .amg-container {
	position: relative;
}

.rotatorContainer .left .amg-container, .rotatorContainer .right .amg-container {
	height: 100%;
}

.rotatorContainer .full .overlay {
	background: rgba(255, 33, 77, .4);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

.rotatorContainer .full .amg-rotator-content {
	position: relative;
	z-index: 3;
	color: #fff;
	text-shadow: 0 0 3px #666;
}

.rotatorContainer .full .amg-rotator-image {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	aspect-ratio: 5/4;
	width: 100%;
}

.rotatorContainer .full .amg-rotator-image img {
	aspect-ratio: 5/4;
	object-fit: cover;
}

.rotatorContainer .background .amg-wrap {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	padding: 30px;
	position: relative;
}

.rotatorContainer .background .rotator-overlay {
	position: absolute;
	background: rgba(0, 0, 0, .5);
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

@media handheld,only screen and (max-width:767px) {
	.rotatorContainer .amg-rotator {
		visibility: hidden;
		width: 80vw;
		margin-right: 24px;
	}
}
