@font-face {
	font-family: 'codropsicons';
	font-weight: normal;
	font-style: normal;
	src: url('../fonts/codropsicons/codropsicons.eot');
	src: url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'), url('../fonts/codropsicons/codropsicons.woff') format('woff'), url('../fonts/codropsicons/codropsicons.ttf') format('truetype'), url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
}


.clearfix:before,
.clearfix:after {
	content: '';
	display: table;
}
arfix:after {
	clear: both;
}



/* Device styles */

.device {
	position: relative;
	overflow: hidden;
	width: 40em;
	height: 35em;
	margin: 0 auto;
	background: url(../img/iphone_white.svg) no-repeat 50% 0%;
	background-size: 100%;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-khtml-user-select: none;
}

.device__screen {
	position: relative;
	overflow: hidden;
	height: 100%;
	margin: 11em 13.75% 0;
	text-align: left;
	border-radius: 4px 4px 0 0;
    box-shadow: inset 0 6.2em 0 rgba(0, 0, 0, 0.1);
}

.device__screen {
	background: #5b9ce3;
}

.device--alt .device__screen {
	background: #4ECE77;
}
.dummy { 
    position:absolute; 
    top:90px;
    width:90%;
    margin:0 5%;
    display:none;
}
.dummy--active { display:block !important; }
@media screen and (min-width:767px) {
	.dummy {
		top:110px;
		width:40%;
		margin:0 0 0 15px;
	}
}
.dummy__item {
    
	height: 50px;
	margin:10px 5%;
    /*padding-top:10px;*/
	/*pointer-events: none;*/
	border-radius: 4px;
    text-align:center;
    font-family:"DIN";
    font-size:21px;
    color:#fff;
	background: rgba(50, 50, 50, 0.75);
	box-shadow:0 0 50px rgba(255,255,255,0.25);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.dummy__item {
	-webkit-transform: translate3d(-100%, 0, 0) translate3d(-2em, 0, 0) scale3d(0.5, 1, 1);
	transform: translate3d(-100%, 0, 0) translate3d(-2em, 0, 0) scale3d(0.5, 1, 1);
	-webkit-transform-origin: 100% 50%;
	transform-origin: 100% 50%;
}
.dummy__item a {
    display:block;
    padding:10px 0 8px 0;
    z-index:22;
    text-decoration:none;
    color:#fff;
}
.dummy__item a:hover { color:#aaa; }
.device--alt .dummy__item {
	-webkit-transform: translate3d(0, 260px, 0) scale3d(1, 0.2, 1);
	transform: translate3d(0, 260px, 0) scale3d(1, 0.2, 1);
}

.dummy--active .dummy__item {
	-webkit-transition-timing-function: cubic-bezier(0.56, 1.19, 0.2, 1.05);
	transition-timing-function: cubic-bezier(0.56, 1.19, 0.2, 1.05);
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.dummy__item:nth-child(4),
.dummy--active .dummy__item:first-child {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

.dummy__item:nth-child(3),
.dummy--active .dummy__item:nth-child(2) {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

.dummy__item:nth-child(2),
.dummy--active .dummy__item:nth-child(3) {
	-webkit-transition-delay: 0.15s;
	transition-delay: 0.15s;
}

.dummy__item:first-child,
.dummy--active .dummy__item:nth-child(4) {
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

/* Related demos */

.content--related {
	font-weight: bold;
	padding: 4em 1em 2em;
	text-align: center;
	color: #76768E;
	background: #373752;
}

.content--related h3 {
	margin: 0 0 7em;
}

.media-item {
	display: inline-block;
	padding: 1em;
	vertical-align: top;
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
}

.media-item__img {
	max-width: 100%;
	opacity: 0.3;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.media-item:hover .media-item__img,
.media-item:focus .media-item__img {
	opacity: 1;
}

.media-item__title {
	font-size: 1em;
	margin: 0;
	padding: 0.5em;
}

@media screen and (max-width: 50em) {
	.codrops-header h1 {
		font-size: 2.25em;
	}
	.content--related {
		padding: 3em 1em;
	}
	.device {
		width: 100%;
		height: auto;
		background-image: none;
	}
	.device__screen {
		margin: 0;
		border-radius: 0;
	}
}
