

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');

::-webkit-scrollbar {
    width: 8px;
}

.img-logo {
    width: 50px;
    height: 50px;
}

.dropdown-toggle {
    border: none !important;
    border-radius: 50% !important;
    padding: 0 !important;
    background: transparent;
    
}

.img-logo-profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.login-box {
    width: 450px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
    margin: auto;
    margin-top: 150px;
}

.test {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 55px;
}

label {
    position: relative;
}

label input {
    background: transparent;
    padding: 0.5rem 2.2rem 0.5rem 0.6rem;
    min-width: 24rem;
    border-radius: 0.2rem;
    border: 2px solid #7a7a7a56;
    transition: border-color 0.2s;
}

label .password-icon {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    right: 1.2rem;
    transform: translateY(-50%);
    width: 1.2rem;
    transition: color 0.2s;
}

label p {
    font-size: 1rem;
    user-select: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0.8rem;
    padding: 0 0.88rem;
    background: #FAFAFA;
    transition: top 0.2s, font-size 0.2s, color 0.2s;
}

label input:not(:focus)+p {
    color: #7a7a7a56;
}

.dropdown-menu .danger:hover {
    background-color: #FBE9EB !important;
    color: #f50c2b;
    border-radius: 5%;
}

.profile-drop {
    display: flex;
    align-items: center;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
}

.profile-drop img {
    width: 50px;
    /* ปรับขนาดตามที่ต้องการ */
    height: auto;
    /* ปรับความสูงให้เป็นอัตโนมัติ */
    margin-right: 10px;
    /* ปรับระยะห่างระหว่างรูปภาพและข้อความ */
}

.fs-10 {
    font-size: 12px;
}

.dropdown-menu {
    min-width: auto;
    /* ปรับความยาวตามเนื้อหาข้างใน */
}

.carousel-indicators {
    list-style: none;
    padding: 0;
    margin: 0;
}

.carousel-indicators li {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: gray;
    margin: 0 5px;
    cursor: pointer;
}

.nav-link {
    position: relative;
    transition: all 0.3s;
}

.product-sell-of-week {
    display: flex;
    max-width: 100%;
    height: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    gap: 20px;
}

.product-sell-of-week .product-sell-of-week-type-text {
    position: relative;
}

.product-sell-of-week-1 {
    display: flex;
    max-width: 100%;
    height: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    gap: 20px;
}

.product-sell-of-week-1 .product-sell-of-week-type-text {
    position: relative;
}

.product-sell-of-week-1 .mb-6 {
    display: flex;
    align-items: center;
}

.product-sell-of-week-1 h1 {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    margin-top: -3vh;
    text-orientation: mixed;
}

.product .product-img {
    height: 20vh;
    margin-left: auto;
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    transition: all 0.5s;
}

.product {
    position: relative;
    text-align: center;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
}

.best-seller p {
    position: absolute;
    top: 65px;
    right: -15px;
    width: 50px;
    rotate: 90deg;
    color: #fff;
    transition: all 0.5s;
}

.product:hover .product-img,
.product:focus .product-img {
    filter: grayscale(100%) blur(4px);
}

/*---------------------------------------------*/
.product-category {
    position: relative;
    text-align: center;
    overflow: hidden;
    border-radius: 10px;
    /*border: 1px solid #ccc;*/
    transition: all 0.3s ease;
    transition: all 0.5s;
}

.product-category .category-img {
    height: auto;
    margin-left: auto;
    width: 100%;
    border-radius: 20px;
    transition: all 0.5s;
    object-fit: cover;
}

#category-name {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.5s;
}

.product-category:hover .view-label,
.product-category:focus .view-label {
    transform: translate(-50%, -50%) scale(1);
}

.product-category:hover .category-img,
.product-category:focus .category-img {
    filter: grayscale(100%) blur(4px);
}

.btn-transparent {
    border: 0;
    background-color: transparent;
}

table tr td,
table tr th {
    background-color: rgba(211, 130, 240, 0) !important;
}

.fixed {
    position: fixed;
    z-index: 99999999;
    width: 100%;
    margin: 0;
    top: 0;
    left: 0;
    right: 0;
}


.mt-lx-5 {
    margin-top: 7rem;
}

.mobox {
    width: 90%;
    /* ปรับขนาดให้เต็มหน้าจอ */
    max-width: 500px;
    /* กำหนดขนาดสูงสุดของ .mobox */
    margin: auto;
    /* ทำให้ .mobox อยู่กลางแนวนอน */
    margin-top: calc(25vh - 10%);
    /* คำนวณให้ .mobox อยู่กลางแนวตั้ง */
    background: #FFFFFF;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
    border-radius: 3vh;
    min-width: 100px;
}

.mobox h3 {
    font-size: 1rem;
    /* ปรับขนาดฟอนต์สำหรับหัวข้อเข้าสู่ระบบ */
}

.mobox h5 {
    font-size: 2.5rem;
    /* ปรับขนาดฟอนต์สำหรับหัวข้อเข้าสู่ระบบ */
}

.mobox form {
    font-size: 1rem;
    /* ปรับขนาดฟอนต์สำหรับฟอร์มเข้าสู่ระบบ */
}

.mt-lg-5 {
    margin-top: 3rem !important;
    /* ปรับค่า mt-5 เมื่อเข้าสู่ขนาดจอมือถือ */
}

.footer-mo {
    font-size: 1rem;
    /* ปรับค่า mt-5 เมื่อเข้าสู่ขนาดจอมือถือ */
}


.bg-center {
    background-position: center;
}

.bg-cover {
    background-size: cover;
}

.h-screen {
    height: 100vh;
}

.relative {
    position: relative;
}

.myContainer {
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
    max-width: 1280px;
}

.pt-24 {
    padding-top: 6rem;
}

.pt-20 {
    padding-top: 3rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.right-0 {
    right: 0;
}

.caw {
    width: 1050px;
    height: 390px;
    margin-top: 19vh;
    right: 0;
    z-index: 2;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/*.caw {
    animation: bounce 1s infinite;
}*/

.bg-zinc-900 {
    --tw-bg-opacity: 1;
    background-color: rgb(24 24 27 / var(--tw-bg-opacity));
}

/*.bg-gradient-to-b {
    background-image: linear-gradient(0deg, #0087b3 10%, #0076a3 80%);
    box-shadow: #0087b3c9 0px 22px 70px 4px;
    z-index: 9;
}*/

.pd-9 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.title-box {
    position: absolute;
    z-index: 1;
    left: 38%;
    transform: translateX(-38%);
    background-color: rgb(24 24 27 / var(--tw-bg-opacity));
    font-weight: 900;
    font-size: 34px;
}

.top-41 {
    top: 4.8rem;
}

.bg-box-rg {
    margin-right: -3.5rem;
}

.bg-box-lf {
    margin-left: -3.5rem;
}

.title-name-web-t {
    font-size: 92px;
}

@media (max-width: 576px) {

    .title-name-web-t {
        font-size: 2rem;
    }

    .hh {
        gap: 100px;
    }

    .product {
        position: relative;
        text-align: center;
        overflow: hidden;
        border-radius: 10px;
        border: 1px solid #ccc;
        transition: all 0.3s ease;
        width: 250px;
    }
    
}

@media (max-width: 1045px) {
    .bg-box-rg {
        margin-right: 0;
    }

    .bg-box-lf {
        margin-left: 0;
    }
}


@media (max-width: 720px) {
    .caw {
        width: 350px;
        height: 350px;
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 2;
    }
}

@media (max-width: 745px) {
    .title-box {
        position: absolute;
        z-index: 1;
        left: 25%;
        transform: translateX(-25%);
        background-color: rgb(24 24 27 / var(--tw-bg-opacity));
        font-weight: 900;
        font-size: 18px;
    }

    .top-41 {
        top: 5.0rem;
    }
}

@media screen and (max-width: 768px) {
    .mobox {
        margin-top: calc(30vh - 50%);
        /* ปรับ margin-top เมื่อเข้าสู่ขนาดจอมือถือ */
    }

    .mobox h3 {
        font-size: 0.875rem;
        /* ปรับขนาดฟอนต์สำหรับหัวข้อเข้าสู่ระบบในมือถือ */
    }

    .mobox h5 {
        font-size: 1.25rem;
        /* ปรับขนาดฟอนต์สำหรับหัวข้อเข้าสู่ระบบในมือถือ */
    }

    .mobox form {
        font-size: 0.875rem;
        /* ปรับขนาดฟอนต์สำหรับฟอร์มเข้าสู่ระบบในมือถือ */
    }

    .mobox .mt-lg-5 {
        margin-top: 1rem !important;
        /* ปรับค่า mt-5 เมื่อเข้าสู่ขนาดจอมือถือ */
    }

    .mobox .footer-mo {
        font-size: 0.7rem;
        /* ปรับค่า mt-5 เมื่อเข้าสู่ขนาดจอมือถือ */
    }

    .mobox .wave-group .label {
        color: #999;
        font-size: 0.875rem;
        font-weight: normal;
        position: absolute;
        pointer-events: none;
        left: 5px;
        top: 10px;
        display: flex;
    }

    .mobox .wave-group .label-char {
        transition: 0.2s ease all;
        transition-delay: calc(var(--index) * 0.05s);
    }

    .mobox .wave-group .input:focus~label .label-char,
    .mobox .wave-group .input:valid~label .label-char {
        transform: translateY(-20px);
        font-size: 0.875rem;
        color: rgb(0, 174, 255);
    }
}

.box-us {
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 1rem;
    width: 100%;
    max-width: 700px;
}

.font-bole {
    font-weight: 900;
    color: white;
    font-size: 24px;
    margin-top: 0px;
}

.regi {
    margin-top: 12vh;
}

.min-h-screen {
    min-height: 100vh;
}

.bl {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.bg-bl {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

@media (max-width: 992px) {
    .bg-bl {
        -webkit-backdrop-filter: blur(50px);
        backdrop-filter: blur(50px);
    }
}


/*-**--------------------------------------------------------*/

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.admin-sidebar {
    position: fixed;
}

.test1 {
    height: 50vh;
}

/*Manager*/
.admin-sidebar {
    position: fixed;
    margin-top: 3%;
  }

  .sidebar {
    height: 100vh;
    width: 100%;
    max-width: 350px;
    position: fixed;
    top: 0;
    left: -100%;
    padding: 25px 20px;
    background-color: #fff;
    z-index: 50;
    transition: left 0.4s;
    overflow: auto;
  }

  .sidebar-btn {
    border: none;
    display: block;
    background-color: inherit;
  }

  .menu_title {
    position: relative;
    height: 50px;
    width: 100%;
    transition: 0.3s;
    border-radius: 8px;
    box-shadow: 0 0px 0px 0px, 0 0px 0px 0px, 0 0px 0px 0px;
  }

  .sidebar_flex {
    display: flex;
    align-items: center;
  }

  .menu_title .title {
    color: rgb(255, 255, 255);
    font-size: 20px;
    transition: all 0.3s ease;
  }

  .accordion-body {
    padding: 0rem 1.25rem;
  }

  .item {
    list-style: none;
  }

  .link {
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 8px;
    color: #ffffff;
    transition: 0.3s;
    border: 2px solid transparent;
    transition: all 0.3s;
    padding: 10px;
  }

  .sidebar_flex {
    display: flex;
    align-items: center;
  }

  main {
    margin-left: 0;
    min-height: 100vh;
    padding: 25px;
    background-color: rgb(231, 231, 231);
  }

  @media (min-width: 768px) {
    .sidebar {
      left: 0;
    }
    main {
      margin-left: 350px;
    }
  }

  .admin-align-items-center {
    align-items: center !important;
}

.admin-d-flex {
    display: flex !important;
}
.admin-nav {
    background-color: #fff;
    border-radius: 5px;
    padding: 10px 35px;
    margin-bottom: 25px;
}

@media (max-width: 1200px) {
    .sidebar-btn {
        display: block;
    }
}

div.table-responsive>div.dataTables_wrapper>div.row {
    margin: 0;
}

div.dataTables_wrapper div.dataTables_length select {
    width: auto;
    display: inline-block;
}

div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:last-child {
    padding-right: 0;
}

div.dataTables_wrapper div.dataTables_filter {
    text-align: right;
}

div.dataTables_wrapper div.dataTables_filter input {
    margin-left: .5em;
    display: inline-block;
    width: auto;
}

.intro,
.intro a{
  color:#fff;
  font-family:
}
/* customizable snowflake styling */
.snowflake {
  color: #fff;
  font-size: 1em;
  font-family: Arial;
  text-shadow: 0 0 1px #000;
}

@-webkit-keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@-webkit-keyframes snowflakes-shake{0%{-webkit-transform:translateX(0px);transform:translateX(0px)}50%{-webkit-transform:translateX(80px);transform:translateX(80px)}100%{-webkit-transform:translateX(0px);transform:translateX(0px)}}@keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@keyframes snowflakes-shake{0%{transform:translateX(0px)}50%{transform:translateX(80px)}100%{transform:translateX(0px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-duration:10s,3s;-webkit-animation-timing-function:linear,ease-in-out;-webkit-animation-iteration-count:infinite,infinite;-webkit-animation-play-state:running,running;animation-name:snowflakes-fall,snowflakes-shake;animation-duration:10s,3s;animation-timing-function:linear,ease-in-out;animation-iteration-count:infinite,infinite;animation-play-state:running,running}.snowflake:nth-of-type(0){left:1%;-webkit-animation-delay:0s,0s;animation-delay:0s,0s}.snowflake:nth-of-type(1){left:10%;-webkit-animation-delay:1s,1s;animation-delay:1s,1s}.snowflake:nth-of-type(2){left:20%;-webkit-animation-delay:6s,.5s;animation-delay:6s,.5s}.snowflake:nth-of-type(3){left:30%;-webkit-animation-delay:4s,2s;animation-delay:4s,2s}.snowflake:nth-of-type(4){left:40%;-webkit-animation-delay:2s,2s;animation-delay:2s,2s}.snowflake:nth-of-type(5){left:50%;-webkit-animation-delay:8s,3s;animation-delay:8s,3s}.snowflake:nth-of-type(6){left:60%;-webkit-animation-delay:6s,2s;animation-delay:6s,2s}.snowflake:nth-of-type(7){left:70%;-webkit-animation-delay:2.5s,1s;animation-delay:2.5s,1s}.snowflake:nth-of-type(8){left:80%;-webkit-animation-delay:1s,0s;animation-delay:1s,0s}.snowflake:nth-of-type(9){left:90%;-webkit-animation-delay:3s,1.5s;animation-delay:3s,1.5s}
/* Demo Purpose Only*/
.demo {
  font-family: 'Raleway', sans-serif;
	color:#fff;
    display: block;
    margin: 0 auto;
    padding: 15px 0;
    text-align: center;
}
.demo a{
  font-family: 'Raleway', sans-serif;
color: #000;		
}