/* LodeStar Base CSS (XSLT 1.0 friendly)
   Merged base + postprocess; cleaned of duplicate splitpanelmenu rules
   */

/* =========================
   Skeleton-inspired grid
   ========================= */
html {
    font-size: 62.5%;
    -webkit-text-size-adjust: auto;
}

.container {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.column,
.columns {
    margin-top: 5%;
    width: 100%;
    float: left;
    box-sizing: border-box;
}

@media (min-width: 400px) {
    .container {
        width: 85%;
    }
}

@media (min-width: 550px) {
    html {
        font-size: 65%;
        -webkit-text-size-adjust: auto;
    }

    .container {
        width: 80%;
    }

    .column,
    .columns {
        margin-left: 4%;
    }

    .column:first-child,
    .columns:first-child {
        margin-left: 0;
    }

    .one.column,
    .one.columns {
        width: 4.66666666667%;
    }

    .two.columns {
        width: 13.3333333333%;
    }

    .three.columns {
        width: 22%;
    }

    .four.columns {
        width: 30.6666666667%;
    }

    .five.columns {
        width: 39.3333333333%;
    }

    .six.columns {
        width: 48%;
    }

    .seven.columns {
        width: 56.6666666667%;
    }

    .eight.columns {
        width: 65.3333333333%;
    }

    .nine.columns {
        width: 74%;
    }

    .ten.columns {
        width: 82.6666666667%;
    }

    .eleven.columns {
        width: 91.3333333333%;
    }

    .twelve.columns {
        width: 100%;
        margin-left: 0;
    }

    .one-third.column {
        width: 30.6666666667%;
    }

    .two-thirds.column {
        width: 65.3333333333%;
    }

    .one-half.column {
        width: 48%;
    }

    .offset-by-one.column,
    .offset-by-one.columns {
        margin-left: 8.66666666667%;
    }

    .offset-by-two.column,
    .offset-by-two.columns {
        margin-left: 17.3333333333%;
    }

    .offset-by-three.column,
    .offset-by-three.columns {
        margin-left: 26%;
    }

    .offset-by-four.column,
    .offset-by-four.columns {
        margin-left: 34.6666666667%;
    }

    .offset-by-five.column,
    .offset-by-five.columns {
        margin-left: 43.3333333333%;
    }

    .offset-by-six.column,
    .offset-by-six.columns {
        margin-left: 52%;
    }

    .offset-by-seven.column,
    .offset-by-seven.columns {
        margin-left: 60.6666666667%;
    }

    .offset-by-eight.column,
    .offset-by-eight.columns {
        margin-left: 69.3333333333%;
    }

    .offset-by-nine.column,
    .offset-by-nine.columns {
        margin-left: 78%;
    }

    .offset-by-ten.column,
    .offset-by-ten.columns {
        margin-left: 86.6666666667%;
    }

    .offset-by-eleven.column,
    .offset-by-eleven.columns {
        margin-left: 95.3333333333%;
    }

    .offset-by-one-third.column,
    .offset-by-one-third.columns {
        margin-left: 34.6666666667%;
    }

    .offset-by-two-thirds.column,
    .offset-by-two-thirds.columns {
        margin-left: 69.3333333333%;
    }

    .offset-by-one-half.column,
    .offset-by-one-half.columns {
        margin-left: 52%;
    }
}

/* =========================
   Base typography body
   ========================= */
body:not(svg text) {
    font-size: 1.5em;
    line-height: 1.6;
    font-weight: 400;
    font-family: Arial, sans-serif;
    background-color: #000000;
    overflow-y: hidden !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 300;
}

h1 {
    font-size: 4.0rem;
    line-height: 1.2;
    letter-spacing: -.1rem;
}

h2 {
    font-size: 3.6rem;
    line-height: 1.25;
    letter-spacing: -.1rem;
}

h3 {
    font-size: 3.0rem;
    line-height: 1.3;
    letter-spacing: -.1rem;
}

h4 {
    font-size: 2.4rem;
    line-height: 1.35;
    letter-spacing: -.08rem;
}

h5 {
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: -.05rem;
}

h6 {
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: 0;
}

@media (min-width: 550px) {
    h1 {
        font-size: 5.0rem;
    }

    h2 {
        font-size: 4.2rem;
    }

    h3 {
        font-size: 3.6rem;
    }

    h4 {
        font-size: 3.0rem;
    }

    h5 {
        font-size: 2.4rem;
    }

    h6 {
        font-size: 1.5rem;
    }
}

p {
    margin-top: 0;
}

h1 {
    font-weight: normal;
    margin: .5em 0 .5em;
    text-shadow: rgba(0, 0, 0, 0.44) 1px 1px 2px;
}

.hideOnRun {
    display: none;
}

#adaDiv {
    display: none;
}

.ada {
    float: left;
    margin-top: 5px;
    margin-left: 5px;
}

/* =========================
   Utility icons/buttons
   ========================= */
.mapButton,
.showLocationButton {
    float: left;
    background-color: #FFFFFF;
    padding-right: 5px;
    margin-top: -5px;
    border: 1px solid white;
    border-radius: 5px;
    margin-left: 10px;
    height: 30px;
}

.print {
    float: left;
    padding-right: 5px;
    margin-top: 5px;
    margin-left: 2px;
}

.printImage:hover {
    background: url("images/icon-print-hover.png");
}

.closeButton {
    height: 30px;
    width: 30px;
    float: right;
    margin: 5px;
}

/* =========================
   Primary layout regions (centered TOC + content)
   ========================= */
.mainWrapper {
  display: flex;
  flex-direction: row;
  justify-content: center; /* center group horizontally */
  align-items: flex-start;
  gap: 20px;  /* gap between TOC and jetWrapper */
  padding: 10px;
}

/* Table of contents (splitpanelmenu) */
nav#menu.splitpanelmenu {
  position: relative;
  flex: 0 0 220px;  /* fixed width */
  max-width: 220px;
  min-width: 220px;
  height: 100vh;
  margin: 0;
  padding: 12px !important;
  background-color: #000000;
  box-shadow: 2px 0 6px rgba(0,0,0,0.15) !important;
  z-index: 141;
  order: 1;
}

/* Main content wrapper */
.jetWrapper {
  flex: 1;
  max-width: 980px;
  position: relative;
  margin: 0;
  padding: 0;
  padding-bottom: 200px !important;
  height: 100vh;
  overflow: hidden !important;
  order: 2;
}



/* =========================
   finish main layout
   ========================= */



.header {
    position: absolute;
    top: 0;
    background-size: 100% 100%;
    background: transparent;
    height: 70px;
    width: 100% !important;
    border-color: #000000;
    border-style: solid;
    border-width: 0;
    z-index: 20;
    padding: 0;
    margin-bottom: 10px;
}

.banner {
    position: absolute;
    border-radius: 10px 10px 0 0;
    top: 0;
    background-size: 100% 100%;
    height: 70px;
    width: 100% !important;
    border-color: #000000;
    border-style: solid;
    border-width: 0;
    z-index: 19 !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
    text-align: center;
    font-weight: bold;
    padding-top: 20px !important;
    pointer-events: none;
}

.viewer {
    top: 70px;
    border-radius: 0;
    border: 2px solid #e7e7e7;
    position: relative !important;
    margin-bottom: 20px !important;
    height: 70vh;
    font-size: 1em;
    background-color: #ffffff;
    overflow: hidden !important;
    width: 100% !important;
    padding: 0 !important;
}

.navigator {
    position: absolute;
    top: 3px;
    background-size: 100% 100%;
    height: 70px;
    width: 100% !important;
    border-color: #000000;
    border-style: solid;
    border-width: 0;
    z-index: 20 !important;
    padding: 10px !important;
    /* fixed invalid comma syntax */
}

.navigator .controls {
    float: right;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    margin-bottom: 10px;
    margin-right: 20px;
}

.navigator .controls a {
    font-size: 40px;
    opacity: .8;
    color: #000000;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    margin-top: 10px;
}

.navigator .controls a.enabled {
    opacity: 0.6;
    color: hsl(185, 85%, 70%);
    text-shadow: 0 0 2px hsla(185, 45%, 70%, 0.3);
}

.navigator .controls a.enabled:active {
    margin-top: 1px;
}

.navigator .controls .left,
.navigator .controls .left:hover,
.navigator .controls .left[disabled],
.navigator .controls .right,
.navigator .controls .right:hover,
.navigator .controls .right[disabled] {
    z-index: 50;
    border-style: none;
    width: 30px;
    height: 30px;
    float: right;
    margin-top: 0;
    padding-right: 10px;
    padding-left: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    border: 0 solid white;
    border-radius: 10px;
}

.navigator .controls .left {
    margin-right: 5px;
    padding-top: 0;
    background-image: url('../../layout/arrowLeft.png');
}

.navigator .controls .left:hover {
    background-image: url('../../layout/arrowLeft_down.png');
}

.navigator .controls .left[disabled] {
    background-image: url('../../layout/arrowLeft_gray.png');
}

.navigator .controls .right {
    margin-right: 10px;
    padding-top: 10px;
    background-image: url('../../layout/arrowRight.png');
}

.navigator .controls .right:hover {
    background-image: url('../../layout/arrowRight_down.png');
}

.navigator .controls .right[disabled] {
    background-image: url('../../layout/arrowRight_gray.png');
}

.navigator .feedback {
    float: right;
    margin-top: 7px;
    margin-right: 10px;
}

.pagination {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 10px !important;
    margin: auto !important;
    width: 30% !important;

}

/* =========================
   Navigation & Menus
   ========================= */

nav, nav#menu, nav#menux, nav#menu.splitpanelmenu {
  padding: 12px !important;
  box-shadow: 2px 0 6px rgba(0,0,0,0.15) !important;
  height: 100vh !important;
  max-height: 100vh !important;
}
nav li a, nav#menu li a, nav#menux li a {
  display: block !important;
  padding: 10px 16px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease !important;
}
nav li a:hover, nav#menu li a:hover, nav#menux li a:hover {
  background-color: #e3f2fd !important;
}


/* =========================
   Pages / content areas
   ========================= */
.page,
.ReportPage,
.mPage,
.ShortAnswerPage,
.LongAnswerPage,
.organizerPage,
.flashcard {
    position: relative;
    background-color: #ffffff;
    padding: 5% !important;
    height: 100%;
    width: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.WidgetPage,
.mQuestionPage,
.JournalPage {
    padding: 1% 5% 5% 5% !important;
    height: 70vh;
    width: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Postprocess intent now baked into base */
.ShortAnswerPage .text {
    position: relative !important;
    top: 100px !important;
    width: 100% !important;
    margin: 10px !important;
    left: 10% !important;
}

.ShortAnswerPage .inputbox {
    position: relative !important;
    top: 160px !important;
    width: 80% !important;
    margin: 10px !important;
    left: 10% !important;
    margin-bottom: 200px !important;
}

.ShortAnswerPage {
    padding-bottom: 200px !important;
}

.VideoPage .content {
    position: relative !important;
    padding-bottom: 56.25% !important;
    padding-top: 30px;
    height: 0;
    overflow: hidden !important;
    width: 90% !important;
    margin-left: auto;
}

.VideoPage iframe {
    position: absolute !important;
    top: 0 !important;
    width: 90% !important;
    height: 90% !important;
    left: 0 !important;
}

#kaltura_div {
    position: relative !important;
    padding-bottom: 56.25% !important;
    padding-top: 30px;
    height: 0;
    overflow: hidden !important;
    width: 90% !important;
    left: 1% !important;
}

#kaltura_player {
    position: absolute !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    left: 0 !important;
}

.content {
    position: relative;
    padding: 2px;
    width: 98%;
    height: 98% !important;
    max-height: 98% !important;
}

.Crossword.content {
    width: 100%;
    padding: 0;
}

.content > .component {
    background-color: #0000FF;
    position: absolute;
    width: 100% !important;
}

/* =========================
   Overlay / popup / tooltip
   ========================= */
.overlay {
    background-color: #ffffff;
    border-style: outset;
    border-width: 10px;
    padding: 10px;
    height: 480px;
    width: 880px;
    position: absolute;
    top: 100px;
    left: 0;
    font-size: 1em;
    box-shadow: 3px 3px 4px #000;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 60;
}

.overlayContent {
    background-color: #ffffff;
    height: 480px;
    width: 880px;
}

.popup {
    background-color: #000000;
    color: #FFFFFF;
    border-bottom: 20px solid #000000;
    border-top: 20px solid #000000;
    padding: 10px;
    width: 80%;
    position: absolute;
    top: 10%;
    left: 10%;
    font-size: 1em;
    overflow-x: hidden;
    overflow-y: scroll;
    z-index: 50;
    max-width: 960px;
    padding-bottom: 100px;
    border: 2px solid black;
}

.popupContent {
    overflow: auto;
}

.tooltip {
    background-color: #FFFFEE;
    border-style: outset;
    border-width: 10px;
    padding: 10px;
    height: 50px;
    width: 200px;
    position: absolute;
    top: 100px;
    left: 100px;
    font-size: 1em;
    overflow: hidden;
    z-index: 20;
}

.tooltipContent {
    overflow: auto;
}

/* =========================
   Dashboard / meters (legacy)
   ========================= */
.dashboardx {
    position: absolute !important;
    border-style: none;
    height: 100px;
    width: 175px !important;
    overflow: visible;
    z-index: 20;
    top: 500px !important;
    margin-left: auto;
    margin-right: auto;
    background: none;
    left: 580px !important;
}

.dbMeterDiv {
    border-style: none;
    height: 75px;
    width: 150px;
    overflow: visible;
    z-index: 25;
    visibility: hidden;
}

.dbMeterDivContent {
    position: absolute;
    pointer-events: none;
    top: 0 !important;
    left: 0 !important;
}

.dbMeterNeedleDiv {
    position: absolute;
    border-style: none;
    overflow: hidden;
    z-index: 21;
    top: 0 !important;
    left: 0 !important;
}

.dbMeterNeedleDivContent {
    top: 0 !important;
    left: 0 !important;
}

.meterDiv {
    position: absolute;
    border-style: none;
    height: 75px;
    width: 150px;
    overflow: visible;
    z-index: 40;
}

.meterDivContent {
    overflow: auto;
    position: absolute;
}

.meterNeedleDiv {
    border-style: none;
    overflow: hidden;
    z-index: 41;
}

.meterNeedleDivContent {
    position: absolute;
}

/* =========================
   Q/A and input helpers
   ========================= */
.questionBlock {
    padding: 0;
    top: -200px;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
}

.inputbox {
    position: absolute;
    left: 0;
    top: 0;
    text-align: left;
}

.image {
    border-color: #48525c;
    border-style: solid;
}

.ImagePage .image {
    display: block !important;
    margin-right: auto !important;
    margin-left: auto !important;
    height: 75%;
    width: 75%;
    border-color: #48525c;
    border-style: solid;
}

.MenuPage .imageparent,
.flashcard .imageparent,
.interviewImage,
.menuImage {
    position: absolute;
}

.ImagePage .imageparent {
    margin-top: 20px !important;
    display: block !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.caption {
    position: relative;
}

.text {
    position: relative;
    width: 90% !important;
    height: auto !important;
    padding: 5px;
}

.textBlock {
    position: absolute;
    padding: 5px;
    overflow-x: hidden;
    overflow-y: auto;
}

.longAnswer {
    position: static !important;
    /* merged from postprocess */
    width: 90% !important;
    padding: 5px;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: left;
    background-color: #fefefe;
    border-color: #48525c;
    border-style: solid;
    word-wrap: break-word;
    vertical-align: top;
    left: 5px !important;
    margin: 20px 0 20px 20px !important;
    /* merged from postprocess */
}

.LongAnswerPage .textBlock {
    position: static !important;
    /* merged from postprocess */
    width: 90% !important;
    /* merged from postprocess */
    height: auto !important;
    /* merged from postprocess */
    box-sizing: border-box;
    /* merged from postprocess */
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: left;
    word-wrap: break-word;
    vertical-align: top;
}

.instructions {
    background-color: transparent;
}

.instructionsContent {
    background-color: transparent;
    font-family: sans-serif;
    font-size: 20px;
    border-style: none;
}

.categoryTitle {
    border-style: none;
    background-color: transparent;
    position: absolute;
    font-size: 20px;
    font-weight: bold;
}

.dragTarget {
    position: absolute;
    background-color: #cccccc;
    border-color: #48525c;
    border-style: dotted;
    overflow: hidden;
}

.anchorTile {
    position: absolute;
    background-color: #ebebeb;
    border-color: #48525c;
    border-style: solid;
    border-width: 1px;
    overflow: hidden;
}

.dragTile {
    position: absolute;
    background-color: #ebebeb;
    border-color: #48525c;
    border-style: solid;
    border-width: 1px;
    box-shadow: 3px 3px 4px #000;
    overflow: hidden;
    z-index: 1;
}

.tileLabel {
    padding: 3px;
    background-color: transparent;
    left: 0;
    top: 0;
    border-style: none;
    pointer-events: none;
    word-wrap: break-word;
    font-family: sans-serif;
    font-size: 12px;
}

.dragHandle {
    background-color: #e7e7e7;
    margin-right: 10px;
    position: absolute;
}

.checkButton {
    position: relative;
    border: 1px solid white;
    color: white;
    text-shadow: 2px 2px #000000;
    background-color: black;
    margin-top: 20px;
    margin-left: 110px;
    margin-right: 20px;
    height: 25px;
    width: 75px;
    background-size: contain;
    border-radius: 10px;
    bottom: 20px !important;
}

.checkButton[disabled] {
    border: 1px solid white;
    background: none;
}

.interviewerDistractor {
    cursor: pointer;
}

.interviewerStem {
    font-weight: bold;
    font-size: 16px;
    /* merged change */
    height: auto !important;
    min-height: 100px;
    margin-bottom: 75px !important;
    margin-top: 20px !important;
    position: relative !important;
    width: 50% !important;
    left: auto !important;
    /* merged change to avoid forced left 0 */
    margin-left: 30% !important;
    /* align with interviewerDistractor text */
}

.InterviewPage .interviewerStem{
    width: 70% !important;
}

.InterviewPage .content .componentX {
    width: 0 !important;
    height: 0 !important;
}

.report {
    font-size: 30px;
}

input,
select,
textarea {
    -webkit-user-select: text;
}

.qitem {
    margin-top: 20px;
    margin-bottom: 20px;
}

.distractorContainer {
    clear: both;
    width: 100%;
}

.distractorHost {
    background-color: #000000;
    color: #000000;
    padding: 10px;
    overflow: hidden;
}

.distractorHost:hover {
    opacity: .8 !important;
    outline: 1px solid black !important;
    outline-style: solid;
}

/* strengthened hover merged once */
.distractor {
    display: inline;
    vertical-align: top;
    height: 30px;
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.distractor.text {
    position: static;
    padding-top: 0;
}

.stem {
    clear: both;
}

.distractorcheckbutton {
    position: relative;
    top: 0;
    float: left;
    display: block;
    margin-right: 20px;
    margin-left: 20px;
}

.staticDistractor {
    position: static;
    padding: 5px;
    margin-bottom: 40px !important;
}

.progressBar {
    position: absolute;
    visibility: hidden;
    left: 0;
    height: 2px;
    width: 30%;
    bottom: -8px;
}

.reportParagraph {
    padding: 20px;
}

/* Crossword helpers */
#crosswordDiv {
    float: left;
    width: 500px;
    height: 400px;
}

.hintsDiv {
    float: left;
    border: 1px solid gray;
    width: 220px;
    height: 150px;
    margin: 5px;
    padding: 5px;
    overflow-y: hidden;
    overflow-x: hidden;
}

.hintsSelect {
    font-size: 11px;
    border: none;
    width: 220px;
    height: 150px;
    margin: 1px;
}

.directionDiv {
    float: left;
    font-size: 50px;
    border: none;
    width: 60px;
    height: 60px;
    margin: 10px;
}

/* =========================
   Menus / TOC
   ========================= */
.TOC select {
    position: relative !important;
    background: transparent;
    width: 20%;
    min-width: 100px;
    padding: 5px;
    padding-right: 10px;
    font-size: 14px !important;
    color: #FFFFFF;
    height: 35px;
    top: 1px;
    left: 100px;
    margin-left: 10px;
    margin-right: 10px;
}

.TOC option {
    background-color: #efefef;
    font-family: sans-serif;
    font-size: 14px;
    color: #000000;
}

nav#menux {
    top: 90px;
    background-color: #000000;
    width: 280px;
    height: 600px;
    left: 0;
    border-right: thick double #070707;
    margin-right: 50px;
    border-radius: 5px;
    z-index: 141 !important;
}

nav#menu {
    background-color: #000000;
    position: absolute !important;
    top: 40px;
    left: 20px !important;
    width: 200px;
    min-width: 200px;
    height: 100%;
    max-height: 600px;
    left: 0 !important;
    z-index: 141 !important;
    padding-right: 10px !important;
    border-right: 10px #000000 solid;
}

nav#menu.splitpanelmenu {
    background-color: #000000;
    position: relative !important;
    top: 50px;
    left: 10% !important;
    width: 100%;
    min-width: 200px;
    max-width: 15%;
    height: auto !important;
    left: 0 !important;
    z-index: 141 !important;
    padding-right: 10px !important;
    border-right: 10px #000000 solid;
    order: 1;
    flex-grow: 1;
}

.menu {
    float: left;
    padding-right: 10px;
    margin-top: 5px;
}

li.subtopic.mm-selected a {
    border-left: 1px solid #FFFFFF;
    margin-left: 20px;
}

li.subtopic.mm-selected > a {
    background: rgba(0, 0, 0, 0.5);
    margin-left: 10px;
    border: none;
}

li.subtopic a {
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    line-height: 10px;
    display: block;
    padding: 10px 10px 10px 20px;
    margin-left: 10px;
    margin-bottom: 10px;
}

#nav_2 {
    background-color: #000000;
    width: 160px;
    height: 485px;
    top: 90px;
    float: left;
    padding: 0 !important;
    border-radius: 20px;
    margin: 10px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

#menu_2 {
    margin: 0 !important;
    padding-left: 10px !important;
}

#menu_2 li {
    margin: 20px 5px 5px 5px;
    text-indent: 0;
    line-height: 1.2;
    list-style-type: none;
    overflow: hidden;
    text-overflow: ellipsis;
}

#nav_2 li.mm-selected > span {
    border-bottom: medium none;
    background: none;
    text-decoration: underline;
}

#nav_2 ul li a {
    border-bottom: medium none;
    display: inline !important;
}

#menu_2.ui-menu {
    padding: 3px;
}

.categoryDiv {
    padding-left: 20px;
    border: 1px #070707;
    border-radius: 5px;
    background-color: rgba(177, 216, 245, 1);
}

.tileDiv {
    padding-left: 20px;
    border: thick double #070707;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(225, 255, 255, 1) 0%, rgba(225, 255, 255, 1) 7%, rgba(225, 255, 255, 1) 12%, rgba(253, 255, 255, 1) 12%, rgba(230, 248, 253, 1) 30%, rgba(200, 238, 251, 1) 54%, rgba(190, 228, 248, 1) 75%, rgba(177, 216, 245, 1) 100%);
}

.tileDiv:hover {
    cursor: pointer;
}

.ui-tabs {
    display: block;
    background-color: transparent !important;
    border: none;
    padding: 5px 10px 0 10px;
    height: 50px;
    width: 880px;
    position: relative;
    font-size: 1em;
    overflow: hidden;
}

#tabs {
    position: relative !important;
    top: 70px;
    width: 100% !important;
    height: auto !important;
    border: 1px black solid;
    background-color: transparent;
    z-index: 50;
    margin-left: auto;
    margin-right: auto;
}

#tabs li {
    margin-top: 10px !important;
}

ul#resources {
    border: none;
    background-color: transparent;
}

.ui-tabs-anchor {
    background-color: #000000 !important;
    color: white !important;
}

.colorboxDiv {
    margin: 20px;
    padding: 20px;
    box-shadow: 10px 7px 5px #000000;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background-color: white;
}

.colorboxDiv .component {
    height: 0 !important;
}

.colorboxDiv .text {
    width: 98% !important;
}

#cboxLoadedContent {
    overflow: hidden !important;
    overflow-y: auto !important;
}

#cboxClose {
    margin-right: 10px !important;
    width: 30px !important;
    height: 30px !important;
    background: url(images/icon-close.png) no-repeat !important;
}

#cboxClose:hover {
    background: url(images/icon-close.png) no-repeat;
}

.ui-widget-content {
    border: none !important;
    background-color: transparent !important;
}

.organizerContent .divRow {
    background-color: #ffffff !important;
}

p {
    word-wrap: break-word !important;
    overflow: visible;
    margin-top: 10px;
}

.text,
.textBlock {
    width: 95% !important;
    left: 0 !important;
}

.dialog1,
.dialog2 {
    font-size: .8em !important;
    width: 45% !important;
    padding-bottom: 0 !important;
}

.dialog1 {
    width: 40% !important;
    height: auto !important;
    float: left;
    padding: 15px;
    margin: 1em 0 3em;
    border: 2px solid #5a8f00;
    color: #333;
    background: #fff;
    border-radius: 10px;
    margin-top: 30px;
}

.dialog2 {
    width: 40% !important;
    height: auto !important;
    float: right;
    padding: 15px;
    margin: 1em 0 3em;
    border: 2px solid #5a8f00;
    color: #333;
    background: #fff;
    border-radius: 10px;
    margin-top: 30px;
}

.character1 img,
.character2 img {
    clear: both;
    margin-top: 20px !important;
    width: 75% !important;
    height: auto !important;
    max-height: 200px;
}

.character1 img {
    float: right !important;
}

.character2 img {
    float: left !important;
}

.notesContent,
.notesButton {
    color: black;
}

.LS_JET_0004 {
    margin: auto;
}

/* Focus/drag feedback (from postprocess) */
.dndMenuItem:focus {
    background-color: #0000FF;
    color: #FFFFFF;
}

.ui-draggable.hover {
    background-color: #A7A7A7;
    color: white;
}

/* Photo slider tweaks (from postprocess) */
.ps-caption {
    font-size: 2em;
    background: rgba(72, 82, 92, 0.47) !important;
}

.PwgImageSliderWidget,
.pgwSlider {
    margin-left: auto;
    margin-right: auto;
    max-width: 550px !important;
}

.pgwSlider:after {
    clear: both;
    content: ".";
    margin-bottom: 50px;
}

/* Interview layout (from postprocess, already merged for stem) */
.interviewImage {
    background-color: rgba(255, 255, 255, 0);
    float: left;
    height: auto;
    margin: 20px;
    padding: 10px;
    position: static !important;
    width: 25%;
}

.interviewImage > .image {
    border: none;
    height: auto;
    width: 100%;
}

.interviewerDistractor.text {
    margin-bottom: 20px !important;
    margin-left: 30%;
    position: static !important;
    width: 60% !important;
}

.speechBubble {
    margin-left: 30%;
    margin-bottom: 100px;
    position: relative;
    background: #eeeeee;
    color: #000000;
    font-family: Arial;
    font-size: 1em;
    text-align: left;
    width: 250px;
    height: 120px;
    border-radius: 10px;
    padding: 20px;
}

.speechBubble:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 2;
    border-style: solid;
    border-color: transparent #eeeeee;
    border-width: 20px 20px 20px 0;
    top: 34%;
    left: -20px;
    margin-top: -20px;
}

.InterviewPage {
    border: 1px #c7c7c7 solid;
}

.dashboard {
    width: 100%;
}

.dbMeterDiv {
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    top: 10px;
    transform: scale(.55);
    -webkit-transform: scale(.55);
}

.flashcard {
    padding: 20px !important;
}

.flashcard .inputbox {
    left: 10% !important;
    margin-top: 20px !important;
    position: static !important;
    top: 0 !important;
    width: 48% !important;
}

.flashcard .text {
    left: 10% !important;
    position: static !important;
    width: 48% !important;
}

.flashcard .imageparent {
    left: 60% !important;
    width: 35% !important;
}

.flashcard .imageparent img {
    height: auto !important;
    width: 100% !important;
}

.flashcard .image {
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
    padding: 10px;
}

.popup {
    max-height: 500px !important;
    z-index: 150 !important;
}

.colorboxDiv {
    max-height: 80vh !important;
}

.overlay {
    box-shadow: 0 0 20px gray;
    height: auto;
    left: 25%;
    margin-left: auto !important;
    margin-right: auto !important;
    outline: 2px #a7a7a7 solid;
    padding: 20px !important;
    position: absolute !important;
    top: 20%;
    width: 50%;
    z-index: 100;
}

.overlay input {
    box-shadow: 0 0 5px green;
}

.overlayContent {
    width: 90% !important;
}

.overlay .text {
    width: 90% !important;
}

.popupContent p {
    margin: 20px;
}

body {
    background-size: 0;
}

body.doc-loaded {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* Responsive Crossword */
.CrosswordPage .content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#crosswordDiv {
    height: 530px;
    width: 703px;
}

@media (max-width: 800px) {
    #crosswordDiv {
        transform: scale(0.8);
    }

    .interviewerStem {
        font-size: 12px;
    }

    .ImageAndTextCaption {
        font-size: 12px !important;
    }
}

@media (max-width: 600px) {
    #crosswordDiv {
        transform: scale(0.6);
    }

    .interviewerStem {
        font-size: 12px;
    }

    .ImageAndTextCaption {
        font-size: 12px !important;
    }
}

@media (max-width: 400px) {
    #crosswordDiv {
        transform: scale(0.4);
    }

    .interviewerStem {
        font-size: 12px;
    }

    .ImageAndTextCaption {
        font-size: 12px !important;
    }
}

#hintFieldDiv {
    position: absolute;
    top: 80%;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.shortSimDistractor {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.pageAudioPlayer {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid #444;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin: 20px !important;
    margin-bottom: 40px !important;
    position: relative;
    top: 20px;
    max-width: 200px;
    z-index: 200;
}

.audioSpeaker {
    min-width: 20px !important;
    margin-right: 20px;
}

.audioIconx {
    font-size: 1.5rem;
    color: #e53935;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.audioIcon:hover {
    transform: scale(1.2);
}

.audioProgressParent {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-left: 0 !important;
}

.audioProgress {
    font-family: monospace;
    font-size: .75rem !important;
    color: #ccc;
    text-align: center;
}

.audioSlider {
    display: none;
}

/* =========================
   Smartphone Readability
   ========================= */
@media (max-width: 480px) {
    html {
        font-size: 72.5%;
    }

    body:not(svg text) {
        font-size: 1.7em;
        /* larger base text */
        line-height: 1.85;
        /* more comfortable line-height */
        overflow-y: auto !important;
        /* allow page scrolling on phones */
        -webkit-text-size-adjust: 100%;
    }

    h1 {
        font-size: 3.0rem;
        line-height: 1.25;
    }

    h2 {
        font-size: 2.6rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 2.2rem;
        line-height: 1.35;
    }

    h4 {
        font-size: 2.0rem;
    }

    h5 {
        font-size: 1.8rem;
    }

    h6 {
        font-size: 1.6rem;
    }

    .jetWrapper {
        width: 95% !important;
        padding-bottom: 120px !important;
        height: auto;
        /* avoid fixed viewport height on mobile */
    }

    .header,
    .banner {
        height: 56px;
    }

    .viewer {
        top: 56px !important;
        height: auto;
        /* let content dictate height */
        min-height: 50vh;
        overflow: visible !important;
    }

    .navigator {
        position: relative;
        top: 0;
        height: auto;
        padding: 8px 12px !important;
    }

    .navigator .controls a {
        font-size: 48px;
        /* larger tap targets */
    }

    .navigator .controls .left,
    .navigator .controls .right {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .page,
    .WidgetPage,
    .mQuestionPage,
    .JournalPage,
    .ShortAnswerPage,
    .LongAnswerPage,
    .organizerPage,
    .flashcard {
        padding: 16px !important;
        height: auto;
        min-height: 60vh;
    }

    .text,
    .textBlock,
    .LongAnswerPage .textBlock,
    .longAnswer {
        width: 100% !important;
        font-size: 1em;
        /* inherit larger body sizing */
    }

    .dialog1,
    .dialog2 {
        width: 100% !important;
        float: none;
        font-size: 1em !important;
    }

    .interviewImage {
        width: 40%;
    }

    .interviewerDistractor.text {
        width: 90% !important;
        margin-left: 0;
    }

    .interviewerStem {
        width: 100% !important;
        margin-left: 0 !important;
        font-size: 1.2em;
    }

    nav#menu,
    nav#menux,
    nav#menu.splitpanelmenu {
        position: relative !important;
        top: 0;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        border-right: 0;
        padding: 8px !important;
    }

    .pageAudioPlayer {
        max-width: none;
        width: calc(100% - 32px);
        margin: 16px;
    }
}
