/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/



.testinar-menu-bars,
.testinar-menu-bars::before,
.testinar-menu-bars::after {
    background: #111827;
    border-radius: 999px;
    content: "";
    display: block;
    height: 3px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 24px;
}

.testinar-menu-bars {
    top: 50%;
    transform: translate(-50%, -50%);
}

.testinar-menu-bars::before {
    top: -8px;
}

.testinar-menu-bars::after {
    top: 8px;
}

#primary-menu-trigger {
    border-radius: 12px;
}

#primary-menu-trigger:hover .testinar-menu-bars,
#primary-menu-trigger:hover .testinar-menu-bars::before,
#primary-menu-trigger:hover .testinar-menu-bars::after {
    background: #0b83ba;
}

.testinar-grade-state-menu {
    background: #ffffff !important;
    border: 0 !important;
    border-top: 2px solid #1ABC9C !important;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
    min-height: 0 !important;
    padding: 0 !important;
    right: auto !important;
}

#primary-menu ul li .mega-menu-content.testinar-grade-state-menu {
    border-top-color: #1ABC9C !important;
    left: 15px !important;
    right: 15px !important;
    width: auto !important;
}

.testinar-grade-state-panel {
    display: grid;
    grid-template-columns: 260px calc(100% - 260px);
    min-height: 0;
    width: 100%;
}

.testinar-mega-kicker {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.testinar-grade-picker {
    background: #f8fafc;
    border-right: 1px solid #e5eaf2;
    padding: 20px 18px 22px;
}

.testinar-state-picker {
    background: #ffffff;
    min-height: 360px;
    padding: 30px 18px 34px 42px;
    position: relative;
    width: 100%;
}

.testinar-view-grade-link {
    background: transparent;
    border-radius: 0;
    color: #172033 !important;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 22px;
    text-decoration: none !important;
    top: 32px;
}

.testinar-view-grade-link:hover {
    color: #1ABC9C !important;
    text-decoration: none !important;
}

.testinar-view-grade-link::after {
    content: "->";
    font-size: 14px;
    margin-left: 8px;
}

.testinar-state-grid {
    display: grid;
    column-gap: 0;
    grid-template-columns: repeat(5, 20%);
    padding-top: 28px;
    row-gap: 0;
    width: 100%;
}

.testinar-state-grid a {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #666666 !important;
    display: block;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    min-height: 32px;
    padding: 8px 12px;
    text-align: left;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: all 160ms ease;
}

.testinar-state-grid a:hover {
    background: #f9f9f9;
    color: #1ABC9C !important;
    padding-left: 14px;
    transform: none;
}

.testinar-grade-grid {
    display: grid;
    gap: 7px;
}

.testinar-grade-option {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    color: #0f172a;
    cursor: pointer;
    display: grid;
    gap: 9px;
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 46px;
    padding: 6px 10px;
    text-align: left;
    transition: all 160ms ease;
    width: 100%;
}

.testinar-grade-option::after {
    display: none;
}

.testinar-grade-option span {
    align-items: center;
    background: rgba(26, 188, 156, 0.12);
    border-radius: 10px;
    color: #1ABC9C;
    display: inline-flex;
    font-size: 15px;
    font-weight: 900;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.testinar-grade-option strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.testinar-grade-option em {
    display: none;
}

.testinar-grade-option.is-active,
.testinar-grade-option:hover {
    background: #1ABC9C;
    color: #ffffff;
    transform: none;
}

.testinar-grade-option.is-active span,
.testinar-grade-option:hover span {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.testinar-grade-option.is-active em,
.testinar-grade-option:hover em {
    color: #e6fffa;
}

.testinar-grade-option.is-active::after,
.testinar-grade-option:hover::after {
    opacity: 1;
}

@media (max-width: 991px) {
    .testinar-grade-state-panel {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .testinar-grade-picker,
    .testinar-state-picker {
        padding: 20px;
    }

    .testinar-grade-grid {
        grid-template-columns: 1fr;
    }

    .testinar-state-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testinar-view-grade-link {
        margin-bottom: 16px;
        position: static;
    }
}

@media (max-width: 479px) {
    .testinar-grade-grid,
    .testinar-state-grid {
        grid-template-columns: 1fr;
    }
}
