.modal {
    width: 100vw;
    height: 100%;
    background-color: #3d4956;
}
.modal-content {
    background-color: #3d4956;
}

/* modal-header */
.modal-header {
    border: none;
}

.header {
    height: 90px;
}
.header .close {
    width: 15px;
    height: 15px;
    position: relative;
    top: 50px;
    right: 62px;
}

.header .close img {
    width: 100%;
    height: 100%;
}

.modal-dialog {
    max-width: 100%;
    margin: 0px;
}

.modal-content {
    border: none;
}

.modal-body h3 {
    font-size: 36px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.39;
    letter-spacing: normal;
    text-align: center;
    color: #ffffff;
}

.modal-body h4 {
    font-size: 24px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.39;
    letter-spacing: normal;
    text-align: center;
    color: #ffffff;
}

.modal .modal-body form span,
.modal .modal-body p,
.modal .modal-body form a,
.modal .modal-body form a:hover {
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #ffffff;
}
.modal .modal-body form a {
    text-decoration: underline;
}

.modal .modal-body form a:hover {
    cursor: pointer;
    text-decoration: underline;
    color: #ddd;
}

.modal-body form {
    margin-bottom: 1rem;
    margin-left: calc(50% - 150px);
    width: 300px;
}

.modal-body input,
.modal-body select {
    height: 48px;
    border-radius: 8px;
    background-color: #ffffff;
    border: none;
}

/* .modal-body #formRegister:before {
    content: ".crossdocker.ru";
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #ffffff;
    position: relative;
    top: 37px;
} */

.modal-body .form-group.error {
    /* border-bottom: #dc4228 20px solid;*/
    border-radius: 8px;
    background: #dc4228;
}

.modal-body .form-group.error span {
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #ffffff;
    top: -4px;
    position: relative;
}

.modal-body input.error {
    height: 48px;
    border-radius: 8px;
    background-color: #ffffff;
    border: #dc4228 1px solid;
}

.modal-body button.btn-primary {
    margin-top: 15px;
    margin-bottom: 22px;
    height: 48px;
    object-fit: contain;
    border-radius: 5px;
    background-color: #54b625;
    font-size: 21px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #ffffff;
    border: none;
}

.modal-body button.btn-primary:hover {
    background-color: #34a605 !important;
    border: none !important;
}

.modal-body button.btn-primary:focus {
    background-color: #149605 !important;
    border: none !important;
}

#modalOkRecover .modal-body form {
    width: 400px;
    text-align: center;
    margin-left: calc(50% - 200px);
    margin-top: 40px;
}

.modal-body #btnGotoAuth {
    width: 169px;
}

.modal-body #gotoRegister {
}

.modal-body #gotoRegister {
    font-size: 21px;
}

/*phone: Extra small*/

/*phone: Small*/
@media (max-width: 767px) {
    .modal-body h3 {
        font-size: 1.5em;
    }

    .modal-body form {
        width: 200px;
        margin-left: calc(50% - 100px);
    }

    .modal-body #formRegister:before {
        left: calc(50% + 102px);
        font-size: 3vw;
    }

    .modal-body button.btn-primary {
        font-size: 1em;
    }
}

/*pad: Medium-Large*/
@media (min-width: 768px) and (max-width: 1139px) {
    .modal-body #formRegister:before {
        right: -309px;
    }
}

/*PC: Extra large*/
@media (min-width: 1140px) {
    .modal-body #formRegister:before {
        right: -309px;
    }
}
