.footer {
    width: 100vw;
}

.footer ._form-container {
    background: #2d4c7d;
}

.footer ._form {
    width: 100%;
    padding: 50px 30px;
    color: white;
    max-width: 1310px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footer ._form-left {
    width: 320px;
}

.footer ._form-right {
    display: flex;
    width: 830px;
    max-width: calc(100% - 340px);
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.footer ._form-social {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;  
}

.footer ._form-social input, .footer ._form-social textarea {
    background-color: #F0F0F0;
    border: none;
    box-shadow: inset 0px 0px 5px 0px gray;
    resize: none;
}
.footer ._form-social input[type="submit"] {
    background-color: #fff;
    border: 1px solid #2D4C7D;
    box-shadow: none;
    color: #2D4C7D;
}
.footer ._form-name {
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.footer ._form-desc {
    font-size: 18px;
}

.footer ._inputs {
    width: 295px;
}

.footer ._inputs input {
	font-size: 16px;
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    padding: 0 15px;
    outline: none;
}

.footer ._other-fields {
    width: calc(100% - 335px);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer ._other-fields textarea {
	font-size: 16px;
    width: 100%;
    height: 100px;
    margin-bottom: 20px;
    padding: 10px 20px;
    outline: none;
}

.footer ._other-fields span {
    display: block;
    width: calc(100% - 190px);
    font-size: 13px;
    line-height: 13px;
}

.footer ._other-fields input {
    font-size: 16px;
    width: 160px;
    border: 1px solid white;
    color: white;
    background: transparent;
    text-transform: uppercase;
    cursor: pointer;
    padding: 10px 0;
}


.footer ._content-container {
    background: #cacaca;
    position: relative;
    overflow: hidden;
}

.footer ._content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 42px 30px;
    color: #2d4c7d;
    max-width: 1310px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footer ._content-left {
    width: 320px;
}
.footer ._lang{
    display: flex;
    align-items: center;
    justify-content: start;
    list-style-type: none;
    margin-bottom: 10px;
    margin-left: 0;
}
.footer ._lang li:first-of-type{
    margin-right: 5px;
}
.footer ._lang a, .footer ._lang span{
    font-size: 18px;
    line-height: 28px;
    text-decoration: none;
    color: #205889;
    padding: 0 10px;
    display: block;
}
.footer ._lang a:hover, .footer ._lang span.--selected{
    outline: 1px solid #205889;
}
.footer ._menu {
    width: 225px;
}

.footer ._content-right {
    display: flex;
    width: 830px;
    max-width: calc(100% - 340px);
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer ._contacts{
    padding-top: 25px;
    width: 325px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer ._contacts ._text {
    width: 100%;
    font-size: 16px;
}

.footer ._contacts ._phone {
    display: flex;
    align-items: flex-start;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 10px;
}

.footer ._contacts ._phone div{
    font-size: 14px;
}

.footer ._contacts ._phone a {
    font-size: 18px;
    display: block;
    text-decoration: none;
    color: inherit;
    margin-top: -5px;
    margin-bottom: 5px;
}

.footer ._contacts ._phone-callback {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.footer ._contacts ._phone-button {
    background: #2d4c7d;
    color: white;
    padding: 15px 25px;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
}

.footer ._social-links {
    display: flex;
    height: 35px;
    margin-top: 10px;
    align-items: center;
    justify-content: space-evenly;
}

.footer ._social-links a {
    height: 100%;
    display: block;
    text-decoration: none;
}

.footer ._social-links img {
    height: 100%;
}

/* popup-box */

.popup-box {
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: none;
    z-index: 999;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 0;
    overflow: auto;
}
.popup-box.--active{
    display: flex;
}
.popup-box ._overlay {
    top: 0;
    left: 0;
    position: fixed;
    background: #00000070;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}
.popup-box ._form {
    position: relative;
    z-index: 2;
    background: white;
    padding: 20px;
    width: 600px;
    max-width: calc(100% - 30px);
    min-height: 200px;
}
.popup-box ._success-message {
    display: none;
    width: 100%;
    height: 200px;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}
.popup-box ._success-message.--active {
    display: flex;
}

.popup-box ._close {
    font-size: 30px;
    transform: rotate(45deg);
    color: #2d4c7d;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2d4c7d;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 10px;
    padding-bottom: 2px;
    padding-left: 1px;
    cursor: pointer;
}

.popup-box ._close:hover{
    background: #2d4c7d;
    color: white;
}

.footer ._footer-back-img{
    position: absolute;
    top:0;
    right: -30px;
    height: 100%;
    z-index: 1;
}


/* * * * * * * * */

.popup-box ._callback-form {
    width: 100%;
    padding: 0 30px 30px;
    max-width: 1310px;
    margin: 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    display: none;
}

.popup-box ._callback-form.--active {
    display: flex;
}

.popup-box ._form-left {
    width: 100%;
}

.popup-box ._form-right {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    /* flex-wrap: wrap; */
}

.popup-box ._form-name {
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
}

.popup-box ._form-desc {
    font-size: 16px;
}

.popup-box ._inputs {
    width: 100%;
}

.popup-box ._inputs input {
	font-size: 18px;
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    padding: 0 15px;
    outline: none;
}

.popup-box ._other-fields {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.popup-box ._other-fields textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 20px;
    padding: 10px 20px;
    outline: none;
}

.popup-box ._other-fields span {
    display: block;
    width: calc(100% - 190px);
    font-size: 13px;
    line-height: 13px;
}

.popup-box ._other-fields input {
    width: 160px;
    background: transparent;
    text-transform: uppercase;
    cursor: pointer;
    background: #2d4c7d;
    color: white;
    border: 1px solid #2d4c7d;
}

/* * * * * * * * */
@media (max-width: 1750px){
    .footer ._footer-back-img{
        right: -220px;
    }
}
@media(max-width: 1660px){
    .footer ._form-desc{
        font-size: 18px;
    }
}
@media(max-width: 1520px){
    .footer ._form-desc{
        font-size: 17px;
    }
}
@media(max-width: 1450px){
    .footer ._form-desc{
        font-size: 16px;
    }
}
@media (max-width: 1199px){
    .footer ._form-right {
        flex-direction: column;
    }
    .footer ._inputs {
        width: 100%;
    }

    .footer ._other-fields {
        width: 100%;
    }

    .footer ._footer-back-img{
        display: none;
    }
    .footer ._menu{
        margin-left: auto;
    }
}
@media (max-width: 991px){
    .footer ._form-name{
        font-size: 28px;
    }
    .footer ._content{
        flex-direction: column;
    }
    .footer ._content-left{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }
    .footer ._logo-block {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .footer ._logo-block img {
        max-width: 400px;
    }
    .footer ._lang{
        margin-bottom: 40px;
    }
    .footer ._content-right{
        width: 100%;
        max-width: unset;
    }
    .footer ._menu {
        margin-left: 0;
    }
    .footer ._contacts{
        margin-left: auto;
    }
}

@media (max-width: 800px){

    .footer ._form {
        flex-direction: column;
    }

    .footer ._form-left {
        width: 100%;
        margin-bottom: 40px;
    }

    .footer ._form-right {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
    }

    .footer ._other-fields {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
    }

    .footer ._other-fields span {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }

    .footer ._other-fields input {
        height: 40px;
        margin: 0 auto;
    }

    .footer ._contacts ._phone a{
        font-size: 18px;
    }
}
@media (max-width: 649px){
    .footer ._form{
        padding: 35px 15px;
    }
    .popup-box ._other-fields{
        flex-direction: column;
        align-items: center;
    }
    .popup-box ._other-fields span{
        width: 100%;
        margin-bottom: 20px;
    }
    .popup-box ._other-fields input{
        padding: 10px 0;
    }
    .footer ._content{
        padding: 35px 15px;
    }
    .footer ._logo-block img {
        max-width: 250px;
    }
    .footer ._content-right{
        flex-direction: column;
    }
    .footer ._contacts {
        margin-left: 0;
    }
    .footer ._contacts ._phone-callback{
        justify-content: flex-start;
    }
}
@media (max-width: 480px){
    .popup-box ._callback-form{
        padding: 0;
    }
    .footer ._logo-block img {
        max-width: 200px;
    }
}
@media (max-width: 349px){
    .footer ._logo-block{
        flex-direction: column;
        align-items: center;
    }
    .footer ._lang{
        margin-bottom: 20px;
    }
    .footer ._contacts{
        width: unset;
    }
    .footer ._contacts ._phone a{
        font-size: 16px;
    }
    .footer ._social-links-block {
        margin-right: 10px;
    }
}