*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.header-top{
    color: #999;
    background-color: #f5f5f5;
    margin: 0 auto;
    width: 100%;
}

.telefon{
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    line-height: 1.43;
    font-size: 14px;
    font-weight: 700;
    margin: 0px auto;
    padding: 10px;
    max-width: 1321px;
}

.telefon img{
    display: inline-block;
    margin: 0 5px;
}

.telefon a {
    color: #eb4947;
    text-decoration: none;
    font-size: 15px;
    font-family: arial;
    font-weight: 500;
}

.telefon span{
    margin-right: 17px;
    flex-shrink: 0;
    font-family: arial;
    font-size: 16px;
    font-weight: 500;
}

header{
    display: flex;
    flex-direction: column;
}

.header-logo{
    max-width: 1321px;
    margin: 0 auto;
    width: 100%;
    padding: 10px;
    /* height: 0px; */
}

.header-baner {
    background: url("/static/img/h1.jpg") no-repeat bottom;
    height: 592px;
}

.block-button{
    padding: 191px 0 0 5%;
}

.header-button{
    margin: 55px 0px;
}

.header-button a{
    text-decoration: none;
    background-color: rgba(225,3,3,0.81);
    border-radius: 50px;
    color: #FFF;
    padding: 7px 20px 10px 20px;
}

.krugl{
    display: flex;
    justify-content: space-around;
    margin: 75px auto;
    flex-wrap: wrap;
}

.krugl img{
    margin: 30px;
}

.krugl-text{
    width: 138px;
    margin: 3px 30px;
    text-align: center;
    font-size: 20px;
}

.text-red{    
    color: rgba(225,3,3);
    font-weight: 500;
    font-size: 2.6vw; /* 47px */
    font-family: Arial;
}

.text-black{
    color: rgb(8 8 8);
    font-weight: 500;
    font-size: 1.9vw; /* 33px */
    font-family: Arial;    
}

img {
    display: block;
}

label{
    font-size: 20px;
}

input, select {
    padding: 26px 20px 10px 20px;
    margin: 0px 0px 40px 0px;
    line-height: 1.33;
    width: 100%;
    color: #000000;
    background-color: #FFF;
    border:0;
    border-bottom:2px solid rgba(225,3,3,0.81);    
    font-size: 16px;
}

input, select:focus{
    border:0;
    border-bottom:2px solid rgba(225,3,3,0.81);
    outline: 0;
    
}

input[type=submit]:hover{
    background-color: #df4869 !important;
    -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

input[type=submit] {
    max-width: 213px;
    padding: 3px 0 0;
    color: #ffffff;
    background-color: rgba(225,3,3,0.81);
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    text-transform: uppercase;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    text-align: center;
    height: 43px;
    border: 0 none;
    font-size: 16px;
    padding-left: 60px;
    padding-right: 60px;
    font-weight: 700;
    cursor: pointer;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    font-family: Times new Roman;
}

input[type="checkbox"]{
    height: 20px;
    width: 45px;
}

.header-block{
    display: flex;
    justify-content: space-between;
    padding: 15px;
}

.t-submit{
    margin-top: 10px;
    text-align: center;
}

.forma-zayavki {
    max-width: 760px;
    margin: 0 auto;
}
.politka {
    font-size: 14px;
    margin: 70px 0 54px 0;
}


@media screen and (max-width : 821px){
    .header-baner {
        background: url("/static/img/h2.jpg") no-repeat top;
        height: 462px;
    }
    .block-button {
        padding: 335px 0 0 30px;
    }
    .forma-zayavki {
        max-width: 90%;
    }
    .header-button {
        margin: 44px auto;
        text-align:center;
    }
    .text-red {
        color: rgba(225,3,3);
        font-weight: 500;
        font-size: 36px;
        font-family: Arial;
        text-align: center;
    }
    .text-black {
        color: rgb(8 8 8);
        font-weight: 500;
        font-size: 24px;
        font-family: Arial;
        text-align: center;
    }
    input[type=submit] {
        max-width: 213px;
        padding: 3px 0 0;
        color: #ffffff;
        background-color: rgba(225,3,3,0.81);
        border-radius: 30px;
        -moz-border-radius: 30px;
        -webkit-border-radius: 30px;
        text-transform: uppercase;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
        text-align: center;
        height: 43px;
        border: 0 none;
        font-size: 16px;
        padding-left: 60px;
        padding-right: 60px;
        font-weight: 700;
        cursor: pointer;
        margin: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        outline: none;
        font-family: Times new Roman;
    }
    .politka {
        font-size: 10px;
        margin: 22px 0 54px 0;
    }
}

@media screen and (max-width : 420px){
    .header-baner {
        background: url("/static/img/mobil5.jpg") no-repeat top;
        height: 484px;
    }
    .block-button {
        padding: 320px 0 0 0px;
    }
    .header-button {
        margin: 44px auto;
    }
    .krugl > div{
        width: 300px;
    }
    .krugl-text {
        margin: 3px auto;
    }
    .krugl img {
        margin: 20px auto;
        width: 90px;
    }
    .forma-zayavki {
        max-width: 90%;
    }

}
