body.nx {
    color: var(--color-light-gray);
}
.bg-c-black {
    background: var(--color-light-gray);
}

.bg-c-yellow {
    background: var(--color-dark-yellow);
}

.bg-c-light-black {
    background: var(--color-light-black);
}

.bg-c-gray-2 {
    background: var(--color-gray-2);
}

.bg-c-dark-gray {
    background: var(--color-dark-gray);
}

.bg-c-light-white {
    background: var(--color-light-white);
}
.bg-c-creame-yellow {
    background: var(--color-creame-yellow);
}
.bg-c-green {
    background: var(--color-green);
}
.text-c-black {
    color: var(--color-light-gray);
}

.text-c-yellow {
    color: var(--color-dark-yellow);
}
.text-link-blue{
    color: var(--color-link-blue);
}
.text-c-green {
    color: var(--color-green);
}
.text-c-light-black {
    color: var(--color-light-black);
}

.text-c-gray-2 {
    color: var(--color-gray-2);
}

.text-c-dark-gray {
    color: var(--color-dark-gray);
}

.text-c-light-white {
    color: var(--color-light-white);
}

.hover-text-c-yellow:hover {
    color: var(--color-dark-yellow);
}

.hover-bg-c-black:hover {
    background: var(--color-light-gray);
}

.hover-bg-c-yellow:hover {
    background: var(--color-dark-yellow);
}

.bg-light-pink {
    background: var(--color-light-pink);
}

.border-c-yellow {
    border-color: var(--color-dark-yellow);
}
.border-gray-3 {
    border-color: var(--color-gray-3);
}


.nx .main {
    background: url('/images/main-bg.png');
    background-size: cover;
    background-position: center;
    
}
@media (min-width: 768px) {
    .nx .main {
        min-height: calc(100vh - 16px);
        /* Ensure main content takes up full height minus the taskbar */
        overflow-y: auto;
        /* Allows scrolling */
    }
}

@media (max-width: 767.98px) {
    .nx .main {
        min-height: calc(100vh - 16px);
        /* Ensure main content takes up full height minus the taskbar */
        overflow-y: auto;
        /* Allows scrolling */
    }
}
.nx .taskbar {
    background: radial-gradient(circle,
                rgba(255, 228, 63, 1) 0%,
                rgba(253, 224, 50, 1) 35%,
                rgba(246, 190, 49, 1) 80%);
}

.nx footer {
    background: url('/images/footer-bg.png');
    background-size: cover;
    background-position: center;
    display: none;
    position: fixed;
    bottom: 0;
}

.nx div[role="dialog"] {
    padding: 20px 10px;
}

.nx div[role="dialog"] .modal-content {
    max-height: 90vh;
    overflow: scroll;
}

.nx div[role="dialog"] .modal-content::-webkit-scrollbar,
.nx .main::-webkit-scrollbar,
.nx-table-container::-webkit-scrollbar,
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.nx .scroll::-webkit-scrollbar {
    width: 4px;
}

.nx .scroll::-webkit-scrollbar-track {
    background: transparent;
}

.nx .scroll::-webkit-scrollbar-thumb {
    background-color: rgba(128, 128, 128, 0.54);
    border-radius: 10px;
}

@media (width < 768px) {
    .nx-table-container {
        overflow-y: scroll;
    }

    .nx-table-container table {
        min-width: 1000px;
    }
}

.nx .main .content {
    min-width: 320px;
}

.nx .toggle-bg {
    background: #DCDCDC;
    border: 1px solid #a3a3a3;
}

.nx .toggle-switch input:checked~.dot {
    transform: translateX(118%);
    background: #F9F9F9;
}

.nx .toggle-switch input:checked~.toggle-bg {
    background: var(--color-dark-yellow);
}

.nx .dropdown-option {
    display: none;
    background-color: #F9F9F9;
}

.nx  .tooltip {
    display: none;
    border: 1px solid var(--color-dark-yellow);
}
.nx .has-tooltip:hover ~ .tooltip {
    display: block;
}
.nx .dropdown-btn:focus~.dropdown-option,
.dropdown-option:hover {
    display: block;
}

.nx .radio-button input {
    display: none;
    white-space: nowrap;
}

.nx .radio-button span {
    min-width: 80px;
}

.nx .radio-button input:checked~span {
    background: #FFD700;
    color: #000;
}

/* file specific */

.nx #tab-holder {
    position: relative;
}

.nx #tab-holder .tab-content {
    padding-bottom: 1rem;
}

.nx #tab-holder input.tab-manager[type="radio"] {
    position: absolute;
    left: -100%;
    top: -100%;
    height: 0;
    display: none;
}

.nx #tab-holder input.tab-manager[type="radio"]+div.content-holder>label.tab-label {
    float: left;
    margin-right: 1rem;
    cursor: pointer;
}

.nx #tab-holder input.tab-manager[type="radio"]+div.content-holder>div.tab-content {
    position: absolute;
    width: 100%;
    display: none;
}

.nx #tab-holder input.tab-manager[type="radio"]:checked+div.content-holder>div.tab-content {
    display: block;
}

.nx #tab-holder input.tab-manager[type="radio"]:checked+div.content-holder>label.tab-label {
    border-bottom: 2px solid var(--color-dark-yellow);
}

.nx #tab-holder .tab-content form input[type="checkbox"]:checked+label {
    background: var(--color-dark-yellow);
    color: var(--color-light-gray);
}

.nx button {
    white-space: nowrap;
}

/*multiple select -  css override*/
.ui.selection.dropdown {
    border-radius: 7px !important;
}

.ui.label {
    background-color: #fff !important;
    border-radius: 10px !important;
}

/* js tab controlled */
.tab-control.styled {
    position: relative;
}
.tab-control.styled::after {
    content: " ";
    width: 90%;
    position: absolute;
    min-height: 2px;
    bottom: 0;
    left: 5%;
    border-radius: 2px;
}

.tab-control.styled.active {
    font-weight: bold;
}
.tab-control.styled.active::after {
    background-color: var(--color-dark-yellow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* no dark outline on input focus */
.nx input:focus,
.nx textarea:focus,
.nx select:focus{
    outline: none;
}

/* checkbox with yellow border */
.nx input[type="checkbox"].c-checkbox {
    accent-color: var(--color-dark-yellow);
}

.nx input[type="checkbox"].c-checkbox {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-content: center;
    justify-content: center;
    font-size: 2rem;
    padding: 0.1rem;
    width: 16px;
    cursor: pointer;
    position: relative;
    height: 16px;
    border: 2px solid var(--color-dark-yellow);
    border-radius: 2px;
    flex-shrink: 0;
}

.nx input[type="checkbox"].c-checkbox:checked::after {
    content: "✔";
    font-size: 12px;
    position: absolute;
    height: 12px;
    top: -3px;
    left: 2px;
}

@media (max-width: 480px) {
    .nx input[type="checkbox"].c-checkbox:checked::after {
        content: "\2713";
        font-size: 12px;
        position: absolute;
        height: 12px;
        top: -3px;
        left: 1px;
    }
}


/* select option bg yellow */
.nx select option:checked,
.nx select option:hover,
.nx select:focus > option:checked {
    box-shadow: 0 0 10px 100px var(--color-dark-yellow) inset;
}

/* multiselect dropdown new */
.nx .ss-dropdown {
    position: relative;
}


.nx .ss-dropdown-options {
    position: absolute;
    width: 100%;
    margin-top: 2px;
}
