/*Global*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700&subset=cyrillic');
*{
	font-family: 'Open Sans', sans-serif;
}
a{
	color: inherit;
}
body,section,div{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body{
	width: 100%;
	color: #151515;
	background: #fafafa;
	transition: all .3s;
}
section{
	width: 100%;
}
.content_o{
	width: 100%;
	display: inline-block;
}
.content,.content_no_padding{
	height: 100%;
	margin: 0 auto;
	padding: 0 10px;
	max-width: 960px;
	position: relative;
}
.content_no_padding{
	padding: 0;
}
.button_style{
    height: 40px;
    color: #f5f5f5;
    cursor: pointer;
    font-size: 14px;
    padding: 0 30px;
    font-weight: bold;
    line-height: 40px;
    user-select: none;
    white-space: nowrap;
    background: #151515;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
}
.button_style2{
    height: 40px;
    color: #151515;
    padding: 0 30px;
    cursor: pointer;
    font-size: 13px;
    margin-top: 20px;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    white-space: nowrap;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 0 0 1px #151515, inset 0 0 0 1px #151515;
    transition: color .3s, box-shadow .5s;
}
.button_style2:hover {
    color: #f5f5f5;
    box-shadow: 0 0 0 1px #151515, inset 0 0 0 50px #151515;
}
.button_style2.light{
    height: 40px;
    color: #f5f5f5;
    padding: 0 30px;
    cursor: pointer;
    font-size: 13px;
    margin-top: 20px;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    white-space: nowrap;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 0 0 1px #f5f5f5, inset 0 0 0 1px #f5f5f5;
    transition: color .3s, box-shadow .5s;
}
.button_style2.light:hover {
    color: #151515;
    box-shadow: 0 0 0 1px #f5f5f5, inset 0 0 0 50px #f5f5f5;
}
.button_style.center,.button_style2.center{
	margin-top: 30px;
	margin-left: 50%;
	transform: translateX(-50%);
}


/*Head NAV*/
#head_nav{
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	z-index: 10000;
	position: fixed;
	padding: 20px 0;
	user-select: none;
	transition: width .3s;
	background: rgba(22,22,22,.9);
}
#head_nav a{
	text-decoration: none;
}
#hn_logo{
	margin: 0;
	float: left;
	height: 40px;
	color: #fafafa;
	font-size: 24px;
	padding: 0 20px;
	font-weight: bold;
	line-height: 40px;
	display: inline-block;
	box-shadow: inset 0 0 0 2px #fafafa;
	transition: color .3s, box-shadow .5s;
}
#hn_logo:hover{
	color: #151515;
	box-shadow: inset 0 0 0 50px #fafafa;
}
#hn_nav{
	float: right;
	height: 40px;
}
.hnn_list{
	float: left;
	height: 40px;
	color: #fafafa;
	font-size: 14px;
	padding: 0 20px;
	margin-left: 5px;
	font-weight: bold;
	line-height: 40px;
	position: relative;
	display: inline-block;
	text-decoration: none;
	text-transform: uppercase;
	text-shadow: 0 0 4px rgba(0,0,0,.8), 0 0 6px rgba(0,0,0,.4);
	transition: all .3s;
}
.hnnl_progressbar{
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	z-index: -1;
	position: absolute;
	background: #fafafa;
	transition: height .3s;
}
.hnn_list:hover{
	color: #151515;
	text-shadow: none;
}
.hnn_list:hover .hnnl_progressbar{
	width: 100%;
	height: 100%;
}
#hn_chat_button{
	float: right;
	height: 40px;
	color: #151515;
	cursor: pointer;
	font-size: 14px;
	padding: 0 30px;
	font-weight: bold;
	margin-left: 20px;
	line-height: 40px;
	background: #fafafa;
	display: inline-block;
	text-transform: uppercase;
}
#hn_hamburger{
	width: 40px;
	height: 40px;
	float: right;
	display: none;
	color: #151515;
	font-size: 10px;
	font-weight: bold;
	line-height: 40px;
	text-align: center;
	position: relative;
	background: #fafafa;
	text-transform: uppercase;
	transition: all .3s;
}
#hn_hamburger:before,#hn_hamburger:after{
	content: "";
	left: 50%;
	width: 30px;
	height: 2px;
	position: absolute;
	background: #151515;
	display: inline-block;
	transform: translate(-50%,-50%);
	transition: all .3s;
}
#hn_hamburger:before{
	top: calc(50% - 8px);
}
#hn_hamburger:after{
	top: calc(50% + 8px);
}
#hn_hamburger.close{
	font-size: 0px;
	color: rgba(0,0,0,0);
}
#hn_hamburger.close:before{
	left: 5px;
	top: calc(50% - 1px);
	transform: rotateZ(45deg);
}
#hn_hamburger.close:after{
	left: 5px;
	top: calc(50% - 1px);
	transform: rotateZ(-45deg);
}
#head_nav.white{
	background: rgba(230,230,230,.9);
}
#head_nav.white .hnnl_progressbar{
	background: #fafafa;
}
#head_nav.white #hn_logo{
	color: #151515;
	box-shadow: inset 0 0 0 2px #151515;
}
#head_nav.white #hn_logo:hover{
	color: #fafafa;
	box-shadow: inset 0 0 0 50px #151515;
}
#head_nav.white .hnn_list{
	color: #151515;
	text-shadow: none;
}
#head_nav.white .hnn_list:hover{
	color: #fafafa;
}
#head_nav.white #hn_chat_button{
	color: #fafafa;
	background: #151515;
}
.open_chat_button,.open_chat_button_open{
	cursor: pointer;
}

/*CHAT*/
body.open_chat{
	width: calc(100% - 300px);
}
#head_nav.open_chat{
	width: calc(100% - 300px);
}
#online_chat{
	top: 0;
	right: 0;
	width: 300px;
	height: 100vh;
	z-index: 99999;
	position: fixed;
	background: #fafafa;
	transform: translateX(100%);
	box-shadow: inset 1px 0 #151515;
	transition: all .3s;
}
#online_chat.open{
	transform: translateX(0);
}
#oc_header{
	z-index: 1;
	width: 100%;
	height: 60px;
	user-select: none;
	position: relative;
	background: #fafafa;
	box-shadow: 0 1px #151515;
}
#och_title{
	float: left;
	height: 60px;
	color: #151515;
	font-size: 12px;
	line-height: 60px;
	font-weight: bold;
	text-align: center;
	letter-spacing: 1px;
	width: calc(100% - 60px);
	text-transform: uppercase;
}
#och_close{
	float: left;
	width: 60px;
	height: 60px;
	color: #151515;
	font-size: 30px;
	cursor: pointer;
	line-height: 60px;
	text-align: center;
}
#oc_history_o{
	width: 100%;
	position: relative;
	background: #151515;
	height: calc(100% - 120px);
	box-shadow: inset 1px 0 #151515;
	transition: all .3s;
}
#oc_history{
	left: 0;
	bottom: 0;
	height: auto;
	right: -19px;
	overflow-y: auto;
	max-height: 100%;
	position: absolute;
	padding-right: 13px;
}
#oc_input{
	left: 0;
	bottom: 0;
	width: 100%;
	height: 60px;
	z-index: 100;
	position: absolute;
	background: #292929;
	transition: all .3s;
}
#oci_textarea{
	float: left;
	resize: none;
	padding: 5px;
	border: none;
	height: 60px;
	outline: none;
	color: #fafafa;
	background: none;
	box-sizing: border-box;
	width: calc(100% - 40px);
	box-shadow: inset 1px 0 #151515;
}
#oci_send{
	float: left;
	width: 40px;
	height: 60px;
	color: #fafafa;
	cursor: pointer;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	letter-spacing: 1px;
	background-image: url(/data/img/send.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 30px;
	filter: invert(85%);
	-webkit-filter: invert(85%);
}
.och_lo{
	width: 100%;
	margin: 5px 0;
	display: inline-block;
}
.och_l_user,.och_l_manager{
	padding: 7px;
	float: right;
	color: #fafafa;
	font-size: 13px;
	position: relative;
	margin-right: 10px;
	border-radius: 3px;
	background: #252525;
	word-wrap: break-word;
	overflow-wrap: break-word;
	max-width: calc(100% - 70px);
}
.och_l_manager{
	float: left;
	margin-left: 10px;
}
.ochlu_date{
	top: 50%;
	left: -7px;
	color: #757575;
	cursor: default;
	font-size: 11px;
	user-select: none;
	font-weight: bold;
	position: absolute;
	-moz-user-select: none;
	transform: translate(-100%,-50%);
}
.och_l_manager .ochlu_date{
	left: auto;
	right: -7px;
	transform: translate(100%,-50%);
}

/*Contacts*/
#contacts{
	width: 100%;
	background: #fafafa;
	padding-bottom: 50px;
	display: inline-block;
}
#contacts h2{
	width: 100%;
	color: #151515;
	font-size: 72px;
	display: inline-block;
}
#c_info{
	float: left;
	width: 400px;
	background: #151515;
	padding: 40px 40px 55px 40px;
}
.ci_list{
	margin: 5px 0;
	color: #fafafa;
}
.ci_list>*{
	width: 100%;
	font-size: 20px;
	display: inline-block;
}
.ci_list b{
	color: #fafafa;
	margin-top: 15px;
}
.ci_list a{
	margin-top: 5px;
	padding-left: 20px;
}
#c_form{
	float: right;
	position: relative;
	padding: 60px 50px;
	width: calc(100% - 430px);
	box-shadow: inset 0 0 0 1px #151515;
}
#c_form h3{
	margin: 0;
	color: #151515;
	font-size: 28px;
}
#c_form input{
	width: 100%;
	height: 60px;
	border: none;
	outline: none;
	font-size: 24px;
	padding: 0 20px;
	margin-top: 25px;
	box-sizing: border-box;
	box-shadow: 0 0 0 1px #151515;
}
#c_form input#cf_send{
	color: #fafafa;
	font-size: 16px;
	cursor: pointer;
	box-shadow: none;
	font-weight: bold;
	background: #151515;
	text-transform: uppercase;
}
#c_form.send:before{
	content: "Заявка отправлена!";
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	display: block;
	font-size: 28px;
	line-height: 400px;
	position: absolute;
	text-align: center;
	background: #fafafa;
	box-shadow: inset 0 0 0 1px #151515;
}
@media screen and (max-width:1024px){
	.content{
		padding: 0 5px;
	}
	.button_style,.button_style2{
		padding: 0;
		width: 100%;
		text-align: center;
	}
	#hn_logo{
		padding: 0 18px;
		font-size: 18px;
	}
	#hn_chat_button{
		float: left;
		font-size: 13px;
		margin-left: 5px;
		padding: 0px 15px;
	}
	#oc_input.keyboard{
		bottom: 60%;
		z-index: 100;
		height: 100px;
		box-shadow: 0 0 0 1px #888;
	}
	#oc_history_o.keyboard{
		height: calc(100% - 60px);
	}
	#hn_hamburger{
		display: inline-block;
	}
	#head_nav{
		height: 60px;
		padding: 10px 0;
	}
	#hn_nav{
		width: 0;
		top: -5px;
		left: 100%;
	    z-index: -1;
	    height: auto;
	    overflow: hidden;
		padding-top: 60px;
		position: absolute;
		background: #151515;
	    white-space: nowrap;
		transition: all .3s;
	}
	#hn_nav.open{
		left: 0;
		width: 100%;
	}
	.hnn_list{
		margin: 0;
		padding: 0;
		width: 100%;
		float: none;
		display: block;
		text-align: center;
		background: #151515;
		box-shadow: inset 0 -1px #fafafa,inset 0 1px #fafafa;
	}
	#contacts{
		padding-bottom: 0;
	}
	#c_info{
		width: 100%;
		background: none;
		padding: 20px 20px;
		box-shadow: 0 0 0 1px #151515;
	}
	.ci_list{
		color: #151515;
	}
	.ci_list b{
		color: #151515;
	}
	#c_form{
		float: left;
		width: 100%;
		box-shadow: none;
		padding: 30px 20px;
	}
	#c_form h3 {
		font-size: 20px;
	}
	#contacts h2{
		font-size: 48px;
	}
}


/*BLOG*/
#blog_header{
	width: 100%;
	height: 400px;
	position: relative;
	display: inline-block;
}
#bg_header{
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	object-position: center;
}
#blog_header h1{
	left: 0;
	width: 100%;
	bottom: 20px;
	font-size: 42px;
	position: absolute;
	text-align: center;
	display: inline-block;
}
#blog_header h1.white{
	color: #fff;
}
#blog_header ol{
	left: 0;
	padding: 0;
	width: 100%;
	bottom: 8px;
	font-size: 11px;
	font-weight: bold;
	position: absolute;
	text-align: center;
	display: inline-block;
}
#blog_header ol li{
	display: inline;
}
#text_content{
	font-size: 17px;
	padding: 30px 0;
	overflow: hidden;
	line-height: 25px;
}
.width_100{
	width: 100%;
}
@media screen and (max-width:1024px){
	/*Head NAV*/
	#blog_header h1{
		font-size: 28px;
	}
	/*CHAT*/
	body.open_chat{
		width: 100%;
	}
	#head_nav.open_chat{
		width: 100%;
	}
	#online_chat{
		width: 100%;
		height: 100vh;
	}
}
