/* Стилі попапа заявки до компанії */

body.service_application.admin-bar .popup_service_application {
    top: calc(50% - 320px)
}

body.service_application .popup_bg {
    opacity: 1;
    visibility: visible
}

body.service_application .popup_service_application {
    display: block;
    width: 462px;
    height: 700px;
    position: fixed;
    top: calc(50% - 288px);
    left: calc(50% - 231px);
    background: #fafcff;
    -webkit-box-shadow: 0 1px 11px hsla(0, 0%, 46.7%, .25), 0 16px 31px rgba(66, 90, 125, .13);
    box-shadow: 0 1px 11px hsla(0, 0%, 46.7%, .25), 0 16px 31px rgba(66, 90, 125, .13);
    border-radius: 8px;
    padding: 40px;
    z-index: 101
}

body.service_application .popup_service_application .close {
    border: none;
    background-color: rgba(0, 0, 0, 0);
    width: 13px;
    height: 13px;
    position: absolute;
    top: 18px;
    right: 20px;
    padding: 0
}

body.service_application .popup_service_application .close:after,
body.service_application .popup_service_application .close:before {
    border-radius: 1px;
    content: "";
    cursor: pointer;
    display: block;
    height: 1px;
    width: 18px;
    background-color: #9ea7ab;
    position: relative;
    top: 1px;
    left: -3px
}

body.service_application .popup_service_application .close:before {
    transform: rotate(45deg)
}

body.service_application .popup_service_application .close:after {
    transform: rotate(-45deg);
    top: 0
}

body.service_application .popup_service_application .ico {
    text-align: center;
    margin-bottom: 8px
}

body.service_application .popup_service_application .ico img {
    height: 40px;
    width: auto
}

body.service_application .popup_service_application .title {
    color: #1d2022;
    margin-bottom: 18px;
    text-align: center;
    font: 600 24px/1.2em var(--r)
}

body.service_application .popup_service_application p {
    margin-bottom: 15px;
    position: relative;
    font: 400 24px/1.2em var(--r)
}

body.service_application .popup_service_application p .wpcf7-not-valid-tip {
    position: absolute;
    /*top: calc(100% + 10px);*/
    top: 100%;
    font-size: 12px
}

body.service_application .popup_service_application p [data-name=usermessage] .wpcf7-not-valid-tip {
    /*top: calc(100% - 1px)*/
    top: calc(100% + 72px)
}

body.service_application .popup_service_application .wpcf7-spinner {
    position: absolute;
    top: 8px;
    left: calc(50% - 36px)
}

body.service_application .popup_service_application .wpcf7-response-output {
    margin: 0;
    padding: 0;
    position: relative;
    top: -8px;
    text-align: center;
    max-width: 100%;
    border: none;
    color: #dc3232;
    font: 400 12px/1.2em var(--m)
}

body.service_application .popup_service_application label {
    color: #4e4e4e;
    margin-bottom: 8px;
    font: 600 14px/1.2em var(--r)
}

body.service_application .popup_service_application input {
    height: 40px;
    border: 1px solid #d6dcdf;
    border-radius: 4px;
    padding: 0 16px;
    color: #4e4e4e;
    transition: all .3s linear;
    width: 100%;
    font-size: 14px;
}

body.service_application .popup_service_application input[type=checkbox] {
    height: initial;
    width: auto;
}

body.service_application .popup_service_application input:active,
body.service_application .popup_service_application input:focus {
    border-color: #6798f8
}

body.service_application .popup_service_application input.error {
    border-color: #fc3838
}

body.service_application .popup_service_application input[type=submit] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 24px;
    line-height: 38px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    background: #3171ee;
    border: 1px solid #3171ee;
    border-radius: 4px;
    text-decoration: none;
    transition: all .3s linear;
    width: 226px;
    margin: 0 auto
}

body.service_application .popup_service_application input[type=submit]:hover {
    background: #6798f8;
    border-color: #6798f8
}

body.service_application .popup_service_application input[type=submit]:active {
    background: #0f52d5;
    border-color: #0f52d5
}

body.service_application .popup_service_application input[type=submit][disabled] {
    background: #d6dcdf;
    border-color: #d6dcdf
}

body.service_application .popup_service_application textarea {
    height: 40px;
    border: 1px solid #d6dcdf;
    border-radius: 4px;
    padding: 0 16px;
    color: #4e4e4e;
    transition: all .3s linear;
    width: 100%;
    max-width: 100%;
    min-height: 109px;
    max-height: 109px;
    font-size: 14px;
}

body.service_application .popup_service_application textarea:active,
body.service_application .popup_service_application textarea:focus {
    border-color: #6798f8
}

body.service_application .popup_service_application textarea.error {
    border-color: #fc3838
}

body.service_application .popup_service_application .agree p {
    font-family: var(--m);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: center;
    margin-top: 15px;
}

body.service_application .popup_service_application .agree p a {
    color: #4E76F4;
    text-decoration: underline;
}

.popup_service_application {
    display: none
}

@media screen and (max-width: 767px) {
    body.service_application.admin-bar .popup_service_application {
        top: 46px;
        height: calc(100vh - 46px)
    }

    body.service_application .popup_service_application {
        width: 100%;
        height: 100vh !important;
        top: 0;
        left: 0;
        border-radius: 0
    }
}

@media screen and (max-width: 782px) {
    body.service_application.admin-bar .popup_service_application,
    body.investor.admin-bar .popup_get_investor {
        top: calc(50% - 334px)
    }
}
