/*General*/

html, body {
    height: 100%;
}

.maincontent {
    clear: both;
    width:94%;
    margin: 0 auto;
    padding: 1em 0px;
    color: #333;
    line-height: 1.5em;
    position: relative;
    margin-bottom: 2%;
}

button {
    font-family: 'Open Sans', sans-serif;
    border: 0;
    outline: 0;
    outline-width: 0;
    outline-style: none;
    border-radius: 5px;
    background: #32343a;
    box-shadow: none;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    padding: .5%;
}
.buttonlink {
  font-family: 'Open Sans', sans-serif;
    border: 0;
    outline: 0;
    outline-width: 0;
    outline-style: none;
    border-radius: 5px;
    background: #32343a;
    box-shadow: none;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    padding: .5%;
}
.buttonlink:hover{
background-color: #ed564b;
color: #fff;
}

button h2 {
     color: #FFFFFF;
}

button:hover {
 background-color: #ed564b;
}

button:disabled {
    background-color: #666;
    text-decoration: none;
}

textarea {
    border: 1px dashed #b6710b;
    background-color: #fdedd6;
    font-family: 'Open Sans', sans-serif;
}

th, tr, td, ul{
   font-family: 'Open Sans', sans-serif;
   
}
#header, #content, #footer, .prompt {
    display: block;
    width: 100%;
    /*TURN OFF FOR EDITOR CHECK TO ENABLE COPY PASTE
*/
    /*    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
*/
}

 /* hyperlinks*/

a{
 color:#ed564b;
}

a:hover{
    color:#D54D43;
}

#content {
    /*    background-color: #4d505b;
*/
    background-color: #FFF;
    position: relative;
    height: 86%;
   
}

#container {
    position: relative;
    height: 100%;
}


/*HEADER*/

header {
    background-image: url('../images/chairs.png') !important ;
    background-repeat: no-repeat!important;
    background-position: right !important;
    background-color: #ed564b !important;
    padding-bottom: 2% !important;
    z-index: 1;
   
}



h1, h2, h3, h4 {
    font-family: 'Open Sans', sans-serif;
    /*position: relative;*/
    display: block;
    /*float: left;*/
    color: #fff;
}

p {
    line-height: 1.3em;
}

h1 {
    font-size: 2em !important;
    text-align: left;
    background-color: #f00;
}

header h2 {
    color: #fff;
}

h2 {
    font-size: 1.5em !important;
    font-weight: normal;
    text-align: left;
    color: #32343a;
}

h3 {
    text-align:left;
    color: #fff;
    background-color: #32343a;
}

#pdfText, #order li, .tableTitles li, .tableOptions li {
    font-family: 'Open Sans', sans-serif;
    color: white;

}

#sortable li{

   color: #32343a;

}

p {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    color: #32343a;
}

header h1 {
    margin-top: 1%;
}

header h2 {
    margin-top: -1%;
}

.chapter {
    color: #ed564b;
}


/*subheader*/
.questionHeader {
   
    height: 100%;
    background-color: #32343a;
    padding-top: 1%;
    padding-bottom: 1%;
    font-style: normal;
    font-weight: bold;
}

.questionHeader h3{
    margin-left: 3%;
    /*line-height: 1.4em;*/
}


/*MENU*/

#menu {
    margin-top: -1%;
    text-align: right;
    margin-left: 5px;
    /*background-color: #ed564b !important;*/
}

#menu li {
    width: 33px;
    height: 33px;
    display: inline-block;
    list-style-type: none;
    cursor: pointer;
}

#menu li:hover, #clueBtn:hover {
    /*background-position: 0px -35px;*/
    cursor: pointer;
}

#info {
    background: url("../images/infoIcon.png")no-repeat;
}

#print {
    background: url("../images/printIcon.png")no-repeat;
}

#home {
    background: url("../images/homeIcon.png")no-repeat;
}

#homeLink {
    display: block;
    height: 33px;
    width: 33px;
}

#backButton {
    background: url("../images/backToIcon.png")no-repeat;
    height: 33px;
    width: 33px;
    cursor: pointer;
    margin: 1%;
}

#backButton:hover {
    background-position: 0px -35px;
    cursor: pointer;
}

#restartButton {
    background: url("../images/restart.png")no-repeat;
    height: 33px;
    width: 33px;
    cursor: pointer;
    margin: 1%;
}

#restartButton:hover {
    background-position: 0px -35px;
    cursor: pointer;
}

#navButtonLeft, #navButtonRight {
    display: inline-block!important;
}

#navButtonLeft {
    text-align: left;
}

#navButtonRight {
    text-align: right;
}

#navButtons a, #navButtonLeft a, #navButtonRight a {
    display: inline-block!important;
}


/*PEN TOOL menu btn*/

#penTool_btn {
    background: url("../images/penIcon.png")no-repeat;
    /*display:none!important;*/
}

#penTool_btn.active {
    background-position: 0px -35px!important;
}

#ptClearAll {
    background: url("../images/binIcon.png") no-repeat;
    margin-left: 4px !important;
}

#ptHideShowCanvas {
    background: url("../images/hideIcon.png") no-repeat;
    margin-left: 4px !important;
}

#ptHideShowCanvas:hover {
    background: url("../images/hideIcon.png") 0 -67px no-repeat !important;
    margin-left: 4px !important;
}


/*PEN TOOL menu btn end*/


/*PEN TOOL*/

#penTool_btn ul {
    z-index: 9999;
    position: relative;
    top: 100%;
    right: 18%;
    float: left;
    background-color: #5BC8C1;
    padding: 0px 1px 0px 1px;
}

#penTool_btn ul {
    visibility: hidden
}

#penTool_btn:hover ul {
    visibility: visible;
    margin: 0!important;
}

#penTool_btn:hover ul li {
    display: inline-block;
}

#penTool_btn ul li {
    list-style: none;
    width: 35px;
    height: 32px;
    padding: 1px;
}

#penTool_btn ul li img {
    width: 32px;
    height: 90%;
}

.ico {
    width: 30px;
    height: 30px;
    border: 2px solid #FFF;
    border-radius: 20px;
}

.ico:hover {
    border: 3px solid #FFF;
    margin: 0px 0 0 0px;
}

#penBLACK {
    background-color: black
}

#penRED {
    background-color: red
}

#penGREEN {
    background-color: green
}

#penBLUE {
    background-color: blue
}

#penToolCanvas {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 9500;
}


/*PEN TOOL END*/





/*INSTRUCTIONS*/

#instructions {
    position: absolute;
    display: none;
    width: 96%;
    left: 0;
    background-color: #32343a;
    text-align: left;
    margin: 0px auto;
    padding: 2%;
    /*    z-index:100001;
*/
    z-index: 9998;
}

#instructionTitle {
    display: block;
    color: #fff!important;
    margin-left: 1%;
    margin-bottom: 1%;
}

#instructionText, .instructionText {
    display: block;
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    font-size: 1em;
    font-weight: normal;
    line-height: 1.5em;
    margin-left: 1%;
}


/*instructions end*/

/*table styling*/
table{
    background:#FDDEDB;
    margin-bottom: 15%;
}

th{
    background: #32343a;
    color:white;
    border:solid white 1px;
    height:3em;
    vertical-align: middle;
    padding:.5em;
}

tr{
    border-bottom: dotted #ed564b 1px;
}

/*alternate row colors*/
tr:nth-child(odd){
   background: #FFEFED;

}

td{
    padding:.5em;
    vertical-align: middle;
}

td:first-child{
    text-align:center;
}
/*table syling end*/

/*copyright for images*/
.copyright{
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size:.8em;
    color: #32343a;
}

textarea{
  width:98%;
  border:none;
  background-color: #FFEFED;
  height:98%;
  resize: none;
}

/*FOOTER*/

#footer {
    position: fixed;
    top: 97%;
    height: 3%;
    background-color: #32343a;
    z-index: 9999;
}



#footer-text {
    padding-top: 2px;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    margin-bottom: 0px;
    color: white;
}


/*ACTIVITY*/




/* ----------- Large Display ----------- */

@media screen and (max-width: 1920px) and (max-height: 1080px) {
    header{
        height: 10%;
    }
}


/* ----------- Laptop HiDPI screen ----------- */

@media screen and (max-width: 1440px) and (max-height: 900px) {
    header{
        height: 10%;
    }

    header .col{
            margin: 1% 0 0 1%;
    }
 
}


/* ----------- Laptop ----------- */

@media screen and (max-width: 1366px) and (max-height: 768px) {
    /* Styles */
}


/* ----------- Laptop MDPI screen ----------- */

@media screen and (max-width: 1280px) and (max-height: 800px) {
    /* Styles */
}



@media only screen and (max-width: 568px),(min-device-width: 320px) and (max-device-width: 1024px) {



    #penTool_btn{
        display: none!important;
    }

    .questionHeader{

          padding: 2% 0 2% 0!important;
          line-height: normal;
    }


}

/* ----------- mobile devices -----------*/
@media only screen and (max-device-width: 640px) { 
    #menu{
        display: block!important;
        text-align: left;
        margin-top: 1%;
        margin-left: 3%;
    }
}

/* ----------- Table styling for mobile devices. -----------*/
@media only screen and  (max-device-width: 640px) {
   
    /* Force table to not be like tables anymore */
    table, thead, tbody, th, td, tr { 
        display: block; 
    }
    
    /* Hide table headers (but not display: none;, for accessibility) */
    thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    tr { border: 1px solid #ccc; }
    
    td { 
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee; 
        position: relative;
        text-align: center;
        /*padding-left: 50%; */
    }
    
    td:before { 
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%; 
        padding-right: 10px; 
        white-space: nowrap;
    }
}
