body {
	padding: 0;
	margin: 0;
}

.fa-chevron-left::before,
.fa-chevron-right::before  {
	font-family: 'FontAwesome';
	font-style: normal;
}
.wd_slidetitle {
    font-size: 3.2em;
    font-weight: 700;	
    color: white;
    border-bottom: 1px solid #ee7425;
    line-height: normal;
}
.wd_slidebody {
    color: white;
    font-size: 18px;
    line-height: 24px;
    font-weight: 100;
    margin-top: 4px;
}
.wd_slidewrapper {

}
#carousel {
	font-family: sans-serif;

}
li.slide {
	box-sizing: border-box;
}
.active .slide {
	display: block !important;
	visibility: hidden;
	transition: left 0.6s ease-out;
}

.active .slide.current {
	visibility: visible;
	left: 0;
	
}
.active .slide.next {
	left: 100%;
}

.active .slide.prev {
	left: -100%;
}

.active .slide.next.in-transition,
.active .slide.prev.in-transition {
	visibility: visible;
}
.carousel,
.slide {
	width: 100%;
	padding: 0;
	margin: 0 auto;
	overflow: hidden;
}
.carousel {
	position: relative;
}
.carousel ul {
	margin: 0;
	padding: 0;
        /*height: 100%;*/
}
.slide {
	height: 270px;
	/*height: 100vh;*/
	background-size: cover;
	background-position: top;
	position: relative;
	margin-bottom: 1em;
	border: 1px solid #333;
}
.slide h4 {
	display: inline-block;
	font-weight: bold;
	font-size: 1.25em;
	margin: 0;
	padding: 0.25em;
	text-align: right;
	background-color: rgba(255, 255, 255, 0.8);
	float: right;
	border-radius: 0 0 0 0.5em;
}
.slide p:not(.more) {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    clear: both;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.8);
}
.slide > a {
	display: block;
	height: 100%;
}

.carousel.active {
	height: 270px;
        /*height: 100vh;*/
	border: 1px solid #333;
	position: relative;
	padding-bottom: 0 !important; 
}

.active .slide {
	border: none;
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	/*z-index: 200;*/
}

.slide.current {
	display: block;
	/*z-index: 500;*/
}
.slide_content_container{
	/*max-width: 1400px;*/
	margin-left: auto;
	margin-right: auto; 
	padding: 0 15px;
	position: relative;
	height: 100%;
}
.slide_content_inner {
    /*display: inline-block;
    position: absolute;
    bottom: 100px;*/
    width: 100%;
    height: 100%;
    align-items:center;
}

section.wd_slider .col-12 {
    width: 100%;
    display: flex;
}

.slide_content_inner a:hover {
    text-decoration: underline;
}

.slide_content_inner a {
    color: #FFF;
}
.wd_slidewrapper {
    min-width: 312px;
	padding: 20px;
	background-color: rgba(51,51,51,.4);
        /*background-color: rgba(36,35,55,.7); */
}
.slider_controls_container {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	display: block;
	position: relative;
	bottom: 30px;
	height: 80px;
	/*top: calc(100% - 100px);*/
	top: calc(50% + 80px);
}
.btn-prev,
.btn-next {
	position: absolute;
	z-index: 700;
	top: 50%;
	margin-top: -2.5em;
	border: 0;
	background: rgba(255, 255, 255, 0.6);
	line-height: 1;
	padding: 10px 5px;
	transition: padding 0.4s ease-out;
}

.btn-prev {
	left: 0;
	border-radius: 0 0.25em 0.25em 0;
}

.btn-next {
	right: 0;
	border-radius: 0.25em 0 0 0.25em;
}


.carousel.with-slidenav {
	padding-bottom: 2.5em;
	background-color: #fff;
}
.carousel.with-slidenav .slide {
	border-bottom: 1px solid #333;
}

.carousel ul.slidenav {
	position: absolute;
	bottom: 0.25em;
	left: 0;
	bottom: 46px;
	text-align: center;
	z-index: 501;
	display: flex;
	justify-content: right;
	list-style: none;
	padding: 0 15px;
	color: #fff;
}



.slidenav li {
	margin: 0 0.5em;
	vertical-align: middle;
    display: flex;
    flex-direction: column;
    align-self: center;
}

.slidenav li:first-of-type {
    margin-left: 0;
}

ul.controls {
	display: flex;
	position: absolute;
	/*bottom: 50px;*/
	/*left: 60px;*/
        top: calc(50% - 0px);
	justify-content: space-between;
    width: calc(100% - 200px);
    margin: 0 100px;
    display: none;
}

ul.controls button {
	position: relative;
	border-radius: 50%;
	background: #FFF;
	color: #242437;
	position: relative;
	padding: 0px 2px;
}
ul.controls button:hover {
	cursor: pointer;
}
/*
ul.controls button:after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #21A785;
	transform: scaleX(0);
	transform-origin: center left;
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.075s;
	transition-delay: 0.075s;
	z-index: -1;
}*/
ul.controls button.btn-next:after {
	transform-origin: center left;
}
ul.controls button.btn-prev:after {
	transform-origin: center right;
}
/*
ul.controls button:hover:after {
	transform: scaleX(1);
	transition-delay: 0s;
}*/
ul.controls button i {
	line-height: 1rem;
}
ul.controls button {

}
ul.controls button.btn-next {
}

.slidenav button {
	border: 2px solid #fff;
        border-radius: 50%;
	background-color: #FFF;
	line-height: 0.5;
	height: 1em;
	min-width: 1em;
	font-weight: bold;
	color: #fff;
	padding: 0;
}

.slidenav button[data-action='start'], .slidenav button[data-action='stop'] {
    /*border: 2px solid transparent;
    background-color: transparent;
    color: #8f8f8f; */
    border: none;
    background-color: transparent;
    
}

button[data-action='start'] svg, button[data-action='stop'] svg {
    fill: #8f8f8f;
    width: 16px;
    height:16px;
    pointer-events: none; /* ensure svg is not event target */
}


.slidenav button.current {

	background-color: #8f8f8f;
	color: #8f8f8f;
}

.slidenav button:hover,
.slidenav button:focus {
	border: 2px dotted #fff;
}


.slidenav button[data-action='start']:hover,
.slidenav button[data-action='stop']:hover {
    border: none;
}

.slidenav button.current:hover,
.slidenav button.current:focus {
	border: 2px dotted #ccc;
}

.no-display, .visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

@media (max-width: 992px) {
    /*ul.controls {
        top: 85%;
    }*/
}

@media (max-width: 767px) {
    button[data-action='start'] svg, button[data-action='stop'] svg {
         width: 24px;
        height: 24px;
    }
	#carousel {
		height: 270px;
	}
	.slide {
		height: 270px;
        background-position: right;
	}
	.wd_slidewrapper {
	    width: 100%;
	    min-width: inherit;
	}
	.slide_content_container {
            display: flex;
            height: 100%;
	}
	.slide_content_inner {
	    margin: auto -15px;
            left: inherit;
            transform: none;
	    width: 100%;
            /*max-height: 250px;*/
	    height: auto;
            bottom: 70px;
	}
	.wd_slidetitle {
            font-size: 21px;
            line-height: normal;
        }
	ul.controls {
		left: inherit;
                transform: translate(0%);
		z-index: 1000;
		/*bottom: 75px; */
		top: calc(50% - 30px);
		width: calc(100% - 40px);
   		margin: 0 20px;
	}
	.slidenav {
		justify-content: center;
		bottom: 18px;
	}
	.slidenav button {
		height: 1.5em;
		min-width: 1.5em;
	}
}
