/* out of stock product style */

.single_out_of_stock_btn {
    color: #08121e !important;
    height: 48px !important;
    opacity: 1;
    width: 100%;
    background: #f6f6f6 !important;
    border: 1px solid #08121e !important;
    box-sizing: border-box;
    margin-top: 16px !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 19px !important;
    transition: all 0.3s linear;
    padding: 0.3em 1em !important;
}

.single_out_of_stock_btn::after {
    display: none;
}

.single_out_of_stock_btn:hover,
.single_out_of_stock_btn:active,
.single_out_of_stock_btn:focus,
.single_out_of_stock_btn.active {
    color: #fff !important;
    background: #08121e !important;
}

#out_of_stock_modal {
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1000000;
    padding: 0 !important;
}

#out_of_stock_modal .modal-dialog {
    margin: 0 auto;
    max-width: 435px;
}

#out_of_stock_modal .modal-content {
    border: 1px solid #000;
    border-radius: 0;
    box-shadow: none;
}

#out_of_stock_modal .close_icon {
    position: absolute;
    right: 15px;
    top: 15px;
    display: block;
    z-index: 1;
    cursor: pointer;
}

#out_of_stock_modal .modal-body {
    padding: 15px 31px 38px 31px;
}

#out_of_stock_modal .modal-body .title_text {
    font-family: Roboto;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 16px;
    text-align: center;
    color: #000000;
    margin-top: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#out_of_stock_modal .modal-body .description_text {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: #000000;
    margin-top: 20px;
}

#out_of_stock_modal .modal-body .selected_product_name {
    font-family: Roboto;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 25px;
    text-align: center;
    color: #000000;
    margin-top: 16px;
}

#out_of_stock_modal .modal-body .checkbox {
    margin-bottom: 5px;
    margin-top: 0;
}

#out_of_stock_modal .modal-body .checkbox label {
    min-height: auto;
}

#out_of_stock_modal .modal-body .checkbox.error label,
#out_of_stock_modal .modal-body .checkbox.error label a {
    color: #ff0000;
}

#out_of_stock_modal .out_of_stock_form #product_size,
#out_of_stock_modal .out_of_stock_form #customer_email_address {
    border: 1px solid #000;
    border-radius: 0;
    padding: 6px 12px;
}

#out_of_stock_modal .out_of_stock_form #product_size {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("../img/dropdown_icon.svg");
    background-repeat: no-repeat;
    background-position-x: 97%;
    background-position-y: 12px;
}

#out_of_stock_modal .out_of_stock_form #product_size:focus,
#out_of_stock_modal .out_of_stock_form #customer_email_address:focus {
    box-shadow: none;
}

#out_of_stock_modal .out_of_stock_form label {
    text-transform: uppercase;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    color: #000000;
}

#out_of_stock_modal .out_of_stock_form .notify_me_btn {
    color: #fff !important;
    height: 48px !important;
    opacity: 1;
    width: 100%;
    background: #08121e !important;
    border: 1px solid #08121e !important;
    box-sizing: border-box;
    border-radius: 0 !important;
    text-transform: uppercase;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 19px !important;
    transition: all 0.3s linear;
    padding: 0.3em 1em !important;
    margin-top: 5px;
}

#out_of_stock_modal .out_of_stock_form .notify_me_btn:hover,
#out_of_stock_modal .out_of_stock_form .notify_me_btn:active,
#out_of_stock_modal .out_of_stock_form .notify_me_btn:focus,
#out_of_stock_modal .out_of_stock_form .notify_me_btn.active {
    color: #08121e !important;
    background: #fff !important;
}

#out_of_stock_modal .form_error_text {
    font-family: Roboto;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 16px;
    color: #FF0000;
    margin-top: 6px;
}

#out_of_stock_modal .form_error_text.success {
    color: #00FF00;
}

#out_of_stock_modal .out_of_stock_form .notify_me_btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}


/* End out of stock product style */

@media screen and (max-width: 480px) {
    #out_of_stock_modal .modal-dialog {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }
}

@media screen and (max-width: 980px) {
    .single_out_of_stock_btn {
        margin-top: 10px !important;
        margin-bottom: 8px !important;
        background-color: #fff !important;
    }
}

@media screen and (min-width: 481px) {
    #out_of_stock_modal.modal.in .modal-dialog {
        -webkit-transform: translate(0, calc(50vh - 50%));
        -ms-transform: translate(0, 50vh) translate(0, -50%);
        -o-transform: translate(0, calc(50vh - 50%));
        transform: translate(0, 50vh) translate(0, -50%);
    }
}