@charset "utf-8";

/* @media only screen and (max-width: 1199.98px) { */
body {
    font-family: "Helvetica";
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: unset;
}

a:hover {
    color: unset;
}

p>a {
    color: #176bd8 !important;
    font-weight: 400;
}

p>a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 1.75rem;
    font-weight: 500;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

h4 {
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 1rem;
    margin-left: 0.5rem;
    text-transform: uppercase;
}

p {
    font-weight: 300;
}

h1:hover,
h2:hover,
h3:hover,
h4:hover,
h5:hover,
h6:hover,
p:hover {
    cursor: default;
}

.smaller {
    font-size: 0.75rem;
}

body nav.navbar {
    background-color: #FFFFFF;
}

.bg-default {
    background-color: #f9f9f9;
    background-image: none;
}

.vertical-divider {
    background-color: #CCCCCC;
    width: 1.5px;
    border-radius: 2px;
}

.mobile-navbar-toggler {
    flex-grow: 0;
    background-color: #FFFFFF !important;
}

.dropdown-toggle {
    padding: 0.4rem 1.25rem !important;
}

.dropdown-toggle:hover {
    background-color: #e9ecef;
}

.dropdown-toggle:active {
    background-color: #d9dfe6;
}

.dropdown-toggle:focus {
    outline: none !important;
}

.menu-area {
    position: static;
    background-color: #FFFFFF !important;
}

.mega-area {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    padding: 1rem;
    background-color: #FFFFFF !important;
}

.dropdown-item {
    padding: 0.25rem 0.5rem;
    word-wrap: break-word;
    border-radius: 2px;
    font-weight: 500;
    transition: all 0.15s linear;
}

.book-link {
    display: block;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.15s linear;
}

.dropdown-item:hover {
    background-color: #e9ecef;
    color: #176bd8;
}

.book-link:hover {
    background-color: #e9ecef;
    cursor: pointer;
}

.nav-heading {
    margin: 0.8rem 0.5rem 0.25rem 0.5rem !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
}

.dropdown-item:active,
.book-link:active {
    background-color: #d9dfe6;
    color: #176bd8;
}

.mobile-nav-link {
    border-radius: 0;
    text-transform: uppercase;
    color: #000000 !important;
}

.mobile-nav-link::after {
    content: none;
}

.mobile-nav-link:active>.fa-angle-right {
    transform: rotate(90deg);
}

.mobile-nav-link:focus>.fa-angle-right {
    transform: rotate(90deg);
}

.dropdown-item {
    color: #176bd8;
    font-weight: 500;
}

.mobile-nav-link+div>div>div>a {
    padding-left: 1rem;
    padding-right: 1rem;
}

h6 {
    margin: 0.8rem 0.5rem 0.25rem 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.875rem;
}

.fa-bars {
    color: #000000;
}

.banner-rgt {
    overflow: hidden;
}

.description {
    font-weight: 400;
    /* -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none; */
}

.option-1,
.option-2,
.option-3,
.option-4,
.option-5 {
    transition: background-color .15s linear;
}

.option-1:hover,
.option-2:hover,
.option-3:hover,
.option-4:hover,
.option-5:hover {
    background-color: #e9ecef;
    cursor: pointer;
}

.option-1:active,
.option-2:active,
.option-3:active,
.option-4:active,
.option-5:active {
    background-color: #d9dfe6;
    cursor: pointer;
}

.btn {
    font-weight: 500;
}

.btn-grey {
    background-color: #eee;
}

.btn-grey:hover {
    background-color: #f00;
}

.position-absolute.buttons {
    visibility: hidden;
    opacity: 0;
    transition: all 0.25s ease-in-out;
}

.subject-card.biology {
    border-color: #388E3C;

    background-color: #FFFFFF !important;
}

.subject-card.biology h2 {
    color: #388E3C;
}

.subject-card.biology .buttons>a {
    background-color: #388E3C;
    color: #FFFFFF;
}

.subject-card.biology .buttons>a:hover {
    background-color: #29752d;
    color: #FFFFFF;
}

.subject-card.chemistry {
    border-color: #1976D2;
    background-color: #FFFFFF !important;
}

.subject-card.chemistry h2 {
    color: #1976D2;
}

.subject-card.chemistry .buttons>a {
    background-color: #1976D2;
    color: #FFFFFF;
}

.subject-card.chemistry .buttons>a:hover {
    background-color: #1362b0;
    color: #FFFFFF;
}

.subject-card.physics {
    border-color: #D32F2F;
    background-color: #FFFFFF !important;
}

.subject-card.physics h2 {
    color: #D32F2F;
}

.subject-card.physics .buttons>a {
    background-color: #D32F2F;
    color: #FFFFFF;
}

.subject-card.physics .buttons>a:hover {
    background-color: #a71e1e;
    color: #FFFFFF;
}

.subject-card.math {
    border-color: #FFA000 !important;
    background-color: #FFFFFF !important;
}

.subject-card.math h2 {
    color: #FFA000;
}

.subject-card.math .buttons>a {
    background-color: #FFA000;
    color: #FFFFFF;
}

.subject-card.math .buttons>a:hover {
    background-color: #de8d00;
    color: #FFFFFF;
}

.subject-card:hover>.position-absolute.buttons {
    visibility: visible;
    opacity: 1;
    cursor: pointer;
}

.sidebar {
    overflow-y: scroll;
}

.color-indicator {
    height: 8px;
}

.grade-section {
    background-color: #f9f9f9;
}

.topic-indicator {
    width: 2px;
    background-color: #000000;
}

.topic-card,
.subtopic-card {
    -webkit-transition: padding-right 0.2s ease-in-out;
    -moz-transition: padding-right 0.2s ease-in-out;
    -ms-transition: padding-right 0.2s ease-in-out;
    -o-transition: padding-right 0.2s ease-in-out;
    transition: padding-right 0.2s ease-in-out;
}

.topic-card:hover,
.subtopic-card:hover {
    background-color: #e9ecef;
    cursor: pointer;
    padding-right: 0.8rem !important;
}

.topic-card:active,
.subtopic-card:active {
    background-color: #d9dfe6;
    cursor: pointer;
}

.page-link:active {
    background-color: #d9dfe6;
}

.quiz-subtopic {
    color: #999999;
    font-size: 0.8rem;
}

.subject-label {
    color: #444444;
}

.text-secondary {
    color: #444444 !important;
}

.correct-option {
    background-color: #4caf50 !important;
    color: #FFFFFF !important;
    /* user-select: none; */
}

.correct-option::marker {
    color: #000000 !important;
}

.wrong-option {
    background-color: #e53935 !important;
    color: #FFFFFF !important;
}

.wrong-option:hover {
    cursor: default !important;
}

.wrong-option:active {
    cursor: default !important;
}

.wrong-option::marker {
    color: #000000 !important;
}

.disabled {
    pointer-events: none !important;
}

/* Subject Wise Colors */

.subject-strip {
    height: 5px;
    border-radius: 5px;
}

.biology {
    background-color: #1f6423 !important;
    border-color: #1f6423 !important;
    color: #ffffff !important;
}

a.biology:hover {
    background-color: #327f36 !important;
    border-color: #2c7130 !important;
}

.chemistry {
    background-color: #1976d2 !important;
    border-color: #1976d2 !important;
    color: #ffffff !important;
}

a.chemistry:hover {
    background-color: #166abd !important;
    border-color: #145ea8 !important;
}

.physics {
    background-color: #d32f2f !important;
    border-color: #d32f2f !important;
    color: #ffffff !important;
}

a.physics:hover {
    background-color: #bd2a2a !important;
    border-color: #a82525 !important;
}

.mathematics {
    background-color: #ffa000 !important;
    border-color: #ffa000 !important;
    color: #333333 !important;
}

a.mathematics:hover {
    background-color: #e59000 !important;
    border-color: #cc8000 !important;
}

.business {
    background-color: #8e24aa !important;
    border-color: #8e24aa !important;
    color: #ffffff !important;
}

a.business:hover {
    background-color: #7f2099 !important;
    border-color: #711c88 !important;
}

.computer-science {
    background-color: #f4511e !important;
    border-color: #f4511e !important;
    color: #ffffff !important;
}

a.computer-science:hover {
    background-color: #db481b !important;
    border-color: #c34018 !important;
}

.engineering {
    background-color: #EF6C00 !important;
    border-color: #EF6C00 !important;
    color: #ffffff !important;
}

a.engineering:hover {
    background-color: #d76100 !important;
    border-color: #bf5600 !important;
}

.biology-outline {
    color: #1f6423 !important;
    border-color: #1f6423 !important;
}

a.biology-outline:hover {
    background-color: #388e3c !important;
    border-color: #388e3c !important;
    color: #ffffff !important;
}

.chemistry-outline {
    color: #1976d2 !important;
    border-color: #1976d2 !important;
}

a.chemistry-outline:hover {
    background-color: #1976d2 !important;
    color: #ffffff !important;
}

.physics-outline {
    color: #d32f2f !important;
    border-color: #d32f2f !important;
}

a.physics-outline:hover {
    background-color: #d32f2f !important;
    color: #ffffff !important;
}

.mathematics-outline {
    color: #ffa000 !important;
    border-color: #ffa000 !important;
}

a.mathematics-outline:hover {
    background-color: #ffa000 !important;
    color: #333333 !important;
}

.business-outline {
    color: #8e24aa !important;
    border-color: #8e24aa !important;
}

a.business-outline:hover {
    background-color: #8e24aa !important;
    color: #ffffff !important;
}

.computer-science-outline {
    color: #f4511e !important;
    border-color: #f4511e !important;
}

a.computer-science-outline:hover {
    background-color: #f4511e !important;
    color: #ffffff !important;
}

.engineering-outline {
    color: #EF6C00 !important;
    border-color: #EF6C00 !important;
}

a.engineering-outline:hover {
    background-color: #EF6C00 !important;
    color: #ffffff !important;
}

.social-link {
    white-space: normal;
}

.social-link.facebook {
    color: #0456c0;
}

.social-link.twitter {
    color: #0377bf;
}

.social-link.youtube {
    color: #bb0000;
}

.social-link.android {
    color: #5d7806;
}

.social-link.ios {
    color: #005ec3;
}

.social-link.facebook:hover {
    background-color: #1877F2;
    color: #ffffff;
}

.social-link.twitter:hover {
    background-color: #1da1f2;
    color: #ffffff;
}

.social-link.youtube:hover {
    background-color: #ff0000;
    color: #ffffff;
}

.social-link.android:hover {
    background-color: #a4c639;
    color: #ffffff;
}

.social-link.ios:hover {
    background-color: #007aff;
    color: #ffffff;
}

/* Google Custom Search */

#___gcse_0,
.gsc-control-cse {
    padding: 0 !important;
    background-color: transparent !important;
}

/* 
.gsc-control-wrapper-cse {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
} */

.gsc-input {
    padding-right: 0 !important;
    vertical-align: middle;
}

.gsc-input-box {
    border-radius: 0.25rem 0 0 0.25rem !important;
}

#gsc-i-id1 {
    font-family: "Quicksand" !important;
    font-weight: 500 !important;
}

td.gsc-search-button {
    width: 10% !important;
    margin-left: 0 !important;
    padding: 0 !important;
    background-color: #4D90FE !important;
    border-radius: 0 0.25rem 0.25rem 0 !important;
}

td.gsc-search-button:hover {
    cursor: pointer !important;
    background-color: #357ae8 !important;
}

td.gsc-search-button:hover>button.gsc-search-button {
    background-color: #357ae8 !important;
    border-color: #357ae8 !important;
}

button.gsc-search-button {
    width: -webkit-fill-available !important;
    width: -moz-fill-available !important;
    width: fill-available !important;
    margin: 0 !important;
    border: 1px solid #4D90FE !important;
}

button.gsc-search-button:hover {
    border-color: #357ae8 !important;
}

.gsc-results-wrapper-overlay {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    border-radius: 0.25rem !important;
}

a.btn-outline-primary {
    border-color: #0d6efd;
    color: #0d6efd;
}

a.btn-outline-primary:hover {
    background-color: #0d6efd;
    color: #ffffff;
}

a.btn-outline-danger {
    color: #87141f;
}

a.btn-outline-danger:hover {
    background-color: #cb2b3b;
    color: #ffffff;
}

.btn-amazon {
    background-color: #1f6423;
    color: #FFFFFF;
}

.btn-smashwords {
    background-color: #006edd;
    color: #FFFFFF;
}

.btn-google-books {
    background-color: #00d0ff;
}

.btn-ibooks {
    background-color: #ff8615;
    color: #000000;
}

.btn-overdrive {
    background-color: #0076b0;
    color: #FFFFFF;
}

.btn-barnes {
    background-color: #2d4c57;
    color: #FFFFFF;
}

.btn-kobo {
    background-color: #d60000;
    color: #FFFFFF;
}

.btn-amazon:hover {
    background-color: #3f8628;
    color: #FFFFFF;
}

.btn-smashwords:hover {
    background-color: #0060c0;
    color: #FFFFFF;
}

.btn-google-books:hover {
    background-color: #0098ba;
}

.btn-ibooks:hover {
    background-color: #cb6200;
    color: #FFFFFF;
}

.btn-overdrive:hover {
    background-color: #00527b;
    color: #FFFFFF;
}

.btn-barnes:hover {
    background-color: #233d46;
    color: #FFFFFF;
}

.btn-kobo:hover {
    background-color: #950000;
    color: #FFFFFF;
}

footer {
    background-color: #ffffff;
}





/* DARK MODE STYLES */

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode span {
    color: #f5f5f5 !important;
}

body.dark-mode nav.navbar {
    background-color: #191919;
}

body.dark-mode .menu-area,
body.dark-mode .dropdown-toggle {
    background-color: #191919 !important;
    color: #f5f5f5 !important;
}

body.dark-mode .mega-area {
    background-color: #111111 !important;
}

body.dark-mode div.option-1,
body.dark-mode div.option-2,
body.dark-mode div.option-3,
body.dark-mode div.option-4,
body.dark-mode div.option-5 {
    background-color: #333333;
    color: #ffffff;
}

body.dark-mode div.option-1:hover,
body.dark-mode div.option-2:hover,
body.dark-mode div.option-3:hover,
body.dark-mode div.option-4:hover,
body.dark-mode div.option-5:hover {
    background-color: #272727;
}

body.dark-mode a.dropdown-item {
    color: #115ab9;
}

body.dark-mode .mega-area a.dropdown-item,
body.dark-mode footer a.dropdown-item {
    color: #176bd8;
}

body.dark-mode a.dropdown-item:hover {
    background-color: #222222;
}

body.dark-mode footer {
    background-color: #191919;
}

body.dark-mode footer .gsc-control-cse {
    min-width: 320px !important;
    background-color: #191919 !important;
    border: 1px solid #191919 !important;
}

body.dark-mode footer .gsc-control-cse .gsc-input-box {
    background-color: #191919 !important;
    border: 1px solid #555555 !important;
}

body.dark-mode footer .gsc-control-cse .gsc-input-box .gsc-input {
    background-color: #191919 !important;
    border-radius: 4px 0 0 4px;
    color: #f5f5f5;
}

.amazon-product .image-container {
    height: 160px;
    display: flex;
    align-items: center;
}

.amazon-product img {
    max-height: 160px;
    width: auto;
}

.amazon-product .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.15;
    overflow: hidden;
}

.amazon-product .description {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hdrapp {
    font-style: bold;
    color: #EB2F06;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip-container .tooltip-text {
    visibility: hidden;
    width: 240px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    /* Position the tooltip above the icon */
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    font-size: 0.8rem;
    transition: opacity 0.3s;
}

/* Arrow pointing to the icon */
.tooltip-container .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    /* Bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip when hovering over the container */
.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.intro-video-container {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 8px;
    width: 90%;
    text-align: center;
}

@media (min-width: 768px) {
    .modal-content {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .modal-content {
        width: 40%;
    }
}

@media (min-width: 1200px) {
    .modal-content {
        width: 30%;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    line-height: 0.5;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

button#locationApplyBtn,
button#gradeApplyBtn,
button#courseApplyBtn {
    margin-top: 50px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

/* Bootstrap-like styling for the dropdown */
select {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

.typeahead-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    text-align: left;
}

.typeahead-input {
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, .125);
    background-color: #fff;
    text-align: left;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.typeahead-input:focus {
    border-color: #80bdff;
    outline: 0;
    text-align: left;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.25);
}

.typeahead-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ced4da;
    border-top: none;
    background-color: #fff;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075);
    border-radius: 0 0 0.25rem 0.25rem;
    margin: 0 1rem;
    text-align: left !important;
}

.typeahead-item {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left !important;
    cursor: pointer;
}

.typeahead-item:hover {
    background-color: #e9ecef;
}