﻿.question-container {
    margin-bottom: 1em;
}

.answer-group {
    margin-bottom: 2em;
}

.answers {
    /*margin-left: 20px;*/
}

.answer-message {
    color: red;   
    margin-top: 1%;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

.answer-correct {
    color: green;
    margin-top: 1%;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

.side-by-side.label {
    text-align: left;
}

.header-panel {
    position: initial;
}

.nav-bar {
    position: initial;
}

@media only screen and (orientation: landscape) {
    @media (max-width: 770px) {
        .course-content {
            position: fixed;
            top: 27px;
            bottom: initial;
            left: 85px;
            height: 100%;
        }

        .slide-container {
            left: 20.1%;
            position: absolute;
            bottom: 60px;
        }

        .slide-container.no-audio {
            bottom: 0px;
        }

        .media-container {
            left: 20.1%;
            height: 60px;
            position: absolute;
        }

        .legend-container {
            width: 20%;
        }

        .slide-content {
            display: grid;
            height: 100%;
        }

        .slide-link {
            height: 8em;
        }

        .header-panel {
            position: absolute;
            height: 25px;
            font-size: .85em;
        }

        .header-panel-row2 {
            position: fixed;
            top: 2px;
            right: 0px;
            width: initial;
            margin-right: 5px;
        }

        .nav-bar {
            position: fixed;
            top: 27px;
            left: 0px;
            height: 100%;
            width: 85px;
            border-top: 2px solid #62A3A3;
        }

        .header-nav-container {
            width: 20%;
            height: 9%;
            float: initial;
            margin: 0 0 0 0;
            right: 5px;
            top: 3px;
            position: absolute;
        }

        .affiliate-container {
            display: none;
        }

        .title-container.course-study {
            position:fixed;
            top: 7px;
            font-size: 1em;
        }

        .title-container.final-exam {
            position: relative;
            top: 50%;
            transform: translateY(-50%);
        }

        .tab-container.open-book {
            margin-right:21px;
        }

        .button {
            /*display: inherit;*/
            width: 95px;
            height: 30px;
            margin-top: 5px;
        }

        .button-container {
            padding: 0 0 0 0;
            float: none;
            position: relative;
            top: 0px;
        }

        .exam-question {
            width: 40%;
            height: 100%;
            margin-left: 3px;
            margin-top: 40px;
            float: left;
            font-weight: bold;
        }

        .exam-question-container {
            left: 5px;
            top: initial;
            height: 100%;
            display: inline-block;
            width: 100%;
        }

        .exam-question-number-container {
            top: 0px;
            left: 0px;
            border-radius: 0px;
            border-bottom-right-radius: 13px;
            position: initial;
            float: left;
        }

        .exam-question-text {
            height: 70%;
            font-size: .75em;
            font-weight: bold;
        }

        .exam-answers {
            width: 48%;
            left: initial;
            max-height: 64%;
            display: inline-block;
            font-size: .5em;
            overflow-y: auto;
            margin-left: 10px;
            margin-top: 15px;
            padding-bottom: 8px;
            border: 1px solid #D3D3D3;
        }

        .exam-answer-text {
            font-size: 1.3em;
        }

        .exam-choice-container {
            margin-left: 9%;
        }

        .exam-answer-choice {
            float: left;
            margin-bottom: initial;
        }

        .exam-nav-container {  
            position: fixed;          
            width: 85%;
            bottom: 2px;
            margin-left: 2px;
            left: initial;
            right: initial;
        }

        div.exam-nav-container input {
            height: 40px;
            font-size: 16px;
            width: 32.5%;
            display: inline-block;
        }

        .ui-button {
            display: block;
            margin-bottom: 3px;
            border-radius: 4px;
        }

        .WordSection1 {
            /*width: 220px !important;*/
        }

        .WordSection2 {
            left: 221px !important;
        }

        .toc-toggle { 
            /*width: 70px;
            height: 20px;*/  
        }

        .toc-toggle.full-screen {
            left: 0px;  
        }

        .WordSection2.full-screen {
            left: 0px !important;
        }

        .document-course-buttons {
            float: none;
        }

        .slide-course-buttons {
            float: none;
            display: none;
        }

        .button-container input {
            margin-left: auto;
            margin-right: auto;
            float: none;
            white-space: normal;
            height: auto;
            min-height: 30px;
        }

        .wizard {
            position: absolute;
            top: 29px;
            bottom: 0px;          
        }

        .wizard-content-wrapper {
            position: fixed;
            top: 0px;
            width: 90%;
            height: 75%;
            /*margin-top: auto;
            margin-bottom: auto;*/
            margin-left: auto;
            margin-right: auto;
            font-size: 16px;
        }

        .wizard-dialog {
            top: 0px;
            width: 100%;
            font-size: 16px;
            margin-top: 8%;
        }

        .wizard-button-container {
            bottom: 10px;
        }

        .wizard-button-wrapper {
            width: 50%;    
        }

            .wizard-button-wrapper input {
                width: 150px;
                height: 40px;
                font-size: 16px;
                margin-right: 5px;
                border-radius: 6px;
                float: left;
            }

        .wizard-dialog.introduction {
            width: 100%;
            height: 95%;
            overflow-y: auto;       
            margin-top: 5%;
            border: 1px solid silver;
            border-radius: 4px;
        }

        .wizard-dialog.notes {
            width: 100%;
            height: 95%;
            overflow-y: auto;
            margin-top: 5%;
            border: 1px solid silver;
            border-radius: 4px;
        }
        
        /*.nav-button-prev {
            left: 15%;
        }

        .nav-button-next {
            right: 15%;
        }*/

        .auth-success {
            position: absolute;
            top: 110px;
            right: 40px;
            width: 250px;
        }

        .auth-failed {
            position: absolute;
            top: 120px;
            right: 80px;
        }

        #examSubmitAlert {
            height: 75%;
            overflow-y: auto;
        }
    }
}

@media only screen and (orientation: portrait) {
    @media (max-width: 766px) {
        div.WordSection1 {
            top: 0px;
            height: 170px;
            padding-left: 3px;
            position: absolute;
            border-bottom: 1px solid #808080;
            width: 100%;
        }

        div.WordSection2 {
            left: 0px;
            right: 0px;
            top: 172px;
            bottom: 0px;
            padding-left: 3px;
            /*position: absolute;*/
            border-top: 1px solid #808080;
        }

     div.WordSection2.course-sutdy {       
            bottom: 0px;
     }

            div.WordSection2.final-exam {
                /*height: auto;*/
            }

    div.WordSection2.full-page {
        top: 0px;
    }

    #answerProgress {
        display: none;
    }

        div.course-panel {
            /* left: 0px; */
            /* right: 0px; */
            /* top: 0px; */
            /* bottom: 0px; */
             position: fixed; 
        }

    .slide-question {
        position: relative;
    }

    div.question-panel {
        /* left: 0px; */
        /* right: 0px; */
        /* bottom: 0px; */
        /* top: 1px; */
        border: none;
        border-radius: 0px;
        bottom: 0px;
        /* position: absolute; */
    }

    div.final-exam-header {
        border-radius: 0px;
        top: 0px;
    }

    div.slide-controls-container {
            
    }

    div.slide-links-container {
        /*display: none;*/
    }

    .final-exam-header {
        display: none;
    }

        .tab {
            font-size: small;
            height: 40%;
        }

        .exam-tab.closed-book {
            width: 100%;
        }

    .exam-tab.course-study {
        display: none;
    }

    .course-tab.course-study {
        width: 100%;
    }

        .title-container.final-exam {
            position: relative;
            top: 50%;
            transform: translateY(-50%);
        }

        .title-container.course-study {
            position:fixed;
            top: 7px;
            font-size: .85em;
        }

    .exam-tab.final-exam.open-book {
        position: relative;
        float: right;
        width: 50%;
    }

        .exam-tab.closed-book {
            top: 9px;
            width: 100%;            
            position: relative;
        }

    .exam-tab.inactive {

    }

        .exam-question {
            /*width: 95%;*/
             margin-left: 20px; 
            /* margin-right: 10px; */
            margin-top: 10px;
            position: absolute;
            height: 25%;
            width: 95%;
            font-weight: bold;
            min-height: 28%;
            left: initial;
        }

        .exam-question-container {
            height: 100%;
            left: 20px;
            width: 90%;
            margin-top: 5px;
            position: relative;
            margin-right: 10px;
        }

        /*.exam-question-container.open-book {
            left: 50px;
            right: 0px;       
            top: 20px;
        }*/

        .exam-answers {
            position: absolute;
            left: 0px;
            top: 175px;
            margin-top: 0%;
            width: 95%;
            margin-top: 5px;
            font-size: .75em;
            height: 40%;
            border: 1px solid #D3D3D3;
        }

        .exam-question-text {
            width: 100%;
            display: block;
            font-size: .9em;
            height: 70%;
            overflow-y: auto;
        }

        .exam-question-number-container {
            top: 0px;
            left: 0px;
            border-radius: 0px;
            border-bottom-right-radius: 13px;
            position: initial;
            float: left;
        }

        .exam-choice-container {
            margin-left: 9%;
        }

    .exam-answer-choice {
        float: left;
        margin-bottom: initial;
    }

    .exam-answer-text {
        font-size: 1.1em;
    }

        .exam-nav-container {
            position: fixed;
            width: 100%;
            bottom: 2px;
            margin-left: 2px;
            left: initial;
            right: initial;
        }

    .exam-nav-container input {
        height: 40px;
        font-size: 16px;
        width: 32.5%;
    }

    .popup-body {
        font-size: 1.5em;
    }

    .popup-alert-large {
        left: 10px;
        right: 10px;
        top: 10px;
        bottom: 10px;
        width: initial;
        margin-right: initial;
        margin-left: initial;
        position: absolute;
        border-radius: 0px;
        box-shadow: none;
    }

    .popup-alert-medium {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    .popup-alert-small {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    .slide-canvas {
        left: 0px;
        right: 0px;
        bottom: 2px;
    }

    .slide {
        cursor: pointer; 
        width: 10em%; 
        height: 100%; 
        margin-top: 0;
        display: inline;    
    }

    .slide-link {
        width: 16em;
        height: 92%;
        margin: 2px 2px 2px 0;
        padding: 2px;
        display: inline-block;
    }

        .button-container .button {
            width: 75px;
            height: 30px;
            font-size: 1em;
        }

        /*.nav-button {
            top: 35%;
        }*/

    /*.nav-button-prev {
        left: 0px;
    }

    .nav-button-next {
        right: 0px;
    }*/

        .course-content {
            top: 67px;
        }

        .header-panel {
            height: 25px;
            font-size: .85em;
        }

        .header-panel-row2 {
            position: fixed;
            top: 2px;
            right: 0px;
            width: initial;
            margin-right: 5px;
        }

    .affiliate-container {
        display: none;
    }

        .header-nav-container {
            width: 50%;
            height: 9%;
            float: initial;
            margin: 0 0 0 0;
            right: 5px;
            top: 3px;
            position: absolute;
        }

        .eval-question-container {
            
        }

        .eval-question {
            width: inherit;
            float: none;
        }

        .eval-answer-container {
            
        }

        .toc-toggle.full-screen {
            top: 0px;  
            left: 75%; 
        }

        .WordSection2.full-screen {
            top: 0px;
        }

        .wizard {
            position: fixed;
            top: 21px;
            bottom: 0px;          
        }

        .wizard-content-wrapper {
            width: 100%;
            height: 80%;
            font-size: 16px;
        }

        .wizard-dialog {
            top: 0px;
            width: 90%;
            height: 95%;
            font-size: 20px;
            margin-top: 1em;
        }

        .wizard-button-wrapper {
            width: 71%;
            margin-left: auto;
            margin-right: auto;
        }

        .wizard-button-wrapper input {
            width: 120px;
            height: 50px;
            font-size: 14px;
            margin-right: 5px;
            border-radius: 6px;
        }

        .wizard-dialog.introduction {
            width: 100%;
            height: 95%;
            overflow-y: auto;       
            margin-top: 5%;
            border: 1px solid silver;
            border-radius: 4px;
        }

        .side-by-side.large {
            display: block;
            width: 100%;
        }

        .side-by-side.medium {
            display: block;
            width: 100%;
        }

        .media-container {
            height: 12%;
        }

        .slide-container {
            height: 67%;
        }

            .slide-container.no-audio {
                height: 80%;
            }

        .legend-container {
            height: 20%;
            bottom: 12.5%;
        }

            .legend-container.no-audio {
                bottom: 0px;
            }

        .ui-dialog {
            width: 300px !important;
        }

        #examSubmitAlert {
            height: 75%;
            overflow-y: auto;
        }
    }
}
