/*
                            <div class="row normal-form-row">
                                <div class="radio-group-title">
                                    This question will be:
                                </div>
                                <div class="normal-form-control form-group form-group-sm col-md-10">
                                    {% for subfield in problem_form.content_type %}
                                    <div class="row">
                                        <div class="col normal-radio-control">
                                            {{ subfield }} {{ subfield.label }}
                                        </div>
                                    </div>
                                    {% endfor %}


                                </div>
                            </div>
                                    */


* {
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
}

body {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

@media (max-width: 660px) {
    .container-fluid {
        padding-right: var(--bs-gutter-x,.1rem) !important;
        padding-left: var(--bs-gutter-x,.1rem) !important;
    }
}

.bottom-border-line {
    border-bottom: 1px solid #ccc;
}

.content-container {
    padding-right: 20px;
    padding-left: 46px;
    margin-left: 0;
}


.text-with-icon {
    display: flex;
    align-items: baseline;
}
.font-awesome-icon {
    margin-left: 10px;
    font-size: .9em;
    color: #969795;
}
.default-font-size{
    font-size: .9em;
}
.tooltip-inner {
    width: 200px !important;
}

.modal-open[style] {
    padding-right: 0px !important;
}

.modal-header {
    justify-content: flex-start !important;
}

.alert-success {
    background-color: #e0fcda;
}
.alert {
    font-size: .9em;
}

.font-awesome-color {
    color: #969795;
}

@media (max-width: 980px) {
    h1 {
        font-size: 1.75em;
    }
}
@media (max-width: 763px) {
    h1 {
        font-size: 1.5em;
    }
}

.orange-text {
    /* color: #ffa11a; */
    /*color: #de8301; */
    color: #dd7f10;
    text-decoration: none;
}
.orange-text-hover:hover {
    text-decoration: underline;
    color: #dd7f10;
}

.light-orange-text {
    /* color: #ffa11a; */
    color: #e89114;

}
.custom-navbar {
    background-color: #ffffff;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0,0,0, .75);
}

.nav-item {
    px-2;
    font-size: .9em;
}

.dropdown-item {
    font-size: .85em;
}

.custom-nav-image {
    height: 40px;
}

.nav-link {
    color: #000000;
    padding-bottom: .4rem !important;
}

.tabs {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    margin:0;
}

.tab-content {
    min-height: 600px;
    border-left: 1px solid #ccc ;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background-color: #ffffff;
}

.nav-tabs {
    margin: 0;
}

.tab-pane {
    border-radius: 0px 0px 5px 5px;
    padding: 10px;
}

.nav-tabs {
    margin-bottom: 0;
}

.disabled-tab {
    disabled;
}


.content-row {
    background-color: #F2F2F2;
    overflow: hidden;
    min-height: 85vh;
}

.page-title {
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.page-title-with-subtext {
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 0;
}

.page-title-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sign-in-sub-text {
    font-size: .9em;
}

.remember-me label {
    display: inline-block;
    vertical-align: middle;
    font-size: .8em;
}

#remember_me {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    vertical-align: middle;
}


/* Primary button customizations */
.btn-primary {
    background-color: #1d9dff;
    border: 2px solid #136baf;
    font-weight: bold;
    color: #ffffff;
/*    text-transform: uppercase; */
    box-shadow: 0 10px 20px -8px rgba(0, 0, 0,.7);
    outline:none;
    min-width: 120px;
}
.btn-primary:hover {
    background-color: #0f7bcd;
    border: 2px solid #1d9dff;
}
.btn-primary:focus {
    background-color: #0f7bcd;
    border: 2px solid #1d9dff;
    box-shadow: 0 10px 20px -8px rgba(0, 0, 0,.7) !important;
}

.custom-button:active {
    background-color: #0f7bcd;
    border: 2px solid #1d9dff;
    transform: translateY(2px);
    outline: 0;
}
.custom-button:disabled {
    background-color: #ccc;
    border: 1px solid #656464;
    outline: 0;
}


/* Customize input fields */

/* Remove background color that remains in input field after using autofill  */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

/* Reduce shadowing around an input field that has the focus -- box-shadow */
.form-control:focus {
    color: #212529;
    background-color: #ffffff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.25);
}

.nav-link.disabled {
    pointer-events: all !important;
}

.form-control {
  -webkit-appearance: auto !important;
  appearance: auto !important;
}

.normal-form-control, .normal-form-control option, .normal-form-control label {
    font-size: .9rem;
}

.normal-form-row {
    margin-top: 12px;
}

.normal-link {
    font-size: .9em;
}
@media (max-width: 990px) {
    .normal-link {
        font-size: .75em;
    }
}
@media (max-width: 990px) {
    .normal-link {
        font-size: .6em;
    }
}
@media (max-width: 990px) {
    .normal-link {
        font-size: .6em;
        margin-left: -20px;
    }
}


.smaller-form-control, .smaller-form-control option, .smaller-form-control label {
    font-size: .75rem;
}
.smaller-form-row {
    margin-top: 10px;
}

.custom-footer {
    background: #ffffff;
}

.custom-footer > div {
    font-size: .75rem;
}



.title-grid {
    display: grid;
    height: 100%;
    width: 100%;
    grid-template-columns: 8fr 12fr 20fr 2fr;
}
@media (max-width: 770px) {
    .title-grid {
        grid-template-columns: 12fr 8fr 20fr 2fr;
    }
}
@media (max-width: 600px) {
    .title-grid {
        grid-template-columns: 15fr;
    }
}
.path-name {
    grid-column: 1 / 2;
    grid-row: 1;
}
/*@media (max-width: 765px) {
    .activity-name {
    }
}
@media (max-width: 530px) {
    .activity-name {
        font-size: .8em;
    }
    .activity-title-bar-button {
        font-size: .6rem !important;
    }
}
*/

.submit-btn-primary {

    background-color: #70AD47;
    border: 2px solid #ffffff;
    font-weight: bold;
    color: #ffffff;
    box-shadow: rgba(255, 255, 255, 0.65) 0px 5px 15px;
 /*   outline:none;*/
}
.submit-btn-primary:hover {
    background-color: #558335;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.custom-submit-button:active {
    background-color: #558335;
    border: 2px solid #EAEAEA;
    transform: translateY(2px);
    outline: 0;
    color: #ffffff;
}
@media (max-width: 650px) {
    .custom-submit-button {
        font-size: .8em;
    }
}
@media (max-width: 450px) {
    .custom-submit-button {
        font-size: .7em;
    }
}

.submit-btn-primary:focus {
    background-color: #558335;
    border: 2px solid #EAEAEA;
    box-shadow: rgba(255, 255, 255, 0.65) 0px 2px 15px;
    color: #ffffff;
}

.matheditor-wrapper-equation_editor {
    position: relative;
    width: 100%;
}

#equation_editor {
    width: 100%;
    display: flex;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
    height: 90px;
}
@media (max-width: 450px) {
    #equation_editor {
        font-size: 1em !important;
        height: 75px !important;
    }
}
@media (max-width: 360px) {
    #equation_editor {
        font-size: 1em !important;
        height: 60px !important;
    }
}
@media (max-width: 280px) {
    #equation_editor {
        font-size: .6em !important;
        height: 50px !important;
    }
}

#close-btn-equation_editor {
    font-size: .75em;
    width: 1em;
    height: 1em;
    border: 0;
    border-radius: .25rem;
    opacity: .5;
    padding: 0px;
}

.matheditor-wrapper-equation_editor_display {
    position: relative;
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#equation_editor_display {
    height: 90px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
    border: 0;
    background-color: transparent;
    font-size: 1.6em !important;
    padding-top: 10px;
    pointer-events:none;
}
@media (max-width: 700px) {
    #equation_editor_display {
        font-size: 1.25em !important;
    }
}
@media (max-width: 460px) {
    #equation_editor_display {
        font-size: 1em !important;
    }
}
@media (max-width: 420px) {
    #equation_editor_display {
        padding-top: 5px;
    }
}
@media (max-width: 380px) {
    #equation_editor_display {
        font-size: .8em !important;
    }
}
.modal-title {
    font-weight: bold;
}
.modal-dialog {
    min-width: 700px;
}
@media (max-width: 760px) {
    .modal-dialog {
        min-width: 650px;
    }
}
@media (max-width: 700px) {
    .modal-dialog {
        min-width: 600px;
    }
}
@media (max-width: 650px) {
    .modal-dialog {
        min-width: 550px;
    }
}
@media (max-width: 600px) {
    .modal-dialog {
        min-width: 500px;
    }
}
@media (max-width: 550px) {
    .modal-dialog {
        min-width: 450px;
    }
}
@media (max-width: 500px) {
    .modal-dialog {
        min-width: 400px;
    }
}
@media (max-width: 450px) {
    .modal-dialog {
        min-width: 350px;
    }
}
@media (max-width: 400px) {
    .modal-dialog {
        min-width: 300px;
    }
}
@media (max-width: 350px) {
    .modal-dialog {
        min-width: 300px;
    }
}
@media (max-width: 300px) {
    .modal-dialog {
        min-width: 200px;
    }
}
@media (max-width: 250px) {
    .modal-dialog {
        min-width: 200px;
    }
}
/*
@media (max-width:465px) {
    .modal-title {
        font-size: .9em;
    }
} */

/* Customize checkbox controls so the checkbox lines up nicely with the label */
.normal-checkbox-control {
    display: flex;
    align-items: center;
}
.normal-checkbox-control > div > label > input {
    border: 1px solid #ced4da;
    margin-left: 2px;
}
.normal-checkbox-label {
    font-size: .9em;
    padding-left: 6px;
}
.normal-label {
    font-size: .9em;
}

#remember_me {
    margin-top: -4px;
    height: 14px;
    width: 14px;
}

/* Customize radio controls so circle aligns with label */
.normal-radio-control {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-top: 12px;
}
.normal-radio-control > label {
    font-size: .9em;
    padding-left: 6px;
}
.normal-radio-control > input {
/*    margin-top: 6px; */
    height: 14px;
    width: 14px;
}



/* Popover settings */
.popover {
    white-space: pre-line;
}

.popover-glyph {
    font-size: .9em;
    padding-left:5px;
}

/* Validation error messages */
.help-block {
    color: red;
    font-size: .8em;
}

.section-header {
    text-transform: uppercase;
    font-weight: bold;
    font-size: .95em;
    padding-bottom: 1.5em;
    padding-top: .8em;
    margin-bottom: 0;
}

.border-row {
    border-top: 1px solid #a4a3a3;
    padding-top: 1em;
}

.radio-row {
    display: flex;
}

#login-code-control label {
    display: none;
}

.page-sub-header {
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 4px;

}

.btn-outline-primary {
    border-color: #ced4da;
    color: #000000;
    background-color: #ffffff;
    outline:none;
    font-size: .9em;
    min-width: 120px;
}

.btn-outline-primary:hover {
    background-color: #0f7bcd;
    font-size: .9em;
}
.btn-outline-primary:focus {
    background-color: #0f7bcd;
    font-size: .9em;
}

.btn-check:active+.btn-outline-primary, .btn-check:checked+.btn-outline-primary, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show, .btn-outline-primary:active {
    color: #fff;
    background-color: #1d9dff;
    border-color: #136baf;
    font-weight: bold;
    font-size: .9em;
}

.activity-content-row {
    background-color: #F2F2F2;
}

@media (max-width: 991px) {
    .content-container {
        padding-left: 30px;
    }
}

@media (max-width: 275px) {
    .content-container {
        padding-left: 25px;
        padding-right: 20px;
    }
}