//	=================
//    	Imports
//	=================

@import '../../../base/color_variables';   	// Color Variables
@import '../../../base/fonticons';   			// Fonticons Variables
@import '../../../base/urls';   				// URLS Variables
@import '../../../base/utilities_variables';  // Utilities Variables


/* Header */
/* To Navigation Style */
/* Demo Buttons Style */
/* Main content */
/* Related demos */
* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	&:after {
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
	&:before {
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
}
.clearfix {
	&:before {
		content: '';
		display: table;
	}
	&:after {
		content: '';
		display: table;
		clear: both;
	}
}
a {
	outline: none;
	text-decoration: none;
	&:hover {
		color: $white;
	}
	&:focus {
		color: $white;
	}
}
button {
	outline: none;
}
.container {
	min-height: 100%;
}
.color-2 {
	background: $color_424;
}
.color-3 {
	background: $color_425;
}
.color-4 {
	background: $color_426;
}
.color-5 {
	background: $color_427;
}
.color-6 {
	background: $color_428;
}
.color-7 {
	background: $color_429;
}
.color-8 {
	background: $color_430;
}
.color-9 {
	background: $color_431;
	color: $color_423;
}
.color-10 {
	background: $color_432;
}
.color-11 {
	background: $color_433;
}
section {
	padding: 1em;
	text-align: $align-center;
}
.codrops-header {
	margin: $m-0 auto;
	padding: 0 2em 0em;
	text-align: $align-center;
	h1 {
		margin: $m-0;
		font-size: 3.5em;
		line-height: 1.3;
		span {
			display: block;
			padding: 0.4em 0 0.6em 0.1em;
			font-size: 46%;
			font-weight: 300;
			opacity: 0.7;
		}
	}
}
.codrops-top {
	width: 100%;
	text-transform: $transform-upper;
	font-weight: 700;
	font-size: 0.69em;
	text-align: $align-center;
	padding: 2em $p-0;
	a {
		display: inline-block;
		padding: 1.5em;
		text-decoration: none;
		letter-spacing: 1px;
	}
}
.codrops-icon {
	&:before {
		margin: $m-0 4px;
		text-transform: none;
		font-weight: normal;
		font-style: normal;
		font-variant: normal;
		line-height: 1;
		speak: none;
		-webkit-font-smoothing: antialiased;
	}
}
.codrops-icon-drop {
	&:before {
		content: "\e001";
	}
}
.codrops-icon-prev {
	&:before {
		content: "\e004";
	}
}
.codrops-demos {
	padding-top: 1em;
	font-size: 0.8em;
	div {
		margin-left: $m-90;
		padding-bottom: 1em;
		&:not(:first-child) {
			h3 {
				padding-top: 2em;
			}
		}
	}
	a {
		display: inline-block;
		margin: 0.35em 0.1em;
		padding: 0.35em 0.9em 0.35em;
		outline: none;
		text-decoration: none;
		text-transform: $transform-upper;
		letter-spacing: 1px;
		font-weight: 700;
		background: rgba(255,255,255,0.3);
		color: $white;
		border-radius: 2px;
		font-size: 110%;
		&:hover {
			background: rgba(0,0,0,0.2);
			color: inherit;
			border-color: initial;
		}
	}
	a.current-demo {
		background: rgba(0,0,0,0.2);
		color: inherit;
		border-color: initial;
	}
	h3 {
		margin: $m-0;
		padding: 1em $p-0 0.5em $p-0;
		font-size: 0.9em;
		float: left;
		min-width: 90px;
		clear: left;
	}
}
.main {
	max-width: 69em;
	margin: $m-0 auto;
	padding: 3% 0 10%;
}
.column {
	float: left;
	width: 50%;
	padding: $p-0 2.5em;
	min-height: 200px;
	position: $pos-rel;
	&:first-child {
		box-shadow: inset -1px 0 0 rgba(0,0,0,0.1);
		text-align: $align-right;
	}
	p {
		font-weight: 300;
		font-size: 1.8em;
		padding: $p-0 $p-0 0.5em;
		margin: $m-0;
		line-height: 1.5;
	}
	p.small {
		font-size: 1em;
		padding: 0.75em $p-0 1em;
		font-weight: 700;
		line-height: 1.2;
	}
}
.progress-button {
	position: $pos-rel;
	display: inline-block;
	.content {
		position: $pos-rel;
		display: block;
		z-index: 10;
		-webkit-transition: -webkit-transform 0.3s;
		transition: transform 0.3s;
	}
	.progress {
		position: $pos-abs;
		left: 0;
		background: rgba(0,0,0,0.2);
		top: 0;
		width: 0%;
		opacity: 0;
		height: 100%;
		z-index: 0;
		-webkit-transition: width 0s 0.3s, opacity 0.3s;
		transition: width 0s 0.3s, opacity 0.3s;
	}
}
.progress-button.active {
	.progress {
		opacity: 1;
		width: 100%;
		-webkit-transition: width 1.2s;
		transition: width 1.2s;
	}
}
.related {
	clear: both;
	padding: 5em $p-0 8em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	p {
		font-size: 1.5em;
		font-weight: 700;
	}
	>a {
		border: $b-width-2 $solid black;
		border-color: initial;
		display: inline-block;
		text-align: $align-center;
		margin: $m-20 $m-10;
		padding: 25px;
		border-radius: 5px;
	}
	a {
		img {
			max-width: 100%;
			opacity: 0.8;
		}
		&:hover {
			img {
				opacity: 1;
			}
		}
		&:active {
			img {
				opacity: 1;
			}
		}
		h3 {
			margin: $m-0;
			padding: 0.5em $p-0 0.3em;
			max-width: 300px;
			text-align: left;
		}
	}
}
@media screen and (max-width: 46.5em) {
	.column {
		width: 100%;
		min-width: auto;
		min-height: auto;
		padding: 2em;
		font-size: 90%;
		&:first-child {
			text-align: $align-center;
			box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
		}
	}
}
@media screen and (max-width: 25em) {
	.codrops-header {
		h1 {
			font-size: 2.5em;
		}
	}
	.codrops-top {
		a {
			font-size: 1.6em;
			border: $b-width-2 $solid black;
			border-color: initial;
			padding: 0.5em;
			border-radius: 3px;
		}
	}
	.codrops-icon {
		span {
			display: none;
		}
	}
}
