* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Kanit", sans-serif;
}
a {
    text-decoration: none !important;
}
.form-switch .form-check-input {
    transition: all 0.2s cubic-bezier(0.23, 1, 0.320, 1) !important;
}

::-webkit-scrollbar {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

._navbar {
    position: fixed;
    width: 100%;
    height: 60px;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 997;
}

._nav-brands {
    margin-left: 25px;
}

._nav-brands a {
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

._nav-brands a span {
    font-weight: bold;
    font-size: 18px;
    font-family: "Merriweather Sans", sans-serif !important;
    background: linear-gradient(109.6deg, rgb(0, 204, 130) 11.2%, rgb(58, 181, 46) 91.7%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1.5px;
}

._nav-brands a img {
    width: 60px;
    height: 50px;
}

._navbar .right .profile-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 50px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease-in-out;
    height: 100%;
}

._navbar .right .profile-content .avatar {
    margin-right: 10px;
}

._navbar .right .profile-content .avatar img {
    border-radius: 100px;
    width: 40px;
    height: 40px;
}

._navbar .right .profile-content .icon {
    margin-left: 10px;
}

._navbar .bars {
    display: none;
    margin-left: 10px;
    margin-right: 10px;
}

._navbar .bars button {
    background: transparent;
    border: none;
    color: #000;
    text-align: center;
    font-size: 25px;
    padding: 10px;
    transition: all 0.1s ease-in-out;
}


/* sidebar */

.sidebar {
    position: fixed;
    padding-top: 60px;
    min-height: 100vh;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    width: 280px;
    background: #fff;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul:first-child {
    background: rgba(249, 250, 251, 1);
    margin: 10px;
    border-radius: 5px;
    padding: 10px;
    list-style: none;
    list-style-type: none;
    display: flex;
    flex-direction: column;
}

.sidebar ul .li-links {
    opacity: 0.8;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
}

.sidebar ul .li-links.active {
    opacity: 1;
}

.sidebar ul .li-links.slide {
    height: auto;
    transition: all 0.2s ease-in-out;
}

.sidebar ul .li-links.slide a {
    justify-content: space-between;
}

.sidebar ul .li-links.slide a.down .arrow i {
    transform: rotate(-180deg);
}

.sidebar ul .li-links.slide a .arrow {
    width: 30px;
    cursor: pointer;
}

.sidebar ul .li-links.slide a .arrow i {
    transition: all 0.2s ease-in-out;
}

.sidebar ul .li-links.slide a .text {
    width: 100%;
}

.sidebar ul .li-links.slide ul {
    color: rgba(156, 163, 175, 1);
    margin-left: 12.5px;
}

.sidebar ul .li-links.slide ul {
    display: flex;
    flex-direction: column;
}

.sidebar ul .li-links.slide ul li {
    padding: 5px;
}

.sidebar ul .li-links.slide a~ul {
    margin: 0;
    padding: 0;
    opacity: 0;
    height: 0;
    pointer-events: none;
    cursor: default;
    transition: all 0.2s ease-in-out;
}

.sidebar ul .li-links.slide a.down~ul {
    margin-left: 20px;
    padding: auto;
    display: flex;
    flex-direction: column;
    opacity: 1;
    pointer-events: all;
    cursor: auto;
    height: auto;
}

.sidebar ul .li-links.slide a.down~ul li a {
    transition: all 0.2s ease-in-out;
}

.sidebar ul .li-links.slide a.down:hover~ul li a {
    color: #fff;
}

.sidebar ul .li-links.slide a.down~ul li a:hover {
    transform: scale(1.025);
}

.sidebar ul .li-links:hover {
    transform: scale(1.025);
    background: rgb(58, 181, 46);
    color: #fff;
}

.sidebar ul .li-links:hover a {
    color: #fff;
}

.sidebar ul .li-links a {
    color: rgba(156, 163, 175, 1);
    text-decoration: none;
    font-size: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.sidebar ul .li-links a div.icon {
    font-size: 18px;
    text-align: left;
    min-width: 35px;
}

.sidebar ul li.line {
    border: 0.5px solid rgb(226, 221, 221);
    margin-top: 10px;
    margin-bottom: 10px;
}


/* toast */

.toast-content {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 100%;
    z-index: 50;
}

.content {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
}

.toast-card {
    margin: 10px;
    padding: 10px;
    width: 360px;
    height: 60px;
    border: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.9;
}

.toast-card:hover {
    opacity: 1;
}

.toast-blue {
    background: rgba(0, 94, 255, 0.8);
    box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px, rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
}

.toast-card .left {
    padding-right: 10px;
    display: flex;
    align-items: center;
    border-right: 2px solid #fff;
}

.toast-card .left span {
    color: #fff;
    font-size: 18px;
    font-family: "Courier New", Courier, monospace;
    white-space: nowrap;
}

.toast-card .left i {
    color: #fff;
    margin-right: 5px;
    font-size: 18px;
}

.toast-card .center {
    padding: 10px;
    font-size: 15px;
    color: #fff;
    width: 100%;
}

.toast-card .right {
    padding: 10px;
    font-size: 22px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.toast-card .close-toast {
    opacity: 0;
    width: 20px;
    height: 20px;
    font-size: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    background-color: rgba(213, 213, 213, 0.7);
    position: absolute;
    margin-top: -57px;
    margin-left: -21px;
    transition: all 0.1s ease-in-out;
}

.toast-card:hover .close-toast {
    opacity: 1;
}

.btn-upper {
    border: none;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    bottom: 0;
    margin: 10px;
    border-radius: 5px;
    width: 50px;
    height: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgb(0, 123, 37);
    transition: all 0.3s ease-in-out;
    z-index: 100;
}

.btn-upper.show {
    opacity: 1;
    pointer-events: all;
    cursor: pointer;
}

.btn-upper.show:hover {
    transform: scale(1.1);
}
/*Accordion style*/
.custom-accordion .accordion-item {
  background-color: #fff;
  margin-bottom: 10px;
  border-radius: 4px;
  position: relative; }
  .custom-accordion .accordion-item .btn-link {
    display: block;
    width: 100%;
    padding: 15px;
    text-decoration: none;
    text-align: left;
    color: #999;
    border: 1px solid #efefef;
    padding-left: 40px;
    position: relative; }
    .custom-accordion .accordion-item .btn-link:before {
      font-family: 'icomoon';
      content: "\e313";
      position: absolute;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      left: 15px; }
    .custom-accordion .accordion-item .btn-link[aria-expanded="true"]:before {
      font-family: 'icomoon';
      content: "\e316";
      position: absolute;
      color: #72c02c;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      left: 15px; }
  .custom-accordion .accordion-item.active {
    z-index: 2; }
    .custom-accordion .accordion-item.active .btn-link {
      border: 1px solid #72c02c;
      color: #72c02c; }
  .custom-accordion .accordion-item .accordion-body {
    padding: 20px 20px 20px 20px;
    color: #888; }

@media only screen and (min-width: 2000px) {
    /* for sumo sized (mac) screens */
}

@media screen and (max-width: 1440px) {
    /*100%*/
}

@media screen and (max-width: 1350px) {
    /*110%*/
}

@media screen and (max-width: 1152px) {
    /*125%*/
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: portrait) {
    /* For portrait layouts only */
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: landscape) {
    /* For landscape layouts only */
}

@media screen and (max-width: 960px) {
    /*150%*/
}

@media screen and (max-width: 830px) {
    /*175%*/
    ._navbar .left {
        display: flex;
        flex-direction: row;
    }
    ._navbar .bars {
        display: block;
    }
}

@media only screen and (device-width: 768px) {
    /* default iPad screens */
}

@media screen and (max-width: 720px) {
    /*200%*/
}

@media screen and (max-width: 576px) {
    /*250%*/
}

@media screen and (max-width: 480px) {
    /*300%*/
}

@media screen and (max-width: 360px) {
    /*400%*/
}

@media screen and (max-width: 320px) {
    /*mobile%*/
}

@media screen and (max-width: 288px) {
    /*500%*/
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}