.tms-hs{
	position:relative;
	width:100%;
	overflow:hidden;
}
.tms-hs-slides{
	position:relative;
	width:100%;
	height:100%;
}
.tms-hs-slide{
	position:absolute;
	inset:0;
	width:100%;
	height:100%;
	background-size:cover;
	background-position:center;
	background-repeat:no-repeat;
	opacity:0;
	visibility:hidden;
	transition:opacity .7s ease;
	z-index:1;
}
.tms-hs-slide.tms-active{
	opacity:1;
	visibility:visible;
	z-index:2;
}
/* slide (horizontal) effect */
.tms-hs[data-effect="slide"] .tms-hs-slide{
	transition:transform .7s ease, opacity 0s;
	transform:translateX(100%);
	opacity:1;
	visibility:visible;
}
.tms-hs[data-effect="slide"] .tms-hs-slide.tms-active{
	transform:translateX(0);
	z-index:2;
}
.tms-hs[data-effect="slide"] .tms-hs-slide.tms-prev{
	transform:translateX(-100%);
}

.tms-hs-overlay{
	position:absolute;
	inset:0;
	z-index:1;
}
.tms-hs-content{
	position:relative;
	z-index:2;
	height:100%;
	display:flex;
	flex-direction:column;
	max-width:760px;
	margin:0 auto;
	padding:0 24px;
	text-align:center;
}
.tms-hs-content.tms-align-left{ text-align:left; margin-left:60px; margin-right:auto; align-items:flex-start; }
.tms-hs-content.tms-align-right{ text-align:right; margin-right:60px; margin-left:auto; align-items:flex-end; }
.tms-hs-content.tms-align-center{ align-items:center; }

.tms-hs-content.tms-pos-top{ justify-content:flex-start; padding-top:8%; }
.tms-hs-content.tms-pos-center{ justify-content:center; }
.tms-hs-content.tms-pos-bottom{ justify-content:flex-end; padding-bottom:8%; }

.tms-hs-eyebrow{
	letter-spacing:2px;
	text-transform:uppercase;
	margin:0 0 10px;
}
.tms-hs-title{
	margin:0 0 14px;
	font-style:italic;
}
.tms-hs-desc{
	margin:0 0 26px;
}
.tms-hs-btn{
	display:inline-block;
	text-decoration:none;
	letter-spacing:1px;
	text-transform:uppercase;
	transition:background-color .25s ease, color .25s ease, border-color .25s ease;
	white-space:nowrap;
}

/* Arrows */
.tms-hs-arrow{
	position:absolute;
	top:50%;
	transform:translateY(-50%);
	z-index:5;
	display:flex;
	align-items:center;
	justify-content:center;
	cursor:pointer;
	border:none;
	background:rgba(0,0,0,.25);
	color:#fff;
	transition:background-color .2s ease, opacity .2s ease;
}
.tms-hs-arrow:hover{ background:rgba(0,0,0,.45); }
.tms-hs-arrow.tms-prev{ left:20px; }
.tms-hs-arrow.tms-next{ right:20px; }
.tms-hs-arrow svg{ width:40%; height:40%; fill:currentColor; pointer-events:none; }

/* Dots */
.tms-hs-dots{
	position:absolute;
	left:50%;
	transform:translateX(-50%);
	bottom:24px;
	z-index:5;
	display:flex;
	align-items:center;
}
.tms-hs-dot{
	border:none;
	border-radius:50%;
	cursor:pointer;
	background:rgba(255,255,255,.55);
	padding:0;
	transition:background-color .2s ease, transform .2s ease;
}
.tms-hs-dot.tms-active{
	background:#fff;
}

@media (max-width:767px){
	.tms-hs-content.tms-align-left{ margin-left:20px; }
	.tms-hs-content.tms-align-right{ margin-right:20px; }
	.tms-hs-arrow{ display:none; }
}

@media (prefers-reduced-motion: reduce){
	.tms-hs-slide{ transition:none; }
}
