div.beforeandafter{ /* main container */
	/* background: white; */
	/* border: 1px solid gray; */
	display: block;
	/* height: 434px; */ /* default height of main container */
	overflow: hidden;
	position: relative;
	/* width: 650px; */ /* default width of main container */
	top: 0;
	/* min-height: 210vh; */
}

div.beforeandafter img{
	max-width: none !important;
	margin-top: 0;
	margin-left: 0.5px;
}

div.before, div.after{ /* before and after DIVs within main container */
	height: 100%;
	left: 0px;
	overflow: hidden;
	position: absolute;
	top: 0;
	transition: width 0.4s ease-in-out; /* CSS transition. Actual duration set inside script (options.revealduration) */
	width: 100%;
	z-index: 100;
	background-color: #000;
}

div.after{
	z-index: 1; /* z-index of after div should be smaller than before's */
}


div.drag{ /* main div used for separating and dragging between before and after slides */
	background: #9bfb02;
	cursor: col-resize;
	display: block;
	height: 100%;
	left: 100%;
	position: absolute;
	top: 0;
	transition: left 0.4s ease-in-out; /* transition. 0.4s sets duration of drag fade in time */
	width: 3px; /* width of drag bar separator */
	z-index: 999;
}

div.drag div.draghandle{ /* handle bar within drag interface */
	/* background: #00ff17; */
	position: absolute;
	text-align: center;
	width: 38px; /* width of drag handle */
}

div.before span.caption, div.after span.caption{ /* CAS to syle SPAN caption. Optional */
	background: #97fe00;
	bottom: 10px;
	color: #000;
	display: block;
	/* font: bold 12px Germand; */
	padding: 5px;
	position: absolute;
	right: 10px;
	width: 100px;
}


div.before span.caption{
	left: 5px;
	/* right: auto; */
	/* top: 0; */
	position: relative;
	margin-top: -70vh;
	letter-spacing: 5px;
	padding: 15px;
	font-family: 'monoramasemibold';
}

div.before span.caption a, div.after span.caption a{
	color: lightyellow;
	text-decoration: none;
}

div.after span.caption {
    float: right;
    right: 5px;
    /* top: 20%; */
    position: relative;
    margin-top: -70vh;
    letter-spacing: 5px;
    padding: 15px;
    font-family: 'monoramasemibold';
}
