/*General*/

html, body {
    height: 100%;
}




button {
    font-family: 'Open Sans', sans-serif;
    border: 0;
    outline: 0;
    outline-width: 0;
    outline-style: none;
    background: none;
    box-shadow: none;
    color: #fff;
    font-size: 1em;
    background: #008800;
    text-decoration: none;
    cursor: pointer;
}
	
.btn{	
	display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
	}


button h2 {
    color: #FFFFFF;
}

button:hover {
    background-color: #72ceff;
    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: #004400 !important;
    padding-bottom: 1.5% !important;
    padding-bottom: 1.3% !important;
    z-index: 1;
}

header .section {
    background-color: #004400;
}

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;
    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;
}

p {
    font-family: 'Open Sans', sans-serif;
    color: #000;
}

header h1 {
    margin-top: 1%;
}

header h2 {
    margin-top: -1%;
}

.chapter {
    color: #16a79d;
}


/*MENU*/

#logo {
	position:absolute;
	top:10px;
	right:10px;
	width:120px;
}


#menu {
margin:0;
display:inline-block;
float:right;

}

#menu li {
    width: 33px;
    height: 33px;
    list-style-type: none;
    cursor: pointer;
	float:right;

}

#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: #558fe0;
    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: #f24350;
    height: auto;
    margin: 0;
    padding: 1%;
    background: #f24350;
    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: #004400;
    text-align: left;
    margin: 0px auto;
    padding: 2%;
    /*    z-index:100001;
*/
    z-index: 9998;
}

#instructionTitle {
    display: block;
    padding:0.5em 0;
    color: #ffffff!important;
    margin-left: 1%;
}

#instructionText, .instructionText {
    display: block;
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    font-size: 1em;
    line-height: 1.5em;
    margin-left: 1%;
}


/*instructions end*/


/*FOOTER*/

#footer {
    position: fixed;
    top: 97%;
    height: 3%;
    background-color: #004400;
    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;
}

#mbuttons {
	margin-bottom:3em;
} 
/*ACTIVITY*/

li.draggableItem {
	font-size:22px;
	padding:10px 15px;
}

ul.dropColumn li.draggableItem {
	font-size:14px;
	padding:0px 8px;
	padding-top:5px;
	height:95px
}



@media screen and (min-width:0\0) {
	#svg-wrapper svg {
		width:800px;
		height:600px;
	}
}

/*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;
    }
    

    
    .tree li a {
	   border: 1px solid #868695;
	   padding: 10px 5px;
	   font-size: 13px;
	   font-weight: normal;	
    }

}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
.tree ul li a {
	padding:10px 4px;
	max-width:150px;
}
}


/* ----------- iPhone 5 ----------- */

@media only screen and (min-device-width: 568px) and (min-device-height: 320px) {
    /* Styles */
	
}