/*** RESET ***/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,ins,kbd,q,samp,small,strong,sub,sup,var,a,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;background:transparent;outline:0 none;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}
img,a img,:link img,:visited img{border:0;outline:none}
table{border-collapse:collapse;border-spacing:0}
tr{vertical-align:middle}
th,td{vertical-align:inherit}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
ins{background:#999;color:#000;text-decoration:none}
mark{display:inline-block;vertical-align:middle;padding:0 .5em;background:#999;color:#000;font-style:normal;font-weight:400;line-height:1.5}
del{text-decoration:line-through}
abbr[title],dfn[title]{border:1px dotted #999;cursor:help}
hr{display:block;margin:1em 0;padding:0;height:1px;color:#999;background:#999;border:0}
button,input,select,textarea{margin:0;padding:0;outline:0 none;vertical-align:middle;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
button,input{width:auto;overflow:visible}
button::-moz-focus-inner,input::-moz-focus-inner,select::-moz-focus-inner,textarea::-moz-focus-inner{padding:0;border:0}
textarea{overflow:auto;resize:none;vertical-align:top}
input[type="button"],input[type="submit"],input[type="reset"],button{cursor:pointer}
input[type="checkbox"]{-webkit-appearance:checkbox;-moz-appearance:checkbox;appearance:checkbox}
input[type="radio"]{-webkit-appearance:radio;-moz-appearance:radio;appearance:radio}
::-webkit-input-placeholder{color:inherit;opacity:.8}
:-moz-placeholder{color:inherit;opacity:.8}
::-moz-placeholder{color:inherit;opacity:.8}
:-ms-input-placeholder{color:inherit;opacity:.8}
::-ms-clear{display:none}
pre,code,kbd,samp{font-family:monospace,sans-serif}
html{overflow-y:scroll}
small,.small{font-size:.75em}
big,.big{font-size:1.25em}
b,strong{font-weight:700}
i,em{font-style:italic}
sub{vertical-align:sub;font-size:smaller;line-height:.5}
sup{vertical-align:super;font-size:smaller;line-height:.5}
pre{padding:2em;white-space:pre;white-space:pre-wrap;word-wrap:break-word}
img{max-width:100%;height:auto;}

body,button,input,select,textarea { font: 16px/1.25 'Futura PT',sans-serif; color: #fff; }
button,input,select,textarea,.btn { font-size: inherit; line-height: normal; }

h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 { font-weight: 400; line-height: 1; font-family: 'Futura PT',sans-serif; }
h1,.h1 { font-weight: 700; font-size: 2.875em; }
h2,.h2 { font-size: 2em; }
h3,.h3 { font-size: 1.75em; }
h4,.h4 { font-size: 1.5em; }
h5,.h5 { font-size: 1.25em; }
h6,.h6 { font-size: 1.125em; }

.ff_bebas { font-family: 'Bebas Neue',sans-serif; }

.fw_400 { font-weight: 400; }

.clr_black { color: #000; }
.clr_gray { color: #686868; }
.clr_grayer { color: #dcdcdc; }
.clr_green { color: #4cc800; }

.is-flexbox { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; }
.is-flexbox_center { -webkit-box-align: center; -moz-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center;  }
.is-flexbox_justify { -webkit-box-pack: justify; -moz-box-pack: justify; -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; }
.is-flexbox_around { -webkit-box-pack: justify; -moz-box-pack: justify; -ms-flex-pack: justify; -webkit-justify-content: space-around; justify-content: space-around; }
.is-flexbox_row { -webkit-flex-flow: row wrap; -ms-flex-flow: row wrap; flex-flow: row wrap; }
.is-flexbox_stretch { -webkit-box-align: stretch; -moz-box-align: stretch; -ms-flex-align: stretch; -webkit-align-items: stretch; align-items: stretch; }

html, body { min-width: 320px; min-height: 100%; height: 100%; }
body {
	position: relative;
	background: #333;
	-webkit-text-size-adjust: 100%;
}

#d-wrap {
	-webkit-box-orient: vertical;
	-ms-flex-direction: column;
	-webkit-flex-direction: column;
	flex-direction: column;
	position: relative;
	z-index: 1;
	width: 100%;
	min-height: 100%;
	background: -webkit-linear-gradient(top, #333, #1e1e1e);
	background: -moz-linear-gradient(top, #333, #1e1e1e);
	background: -ms-linear-gradient(top, #333, #1e1e1e);
	background: -o-linear-gradient(top, #333, #1e1e1e);
	background: linear-gradient(to bottom, #333, #1e1e1e);
	overflow: hidden;
}
#d-wrap:before {
	position: absolute; top: 0; bottom: 0; left: 0; right: 0;
	background: url(../images/bg.png) 50% no-repeat;
	content: "";
}
#d-wrap:after { display: block; clear: both; height: 0; content:''; }

#d-header { position: relative; z-index: 2; padding: 40px 0; }
.d-header__logo { width: 230px; }
.d-header__phone {
	line-height: 1;
	padding: 4px 0;
}
.d-header__phone a { color: inherit; text-decoration: none; }
.d-header__phone strong { display: block; margin-top: .5em; font-size: 1.375em; }

#d-content {
	-ms-flex: 1 1 auto;
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
	position: relative;
	z-index: 2;
	padding-bottom: 7.5em;
}
.d-content__body { width: 100%; }
.d-content__art { position: absolute; z-index: 3; bottom: 0; left: 46%; right: 0; }
.d-content__art img { display: block; }

.form-wrap { position: relative; padding: 5% 5% 0; border: 15px solid #515151; }
.form-wrap:before, .form-wrap:after { position: absolute; top: 0; bottom: 0; background: 50% no-repeat; background-size: 100%; content: ""; }
.form-wrap:before { right: 100%; margin: 0 5% -5% 0; width: 162px; background-image: url(../images/art0.png); background-position: 50% 100%; }
.form-wrap:after { left: 100%; margin-left: 15%; width: 86px; background-image: url(../images/art1.png); }
.form-wrap h1 .ff_bebas { display: block; margin-bottom: -.125em; font-size: 2.7em; }
.form-wrap h1 .fw_400 { font-size: .875em; }
.form-body {
	position: relative;
	z-index: 2;
	margin: 1.5em 0 -4em;
	padding: 4%;
	width: 45%;
	background: #fff;
	border: 2px solid #d81428;
	color: #000;
	text-align: center;
	border-radius: 10px;
	box-shadow: 0 9px 27px rgba(110, 110, 110, .22);
}
.form-body form { margin-top: 1em; }
.form-body .form-group input { padding-left: 0; padding-right: 0; width: 100%; border-width: 0 0 1px; font-size: 1.25em; border-radius: 0; text-align: center; box-shadow: none; }
.form-body input[type="submit"] {
	display: block;
	margin: 1.75em 0 1em;
	padding: 1em 10px;
	width: 100%;
	background: #d81428;
	border: 0;
	font-weight: 700;
	font-size: 1.25em;
	text-transform: uppercase;
	border-radius: 10px;
	box-shadow: 0 9px 27px rgba(110, 110, 110, .42);
}
.form-wrap__art {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding-left: 23%;
	-webkit-transform: translateY(50%);
	-moz-transform: translateY(50%);
	-ms-transform: translateY(50%);
	-o-transform: translateY(50%);
	transform: translateY(50%);
}
.form-wrap__art img { display: block; margin: 0 auto; }
.form-notice { margin: 0 -15px; }

.modal { color: #000; }

@media (max-height: 760px){
	#d-header { padding: 15px 0; }
	.form-wrap { padding: 3% 3% 0; }
}
@media (max-width: 1440px){
	.form-wrap { padding: 30px 30px 0; }
	.form-wrap h1 .ff_bebas { font-size: 2em; }
}
@media (max-width: 1199px){
	.form-body { width: 50%; }
	.form-body .form-group input, .form-body input[type="submit"] { font-size: 1em; }
}
@media (max-width: 991px){
	#d-wrap { background-position: 50% 100%; background-size: 120%; }
	#d-content { padding-bottom: 250px; }
	.form-wrap h1 .ff_bebas { font-size: 1.5em; }
	.form-wrap__art {
		top: 100%;
		bottom: auto;
		margin-top: 150px;
		padding-left: 0;
		-webkit-transform: none;
		-moz-transform: none;
		-ms-transform: none;
		-o-transform: none;
		transform: none;
	}
	.form-wrap__art img { margin: 0; width: 80%; }
	.form-body { width: 100%; }
	.d-content__art { left: 0; }
	.d-content__art img { margin: 0 auto; width: 320px; }

}
@media (max-width: 767px){
	body { font-size: 10px; }
	#d-header { padding: 20px 0; }
	.d-header__logo img { height: 30px; }
	.d-header__phone { padding: 0; }
	.form-wrap { padding: 10px; border-width: 5px; }
	.form-wrap h1 .ff_bebas { font-size: 2.175em; }
	.form-wrap h1 .fw_400 { font-size: .675em; }
	.form-body { padding: 10px; }
	.form-body h2 { font-size: 1.75em; }
	.form-body .form-group input { font-size: 16px; }
	.form-group-lg .form-control { height: 24px; }
	.form-body input[type="submit"] { font-size: 12px; }
	.form-wrap:before { margin: 0 -4% -30% 0; width: 53px; }
	.form-wrap:after { margin: 0 0 -10% 0; width: 30px; background-position: 50% 100%; }
	.form-group-lg .form-control+.form-control-feedback, .input-group-lg+.form-control-feedback, .input-lg+.form-control-feedback {
		width: 24px;
		height: 24px;
		line-height: 24px;
	}
}