@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyN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wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.study-btn {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(to right, orange, yellow, orange);
    margin-top: 2.75vh;
    padding: 1vh 2vw;
    font-size: 2.25vh;
    font-weight: bold;
    border-radius: 40px;
}

.back-to-home {
    font-size: 1.5vh;
    border-radius: 50px;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
}

.filter {
    text-align: center;
    margin-top: 5vh;
    margin-bottom: 3vh;
}
 .filter h2 {
        font-size: 2.75vh;
        font-weight: bolder;
        font-family: 'Fredoka', sans-serif;
    }

.alert {
    margin-top: 10px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.75vh;
    width: 30%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.main-container {
    font-size: 1.75vh;
    font-family: 'Quicksand', sans-serif;
}
.gradient-box {
    background: linear-gradient(to bottom right, yellow, orange);
    padding: 20px 10px;
    border-radius: 30px;
    margin-right: 2%;
    margin-bottom: 2%;
}
.white-box {
    background-color: white;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 3%;
}
.bold-label {
    font-weight: bold;
}
.margin-bottom {
    margin-bottom: 3%;
}

.margin-left {
    margin-left: 2%;
}
.margin-right {
    margin-right: 1%;
}
.small-checkbox {
    height: 2.15vh;
    width: 2.15vh;
}

.year-range-container {
    font-size: 1.75vh;
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(to bottom right, yellow, orange);
    padding: 2% 1%;
    border-radius: 30px;
    margin-top: 1%;
    text-align: center;
    width: 20%;
}
.year-range-inner {
    flex: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.year-range-label-box {
    background-color: white;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 3%;
}
.year-range-select-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.year-select {
    margin-right: 3%;
}

.styled-select,
.styled-option {
    border-color: white;
    border-radius: 10px;
    font-weight: bold;
}

.error-message {
    color: red;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5vh;
}

.overflow-hidden-form {
    overflow: hidden;
}

.welcome-heading {
    font-size: 3.5vh;
    font-weight: bolder;
    text-align: center;
    margin-top: 10vh;
    margin-bottom: 2vh;
    font-family: 'Fredoka', sans-serif;
}
.main-sections {
    margin-top: 5%;
}
.section-margin-left {
    margin-left: -5vh;
}

.section-margin-right {
    margin-right: -5vh;
}


.score-title {
    font-size: 1.75vh;
    font-weight: bold;
}
.course-select {
    height: 5vh;
    width: 100%;
    font-size: 2vh;
    font-weight: bold;
    border-radius: 10px;
    border-color: white;
}

.course-option {
    font-size: 2vh;
    font-weight: bold;
    border-radius: 2vh;
    border-color: white;
}
.session-container {
    text-align: center;
    margin-top: 2vh;
    display: flex;
    flex-direction: column;
    min-height: 75vh;
}
    .session-container h4 {
        font-size: 3vh;
        font-weight: bolder;
        font-family: 'Fredoka', sans-serif;
        margin-top: 4vh;
        margin-bottom: 4vh;
    }
.title-image-wrapper {
    display: flex;
    align-items: start;
}
.title-image {
    max-width: 15vh;
    max-height: 15vw;
    margin-top: -10vh;
}

.question-section {
    display: flex;
    align-items: center;
}
.bookmark-icon {
    width: 7vw;
    height: 12vh; 
    cursor: pointer;
}
.question-container {
    font-size: 1.75vh;
    font-family: 'Quicksand', sans-serif;
    min-width: 50%;
}
.question-container h7 {
        background-color: white;
        border-radius: 15px;
        font-weight: bold;
        padding: 12px;
        text-align: left;

}
.line-image {
    max-width: 15vw;
    max-height: 15vh;
    margin: 0.5vh;
}
.question-text {
    text-align: start;
    font-size: 1.75vh;
    font-weight: bold;
    margin-bottom: 2%;
    margin-top: 1%;
}
.meq-textarea {
    width: 100%;
    border-radius: 10px;
    border-color: white;
    padding: 1%;
    font-weight: bold;
    min-height: 12vh;
    font-size: 1.75vh;
}
.mcq-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1%;
}
.mcq-question {
    text-align: left;
    flex: 1;
    font-weight: bold;
}
.mcq-options {
    display: flex;
    gap: 10px;
    align-items: center;
}
.mcq-option {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bolder;
}
.mcq-radio {
    height: 2vh;
    width: 2vh;
}
.footer-label {
    background-color: white;
    border-radius: 12px;
    font-weight: bold;
    padding: 5px;
    font-size: 1.25vh;
    margin-top: 10px;
}
.suggested-answer-box {
    text-align: left;
    font-size: 1.75vh;
    font-family: 'Quicksand', sans-serif;
    background-color: lightgreen;
    color: black;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    margin-bottom: 5%;
    width: auto;
}
.suggested-image {
    max-width: 15vw;
    max-height: 15vh
}
.mcq-results {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.answer-image {
    max-width: 7rem;
    max-height: 7rem;
    text-align: left;
}
.meq-actions {
    margin-left: 10%;
    justify-content: flex-start;
    width: 40%;
    flex: 1;
}
.action-btn {
    font-size: 1.75vh;
    font-family: 'Quicksand', sans-serif;
    background-color: grey;
    color: white;
    border-color: white;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: bold;
}
.navigation {
    font-family: 'Quicksand', sans-serif;
    margin-top: 12vh;
    margin-bottom: 2.75vh;
    bottom: 0;
    left: 0;
}
.goto-wrapper {
    background-color: lightskyblue;
    border-color: white;
    border-radius: 50px;
    padding: 7px 10px;
    font-weight: bold;
    margin-right: 1%;
    text-align: center;
}
.nav-label {
    font-size: 1.5vh;
    color: black;
}
.nav-input {
    text-align: center;
    font-size: 1.5vh;
    border-radius: 50px;
    font-weight: bold;
    width: 7vh;
    height: 3vh;
}
.nav-btn {
    font-size: 1.75vh;
    font-family: 'Quicksand', sans-serif;
    background-color: lightskyblue;
    border-color: white;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: bold;
}
.back {
    font-size: 1.5vh;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 1%;
    font-family: 'Quicksand', sans-serif;
}
.subtopic-back {
    font-size: 1.5vh;
    border-radius: 50px;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 2%;
}
.head {
    font-size: 3vh;
    text-align: center;
    font-weight: bold;
    margin-top: 1%;
    font-family: 'Fredoka', sans-serif;
}
.course-index-head {
    font-size: 3vh;
    text-align: center;
    font-weight: bold;
    font-family: 'Fredoka', sans-serif;
}
.edithead {
    font-size: 3vh;
    text-align: center;
    font-weight: bold;
    margin-top: 5%;
    font-family: 'Fredoka', sans-serif;
}
.course-head {
    font-size: 3vh;
    text-align: center;
    font-weight: bold;
    margin-top: 5%;
    font-family: 'Fredoka', sans-serif;
}

.course-label {
    font-size: 1.75vh;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
}
.course-input {
    font-size: 1.75vh;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    border-radius: 50px;
}
.btn-course {
    font-size: 1.75vh;
    border-radius: 50px;
    margin-top: 2%;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
}
.topic-label {
    font-size: 1.75vh;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
}
.topic-input {
    font-size: 1.75vh;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    border-radius: 50px;
}
.btn-topic {
    font-size: 1.75vh;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    border-radius: 50px;
    margin-top: 1%;
    margin-bottom: 1%;
}
.btn-topic-edit {
    font-size: 1.75vh;
    border-radius: 50px;
    margin-top: 2%;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
}
.course-grp {
    font-size: 1.75vh;
    margin-top: 2%;
}

.btn-addcourse {
    font-size: 1.75vh;
    border-radius: 50px;
    font-weight: bold;
    padding: 7.5px 15px;
    font-family: 'Quicksand', sans-serif;
}
.table-style {
    font-size: 1.75vh;
    border-radius: 50px;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
}
.btn-editcourse {
    font-size: 1.75vh;
    border-radius: 50px;
    font-weight: bold;
    padding: 7.5px 15px;
    margin-right: 1%;
    margin-left: 1%;
}
.course-count {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
}
.course-count p {
    font-size: 2.75vh;
    font-weight: bold;
    font-family: 'Fredoka', sans-serif;
}
.topic-list {
    font-size: 2.75vh;
    text-align: center;
    font-weight: bold;
    font-family: 'Fredoka', sans-serif;
}
.add-topic {
    font-size: 1.75vh;
    border-radius: 50px;
    font-weight: bold;
    padding: 7.5px 15px;
    font-family: 'Quicksand', sans-serif;
    margin-top: 1%;
}
.subtopic-list {
    font-size: 2.75vh;
    text-align: center;
    font-weight: bold;
    font-family: 'Fredoka', sans-serif;
    margin-bottom: 2%;
}
.add-sub {
    font-size: 1.75vh;
    border-radius: 50px;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 2%;
}
.edit-paper-btn {
    font-size: 1.75vh;
    font-weight: bold;
    border-radius: 50px;
    margin-right: 1%;
    margin-left: 1%;
}
.title-input {
    font-size: 1.75vh;
    font-family: 'Quicksand', sans-serif;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 3%;
}
.input-subtopic {
    font-size: 1.75vh;
    font-family: 'Quicksand', sans-serif;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 1%;
}

.title-label {
    font-size: 1.75vh;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    margin-top: 1%;
}
.title-head {
    font-size: 3vh;
    text-align: center;
    font-weight: bold;
    margin-top: 3%;
    font-family: 'Fredoka', sans-serif;
}
.edit-userbtn {
    font-size: 1.75vh;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 1%;
    font-family: 'Quicksand', sans-serif;
}
.pass-label {
    font-size: 1.75vh;
    font-weight: bold;
    margin-top: 3%;
    font-family: 'Quicksand', sans-serif;
}
.update-user {
    font-size: 1.75vh;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    border-radius: 50px;
    margin-top: 15px;
    margin-bottom: 20px;
}
.btn-edituser {
    font-size: 1.75vh;
    border-radius: 50px;
    font-weight: bold;
    padding: 7.5px 15px;
    margin-right: 1%;
}
.topic-head {
    font-size: 3vh;
    text-align: center;
    font-weight: bold;
    font-family: 'Fredoka', sans-serif;
    margin-bottom: 1%;
}