/* Nut Mua Hang Nhanh - frontend styles */
.nmhn-popup-quickbuy,
.nmhn-popup-quickbuy * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.nmhn-popup-content:after,
.nmhn-popup-prod:after {
    content: "";
    display: table;
    clear: both;
}
a.nmhn_buy_now {
    display: inline-block;
    overflow: hidden;
    clear: both;
    padding: 9px 0;
    border-radius: 4px;
    font-size: 18px;
    line-height: normal;
    text-transform: uppercase;
    color: #fff !important;
    text-align: center;
    background: #2563eb;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#2563eb), to(#1d4ed8));
    background: -webkit-linear-gradient(top, #2563eb, #1d4ed8);
    background: -moz-linear-gradient(top, #2563eb, #1d4ed8);
    background: -ms-linear-gradient(top, #2563eb, #1d4ed8);
    background: -o-linear-gradient(top, #2563eb, #1d4ed8);
    margin: 0 0 20px;
    text-decoration: none;
    border-bottom: 0 !important;
    max-width: 350px;
    width: 100%;
}
a.nmhn_buy_now:focus,
a.nmhn_buy_now:hover {
    text-decoration: none !important;
    background: #1d4ed8;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#1d4ed8), to(#2563eb));
    background: -webkit-linear-gradient(top, #1d4ed8, #2563eb);
    background: -moz-linear-gradient(top, #1d4ed8, #2563eb);
    background: -ms-linear-gradient(top, #1d4ed8, #2563eb);
    background: -o-linear-gradient(top, #1d4ed8, #2563eb);
    color: #fff;
}
.nmhn-popup-close:focus,
.nmhn_prod_variable span.price ins,
span.nmhn_price ins {
    text-decoration: none;
}
a.nmhn_buy_now span {
    display: block;
    font-size: 14px;
    color: #fff;
    text-transform: none;
    margin: 2px 0 0;
}
.nmhn-popup {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .75);
    z-index: 9999999999;
}
.nmhn-popup-inner {
    min-height: 200px;
    min-width: 300px;
    width: 750px;
    top: 50%;
    left: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 1);
    border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    background: #fff;
    overflow: hidden;
}
.nmhn-popup-title {
    background: #1d4ed8;
    background: -moz-linear-gradient(top, #1d4ed8 0, #2563eb 100%);
    background: -webkit-linear-gradient(top, #1d4ed8 0, #2563eb 100%);
    background: linear-gradient(to bottom, #1d4ed8 0, #2563eb 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1d4ed8', endColorstr='#2563eb', GradientType=0);
    height: 42px;
    line-height: 42px;
    padding-left: 20px;
    padding-right: 40px;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    position: relative;
}
.nmhn-popup-title span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nmhn-popup-content {
    padding: 10px;
}
.nmhn-popup-close:focus {
    background-color: transparent;
}
.nmhn-popup-close {
    width: 20px;
    height: 20px;
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: ease .25s all;
    -moz-transition: ease .25s all;
    -webkit-transition: ease .25s all;
    text-align: center;
    line-height: 100%;
    color: #fff;
    background: url(../images/close.png) center center no-repeat;
    background-size: 100% auto;
    -moz-background-size: 100% auto;
    -webkit-background-size: 100% auto;
    overflow: hidden;
    text-indent: -9999px;
    border: 0 solid transparent;
    outline: 0;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    margin: auto;
    padding: 0;
    min-height: inherit;
}
.nmhn-popup-img,
.nmhn-popup-info {
    margin-bottom: 10px;
}
.nmhn-popup-close:hover {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    transform: rotate(90deg);
    background-color: transparent;
}
.nmhn-popup-img {
    width: 100px;
    height: auto;
    margin-right: 10px;
}
.nmhn-popup-quickbuy {
    display: none;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3125;
}
span.nmhn_title {
    font-size: 18px;
    color: #333;
    font-weight: 700;
    padding-bottom: 10px;
}
span.nmhn_price {
    font-size: 16px;
    color: #e11d48;
    font-weight: 700;
    padding-bottom: 5px;
    display: block;
}
span.nmhn_price del {
    font-size: 12px;
    color: #ccc;
    font-weight: 400;
}
.nmhn-popup-content-left {
    width: 50%;
    float: left;
    padding-right: 10px;
}
.nmhn-popup-content-right {
    width: 50%;
    float: right;
    padding-left: 10px;
}
.nmhn-customer-info-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}
.nmhn-customer-info-group {
    width: 100%;
    margin-bottom: 6px;
}
.nmhn-customer-info-group:after {
    display: block;
    content: " ";
    clear: both;
}
.nmhn-customer-info-item-2 {
    width: 50%;
    float: left;
}
.nmhn-customer-info-group .nmhn-customer-info-item-2:first-child {
    padding-right: 3px;
}
.nmhn-customer-info-group .nmhn-customer-info-item-2:last-child {
    padding-left: 3px;
}
body .nmhn-customer-info-group input,
body .nmhn-customer-info-group select,
body .nmhn-customer-info-group textarea {
    font-size: 12px;
    padding: 2px 5px;
    border: 1px solid #ccc;
    width: 100%;
    height: 26px;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    background: #fff;
}
body .nmhn-customer-info-group input:focus,
body .nmhn-customer-info-group select,
body .nmhn-customer-info-group textarea:focus {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}
form#nmhn_customer_form {
    margin-bottom: 0;
}
body .nmhn-customer-info-group textarea {
    height: 45px;
    min-height: inherit;
}
.nmhn-customer-info-group .nmhn-order-btn {
    width: 100%;
    height: 36px;
    background: #2563eb;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    outline: 0;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.nmhn-customer-info-group .error {
    border-color: #e11d48;
}
.nmhn-customer-info-group label.error {
    display: none !important;
}
.nmhn_popup_loading {
    position: relative;
    opacity: .5;
    pointer-events: none;
}
.nmhn-customer-info-group .nmhn-order-btn.loading:after,
.nmhn_popup_loading:after {
    -webkit-animation: nmhn_spin .5s infinite linear;
    animation: nmhn_spin .5s infinite linear;
    border: 2px solid #fff;
    border-radius: 32px;
    border-right-color: transparent !important;
    border-top-color: transparent !important;
    content: "";
    display: block;
    height: 16px;
    top: 50%;
    margin-top: -8px;
    left: 50%;
    margin-left: -8px;
    position: absolute;
    width: 16px;
}
.nmhn_popup_loading:after {
    border: 2px solid #2563eb;
}
@-webkit-keyframes nmhn_spin {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes nmhn_spin {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.nmhn-customer-info-group .nmhn-order-btn.loading {
    opacity: 1 !important;
    position: relative;
    color: rgba(255, 255, 255, .05);
    pointer-events: none !important;
}
.nmhn_prod_variable .single_add_to_cart_button,
.nmhn_prod_variable a.contact_to_buy_ajax {
    display: none !important;
}
.nmhn_prod_variable .quantity .screen-reader-text {
    clip: inherit;
    height: inherit;
    position: absolute !important;
    width: inherit;
    white-space: nowrap;
    top: 6px;
    left: 0;
    font-size: 14px;
}
.nmhn_prod_variable .quantity {
    padding-left: 84px;
    position: relative;
}
.nmhn_prod_variable {
    margin: 0 0 20px;
}
.nmhn_prod_variable .label {
    color: #333;
    font-size: 14px;
    padding-right: 10px !important;
}
.nmhn_prod_variable .variations td {
    padding: 0 0 10px;
    vertical-align: text-bottom;
    border: 0;
}
.nmhn-popup-quickbuy table.variations {
    margin: 0;
    border: 0;
}
.nmhn_prod_variable a.reset_variations {
    margin: 0 0 0 10px;
}
.nmhn_prod_variable span.price {
    color: #e11d48;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}
.nmhn_prod_variable span.price del {
    color: #ccc;
    font-weight: 400;
    font-size: 12px;
}
.nmhn-customer-info-radio label {
    display: inline-block;
    font-weight: 400;
    position: relative;
    cursor: pointer;
    margin: 0;
}
.nmhn-customer-info-radio label input {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.nmhn-customer-info-radio label span:after,
.nmhn-customer-info-radio label span:before {
    width: 16px;
    height: 16px;
    content: "";
    position: absolute;
    border: 1px solid #a6a6a6;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    top: 1px;
    left: 0;
}
.nmhn-customer-info-radio label span {
    padding-left: 23px;
}
.nmhn-customer-info-radio label input:checked ~ span:before {
    border: 1px solid #2563eb;
}
.nmhn-customer-info-radio label input:checked ~ span:after {
    background: #2563eb;
    border: 1px solid #2563eb;
    width: 8px;
    height: 8px;
    top: 5px;
    left: 4px;
}
.nmhn-customer-info-radio label ~ label {
    margin-left: 20px;
}
.popup-message.success {
    background-color: #fff;
}
.nmhn-customer-info-item-1 {
    overflow: hidden;
}
.nmhn_popup_total_row {
    display: flex;
}
.nmhn_popup_total_title {
    padding-right: 10px;
}
.nmhn-customer-info-group .nmhn_quickbuy_note label.error {
    display: block !important;
    font-weight: 400;
    color: #e11d48;
}
.nmhn_popup_total_calc {
    font-weight: 700;
}
.nmhn-popup-prod {
    display: table;
    width: 100%;
    margin-bottom: 15px;
}
.nmhn-popup-img,
.nmhn-popup-info {
    display: table-cell;
    float: none;
    vertical-align: middle;
}
.nmhn-popup-img {
    margin: 0;
}
.nmhn-popup-info {
    overflow: inherit;
    padding-left: 10px;
}
@media (max-width: 750px) {
    .nmhn-popup-inner {
        width: 500px;
    }
    .nmhn-popup-content-left,
    .nmhn-popup-content-right {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }
    .nmhn-popup-content-left.nmhn_popup_hidden_mobile {
        display: none !important;
    }
    .nmhn-popup-content-left {
        margin-bottom: 20px;
    }
}
@media (max-width: 500px) {
    .nmhn-popup-inner {
        width: 320px;
    }
}
