body {
font-family: 'Raleway', sans-serif;
	margin: 0;
	font-size: 14px;
	line-height: 24px;
	color: #dedfe0;
	background-color: #e6e6e6;
}
a {
	text-decoration: none;
	-webkit-transition: color .3s ease, background-color .3s ease;
	    -ms-transition: color .3s ease, background-color .3s ease;
	        transition: color .3s ease, background-color .3s ease;
}
body, a, a:visited, a:active {
	color: #fff;
}
a:active {
	outline: none;
}

#demoheader {
	background-color: #1e202e;
	height: 54px;
}
#demoheader:after {
	content:' ';
	display:block;
	width: 100%;
	height:0;
	clear:both;
}

#demoheader [class*="icon-"]:before {
	margin:0;
	padding:0;
	line-height:inherit;
	vertical-align:baseline;
}

#demoheader .left_col {
	float: left;
	height: 54px;
}

	#logo {
		display: inline-block;
		vertical-align: top;
		text-align:center;
		padding:0px;
	}
		#logo img {
			vertical-align: top;
			width: auto;
			height: 63px;
			max-height:100%;
			margin-left: 5px;
		}

	

	#theme_selector {
		display: inline-block;
		vertical-align: top;
		margin-left: 2px;
		color: #dedfe0;
		background-color: #444444;
		position:relative;
	}
	
		#theme_selector .current_theme {
			display: block;
			width: 390px;
			height: 54px;
			line-height: 54px;
			overflow:hidden;
			padding: 0 3em 0 2em;
			color: #dedfe0;
			-webkit-box-sizing: border-box;
				-ms-box-sizing: border-box;
					box-sizing: border-box;
		}
		#theme_selector .current_theme:hover {
			color: #fff;
		}
		#theme_selector .current_theme:after {
			content: '\f107';
			font-family: 'FontAwesome';
			display:inline-block;
			vertical-align:top;
			line-height: 54px;
			position:absolute;
			z-index:1;
			right: 2em;
			top: 0;
		}
		#theme_selector .current_theme:hover:after, #theme_selector .back:hover {
			color: #ec671c;
		}
			#theme_selector .current_theme_name {
				width: 100%;
				overflow: hidden;
			}
		#theme_selector .related_themes {
			display: none;
			width: 390px;
			padding: 10px 25px 20px 25px;
			-webkit-box-sizing: border-box;
				-ms-box-sizing: border-box;
					box-sizing: border-box;
			position: absolute;
			left: 0;
			top: 54px;
			background-color: #444444;
		}
	
	#theme_selector .back {
	display:inline-block;
	padding-top:7px;
	}
	
	#theme_selector .more {
	margin-top:20px;
	padding-top:20px;
	border-top: solid 1px #999999;
	}
	#theme_selector .more a{
	color:#ec671c;
	}
#theme_selector .more a:hover{
	color:#fff;
	}
			#theme_selector .themes_list {
				list-style: none;
				padding: 0;
				margin: 0;
			}
			#theme_selector .themes_list li {
				position: relative;
				padding-left: 20px;
			}
			#theme_selector .themes_list li:before {
				content: "-";
				display: block;
				position: absolute;
				top: 0;
				left: 0;
				width: 1em;
				height: 2px;
			}
			#theme_selector .themes_list li a {
				display:block;
				color: #dedfe0;
			}
			#theme_selector .themes_list li.mx_current:before,
			#theme_selector .themes_list li.mx_current a,
			#theme_selector .themes_list li a:hover {
				color: #ec671c;
			}
			#theme_selector .themes_list li + li {
				margin-top: 0.5em;
			}
			#theme_selector .placeholder {
				width: 100%;
				margin-top: 1em;
			}
			#theme_selector .placeholder img {
				width: 100%;
				max-width:100%;
				height: auto;
				vertical-align: top;
			}

	#frame_controls {
		display: inline-block;
		vertical-align: top;
		height:100%;
		margin-left:10em;
	}
		#frame_controls .device_item {
			display: inline-block;
			vertical-align: top;
			margin-left:2px;
			font-size: 1.5em;
			width: 54px;
			height: 54px;
			line-height: 54px;
			text-align:center;
			background-color: #444444;
		}
		#frame_controls .device_item:hover {
			color: #fff;
			background-color: #ec671c;
		}
		#frame_controls .device_current {
			color: #fff;
			background-color: #ec671c;
		}
		#frame_controls .device_tablet_landscape i {
			-webkit-transform:rotate(-90deg);
				-ms-transform:rotate(-90deg);
					transform:rotate(-90deg);
		}


#demoheader .right_col {
	float: right;
	display:inline-block;
	vertical-align: top;
	height: 54px;
}
	#demoheader .right_col > a {
		display: inline-block;
		vertical-align:top;
		height: 54px;
		line-height:54px;
		background-color: #444444;
		text-align:center;
		padding: 0 3.4em;
		margin-left: 2px;
	}
	#demoheader .right_col > a:hover {
		background-color: #50BAC3;
	}
	#demoheader .right_col > a:before {
		margin-right: 0.5em;
		vertical-align: top;
		font-size:1.25em;
	}
	#demoheader .right_col > a.docs {
		padding: 0 3.6em;
	}
	#demoheader .right_col > a.purchase {
		color: #FFFFFF;
		background-color: #ec671c;
		padding: 0 4em;
		text-transform:uppercase;
	}
	#demoheader .right_col > a.purchase i {
	font-size:20px;
	padding-right:10px;
	}
	#demoheader .right_col > a.purchase:hover {
		background-color: #ec671c;
	}
	#demoheader .right_col > a.closeframe {
		padding:0 !important;
		letter-spacing:0 !important;
		width: 54px;
	}
	#demoheader .right_col > a.closeframe:hover {
		color: #ec671c;
		background-color: #1e202e ;
	}
	#demoheader .right_col > a.closeframe:before {
		margin-right: 0;
	}



/* Frame with demo
-----------------------------  */

/* Desktop */
#showframe {
	width: 100%;
	margin: 0 auto;	
}
	#showframe .hide_wrap {
		overflow: hidden; 
		width: 100%;
		
	}
	#showframe iframe {
		width: 100%;
		height: 100%;
		display:block;
		vertical-align: top;
		margin:0;
		padding:0;
	}

/* Tablet landscape */
#showframe.tab_land {
	margin-top: 30px;
	width: 1024px;
	padding: 38px 103px 37px 85px;
	padding: 35px 70px;
	background-color:#F5F5F5;
	-webkit-border-radius: 15px;
			-ms-border-radius: 15px;
				border-radius: 15px;
}
	#showframe.tab_land .hide_wrap {
		width: 1024px;
		height: 740px;
		-webkit-border-radius: 3px;
			-ms-border-radius: 3px;
				border-radius: 3px;
	}
	#showframe.tab_land .hide_wrap iframe {
		width: 1041px !important;
		height: 740px !important;
	}

/* Tablet portrait */
#showframe.tab_port {
	margin-top: 30px;
	width: 768px;
	padding: 70px 35px 0 35px;
	background-color:#F5F5F5;
	-webkit-border-radius: 15px 15px 0 0;
			-ms-border-radius: 15px 15px 0 0;
				border-radius: 15px 15px 0 0;
}
	#showframe.tab_port .hide_wrap {
		width: 768px;
		height: 740px;
		-webkit-border-radius: 3px 3px 0 0;
			-ms-border-radius: 3px 3px 0 0;
				border-radius: 3px 3px 0 0;
	}
	#showframe.tab_port .hide_wrap iframe {
		width: 785px !important;
		height: 740px !important;
	}

/* Tablet mobile */
#showframe.mobile {
	margin-top: 30px;
	width: 375px;
	padding: 35px 12px 35px 12px;
	background-color:#F5F5F5;
	-webkit-border-radius: 15px;
			-ms-border-radius: 15px;
				border-radius: 15px;
	/*background: url(images/mobile.png) 0 0 no-repeat;*/
}
	#showframe.mobile .hide_wrap {
		width: 375px;
		height: 696px;
		-webkit-border-radius: 3px;
			-ms-border-radius: 3px;
				border-radius: 3px;
	}
	#showframe.mobile .hide_wrap iframe {
		width: 392px !important;
		height: 696px !important;
	}




@media (max-width: 1799px) {
	#frame_controls {
		margin-left:3em;
	}
}
@media (max-width: 1699px) {
	#frame_controls {
		margin-left:1em;
	}
}
@media (max-width: 1529px) {
	body {
		font-size:13px;
		line-height:20px;
	}
	#demoheader,
	#demoheader .left_col,
	#demoheader .right_col {
		height:42px;
	}
	#logo img {
		    /* height: 22px; */
    margin-top: -7px;
	}
	#socials .social_item {
		font-size: 14px;
		width: 42px;
		height: 42px;
		line-height: 42px;
	}
	#theme_selector .current_theme {
		width: 300px;
		height: 42px;
		line-height: 42px;
		padding: 0 2em 0 1.5em;
	}
	#theme_selector .current_theme:after {
		line-height: 42px;
		right: 1em;
	}
	#theme_selector .related_themes {
		width: 300px;
		padding: 1.5em;
		top: 42px;
	}
	#frame_controls .device_item {
		width: 42px;
		height: 42px;
		line-height: 42px;
	}
	#demoheader .right_col > a {
		height: 42px;
		line-height:42px;
		padding: 0 2em !important;
	}
	#demoheader .right_col > a.closeframe {
		width: 42px;
	}
}
@media (max-width: 1279px) {
	#frame_controls {
		display:none;
	}
}
@media (max-width: 1023px) {
	#demoheader .right_col > a.docs {
		display: none;
	}
}
@media (max-width: 959px) {
	#demoheader .right_col > a.customization {
		display: none;
	}
}
@media (max-width: 767px) {
	#socials {
		display: none;
	}
	#theme_selector .current_theme {
		width: 214px;
		padding: 0 1.5em 0 1em;
	}
	#theme_selector .current_theme:after {
		right: 0.5em;
	}
	#theme_selector .related_themes {
		width: 270px;
		padding: 1em;
	}
	#demoheader .right_col > a {
		font-size: 10px;
	}
}
@media (max-width: 639px) {
	#theme_selector .current_theme {
		display: none;
	}
}
@media (max-width: 479px) {
	body {
		font-size:12px;
		line-height:18px;
	}
	#demoheader,
	#demoheader .left_col,
	#demoheader .right_col {
		height:40px;
	}
	
	#logo img {
		height:20px;
	}
	
	#demoheader .right_col > a {
		height: 40px;
		line-height:42px;
		font-size: 10px;
	}
	#demoheader .right_col > a.purchase {
		letter-spacing:0;
	}
	#demoheader .right_col > a.closeframe {
		width: 40px;
	}
}
