@font-face {
    font-family: 'michroma';
    src: url('../fonts/michroma/michroma-webfont.eot');
    src: url('../fonts/michroma/michroma-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/michroma/michroma-webfont.woff2') format('woff2'), url('../fonts/michroma/michroma-webfont.woff') format('woff'), url('../fonts/michroma/michroma-webfont.ttf') format('truetype'), url('../fonts/michroma/michroma-webfont.svg#michroma') format('svg');
}

@font-face {
    font-family: 'roboto';
    src: url('../fonts/roboto/Roboto-Light-webfont.eot');
    src: url('../fonts/roboto/Roboto-Light-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto/Roboto-Light-webfont.woff') format('woff'), url('../fonts/roboto/Roboto-Light-webfont.ttf') format('truetype'), url('../fonts/roboto/Roboto-Light-webfont.svg#roboto') format('svg');
    font-weight: normal;
}

@font-face {
    font-family: 'roboto';
    src: url('../fonts/roboto/Roboto-Regular-webfont.eot');
    src: url('../fonts/roboto/Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto/Roboto-Regular-webfont.woff') format('woff'), url('../fonts/roboto/Roboto-Regular-webfont.ttf') format('truetype'), url('../fonts/roboto/Roboto-Regular-webfont.svg#roboto') format('svg');
    font-weight: bold;
}

* {
    margin: 0;
    padding: 0;
}

p,
div,
main section,
header,
footer,
article,
form {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: Roboto, Verdana, Arial, sans-serif;
    font-size: 15px;
    color: #222;
}

p,
ol,
ul {
    margin-bottom: 1em;
}

li {
    margin-bottom: 0.2em;
}

a {
    color: #7aa2c3;
    text-decoration: none;
}

a:hover {
    color: #7aa2c3;
}

img {
    max-width: 100%;
    border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: michroma, sans-serif;
    font-weight: normal;
    margin: 1em 0 0.5em;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    color: #444;
    line-height: 1em;
}

h1 {
    font-size: 22px;
}

h2 {
    font-size: 16px;
    margin: 0.5em 0 2em;
    color: #7aa2c3;
}

h5 {
    font-weight: bold;
    margin: 0 0 1.5em;
}

.casper {
    display: none;
}

.element-invisible {
    display: none;
}

.form-item {
    position: relative;
    padding: 0px 0px 25px;
}

input,
select,
textarea {
    border: 1px solid #ddd;
    background: #f3f3f3;
    padding: 10px;
    font-family: Roboto, Verdana, Arial, sans-serif;
    font-size: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    height: 35px;
    max-width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    border: 1px solid #7aa2c3;
}

textarea {
    width: 100%;
    height: 155px;
}

input.error,
select.error,
textarea.error {
    border-color: #900;
}

.type-captcha.error #html_captcha_element>div {
    border: 1px solid #900;
    border-radius: 3px;
}


/*.required{ border-color: #ffdbb3; }*/

.form-item:hover .error-message {
    display: block;
}

.error-message {
    display: none;
    background-color: #FCC;
    color: #900;
    border: 1px solid #e69a9a;
    border-radius: 3px;
    padding: 5px;
    position: absolute;
    top: -35px;
    left: 10px;
}

.type-captcha .error-message {
    top: -62px;
}

.error-message:before {
    content: " ";
    position: absolute;
    bottom: -21px;
    left: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #e69a9a;
}

.error-message:after {
    content: " ";
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #FCC;
}

input[type="btn"],
input[type="submit"] {
    cursor: pointer;
    background-color: #91b6d6;
    color: #FFF;
    border-color: #7aa2c3;
}

input[type="btn"]:hover,
input[type="submit"]:hover {
    background-color: #7aa2c3;
}

@media screen and (max-width: 480px) {
    input,
    select,
    textarea {
        width: 100%;
    }
}