*{box-sizing:border-box}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

@font-face {
	font-family: 'helveticaneuecyrroman';
	src: url('../fonts/helveticaneuecyr-roman-webfont.woff2') format('woff2'),
	url('../fonts/helveticaneuecyr-roman-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

ol, ul {
	list-style: none;
}

:focus {
	outline: 0;
}

a {
	text-decoration: none;
	color: #fff;
}

body {overflow: hidden;
}

#theme_select {
	margin: 0 0 0 17px;
	width: 225px;
	height: 32px;
	display: block;
	color: #ffffff;
	font-size: 15px;
	border: 1px #92aee4 solid;
	border-radius: 3px;
	margin-top: 11px;
	position: relative;
	transition: border-color 200ms;
}

#theme_select .arrow_down {
	position: absolute;
    top: 7px;
    right: 10px;
    width: 1em;
    fill: currentColor;
    line-height: 21px;
    font-size: 10px;
    vertical-align: middle;
}
#theme_select .arrow_down svg{
	width: 1em;
}

.tfstyle #theme_select {
	margin-top:11px !important;
	border: 1px #676d79 solid;
}

#theme_select:hover, #theme_select.active {
	border-color: #676d79;
}

#theme_select span.fl {
	color: #fff;
	display: block;
	font-family: 'helveticaneuecyrroman', sans-serif;
	font-weight: 300;
	font-size: 13px;
	margin-left: 9px;
	line-height: 29px;
	padding-top: 1px;
	text-transform: none;
	height: 32px;
	max-width: 225px;
	overflow: hidden;
	float: left;
}

#theme_select .fr {
	display: none;
}

#theme_select img {
	display: none !important;
}

.center {
	width: 100%;
}

.center ul li {
	display: inline;
	float: left;
	position: relative;
	padding-right: 8px;
}

.advanced_templates_block {
	visibility: hidden;
	position: absolute;
	background: #fcfcfc;
	border: 1px #e7e7e7 solid;
	border-top: 0;
	padding: 10px 8px 16px 9px;
	width: 208px;
	left: 17px;
	overflow: hidden;
}

.tfstyle .advanced_templates_block {
	left: 212px;
	width: 225px;
}

.tfstyle .previmg_cont {
	left: 455px;
}

.html_section.templs_li_block {
	border-right: 0;
}

.f_left {
	float: left;
}

.f_right {
	float: right;
}

.c_lear {
	clear: both;
	font-size: 0;
	height: 0;
}

.templs_li_block {
	width: 226px;
	max-height: 347px;
	margin-right: 19px;
	display: inline-block;
	position: relative;
	vertical-align: top;
}

.templs_in {
	max-height: 347px;
	overflow-y: scroll;
}

.templs_li_block ul {
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}

.templs_li_block ul li {
	padding: 2px 0 !important;
	margin: 0 !important;
	list-style: none !important;
	display: block !important;
	float: none !important;
	height: auto !important;
	line-height: 18px !important;
	vertical-align: top;
}

.templs_li_block li a {
	padding: 0 !important;
	margin: 0 !important;
	list-style: none;
	line-height: 18px;
	color: #5c6b7e;
	font-family: 'helveticaneuecyrroman', sans-serif;
	font-weight: 400;
	font-size: 13px;
	text-transform: none;
}

.templs_li_block li a {
	vertical-align: top;
	outline: none;
	margin-left: 9px !important;
	border-bottom: 1px solid #e7e9ea;
	display: block;
	position: relative;
	max-width: 186px;
	padding: 8px 0 10px 0 !important;
}

.templs_li_block li:last-child a {
	padding-bottom: 0 !important;
	border-bottom: none !important;
}

.templs_li_block li:first-child a {
	padding-top: 0 !important;
}

.show_product_type {
	float: right;
	display: inline-block;
	background: #d8d9db;
	font-family: 'helveticaneuecyrroman', sans-serif;
	font-size: 10px !important;
	line-height: 18px !important;
	color: #ffffff !important;
	border-radius: 3px;
	padding: 0 3px !important;
}

.templs_li_block li a:hover span.show_product_type {
	color: #ffffff !important;
	background: #21759b;
}

.templs_li_block li a:hover,
.templs_li_block li a:hover span {
	color: #00b41e !important;
}

.templs_li_block li a:before {
	position: absolute;
	left: 0;
	top: 6px;
	width: 4px;
	height: 7px;
	background-position: 0 0;
	background-repeat: no-repeat;
	content: '';
}

.templs_li_block li a:hover:before {
	background-position: 0 -22px;
}

.previmg_cont {
	background-color: transparent;
	width: 0;
	height: 0;
	left: 262px;
	top: 73px;
	position: absolute;
	z-index: 15000;
	border: 0;
	overflow: hidden;
	transition: all 550ms;
}

.previmg_cont.active {
	width: 590px;
	height: 300px;
}

.themeimifr {
	margin-top: 0!important;
}

.tfstyle .headlines {
	float: left;
}

.preview__action--buy a {
	box-shadow: 0 2px 0 #6f9a37;
	position: relative;
	background-color: #82b440;
	font-size: 14px;
	padding: 6px 20px 5px 20px;
	line-height: 19px;
	color: #fff;
	box-sizing: border-box;
	display: inline-block;
	margin: 0;
	border: none;
	border-radius: 4px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.preview__action--buy a:hover {
	background-color: #7aa93c;
}

/* themeim Iframe Box*/
.themeim_devices_btn {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	z-index: 50;
	line-height: 30px;
}

.themeim_devices_btn > * {
	display: inline-block;
	vertical-align: top;
}

.themeim_devices_btn ul,
.themeim_devices_btn .remove_no_design {
	border: 1px #676d79 solid;
	border-radius: 3px;
	height: 32px;
	margin-right: 2px;
}

.themeim_devices_btn.hide_opt ul{
	display: none;
}
.themeim_devices_btn.hide_opt{
	position: static;
    float: right;
    transform: none;
    -webkit-transform: none;
    line-height: 31px;
    vertical-align: baseline;
    margin: 11px 20px 0 0;
}
.themeim_devices_btn .remove_no_design {
	width: 32px;
	height: 32px;
	line-height: 30px;
	text-align: center;
	font-size: 14px;
	transition: all 300ms;
}

.themeim_devices_btn .remove_no_design svg{
	display: inline-block;
    width: 15px;
    fill: currentColor;
    vertical-align: middle;
    padding-bottom: 2px;
}

.themeim_devices_btn .remove_no_design:hover {
	background: #676d79;
}

.themeim_devices_btn li {
	display: inline-block;
	color: #fff;
	line-height: inherit;
	opacity: 1;
	transition: all 0.3ms;
	padding: 0 15px;
	font-size: 13px;
	font-family: 'helveticaneuecyrroman', sans-serif;
	font-weight: normal;
	letter-spacing: 0.3px;
	margin-right: -1px;
}

.themeim_devices_btn li:first-child {
	border-radius: 2px 0 0 2px;
}

.themeim_devices_btn li:last-child {
	border-radius: 0 0 2px 2px;
}

.themeim_devices_btn li:not(.active) {
	cursor: pointer;
}

.themeim_devices_btn li.active {
	background: #676d79;
}

.themeim_demo_frame_box {
	position: relative;
	z-index: 1;
	width: 100%;
}

.themeim_demo_frame_box iframe {
	height: 100%;
	width: 100%;
	opacity: 1;
	transition: opacity 500ms;
	max-height: 100%;
}
/*.themeim_demo_frame_box iframe.iframe_hidden {
	opacity: 0;
}*/

.themeim_demo_frame_box_inner {
	height: 100%;
	width: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transition: all 500ms;
	margin-top: -1px;
}

body.device_preview {
	background-color: #fafbfd;
}

.framed .themeim_demo_frame_box_inner {
	box-shadow: 0 0 0 29px #fff, 0 0 0 30px #dee0e3;
	border-radius: 10px;
	background: #dee0e3;
}

.framed .themeim_demo_frame_box_inner:after {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: #fff;
	content: '';
	z-index: 10;
}

.tablet .themeim_demo_frame_box_inner {
	width: 1040px;
	height: 768px;
}

.portrait .themeim_demo_frame_box_inner {
	width: 788px;
	height: 1000px;
}

.mobile .themeim_demo_frame_box_inner {
	width: 375px;
	height: 568px;
}

.tablet .themeim_demo_frame_box_inner,
.portrait .themeim_demo_frame_box_inner,
.mobile .themeim_demo_frame_box_inner {
	max-height: calc(100% - 120px);
}

.preview__header {
	position: relative;
	box-shadow: 0 0 5px rgba(0,0,0, 0.3);
}

@media only screen and (max-width: 1300px) {
	.themeim_devices_btn {
		position: static;
		float: right;
		transform: none;
		-webkit-transform: none;
		line-height: 31px;
		vertical-align: baseline;
		margin: 11px 20px 0 0;
	}
}

@media only screen and (max-width: 1100px) {
	.themeim_devices_btn ul {
		visibility: hidden;
		display: none;
	}
	.preview__action--buy a {
		padding: 6px 10px 5px 10px; !important;
	}
}

@media only screen and (max-width: 767px) {
	.previmg_cont {
		display: none !important;
	}
}

@media only screen and (max-width: 1024px) {
	/*.preview__header {
		display: none !important;
	}*/
	.previmg_cont.active{
		width: 300px;
		height: 152px;
	}
	.previmg_cont.active img{
		width: 100%;
	}
}

@media only screen and (max-width: 620px) {
	#theme_list{
		display: none;
	}
}

.mobile_device .preview__header {
	display: none !important;
}