/*---reset-стили---*/
html, body, div, span, applet, object, iframe, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,b, u, i, center, dl, dt, dd, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, section, summary,
time, mark, audio, video {
	margin: 0; 
	padding: 0; 
	border: 0; 
	font-size: 100%; 
	font: inherit; 
	font-style:normal; 
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
sup {vertical-align: super;font-size: smaller;}
input, textarea {margin: 0;border:0;}
textarea {resize:none;}
a {text-decoration:none;display:inline-block;}
img {display:inline-block;max-width:100%;}
table {border-collapse: collapse;border-spacing: 0;}

:focus, :active, :visited {outline: 0;}
.clearfix:after {visibility: hidden; display: block; content: ""; clear: both; height: 0;}
* html .clearfix { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/* стили ширины элементов */
.w45 {width: 45%;}
.w45.fl:last-child, 
.w50.fl:last-child {
	margin-bottom:0;
}
.w45.fr:last-child, 
.w50.fr:last-child {
	margin-bottom:0;
}
.w50 {width: 50%;}
.w30 {width: 30%;margin-right: 5%;}
.w30:nth-child(3n) {margin-right: 0;}
.w33 {width: 33.33%;}
.w100 {width:100%;}
.btn {
	display: inline-block;
	border: 0; 
	cursor: pointer; 
}
.fl {float: left;}
.fr {float: right;}
.tac {text-align: center;}
.tal {text-align: left;}
.tar {text-align: right;}
.hidden{display: none;}
.visible{display: block;}
.ttu {text-transform: uppercase;}

/* автозаполнение полей */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
	-webkit-text-fill-color: #fff;
	-webkit-box-shadow: 0 0 0px 1000px transparent inset;
	transition: background-color 5000s ease-in-out 0s;
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(0,174,255,0.04) 50%,rgba(255,255,255,0) 51%,rgba(0,174,255,0.03) 100%);  
}
/* цвет placeholder */
input::-webkit-input-placeholder {opacity: 0.6; }
input::-moz-placeholder          {opacity: 0.6; }
input:-moz-placeholder           {opacity: 0.6; }
input:-ms-input-placeholder      {opacity: 0.6; }

input.inval-input {border: 1px solid red;}
input.valid-input {border: 1px solid green;}


body {
	font: 14px "helvetica", "Arial", sans-serif;
	background-color: #1d1d1d;
}
.wrapper {
	position: relative;
	min-width:320px;
	max-width:640px;
	margin:auto;
	overflow: hidden;
}
.section-box {
	padding: 10px;
}
.form-st .input-field {
	width: 80%;
	display: inline-block;
	vertical-align: middle;
	padding: 10px;
	height: 30px;
	background-color: #323232;
	color: #fff;
	font-size: 14px;	
	border:2px solid #727272;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	-moz-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
}
.btn {
	background-color: #494949;
	-webkit-border-radius: 60px;
	-khtml-border-radius: 60px;
	-moz-border-radius: 60px;
	-o-border-radius: 60px;
	border-radius: 60px;
	padding: 5px 20px;
}
.btn-submit {
	width: 50px;
	color: #b4b4b4;
	font-size: 18px;
	height: 30px;
	padding: 0;
}
.form-st label {
	display: block;
	color: #b3b3b3;
	margin-top: 5px;
}
h3 {
	color: #ff0;
	font-size: 23px;
}
.img-box {
    width: 100%;
    height: 0;
    padding-bottom: 80%;
    border: 1px solid white;
    position: relative;
}
.img-box img {
	top: 0;
	left: 0;
    width: 100%;
    position: absolute;
}
p {
	line-height:1.3;
	text-align:left;
}
ul {
	list-style-type: disc;
}
ul li a {
	color: #fff;
}
ul li {
	margin-bottom: 10px;
	color: #fff;
}
ul li:last-child {
	margin-bottom: 0;
}
.close:before {
	content:"×";
	font-size: 40px;
	line-height: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
   -moz-transform: translate(-50%, -50%);
     -ms-transform: translate(-50%, -50%);
     -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
}
.close {
	position: absolute;
	width: 40px;
	height: 40px;
	right: 20px;
	top: 10px;
	border:1px solid #fff;
}
.white-popup-wrap {
	overflow-y: scroll;
	padding: 20px;
	position:absolute;
	display: none;
	opacity: 0;
	top: -100%;
	left:0;
	width: 100%;
	height: 100%;
	background-color: rgba(32, 28, 25, .95);
	text-align: center;
	-webkit-transition: opacity 0.5s ease;
	-moz-transition: opacity 0.5s ease;
	-ms-transition: opacity 0.5s ease;
	-o-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
}
.white-popup-block {
	overflow-y: scroll;
	display: table;
	margin: auto;
	height: 100%;
}
.white-popup-block h3 {
	margin-top:1.5em;
}
.white-popup-wrap.active {
	overflow-y: scroll;
	display: block;
	top:0;
	opacity: 1;
	z-index: 999;
	-webkit-transition: opacity 0.5s ease;
	-moz-transition: opacity 0.5s ease;
	-ms-transition: opacity 0.5s ease;
	-o-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
}
.answer-box-gr p {
	color: #36ff00;
}
.answer-box-r p {
	color: #ff0000;
}

