:root {
    --white: #fff;
    --black: #000;
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-150: #eeeeee;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --neutral-950: #0a0a0a;
    --danger-50: #fef2f2;
    --danger-100: #fee2e2;
    --danger-200: #fecaca;
    --danger-300: #fca5a5;
    --danger-400: #f87171;
    --danger-500: #ef4444;
    --danger-600: #dc2626;
    --danger-700: #b91c1c;
    --danger-800: #991b1b;
    --danger-900: #7f1d1d;
    --danger-950: #450a0a;
    --warn-50: #feffed;
    --warn-100: #f8f6b4;
    --warn-200: #f7f4a1;
    --warn-300: #f5f183;
    --warn-350: #fff3cd;
    --warn-400: #f4f07b;
    --warn-450: #ffe69c;
    --warn-500: #f3ee68;
    --warn-600: #f1ec55;
    --warn-700: #f0ea42;
    --warn-800: #ede61d;
    --warn-900: #FFC107;
    --warn-950: #FF9800;
    --warn-1000: #664d03;
    --warning-50: #fff7ed;
    --warning-100: #ffedd5;
    --warning-200: #fed7aa;
    --warning-300: #fdba74;
    --warning-400: #fb923c;
    --warning-500: #f97316;
    --warning-600: #ea580c;
    --warning-700: #c2410c;
    --warning-800: #9a3412;
    --warning-900: #7c2d12;
    --warning-950: #431407;
    --success-50: #ecfdf5;
    --success-100: #d1fae5;
    --success-200: #a7f3d0;
    --success-300: #6ee7b7;
    --success-350: #d1e7dd;
    --success-400: #34d399;
    --success-450: #a3cfbb;
    --success-500: #10b981;
    --success-600: #059669;
    --success-700: #047857;
    --success-800: #065f46;
    --success-900: #064e3b;
    --success-950: #022c22;
    --info-50: #eff6ff;
    --info-100: #dbeafe;
    --info-200: #bfdbfe;
    --info-300: #93c5fd;
    --info-400: #60a5fa;
    --info-500: #3b82f6;
    --info-600: #2563eb;
    --info-700: #1d4ed8;
    --info-800: #1e40af;
    --info-900: #1e3a8a;
    --info-950: #172554;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    --primary-950: #172554;
    --purple-50: #eef2ff;
    --purple-100: #e0e7ff;
    --purple-200: #c7d2fe;
    --purple-300: #a5b4fc;
    --purple-400: #818cf8;
    --purple-500: #6366f1;
    --purple-600: #4f46e5;
    --purple-700: #4338ca;
    --purple-800: #3730a3;
    --purple-900: #312e81;
    --purple-950: #1e1b4b;
    --text-xxs: 10px;
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;
    --text-4xl: 36px;
    --text-5xl: 48px;
    --rounded-sm: 2px;
    --rounded: 4px;
    --rounded-md: 6px;
    --rounded-lg: 8px;
    --rounded-xl: 12px;
    --rounded-full: 999px;
    --duration-150: 150ms;
}
*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
* {
    font-family: "Inter", "Arial", "Sarabun";
    user-drag: none;
    -webkit-user-drag: none;
}
a, input {   
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-decoration:none;
}
input,
textarea,
select,
button {
    font-family: inherit;
}
html, body, * { touch-action: manipulation!important }
hr {
    margin: 8px 0;
    outline: 0;
    border: 0;
    background: var(--neutral-200);
    height: 1px;
}
section {
    margin-bottom: 16px;
}
.text-danger {
    color: var(--danger-600)!important;
}
.text-secondary {
    color: var(--neutral-500);
}
.btn {
    height: 32px;
    grid-gap: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0 12px;
    font-size: var(--text-base);
    border-radius: var(--rounded-md);
    white-space: nowrap;
    line-height: 1;
}
.btn-icon {
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--rounded-full);
}
.btn-block {
    width: 100%;
}
.btn-light {
    background-color: transparent;
    color: var(--primary-600);
}
.dropdown.active > .btn-light,
.btn-light:hover {
    background-color: var(--primary-50);
    color: var(--primary-600);
}

.btn-lighter {
    background-color: transparent;
    color: var(--neutral-500);
}
.btn-lighter:hover {
    background-color: var(--neutral-100);
    color: var(--neutral-500);
}

.btn-danger-light {
    background-color: transparent;
    color: var(--danger-600);
}
.btn-danger-light:hover {
    background-color: var(--danger-100);
    color: var(--danger-600);
}

.btn-primary {
    background-color: var(--primary-600)!important;
    color: var(--white)!important;
}
.btn-primary:hover {
    background-color: var(--primary-700)!important;
}

.btn-danger {
    background-color: var(--danger-500);
    color: var(--white);
}
.btn-danger:hover {
    background-color: var(--danger-600);
}

.btn-secondary {
    background-color: var(--neutral-500);
    color: var(--white);
}
.btn-secondary:hover {
    background-color: var(--neutral-600);
}

.btn-success {
    background-color: var(--success-600);
    color: var(--white);
}
.btn-success:hover {
    background-color: var(--success-700);
}
.text-primary {
    color: var(--primary-600);
}







.form {
    font-size: var(--text-sm);
    margin: 16px 0;
}
.form p {
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 6px;
}
.form-control {
    height: 36px;
    border-radius: var(--rounded-md);
    border: 1px solid var(--neutral-200);
    outline: none;
    transition-duration: var(--duration-150);
    padding: 0 16px;
    width: 100%;
    background-color: var(--neutral-50);
    color: var(--neutral-800);
}
.form-control:focus {
    box-shadow: 0 0 0 1px var(--primary-500);
    border-color: var(--primary-500);
}
.form-select {
    display: block;
    width: 100%;
    outline: none;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}
.form-select:focus {
    box-shadow: 0 0 0 1px var(--primary-500);
    border-color: var(--primary-500);
}
.disabled {
    color: var(--neutral-400)!important;
    pointer-events: none!important;
}
.form-container {
    display: flex;
    grid-gap: 8px;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
}
.form-column {
    flex-direction: column;
    align-content: flex-start
}
.form-radio {
    display: inline-flex;
    align-content: center;
    align-items: center;
    flex: 1;
}
.form-radio input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.form-radio label {
    cursor: pointer;
    padding-left: 6px;
}
.form-checkbox {
    display: inline-flex;
    align-content: center;
    align-items: center;
    flex: 1;
}
.form-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: 1px solid var(--neutral-200);
}
.form-checkbox label {
    cursor: pointer;
    padding-left: 6px;
}
.dropdown {
    position: relative;
}
.dropdown-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: none;
    background-color: var(--white);
    border-radius: var(--rounded-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--neutral-100);
}
.dropdown.active .dropdown-menu-wrapper {
    display: block;
}
.dropdown-menu {
    padding: 8px 0;
    list-style-type: none;
    width: 150px;
}
.dropdown-menu-item-link {
    height: 32px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    text-decoration: none;
    color: var(--neutral-700);
}
.dropdown-menu-item-link:hover {
    background-color: var(--neutral-100);
    color: var(--black);
}
.dropdown-menu-item-link-image {
    height: 20px;
    flex-shrink: 0;
    margin-right: 8px;
}
.dropdown-menu-item-link-text {
    font-size: var(--text-sm);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    min-width: 0;
    width: 100%;
}
.dropdown-menu-item-link-icon {
    font-size: var(--text-lg);
    flex-shrink: 0;
    margin-right: 8px;
}
.dropdown-content {
    width: 300px;
}
.dropdown-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    border-bottom: 1px solid var(--neutral-200);
    padding: 0 12px;
}
.dropdown-content-title {
    font-weight: 600;
    font-size: var(--text-sm);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    min-width: 0;
    margin-right: 8px;
}
.dropdown-content-header > .badge {
    flex-shrink: 0;
}
.dropdown-content-bottom {
    padding: 12px;
}
.badge {
    height: 20px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    border-radius: var(--rounded-full);
    font-size: var(--text-xs);
    font-weight: 600;
    width: fit-content;
}
.badge-primary {
    background-color: var(--primary-100);
    color: var(--primary-500);
    white-space: nowrap;
}
.badge-success {
    background-color: var(--success-100);
    color: var(--success-500);
    white-space: nowrap;
}
.badge-danger {
    background-color: var(--danger-100);
    color: var(--danger-500);
    white-space: nowrap;
}
.badge-purple {
    background-color: var(--purple-100);
    color: var(--purple-500);
    white-space: nowrap;
}
.badge-neutral {
    background-color: var(--neutral-100);
    color: var(--neutral-500);
    white-space: nowrap;
}
.badge-warning {
    background-color: var(--warning-100);
    color: var(--warning-500);
    white-space: nowrap;
}
.badge-warn {
    background-color: var(--warn-100);
    color: var(--warn-900);
    white-space: nowrap;
}
.badge-primary-outline {
    color: var(--primary-50);
    background-color: var(--primary-500);
    white-space: nowrap;
}
.badge-success-outline {
    color: var(--success-50);
    background-color: var(--success-500);
    white-space: nowrap;
}
.badge-danger-outline {
    color: var(--danger-50);
    background-color: var(--danger-500);
    white-space: nowrap;
}
.badge-purple-outline {
    color: var(--purple-50);
    background-color: var(--purple-500);
    white-space: nowrap;
}
.badge-neutral-outline {
    color: var(--neutral-50);
    background-color: var(--neutral-500);
    white-space: nowrap;
}
.badge-warning-outline {
    color: var(--warning-50);
    background-color: var(--warning-500);
    white-space: nowrap;
}
.badge-warn-outline {
    color: var(--black);
    background-color: var(--warn-900);
    white-space: nowrap;
}
.alert {
    padding: 16px;
    border-radius: var(--rounded-md);
    width: 100%;
}

.alert-primary {
    background-color: var(--primary-100);
    color: var(--primary-900);
    border: 1px solid var(--primary-200);
}
.alert-success {
    background-color: var(--success-350);
    color: var(--success-900);
    border: 1px solid var(--success-450);
}
.alert-danger {
    background-color: var(--danger-100);
    color: var(--danger-900);
    border: 1px solid var(--danger-200);
}
.alert-purple {
    background-color: var(--purple-100);
    color: var(--purple-900);
    border: 1px solid var(--purple-200);
}
.alert-neutral {
    background-color: var(--neutral-100);
    color: var(--neutral-900);
    border: 1px solid var(--neutral-200);
}
.alert-warning {
    background-color: var(--warning-100);
    color: var(--warning-900);
    border: 1px solid var(--warning-200);
}
.alert-warn {
    background-color: var(--warn-350);
    color: var(--warn-1000);
    border: 1px solid var(--warn-450);
}
.alert-link {
    font-weight: bold;
}
.alert-primary a {
    color: var(--primary-900);
}
.alert-success a {
    color: var(--success-900);
}
.alert-danger a {
    color: var(--danger-900);
}
.alert-purple a {
    color: var(--purple-900);
}
.alert-neutral a {
    color: var(--neutral-900);
}
.alert-warning a {
    color: var(--warning-900);
}
.alert-warn a {
    color: var(--warn-1000);
}
.sidebar {
    position: fixed;
    right: 0;
    top: 50px;
    width: 250px;
    height: 100%;
    background-color: var(--white);
    border-left: 1px solid var(--neutral-200);
    display: flex;
    flex-direction: column;
    z-index: 40;
}
body.sidebar-collapsed .sidebar {
    display: none;
}
.d-none {
    display: none!important;
}
.sidebar-brand {
    height: 50px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--black);
    flex-shrink: 0;
}
.sidebar-brand-image {
    width: 32px;
    height: 32px;
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 12px;
}
.sidebar-brand-text {
    font-weight: 700;
    font-size: var(--text-xl);
    min-width: 0;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 16px;
}
.sidebar-menu-wrapper {
    padding: 16px 0;
    overflow-y: auto;
    height: 100%;
    min-height: 0;
}
.sidebar-menu {
    list-style-type: none;
    margin-bottom: 8px;
}
.sidebar-menu:last-child {
    margin-bottom: 0;
}
.sidebar-menu-title {
    font-size: var(--text-xs);
    color: var(--neutral-500);
    letter-spacing: 1px;
    font-weight: 500;
    padding: 8px 16px;
}
body.sidebar-collapsed .sidebar-menu-title-expanded,
.sidebar-menu-title-collapsed {
    display: none;
}
body.sidebar-collapsed .sidebar-menu-title-collapsed {
    display: block;
    text-align: center;
}
.sidebar-menu-item-link {
    text-decoration: none;
    color: var(--black);
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}
body.sidebar-collapsed .sidebar-menu-item.active > .sidebar-menu-item-link {
    color: var(--black);
}
.sidebar-menu-item.active > .sidebar-menu-item-link,
body.sidebar-collapsed .sidebar-menu-item > .sidebar-menu-item-link:hover,
.sidebar-menu-item:hover > .sidebar-menu-item-link,
body.sidebar-collapsed .sidebar-menu-item:hover > .sidebar-menu-item-link,
.sidebar-menu-item-link:hover {
    color: var(--primary-600);
}
.sidebar-menu-item-link-icon {
    flex-shrink: 0;
    margin-right: 8px;
    font-size: var(--text-lg);
    transition-property: margin;
    transition-duration: var(--duration-150);
}
body.sidebar-collapsed .sidebar-menu-item-link-icon {
    margin: 0 auto;
}
.sidebar-menu-item-link-text {
    font-size: var(--text-sm);
    font-weight: 500;
    min-width: 0;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
body.sidebar-collapsed .sidebar-menu-item-link-text {
    display: none;
}
.sidebar-menu-item-link-arrow {
    flex-shrink: 0;
}
body.sidebar-collapsed .sidebar-menu-item-link-arrow {
    display: none;
}
.sidebar-menu-item.active > .sidebar-menu-item-link > .sidebar-menu-item-link-arrow {
    transform: rotateZ(90deg);
}
.sidebar-submenu {
    display: none;
    border-left: 1px solid var(--neutral-200);
    margin-left: 16px;
    list-style-type: none;
}
.sidebar-menu-item, .sidebar-submenu, .sidebar-submenu-item {
    background-color: var(--white)!important;
}
.sidebar-menu-item > .sidebar-submenu {
    margin-left: 24px;

}
body.sidebar-collapsed .sidebar-menu-item > .sidebar-submenu {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    margin-left: 0;
    border: 1px solid var(--neutral-200);
    padding: 16px 0;
    width: 200px;
}
body.sidebar-collapsed .sidebar-menu-item:hover > .sidebar-submenu {
    display: block;
}
.sidebar-submenu-item.active > .sidebar-submenu,
.sidebar-menu-item.active > .sidebar-submenu {
    display: block;
}
.sidebar-submenu-item-link {
    height: 32px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: var(--neutral-700);
    text-decoration: none;
}
.sidebar-submenu-item-link:hover {
    color: var(--primary-500);
}
.sidebar-submenu-item-link-text {
    font-size: var(--text-sm);
    min-width: 0;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.sidebar-submenu-item-link-arrow {
    flex-shrink: 0;
}
.sidebar-submenu-item.active > .sidebar-submenu-item-link > .sidebar-submenu-item-link-arrow {
    transform: rotateZ(90deg);
}


.sidebar-overlay {
    display: block;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
    transition-property: opacity, visibility;
    transition-duration: var(--duration-150);
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
}
body.sidebar-collapsed .sidebar-overlay {
    opacity: 0;
    display: none;
}
.topbar {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid var(--neutral-200);
    position: fixed;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
}
.topbar-sidebar-toggle {
    flex-shrink: 0;
    margin-left: 8px;
    /* display: none; */
}
.topbar-search-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 375px;
    margin-left: auto;
    min-width: 0;
    /* margin-left: 16px; */
    margin-left: auto;
}
.topbar-search-back {
    display: none;
    margin-right: 8px;
}
.topbar-search {
    width: 100%;
    min-width: 0;
    position: relative;
}
.topbar-search > .form-control {
    padding-left: 36px;
}
.topbar-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-500);
    font-size: var(--text-lg);
    pointer-events: none;
}
.topbar-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.topbar-right > * {
    margin-right: 12px;
}
.topbar-right > :last-child {
    margin-right: 0;
}
.topbar-right-item-image {
    height: 18px;
}
.topbar-right-item {
    position: relative;
}
.topbar-right-item-total {
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background-color: var(--danger-500);
    color: var(--white);
    font-size: var(--text-xxs);
    font-weight: 600;
    border-radius: var(--rounded-full);
    display: flex;
    align-items: center;
    justify-content: center;
}
.topbar-right-item-user-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--rounded-full);
}
.topbar-right-item-search {
    display: none;
}
.nav-topbar {
    display: flex;
    list-style: none;
    height: 50px;
}
.nav-topbar li {
    display: flex;
    align-content: center;
    align-items: center;
    padding: 0 8px;
}
.nav-topbar-item {
    padding-right: 8px;
    white-space: nowrap;
}
.main {
	height: 100vh;
}
.content {
    padding: 16px;
    padding-top: 66px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
}
.content-title {
    font-size: var(--text-2xl);
    line-height: 1.3;
    font-weight: 700;
}
.content-resp {
    margin: 0 auto;
    max-width: 1040px;
	height: 100%;
}
@media screen and (max-width: 1024px) {
    .sidebar-overlay {
        display: block;
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.5);
        transition-property: opacity, visibility;
        transition-duration: var(--duration-150);
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 30;
    }
    body.sidebar-collapsed .sidebar-overlay {
        opacity: 0;
    }
    .content {
        margin-right: 0;
    }
    .topbar-sidebar-toggle {
        display: block;
    }
}
@media screen and (max-width: 575px) {
    .topbar-right > * {
        margin-right: 8px;
    }
    .topbar-search-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--white);
        max-width: unset;
        z-index: 20;
        margin: 0;
        padding: 0 16px;
        display: none;
    }
    .topbar-search-wrapper.active {
        display: flex;
    }
    .topbar-search-back,
    .topbar-right-item-search {
        display: flex;
    }
}
.card {
    grid-gap: 16px;
    display: grid;
}
#user-btn {
    font-size: 14px;
}
@media (max-width: 405px) {
    .logo-th {
        display: none;
    }
}
@media (min-width: 425px) {
    .card {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}
@media (min-width: 425px) {
    .card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}
@media (min-width: 768px) {
    .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}
@media (min-width: 1024px) {
    .card {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.card-item {
    border: 1px solid var(--neutral-200);
    padding: 16px;
    border-radius: var(--rounded-md);
    width: 100%;
    background-color: var(--white);
}
.row {
    grid-gap: 16px;
    display: grid;
}
.row-item {
    border: 1px solid var(--neutral-200);
    padding: 16px;
    border-radius: var(--rounded-md);
    width: 100%;
    background-color: var(--white);
}
.row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.row-title {
    font-size: var(--text-xl);
    font-weight: bold;
}
.logo {
    display: flex;
    align-items: center;
    align-content: center;
}
.logo-ws {
    color: white;
    background: black;
    padding: 1px 4px;
    border-radius: 6px;
}
.logo-chord {
    padding-left: 2px;
}
.logo-th {
    font-size: var(--text-xs);
    font-weight: normal;
    padding-left: 2px;
}
.input-lg {
    font-size: var(--text-xl);
    height: 48px;
}
.container {
    width: 100%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: #ffffff;
    display: flex;
    overflow-x: hidden;
  	z-index: 1000;
}
.nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    flex: 1;
    min-width: 50px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 13px;
    color: var(--neutral-700);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.1s ease-in-out;
  	border-top: 1px solid var(--neutral-200);
}
.nav__link:hover {
    background-color: var(--neutral-100);
}
.nav__link--active {
    color: var(--black);
    background-color: var(--neutral-200);
  	border-top: 1px solid var(--neutral-600);
}
.nav__icon {
    font-size: 18px;
  	line-height: 1;
}
span.c {
    font-weight: bold;
    color: #2159D6;
    font-family: "Roboto Mono" !important;
}
span.nc {
    font-weight: bold;
    color: #2159D6;
    font-family: "Roboto Mono" !important;
}
span.bl {
    font-weight: bold;
    color: #000;
    font-family: "Roboto Mono" !important;
	padding-left: 4px!important;
}
span.br {
    font-weight: bold;
    color: #000;
    font-family: "Roboto Mono" !important;
}
span.sp {
	font-weight: normal!important;
    color: var(--neutral-700);
}
span.oc {
    font-family: "Roboto Mono" !important;
}
.part br {
    display:none
}
.Intro .chordline {
	font-family: "Roboto Mono"!important;
}
.Solo .chordline {
	font-family: "Roboto Mono"!important;
}
.Instrumental .chordline {
	font-family: "Roboto Mono"!important;
}
.Instrumental1 .chordline {
	font-family: "Roboto Mono"!important;
}
.Instrumental2 .chordline {
	font-family: "Roboto Mono"!important;
}
.Instrumental3 .chordline {
	font-family: "Roboto Mono"!important;
}
.Instrumental4 .chordline {
	font-family: "Roboto Mono"!important;
}
.Outro .chordline {
	font-family: "Roboto Mono"!important;
}
.title_text{
    font-weight: normal;
    font-size: 12px;
    color: var(--neutral-600);
}
.bd-callout-info {
    border-left-width: 5px;
    border-radius: 0.25rem;
    letter-spacing: 0px !important;
    word-spacing: 0px!important;
    padding-right: 16px; 
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-800);
}
.title-song {
    font-size: 20px;
    color: var(--neutral-800);
}
.fontbold{font-weight:bold}
.text-ellipsis{ max-width: 100%;overflow:hidden;text-overflow: ellipsis;white-space: nowrap;}
.tdidx{color:black;text-align:center}
.maxwidth{max-width:90%}
#imgws{max-width:350px;width:100%;margin-bottom:12px;height: auto;}
.form-label{margin:0}
.search_btn{display:flex;justify-content:center;gap:8px;margin-top:16px;}
#reset-bt{width:50%;margin:0;text-wrap:nowrap;}
#search-bt{width:100%;margin:0;text-wrap:nowrap;}
.nav-item{margin:0}
.bpm-input_song{border:0;border-bottom:1px solid;width:50px;text-align:center;line-height:0;height:19px;}
.play-btn_song{font-size:13px;border:0;border-radius:0.25rem;background:green;color:white;width:60px;margin-left:8px;}
.sub-header {
  text-align:center; 
  color: black;
  font-weight: bold;
  font-family:Sarabun!important;
  line-height:1;
  font-size: 26px;
  margin: 0;
  line-height: normal;
}
* {
	-ms-touch-action: manipulation!important;
    touch-action: manipulation!important;
}
.ai-center{
	align-items: center;
}
* {
    scrollbar-width: thin;
    scrollbar-color: grey #fff;
	scrollbar-width: none;
}
*::-webkit-scrollbar {
    width: 8px;
}
*::-webkit-scrollbar-track {
    background: #fff;
}
*::-webkit-scrollbar-thumb {
    background-color: grey;
    border-radius: 20px;
    border: 1px solid #fff;
}
.part {
  page-break-inside: avoid;
  break-inside: avoid;
  display: flex;
  flex-direction: column;
  padding-top: 10px;
}
.footer-text {
   font-size: 0.75em;
}
.auto-grid {
  --auto-grid-min-size: 12rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr));
  grid-gap: 1rem;
}
.song-grid {
  padding: 2rem 1rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #eaeaea);
  color: #212529;
  height: 100%;
  border-radius: 1rem;
}
.song-grid:hover {
  transform: scale(1.025);
  background: linear-gradient(180deg, #eaeaea, #000);
  color: white;
}

.song-grid:active {
  transform: scale(0.975);
}
.header-song {
	margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
    color: #d90000;
    margin-bottom: 4px;
}
@page {
    size: A4 portrait;
    margin: 16px;
    width: 100%;
}
.rotingtxt{
	-webkit-transform: rotate(330deg);
    -moz-transform: rotate(330deg);
    -o-transform: rotate(330deg);
    transform: rotate(330deg);
    font-size: 6rem;
    color: rgb(0 0 0 / 10%);
    position: absolute;
    text-transform: uppercase;
    top: 200px;
    font-family: Arial;
    font-weight: bold;
	width: 80%;
	display: none;
	text-align: center;
}
.reference-part {
	border-radius: 5px !important;
    letter-spacing: 0px !important;
    word-spacing: 0px !important;
    padding: 10px;
	background-color: whitesmoke;
    margin: 12px 0;
}
.footer-alternative {
  position: absolute!important;
  right: 0!important;
  left: 0!important;
  bottom: 0!important;
  text-align: center;
  z-index: -1;
}
.startTags {
	line-height: normal!important;
}
.title {
	font-family: Arial, Sarabun !important;
	font-weight: bold !important;
	font-size: 1.25em !important;
	line-height: 1!important;
}
.author {
	font-family: Arial, Sarabun !important;
	font-weight: bold !important;
	font-size: 0.75em !important;
	line-height: 1 !important;
}
.chordline, .clearline {
	font-family: "Roboto Mono" !important;
	font-weight: bold !important;
	display: inline;
	vertical-align: middle !important;
}
.Tags {
	font-family: Arial;
	color: #d90000;
	font-weight: bold;
	font-size: 0.95em;
	line-height: 1 !important;
}
.eng_lyric {
	font-family: Arial !important;
	font-weight: normal;
	color: rgb(94, 94, 94);
	font-size: 0.85em;
	padding-left: 3px;
}
.thai_lyric {
	font-family: Arial, Sarabun !important;
	font-weight: normal;
	vertical-align: top;
}
#zoomfn {
	text-align: left;
	display: flex !important;
    grid-gap: 4px;
    flex-wrap: wrap;
	align-items: center;
	margin-bottom: 6px;
    padding-top: 10px;
}
.song-info {
	display: flex;
    grid-gap: 4px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 4px;
    margin-bottom: 6px;
}
.transpose-keys{
	margin-bottom: 6px;
	overflow: auto;
	font-size: 14px;
	font-family: Arial!important;
	display: flex;
	flex-wrap: wrap;
	grid-gap: 4px;
	align-items: center;
}
.transpose-keys a {
	display: block;
	float: left;
	width: 30px;
	text-align: center;
	color: #333;
	background: #eee;
	text-decoration: none;
	padding: 4px 0;
	border: solid 1px transparent;
	outline: 0;
	border-radius: 0.25rem
}
.transpose-keys a.selected {
	background: #2159d6!important;
	color: #fff!important;
}
pre {
	white-space: pre-wrap;
	word-wrap: break-word;
	max-width: 100%;
	height: auto;
	line-height: .85em;
	font-size: 1em;
	letter-spacing: 0!important;
	word-spacing: 0!important;
	margin: 0!important;
	-webkit-user-modify: read-only;
	overflow-x: visible;
	overflow: hidden;
    padding-bottom: 4px;
}
.ads-part {
    margin-bottom: 6px;
}
@media print{
	@page {
		size: A4;
		max-height:100%;
		max-width:100%
	}
	#printsong, #zoomfn, .transpose-keys, .song-reference, .song-description, .video-part, .youtube-pad, .ads-part, .nav, .topbar, fieldset, .sheetURL  {
		display:none!important
	}
	.content {
		margin:0!important;
        padding: 0 16px!important
	}
	.rotingtxt {
		display:block;
	}
}
.navbar-toggler {
	font-size:1rem!important
}
.navbar-brand {
	margin-right:1rem!important
}
.ShowChord {
	display:none
}
.ShowEngLyric {
	display:none
}
.Column1 {
	display:none
}
.btnfn {
	font-size:14px;
    cursor: pointer;
    text-align: center;
    color: var(--neutral-700);
    padding: 3px 8px;
    border: 1px solid var(--neutral-700);
    outline: 0;
    border-radius: 0.25rem;
    background-color: var(--white);
}
.btnfn:hover {
    color: var(--neutral-50);
    background-color: var(--neutral-700);
}
.btn-dark {
    color: var(--neutral-50);
    background-color: var(--neutral-700);
}
.btn-dark:hover {
    color: var(--neutral-50);
    background-color: var(--neutral-700);
}
.bold {
	font-weight:bold;
}
.footer-span {
	text-align: center;
	justify-content: center;
	padding: 5px;
	font-family: Arial!important;
	font-size: 12px;
	line-height: 1;
}
.head-text {
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	grid-gap: 4px;
}
.song-description {
    padding: 8px 16px;
    border-radius: var(--rounded-md);
    width: 100%;
    background-color: whitesmoke;
}
.content-flex {
    display: grid;
    flex-wrap: wrap;
    flex-direction: row;
}
.content-side {
    padding-left: 16px;
    position: fixed;
    bottom: 50px;
    right: 0;
    width: 350px;
    height: 250px;
    margin: 0;
}
@media screen and (max-width: 1024px) {
    .content-flex {
        grid-template-columns: 1fr;
    }
}
.card-side {
    padding: 8px 16px;
    border-radius: var(--rounded-md);
    background-color: whitesmoke;
    height: 100%;
    border: 1px solid var(--neutral-200);
    padding: 16px;
    border-radius: var(--rounded-md);
    background-color: var(--white);
}
.fw-normal {
    font-weight: normal!important;
}
.fw-thin {
    font-weight: 200!important;
}
.select2-container .select2-selection--single {
    height: auto!important;
}
textarea {
    border-radius: var(--rounded-md);
    border: 1px solid var(--neutral-200);
    outline: none;
    transition-property: box-shadow, border-color;
    transition-duration: var(--duration-150);
    padding: 6px;
    width: 100%;
    background-color: var(--neutral-50);
    color: var(--neutral-800);
}
textarea:focus {
    box-shadow: 0 0 0 2px var(--primary-500);
    border-color: var(--primary-500);
}
.m-0 {
    margin: 0!important;
}
#song_favorite, #song_result {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding-bottom: 24px;
}
.logo-wam {
    width: 100%;
    height: 74px;
}
.linkSong {
	line-height: normal;
}
.linkSong a {
	position:relative;
	text-decoration: none;
	color: blue;
 	transition:color .15s ease-in-out;
    line-height: 1;
}
.linkSong a:hover {
	background-size: 100% 100%;
	cursor: pointer;
}
.linkSong a:after {
	display:block;
	content:"";
	position: absolute;
 	right:0;
 	left:0;
    bottom: -4px;
 	width:100%;
	height:3px;
 	opacity:0;
	transform:translateY(-150%);
 	transition:transform .15s ease-in-out, opacity .15s ease-in-out;
 	background-color: #ff3b30;
}
.linkSong a.is-active,
.linkSong a:active,
.linkSong a:focus,
.linkSong a:hover {
 	color: #ff3b30;
	background: yellow;
}
.linkSong a.is-active:after,
.linkSong a:active:after,
.linkSong a:focus:after,
.linkSong a:hover:after {
 	transform:translateY(0);
 	opacity:1;
}
* {
	-ms-touch-action: manipulation!important;
    touch-action: manipulation!important;
}
/* html {
    scrollbar-gutter: stable;
} */
#bgSearchSong {
    text-align: center;
    color: #000000;
    background-color: cornsilk;
    border-radius: 30px;
    margin: 8px 0;
    padding: 3px 0;
    width: 100%;
}
iframe {
    border: 0;
    width: 100%;
    max-width: 400px;
}
.linkSong {
    line-height: normal;
}
.link-box {
    margin: 3px 0px;
}
.row-btn {
    display: flex;
    flex-wrap: wrap;
    margin-top: 8px;
    grid-gap: 8px;
    width: 100%;
}
.btn-filter {
    background-color: #eaeaea;
    border: 0;
    width: 100%;
    font-size: 18px;
    white-space: nowrap;
    padding: .5rem 1rem;
    height: 40px;
    line-height: 1;
}
.col-btn {
    flex: 1;
}
.btn-outline-dark {
    color: #212529;
    background-color: #eaeaea;
    border-color: #212529;
}
.btn-outline-dark:hover {
    color: white;
    background-color: #212529;
    border-color: #212529;
}
.btn-outline-danger {
    color: #D90000;
    background-color: white;
    border-color: #D90000;
    border: 1px solid;
}
.btn-outline-danger:hover {
    color: white;
    background-color: #D90000;
    border-color: #D90000;
}
.btn-outline-secondary {
    color: var(--neutral-500);
    background-color: white;
    border-color: var(--neutral-500);
    border: 1px solid;
}
.btn-outline-secondary:hover {
    color: white;
    background-color: var(--neutral-500);
    border-color: var(--neutral-500);
}
.h1 {
    margin-bottom: 8px;
}
.h1-large {
    font-size: 32px;
    display: flex;
    align-items: center;
}
#songSelect, #countSong {
    color: #d90000;
    font-size: var(--text-sm);
}
.select2-container .select2-selection--single .select2-selection__rendered {
    display: block!important;
    overflow: hidden!important;
    text-overflow: ellipsis!important;
    white-space: nowrap!important;
}
.addSheet {
    float: right;
}
.ws {
    color: var(--neutral-700);
    font-weight: 300;
}
.text_description {
    padding: 8px 16px;
    border-radius: var(--rounded-md);
    width: 100%;
    background-color: whitesmoke;
}
.pr-1 {
    padding-left: 0.5rem!important;
}
.ccli_url {
    color: var(--black);
}

.btn-squared {
    border: 1px solid;
    cursor: pointer;
    border-radius: .3rem;
    height: 40px;
    width: 40px;
    background-color: white;
    font-size: 16px;
}

.a-primary {
    color: var(--primary-600);
    cursor: pointer;
}
.a-primary:hover {
    text-decoration: underline;
}
.a-dark {
    color: #262626;
    cursor: pointer;
}
.a-dark:hover {
    color: var(--primary-600);
    text-decoration: underline;
}
.a-gray {
    color: var(--neutral-800);
    cursor: pointer;
}
.a-gray:hover {
    color: var(--neutral-800);
    text-decoration: underline;
}
.a-danger {
    color: var(--danger-600);
    cursor: pointer;
}
.a-danger:hover {
    text-decoration: underline;
}

.px-1 {
    padding: 0 4px;
}

fieldset {
    border-radius: var(--rounded-md);
    border: 1px solid var(--neutral-200);
    padding: 8px;
    /* background: whitesmoke; */
    /* margin-top: 8px */
}
legend {
    font-weight: bold;
    font-size: 14px;
    /* color: var(--neutral-800); */
}
.col-1 {
    display: flex;
    grid-gap: 8px;
    flex-wrap: wrap;
}
.flex-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
#songSubmit fieldset span.label {
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 2px;
    color: var(--neutral-700)
}
#songSubmit select {
    /* font-size: 14px; */
    height: 28px;
    cursor: pointer;
    padding: 0 8px;
    /* width: 110px; */
    padding-left: 8px;
}
#songSubmit input {
    /* font-size: 14px; */
    height: 28px;
    padding: 0 8px;
    /* width: 90px; */
    place-content: center;
}
#songSubmit input[type="file"] {
    cursor: pointer;
}
.col-2 {
    display: flex;
    grid-gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.flex-1 {
    flex: 1;
    /* flex-shrink: 1; */
    /* flex-basis: auto; */
}

.song_id {
    background: black !important;
    color: #fff !important;
    padding: 0 8px;
    border: solid 1px transparent;
    outline: 0;
    border-radius: 6px;
    font-size: 24px;
}
.ml-8px {
    margin-left: 8px
}
img.coverImg {
    width: 120px;
    height: 67.5px;
    border: 2px solid #dee2e6;
    align-items: center;
    vertical-align: middle;
    cursor: pointer;
    margin-bottom: 4px;
}
img.coverImg:hover {
    opacity: 0.5;
}
img.coverImgTbl {
    width: 100px;
    height: 56.25px;
    border: 2px solid #dee2e6;
    align-items: center;
    vertical-align: middle;
    cursor: pointer;
    margin-bottom: 4px;
}
img.coverImgTbl:hover {
    opacity: 0.5;
}
.btn-lg {
    font-size: 18px;
    height: 40px;
    padding: 0 16px;
    grid-gap: 8px;
}
.btn-xl {
    font-size: 30px;
}
.mb-8px {
    margin-bottom: 8px
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.red {
    color: var(--danger-600)!important
}
.green {
    color: var(--success-600)!important
}
.action-flex {
    flex: 1;
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
}

.song_del_id {
    background:#898989 !important;
    color: #fff !important;
    padding: 0 8px;
    border: solid 1px transparent;
    outline: 0;
    border-radius: 6px;
    font-size: 24px;
}

#themeTag {
    display: inline-flex;
}
.text-muted {
    color: var(--neutral-600);
}
.text-gray {
    /* font-size: 12px; */
    font-weight: normal;
    /* font-style: italic; */
    color: var(--neutral-400);
}

.title-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}
#hideInfo {
    font-size: 12px;
    color: var(--info-600);
    cursor: pointer;
    
    text-align: right;
}
#hideInfo:hover {
    text-decoration: underline;
}

.content-area-flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.authen-page {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: column;
    /* height: 80vh; */
    padding: 16px;
    padding-top: 66px;
    padding-bottom: 50px;
  }

  .authen-container {
    max-width: 30rem;
    padding: 2rem;
    margin-top: 60px;

  }

  .size-2x {
    transform: scale(1.5);
  }
  .authen-title {
    font-size: 24px;
  }

  .dropdown-text {
    /* height: 32px; */
    display: flex;
    align-items: flex-start;
    padding: 0 12px;
    text-decoration: none;
    color: var(--neutral-700);
    flex-direction: column;
}

.fs-14px {
    font-size: 14px
}
.fw-bold {
    font-weight: bold;
}
.mb-4px {
    margin-bottom: 4px;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
#loginBtn {
    font-weight: normal;
}

.user-txt {
    text-overflow: ellipsis;
    overflow: hidden;
    min-width: 30px;
    text-align: center;
    align-content: center;
    max-width: 60px;
    place-content: center;
    align-items: center;
    justify-content: flex-start;
    line-height: normal;
}
.d-flex {
    display: flex;
}
.mt-16px {
    margin-top: 16px!important;
}

.fs-12px {
    font-size: 12px;
}
.fs-14px {
    font-size: 14px;
}
.fs-16px {
    font-size: 16px;
}
.fs-18px {
    font-size: 18px;
}
.jc-content {
    justify-content: space-between;
}
.bg-white {
    background: white;
}
.mb-16px {
    margin-bottom: 16px;
}
.mt-8px {
    margin-top: 8px;
}
.w-100 {
    width: 100%!important;
}
.breakLine {
    white-space: break-spaces;
}


.pulse {
    background: #d90000;
    padding: 2px 4px;
    font-weight: bold;
    border-radius: 3px;
    color: #FFF;
    font-size: 10px;
    text-align: center;
    text-transform: uppercase;
    animation: animate-pulse 3s linear infinite;
}

@keyframes animate-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,109,74,0.7), 0 0 0 0 rgba(255,109,74,0.7);
    }

    40% {
        box-shadow: 0 0 0 5px rgba(255,109,74,0.0), 0 0 0 0 rgba(255,109,74,0.7);
    }

    80% {
        box-shadow: 0 0 0 5px rgba(255,109,74,0.0), 0 0 0 5px rgba(255,109,74,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,109,74,0.0), 0 0 0 5px rgba(255,109,74,0);
    }
}

.font-normal {
    font-weight: normal;
}





    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-search {
        display: block;
        padding: 8px 16px;
        border-radius: var(--rounded-md);
        outline: none;
        text-align: left;
        font-size: 16px;
    }

    .dropdown-search:focus {
        /* border-bottom: 2px solid #3e57ff; */
        background-color: #f6f6f6;
    }
    
    .dropdown .dropdown-list {
        position: absolute;
        overflow: auto!important;
        z-index: 9;
        margin-top: 1px;
        left: 0;
        width: 100%;
        max-height: 250px;
        padding: 8px;
        display: none;
        border-radius: var(--rounded-md);
        background: #fff;
        border: 1px solid #e9e9e9;
        scrollbar-width: thin;
        /* box-shadow: 0 1px 2px rgb(204, 204, 204); */
    }

    .dropdown-list::-webkit-scrollbar {
        width: 7px!important;
    }

    .dropdown-list::-webkit-scrollbar-track {
        background: #f1f1f1!important;
        border-radius: 25px!important;
    }

    .dropdown-list::-webkit-scrollbar-thumb {
        background: #ccc!important;
        border-radius: 25px!important;
    }

    .dropdown-list::-webkit-scrollbar-thumb:hover {
        background: #b3b3b3!important;
    }

    .dropdown-list li {
        display: none;
        padding: 10px;
        border-radius: var(--rounded-md);
        cursor: pointer;
        transition: all .2s ease-in-out;
        line-height: 1;
    }

    .dropdown-list li:hover {
        background-color: #f2f2f2;
    }

    .not-found {
        cursor: default;
    }   