html {
    display: flex;
    max-width: 1200px;
    line-height: 1.15;
    justify-content: center;
}
body{
    font-size: 16px;
    min-width: 320px;
    position: relative;
    line-height: normal;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    background: #fff;
    display: flex;
    justify-content: center;
}


h1{
    width: 100%;
    text-transform: uppercase;
    color: #333333;
    font-size: 48px;
    margin: 0 0 10px;
    padding-top: 30px;
    
}
strong {
    display: inline-block;
    font-weight: bold;
}

.head-div{
    display: flex;
    justify-content: center;
    max-width: 100%;
    text-align: center;
}

.box-text {
    display: flex;
    text-align: justify;
}

.attention {
    display: flex;
    justify-content: center;
    padding-top: 30px;
    font-size: 12px;
    gap: 10px;
}

.attention-icon{
 margin: 10px;
 width: 15px;
}

.seo-content  {
    text-align: justify;
    color: #000;
    line-height: 150%;
    font-size: 16px;
    padding-left: 15px;
    padding-right: 15px;
}
.seo-content span{
    color: #019042;
}
.init-form{
    display: block;
    margin: 1rem;
}

main.main-div {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: baseline;
    flex-wrap: nowrap;
}

.main-form{
    position: relative;
    color: #0009;
    max-width: 450px;
    display: flex;
    justify-content: center;
}


#second-form{
    width: 100%;
    margin: 15px auto;
    margin-bottom: 30px;
    padding-top: 30px;
}

#third-form{
    width: 100%;
    margin: 15px auto;
    margin-bottom: 30px;
    padding-top: 30px;
}

.inputBox{
    position: relative;
    max-width: 500px;
    height: 46px; 
    margin-top: 1rem;
    margin-bottom: 35px;
    margin-left: 16px;
    margin-right: 16px;
}



.inputBox input{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border: 1px solid #41699c; 
    background: transparent; 
    padding: 10px;
    border-radius: 4px;
    box-sizing: border-box;
    outline: none;
    font-size: 16px;
    color: #000;
    font-weight: 300;
}

.label {
    position: absolute;
    top: 10px; 
    left: 10px;
    font-size: 16px;
    color: #0009;
    transition: 0.3s;
    pointer-events: none; 
}
.inputBox input:focus ~ .label,
.inputBox input:valid ~ .label
{
    font-size: 12px;
    color: #0009;
    transform: translateX(-8px) translateY(-25px); 
}
.inputBox input:invalid ~ .label {
    font-size: 12px;
    color: red;
    transform: translateX(-8px) translateY(-25px); 
}

.inputBox input:focus ~ .error-text,
.inputBox input:valid ~ .error-text{
    display: none;
}
.inputBox input:invalid ~ .error-text {
    display: block;
    font-size: 12px;
    color: red;
    transform: translateX(-8px) translateY(32px); 
}

.error-text {
    position: absolute;
    color: red;
    top: 10px; 
    left: 10px;
    font-size: 12px;
    transition: 0.3s;
    pointer-events: none; 
    display: none; 
}

.inputBox input.filled ~ .label,
.inputBox input:valid ~ .label {
    font-size: 12px;
    color: #0009; 
    
}
.inputBox input.invalid ~ .label {
    color: red; /* Цвет метки при ошибке */
}

.inputBox:last-child{
    margin-bottom: 0; 
}

.inputBox span{
    position: absolute;
    top: 1px;
    left: 1px;
    display: inline-block; 
    padding: 10px;
    font-size: 16px;
    color: #0009;
    font-weight: 300;
    transition: 0.5s; 
    pointer-events: none;
}    

.inputBox input:focus ~ span,
.inputBox input:valid ~ span{
    font-size: 12px;
    color: #0009;
    transform: translateX(-10px) translateY(-32px); 
} 

.inputBox input[type="submit"]{
    background: #2196f3;
    color: #fff;
    border: none;
    max-width: 120px;
    cursor: pointer;
    font-weight: 500;
}
.inputBox input[type="submit"]:hover{
    background: #e91e63;
} 

.dropdown {
    display: none;
    position: absolute;
    top: 25px; 
    left: 0;
    width: 100%;
    border: 1px solid #0009;
    border-radius: 4px;
    background: white;
    z-index: 10;
}

.dropdown div {
    padding: 10px;
    cursor: pointer;
}

.dropdown div:hover {
    background-color: #f0f0f0;
}

.inputBox.active .dropdown {
    display: block; 
    color: #000    ;
}

.inputBox.active span {
     
    font-size: 12px; 
    color: #0009;
    transform: translateX(-10px) translateY(-32px);
}
.inputBox.selected span {
     
    font-size: 12px; 
    color: #000; 
    transform: translateX(-10px) translateY(-32px);
}

.inputBox input:required:focus:valid {
    background: url("https://assets.digitalocean.com/labs/icons/hand-thumbs-up.svg") no-repeat 95% 50% lightgreen;
    background-size: 25px;
}
.inputBox input:focus:invalid {
    background: url("https://assets.digitalocean.com/labs/icons/exclamation-triangle-fill.svg") no-repeat 95% 50% lightsalmon;
    background-size: 25px;
}


/* BUTTON */
.buttonContainer {
    display: flex;
    justify-content: center; 
    align-items: center; 
    height: 100px; 
    flex: 10000 1 0%;
}
.buttonContainer:before{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    
}
.custom-submit-btn {
    height: 36px;
    background-color: #41699c !important; 
    color: #fff !important; 
    border: 0; 
    vertical-align: middle;
    font-size: 14px;
    line-height: 1.715em;
    text-decoration: none;
    font-weight: 500; 
    text-transform: uppercase; 
    text-align: center; 
    padding: 4px 16px; 
    min-height: 2.572em; 
    cursor: pointer; 
    content: "";
    border-radius: 3px;
    
}

.button-text {
    display: block; 
}   

footer{
    padding: 20px 0;
    line-height: 20px;
    position: absolute;
    background-color: #41699c;
    color: #fff;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
footer .footer-div{
    right: 0;
    bottom: 0;
    left: 0;
    width: 940px;
    min-height: 60px;
    margin: 0 10px;
}


/* with floating label */
.text-field_floating-2 {
    
    position: relative;
  }
  
  .text-field_floating-2 .text-field__input {
    height: 25px;
    padding: 0.5rem 0.75rem;
    font-size: 15px;
    margin: 15px;
    width: 80%;
  }
  
  .text-field_floating-2 .text-field__label {
    position: absolute;
    top: 50%;
    left: 0.3125rem;
    display: flex;
    transform: translateY(-50%);
    pointer-events: none;
    border: none;
    background-color: #fff;
    color: #757575;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    transition: top 0.1s ease-in-out, scale 0.1s ease-in-out;
  }
  
  .text-field_floating-2 .text-field__input::-moz-placeholder {
    color: transparent;
  }
  
  .text-field_floating-2 .text-field__input::placeholder {
    color: transparent;
  }
  
  .text-field_floating-2 .text-field__input:focus~.text-field__label,
  .text-field_floating-2 .text-field__input:not(:placeholder-shown)~.text-field__label {
    top: 0;
    transform: translateY(-50%) scale(0.75);
  }
  
  
  .container-num{

    display: flex;
    justify-content: center;
  }
  .num{
    color: #fff;
    width: 40px;
    height: 50px;
    text-align: center;
    outline:  none;
    margin: 1rem .15rem;
    font-size: 2rem;  
    border: 2.5px solid rgb(234 234 234);
    border-radius: .5rem;
    color: rgb(0, 0, 0);
    background-color: #f1f1f1;
    caret-color: transparent;
  }
  .sapce{
    width: .5rem;
  }
  .num:focus,
  .num:valid{
    box-shadow: 0 0 .0rem rgba(69, 69, 71, 0.5),
        inset 0 0 .0rem rgba(13, 14, 13, 0.5);
    border-color: rgba(22, 138, 205, 0.5);
  }
  
  #phone-dispaly{
  font-size: 2rem;
  line-height: 110%;
  font-weight: var(--font-weight-bold);
  margin: 0;
  }
  .disabled {
    pointer-events: none; /* Отключаем взаимодействие с элементами */
    opacity: 0.1; /* Делаем блок полупрозрачным */
    display: none;
  }
.content-block span{
    text-align: justify;
}   


.statistics-wrapper {
    display: table-cell;
}
.statistics-box__text{
    padding: 0 8px 10px;
    font-size: 14px;
    color: #007247;
}

.statistics-box__num {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.statistics-box-it {
    color: #007247;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 27px;
    max-width: 204px;
    width: 100%;
    height: 75px;
}

.statistics-box {
    padding: 15px;
}

.statistics-box:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("/img/map-img.svg") no-repeat center;
    background-size: 100%;
    top: -13px;
    
    z-index: -1;
}
.text-inform span{
    display: flex;
    width: 100%;
    font-size: 14px;
    padding-bottom: 35px;
    text-align: justify;
}



header{
    position: relative;
    padding: 0 0 40px;
    background: #fff;
    height: 30px;
    
}

header::after {
    content: ""; 
    display: block; 
    width: 100%; 
    height: 20px; 
    background-color: #41699c;
    position: absolute; 
    left: 0; 
  }

  .main-header {
    display: flex;
    flex-direction: row;
    align-content: stretch;
    justify-content: space-between;
    margin-left: 20px;
    margin-right: 15px;
}

.logo {
    content: '';
    background: url(/img/mvd.png) no-repeat center transparent;
    position: relative;
    width: 150px;
    height: 60px;
    top: 10px;
    background-size: contain;
    left: -20px;
    margin-right: -15px;
}

input#languageInput {
    width: 27px;
    font-size:   24px;
    font-weight: 900;
    border: 0 transparent;
    color: #333333;
    margin-top: 10px;
}

div#languageInputBox {
    
    padding: 10px;
}

.selectBox .dropdown{
 width: 50%;
 transform: translateX(75%);
 text-align: center;
}




@media screen and (min-width: 769px) {
    
    

    .second-form{
        max-width: 400px;
    }

    .statistics-box{
        max-width: 400px;
    }
    
    .center-block {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 45px;
        padding-top: 10px;
    }

    .statistics-box:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: url("/img/map-img.svg") no-repeat center;
        background-size: 100%;
        top: -13px;
        left: 0;
        z-index: -1;
    }
  } 