:root {
    --light-blue-iras: #63a4d6;
    --light-grey-iras: #6f7174;
    --light-grey-iras-200: #999ca0;
    --background-default: #fcfafb;
    --navbar--height: 60px;
    --logo-blue: #2879e4;
    --logo-blue-transparent: #2879e467;
    --light-blue-iras-100: rgb(237, 242, 252);
    --logo-darkblue: #000099;
}



html body {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    /*background-color: var(--background-default); */
}

.font-grey {
    color: var(--light-grey-iras);
}

.font-grey-200 {
    color: var(--light-grey-iras-200);
}

.font-blue {
    color: var(--logo-blue);
}

.font-darkblue {
    color: var(--logo-darkblue);
}

.font-red {
    color: red;
}

.italics {
    font-style: italic;
}

.htmx-indicator {
    opacity: 0;
    transition: opacity 500ms ease-in;
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline;
    opacity: 1;
}

.htmx-request.htmx-indicator {
    display: inline;
    opacity: 1;
}

th {
    text-align: left;
}

.topsvg1 {
    width: 100%;
    z-index: -100;
    overflow: unset;
}

.topsvg2 {
    width: 100%;
    z-index: -110;
    overflow: unset;
}

.topsvg3 {
    width: 100%;
    min-height: 80dvh;
    background-image: linear-gradient(to right bottom, #64a6da, #71addd, #7db4e0, #89bbe4, #95c2e7, #9bc2e3, #a1c3e0, #a7c3dc, #a8bcd0, #a9b6c4, #a8afb8, #a7a9ac);
    z-index: -100;
}

.main-section {
    min-height: 100dvh;
}

.footnote {
    background-image: linear-gradient(to top, #c2def4, #c7e0f4, #cce3f4, #d0e5f5, #d5e7f5, #dbeaf6, #e1ecf8, #e6eff9, #eef3fb, #f5f6fc, #fafbfd, #ffffff);
}

.navbar {
    height: var(--navbar--height);
    transition: 0.1s;
    font-size: 1.2rem;
}

.bg-lightgrey {
    background-color: #edeef1 !important;
}

.warning-svg {
    width: 1rem;
    height: 1rem;
}

.alert-svg {
    width: 1rem;
    height: 1rem;
}

.main-hero {
    padding-top: var(--navbar--height);
    min-height: max(50dvh, 550px);
}


.bg-img {
    position: absolute;
    z-index: -1000;
    height: 100dvh;
    width: 100%;
    object-fit: cover;
}

.hero-inner-text {
    background-color: #ffffffbe;
    padding: 10px;
    border-radius: 10px;
    text-align: justify;
    color: #535457;
}

.warning-text {
    color: orange;
}

.danger-text {
    color: red;
}

/*
h1 {
    color: #125d97;
}
*/

button a {
    text-decoration: none;
}

.bg-image {
    /*background-image: linear-gradient(to right bottom, #f7fcf0, #e5f5df, #d4eece, #bde5bf, #9fd9bb, #7bcbc4, #58b7cd, #399cc6, #1e7eb7, #0b60a1, #0b60a1);
    background-image: linear-gradient(to right bottom, #999999, #ababab, #bebebe, #d1d1d1, #e5e5e5, #e8e7eb, #eaeaf2, #ebedf9, #d9e1f5, #c3d5f0, #abcaeb, #8fc0e5);
    background-image: linear-gradient(to right top, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
    background-image: linear-gradient(to right top, #0042f4, #1259f6, #2e6ef6, #4980f3, #6392ef, #5ca0f2, #5caef4, #65baf3, #49c7f6, #33d3f3, #34deea, #4ee8de);
    background-image: linear-gradient(to right top, #0b70dd, #2f7de2, #468be6, #5b98ea, #6ea5ed, #6daff1, #6eb9f4, #72c2f6, #62caf7, #54d1f4, #4cd8ef, #4edee8);
    */
    background-image: linear-gradient(to left top, #4edee8, #4cd8ef, #54d1f4, #62caf7, #72c2f6, #6eb9f4, #6daff1, #6ea5ed, #5b98ea, #468be6, #2f7de2, #0b70dd);
}

.like {
    stroke: #0ccc16;

    fill: #fff;
}

.dislike {
    stroke: #ce1e1e;
    fill: #fff;
}

.like.feedbackactive {
    fill: #95d899;
}

.dislike.feedbackactive {
    fill: #d69191;
}

.prediction-results {
    text-decoration: underline;
    text-underline-position: under;
}

.main-image {
    max-height: clamp(30vh, 45vh, 60vh);
    width: auto;
    object-fit: contain;
}

.text-smaller {
    font-size: 0.9rem;
}

.text-justify {
    text-align: justify;
}

.about-us-title {
    border-top: 5px solid #1740b9;
}

.small-text {
    font-size: 0.8rem;
}

.table-overflow {
    max-height: 400px;
    overflow: auto;
}

th {
    position: sticky;
    top: 0;
}

.scrollbar-custom-blue::-webkit-scrollbar {
    width: 12px;
}

.scrollbar-custom-blue::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #e7e7e7;
    border: 1px solid #cacaca;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.scrollbar-custom-blue::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #2f7de2;
}

@media screen and (max-width: 560px) {
    .alert-warning {
    font-size: 0.85rem;
    }
}

.table-container {
    width: 100%;
    overflow: auto;
}

.table-sub-container {
    width: 98%;
}

.main-logo {
    color: var(--logo-blue) !important;
    /*font-family: "Dancing Script", cursive !important;*/
    /*color: var(--logo-darkblue) !important;*/
    font-family: "blackpool";
}

.font-larger {
    font-size: 1.9rem;
}

.nav-link-smaller {
    font-size: 1.05rem;
}

.top-navbar-padding {
    padding-top: var(--navbar--height);
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown > .dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

.bg-lightblue {
    background-color: var(--light-blue-iras-100);
}

.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.navbar-decoration {
    background-color: white;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.205);
}

.toast {
    border-width: 0px !important;
}

.glow-on-hover {
    border: none;
    outline: none;
    color: #000000;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: "";
    background: linear-gradient(45deg, #2879e4, #63a4d6, #6eff9e, #6f7174, #000099);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #000;
}

.glow-on-hover:active:after,
.glow-on-hover.active {
    background: transparent;
}

.glow-on-hover.active {
    background-color: #000;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ffffff;
    left: 0;
    top: 0;
    border-radius: 10px;
}

.dropdown-menu {
    min-width: 600px;  /* Ensures there is a minimum width for usability */
    padding: 10px;     /* Optional padding to enhance appearance */
}

.dropdown-item {
    text-align: center;
}

.bg-white {
    background: white;
}


@media print {
    .hideprint {
        display: none;
    }
}

.subject-title {
    display:none;
    visibility: hidden;
    opacity: 0;
}