
html{
    font-size: 100%; /* this is usually 16px by default*/
    position:relative;
    min-height:100%
}

body{
   font-size: 1rem; /* should be just over 16px*/
   margin-bottom: 40px;
}

/*=====================*/

.container{
  width: 90%;
  margin: 1% auto;
 text-align:center;
}

img{
  max-width:100%;
  margin:0;
}

header{
    background:#004400;
    z-index: 1;
    margin:0;
    height:3rem;
}

header h1{
    color: white;
    font-family: Arial, sans-serif;
    font-size:1.6rem;
    padding:0.5rem;
    font-weight:bold;
    margin: 1rem;
}

div.activity h3{
    font-size:1.4rem;
    font-weight:bold;
    color:#004400;
    padding:1rem;
    margin-bottom:1rem;
}


/*MENU*/

#menu {
    margin-top: -1%;
    text-align: right;
    margin-left: 5px;
    background-color: #004400 !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;
}




#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;
}

#instructions {
    display: none;
    font-family: 'Open sans', sans-serif;
    color:#fff;
    background-color: #004400;
    text-align: left;
    margin: 0px auto;
    font-size:1rem;
    line-height:1.2rem;
    padding: 2rem;
    z-index: 9998;
}

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: 1rem;
    background: #008800;
    padding: 0.5rem;
    margin:0.25rem auto;
    text-decoration: none;
    cursor: pointer;
}

.glyphicon{
    padding:1rem;
    margin-left:1rem;
}

footer{
    color: white;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    padding:.5rem;
    margin: 0 auto;
    position:absolute;
    bottom:0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height:40px;
    background:#004400;
}

#footer-text{
   color: white;
   font-family: 'Open Sans', sans-serif;
   font-size:1rem;
}


/*OPTIONS BOX*/

#penToolBtn
{
    position: relative;
    z-index: 1001;
    pointer-events: auto;
    float: right;
}

#penToolOptions
{
    position: absolute;
    z-index: 1001;
    top: 46px;
    right: 0;
    visibility: hidden;
    float: left;
    width: 17em;
    height: 6.8em;
    padding: .5em;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0 0 20px #ccc;
}

/*CANVAS*/

#penToolCanvas{
    position: absolute;
    z-index: 998;
    top: 0;
    left: 0;

    display: none;

    width: 100%;
    height: 100%;
    /* pointer-events: none; */
}

#tmp_canvas{
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;

    cursor: crosshair;
    /* pointer-events: none; */
}

/*---------------- Media Queries ---------------*/

@media (min-width: 1200px) {
    
    header h1{
        font-size:1.6rem;
        margin: .4rem;
    }
    
    span.slidename{
    font-family: 'Open sans', sans-serif;
    font-size:0.8rem;
    margin:0;
    padding:0;
}
    
     div.diagram_holder{
        max-width:500px;
    }
}

@media (min-width: 1800px) {
  
    div#instructions{
        font-size: 1.4rem;
    }
    
      span.slidename{
    font-family: 'Open sans', sans-serif;
    font-size:1rem;
    margin:0;
    padding:0;
}
    
    div.diagram_holder{
        max-width:600px;
    }

    footer{
        font-size: 1.4rem;
    }
}

/*--------------- print Queries --------------------*/ 

@media print {
 div{
    page-break-inside: avoid;  //ensure contents are not printed across pages
 }
 .button {
    display:none !important;
 }
 footer {
    page-break-after: always;
 }
}