/* Reset Stylesheet http://html5doctor.com/html-5-reset-stylesheet/ */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
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;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
main,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}
a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
del {
    text-decoration: line-through;
}
abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
input,
select {
    vertical-align: middle;
}
/* ui */
input,
textarea,
select {
    margin: 0;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
}
textarea {
    overflow: auto;
}
button::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner {
    padding: 0 !important;
    border: 0 none !important;
}
/* link */
a {
    text-decoration: none;
}
a > * {
    *cursor: pointer;
}
/* hr */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 0;
    padding: 0;
}
/* clearfix */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    zoom: 1;
}
/* hidden */
[hidden] {
    display: none !important;
}
/* img */
img {
    display: block;
    max-width: 100%;
}
/* box-sizing */
* {
    box-sizing: border-box;
}
/*.scale (@factor) {
    transform: scale(@factor);
}*/
.no-wrap {
    white-space: nowrap;
}
img {
    display: block;
    max-width: 100%;
}
body {
    padding-top: 75px;
    padding-bottom: 110px;
    color: #ffffff;
    background-color: #4f60aa;
    font: 400 10px/1.2 "jaf-bernina-sans-condensed", Arial, "Nimbus Sans L", Helvetica, sans-serif;
}
@media (max-width: 767px) {
    body {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}
.container {
    max-width: 960px;
    box-sizing: border-box;
    padding-right: 20px;
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
}
.logo {
    display: block;
    max-width: 607px;
    margin-right: auto;
    margin-left: auto;
}
.title {
    max-width: 684px;
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
}
.text {
    margin-top: 35px;
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
}
@media (max-width: 767px) {
    .text {
        font-size: 18px;
        padding-left: 0;
        padding-right: 0;
    }
    .text-title p {
        font-size: 12px;
    }
    .text #text-small {
        font-size: 12px; 
    }
}
.text p:not(:first-child) {
    margin-top: 35px;
}
@media (max-width: 767px) {
    .text p:not(:first-child) {
        margin-top: 20px;
    }
}
.shot {
    max-width: 355px;
    margin-top: 25px;
    margin-right: auto;
    margin-left: auto;
}
.action {
    margin-top: 35px;
    text-align: center;
}
@media (max-width: 767px) {
    .action {
        margin-top: 25px;
    }
}
.action a {
    display: inline-block;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 25px;
    line-height: 66px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff200;
    background-color: #f7941d;
    text-align: center;
}
@media (max-width: 767px) {
    .action a {
        display: block;
        font-size: 16px;
        line-height: 50px;
        padding-right: 0;
        padding-left: 0;
        margin-top: 10px;
    }
}
.contacts {
    max-width: 630px;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
    font-size: 23px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 110px;
}
@media (max-width: 767px) {
    .contacts {
        margin-top: 25px;
        font-size: 18px;
        padding-left: 0;
        padding-right: 0;
    }
}
.contacts p:not(:first-child) {
    margin-top: 35px;
}
@media (max-width: 767px) {
    .contacts p:not(:first-child) {
        margin-top: 20px;
    }
}
.contacts a {
    color: inherit;
}

.text-title {
    margin-top: -10px;
    margin-bottom: 30px;
    font-size: 16px;
}

#text-small {
    font-size: 16px; 
    margin: 0;
}

.bottom-link {
    margin-top: 10px;
}


#modal_form {
/*    width: 90%; 
    height: 90%;
    border-radius: 5px;
    border: 3px #000 solid;
    background: #4e5eac;
    position: fixed;
    top: 5%;
    left: 5%;
    display: none; 
    opacity: 0;
    z-index: 5;
    padding: 20px 10px;
    margin: auto;*/

    width: 100%;
    height: 100%;
    display: table;
    position: absolute;
    top: 0;
    left: 0;
}

#modal_form .text {
    margin-top: 0;
    margin-bottom: 40px;
}

#overlay {
    z-index:3;
    position:fixed;
    background-color:#000;
    opacity:0.8;
    -moz-opacity:0.8; 
    filter:alpha(opacity=80);
    width:100%; 
    height:100%;
    top:0;
    left:0;
    cursor:pointer;
    display:none;
}

.action-modal {
    display: inline-block;
    margin: 10px;
}

.action-modal a {
    border-radius: 3px;
}

.h_table {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}
.h_cell {
    display: inline-block;
}



@media (max-width: 767px) {
    
    #modal_form .text {
        margin-bottom: 30px;
    }
    
    .action-modal {
        display: block;
        width: 90%;
        max-width: 400px;
        margin: 10px auto;
    }
    .action-modal a {
        font-size: 14px;
    }
    
    
}