/* свойства модального окна по умолчанию */
.modal {
    position: fixed;
    /* фиксированное положение */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
    font-family: FuturaPT,sans-serif;
}

.modal h3 {
    font-family: FuturaPT,sans-serif;
    font-weight: bold;
}


/* ширина модального окна и его отступы от экрана */
.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}



/* свойства для блока, содержащего контент модального окна */
.modal-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
    background-color: #274f43
}

@media (min-width: 768px) {
    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    }
}

/* свойства для заголовка модального окна */
.modal-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eceeef;
}

.modal-title {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 500;
}

/* свойства для кнопки "Закрыть" */
.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 42px;
    color: #E87C6C;
    text-decoration: none;
}

/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.close:focus,
.close:hover {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    opacity: .75;
}

/* свойства для блока, содержащего основное содержимое окна */
.modal-body {
    width: 475px;
    height: auto;
    padding: 44px 38px;
    background: url('/wp-content/plugins/konradi/public/img/bg.png');
    background-repeat-y: repeat;
    background-repeat-x: no-repeat;
    background-position: top right;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 475px;
        margin: auto;
        top: 50%;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}

@media (max-width: 575px) {
    .modal-dialog {
        max-width: 345px;
        margin: auto;
        top: 50%;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .modal-body {
        width: 345px;
        height: auto;
        background-color: #274f43;
        padding: 44px 38px;
		background: transparent;
    }
}

.text-light {
    color: #fff;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-25 {
    margin-bottom: 25px;
}

.mt-20 {
    margin-top: 20px;
}

.fs-18 {
    font-size: 18px;
}

.fs-22 {
    font-size: 22px;
}

.fw-norm {
    font-weight: normal;
}

#subscribe-form input.form-control {
    border-radius: 0 !important;
    height: 38px;
    background-color: #f7f3eb;
}

.btn-danger, .btn-danger:focus {
    background-color: #E87C6C;
    width: 100%;
    border-radius: unset;
    padding: 16px 25px;
    border: 1px solid #E87C6C;
}

.btn-danger:hover {
    color: #fff;
    background-color: transparent;
    border-color: #fff;
    border: 1px solid;
}

.confirmation {
    padding: 35px 5px;
}

.text-center {
    text-align: center;
    line-height: 25px;
}

.gift-btn {
    width: 80px;
    height: 80px;
}
.toggle-modal {
    cursor: pointer;
}
.show {
    display: block;
}
#subscribe-form .hidden {
    display: none;
}

#subscribe-form label.error {
    color: #e87c6c;
    margin-top: 5px;
}

.description {
    background: #274f43;
    padding-top: 10px;
    margin-top: -5px;
    margin-bottom: 0;
    padding-bottom: 5px;
}
#response-content {
    background: #274f43;
    padding: 10px 0;
}

@media (max-width: 768px) {
    #response-content {
        padding-bottom: 15px;
    }
}
.overflow {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
button.pre-order-modal, button.pre-order-modal:focus {
    margin-top: 50px;
    padding: 18px 20px 20px;
    border: none;
    border-radius: 0;
    width: 100%;
    font-size: 26px;
    line-height: normal;
    font-family: FuturaPT,sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #fff;
    background-color: #d6ba9c;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
button.pre-order-modal:hover {
    background-color: rgba(214,186,156,.7);
    border: none;
}

