#wrap {
    min-height: calc(100vh - 80px - 52px);
}

.footer {
    margin: 0 auto;
    max-width: 1200px;
}

.footer-imgL {
    display: block;
}

.footer-imgS {
    display: none;
}

@media screen and (max-width: 640px) {
    .footer-imgL {
        display: none;
    }

    .footer-imgS {
        display: block;
    }
}

.customize #product .product-photos img {
    display: block;
    width: 100%;
}

/*.page-link {*/
/*    border: 0;*/
/*    line-height: 1.61;*/
/*}*/

/*.page-item.active .page-link {*/
/*    background-color: #f3f3f3 !important;*/
/*    font-weight: bold;*/
/*    text-decoration: underline;*/
/*}*/

.customize #classify .pro-content .card .card-body .card-text .btn.link-more {
    display: table;
    padding: 10px 0;
    margin-left: auto;
    color: #007bff;
}

.customize #classify .pro-content .card .card-body .card-text .btn.link-more:hover {
    text-decoration: underline;
}


.card-pdInfo {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    height: 4.5em;
    box-sizing: border-box;
    height: 4.5em;
}

@media (max-width: 991.98px) {
    .customize #product .product-info {
        flex-direction: row;
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .customize #product .product-info {
        flex-direction: column;
        width: 100%;
        margin-right: 0;
        margin-bottom: 2rem;
        text-align: left;
    }
}


@media (max-width: 991.98px) {
    .customize #product .product-info .product-photos {
        margin-right: 2rem;
    }
}

@media (max-width: 640px) {
    .customize #product .product-info .product-photos {
        margin-right: 0;
    }
}

@media (max-width: 575.98px) {
    .customize #product .product-info .product-section {
        flex-wrap: wrap;
    }

    .customize #product .product-info .product-section .product-price {
        margin-top: 10px;
        width: 100%;
        text-align: left;
    }
}

.swal2-content button {
    max-width: 320px;
    width: 100%;
}

#login .btn .bi {
    position: absolute;
    left: 1rem;
    top: calc(50% - 0.75rem);
}


/*.customize .bi::before {*/
/*    line-height: 1em !important;*/
/*    font-size: 1.5rem !important;*/
/*}*/
.customize .pagination .page-item .page-link {
    padding: 12px 0;
}

.bi-qr-code-scan {
    top: 16% !important;
    left: 0.65rem !important;
}

.bi-qr-code-scan::before {
    content: "" !important;
    width: 37px;
    height: 30px;
    background-size: contain;
    background-color: #78716c;
    -webkit-mask-image: url(../img/beanfun-logo.svg);
    mask-image: url(../img/beanfun-logo.svg);
    scale: 79%;
}

.customize #classify .pro-content {
    justify-content: normal;
}

.customize #classify .pro-content .card {
    margin: 0 0.75rem 30px;
}

@media (max-width: 991.98px) {
    .customize #classify .pro-content .card {
        margin: 0 0.25rem 30px;
    }
}

@media (max-width: 768px) {
    .customize .navbar .container{
        padding: 0 !important;
    }
    .customize .navbar .navbar-collapse.collapse.show {
        overflow-y: auto;
        height: calc(100vh - 80px);
        -webkit-overflow-scrolling: touch;
    }
    .navbar-nav .nav-item{
        width: 100%;
    }
}

.customize .login-box {
    margin: 0 auto;
    max-width: 400px;
}

.customize .swal2-input {
    max-width: 320px;
}

@media (max-width: 640px) {
    .swal2-modal {
        width: 100% !important;
    }
}

@media (max-width: 575.98px) {
    .customize #classify .pro-content .card {
        margin: 0 0.75rem 30px;
        width: calc((100% - 3rem) / 2);
    }
}

@media (max-width: 575.98px) {
    .login-box .button-group {
        width: 100%;
    }
}

.login-box .btn {
    width: 320px;
}

@media (max-width: 575.98px) {
    .login-box .btn {
        width: 100%;
    }
}

.customize #product .product-info .product-photos {
    width: 400px;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .customize #product .product-info .product-photos {
        width: calc((100% - 2rem) / 2);
    }
}

@media (max-width: 640px) {
    .customize #product .product-info .product-photos {
        width: 100%;
        margin-bottom: 2rem;
    }
}

.customize #product .product-info .product-content {
    width: calc(100% - 2rem);
}

.product-box {
    max-width: calc(100% - 400px);
    word-break: break-all;
    justify-content: space-between;
}

@media (max-width: 640px) {
    .product-box {
        max-width: 100%;
        width: 100% !important;
    }
}

@media (max-width: 991.98px) {
    .product-box {
        max-width: none;
    }
}

@media (min-width: 641px) {
    .product-bottom {
        max-width: 550px;
    }
}


.customize .navbar-expand-lg .nav-link {
    padding-left: 1em;
    padding-right: 1em;
}

.customize #classify .pro-content .card .card-body .card-title {
    height: 1.5rem;
    -webkit-line-clamp: 1;
}

/*.customize .table .input-group .form-control,*/
/*.customize .form-control {*/
/*    height: auto;*/
/*}*/
.customize .table .input-group .btn,
.customize .input-group .btn {
    padding: 0 7px !important;
}

@media (max-width: 991.98px) {
    .customize #history .table .row .cell {
        display: flex;
        padding: 0 1rem 0 1rem;
        line-height: 1.2em;
    }

    .customize #history .table .row .cell::before {
        position: static;
        width: 6rem;
        text-align: left;
    }

    .customize #order .table .row .cell:first-child {
        padding: 0 1rem 0 1rem;
    }
}

@media (min-width: 992px) {
    .customize #classify .class-nav .nav-tabs .nav-item {
        flex-grow: inherit;
        width: calc(100% / 6);
    }
}

.customize .label.label-1 h5 {
    padding: 0 5px 0 5px;
    font-size: 14px;
}

.customize .label h5::before,
.customize .label h5::after {
    right: -8px;
}

.customize .label-custom p {
    background-color: #991b1b;
}

.customize .limit-time p {
    display: block;
    background-color: #991b1b;
    border-radius: 10px 10px 0 0;
}

.customize .swal2-popup .swal2-title {
    font-size: 1.5rem;
    color: #000;
}

.customize .swal2-popup #swal2-content {
    color: #000;
    font-size: 16px;
}

.customize .swal2-popup .swal2-content {
    font-weight: normal;
}

.customize .swal2-popup .swal2-styled:focus {
    box-shadow: none;
}

.customize .swal2-success,
.customize .swal2-error {
    color: transparent;
    border-color: transparent;
}

.customize .swal2-success,
.customize .swal2-error {
    margin-bottom: 20px;
    height: 50px;
}

.customize .swal2-success i {
    color: #22c55e;
    height: 50px;
}

.customize .swal2-error i {
    color: #f27474;
    height: 50px;
}

.customize .swal2-success .bi::before,
.customize .swal2-error .bi::before {
    font-size: 50px;
    vertical-align: 0.15em;
}

.customize .swal2-popup .swal2-close {
    font-size: 50px;
}

.customize .swal2-popup .swal2-close:hover {
    color: #000;
}

.customize .swal2-top-end .swal2-title {
    font-size: 18px;
}

.customize #product .product-info .product-content .product-button {
    margin-bottom: 0;
}

.customize .navbar-dark .navbar-collapse {
    justify-content: flex-end;
}

.customize .navbar-expand-lg .navbar-collapse .form-inline .user-content .user-name .user-text {
    font-size: 12px;
}
.customize .navbar-dark .navbar-collapse .nav-link {
    color: #ffffff;
}

@media (max-width: 768px) {
    .customize .navbar-dark .navbar-collapse .nav-link {
        color: #a8a29e;
    }
    .customize .navbar-expand-lg .navbar-collapse .form-inline .user-content .user-name .user-text {
        font-size: 2rem;
    }
}

.customize #order .payment .body .title {
    text-align: left;
}

@media (max-width: 575.98px) {
    .customize #order .payment .body .title {
        width: 100%;
    }
}

/*== HTML ERROR ==*/
.htmlError {
    display: flex;
    width: 100vw;
    height: 100vh;
    min-width: 800px;
    min-height: 500px;
    justify-content: center;
    align-items: center;
}

.htmlErrorBg {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding-left: 290px;
    padding-bottom: 200px;
    color: #252525;
    width: 800px;
    background: url('../img/error-bg.svg') no-repeat center bottom;
}

.htmlError-title {
    position: relative;
}

.htmlError-title::before {
    position: absolute;
    left: -55px;
    bottom: -4px;
    display: block;
    content: '';
    width: 42px;
    height: 35px;
    background: url('../img/error-title.svg') no-repeat;
}

.htmlError h1 {
    font-size: 150px;
    line-height: 1.2em;
}

.htmlError h2 {
    font-size: 20px;
}

.htmlError .htmlErrorContent {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #8B8B8B;
    width: 100%;
}

.btn-errorLink {
    position: absolute;
    bottom: 90px;
    right: 10px;
    padding: 10px 20px;
    color: #252525;
    border: 1px solid #252525;
    border-radius: 100px;
    text-decoration: none;
}

.btn-errorLink:hover {
    color: #fff;
    background-color: #252525;
}

.customize .navbar-expand-lg .navbar-collapse .form-inline:not(.user-login) {
    min-width: 100px;
}

.user-name .user-text {
    padding: 5px 0;
    width: auto;
}

/*==tinymce html==*/

table,
td {
    border: 1px solid #d6d3d1;
}

.desc-body ul,
.desc-body ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.desc-body ul {
    list-style: disc;
}

.desc-body ol {
    list-style: decimal;
}

.desc-body li {
    margin-bottom: 0.5em;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

.text-14 {
    font-size: 14px
}

.loader {
    color: #fff;
    font-size: 6px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    animation: loading 1.3s infinite linear;
    transform: translateZ(0);
}

@keyframes loading {

    0%,
    100% {
        box-shadow: 0 -3em 0 0.2em,
            2em -2em 0 0em, 3em 0 0 -1em,
            2em 2em 0 -1em, 0 3em 0 -1em,
            -2em 2em 0 -1em, -3em 0 0 -1em,
            -2em -2em 0 0;
    }

    12.5% {
        box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em,
            3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em,
            -2em 2em 0 -1em, -3em 0 0 -1em,
            -2em -2em 0 -1em;
    }

    25% {
        box-shadow: 0 -3em 0 -0.5em,
            2em -2em 0 0, 3em 0 0 0.2em,
            2em 2em 0 0, 0 3em 0 -1em,
            -2em 2em 0 -1em, -3em 0 0 -1em,
            -2em -2em 0 -1em;
    }

    37.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
            3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em,
            -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    50% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
            3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em,
            -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    62.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
            3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0,
            -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }

    75% {
        box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em,
            3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em,
            -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }

    87.5% {
        box-shadow: 0em -3em 0 0, 2em -2em 0 -1em,
            3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em,
            -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
}

.loadingBox {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
}

.customize .navbar-expand-lg .navbar-collapse .form-inline{
    min-width: auto;
}

.customize #order .payment .body .title, .customize #order .bonus_point .body .title, .customize #order .order_price .body .title{
    width: auto;
}

.customize .navbar-expand-lg .navbar-collapse .form-inline .user-content .user-point .point{
    margin-right: 0;
}

.customize .navbar-expand-lg .navbar-collapse .form-inline .user-content .user-point .point .user-text,
.customize .navbar-expand-lg .navbar-collapse .form-inline .user-content .user-name .user-text {
    width: auto;
}


.table-ellipsis{
    display:inline-block; overflow:hidden; white-space: nowrap; text-overflow: ellipsis;
}
.table-orders .cell.date .table-ellipsis{
    width: 5.5em; text-overflow: inherit;
}
@media screen and (min-width: 1025px){
    
    .table-orders .cell.number .table-ellipsis{
        width: 8em;
    }
    
    .table-orders .cell.name .table-ellipsis{
        width: 100%; max-width: 17em;
    }
}
@media screen and (max-width: 1100px){
    .table-orders .cell.number .table-ellipsis{
        width: 7em;
    }
    
    .table-orders .cell.name .table-ellipsis{
        width: 100%; max-width: 9em;
    } 
}


.paymentMethod [type='radio'] {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    min-height: 24px;
    opacity: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.paymentMethod-groupRadio {
    display: flex;
    flex-wrap: wrap;
    margin-right: -40px;
}

@media (max-width: 768px) {
    .paymentMethod-groupRadio {
        margin-right: -30px;
    }
}

@media (max-width: 640px) {
    .paymentMethod-groupRadio {
        margin-right: -40px;
    }
    
    .customize #history .table .row .cell{
        word-break: break-all;
    }
}

.paymentMethod-groupRadio .form-check-inline {
    margin-bottom: 20px;
    width: calc(100% / 3 - 20px);
}

.paymentMethod [type='radio'] + label{
    position: relative;
    padding: 5px 20px;
    border: 1px solid #8B8B8B;
    border-radius: 4px;
    width: 100%;
    height: 100%;
}

.paymentMethod-groupRadio [type='radio'] + label{
    padding: 10px 10px 10px 40px;
}

@media (max-width: 640px) {
    .paymentMethod-groupRadio [type='radio'] + label{
        font-size: 14px;
        padding: 2.5em 10px 0.5em;
    }
}

.paymentMethod-groupRadio [type='radio'] + label::before,
.paymentMethod-groupRadio [type='radio'] + label::after{
    content: '';
    display: block;
    position: absolute;
    top:11px;
    left: 11px;
    width: 20px;
    height: 20px;
}

.paymentMethod-groupRadio [type='radio'] + label::before{
    border: 1px solid #8B8B8B;
    border-radius: 100%;
}

.paymentMethod-groupRadio [type='radio'] + label::after{
    top:14px;
    left: 14px;
    width: 14px;
    height: 14px;
    border-radius: 100%;
}

.paymentMethod-groupRadio [type='radio']:checked + label::before,
.paymentMethod-groupRadio [type='radio']:checked + label::after{
    border: 1px solid #FA9600;
}

.paymentMethod-groupRadio [type='radio']:checked + label::after{
    background-color: #FA9600;
}

.paymentMethod-currency [type='radio']:checked + label,
.paymentMethod-groupRadio [type='radio']:checked + label{
    color: #FA9600;
    border: 1px solid #FA9600;
}

.paymentMethod-groupRadioMore{
    position: relative;
    margin: 20px 0;
    width: calc(100% - 40px);
    height: 1px;
    background-color: #8B8B8B;
}

@media (max-width: 768px) {
    .paymentMethod-groupRadioMore{
         width: calc(100% - 30px);
    }
}

.link-paymentMethodMore{
    position: absolute;
    top: -15px;
    left: calc(50% - 15px);
    width: 30px;
    height: 30px;
    background-color: #fff;
    border: 1px solid #8B8B8B;
    border-radius: 100%;
    animation: transform 0.5s ease;
}

.link-paymentMethodMore::before{
    content:'';
    border: solid black;
    border-width: 0px 2px 2px 0;
    display: inline-block;
    margin-left: 10px;
    padding: 3px;
    transform: rotate(45deg);
}

.customize #order .payment .body .title{
    min-width: 115px;
    align-self: flex-start;
}

.paymentMethod-groupRadioMask{
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    width: 100%;
}

.link-paymentMethodMore.show::before{
    transform: rotate(225deg);
}

.paymentMethod-descript{
    margin: 30px 40px 30px 0;
    padding: 0 20px 20px;
    width: 100%;
    min-height: 3em;
    border-radius: 4px;
    background-color: #f1f1f1;
}

@media (max-width: 768px) {
    .paymentMethod-descript{
        margin: 30px 30px 30px 0;
    }   
}

.paymentMethod-descript:empty{
    display: none;
}

.paymentMethod-descript a {
    color: #000;
    text-decoration: underline;
}

.paymentMethod-descript a:hover{
    color: #FA9600;
}

.paymentMethod-tip{
    margin-top: 20px;
    padding: 10px;
    border: 1px dashed #f27474;
    border-radius: 4px;
    color: #c92525;
}

.paymentMethod-tip a{
    color: #c92525;
}

.paymentMethod-tip a:hover{
    color: #FA9600;
}

.paymentMethod-descriptMain{
    margin-top: 20px;
}

.paymentMethod-descript ul{
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-left: 1.2em;
    list-style-type: disc;
    color: #727272;
}

.paymentMethod-descript ul li{
    display: list-item !important;
    margin-right: 20px;
    width: calc(50% - 20px);
}

.paymentMethod-descript ul li:nth-children(2n){
    margin-right:0;
}

@media (max-width: 640px) {
    .paymentMethod-descript ul li{
        margin-right: 0;
        width: 100%;
    }
}

.paymentMethod-main{
    width: calc(100% - 120px );
}

@media (max-width: 575.98px) {
    .paymentMethod-main{
        width: 100%;
    }   
}

.orderGroup{
    display: flex;
    margin-bottom: 10px;
    padding: 0 1rem;
}

.orderGroup-title{
    min-width: 70px;
}

.orderGroup-info{
    display: flex;
    flex-wrap: wrap;
    margin-left: 20px;
}

.orderGroup-bonusPoint .form-group{
    margin-right: 10px;
}
.orderGroup-bonusPoint .tip {
    order: 3;
    margin-bottom: 1rem;
    width: 100%;
}

.orderGroup-bonusPoint .btn {
    order: 2;
    margin-bottom: 1rem;

}

@media (min-width: 769px) {
.customize .navbar-dark .navbar-collapse{
    flex-basis: auto !important;
}
}

@media (max-width: 1024px) {
    
    .customize .navbar-expand-lg .navbar-collapse .form-inline{
        min-width: auto;
        display: flex;
        order: 1;
        margin-left: 0.5rem;
        /*background-color: transparent;*/
        padding: 0.375rem 0.75rem;
        border-radius: 3.75rem;
        min-width: 260px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .customize .navbar-expand-lg .navbar-collapse .section-01{
        flex-wrap: wrap;
    }
    
    .navbar-expand-lg .navbar-nav{
        flex-direction: row;
    }
    
    .customize .table .row.header{
        display: none;
    }
    
    .collapse:not(.show){
        display: flex;
    }
    
    .pdInfo{
        position: relative;
        display: flex !important;
        flex-wrap: wrap;
        padding: 1rem 1rem 1rem calc(100px + 2rem) !important;
        min-height: calc(100px + 2rem);
    }
    
    .pdInfo .cell{
        width: 50% !important;
    }
    
    .pdInfo .image{
        position: absolute !important;
        top: 1rem;
        left: 1rem;
        padding: 0 !important;
        width: 100px !important;
        height: 100px;
    }
    
    .customize .table .row .cell{
        position: relative;
        display: block;
        padding: 0 1rem 0 6rem;
        line-height: 2.125rem;
        margin-bottom: 0.625rem;
    }
    
    .customize .table .row .cell::before{
        position: absolute;
        top: 0;
        left: 0;
        content: attr(data-title);
        display: inline-block;
        min-width: 6rem;
        width: 6rem;
        font-weight: 700;
        text-align: right;
        padding-right: 1rem;
        word-break: break-all;
    }
    
    .customize .table .row .price{
        text-align: left;
    }
}

@media (max-width: 768px) {
    .collapse:not(.show){
        display: none;
    }
}

@media (max-width: 575.98px) {
    .pdInfo .cell{
        width: 100% !important;
    }
    
    .pdInfo .image{
        width: 100px !important;
    }
        .orderGroup{
        flex-direction: column;
        padding: 0 0.5rem;
    }
    
    .orderGroup-info{
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
    
    .orderGroup-bonusPoint .tip {
        order: 2;
    }
    
    .orderGroup-bonusPoint .btn {
        order: 3;
    
    }
}

@media (max-width: 375px) {
    .pdInfo{
        padding: 1rem 1rem 1rem calc(100px + 1.2rem) !important;
    }
}

@media (max-width: 320px) {
    
    .pdInfo{
        padding: 1rem 1rem 1rem 1rem !important;
    }
    
    .pdInfo .image{
        position: static !important;
        width: 100% !important;
        height: auto;
    }
}
.customize .table .row .price,
.customize .table .row .pay,
.customize .table .row .count{
    width: auto;
    min-width: 105px;
    text-align: left;
}
.customize .table .row .button{
    width: auto;
    min-width: 85px;
}
@media (max-width: 1024px) {
    .customize .table .row.orderCheckRow{
        display: block !important;
        padding: 1rem 0;
    }
    
    .customize .table .row .image{
        width: auto;
    }
}
