/* --------------- reset.css --------------- */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, em, img, strong, sub, sup, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0; /* обнуляем отступы и убираем бордюры */
    vertical-align: baseline; /* приводим все к одной базовой линии */
    background: transparent; /* чтобы не проскакивали левые фоны, установленные по умолчанию */
    font-size: 100%; /* размер шрифта всем одинаковый */
}

a { /* ссылка не в общем списке чтобы не сбрасывать outline по умолчанию */
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    outline: none;
}

table { /* устраняем отступы между ячейками таблицы */
    border-collapse: collapse;
    border-spacing: 0;
}

td, td img {
    vertical-align: top; /* возвращаем привычное вертикальное выравнивание */
}

input, select, button, textarea {
    margin: 0; /* убираем отступы по умолчанию для элементов форм (в частности для checkbox и radio) */
    font-size: 100%; /* делаем размер шрифтов везде одинаковым */
    outline: none;
}

input[type="text"], input[type="password"], textarea {
    padding: 0; /* убираем внутренние отступы для текстовых полей */
}

input[type="checkbox"] { /* вертикальное выравнивание чекбоксов и радиобатонов относительно меток */
    vertical-align: bottom;
}

input[type="radio"] {
    vertical-align: text-bottom;
}

sub {
    vertical-align: sub;
    font-size: smaller;
}

sup {
    vertical-align: super;
    font-size: smaller;
}

article, aside, details, figcaption, figure, footer, header, menu, nav, section {
    display: block;
}

nav ul {
    list-style: none;
}

/* --------------- /reset.css --------------- */

/* --------------- базовые настройки ---------*/
html {
    min-height: 100%; /* всегда показываем вертикальную полосу прокрутки  */
}

body {
    color: #7e7f84;
    font-family: 'Roboto', sans-serif;
    /*
    font-family: 'Roboto Condensed', sans-serif;
    */
    text-align: left;
    font-size: 1em; /* используем безопасные шрифтовые CSS стеки */
    min-height: 100%;
}

a, a:visited { /* порядок правил для ссылок имеет значение */
    color: #f45a40;
    text-decoration: underline;
}

a:hover {
    color: #f45a40;
    text-decoration: none;
}

a:focus, a:active {
    color: #f45a40;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

img {

    max-width: 100%;
}

.clr {
    clear: both;
}

.clearfix:after {
    clear: both;
    content: "";
    display: table;
}

/* --------------- /базовые настройки ---------*/

.center-block-main {
    max-width: 1170px;
    margin: 0 auto;
}



header {
    padding-top: 3px;
    padding-bottom: 5px;
    /*margin-bottom: 20px;*/
}

.phone p {
    font-family: 'Roboto', serif;
    font-size: 0.6em;
    color: #000;
}

.phone h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.2em;
    font-weight: 600;
    margin: 5px 0;
}

.phone a{
    text-decoration: none;
    color: #555555;
}

.phone a:hover{
    color: #f45a40;
    text-decoration: none;
}


header .logo  {
    float: left;
    margin-top: 4px;

}

header .logo p {
margin-left: 4px;
}

header .logo-img {
    float: left;
    margin-top: 3px;
    height: 45px;
}

header .phone-btn {

    float: right;
}

header .phone {
    float: left;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5em;
    padding-top: 5px;

}

header  .btn{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1em;
    color: #ffffff;
    float: left;
    padding: 10px 30px;
    margin-left: 40px;
    margin-top: 20px;
    border: 3px solid #0451b9;
    background: #0451b9;
    border-radius: 10px;
}

header .btn:hover {
    background: #ffffff;
    color: #055cd3;
    cursor: pointer;
}



.block1 {
    height: 606px;
    background: url("../img/bcgrnd3.jpg");
    background-position: center;
    margin-bottom: 50px;
}

.block1-content {
    position: relative;
}

.block1-content .text {
    position: absolute;
    top: 50px;
    left: 10px;
    font-family: 'Roboto Condensed', sans-serif;
    /*font-family: 'Roboto', serif;*/
    color: #ffffff;
}

.block1-content .text .p1{
    font-size: 7em;
}

.block1-content .text .p2{
    font-size: 3.7em;
}

.block1-content .text .p3{
    font-size: 2.9em;
}

.block1-content .text .p4{
    font-size: 4.3em;
}

.block1-content .made-in {
    position: absolute;
    top: 500px;
    left: 10px;
    /*font-family: 'Roboto Condensed', sans-serif;*/
    font-family: 'Roboto', serif;
    color: #a6c5ff;
    font-size: 2em;
}


.block1-content .zavesy {
    position: absolute;
    width: 576px;
    height: 290px;
    top: 80px;
    right: 15px;
}

.block1-content .btn {
    text-align: center;
    position: absolute;
    color: #ffffff;
    font-size: 1.5em;
    padding: 15px 50px;
    background: #b90404;
    top: 430px;
    right: 100px;
    border: 3px solid #b90404;
    border-radius: 10px;
    box-shadow: 0 3px 0 #8f0303;




}

#blink {
    -webkit-animation: blink 4s linear infinite;
    animation: blink 4s linear infinite;
    font-weight: bold;
    background:   #b90404;
}

@-webkit-keyframes blink {
    0% { background: #b90404; }
    50% { background: #ff0606; }
    100% { background: #b90404; }
}

@keyframes blink {
    0% { background: #b90404; }
    50% { background: #ff0606; }
    100% { background: #b90404; }
}


#blink2 {
    -webkit-animation: blink 4s linear infinite;
    animation: blink 4s linear infinite;
    font-weight: bold;
    background:   #b90404;
}

@-webkit-keyframes blink2 {
    0% { background: #b90404; }
    50% { background: #ff0606; }
    100% { background: #b90404; }
}

@keyframes blink2 {
    0% { background: #b90404; }
    50% { background: #ff0606; }
    100% { background: #b90404; }
}

#blink3 {
    -webkit-animation: blink 4s linear infinite;
    animation: blink 4s linear infinite;
    font-weight: bold;
    background:   #b90404;
}

@-webkit-keyframes blink3 {
    0% { background: #b90404; }
    50% { background: #ff0606; }
    100% { background: #b90404; }
}

@keyframes blink3 {
    0% { background: #b90404; }
    50% { background: #ff0606; }
    100% { background: #b90404; }
}





.block1-content .btn:hover {
    color: #fff;
    border: 3px solid #fff;
    /*background: #ffffff;*/
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    cursor: pointer;
}

.block2 {
    margin-bottom: 50px;
}

.block2-content {

}

.block2-content h1 {
    display: table;
    margin: 0 auto 30px auto;
    font-family: 'Roboto Condensed', sans-serif;
    color: #0451b9;
    font-size: 2em;
}

.block2-content ul li {
    list-style: none;
    margin: 20px;
    padding: 15px 30px;
    color: #ffffff;
    background: #b90404;
    border-radius: 10px;
}

.block2-content ul li h2{
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5em;
}

.block2-content ul li p{
    line-height: 1.5;
}

.block3 {
    margin-bottom: 50px;
    background: #ebebeb;
}


.block3-content {

}
.block3-content form {
    display: table;
    margin: 0 auto;
    padding: 50px 0;
}

.block3-content .form-name {
    padding: 10px 10px 5px 10px;
    /*border: none;*/
    border: 3px solid #0451b9;
}

.block3-content .form-phone {
    padding: 10px 10px 5px 10px;
    /*border: none;*/
    margin-left: 20px;
    border: 3px solid #0451b9;
}

.block3-content .form-submit {
    margin-left: 20px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1em;
    color: #ffffff;

    padding: 10px 30px;

    border: 3px solid #0451b9;
    background: #0451b9;
    border-radius: 10px;
}

.block3-content .form-submit:hover {
    background: #ffffff;
    color: #055cd3;
    cursor: pointer;
}

.block4 {
    margin-bottom: 50px;
}

.block4-content h1 {
    display: table;
    margin: 0 auto 30px auto;
    font-family: 'Roboto Condensed', sans-serif;
    color: #0451b9;
    font-size: 2em;
}

.block4-content img {
    display: block;
    margin: 0 auto 30px auto;
    max-width: 100%;

}


.block5 {
    margin-bottom: 50px;
}

.block5-content h1 {
    display: table;
    margin: 0 auto 30px auto;
    font-family: 'Roboto Condensed', sans-serif;
    color: #0451b9;
    font-size: 2em;
}
.block5-content .img-cont {
    display: table;
    margin: 0 auto;
}


.block5-content img {
    box-sizing: border-box;
    width: 250px;

}

.block6 {
    margin-bottom: 50px;
}

.block6-content h1 {
    display: table;
    margin: 0 auto 30px auto;
    font-family: 'Roboto Condensed', sans-serif;
    color: #0451b9;
    font-size: 2em;
}

.block6-content a {
    display: table;
    margin: 0 auto 30px auto;
    font-family: 'Roboto Condensed', sans-serif;
    color: #555555;
    font-size: 2em;
}
.block6-content a:hover {
    display: table;
    margin: 0 auto 30px auto;
    font-family: 'Roboto Condensed', sans-serif;
    color: #f45a40;

}

.block6-content a:visited {
    display: table;
    margin: 0 auto 30px auto;
    font-family: 'Roboto Condensed', sans-serif;
    color: #555555;

}





footer {
    height: 100px;
    background: #0451b9;
}

footer  a{
    float: right;
    margin-top: 40px;
    font-family: 'Roboto Condensed', sans-serif;
    color: #ffffff!important;
    font-size: 0.875em;
    text-decoration: none;
}






.modal-input-name {
    box-sizing: border-box;

    padding: 10px!important;
    float: left;
    width: 100%;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid #eeeeee;
}

.modal-input-phone {

    padding: 10px!important;
    box-sizing: border-box;
    float: left;
    width: 100%;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid #eeeeee;
}

.modal-input-submit {
    padding: 20px 25px;
    background: #0451B9;
    color: #ffffff;
    border: 3px solid #0451B9;
    border-radius: 10px;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    margin: 5px 0;

    float: right;
}
.modal-input-submit:hover {
    padding: 20px 25px;
    background: #ffffff;
    color: #0451B9;
    border: 3px solid #0451B9;
    border-radius: 10px;

    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    margin: 5px 0;

}


.modal-input-submit-red {
    padding: 20px 25px;
    background: #b90404!important;
    color: #ffffff!important;
    border: 3px solid #b90404!important;
    border-radius: 10px;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.3em;

    margin: 5px 0;

    float: right;
}
.modal-input-submit-red:hover {
    padding: 20px 25px;
    /*background: #ffffff!important;*/
    color: #ffffff!important;
    border: 3px solid #ffffff!important;
    border-radius: 10px;

    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    margin: 5px 0;

}

.modal-input-comment {
    padding: 10px!important;
    box-sizing: border-box;
    float: left;
    width: 100%;
    margin-bottom: 20px;

    border: 1px solid #eeeeee;
}

.modal-content h2 {
    color: #0451B9;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.875em;
    font-weight: 600;
    margin: 5px 0;
}


@media screen  and (max-width: 1040px) {

    .block1-content .text {

        top: 50px;
        left: 10px;
        font-family: 'Roboto Condensed', sans-serif;
    }

    .block1-content .text .p1{
        font-size: 5em;
    }

    .block1-content .text .p2{
        font-size: 2.7em;
    }

    .block1-content .text .p3{
        font-size: 1.9em;
    }

    .block1-content .text .p4{
        font-size: 3.3em;
    }


    .img-cont img {
        width: 30%;
        margin-left: 10%;
        margin-right: 10%;
    }
}
@media screen  and (max-width: 920px) {
    .block1-content .zavesy {
        width: 450px!important;
    }
}

@media screen  and (max-width: 800px) {
    .phone-btn {
        float: none!important;
        margin-left: 10px;
    }
    header .logo {
        float: none;
    }

    header .center-block-main{
        text-align: center;
    }

    header .logo p {
        margin-left: 10px;
        margin-bottom: 10px!important;
    }

    .phone {
        float: none!important;
        width: 100%;
        text-align: center;
    }
    .phone-btn .btn {
        display: table;
         width: 90%;
        text-align: center;
        margin: 0 auto!important;
    }
    .logo img {
    float: none;
    margin: 0 auto;
        /*margin-left: 10px;*/
        /*margin-bottom: 10px;*/
    }
    .block1-content .zavesy {
        width: 400px!important;
    }
    .block1 .btn {
        top: 350px;

    }
    .img-cont img {
        box-sizing: border-box;
        width: 44%;
        margin: 0 2%;
    }
}
@media screen  and (max-width: 750px) {
    .block1-content .zavesy {
        visibility: collapse;
        width: 0!important;
    }
    .block1 .btn {
        top: 350px;
        width: 80%;
        right: 10px;
    }
}

@media screen  and (max-width: 700px) {
    .block3-content form {
        display: table;
        width: 100%;
        margin: 0 auto;
        padding: 30px 0;
    }


    .block3-content .form-name {
        display: block;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
        width: 90%;
        padding: 10px 10px 5px 10px;
        /*border: none;*/
        border: 3px solid #0451b9;
    }

    .block3-content .form-phone {
        display: block;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
        width: 90%;
        padding: 10px 10px 5px 10px;
        /*border: none;*/

        border: 3px solid #0451b9;
    }

    .block3-content .form-submit {
        display: block;
        margin: 0 auto;

        font-family: 'Roboto Condensed', sans-serif;
        font-size: 1em;
        color: #ffffff;

        padding: 10px 30px;

        border: 3px solid #0451b9;
        background: #0451b9;
        border-radius: 10px;
    }

    .block2-content h1 {
        text-align: center;
    }

    .block5-content h1 {
        text-align: center;
    }
}

@media screen  and (max-width: 500px) {

    .block6-content a {
        display: table;
        margin: 0 auto 30px auto;
        font-family: 'Roboto Condensed', sans-serif;
        color: #555555;
        font-size: 1.3em;
    }
}



.small-calc {
    padding-top: 50px;
    padding-bottom: 50px;
    margin-bottom: 100px;
    background: #ebebeb;
}

.small-calc-content h1 {
    display: table;
    margin: 0 auto 60px auto;
    font-family: 'Roboto Condensed', sans-serif;
    color: #0451b9;
    /*color: #0451b9;*/
    font-size: 2em;
}


.label-small-calc {
    font-weight: 600!important;
    padding: 5px;
    font-size: 1.3em;
    color: #0451b9;

}

.label-span {
    font-size: 1.5em;
}

.margin-bottom {
    margin-bottom: 50px;
}

#ex1Slider .slider-selection {
    background: #0451b9;
    border: 1px solid #0451b9;
}

#ex1Slider .slider-track-high {
    background: #ffffff;
    border: 1px solid #0451b9;
}


#ex2Slider .slider-selection {
    background: #0451b9;
    border: 1px solid #0451b9;
}

#ex2Slider .slider-track-high {
    background: #ffffff;
    border: 1px solid #0451b9;
}

.slider.slider-horizontal  {
    width: 80%!important;
    display: block;
    margin: 0 auto;
}

.result{
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    color: #0451b9;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
}
.result .p1 {
    font-size: 1em;
}
.result .p2 {
    font-size: 2em;
    font-weight: 600!important;
}

.result .p3{
    font-size: 1em;
}

.result .p4 {
    font-size: 2em;
    font-weight: 600!important;
}



.small-calc-content .form-submit {

    text-align: center;

    font-size: 1.5em;
    padding: 20px 50px!important;
    background: #b90404 ;
    color: #ffffff ;
    border: 3px solid #b90404!important;
    border-radius: 10px;

    width: 400px!important;
    display: block;
    margin: 50px auto 0 auto!important;

}

.small-calc-content .form-submit:hover {

    color: #fff;
    cursor: pointer;
    /*background: #ffffff;*/
    text-decoration: none;
    border: 3px solid #fff!important;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.small-calc-content  a:hover {

    color: #0451b9;


}


.small-calc-comment {
    margin-top: 50px;
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    color: #0451b9;
    font-size: 1em;
}

.small-calc input {
    width: 100% !important;
    padding: 10px 10px!important;
    border: 1px solid #0451b9;!important;
    margin: 10px auto 20px auto!important;

}

.small-a {
    color: #ffffff;
    display: table;
    margin: 20px auto 30px auto;
    font-family: 'Roboto Condensed', sans-serif;

    font-size: 1.3em;
}

.small-a a {
    color: #ffffff;
    text-decoration: underline;
    font-family: 'Roboto Condensed', sans-serif;

    font-size: 1.1em;
}


.f-i-left {
    float: left;
    width: 40%!important;
    box-sizing: border-box;
    margin-left: 5%;
}

.f-i-right {
    float: right;
    width: 40%!important;
    margin-top: 35px;
    margin-right: 5%;
    box-sizing: border-box;
}

.f-i {
    width: 90%!important;
    margin-left: 5%;
}








@media screen  and (max-width: 800px) {


    .small-calc-content .f-i-left {
        float: none;
        width: 90%!important;
        margin: 0 auto;
    }
    .small-calc-content .f-i-right {
        float: none;
        width: 90%!important;

        margin: 20px auto 0 auto;
    }

    .result {
        width: 90%;
        margin: 0 auto;
    }
}

@media screen  and (max-width: 700px) {


    .small-calc-content .form-submit {
        width: 90%!important;
        left: 5%!important;
        box-sizing: border-box;
        margin: 20px auto 0 auto!important;
        font-size: 1.3em;

    }
    .full-calc-content .form-submit {
        width: 90%!important;
        left: 5%!important;
        box-sizing: border-box;
        margin: 20px auto 0 auto!important;
        font-size: 1.3em;
    }

}


