.amga-slider{
	position:relative;
	display:block;
	width:100%;
	max-width:100%;
	margin:0 0 20px;
	clear:both;
	float:none;
	box-sizing:border-box;
	outline:none
}

@media(min-width:782px){
	body.single-post.no-sidebar .main-content,
	body.post-template-single-feature.no-sidebar .main-content{
		width:100%!important;
		max-width:1100px!important;
		margin-left:auto!important;
		margin-right:auto!important
	}

	body.single-post.no-sidebar article.amga-has-gallery figure.post-thumbnail,
	body.single-post.no-sidebar article.amga-has-gallery .amga-slider,
	body.post-template-single-feature.no-sidebar article.amga-has-gallery figure.post-thumbnail,
	body.post-template-single-feature.no-sidebar article.amga-has-gallery .amga-slider{
		display:block!important;
		float:none!important;
		width:100%!important;
		max-width:100%!important;
		margin-left:0!important;
		margin-right:0!important
	}
}

.amga-slider__viewport,
.amga-slider__track,
.amga-slider__slide{
	width:100%;
	max-width:100%;
	box-sizing:border-box
}

.amga-slider__viewport{
	position:relative;
	overflow:hidden;
	background:#111
}

.amga-slider__track{position:relative}

.amga-slider__slide{
	display:none;
	margin:0;
	padding:0
}

.amga-slider__slide.is-active{
	display:block;
	animation:amgaFade .25s ease
}

@keyframes amgaFade{
	from{opacity:.35}
	to{opacity:1}
}

.amga-slider__image-wrap{
	position:relative;
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	aspect-ratio:16/9;
	overflow:hidden;
	background:#111
}

.amga-slider__image{
	display:block;
	width:100%!important;
	height:100%!important;
	max-width:100%!important;
	margin:0!important;
	object-fit:contain;
	background:#111
}

.amga-slider__caption{
	width:100%;
	box-sizing:border-box;
	padding:8px 10px 10px;
	border:1px solid #e1e1e1;
	border-top:0;
	background:#fff;
	color:#555;
	font-size:12px;
	line-height:1.4
}

.amga-slider__arrow{
	position:absolute;
	top:50%;
	z-index:10;
	display:flex;
	align-items:center;
	justify-content:center;
	width:46px;
	height:60px;
	padding:0;
	border:0;
	border-radius:0;
	background:rgba(0,0,0,.58);
	color:#fff;
	font-family:Arial,sans-serif;
	font-size:44px;
	line-height:1;
	cursor:pointer;
	transform:translateY(-50%)
}

.amga-slider__arrow:hover,
.amga-slider__arrow:focus{
	background:rgba(0,0,0,.85);
	color:#fff
}

.amga-slider__arrow--prev{left:0}
.amga-slider__arrow--next{right:0}

.amga-slider__counter{
	position:absolute;
	right:12px;
	bottom:12px;
	z-index:10;
	padding:6px 10px;
	border-radius:20px;
	background:rgba(0,0,0,.72);
	color:#fff;
	font-size:12px;
	font-weight:600;
	line-height:1
}

.amga-slider__dots{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	justify-content:center;
	gap:7px;
	padding:11px 8px 0
}

.amga-slider__dot{
	display:block;
	width:9px;
	height:9px;
	min-width:9px;
	min-height:9px;
	margin:0;
	padding:0;
	border:0;
	border-radius:50%;
	background:#b7b7b7;
	cursor:pointer
}

.amga-slider__dot.is-active{
	background:#111;
	transform:scale(1.25)
}

@media(max-width:600px){
	.amga-slider{
		max-width:100%;
		margin-bottom:18px
	}

	.amga-slider__image-wrap{
		aspect-ratio:4/3
	}

	.amga-slider__arrow{
		width:38px;
		height:52px;
		font-size:38px
	}

	.amga-slider__counter{
		right:8px;
		bottom:8px;
		padding:5px 8px;
		font-size:11px
	}
}
