.cursor-pointer {
    cursor: pointer;
}

.text-white {
    color: white;
}

.text-white:hover {
    cursor: pointer;
}

.text-back {
    color: black;
}

.text-back:hover {
    color: white !important;
    background-color: #02ccb4;
}

li.active-category {
    opacity: 1 !important;
}

li.active-category a {
    border-bottom: 3px solid #218ea4 !important;
    border-radius: 0 !important;
}

.text-blue {
    color: black;
}

.text-blue:hover {
    color: #218ea4;
}

.selection {
    width: 100%;
    margin-top: 10px;
}

.select2-selection__rendered {
    line-height: 29px !important;
}

.select2-container .select2-selection--single {
    height: 33px !important;
}

.select2-selection__arrow {
    height: 32px !important;
}

.font-iocn-placeholder {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.label-camera {
    min-height: 250px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 5px dashed #888888;
    border-radius: 10px;
}

.label-camera i.fa.fa-camera {
    font-size: 120px;
}

.content-image-homepage {
    position: absolute;
    top: 370px;
    left: 200px;
}

.background-homepage {
    background-color: white;
}

.background-homepage:hover {
    background-color: #e2e4e5;
}

.iconlike-navbar {
    color: gray;
}

.iconlike-navbar:hover {
    transition-duration: 0.3s;
    color: rgb(243, 46, 46);
}

.iconshopping-navbar {
    color: gray;
}

.iconshopping-navbar:hover {
    transition-duration: 0.3s;
    color: #218ea4;
}

.iconmessenger-adminnavbar {
    color: gray;
}

.iconmessenger-adminnavbar:hover {
    transition-duration: 300ms;
    color: #218ea4;
}

.iconbell-adminnavbar {
    color: gray;
}

.iconbell-adminnavbar:hover {
    transition-duration: 300ms;
    color: rgb(243, 243, 49);
}

.force-overflow {
    min-height: 450px;
}

::-webkit-scrollbar {
    width: 7px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 7px;
    --webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #218ea4;
}

.zoom {
    transition: all 0.6s;
    width: 200px;
    height: auto;
    margin: 0 auto;
}

.zoom:hover {
    transform: scale(1.1);
}

.row.border-bottom:last-child {
    border-bottom: none !important;
}

.icon-alert-index {
    padding: 10px;
    position: absolute;
    top: -16px;
    left: calc(100% - 9px);
    border-radius: 50%;
    font-family: "Kanit", Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 300;
    width: 25px;
    height: 25px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.navbar-mobile {
    position: sticky;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 10;
}

.navbar-mobile a.active {
    color: #218ea4;
}

.slide-bg {
    position: fixed;
    top: 85px;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9;
    transform: translateX(100%);
    transition: cubic-bezier(0.22, 0.61, 0.36, 1) 300ms;
}

#hidden_product_export {
    position: absolute;
    display: block;
    overflow: hidden;
    align-items: center;
    right: 0%;
    width: 40px;
    top: 1px;
    height: 35px;
    transition: width 0.7s;
}

#hidden_product_export:hover {
    width: 170px;
    height: 35px;
}

.slide-bg.show {
    transform: translateX(0%);
}

.slide-menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    overflow: hidden;
}

.slide-menu-body {
    display: block;
    position: relative;
    height: 100%;
}

.click-anime {
    animation: click-anime-action 350ms ease infinite;
}

@keyframes click-anime-action {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.card-menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    overflow-x: hidden;
    overflow-y: auto;
}

.card-menu {
    animation: card-menu-show 300ms ease-in-out forwards;
}

@keyframes card-menu-show {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0%);
    }
}

.card-menu-hide {
    animation: card-menu-hide 300ms ease-in-out forwards;
}

@keyframes card-menu-hide {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Spinner */

.bg-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.8);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    animation: spinner-show 400ms ease-in-out forwards;
}

.spinner {
    position: relative;
    width: 60px;
    height: 60px;
}

.spinner::before {
    content: "";
    width: 60px;
    height: 60px;
    border-radius: 100%;
    position: absolute;
    background-image: url("/assets/imgs/BNK-MASTER-TITLE-PNG.png");
    background-size: cover;
    top: -2px;
    left: -2px;
}

.spinner .spinner-text {
    width: max-content;
    position: absolute;
    top: 120%;
    left: 50%;
    font-size: 20px;
    transform: translateX(-50%);
    color: #50adc0;
}

.spinner::after {
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    position: absolute;
    border: 2px solid transparent;
    border-left: 2px solid #50adc0;
    border-right: 2px solid #50adc0;
    border-radius: 60px;
    top: -2px;
    left: -2px;
}

.spinner::after {
    animation: spinner-load 1s linear infinite;
}

.spinner-hide {
    animation: spinner-hide 600ms ease-in-out forwards;
}

@keyframes spinner-show {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes spinner-hide {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes spinner-load {
    0% {
        transform: rotate(0deg) scale(1.1);
    }
    50% {
        transform: rotate(45deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1.1);
    }
}

.buttom-success {
    background-color: #17b87e;
    color: white;
}

.buttom-success:hover {
    background-color: #119062;
    color: white;
}

.list-input-search {
    overflow: hidden;
    max-height: 400px;
    z-index: 999;
    position: absolute;
    top: calc(0.2rem + 100%);
    left: 0;
    right: 0;
    border-radius: 0 0 5px 5px;
    box-shadow: 0px 8px 8px 2px #cccccc;
}

.label-show-promotion {
    background-color: rgb(255, 172, 53);
    border-radius: 10px;
    color: white;
    padding: 5px 7px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 80%;
    margin: 4px 2px;
    cursor: pointer;
}

.slideIn {
    z-index: 1200;
    width: 520px;
    transition: 0.5s;
    top: 20px;
    left: 5px;
    position: fixed;
    max-height: 90%;
    box-shadow: 0 0 54px -21px #676767;
}

@media only screen and (max-width: 540px) {
    .slideIn {
        z-index: 1200;
        width: 100%;
        transition: 0.5s;
        top: 100px;
        left: 5px;
        position: fixed;
        max-height: 890px;
        height: 890px;
        box-shadow: 0 0 54px -21px #676767;
        border-radius: 10px;
        overflow: scroll;
    }
}

.slideOut {
    z-index: 1200;
    width: 650px;
    transition: 0.5s;
    top: 20px;
    left: -200%;
    position: fixed;
    max-height: 70%;
    box-shadow: 0 0 54px -21px #676767;
}

@media only screen and (max-width: 540px) {
    .slideOut {
        z-index: 1200;
        width: 100%;
        transition: 0.5s;
        top: 100px;
        left: -200%;
        position: fixed;
        max-height: 839px;
        height: 839px;
        box-shadow: 0 0 54px -21px #676767;
        border-radius: 10px;
        overflow: scroll;
    }
}

tr.active>td {
    background-color: #53a8b530;
}

tr.active>td:first-child {
    border-radius: 5px 0 0 5px;
}
tr.active>td:last-child {
    border-radius: 0 5px 5px 0;
}

.card-header .rotate-icon{
    transition:all 300ms;
}

.card-header[aria-expanded="true"] .rotate-icon{
    transform: rotate(-90deg);
}

.notifization-message {
    position: absolute;
    top: -30%;
    right: -10%;
    border: 1px solid red;
    background-color: red;
    border-radius: 50%;
    z-index: 1;
    width: 23px;
}

.card-detail-qty {
    position: fixed;
    background-color: white;
    border-radius: 2%;
    transition: 0.5s;
    top: 40%;
    width: 300px;
    height: 30%;
    right: -70%;
    z-index: 2;
    padding: 15px;
}

.card-in-detail-qty {
    position: fixed;
    width: 300px;
}

.ui-autocomplete { 
  z-index: 9999999 !important; 
  position: absolute;
}

.ui-widget-content{
    max-height:120px;
    overflow-x:hidden;
    overflow-y:auto;
 }

 .ui-widget-content .ui-menu-item{
     border-bottom: 1px solid #e4e4e4;
 }

 #spec_store div div:nth-child(2){
    white-space: pre-wrap;
 }

 .custom-icon{
    width: 2rem;
    height: 2rem;
    background-size: contain !important;
    background-repeat: no-repeat !important;
 }

 .opacity-25{
    opacity: 0.25;
 }