:root {
    --darkblue: #01243A;
    --bluegray: #81A5BF;
    --aqua: #2A7C88;
    --yellow: #FFCA00;
    --lightblue: #E6EEF4;
    --blue: #C0D5E4;
    --mediumblue: #A2C3DA;
    --white: #ffffff;
    --black: #000000;
    --darkgray: #6c757d;
    --lightgray: #F5F5F5;
    --gradient-stage-one: #DAF2F5;
    --gradient-stage-two: #B8E1E7;
    --gradient-stage-three: #83C8D2;
    --gradient-stage-four: #6BB5C0;
}

p, span, h1, h2, h3, h4, a, body {
    font-family: 'Abhaya Libre';
}

p, li {
    font-size: 1.5em;
    font-weight: 400;
}

.background-stage-one {
    background: var(--gradient-stage-one);
}

.background-stage-two {
    background: var(--gradient-stage-two);
}

.background-stage-three {
    background: var(--gradient-stage-three);
}

.background-stage-four {
    background: var(--gradient-stage-four);
}

.background-lightgray {
    background: var(--lightgray);
}

.color-lightgray {
    color: var(--lightgray);
}

.background-darkgray {
    background: var(--darkgray);
}

.color-darkgray {
    color: var(--darkgray);
}

.background-blue {
    background: var(--blue);
}

.color-blue {
    color: var(--blue);
}

.background-mediumblue {
    background: var(--mediumblue);
}

.color-mediumblue {
    color: var(--mediumblue);
}

.background-bluegray {
    background: var(--bluegray);
}

.background-black {
    background: var(--black);
}

.color-bluegray {
    color: var(--bluegray);
}

.background-aqua {
    background: var(--aqua);
}

.color-aqua {
    color: var(--aqua);
}

.border-color-aqua {
    border-color: var(--aqua);
}

.background-darkblue {
    background: var(--darkblue);
    color: white;
}

.color-darkblue {
    color: var(--darkblue);
}

.background-lightblue {
    background: var(--lightblue);
}

.color-lightblue {
    color: var(--lightblue);
}

.background-yellow {
    background: var(--yellow);
}

.color-yellow {
    color: var(--yellow);
}

.background-white {
    background: var(--white);
}

.color-white {
    color: var(--white);
}

.color-black {
    color: var(--black);
}

    .color-black:hover {
        color: var(--black);
    }

.italic {
    font-style: italic;
}

.w-33 {
    width: 33%;
}

.max-w-400 {
    max-width: 400px;
}

.max-h-400 {
    max-height: 400px;
}

.max-w-350 {
    max-width: 350px;
}

.max-h-350 {
    max-height: 350px;
}

.max-w-250 {
    max-width: 250px;
}

.max-w-75 {
    max-width: 75px;
}

.max-h-250 {
    max-height: 250px;
}

.p-8 {
    padding: 2.0rem;
}

.dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
}

.banner {
    display: flex;
    justify-content: center;
    padding: 20px 0 60px 0;
}

    .banner img {
        width: 80%;
        max-width: 1000px;
    }

.actex-carousel {
    display: flex;
    flex-direction: row;
}

    .actex-carousel .carousel-control-left, .actex-carousel .carousel-control-right {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 16px 0 16px;
        color: #fff;
        text-align: center;
        background: none;
        border: 0;
        opacity: 0.5;
        transition: opacity 0.15s ease;
        height: 100%;
    }

@media (max-width: 500px) {

    .actex-carousel {
        padding: 0 16px;
        font-size: 14px;
    }

        .actex-carousel .carousel-control-left, .actex-carousel .carousel-control-right {
            display: none;
        }
}

.actex-carousel .carousel-item {
    overflow: hidden;
    width: 100%;
}

.actex-nav {
    background-color: var(--darkblue);
    color: white;
    z-index: 100;
}

    .actex-nav a {
        color: white;
        opacity: 1.0;
        text-decoration: none;
    }

    .actex-nav .menu-button {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .actex-nav .menu {
        padding: 4px;
        background-color: var(--darkblue);
        color: white;
        opacity: 1.0;
        text-decoration: none;
        border: solid 1px transparent;
    }

        .actex-nav .menu a {
            color: white;
            opacity: 1.0;
            text-decoration: none;
        }

        .actex-nav .menu.active {
            padding: 4px;
            background-color: var(--white);
            color: black;
            opacity: 1.0;
            border: solid 1px black;
        }

            .actex-nav .menu.active a {
                color: black;
                opacity: 1.0;
                text-decoration: none;
            }

    .actex-nav a:hover {
        opacity: 0.8;
    }

    .actex-nav .subnav {
        position: absolute;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        justify-content: start;
        align-items: start;
        padding: 4px;
        gap: 2px;
        background-color: var(--white);
        color: black;
        z-index: 100;
        border-left: 1px solid black;
        border-right: 1px solid black;
        border-bottom: 1px solid black;
        opacity: 1.0;
        box-sizing: border-box;
    }

        .actex-nav .subnav.about {
            width: 320px;
            left: -1px;
        }

        .actex-nav .subnav.account {
            width: 240px;
            right: -1px;
        }

        .actex-nav .subnav.support {
            width: 200px;
            right: -1px;
        }

        .actex-nav .subnav a {
            background-color: var(--white);
            color: black;
        }

.actex-btn {
    border-radius: 20px;
    border: none;
    font-family: 'Abhaya Libre';
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 33px;
    text-align: center;
    padding: 10px 40px 10px 40px;
    text-decoration: none;
}

    .actex-btn:hover {
        filter: brightness(110%);
    }

    .actex-btn.disabled:hover {
        filter: none !important;
    }

    .actex-btn.black {
        color: black;
    }

    .actex-btn.background-yellow {
        background: var(--yellow);
        color: black;
    }

    .actex-btn.background-aqua {
        background: var(--aqua);
        color: white;
    }

    .actex-btn.background-darkblue {
        background: var(--darkblue);
        color: white;
    }

    .actex-btn:hover.background-darkblue {
        filter: brightness(150%);
    }

    .actex-btn.background-bluegray {
        background: var(--bluegray);
        color: black;
    }

    .actex-btn.background-lightblue {
        background: var(--lightblue);
        color: black;
    }

svg.overlap {
    position: absolute;
    bottom: 0;
}

button.white, .small-text.white, .medium-text.white, .large-text.white, .xlarge-text.white {
    color: white;
}

.small-text.black, .medium-text.black, .large-text.black, .xlarge-text.black {
    color: black;
}

.exam-btn {
    color: black;
}

    .exam-btn a {
        padding: 6px 12px 6px 12px;
        color: black;
        width: 100%;
    }

        .exam-btn a:hover, .exam-btn a[role="button"]:hover {
            border-radius: 13px;
            background: var(--aqua);
            color: white;
        }

        .exam-btn a.child:hover, .exam-btn a.child[role="button"]:hover {
            border-radius: 13px;
            background: var(--lightblue);
            color: black;
        }

.exam-btn-selected a {
    border-radius: 13px;
    outline: var(--aqua) 1px solid;
}

@media (max-width: 1024px) {
    .formula-sheets-container .actex-btn.background-yellow {
        font-size: 20px;
        padding: 7px 30px 7px 30px;
    }
}
    /*a:hover .exam-btn > svg > path {
    fill: white;
}
*/
    #shopModal > div.modal-dialog {
        position: absolute;
        margin: 0;
        max-width: 100%;
        top: 100px;
        left: 0%;
        right: 0%;
    }

    #shopModal .modal-body {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "exam-types"
            "exam-links"
            "static-links";
        gap: 20px 0px;
    }

    #shopModal .exam-types {
        grid-area: exam-types;
        border-bottom: 1px solid var(--darkgray);
        overflow-x: auto;
        justify-content: center;
    }

    @media(max-width: 500px) {
        #shopModal .exam-types {
            justify-content: flex-start;
        }
    }

    #shopModal .exam-links {
        grid-area: exam-links;
    }

    #shopModal .static-links {
        grid-area: static-links;
        border-top: 1px solid var(--darkgray)
    }

    #cartButton {
        background: var(--darkblue);
    }

        #cartButton.active, #cartButton:hover {
            background: white;
            opacity: 1.0;
        }

            #cartButton.active svg > path, #cartButton:hover svg > path {
                fill: var(--darkblue);
            }

    .fade-in {
        opacity: 0.1;
        transform: translateY(20vh);
        transition: opacity 0.6s ease-out, transform 1.2s ease-out;
        will-change: opacity, visibility;
    }

        .fade-in.is-visible {
            opacity: 1;
            transform: none;
        }

    .fade-in-top {
        -moz-animation: fade-in 2s; /* Firefox */
        -webkit-animation: fade-in 2s; /* Safari and Chrome */
        -o-animation: fade-in 2s;
        animation: fade-in 2s;
    }

    @keyframes fade-in {
        from {
            opacity: 0.0;
        }

        to {
            opacity: 1.0;
        }
    }

    .cart {
        position: absolute;
        right: 0;
        top: 100%;
        background: white;
        max-height: 400px;
        border: 1px solid var(--darkblue);
        overflow-y: scroll;
        padding: 12px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        z-index: 100;
        margin: 0 0 0 0;
    }

    .cart {
        width: 400px;
    }

    .actex-nav a {
        color: white;
        padding: 4px;
        opacity: 1.0;
        text-decoration: none;
        font-size: .75em;
    }

    .xlarge-text {
        font-size: 32px;
    }

    .large-text {
        font-size: 24px;
    }

    .medium-text {
        font-size: 18px;
    }

    .small-text {
        font-size: 14px;
    }

    @media (min-width: 576px) {
        .actex-nav a {
            color: white;
            padding: 4px;
            opacity: 1.0;
            text-decoration: none;
            font-size: 1em;
        }

        .cart {
            width: 500px;
        }
    }

    @media (min-width: 768px) {
        .cart {
            width: 600px;
        }

        .actex-nav a {
            font-size: 18px;
        }

        #shopModal > div.modal-dialog {
            left: 10%;
            right: 10%;
        }
    }

    @media (min-width: 992px) {

        .xlarge-text {
            font-size: 64px;
        }

        .large-text {
            font-size: 32px;
        }

        .medium-text {
            font-size: 24px;
        }

        .small-text {
            font-size: 18px;
        }

        #shopModal > div.modal-dialog {
            left: 15%;
            right: 15%;
        }
    }


    @media (min-width: 1200px) {

        .actex-nav a {
            font-size: 24px;
        }

        #shopModal > div.modal-dialog {
            left: max(20%, calc(50% - 400px));
            right: max(20%, calc(50% - 400px));
            max-width: 800px;
        }
    }

    .vh-75 {
        height: 75vh;
    }

    .vh-80 {
        height: 80vh;
    }

    /* The switch - the box around the slider */
    .switch {
        position: relative;
        display: inline-block;
        width: 60px;
        height: 34px;
    }

        /* Hide default HTML checkbox */
        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

    /* The slider */
    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;
    }

        .slider:before {
            position: absolute;
            content: "";
            height: 26px;
            width: 26px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
        }

    input:checked + .slider {
        background-color: var(--bluegray);
    }

    input:focus + .slider {
        box-shadow: 0 0 1px var(--bluegray);
    }

    input:checked + .slider:before {
        -webkit-transform: translateX(26px);
        -ms-transform: translateX(26px);
        transform: translateX(26px);
    }

    /* Rounded sliders */
    .slider.round {
        border-radius: 34px;
    }

        .slider.round:before {
            border-radius: 50%;
        }

    .vertical-bar {
        border-right: 2px solid;
        height: 100%;
        width: 50%;
    }

    .mb-40 {
        margin-bottom: 40px;
    }

    .background-image-top {
        display: block;
        width: 100%;
        height: 70px;
        position: absolute;
        left: 0;
        z-index: 1;
    }

    #searchTextBox {
        text-indent: 20px;
    }

    .btn-outline {
        font-family: 'Abhaya Libre';
        font-style: normal;
        font-weight: 400;
        font-size: 24px;
        text-align: left;
    }

        .btn-outline:hover, .btn-outline:checked {
            background: var(--aqua);
            color: white;
        }

    .study-tools ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
        padding: 0;
        max-width: 650px;
    }

    .study-tools li {
        list-style: none;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--aqua);
        border-radius: 13px;
        color: #fff;
        width: 220px;
        height: 80px;
        padding: 0 10px;
    }

        .study-tools li > a {
            color: #fff;
            display: flex;
            justify-content: start;
            align-items: center;
            text-align: left;
            font-size: 24px;
            font-weight: 400;
            gap: 8px;
        }

    ul.btn-panel {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
    }

        ul.btn-panel li {
            list-style: none;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: var(--aqua);
            border-radius: 13px;
            margin: 0 10px;
            color: #fff;
            width: 240px;
            height: 90px;
            padding: 0 20px;
        }

            ul.btn-panel li > a {
                color: #fff;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 24px;
                font-weight: 400;
                gap: 4px;
            }

                ul.btn-panel li > a > * {
                    margin: 0;
                }

        ul.btn-panel.vertical li > a {
            color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            font-size: 24px;
            font-weight: 400;
            gap: 4px;
        }

            ul.btn-panel.vertical li > a > * {
                color: #fff;
                font-size: 24px;
                font-weight: 400;
            }

    .header-left h4 {
        background-color: var(--aqua);
        padding: 15px 50px;
        color: #fff;
        font-family: Abhaya Libre;
        font-size: 40px;
        font-weight: 400;
        line-height: 47px;
        letter-spacing: 0;
        text-align: left;
        border-top-right-radius: 13px;
        border-bottom-right-radius: 13px;
        width: 90%;
    }

    @media (min-width: 576px) {
        .header-left {
            width: 80%;
        }
    }

    @media (min-width: 768px) {
        .header-left {
            width: 60%;
        }
    }


    @media (min-width: 992px) {
        .header-left {
            width: 60%;
        }

        .left-border-sm {
            border-left: 1px solid var(--aqua);
        }
    }


    @media (min-width: 1200px) {
        .header-left {
            width: 60%;
        }
    }


    @media (min-width: 1400px) {
        .header-left {
            width: 40%;
        }
    }

    .product-auto a, .product-auto p, .product-auto span, .product-auto li {
        font-size: 24px;
    }

    .product-auto p, .product-auto li {
        word-break: break-word;
    }

    @media only screen and (max-width: 500px) {

        .product-auto {
            width: 100%;
        }

            .product-auto img {
                max-width: 100%;
                object-fit: contain;
            }

            .product-auto table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
                width: 100%;
            }
    }


    .simple-accordion .accordion-button:not(.collapsed) {
        color: var(--black);
        background-color: var(--white);
        box-shadow: none;
    }

    @media (min-width: 768px) {
        .nowrap {
            white-space: nowrap;
        }
    }

    .review-background {
        background: url('/images/review_background.svg');
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    select:-internal-autofill-selected {
        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 5 6 6 6-6'/%3e%3c/svg%3e") !important;
        color: black !important;
    }

    .product-availability {
        display: flex;
        flex-direction: column;
        border-radius: 10px;
        border: 1px solid black;
        padding: 20px;
        position: relative;
    }

        .product-availability h5 {
            margin-top: 0.5rem;
        }

        .product-availability span {
            padding-left: 0.5rem;
        }

        .product-availability > a:first-of-type {
            position: absolute;
            top: 0;
            right: 20px;
            color: unset;
        }
