.arcticmodal-overlay,
.arcticmodal-container {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.arcticmodal-container {
    overflow: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-collapse: collapse;
}

*:first-child + html .arcticmodal-container {
    height: 100%
}

.arcticmodal-container_i {
    height: 100%;
    margin: 0 auto;
    width: auto !important;
}

.arcticmodal-container_i2 {
    padding: 24px;
    margin: 0;
    border: 0;
    vertical-align: middle;
}

.arcticmodal-error {
    padding: 20px;
    border-radius: 10px;
    background: #000;
    color: #fff;
}

.arcticmodal-loading {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: #000 url('../img/loading.gif') no-repeat 50% 50%;
}

.box-modal {
    position: relative;
    max-width: 620px;
    padding: 60px 40px;
    background: #fff;
    overflow: hidden;
}

#modal-login.box-modal {
    max-width: 510px;
    padding: 60px 35px;
}

.box-modal.modal-tour3d {
    padding: 50px 0 0 0;
    max-width: 100%;
}

.box-modal.modal-tour3d iframe {
    width: 90vw;
    height: 80vh;
}

.box-modal h2 {
    text-align: center;
}

.box-modal p {
    font-size: 18px;
    color: #333;
    text-align: center;
}

.modal-title {
    color: #000;
    font-size: 30px;
    margin-bottom: 25px;
}

.box-modal .caption {
    font-size: 17px;
    margin-bottom: 25px;
    color: #555555;
    font-weight: bold;
}

/*
.box-modal input[type="text"],
.box-modal input[type="tel"],
.box-modal input[type="email"],
.box-modal input[type="site"],
.box-modal input[type="date"],
.box-modal input[type="password"],
.box-modal input[type="user"],
.box-modal input[type="time"],
.box-modal select {
    height: 38px;
    color: #555;
}

.box-modal input::-webkit-input-placeholder,
.box-modal textarea::-webkit-input-placeholder {
    color: #555;
}

.box-modal input::-moz-placeholder,
.box-modal textarea::-moz-placeholder {
    color: #555;
}

.box-modal input:-moz-placeholder,
.box-modal textarea:-moz-placeholder {
    color: #555;
}

.box-modal input:-ms-input-placeholder,
.box-modal textarea:-ms-input-placeholder {
    color: #555;
}

.box-modal .button {
    width: 310px;
    margin: 0 auto -22px;
    background: #fff;

}
*/

.modal-flx {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: space-between;
}
.modal-flx a {
    color: #000;
}
.box-modal input[type=submit] {
    /*    padding: 0;*/
    /*    margin: 0 auto;*/
    position: relative;
    flex-shrink: 0;

}

.box-modal .accept {
    
}

.box-modal .modal-flx .accept {
    flex-grow: 1;
    padding-left: 30px;
    padding-top: 0;
}

.box-modal .accept a {
/*    color: #000;*/
}

.box-modal_close {
    position: absolute;
    right: 25px;
    top: 25px;
    cursor: pointer;
    font-size: 0;
    background: url(../img/svg/close.svg);
    -webkit-background-size: 24px 24px;
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.box-modal_close:hover {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

@media (max-width: 767px) {
    .arcticmodal-container_i2 {
        padding: 5px;
    }

    .box-modal {
        padding: 50px 20px 20px;
    }
}
