.ytb-if iframe {
    width: 100%;
    height: 100%;
}

/* nguyenleeminhhieu alert */
.noti_con {
    position: fixed;
    top: 5rem;
    right: 0;
    z-index: 9999999;
}

.noti_alert {
    position: relative;
    margin-bottom: 2.4rem;
    top: 90px;
    right: 15px;
    border-radius: 6px;
    background: #fff;
    padding: 15px 20px;
    /* box-shadow: 2px 6px 10px 3px rgba(0, 0, 0, 0.2);
    */
    overflow: hidden;
    transform: translateX(calc(100% + 30px));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
}

@media screen and (max-width:1200px) {
    .noti_alert {
        top: 30px;
        right: 20px;
    }
}

.noti_alert.active {
    transform: translateX(0%);
}

.noti_alert p {
    /* margin-right: 5px;
    */
    text-align: left;
}

.noti_icon.danger {
    color: rgb(255, 3, 44);
}

.noti_icon.success {
    color: limegreen;
}

.noti_alert {
    width: max-content;
    max-width: 300px;
    min-width: 300px;
    display: flex;
    align-items: center;
}

.noti_alert .message .text1 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.noti_alert .message .text2 {
    font-size: 14px;
    font-weight: 300;
    color: #666666;
}

.noti_alert .message {
    display: flex;
    flex-direction: column;
    margin-left: 16px;
}

@keyframes noti_animation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.noti_icon {
    padding: 0px;
    color: white;
    display: flex;
    font-size: xx-large;
}

.remove_alert {
    animation: 1s 1 remove_alert_animation;
    -webkit-animation: 1s 1 remove_alert_animation;
}

@keyframes remove_alert_animation {
    0% {
        transform: translateX(200px);
    }

    50% {
        transform: translateX(200px);
    }

    100% {
        display: none;
    }
}

.noti_alert .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
}

.noti_alert .progress:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #cacaca;
}

.noti_alert .progress.danger {
    background-color: rgb(255, 3, 44);
}

.noti_alert .progress.success {
    background-color: limegreen;
}

.noti_alert .progress.active:before {
    animation: progress 5s linear forwards;
}

@keyframes progress {
    100% {
        right: 100%;
    }
}

@media screen and (max-width: 1200px) {
    .noti_alert {
        top: 85px;
    }
}

@media screen and (max-width:768px) {
    .noti_alert {
        max-width: 300px;
    }

    .noti_alert .message .text1 {
        font-size: 14px;
    }

    .noti_alert .message .text2 {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .noti_con {
        width: 100%;
        padding: 0 1em;
        top: 3rem;
    }

    .noti_alert {
        max-width: 100%;
        min-width: 100%;
        top: 50px;
        margin: auto;
        right: unset !important;
    }
}

.monaFieldItem {
    position: relative;
}

.mona-error {
    font-size: 1.2rem !important;
    padding: 0.6rem;
    border-radius: 0.4rem;
    background-color: #bb0000;
    color: #FFF;
    width: fit-content;
    position: absolute;
    bottom: -35px;
    right: 1.6rem;
    display: none;
    z-index: 10;
    font-weight: 600;
}

.mona-error::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 0.5rem solid transparent;
    border-right: 0.5rem solid transparent;
    border-bottom: 0.5rem solid #bb0000;
    bottom: 100%;
    right: 1.6rem;
}

.mona-fail.mona-fail-message {
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    color: red;
    margin: 1em 0;
}

.mona-error-pri {
    display: none;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    color: red;
    width: 100%;
    padding: 2rem 0;
}

.mona-success {
    display: none;
    font-weight: bold;
    font-size: 1.4rem;
    color: green;
    text-align: center;
    width: 100%;
    padding: 2rem 0;
}

header.hd.sticky~.main .noti_alert,
header.hd.small~.main .noti_alert {
    top: 35px;
    right: 25px;
}

/* CSS ALERT */
.jc-bs3-container {
    max-width: 450px;
    margin: auto;
}

.jconfirm .jconfirm-box-container {
    width: 100%;
}

.jconfirm-buttons {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

.jconfirm-buttons button {
    min-width: 48% !important;
}

.jconfirm-buttons button::after,
.jconfirm-buttons button::before {
    display: none;
}

.mona-empty-message {
    text-align: center;
    padding: 2.4rem 0;
    font-weight: bold;
    width: 100%;
}

.single_add_to_cart_button.loading::after,
a.added_to_cart.wc-forward {
    display: none !important;
}

/* .single_add_to_cart_button.added::after {
    top: 0px;
    right: 18px !important;
} */

.sec-categorys.sec-news {
    margin-top: 4.5rem;
}

.category-lists {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    margin: 0 -15px;
}

.category-lists .ncate-item {
    padding: 0 15px;
}

.category-lists .ncate-label {
    display: inline-block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 1rem;
    background: #333;
    ;
    color: #fff;
    bottom: 0;
    left: 0;
    z-index: 1;
    font-size: 1.4rem;
}

.category-lists .ncate-label.active {
    background: var(--color-pri);
}

.mona-content.bottom-content {
    margin-top: 4.5rem;
}

.mona-content.top-content {
    margin-bottom: 4.5rem;
}

.woocommerce-shipping-methods.hiddenCheckbox label::before {
    display: none;
}

.woocommerce-info::before {
    color: var(--color-pri);
}

.woocommerce-info::before {
    color: #1e85be;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
    font-family: WooCommerce;
    content: "\e028";
    display: inline-block;
    position: absolute;
    top: 1em;
    left: 1.5em;
}