.bwcs-slider .static,
.bwcs-slider .static * {
	animation: unset !important;
	transition: unset !important;
}
.bwcs-slider .bwcs-slides {
	min-height: var(--slide-height);
	overflow: hidden;
	position: relative;
	padding-bottom: 33%;
}
/* left slide style */
.bwcs-slider .bwcs-slide {
	position: absolute;
	height: var(--side-slide-height);
	top: calc(100% / 2 - var(--side-slide-height) / 2);
	width: var(--side-slide-width);
	left: 0;
	animation: slide-move-to-left var(--animation-duration) var(--animation-timing-f);
}
.bwcs-slider .bwcs-slide > div {
	position: absolute;
	height: 100%;
}
.bwcs-slider .bwcs-slide-image {
	overflow:hidden;
	height: 100%;
	width: 100%;
	animation: image-move-to-left var(--animation-duration) var(--animation-timing-f);
}
.bwcs-slider .bwcs-slide-image img {
	min-height: 100%;
	min-width: 100%;
	max-width: unset;
}
.bwcs-slider .bwcs-slide-container {
	background-color: #0e2f37;
	color: #FFF;
	width: calc(3.4em);
	animation: container-move-to-left var(--animation-duration) var(--animation-timing-f);
	overflow: hidden;
}
.bwcs-slider .bwcs-slide-cover {
	background-color: #404040;
	opacity: 0.5;
	width: 100%;
	animation: cover-move-to-left var(--animation-duration) var(--animation-timing-f);
	cursor: pointer;
}
.bwcs-slider .bwcs-slide-container div {
	opacity: 0;
}
.bwcs-slider div.bwcs-slide-title {
	text-transform: uppercase;
	opacity: 1;
	display: block;
	height: 100%;
	text-align: center;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	animation: title-move-to-left var(--animation-duration) var(--animation-timing-f);
	
	padding: 1.2em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* middle slide style */
.bwcs-slider .bwcs-slide.active {
	z-index: 100;
	position: absolute;
	width: var(--active-slide-width);
	left: calc(100% / 2 - var(--active-slide-width) / 2);
	height: 100%;
	top: 0;
	animation: unset;
}
.bwcs-slider .bwcs-slide.active.prev {
	animation: slide-move-from-left var(--animation-duration) var(--animation-timing-f);
}
.bwcs-slider .bwcs-slide.active.next {
	animation: slide-move-from-right var(--animation-duration) var(--animation-timing-f);
}
.bwcs-slider .bwcs-slide.active .bwcs-slide-image {
	width: 50%;
	height: 90%;
	top: 6%;
	animation: image-move-from-left var(--animation-duration) var(--animation-timing-f);
}
.bwcs-slider .bwcs-slide.active .bwcs-slide-container {
	background-color: #0e2f37;
	width: 50%;
	left: calc(100% - 50%);
	animation: unset;
	box-sizing: border-box;
	padding: 48px 44px;
}
.bwcs-slider .bwcs-slide.active.prev .bwcs-slide-container {
	animation: container-move-from-left var(--animation-duration) var(--animation-timing-f);
}
.bwcs-slider .bwcs-slide.active.next .bwcs-slide-container {
	animation: container-move-from-right var(--animation-duration) var(--animation-timing-f);
}
.bwcs-slider .bwcs-slide.active .bwcs-slide-cover {
	opacity: 0;
	display: none;
	animation: unset;
}
.bwcs-slider .bwcs-slide.active .bwcs-slide-container div {
	opacity: 1;
}
.bwcs-slider .bwcs-slide.active .bwcs-slide-container > * {
	animation: contents-move-from-left  calc(var(--animation-duration) * 1.25) ease;
}
.bwcs-slider .bwcs-slide.active .bwcs-slide-title {
	margin-bottom: 4pt;
	text-align: left;
	font-size: 2em;
	height: unset;
	writing-mode: unset;
	text-orientation: unset;
	padding: unset;
	white-space: unset;
	overflow: unset;
	text-overflow: unset;
}

/* right slide style */
.bwcs-slider .bwcs-slide.active ~ .bwcs-slide {
	left: calc(100% - var(--side-slide-width));
	animation: slide-move-to-right var(--animation-duration) var(--animation-timing-f);
	z-index: -1;
}

.bwcs-slider .bwcs-slide.active + .bwcs-slide {
	z-index: 2 !important;
}

.bwcs-slider .bwcs-slide.active + .bwcs-slide + .bwcs-slide {
	z-index: 1 !important;
}
.bwcs-slider .bwcs-slide.active ~ .bwcs-slide .bwcs-slide-container {
	left: calc(100% - 3.4em);
	animation: container-move-to-right var(--animation-duration) var(--animation-timing-f);
}
.bwcs-slider .bwcs-slide.active ~ .bwcs-slide .bwcs-slide-title {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	padding-left: calc(100% - 2.2em);
}

/* when sometimes an element needs to be moved with no animation */
.bwcs-slider .bwcs-slide.wrap {
	animation: unset !important;
}
.bwcs-slider .bwcs-slide.wrap * {
	animation: unset !important;
}



.bwcs-slider .bwcs-fade-cover {
	position: absolute;
	display: block;
	width: 100%;
	padding-top:33%;
	padding-bottom:45px;
	bottom: 0;
	background: rgb(14,47,55);
	background: linear-gradient(0deg, rgba(14,47,55,1) 0%, rgba(14,47,55,0.95) 60%, rgba(14,47,55,0) 100%)
}

.bwcs-slider .bwcs-fade-cover a {
	border-width: 1px;
	background: transparent;
    color: #FFF;
	border-style: solid;
    transition: 0.4s !important;
}
.bwcs-slider .bwcs-fade-cover a:hover {
	border-width: 1px;
	background: #259ea2;
	border-color: #259ea2;
	border-style: solid;
}
.bwcs-slider .pointer {
	cursor: pointer;
}
.bwcs-slider .bwcs-current {
	display: inline-block;
	font-size: 2em;
}
.bwcs-slider .bwcs-nav {
	width: 100%;
	padding-top: 1em;
	height: 1.6em;
	position: relative;
}
.bwcs-slider .bwcs-controls{
	color :#5d5d5d;
	display: block;
	position: absolute;
	right: calc(100% / 2 - var(--active-slide-width) / 2);
}

.disable-select {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

@keyframes slide-move-to-left {
	0% {
		width: var(--active-slide-width);
		left: calc(100% / 2 - var(--active-slide-width) / 2);
		height: 100%;
		top: calc(100% / 2 - 100% / 2);
	}
	25% {
		width: var(--side-slide-width);
		left: calc(100% / 2 - var(--side-slide-width) / 2);
		height: var(--side-slide-height);
		top: calc(100% / 2 - var(--side-slide-height) / 2);
	}
	100% {
		left: 0;
	}
}
@keyframes cover-move-to-left {
	0% {
		opacity: 0;
		display: block;
	}
	25% {
		opacity: 0;
		display: block;
	}
	100% {
		opacity: 0.5;
		display: block;
	}
}
@keyframes container-move-to-left {
	0% {
		width: 50%;
		left: calc(100% - 50%);
	}
	25% {
		width: calc(3.4em);
		left: calc(100% - 3.4em);
	}
	100% {
		left: 0;
	}
}
@keyframes container-move-from-left {
	0% {
		width: calc(3.4em);
		left: 0;
		padding: 0;
	}
	75% {
		width: calc(3.4em);
		left: calc(100% - 3.4em);
		padding: 0;
	}
	100% {
		width: 50%;
		left: calc(100% - 50%);
		padding: 0;
	}
}
@keyframes container-move-from-right {
	0% {
		width: calc(3.4em);
		left: calc(100% - 3.4em);
		padding: 0;
	}
	75% {
		width: calc(3.4em);
		left: calc(100% - 3.4em);
		padding: 0;
	}
	100% {
		width: 50%;
		left: calc(100% - 50%);
		padding: 0;
	}
}
@keyframes title-move-to-left {
	0% {
		writing-mode: unset;
		text-orientation: unset;
		opacity: 0;
	}
	25% {
		writing-mode: unset;
		text-orientation: unset;
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@keyframes image-move-to-left {
	0% {
		width: 50%;
		height: 87.5%;
		top: calc(100% / 2 - 87% / 2);
	}
	25% {
		top: 0;
		width: 100%;
		height: 100%;
		left: 0;
	}
	100% {}
}

/* animations middle to right */
@keyframes slide-move-to-right {
	0% {
		width: var(--active-slide-width);
		left: calc(100% / 2 - var(--active-slide-width) / 2);
		height: 100%;
		top: 0;
	}
	25% {
		width: var(--side-slide-width);
		left: calc(100% / 2 - var(--side-slide-width) / 2);
		height: var(--side-slide-height);
		top: calc(100% / 2 - var(--side-slide-height) / 2);
	}
	100% {
		left: calc(100% - var(--side-slide-width));
	}
}
@keyframes container-move-to-right {
	0% {
		width: 50%;
		left: calc(100% - 50%);
	}
	25% {
		width: calc(3.4em);
		left: calc(100% - 3.4em);
	}
	100% {
		
	}
}

/* move to middle */

@keyframes slide-move-from-left {
	0% {
		width: var(--side-slide-width);
		left: 0;
		height: var(--side-slide-height);
		top: calc(100% / 2 - var(--side-slide-height) / 2);
	}
	75% {
		width: var(--side-slide-width);
		left: calc(100% / 2 - var(--side-slide-width) / 2);
		height: var(--side-slide-height);
		top: calc(100% / 2 - var(--side-slide-height) / 2);
	}
	100% {
		width: var(--active-slide-width);
		left: calc(100% / 2 - var(--active-slide-width) / 2);
		height: 100%;
		top: 0;
	}
}
@keyframes slide-move-from-right {
	0% {
		width: var(--side-slide-width);
		left: calc(100% - var(--side-slide-width));
		height: var(--side-slide-height);
		top: calc(100% / 2 - var(--side-slide-height) / 2);
	}
	75% {
		width: var(--side-slide-width);
		left: calc(100% / 2 - var(--side-slide-width) / 2);
		height: var(--side-slide-height);
		top: calc(100% / 2 - var(--side-slide-height) / 2);
	}
	100% {
		width: var(--active-slide-width);
		left: calc(100% / 2 - var(--active-slide-width) / 2);
		height: 100%;
		top: 0;
	}
}
@keyframes image-move-from-left {
	0% {
		top: 0;
		width: 100%;
		height: 100%;
		left: 0;
	}
	75% {
		top: 0;
		width: 100%;
		height: 100%;
		left: 0;
	}
	100% {}
}
@keyframes contents-move-from-left {
	0% {
		opacity: 0;
	}
	80% {
		opacity: 0;
	}
	100% {}
}
