/*General*/

html, body {
    height: 100%;
}


.c1 {background-color:#2645b1} /*Purple Main*/
.c2 {background-color:#456ed7} /*Purple Dark*/
.c3 {background-color:#af3535} /*Red Main*/
.c4 {background-color:#c94747} /*Red Light*/



button {
    font-family: 'Open Sans', sans-serif;
    border: 0;
    outline: 0;
    outline-width: 0;
    outline-style: none;
    padding:10px 15px;
    box-shadow: none;
    color: #fff;
    font-size: 1em;
    background: #2a4bb4;
   	min-width:80px;
	margin:2px;
    text-decoration: none;
    cursor: pointer;
}

button h2 {
    color: #FFFFFF;
}

button:hover {
    background-color: #456ed7;
    text-decoration: none;
}

button:disabled {
    background-color: #666;
    text-decoration: none;
}

textarea {
    border: 1px dashed #b6710b;
    background-color: #fdedd6;
    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;
*/
}

#content {
    /*    background-color: #4d505b;
*/
    background-color: #FFF;
    position: relative;
    height: 86%;
}

#container {
    position: relative;
    height: 100%;
}


/*HEADER*/

header {
	
    background-color: #E0E0E0 !important;
	/*padding-bottom: 1.5% !important;*/
    /*padding-bottom: 1.3% !important;*/
	padding-bottom: 0.5% !important;

    z-index: 1;
}

header .section {
	background-image:url(../images/sky4.jpg);
	background-repeat: no-repeat;
	background-size: cover;
    background-color: #2642af;
}

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: #000;
}

h3 {
    text-align: center;
    color: #000;
    background-color: #fff;
}



#pdfText, #order li, #sortable li, .tableTitles li, .tableOptions li {
    font-family: 'Open Sans', sans-serif;
    color: white;
}



header h1 {
    margin-top: 1%;
}

header h2 {
    margin-top: -1%;
}

.chapter {
    color: #16a79d;
}


/*MENU*/

#menu {
    margin-top: -1%;
    text-align: right;
    margin-left: 5px;
    /*background-color: #2a4bb6 !important;*/
	padding: 5px;
	width:16%;

}

#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*/


/*pdf marker*/

#pdfMarker {
    float: right;
    background-color: #cf4858;
    height: auto;
    margin: 0;
    padding: 1%;
    background: #cf4858;
    display: inline-block;
}


/*#star{
   background: url("../images/star.png")no-repeat ;
   display: inline-block;
   width:20px;
   height: 20px;
   vertical-align: top;
}*/

#pdfText {
    display: inline-block;
    margin-left: 2%;
}

#pdfText p {
    line-height: 1.5em;
    color: #fff;
}


/*INSTRUCTIONS*/

#instructions {
    position: absolute;
    display: none;
    width: 96%;
    left: 0;
    background-color: #2645b1;
    text-align: left;
    margin: 0px auto;
    padding: 2%;
    /*    z-index:100001;
*/
	color:#fff;
    z-index: 9998;
	box-shadow:0px 3px 7px 0px rgba(0,0,0,0.5);
}

#instructionTitle {
    display: block;
    color:#fff;
    margin-left: 1%;
}

#instructionText, .instructionText {
    display: block;
    font-family: 'Open Sans', sans-serif;
    color:#fff;
    font-size: 1em;
    line-height: 1.5em;
    margin-left: 1%;
}


/*instructions end*/


/*FOOTER*/

#footer {
    position: fixed;
    top: 97%;
    height: 3%;
    background-color: #2745af;
    z-index: 9999;
}


/*Rhys
Old style

#footer {
    top: 95%;
    height:5%;
    background-color:none;
}

#footer-text {padding-top:5px}
*/

#footer-text {
    padding-top: 2px;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    margin-bottom: 0px;
    color: white;
}


/*ACTIVITY*/


/*MEDIA QUERIES*/

@media only screen and (max-width: 1024px) {
    header {
        height: 14%;
    }
}

@media only screen and (max-width: 768px) {
    #title, #menu {
        width: 98%;
    }
    #pdfMarker {
        width: 100%;
    }
    #star {
        margin-left: 4%;
    }
    /*header and content must add up to 95*/
    header {
        height: 15%;
    }
    #content {
        height: 80%;
    }
    #title {
        margin-top: 0;
        margin-bottom: 0;
    }
    #menu {
        width: 98%;
        text-align: left;
        padding-left: 2%;
        padding-top: 2%;
        padding-bottom: 2%;
        margin-bottom: 0;
        margin-left: 0;
    }
}

@media only screen and (max-width: 560px) {
    /*header and content must add up to 95*/
    #star {
        display: block;
        margin-left: 6%;
        margin-top: 1%;
        margin-bottom: 1%;
    }
    #pdfText {
        margin-left: 6%;
    }
    #penTool_btn {
        display: none!important;
    }
}


/* ----------- Large Display ----------- */

@media screen and (max-width: 1920px) and (max-height: 1080px) {
    /* Styles */
    /* header height reduced for large screens to prevent unneccessary scrollbar on content. width is enough for long titles */
    header {
         height: 11%;
    }
    header h1 {
        margin-top: 0;
    }
}


/* ----------- Laptop HiDPI screen ----------- */

@media screen and (max-width: 1440px) and (max-height: 900px) {
    /* Styles */
    header {
        height: 11%;
    }
   
    header h1 {
        margin-top: 0;
    }
}


/* ----------- 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 */
}


/* ----------- iPad ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    /* Styles */
    /*header{
        height: 15%;
      }*/
    h1 {
        font-size: 1.7em !important;
    }
}


/* ----------- iPhone 5 ----------- */

@media only screen and (min-device-width: 568px) and (min-device-height: 320px) {
    /* Styles */
}


