﻿/* Global */

form main {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    justify-content: space-between;
    background: lightgray;
}

h2 {
    font-size: 1.2rem;
}

footer {
    text-align: center;
    font-size: 10px;
}

.fix_logo_posn {
    height: 35px; 
    left:5px; 
    top:5px;
}

/*ccw 01/2021 - to see if modal overlay will work...*/
.modal-backdrop {
    /* bug fix - no overlay */
    display: none;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#DebugInfo {
    position: absolute;
    top: 0px;
    z-index: 10000;
    right: 75px;
    pointer-events: none;
    color: red;
    font-weight: normal;
    font-size: 12px;
    left: 85px;
}

select {
    cursor: pointer;
}

.full-width {
    width: 100%;
}

.menu-container {
    width: 100%;
}

.validation-error {
    padding-bottom: 2em;
}

/*ccw 07/2021 - left-align selects...*/
.arrowLeft {
    background-position-x: 10px;
    padding: 0.375rem 0.375rem 0.375rem 1.75rem;
}

#aspnetForm {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    position: relative;
}

.content-container {
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding-bottom: 15px;
    align-items: center;
}

#loadingBox {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -50px;
    margin-top: -40px;
    width: auto;
    height: auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    border: solid 1px black;
}

#savingBox {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -99px;
    margin-top: -29px;
}

.saving-indicator {
    margin-bottom: -10px;
    text-align: center;
    float: right;
    padding: 0px 10px;
    display: none;
}

.chapterPanel div {
    display: none !important;
}

.modulePanel div {
    display: none !important;
}

.btnViewAccountMessages {
    width: 100%;
    text-decoration: none;
    margin-top: .5em;
    background-color: #7092be;
    border: solid 1px #3f48cc;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 7px 5px;
    display: inline-block;
    font-size: 14px;
    vertical-align: middle;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    flex-grow: 0;
}

/* Login */
#btnLogout {
    display: none;
}

#PageTitle {
    display: inline-block;
    color: #9D4E4E;
    font-size: 1.5em;
    vertical-align: inherit;
    font-weight: normal;
    margin-bottom: 0px;
    margin-left: 10px;
}

.center-text {
    text-align: center;
}

.Login {
    max-width: 300px;
    margin-bottom: 20px;
    margin-top: 20px;
    margin-right: auto;
    margin-left: auto;
}

    .Login label {
        margin-bottom: 0px;
    }

    .Login input[type=text], .Login input[type=password] {
        width: 100%;
    }

.remember-me-container {
    display: flex;
    justify-content: center;
}

.remember-me {
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .remember-me input {
        width: 20px;
        height: 20px;
    }

    .remember-me label {
        margin-left: 7px;
    }

.field-input {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 10px;
}

.login-control {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.login-button-container {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    flex-direction: column;
}

.strong {
    font-weight: bold;
}


/* Student Dashboard  */
.btnViewAccountMessages {
    background: #007bff;
    color: white;
}

    .btnViewAccountMessages:hover {
        color: white;
    }

.course-container {
    width: 100%;
}

.course-select-container {
    margin-top: 15px;
}

#searchResultsPanel {
    display: none;
}

#DueDateResultsPanel {
    display: none;
}

.overdue-field {
    display: flex;
    justify-content: flex-end;
}

.NA-Only {
    padding-right: 2em;
}

#chapterButton {
    display: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#chapterPanel, #modulePanel {
    position: relative;
    flex-grow: 1;
    overflow-y: auto;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    background-color: white;
    display: none;
    border-radius: 5px;
}

.panel {
    display: flex;
    flex-direction: column;
    width: 100%;
}

    .panel .panel-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        background-color: teal;
        color: white;
    }

        .panel .panel-header div {
            padding: 5px;
            flex-grow: 1;
            text-align: center;
        }

        .panel .panel-header .completion-status-column, .panel .panel-body .completion-status-column {
            width: 100px;
            flex-grow: 0;
            flex-shrink: 0;
        }

        .panel .panel-header .due-date-column, .panel .panel-body .due-date-column {
            width: 100px;
            flex-grow: 0;
            flex-shrink: 0;
        }

        .panel .panel-header .criterion-attained-column, .panel .panel-body .criterion-attained-column {
            width: 80px;
            flex-grow: 0;
            flex-shrink: 0;
        }

    .panel .panel-body {
        display: flex;
        flex-grow: 1;
        overflow-y: auto;
    }

        .panel .panel-body ul {
            list-style: none;
            padding: 0;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

            .panel .panel-body ul li {
                display: flex;
                flex-grow: 1;
                flex-direction: row;
            }

                .panel .panel-body ul li a {
                    display: flex;
                    padding-top: 5px;
                    padding-bottom: 5px;
                    flex-grow: 1;
                    flex-direction: row;
                    justify-content: space-between;
                }

                    .panel .panel-body ul li a:hover, .panel .panel-body ul li a:active, .panel .panel-body ul li a:focus {
                        outline: solid 2px gray;
                        outline-offset: -2px;
                        text-decoration: none;
                    }

                    .panel .panel-body ul li a div {
                        flex-grow: 1;
                        text-align: left;
                    }

                        .panel .panel-body ul li a div.completion-status-column {
                            width: 90px;
                            flex-grow: 0;
                        }

                .panel .panel-body ul li.completed .criterion-attained-column {
                    background-image: url(../../images/checkmark.png);
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-size: 20px;
                    background-position: 18px;
                    height: 24px;
                }

                /* Added --> #searchResultsPanelLayoutlist div.completed <-- for Keywod search results panel */
                .panel .panel-body ul li.completedwithintf .criterion-attained-column {
                    background-image: url(../../images/tick-arrow.png);
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-size: 20px;
                    background-position: 18px;
                    height: 24px;
                }

                .panel .panel-body ul li.Notcompleted .criterion-attained-column {
                    background-image: url(../../images/exclamation-point-ps.png);
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-size: 20px;
                    background-position: 18px;
                    height: 24px;
                }

                /*ccw 10/2021...*/
                .panel .panel-body ul li.centered .criterion-attained-column {
                    text-align: center;
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-size: 20px;
                    background-position: 18px;
                    height: 24px;
                }

#modulePanel .panel .panel-body ul li a div:first-child {
    width: 90px;
    flex-grow: 0;
}


#modulePanel .panel .panel-body ul li a div:last-child {
    width: 150px;
    flex-grow: 0;
}


.chapter-area-header {
    padding: 5px;
    background: #bedde6;
}

#chapterButton {
    margin-top: 15px;
    text-align: left;
    flex-shrink: 0;
}

.SummaryAnswerStats table, .SummaryTotalStats table, .SummaryCorrectPerMinute table {
    width: 100%;
}

.SummaryScore {
    text-align: left;
    font-weight: bold;
    width: 50px;
}

.Summary {
    max-width: 600px;
}

.SummaryButtonArea {
    text-align: center;
    max-width: 600px;
}

.button-area {
    text-align: center;
}

    .button-area input, .button-area button, .SummaryButtonArea input, .SummaryButtonArea button {
        margin-left: 1em;
        margin-right: 1em;
        margin-top: .5em;
        height: 3em;
        line-height: 19px;
        padding: 0px;
    }

#accountMessageCount {
    background: red;
    margin: 5px;
    border-radius: .75rem;
}

/* Moved to module.css */
/*#divQuestion {
    width: 100% !important;
}*/

#searchResultslist div.keywordMatched {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}

#pnlModule {
    margin-top: 0px;
}

nav .timerContainer {
    text-align: center;
    padding: 0px 5px;
}

nav #litTimer, nav .timeRemainingLbl {
    color: white;
}

nav .timeRemainingLbl {
    font-size: 10px;
}

.navbar-expand-lg {
    justify-content: space-between;
}

.navbar-expand-md {
    justify-content: space-between;
}


.navbar img {
    align-self: self-start;
}

.navbar-nav .nav-item {
    text-align: right;
}

.menu-alert {
    padding: 5px;
    text-align: center;
    background: darkred;
    color: white;
}

.right-justify {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
}

/*ccw 01/2021*/
.left-justify {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

.navbar-nav .nav-iteml {
    text-align: left;
}

.Report {
    width: 100%;
    overflow: auto;
}

.courseReport, .courseReport td, .courseReport tbody, .courseReport thead > tr {
    border: 1px solid gray;
}

    .courseReport td:nth-child(9) {
        border-right: 4px solid black;
    }

/* Added --> #searchResultsPanelLayoutlist div.completed <-- for Keywod search results panel */
.panel li.completed div:first-child, #searchResultsPanelLayoutlist div.completed, #DueDateResultsPanelLayoutlist div.completed {
    background-image: url(../../images/checkmark.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 18px;
    height: 24px;
}

/* Added --> #searchResultsPanelLayoutlist div.completed <-- for Keywod search results panel */
.panel li.completedwithintf div:first-child, #searchResultsPanelLayoutlist div.completedwithintf, #DueDateResultsPanelLayoutlist div.completedwithintf {
    background-image: url(../../images/tick-arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 18px;
    height: 24px;
}

.panel li.Notcompleted div:first-child, #searchResultsPanelLayoutlist div.Notcompleted, #DueDateResultsPanelLayoutlist div.Notcompleted {
    background-image: url(../../images/exclamation-point-ps.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 18px;
    height: 24px;
}

.lock-icon:before {
    content: "\1f512";
    text-decoration: none;
    padding-left: 15px;
}


.panel li a .overdue {
    background-color: #FA5050;
}

.panel li a .nearDue {
    background-color: yellow;
}

.panel li a .dateDisabled {
    border: 1px solid #C0C0C0;
    color: #C0C0C0;
}

#pass-calc-date {
    display: inline-block;
}

.positiveHighlight {
    color: #06B10D; /* Green */
    font-weight: bold;
}

.negativeHighlight {
    color: #CE062B; /* Red */
    font-weight: bold;
}

.ada-ImageDescription {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* Pre Post-Test Comparison Report - adjusts positioning of numbers */
.NumericCol-Style1 {
    padding: 0 35px;
    text-align: right;
}

.NumericCol {
    padding: 0 5px;
    text-align: right;
}

th.NumericCol {
    text-align: center;
}

/* Copied from master.css */
.terms-container,
.messages-container {
    width: 600px;
    /*min-height: 260px;*/
    height: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    border: solid 2px #B9B7B7;
    background: white;
    padding: 20px;
    color: #2B2B2B;
    font-weight: normal;
}

.sortable-header div {
    text-decoration: underline;
    cursor: pointer;
}

.sortable-header:after {
    color: #9D4E4E;
    font-size: 18px;
}

.arrow-placeholder:after {
    content: '\00a0';
}

.arrow-down:after {
    content: '▼';
}

.arrow-up:after {
    content: '▲';
}

.adminForm thead tr {
    height: 4em;
}

.adminForm {
    white-space: nowrap;
}

.badge {
    display: none;
    background: #BA070F;
    color: #fff;
    padding: 1px 7px;
    border-radius: .8em;
    border: 2px solid #BA070F;
    margin-left: 5px;
}

/* Prevent header from covering modal dialogs. */
.modal-dialog {
    margin-top: 60px;
}

.username-btn {
    display: inline-block;
    color: white;
}

.menu-container
{
    /* move the menu in front of the hint dialog. */
    z-index: 1060;
}

/* override the nav-link color to be solid white. */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,1);
}

@media only screen and (min-width: 960px) {
    .main-body-container {
        width: 960px;
    }
}

@media only screen and (min-width: 1200px) {
    .main-body-container {
        width: 1200px;
    }
}
