﻿html, body, form, input, textarea, h1, h2, h3, h4, h5, h6, p, ul, li {margin: 0; padding: 0;}
html, body {width: 100%; height: 100%;}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary, div, form, label {display: block;}
img {border: 0; -ms-interpolation-mode: bicubic;}
:focus {outline: 0;}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
html {
	/*-webkit-tap-highlight-color: rgba(0, 0, 0, 0);*/
}
body {
	background: #fff;
}
body, table, td, th {
	font-family: sans-serif;
	font-size: 14px;
	line-height: 22px;
	color: #000;
}
button, input, optgroup, select, textarea {
	font: inherit;
	color: inherit;
	border: 0 none;
}
a, button {
	cursor: pointer;
}

a {
	color: #004786;
	text-decoration: none;
	transition: 0.3s all;
}
a:hover {
	color: #00adeb;
	text-decoration: none;
}

b, strong { font-weight: 700; }

h1, h2, h3, h4, h5, h6 {
	font-family: sans-serif;
	font-weight: 400;
	margin: 15px 0;
	color: #004786;
}
h1 { font-size: 30px; line-height: 30px; }
h1:first-child { margin-top: 10px; }
h2 { font-size: 24px; line-height: 24px; }
h3 { font-size: 20px; line-height: 22px; }
h4 { font-size: 16px; line-height: 22px; }
h5 { font-size: 12px; line-height: 20px; }
h6 { font-size: 10px; line-height: 20px; }
p {margin: 15px 0;}
ul {list-style-type: none;}
ul li {
	background: url(../img/base/arr_right.png) no-repeat left 6px;
	padding: 0 0 5px 17px;
}

header {
	background: #fff;
	height: 67px;
	transition: all 0.5s;
	box-shadow: 0 -3px 3px rgba(0,0,0,0.1) inset;
}
header > div {
	height: inherit;
}
header .logo {
	display: block;
	width: 130px;
	height: 40px;
	background: url(../img/logo.png) no-repeat left top;
	background-size: cover;
	float: left;
	margin: 15px 0 0 15px;
}
header nav {
	float: right;
}
header nav a {
	color: #666;
	display: block;
	float: left;
	padding: 0 15px;
	height: 67px;
	line-height: 67px;
}
header nav a:hover {
	background: #00adeb;
	color: #000;
}
header nav a.active {
	border-top: 4px solid #00adeb;
}
header nav a:first-child {
}
.headersticky {display: none;}
/*
header.sticky {position: fixed; width: 100%; top: 0; z-index: 11000; box-shadow: 0 0 5px #666;}
.headersticky.sticky {display: block;}
*/

body > h1 {
	color: #fff;
	background: url(../img/hbg.png) no-repeat left top;
	background-size: cover;
	padding: 20px 10px;
	margin: 0;
	text-align: center;
}


.col-2,
.col-3,
.col-4,
.col-5 {
	overflow: hidden;
	position: relative;
	margin: 0 0 -15px -2%;
}
.col-2 > div,
.col-3 > div,
.col-4 > div,
.col-5 > div {
	float: left;
	overflow: hidden;
	margin: 0 0 15px 2%;
}
.col-2 > div {width: 48%;}
.col-3 > div {width: 31.33%;}
.col-4 > div {width: 23%;}
.col-5 > div {width: 18%;}

.col-3 > div.col-x2 {width: 64.66%;}
.col-4 > div.col-x2 {width: 48%;}
.col-5 > div.col-x2 {width: 38%;}

.col-4 > div.col-x3 {width: 73%;}
.col-5 > div.col-x3 {width: 58%;}

.col-2 > div:first-child,
.col-3 > div:first-child,
.col-4 > div:first-child,
.col-5 > div:first-child,
.col-2 > div:nth-child(2n+1),
.col-3 > div:nth-child(3n+1),
.col-4 > div:nth-child(4n+1),
.col-5 > div:nth-child(5n+1) {
	clear: left;
}


section {
	padding: 10px;
}

.cont form {
	overflow: hidden;
}
.cont form > div {
	position: relative;
	overflow: hidden;
	margin: 0 0 10px 0;
}
.cont form > div label {
	padding: 0 0 5px 0;
}
.cont form > div > b {
	position: absolute;
	font-size: 26px;
	color: #999;
	font-weight: normal;
	bottom: 2px;
	right: 10px;
}
.cont form input,
.cont form select,
.cont form textarea,
.form-input {
	float: left;
	background: #fafafa;
	padding: 5px 5px;
	width: 60%;
	transition: 0.5s all;
	box-shadow: 2px 2px 2px 0 #ededed inset;
	border: 1px solid #ddd;
}
.form-input {
	width: 100%;
}
.cont form input:hover,
.cont form select:hover,
.cont form textarea:hover,
.cont form input:focus,
.cont form select:focus,
.cont form textarea:focus,
.form-input:focus {
	background: #fff;
}
.cont form input:disabled,
.cont form select:disabled,
.cont form textarea:disabled,
.form-input:disabled {
	box-shadow: none;
	background: #ddd;
}
.cont form textarea {
	height: 120px;
}
.cont form.form-error input,
.cont form.form-error select,
.cont form.form-error textarea,
.form-input.form-error {
	border: 1px solid #ff0000;
}
.cont form .form-error b {
	color: #ff0000;
}
.cont form button {
	float: left;
	background: #00adeb;
	color: #000;
	width: 40%;
	padding: 5px 5px;
	transition: 0.5s all;
}
.cont form button:hover {
	background: #ddd;
}

.f_error {
	background: #ff0000;
	color: #fff;
	padding: 10px;
	border-radius: 5px;
	margin: 0 0 10px 0;
}

.cont table {
	width: 100%;
	border-collapse:collapse;
}
.cont table tr {
}
.cont table tr:hover {
	background: #f7f7f7;
}
.cont table th {
	font-weight: normal;
	text-align: left;
	vertical-align: top;
}
.cont table td {
	vertical-align: top;
}

.search {
	background: url(../img/hbg.png) no-repeat left top;
	background-size: cover;
	padding: 10px;
	overflow: hidden;
}
.search input[type=text] {
	width: 80%;
	float: left;
	background: #fafafa;
	padding: 8px;
	transition: 0.5s all;
	box-shadow: 2px 2px 2px 0 #ededed inset;
	border: 1px solid #ddd;
}
.search button {
	display: block;
	width: 20%;
	font-weight: bold;
	text-transform: uppercase;
	float: left;
	background: #999;
	color: #fff;
	padding: 8px;
	text-align: center;
}


.product-list {
}
.product-list table {
}
.product-list thead th {
	background: #efefef;
	padding: 10px;
	font-size: 13px;
	color: #666;
}
.product-list tbody td {
	padding: 7px 10px;
	border-bottom: 1px solid #efefef;
}

.td-small {
	width: 15%;
}
.cont table th.al-right {
	text-align: right;
}
.td-info b {
	display: block;
	font-size: 14px;
}
.text-red {
	color: #ff0000;
}

.product-list tbody th {
	padding: 7px 2px 7px 2px;
	border-bottom: 1px solid #efefef;
	text-transform: uppercase;
	font-weight: bold;
	text-align: center;
	cursor: pointer;
}

.row-triggers {
	text-align: right;
}
.row-triggers a {
	display: inline;
    padding: 5px 10px;
    color: #fff;
	font-size: 13px;
	transition: 0.3s opacity;
}
.row-triggers a:hover {
	opacity: 0.8;
}
.row-triggers a + a {
	margin-left: 6px;
}
.row-triggers .open {
	background: #555;
}
.row-triggers .sign {
	background: #5cb85c;
}
.row-triggers .cancel {
	background: #e60005;
}


.subnav {
	background: url(../img/hbg.png) no-repeat left top;
	background-size: cover;
	padding: 5px 10px 0;
	overflow: hidden;
}
.subnav a {
	display: block;
	float: left;
	color: #fff;
	padding: 5px 10px 10px;
}
.subnav a.active {
	background: #fff;
	color: #444;
}

.modal-window {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	z-index: 11000;
	background: rgba(0,0,0,0.6);
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.modal-window > div {
	display: block;
	position: relative;
	width: 700px;
	height: auto;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	border-radius: 5px;
}
.modal-window .modal-content {
	height: calc(100% - 54px);
	padding: 20px;
}
.modal-window .modal-content .modal-title {
	font-size: 16px;
}
.modal-window .modal-triggers {
	height: 54px;
	box-shadow: 0px 0 15px rgb(0, 0, 0, 0.3);
	padding: 10px;
}
.modal-window .modal-triggers > a:not(.auth) {
	display: block;
    float: right;
    padding: 6px 20px;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
	font-weight: bold;
	transition: 0.3s opacity;
}
.modal-window:not(.sign-contract) .modal-triggers > a:hover {
	opacity: 0.8;
}
.modal-window .modal-triggers > a + a {
	margin-right: 6px;
}
.modal-window .modal-triggers .cancel,
.modal-window .modal-triggers .close {
	background: #e60005;
}
.modal-window .modal-triggers .confirm {
	background: #5cb85c;
}

.modal-content span {
	display: block;
	color: #000;
	margin-bottom: 10px;
}
form.modal-content textarea {
	width: 100%;
	height: 140px;
	border-radius: 4px;
	border: 1px solid #ddd;
	transition: 0.3s border;
	box-shadow: 2px 2px 2px 0 #ededed inset;
	background: #f7f7f7;
	padding: 8px;
	margin-top: 10px;
}
form.modal-content input {
	width: 100px;
	border-radius: 4px;
	border: 1px solid #ddd;
	transition: 0.3s border;
	box-shadow: 2px 2px 2px 0 #ededed inset;
	background: #f7f7f7;
	padding: 8px;
	margin-top: 10px;
}
form.modal-content textarea:focus,
form.modal-content input:focus {
	border-color: #06b7e6;
}


.sign-contract .modal-content .modal-title {
	text-align: center;
}
.sign-contract .modal-triggers {
	text-align: center;
}
.sign-contract .modal-triggers > a {
	display: inline-block;
    color: #004182;
    margin: 0 3px;
    background-size: auto 20px !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-color: #f9f9f9 !important;
    height: 36px;
    width: 116px;
    box-shadow: 0 0 5px rgba(136, 136, 136, 0.35);
    border-radius: 7px;
    transition: 0.3s background-color, 0.3s box-shadow;
    border: 1px solid #e8e8e8;
}
.sign-contract .modal-triggers > a:hover {
	background-color: #efefef !important;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.sign-contract .modal-triggers > a.id-card {
	background: url('../img/id-card.svg');
}
.sign-contract .modal-triggers > a.mobile-id {
	background: url('../img/mobile-id.svg');
}

.notifications {
	position: fixed;
	left: 10px;
	bottom: 10px;
	z-index: 1000;
}
.notifications .notify {
	display: flex;
	overflow: hidden;
	max-height: 0;
	align-items: center;
	width: 310px;
	height: 65px;
	padding: 5px 20px;
	border-radius: 8px;
	font-size: 13px;
	color: #fff;
	position: relative;
	transition: .8s max-height ease-in-out;
}
.notifications .notify.active {
	max-height: 150px;
}
.notifications .notify.error {
	background: #e74c3c;
}
.notifications .notify.success {
	background: #2db969;
}
.notifications .notify.neutral {
	background: #ffc800;
	color: #000;
}
.notifications .notify + .notify {
	margin-top: 10px;
}