﻿html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,font,img,ins,kbd,q,s,samp,small,strike,sup,sub,tt,var,center,dl,dt,dd,ul,li,fieldset,form,label,legend,table,caption,tfoot,thead,p{background:transparent;border: 0 none;font-style:inherit;font-weight:inherit;margin:0;padding:0;outline:0;vertical-align: baseline}
table {border-collapse:collapse;border-spacing:0}
[hidden] {display:none}

body, button, input, textarea, select {font-family: "Onest", sans-serif; font-style: normal; font-weight: 400; font-size: 16px; color: #292929; line-height: 26px}

h1, h2, h3 {font-weight: 700; color: #313131; text-transform: uppercase}
h1 {margin: 0 0 30px 0; font-size: 45px; line-height: 59px}
h2 {margin: 30px 0 10px 0; font-size: 38px; line-height: 49px}
h3 {margin-bottom: 17px; font-size: 30px; font-weight: 600; line-height: 42px}
h1.mt, h2.mt {margin-top: 70px}
h2.light {font-weight: 500}

p.big {font-size: 17px; font-weight: 300}

b, strong {font-weight: 700}

img {border: 0; max-width: 100%; width: auto; height: auto}

ul, ol {margin: 0; padding: 0 0 14px 0; list-style: none}
ol {counter-reset: list1}

li {margin: 0; padding-left: 20px; position: relative} 
ul > li:before {content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: #000; position: absolute; top: 11px; left: 0}

.wrapper input[type='text'], .wrapper input[type='password'], .wrapper textarea {padding: 0 20px; width: 100%; height: 54px; font-size: 16px; font-weight: 300; color: #313131; background: #fff; border: 1px solid #292d54; border-radius: 2px; box-sizing: border-box}
.wrapper input[type='text'].error, .wrapper input[type='password'].error {border: 1px solid red}
.wrapper input:focus, .wrapper textarea:focus {outline: none}

input[type='text']::-webkit-input-placeholder {color:#313131; opacity: .8; font-weight: 100}
input[type='text']::-moz-placeholder {color:#313131; opacity: .8; font-weight: 100}
input[type='text']:-moz-placeholder {color:#313131; opacity: .8; font-weight: 100}
input[type='text'].error::-webkit-input-placeholder {color:red}
input[type='text'].error::-moz-placeholder {color:red}
input[type='text'].error:-moz-placeholder {color:red}
input[type='text']:focus::-webkit-input-placeholder {color: transparent}
input[type='text']:focus::-moz-placeholder {color: transparent}
input[type='text']:focus:-moz-placeholder {color: transparent}

.wrapper input[type="checkbox"] {display:none}
.wrapper input[type="checkbox"] + label {padding-left: 35px; line-height: 20px; cursor: pointer; position: relative}
.wrapper input[type="checkbox"] + label span {position: absolute; top: -2px; left: 0; display: block; width: 20px; height:20px; cursor: pointer}
.wrapper input[type="checkbox"] + label span:before {content: ''; display: block; width: 20px; height: 20px; border: 2px solid #fff; border-radius: 1px; opacity: .6; box-sizing: border-box}
.wrapper input[type="checkbox"].error + label span:before {border: 2px solid red}
.wrapper input[type="checkbox"] + label:hover span:before {opacity: 1}
.wrapper input[type="checkbox"]:checked + label span:before {opacity: 1}
.wrapper input[type="checkbox"]:checked + label span:after {content: ""; width: 3px; height: 8px; border-style: solid; border-width: 0 2px 2px 0; position: absolute; top: 4px; left: 8px; transform: rotate(45deg)}
.wrapper input[type="checkbox"] + label:hover div, 
.wrapper input[type="checkbox"]:checked + label div {opacity: 1}
.wrapper input[type="checkbox"] + label div {display: inline-block;  max-width: calc(100% - 35px); font-weight: 300; vertical-align: top}
.wrapper input[type="checkbox"].error + label div { color: red}
.wrapper input[type="checkbox"] + label a {color: #fff}
.wrapper input[type="checkbox"].error + label a {color: red}

.button, .wrapper button, .wrapper input[type="button"], .wrapper input[type="reset"], .wrapper input[type="submit"] {cursor: pointer; cursor: pointer; transition: all .2s ease; user-select: none}

/* 1200 */
@media only screen and (max-width: 1200px) {

body, button, input, textarea, select {font-size: 15px; line-height: 24px}

h1 {margin: 0 0 27px 0; font-size: 40px; line-height: 54px}
h2 {margin: 27px 0 10px 0; font-size: 35px; line-height: 47px}
h3 {font-size: 26px; line-height: 35px}
h1.mt, h2.mt {margin-top: 60px}

p.big {font-size: 16px}

.wrapper input[type='text'], .wrapper input[type='password'], .wrapper textarea {padding: 0 15px; height: 50px; font-size: 15px}
}

/* 950 */
@media only screen and (max-width: 950px) {
	
body, button, input, textarea, select {font-size: 14px; line-height: 22px}	

h1 {margin: 0 0 25px 0; font-size: 38px; line-height: 49px}
h1 br {display: none}
h2 {margin: 25px 0 10px 0; font-size: 30px; line-height: 42px}
h3 {font-size: 22px; line-height: 30px}
h1.mt, h2.mt {margin-top: 50px}

p.big {font-size: 15px}

}

/* 620 */
@media only screen and (max-width: 620px) {

h1 {margin: 0 0 20px 0; font-size: 28px; line-height: 34px}
h2 {margin: 20px 0 10px 0; font-size: 24px; line-height: 34px}
h3 {font-size: 20px; line-height: 28px}
}

/* 414 */
@media only screen and (max-width: 414px) {

h1 {font-size: 20px; line-height: 28px}
h2 {margin: 15px 0 10px 0; font-size: 18px; line-height: 28px}
h3 {font-size: 16px; line-height: 24px}
}