
/* Шрифты */
@font-face {
	font-family: 'RobotoSlabRegular';
	font-style: normal;
	font-weight: normal;
	src: local('RobotoSlabRegular'), url('/static/fonts/RobotoSlabRegular.woff') format('woff');
}

@font-face {
	font-family: 'RobotoSlabBold';
	font-style: normal;
	font-weight: normal;
	src: local('RobotoSlabBold'), url('/static/fonts/RobotoSlabBold.woff') format('woff');
}

@font-face {
	font-family: 'RobotoRegular';
	font-style: normal;
	font-weight: normal;
	src: local('RobotoRegular'), url('/static/fonts/RobotoRegular.woff') format('woff');
}

@font-face {
	font-family: 'RobotoBold';
	font-style: normal;
	font-weight: normal;
	src: local('RobotoBold'), url('/static/fonts/RobotoBold.woff') format('woff');
}

@font-face {
	font-family: 'RobotoBold';
	font-style: normal;
	font-weight: normal;
	src: local('RobotoBold'), url('/static/fonts/RobotoBold.woff') format('woff');
}

.f-default {
	font-family: 'RobotoRegular', 'Tahoma', sans-serif;
}

.f-bold {
	font-family: 'RobotoBold', 'Tahoma Bold', sans-serif;
}

.f-heading {
	font-family: 'RobotoSlabBold', 'Tahoma', sans-serif;
}

.f-aux {
	font-family: 'RobotoSlabRegular', 'Tahoma', sans-serif;
}

::-webkit-scrollbar {
	display: none; 
}

/* Базовые части */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	height: 100%;
	background: #FFF;
}

.hidden {
	display: none !important;
}

.noscroll {
	overflow: hidden !important;
}

.c {
	clear: both;
}

.ns {
	-webkit-touch-callout: none;
	-webkit-user-select: none;  
	-khtml-user-select: none;   
	-moz-user-select: none;  
	-ms-user-select: none;  
	user-select: none;
}

.p {
	cursor: pointer;
}

.header {
	display: block;
	text-align: center;
	color: #004f9f;
	margin: 30px 0 15px;
	font-size: 30px;
}

#closed-label {
	background: #FDFDFD;
	border: 1px solid #DDD;
	border-radius: 5px;
	color: #000;
	font-size: 12px;
	padding: 15px 30px;
	margin-top: 20px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

#container {
	min-height: 100%;
}

#wrapper {
	margin: 0 auto;
	max-width: 980px;
	padding: 75px 10px 0;
	box-sizing: border-box;
	font-family: 'RobotoRegular', 'Tahoma', sans-serif;
	color: #000;
}

/* Заголовочная часть */
#logo {
	width: 221px;
	height: 58px;
	background: url('/static/img/landing/logo.png') no-repeat bottom center;
	position: absolute;
	top: 6px;
	left: 10px;
}

/* Стрелка наверх */
#top-arrow-attach {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 7;
}

#top-arrow-holder {
	margin: 0 auto;
	max-width: 1120px;
	position: relative;
}

#top-arrow {
	width: 50px;
	height: 50px;
	background: url('/static/img/landing/arrow.png') center center no-repeat, rgba(255,255,255,0.5);
	border-radius: 6px;
	background-size: cover;
	position: absolute;
	bottom: -70px;
	right: 10px;
	transition: bottom 300ms ease;
}

#top-arrow.active {
	bottom: 10px;
}

/* Меню */
#menu-holder {
	position: fixed !important; 
	z-index: 20;
	-webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow:    0px 5px 10px 0px rgba(0, 0, 0, 0.2);
	box-shadow:         0px 5px 10px 0px rgba(0, 0, 0, 0.2);
	transition: box-shadow 100ms ease-in;
	padding: 0 10px;
	box-sizing: border-box;
	width: 100%;
	height: 70px;
	background: #f9f9f9;
}

#menu {
	margin: 0 auto;
	width: 100%;
	max-width: 960px;
	display: block;
	position: relative;
	font-size: 14px;
	height: 70px;
	padding: 24px 210px 0 200px;
	box-sizing: border-box;
}

#menu-links {
	float: right;
}

#menu-links a {
	display: block;
	box-sizing: border-box;
	color: #004f9f;
	margin-right: 25px;
	float: left;
	height: 24px;
	line-height: 24px;
	text-decoration: none !important;
}

#menu-links a.active {
	border-bottom: 1px solid #004f9f;
}

#menu-phone {
	position: absolute;
	top: 22px;
	right: 10px;
	height: 26px;
	color: #004f9f;
	font-size: 18px;
	padding-left: 30px;
	background: url('/static/img/landing/menu-phone.png') left center no-repeat;
	text-align: right;
}

#menu-phone span {
	border-bottom: 1px dashed #004f9f;
}

#menu-burger {
	display: none;
	position: absolute;
	top: 12px;
	right: 0px;
	width: 45px;
	height: 45px;
	border-radius: 3px;
	border: 1px solid #cdcdcd;
	box-sizing: border-box;
	padding-top: 11px;
	transition: all 50ms ease-in;
}

#menu-burger:active {
	background: #ddd;
	-webkit-box-shadow: inset 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:    inset 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
	box-shadow:         inset 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
}

#menu-burger em {
	display: block;
	margin: 0 10px 6px;
	border-bottom: 3px solid #999;
}

.menu-fixed #menu-burger {
	left: 10px;
}


/* Слайдер */
#slider {
	display: block;
	width: 100%;
	margin: 25px 0 0;
	height: 410px;
}

#slider .window {
	float: left;
	box-sizing: border-box;
	border: 10px solid #00aeef;
	height: 100%;
	position: relative;
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:    0px 0px 8px 0px rgba(0, 0, 0, 0.3);
	box-shadow:         0px 0px 8px 0px rgba(0, 0, 0, 0.3);
	background: #f9f9f9;
	overflow: hidden;
}

#slider-green {
	width: 32%;
	margin-right: 2%;
}

#slider-purple {
	width: 66%;
	border-color: #004f9f !important;
}

.slider-container {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 4096px;
}

.slider-container em {
	display: block;
	float: left;
	height: 100%;
	background-position: center;
	background-size: cover;
}

#slider-green .slider-container em {
	width: 287px;
	padding: 30px 15px 0;
}

#slider-purple .slider-container em {
	width: 614px;
}

#slider-green .slider-container em i {
	font-size: 30px;
	text-decoration: none;
	font-style: normal;
	display: block;
	line-height: 35px;
	color: #004f9f;
}

#slider-green .slider-container em b {
	font-size: 18px;
	text-decoration: none;
	font-weight: normal;
	font-style: normal;
	display: block;
	line-height: 22px;
	margin-top: 15px;
	color: #003459;
}

#slider-staticpad {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 0 15px 15px;
	font-size: 13px;
}

#slider-staticpad img {
	margin-top: 5px;
}

#slider-staticpad .call-button {
	margin: 0 auto 15px;
}

#slider-dots {
	text-align: center;
	cursor: default;
	width: 32%;
	padding-top: 8px;
}

#slider-dots em {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 10px;
	background: #004f9f;
	transition: background 300ms ease;
	cursor: pointer;
}

#slider-dots em.active {
	background: #62b0ff;
}

#slider-dots em:last-of-type {
	margin: 0;
}

/* Промо-блоки */
#promo {
	padding-top: 20px;
}

.promo-holder {
	float: left;
	display: block;
	width: 50%;
}

.promo-holder:nth-child(even) {
	padding-left: 10px;
}

.promo-holder:nth-child(odd) {
	padding-right: 10px;
}

.promo-block {
	height: 210px;
	background-color: #f9f9f9;
	border: 1px solid #cdcdcd;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow:    0px 0px 10px 0px rgba(0, 0, 0, 0.1);
	box-shadow:         0px 0px 10px 0px rgba(0, 0, 0, 0.1);
	margin-top: 20px;
	padding-left: 170px;
	background-repeat: no-repeat;
	background-position: 25px center;
	position: relative;
}

.promo-block > div {
	height: 210px;
	overflow: hidden;
}

.promo-block table {
	width: 100%;
	height: 100%;
	table-layout: fixed;
}

.promo-block table i {
	font-size: 24px;
	line-height: 26px;
	text-decoration: none;
	font-style: normal;
	display: block;
	color: #004f9f;
	padding: 10px 10px 0;
}

.promo-block table b {
	font-size: 14px;
	text-decoration: none;
	font-weight: normal;
	font-style: normal;
	display: block;
	line-height: 18px;
	color: #000;
	padding: 10px 10px 10px;
}

.promo-holder:nth-child(1) .promo-block {
	background-image: url('/static/img/landing/promo1.png');
}

.promo-holder:nth-child(2) .promo-block {
	background-image: url('/static/img/landing/promo2.png');
}

.promo-holder:nth-child(3) .promo-block {
	background-image: url('/static/img/landing/promo3.png');
}

.promo-holder:nth-child(4) .promo-block {
	background-image: url('/static/img/landing/promo4.png');
}

/* Каталог товаров */
#products-holder {
	
}

.category {
	border: 1px solid #cdcdcd;
	background: #f9f9f9;
	margin-bottom: 20px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow:    0px 0px 10px 0px rgba(0, 0, 0, 0.1);
	box-shadow:         0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.category .cat-title {
	font-size: 18px;
	color: #cdcdcd;
	margin: 15px 15px 0 15px;
	padding-bottom: 15px;
	border: none;
	transition: all 100ms ease;
}

.category .cat-title span {
	color: #004f9f;
}

.category .cat-body {
	overflow: hidden;
	padding: 0 15px 15px;
	display: none;
}

.category.active .cat-title {
	border-bottom: 2px solid #00aeef;
}

.product {
	margin-right: 2.93%;
	width: 22.8%;
	float: left;
	background: #fff;
	transition: all 500ms ease;
	position: relative;
	top: 0px;
	opacity: 1;
	margin-top: 20px;
	border: 2px solid #00aeef;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:    0px 0px 10px 0px rgba(0, 0, 0, 0.3);
	box-shadow:         0px 0px 10px 0px rgba(0, 0, 0, 0.3);
}

.product:nth-child(4n) {
	margin-right: 0;
}

.product-image {
	padding-bottom: 60%;
	background-position: center;
	background-size: cover;
}

.product-name {
	font-size: 15px;
	text-align: center;
	margin: 10px 15px;
	color: #003162;
	height: 40px;
	overflow: hidden;
}

.product-price {
	font-size: 24px;
	text-align: center;
	color: #004f9f;
}

.product-buy {
	background: #00aeef;
	color: #FFF;
	height: 36px;
	line-height: 33px;
	margin: 10px;
	text-align: center;
	border-bottom: 3px solid #4174a8;
	border-radius: 5px;
	transition: all 50ms ease;
	position: relative;
	top: 0px;
}

.product-buy:active {
	top: 3px;
	height: 33px;
	border-bottom: none;
	margin-bottom: 13px;
}

.product-body {
	
}


.product-fold {
	opacity: 0;
	top: 50px;
}

/* Гаджеты */
.call-button {
	display: block;
	width: 200px;
	height: 54px;
	line-height: 50px;
	font-size: 20px;
	position: relative;
	color: #FFF;
	border-bottom: 4px solid #4174a8;
	background: #00aeef;
	border-radius: 8px;
	text-align: center;
	transition: margin 50ms ease-in, border 50ms ease-in, height 50ms ease-in;
}

.call-button:active {
	border-bottom-width: 0;
	height: 50px;
	margin-top: 4px;
}

/* Контакты */
#contacts-map {
	height: 400px;
	border-top: 1px solid #cdcdcd;
}

#footer {
	background: #004f9f;
	color: #FFF;
	height: 270px;
	padding: 0 20px;
}

#footer-wrapper {
	margin: 0 auto;
	max-width: 980px;
	padding-top: 25px;
	height: 100%;
}

.footer-column {
	float: left;
	width: 28%;
}

.footer-column:nth-child(3) {
	text-align: right;
	width: 44%;
	height: 100%;
	margin-top: -25px;
	padding-top: 25px;
	background: url('/static/img/landing/largewindow.png') no-repeat left bottom;
}

.footer-group {
	height: 100px;
	padding: 0 20px 0 0;
	font-size: 16px;
}

/* Нижняя линия */
#credits {
	font-size: 13px;
	background: #00adee;
	line-height: 25px;
	color: #FFF;
	padding: 0 20px;
}

#credits-wrapper {
	margin: 0 auto;
	max-width: 980px;
}

#credits a {
	color: #FFF;
	text-decoration: none;
	border-bottom: 1px dashed #FFF;
}

#credits a:hover {
	border-bottom: none;
}

#credits-wrapper div:nth-child(1) {
	float: left;
}

#credits-wrapper div:nth-child(2) {
	float: right;
}



/* === Окна === */

/* Фон */
#dialog-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 20;
	display: block;
	overflow: hidden;
	transition: background 200ms ease;
}

.bg-visible {
	background: rgba(117, 101, 134, 0.7);
}

#dialog {
	width: 100%;
	height: 100%;
	padding: 100px 20px;
	overflow: auto;
	vertical-align: middle;
	box-sizing: border-box;
}

.dialog-box {
	color: #000;
	background: #F9F9F9;
	-webkit-box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow:    0px 5px 20px 0px rgba(0, 0, 0, 0.5);
	box-shadow:         0px 5px 20px 0px rgba(0, 0, 0, 0.5);
	margin: 0 auto;
	box-sizing: border-box;
	max-width: 770px;
	padding: 20px;
	position: relative;
	border: 1px solid #00aeef;
	opacity: 1;
	transform: none;
}

.dialog-anim {
	transition: transform 300ms ease, opacity 300ms ease;
}

.dialog-pullnew {
	transform: scale(0.8) translate(0, 600px);
	opacity: 0;
}

.dialog-pullold {
	transform: scale(0.8) translate(0, -600px);
	opacity: 0;
}

.dialog-close {
	display: block;
	background: url('/static/img/landing/close.png') no-repeat center;
	cursor: pointer;
	width: 20px;
	height: 20px;
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 20;
}

.dialog-close:active {
	top: 11px;
}

.dialog-box h1 {
	font-size: 30px;
	color: #3a2452;
	display: block;
}

/* Вызов замерщика */
#callback-dialog {
	max-width: 460px;
}

#callback-dialog h1 {
	text-align: center;
	margin-bottom: 24px;
}

#callback-dialog .call-button {
	margin: 24px auto 0;
}

#callback-dialog .call-button:active {
	margin: 28px auto 0;
}

#callback-spinner {
	height: 54px;
	background: url('/static/img/landing/loading.gif') no-repeat center center;
	background-size: auto 54px;
}

#callback-dialog input {
	display: block;
	background: #FFF;
	height: 40px;
	width: 100%;
	max-width: 340px;
	border: 1px solid #004f9f;
	line-height: 40px;
	font-size: 18px;
	border-radius: 3px;
	box-shadow: inset 0 0 6px 0 rgba(0, 0, 0, 0.2);
	margin: 0 auto 24px;
	outline: none !important;
	text-align: center;
}

/* Вопрос менеджеру */
#mailback-dialog {
	max-width: 500px;
}

#mailback-dialog h1 {
	text-align: center;
	margin-bottom: 24px;
}

#mailback-dialog .call-button {
	margin: 24px auto 0;
}

#mailback-dialog .call-button:active {
	margin: 28px auto 0;
}

#mailback-spinner {
	height: 54px;
	background: url('/static/img/landing/loading.gif') no-repeat center center;
	background-size: auto 54px;
}

#mailback-dialog input {
	display: block;
	background: #FFF;
	height: 40px;
	width: 100%;
	border: 1px solid #004f9f;
	line-height: 40px;
	font-size: 18px;
	border-radius: 3px;
	box-shadow: inset 0 0 6px 0 rgba(0, 0, 0, 0.2);
	margin: 0 auto 24px;
	outline: none !important;
	text-align: left;
	padding: 0 10px;
}

#mailback-dialog textarea {
	display: block;
	background: #FFF;
	width: 100%;
	border: 1px solid #004f9f;
	line-height: 40px;
	font-size: 18px;
	border-radius: 3px;
	box-shadow: inset 0 0 6px 0 rgba(0, 0, 0, 0.2);
	margin: 0 auto 24px;
	outline: none !important;
	padding: 0 10px;
	resize: none;
}


/* Описание фотографии */
#product-dialog {
	max-width: 960px;
	padding: 30px 0;
	position: relative;
}

#product-left {
	float: left;
	width: 45%;
	padding: 0 30px;
}

#product-right {
	float: left;
	width: 55%;
	padding: 0 50px 0 30px;
}

#product-right h2 {
	font-size: 24px;
	color: #00aeef;
	text-align: left;
	display: block;
	margin-bottom: 10px;
}

#product-splitter {
	position: absolute;
	top: 30px;
	bottom: 30px;
	left: 45%;
	width: 2px;
	background: #00aeef;
}

#product-image {
	background-position: center;
	background-size: cover;
	padding-bottom: 80%;
	position: relative;
}

#product-imagedots {
	height: 10px;
	text-align: center;
}

#product-imagedots em {
	display: inline-block;
	background: #004f9f;
	width: 10px;
	height: 10px;
	margin-right: 10px;
	cursor: pointer;
	transition: background 100ms ease;
}

#product-imagedots em:last-child {
	margin-right: 0;
}

#product-imagedots em.active {
	background: #00aeef;
	cursor: default;
}

#product-loading {
	transition: all 200ms ease;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	background: url('/static/img/landing/loading.gif') center no-repeat, #eee;
}


#product-dialog .arrowleft, #product-dialog .arrowright {
	position: absolute;
	top: 0px;
	height: 100%;
	width: 50%;
	opacity: 0.5;
	transition: all 300ms ease;
}

#product-dialog .arrowleft {
	left: 0px;
	background: url('/static/img/landing/aleft.png') no-repeat 10px center;
}

#product-dialog .arrowright {
	right: 0px;
	background: url('/static/img/landing/aright.png') no-repeat right 10px center;
}

#product-dialog .arrowleft:hover, #product-dialog .arrowright:hover {
	opacity: 1;
}

#product-largename {
	font-size: 24px;
	color: #003162;
	text-align: center;
	margin: 20px 20px;
}

#product-smallname {
	font-size: 18px;
	color: #003162;
	text-align: left;
}

#product-price {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#product-price span {
	height: 54px;
	line-height: 54px;
	margin: 0 5px;
	flex-grow: 3;
	color: #004f9f;
	font-size: 36px;
	text-align: center;
}

#product-call {
	background: #004f9f;
	border-color: #003162;
	width: auto;
	min-width: 190px;
}

#product-caps {
	margin-bottom: 40px;
}

#product-caps table {
	width: 100%;
	font-size: 14px;
	margin-top: 10px;
}

#product-caps td:first-child {
	font-weight: bold;
}

#product-caps td:last-child {
	text-align: right;
	font-family: 'RobotoRegular', 'Tahoma', sans-serif;
}

#product-pros {
	font-size: 14px;
	color: #000;
}

#product-pros em {
	display: block;
	text-decoration: none;
	margin-bottom: 10px;
	padding-left: 20px;
	background: url('/static/img/landing/listbullet.png') 0px 5px no-repeat;
	font-style: normal;
}

/* Просмотр картинки */
#photo-dialog {
	padding: 0 !important;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.photo-loading {
	width: 80px;
	height: 80px;
	background-image: url('/static/img/landing/loading.gif');
	background-size: auto !important;
}

#photo-dialog .dialog-close {
	background: url('/static/img/landing/close-white.png') no-repeat center;
	width: 30px;
	height: 30px;
	border-radius: 2px;
	background-color: rgba(0,0,0,0.5);
	transition: background-color 100ms linear;
	top: -15px;
	right: -15px;
}

#photo-dialog .dialog-close:active {
	top: -14px;
}

#photo-dialog .dialog-close:hover {
	background-color: rgba(0,0,0,0.8);
}

#photo-dialog.photo-loading .dialog-close {
	display: none !important;
}
