.popup-head .head {
    min-height: 53px;
}

.top-block {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

header .icons {
    margin-right: 15px;
}

header .icons .telegramm {
    margin-right: 10px;
}

.popup-head .phone {
    top: unset;
}

header .right-block .call {
    margin: unset;
}

.popup-head .logo img {
    max-width: 200px;
}

.footer-mail {
    float: right;
    padding-top: 5px;
}

.name-new {
    display: none;
}

#captchaModal.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

#captchaModal.modal .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 305px;
}

#captchaModal.modal p {
    font-weight: 700;
}

@media (max-width: 991px) {
    .popup-head .icons {
        display: none;
    }

    .popup-head .call {
        display: none!important;
    }

    .popup-head .head {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .popup-head .logo {
        margin-top: unset;
    }

    header .right-block {
        margin-bottom: unset;
    }

    header .right-block .phone {
        margin-right: unset!important;
    }

    .popup-head .logo img {
        margin-top: unset;
    }

    .popup-head {
        position: unset;
    }

    .footer .icons {
        justify-content: flex-start;
        margin-top: 25px;
    }
}

@media (max-width: 460px) {
    .popup-head .logo img {
        width: 100%;
    }

    .popup-head .right-block {
        width: 100%;
    }

    .top-block {
        justify-content: flex-end;
    }
}

@media (max-width: 360px) {
    header .right-block .phone {
        font-size: 1.3em!important;
    }
}