/* Default CSS */
/* Generated by the CoffeeCup HTML Editor - www.coffeecup.com */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

iframe {
    border:none;
}

*:focus {
    outline: none !important;
    /*ToDo - make focussed outline only show after tab is pressed...*/
    /*outline: #cbcbcb solid 0.5px !important;*/
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
.scrolling-wrapper{
    width: 100vw;
    height: 100vh;
    overflow: auto;
}

.header_td {
    display: block;
    height: 72px;
}

.header_tr {
    height: 72px;
}

.header_td .container {
    width: 90% !important;
    max-width: 960px;
}

.title1 {
    color: white;
}

#titletext {
    left: 0px;
    position: absolute;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space: nowrap ;
    top: -50px;
    text-indent: 155px;
    max-width: 80%;
}

#logo{
    padding-bottom: 10%;
    width: 14%;
    min-width: 56px;
    height: 0;
    overflow: visible;
    top: -52px;
    left: -5px;
    position: absolute;
}

#IST_logo{
    /*Smaller Logo*/
    /*padding-bottom: 10%;*/
    /*width: 14%;*/
    /*min-width: 56px;*/
    /*height: 0;*/
    /*overflow: visible;*/
    /*top: -52px;*/
    /*left: -5px;*/
    /*position: absolute;*/

    position: absolute;
    min-width: 107px;
    top: 20%;
    left: 10%;
    z-index: 2;
    max-width: 165px;
    margin: 4px;
}

#IST_logo {
    width: 100px;
    height: 100px;
    padding-bottom: 0;
    overflow: visible;
    top: -70px;
    left: -5px;
    position: absolute;
    /*border: solid 1px;*/
}

#logo img {
    position: absolute;
    min-width: 40px;
    top: 20%;
    left: 10%;
    z-index: 2;
    max-width: 132px;
}

#IST_logo img {
    position: absolute;
    min-width: 40px;
    top: 20%;
    left: 10%;
    z-index: 2;
    max-width: 132px;
}

.top-navbar {
    /*height: 50px;*/
}

.expander {
    width:100%;
    position: relative;
    height:100%;
}

/* #CSS For Top Bar Extended to the Width of the Page
================================================== */
/*.top-navbar {*/
/*    background: url(../images/pointed_header_repeat.png) repeat-x 0 0;*/
/*}*/

.acellus-logo {
    background: url(../images/pointed_header_repeat.png) repeat-x 0 0;
    /* top-navbar height is 53px - set in main_css */
}

.review {
    background: url(../images/review_header_repeat.png) repeat-x 0 0;
}

.exam {
    background: url(../images/exam_header_repeat.png) repeat-x 0 0;
}

.exam-recovery {
    background: url(../images/exam-recovery_header_repeat.png) repeat-x 0 0;
}

.setback {
    background: url(../images/setback_header_repeat.png) repeat-x 0 0;
}

.helpvideo {
    background: url(../images/helpvideo_header_repeat.png) repeat-x 0 0;
}

/* #CSS For Top Bar Extended to the Width of the Page
================================================== */

.IST_acellus-logo {
    background-color: #3571B6;
    /*border-bottom: solid 1px #636363;*/
    /* top-navbar height is 53px - set in main_css */
}

.IST_review {
    background-color: #71c6ea;
    /*border-bottom: solid 1px #bfbfbf;*/
}

.IST_exam {
    background-color: #89cf80;
    /*border-bottom: solid 1px #afafaf;*/
}

.IST_exam-recovery, .IST_recovery, .IST_helpvideo {
    background-color: #eeb553;
    /*border-bottom: solid 1px #bbbbbb;*/
}

.IST_setback {
    background-color: #ee714f;
    /*border-bottom: solid 1px #a5a5a5;*/
}

.playerWrapper              { max-width: 600px; }

.live-video-container {
    position: relative;
    padding-bottom: 56.25%; /* this percent is found by using the video's aspect ratio of 16*9, so 9 divided by 16 = 0.5625 or 56.25% */
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    /* transform: scale(0.8); */
}

.live-video-container iframe,
.live-video-container object,
.live-video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.background-book,
.background {
    height:100%;
    width:100%;
    position: relative;
    table-layout:fixed;border-collapse:collapse;
}

.background {
    background-size: cover;
}

.scale-with-grid {
    max-width: 100%;
    height: auto;
}

#student_logo {
    /*padding-top:65px;*/
}

.expand {
    width:100%;
    height:100%;
}

.expand td {
    vertical-align:middle;
}

button.icon-btn {
    font-size: 21px;
    padding: 0;
    text-align: center;
    width: 30px;
}

.choice_button {
    width: 230px;
    margin: 0 auto;
    padding: 10px;
    font-weight: bold;
    color: white;
    font-size: 23px;
    border-radius: 10px;
    background-color: #ffb031;
    background-image: -webkit-linear-gradient(top,#ffce4f,#ffb031);
    border-color: #dc9014;
    box-shadow: 0 1px 2px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.4);
    text-shadow: 0 1px 0 rgba(0,0,0,.2);
    outline: 0;
    font-family: 'Lato';
}
/*.choice_button div {*/
/*    line-height: 29px;*/
/*    !*max-width: 105px;*!*/
/*    -moz-border-radius: 4px;*/
/*    -webkit-border-radius: 4px;*/
/*    border-radius: 4px;*/
/*    -khtml-border-radius: 4px;*/
/*}*/

/* #Keyboard
================================================== */

.keyboard_button {
    font-size:20px;
    font-family:Lato;
    cursor:pointer;
    padding:4px;
    padding-top:2px;
    padding-bottom:1px;
    width: 8%;
    height: 32px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.keyboard_button div, .enter_button {
    line-height: 29px;
    /*max-width: 105px;*/
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -khtml-border-radius: 4px;
}

.keyboard_Switch {
    font-weight:600;
    font-size:18px !important;
}

/* #Footer
================================================== */
#home {
    display: inline;
    float: right;
    position:relative;
    height: 15px;
    text-align: right;
    bottom: -6px;
}

#footwrap {
    height: 43px;
}

.textmiddle {vertical-align:middle;}

#extra_video li {
    padding:8px;
    margin:0px;
    width:110px;
    color:#FFFFFF;
    line-height:20px;
}

#extra_video li:nth-child(even) {
    background: #989EAB;
}

#extra_video li:nth-child(odd) {
    background: #737C8D;
}

#extra_video li:hover {
    cursor:pointer;
    background:#D6DCE8;
    color:#737C8D;
}

#help-video {
    z-index:1;
    position:relative;
    top:-192px;
    right:136px;
}

.menu-item {
    width:36px;
    padding: 6px 8px 6px 8px;
    margin:10px;
    margin-left:0px;
    margin-right:0px;
    vertical-align:middle;
    text-align: center;
    cursor: pointer;
    background-color: #AEBAD2;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px; /* future proofing */
    -khtml-border-radius: 5px; /* for old Konqueror browsers */
}

.menu-item:hover {
    background-color: #737C8D;
}

.book-arrow {
    position:absolute;
    padding: 6px 8px 6px 8px;
    width:30px;
    margin-left:0px;
    margin-right:0px;
    vertical-align:middle;
    text-align: center;
    cursor: pointer;
    background-color: #AEBAD2;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px; /* future proofing */
    -khtml-border-radius: 5px; /* for old Konqueror browsers */
}

.arrow-next {
    top:40%;
    right:-2%;
}

.arrow-prev {
    top:40%;
    left:-3%;
}

#static-book-image {
    max-width: 700px;
    margin: 0 auto;
    padding: 10px;
    position: relative;
}

.forward-arrow {
    margin-left:5px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left:8px solid #45577B;
}

.back-arrow {
    margin-right:5px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right:8px solid #45577B;
}

.arrow-next:hover .forward-arrow {
    margin-left:5px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left:8px solid #FFFFFF;
}

.arrow-prev:hover .back-arrow {
    margin-right:5px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right:8px solid #FFFFFF;
}

.staticImage {
    max-width: 550px;
}
#next_progress {
    position:relative;
    height:65px;
    top:0px;
}

#student_footer {
    height:46px;
    width:100%;
    bottom:0;
    overflow:hidden;
}

#bottom-navbar {
    position:absolute;
    bottom:0px;
    width: 100%;
    height: 46px;
    vertical-align: middle;
    overflow:hidden;
    background-color: #323030;
    font: italic 11px/50px Georgia, "Times New Roman", Times, serif;
}

#progress {
    display:none; /*Progress is not currently displayed...*/
    position:absolute;
    float: left;
    padding-bottom: 2%;
    width: 35%;
    height: 30px;
    overflow: visible;
}

#progress img {
    margin-top:12px;
    min-width: 156px;
    vertical-align: bottom;
}

#next {
    display:none;
    float: right;
    padding-bottom: 2%;
    width: 35%;
    overflow: visible;
}

#guess {
    padding-bottom: 2%;
    width: 97%;
    overflow: visible;
}

#next img {
    float: right;
    cursor:pointer;
}

#copyright p {
    padding-right: 52px;
}

#copyright {
    left:0px;
    bottom: -10px;
    position: absolute;
    height: 15px;
    line-height: 21px;
    color: #C3C1C1;
}

/* Course Content Positioning
================================================== */

.static_image { max-width:350px !important;}

#course-content {
    display:none;
    text-align: center;
}

#answer-input input[type="text"] {
    margin-top:20px;
    width:90%;
    max-width:564px;
}

.question {
    width:100%
}

#book {
    width: 100%;
}

#book img {
    cursor: pointer;
}

.scrollabletext ul {

    list-style-type: disc;
}

.scrollabletext p {
    margin-bottom:1em;
    margin-right:1em;
    line-height: 1.5;
    text-align:justify;
}

.scrollabletext sup
{
    font-size: small !important;
    vertical-align: baseline !important;
    position: relative !important;
    top: -0.7em !important;
}

.scrollabletext sub {
    vertical-align: baseline !important;
    position: relative !important;
    bottom: -0.2em !important;
    font-size: small !important;
}

.scrolling-book {
    text-align:left;
    max-width:420px;
    height:100%;
    overflow:auto;
}

.text-whole-width {
    padding: 2px 8px 2px 8px;
    width:100%;
}

.text-half-width {
    text-indent:8px;
    padding: 2px 0px 2px 0px;
    width: 100%;
    max-width: 291px;
}

.text-half {
    width: 47.5%;
}

.image-half {
    width:41.5%;
}

.image-third {
    width:30%;
}

.image-quarter {
    width:25%;
}

.wrapping-div {
    display:flex; 
    gap: 8px; 
    justify-content: center;
}

#book .image-third {
    width:33% !important;
}

.imgAnswer_text {
    display: inline-block;
    border-radius: 50%;
    background: #bababa;
    border: 3px solid #72706f;
    width: 31px;
    height: 31px;
    line-height: 26px;
    text-align: center;
    margin: -27px;
    float: left;
    font-size: 15px;
    font-weight: bold;
    position: absolute;
    z-index: 2;
}

.right {
    float: left;
    clear: left;
}

.left {
    float: right;
    clear: right;
}

.text-center {
    text-align:center;
}
.text-answer {
    padding: 5px 8px 5px 8px;
    margin:4px;
    margin-left:0px;
    margin-right:0px;
    text-align: left;
    cursor: pointer;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -khtml-border-radius: 5px;
}
.image-answer {
    border:solid 7px #72706F;
    padding: 2px 8px 2px 8px;
    margin:10px;
    margin-left:0px;
    margin-right:0px;
    text-align: left;
    cursor: pointer;
    background-color: #BABABA;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px; /* future proofing */
    -khtml-border-radius: 5px; /* for old Konqueror browsers */
}
.help-problem {
    border: solid 5px #D0E6F4;
    padding: 0;
    width: 60px;
    margin: auto;
    text-align: left;
    cursor: pointer;
    background-color: #D0E6F4;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.help-problem:hover {
    border:solid 5px #ECF4FA;
}

.questionHeader {
    width: 100%;
    margin-bottom: 24px;
    border-bottom: solid .5px #cccccc;
    margin-top: 6px;
}

#Response a {
    color: #ffffff !important;
    text-decoration: underline;
    font-weight: bold;
}

#Response a:hover {
    color: #b6edff !important;
    cursor: pointer;
}

.inline_message_header {
    font-family: 'Open Sans';
    font-weight: normal;
    font-size: 17px;
    margin-top: -30px;
}

.inline_message_header tr:nth-child(1) td {
    font-size: 25px;
}

.inline_message_header tr:nth-child(2) td {
    padding-bottom: 5px;
}

.inline_message_header tr:nth-child(3) td:first-child {
    width:80px;
}

/*.inline_message_header tr:nth-child(3) td {*/
/*    background-color:blue;*/
/*}*/

.inline_message_body {
    white-space: break-spaces;
    border-top: solid 1px #d0d0d0;
    margin-top: 15px;
    padding-top: 23px;
    font-family: 'Open Sans';
    font-weight: normal;
    font-size: 18px;
}

.inline_message_body a {
    color: #0043ff !important;
    text-decoration: underline;
    cursor: pointer;
}

.inline_message_body a:hover {
    color: #3c6cff !important;
}

/*
Drill CSS*/

#allAnimation{
    max-width: 700px;
    width: 100%;
    overflow: hidden;
    margin: 2% auto 0;
    background-size: cover;
    position: relative;
}
#allAnimation .third{
    width: 33.33%;
    height: 100%;
    position: relative;
    float: left;
}
#allAnimation .third *{
    cursor: pointer
}
#wrapper1, #wrapper2, #wrapper3 {
    height: 100%;
    position: relative;
}
#allAnimation #character1, #allAnimation #character2, #allAnimation #character3{
    width: 100%;
}
#allAnimation #text1, #allAnimation #text2, #allAnimation #text3 {
    width: 100%;
    position: absolute;
}
#allAnimation #label_1, #allAnimation #label_2, #allAnimation #label_3 {
    position: absolute;
    margin-left: -10px;
    margin-top: -10px;
    background: url(/StudentFunctions/Drills/label_bkgd.png) no-repeat;
    width: 20px;
    height: 20px;
    text-align: center;
}
#allAnimation #_A1, #allAnimation #_A2, #allAnimation #_A3{
    width: 100%;
    display: block;
}
#allAnimation #showanswer1, #allAnimation #showanswer2, #allAnimation #showanswer3 {
    position: absolute;
    display: none;
    top: -20%;
    left: 0;
    right: 0;
    width: 100%;
    height: 140%;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
#allAnimation .centerDiv {
    margin: auto;
    display: block;
    position: relative;
}

#newMess_div {  /*Pop-Up DIV whenever there is a notification.*/
    position: fixed;
    background-color: white;
    border: solid 1px #d6d6d6;
    right: 7px;
    bottom: 9px;
    z-index: 1000;
    min-width: 340px;
    font-size: 12px;
    color: #4c4c4c;
    font-family: Lato;
    box-shadow: 0px 0px 8px #c1c1c1;
    vertical-align:middle;
    cursor: pointer;
}

#newMess_div * {
    vertical-align:middle !important;
}

#newMessTable {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
}

#newMessTitle {
    font-size: 14px;
    font-weight: bold;
    /*color: black;*/
}

.background_crop {
    overflow: hidden;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
}

/* #Media Queries
================================================== */
/* Smaller than standard 960 (devices and browsers) */

/* Tablet Portrait size to standard 960 (devices and browsers) */

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {

    .title1 strong { color: white !important; }
    .title2 { color: white !important; }

}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {

    .title1 strong { color: white !important; }
    .title2 { color: white !important; }
    .image-quarter { width: 45%; }
    .wrapping-div { flex-wrap: wrap; }
}

@media only screen and (max-height: 520px),  only screen and (max-width: 350px){
    #allAnimation.spelling{
        height: 160px;
        background-size: 100%;
        background-position: 0 70%, 0 100%, 100% 67%;
    }
}

@media only screen and (max-width: 400px) {
    .container {
        width: 275px !important;
    }
    .container.full-width {
        width: 100% !important;
    }
}

@media only screen and (max-height: 270px) {
    .top-navbar {
        /*height: 8px;*/
    }
    /*#logo,  #IST_logo img {*/
    /*    top: 17%;*/
    /*}*/
    #titletext {
        display: none;
    }

    .staticImage {
        margin-top: -62px !important;
        max-width: 300px !important;
    }
}

/*lightbox css*/
.lightbox {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox_content {
     background: white;
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
    font: bold 15px "Open Sans", sans-serif;
    max-height: 94%;
    overflow: auto;
}
.lightbox_overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: -1;
    background: rgba(0, 0, 0, 0.71);
}
.lightbox_close {
    font: 27px "Open Sans", sans-serif;
    float: right;
    width: 21px;
    height: 25px;
    line-height: 23px;
    margin: -32px;
    box-sizing: border-box;
    border-radius: 50%;
    cursor:pointer;
}

.recovery {
    background: url(../images/exam-recovery_header_repeat.png) repeat-x 0 0;
}

.scrolling-text-wrapper {
    background-color: white;
    border-radius: 20px;
    border: solid 1px #e5e5e5;
    padding: 80px;
    text-align: left;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.book-question-wrapper {
    display: flex;
    flex-direction: row-reverse;
    padding: 42px 15px 0;
    justify-content: space-between;
}
.scrolling-book-question, .scrolling-book {
    width: 45%;
    max-width: 420px;
}
.scrolling-book-question {
    padding-right: 20px;
}

@media only screen and (max-width: 960px) {
    .background-book .container {
        width: 100% !important;
    }
    .background-book {
        background-position: right !important;
        background-size: 103% !important;
    }
    .book-question-wrapper {
        padding: 42px 75px 0 20px;
    }
    .scrolling-book {
        width: 50%;
        margin-top: 30px;
    }
    .scrolling-book-question {
        padding-right: 0px;
    }
}

@media only screen and (max-width: 650px) {
    .background-book {
        background-size: 220% !important;
        background-position-x: -28px !important;
    }
    .book-question-wrapper {
        padding: 42px 30px;
        flex-direction: column;
        align-items: center;
    }
    .scrolling-book, .scrolling-book-question {
        width: 100%;
    }
    .background-book #question-container {
        margin-right: auto !important;
    }
}

.mobile_show {
    display: none;
}

@media only screen and (max-width: 650px) {
    .mobile_show {
        display: initial;
    }
    .mobile_hide {
        display: none;
    }
}
