/* aThemes demo previewer topbar. */

/* Reset. */
body, div, span, a, ul, li, iframe, img {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

ul {
	list-style: none;
}

/* Base. */
body {
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
	font-weight: 400;
	line-height: 1;
	color: #333;
	font-size: 13px;
	background: url(../images/bg.png) repeat;
}

a {
	text-decoration: none;
	color: #fff;
}

/* Topbar. */
#switcher {
	height: 59px;
	padding: 0;
	background: #0B1329;
	border-bottom: 1px solid #1B243C;
	border-top: 1px solid transparent;
	z-index: 99999;
	position: fixed;
	width: 100%;
	transition: all 0.3s ease;
}

#switcher.hidden {
	margin-top: -61px;
}

.center {
	margin: auto;
	width: 98%;
	padding: 11px 0;
}

.center ul li {
	display: inline;
	float: left;
}

.logo {
	float: left;
	margin-right: 20px;
	margin-top: 8px;
}

.logo svg {
	opacity: 1;
	position: relative;
	top: -2px;
}

/* Theme dropdown. */
#theme_list {
	position: relative;
	height: 61px;
	top: -12px;
	border-left: 1px solid #1B243C;
	border-right: 1px solid #1B243C;
}

#theme_select {
	width: 200px;
	display: block;
	padding: 12px 9px 10px 24px;
	color: #869AB8;
	background-position: 95% 53%;
	border-radius: 2px;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 38px;
	letter-spacing: 0;
	cursor: pointer;
}

#theme_select:hover {
	color: #F0F0F0;
}

.center ul li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	max-height: 237px;
	overflow-x: hidden;
	overflow-y: auto;
	width: 218px;
	z-index: 100000;
}

.center ul li ul li {
	width: 100%;
	background: #2b2b2b;
	border-bottom: 1px solid #414141;
}

.center ul li ul li:hover {
	background: #414141;
}

.center ul li ul li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px;
	font-weight: bold;
	color: #DFDFDF;
}

.center ul li ul li a:hover {
	color: #F0F0F0;
}

.center ul li ul li span {
	flex-shrink: 0;
	font-size: 11px;
	font-weight: bold;
	background: #6eceea;
	border-radius: 2px;
	padding: 3px 8px;
	color: #ffffff;
	min-width: 40px;
	text-align: center;
}

/* Responsive width switcher. */
.responsive {
	float: left;
	margin-left: 18px;
	padding: 21px 18px 22px 0;
	margin-top: -12px;
	height: 18px;
	border-right: 1px solid #1B243C;
}

.responsive a {
	float: left;
	margin: 0 6px;
}

.responsive a.desktop {
	background: url(../images/devices-demo-bar2.png) no-repeat 0 0;
	background-size: 140px !important;
	width: 25px;
	height: 22px;
}

.responsive a.tabletlandscape {
	background: url(../images/devices-demo-bar2.png) no-repeat -32px 0px;
	background-size: 140px !important;
	width: 28px;
	height: 17px;
	margin-top: 0px;
}

.responsive a.tabletportrait {
	background: url(../images/devices-demo-bar2.png) no-repeat -67px 0px;
	background-size: 140px !important;
	width: 22px;
	height: 21px;
	margin-top: -1px;
}

.responsive a.mobilelandscape {
	background: url(../images/devices-demo-bar2.png) no-repeat -96px 0px;
	background-size: 140px !important;
	width: 21px;
	height: 21px;
	margin-top: -1px;
}

.responsive a.mobileportrait {
	background: url(../images/devices-demo-bar2.png) no-repeat -125px 0px;
	background-size: 140px !important;
	width: 22px;
	height: 21px;
	margin-top: -1px;
}

.responsive a.desktop:hover, .responsive a.desktop.active {
	background: url(../images/devices-demo-bar-hover2.png) no-repeat 0 0;
	background-size: 140px !important;
	width: 25px;
	height: 22px;
}

.responsive a.tabletlandscape:hover, .responsive a.tabletlandscape.active {
	background: url(../images/devices-demo-bar-hover2.png) no-repeat -32px 0px;
	background-size: 140px !important;
	width: 28px;
	height: 17px;
	margin-top: 0px;
}

.responsive a.tabletportrait:hover, .responsive a.tabletportrait.active {
	background: url(../images/devices-demo-bar-hover2.png) no-repeat -67px 0px;
	background-size: 140px !important;
	width: 22px;
	height: 21px;
	margin-top: -1px;
}

.responsive a.mobilelandscape:hover, .responsive a.mobilelandscape.active {
	background: url(../images/devices-demo-bar-hover2.png) no-repeat -96px 0px;
	background-size: 140px !important;
	width: 21px;
	height: 21px;
	margin-top: -1px;
}

.responsive a.mobileportrait:hover, .responsive a.mobileportrait.active {
	background: url(../images/devices-demo-bar-hover2.png) no-repeat -125px 0px;
	background-size: 140px !important;
	width: 22px;
	height: 21px;
	margin-top: -1px;
}

/* CTA buttons. */
.links {
	float: right;
	margin-top: -10px;
}

.purchase {
	height: 61px;
	background: #4769D8;
	text-align: center;
	transition: all 0.2s ease;
	position: relative;
	top: -2px;
}

.purchase:hover {
	background: #fff;
}

.purchase a {
	padding: 9px 12px 8px 12px;
	float: left;
	border-radius: 2px;
	color: #FFFFFF;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
	font-size: 17px;
	font-style: normal;
	font-weight: 500;
	line-height: 42px;
	letter-spacing: 0px;
	width: 178px;
	position: relative;
	top: 1px;
}

.purchase a:hover {
	color: #4769D8;
}

.close a {
	padding: 9px 5px 10px 23px;
	float: left;
	border-radius: 2px;
	font-weight: bold;
	margin-left: 0;
}

.close a img {
	vertical-align: middle;
	margin-top: 12px;
	width: 14px;
}

.close a:hover {
	opacity: 0.8;
}

/* Demo iframe. */
#iframe {
	margin: 0 auto;
	display: block;
	padding-top: 60px;
	transition: all 0.3s ease;
}

#iframe.no-pad {
	padding-top: 0;
	height: 100vh;
}

/* Breakpoints. */
@media (min-width: 768px) and (max-width: 979px) {
	.responsive {
		display: none;
	}
}

@media (max-width: 767px) {
	.responsive {
		display: none;
	}

	.center ul li ul li span {
		display: none;
	}

	#theme_select {
		width: 70px;
	}

	.center ul li ul li a {
		min-width: 190px;
	}

	.center ul li ul {
		width: 168px;
	}

	.logo {
		margin-right: 10px;
	}

	.purchase a {
		padding: 9px 15px 8px 8px;
	}

	.close a {
		padding: 10px 6px 10px 5px;
		margin-left: 6px;
	}

	.links {
		font-size: 11px;
	}
}

@media (max-width: 575px) {
	.purchase a {
		width: 133px;
	}
}

@media (max-width: 480px) {
	#theme_select {
		width: auto;
		padding: 10px 6px 10px 6px;
		font-size: 16px;
		line-height: 39px;
	}

	.center {
		width: 95%;
	}

	.purchase a {
		width: 92px;
		font-size: 16px;
		padding: 7px 4px 7px 5px;
	}

	.close a {
		padding: 10px 2px 10px 4px;
		margin-left: 6px;
	}

	.close a img {
		margin-right: 0;
	}

	.links {
		font-size: 0;
	}

	.mob {
		display: none;
	}
}
