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;
}

.insbackground{
  margin:0 0 2rem 0;
  width:100%;
  background-color: #B4D27C;
}

header{
    background-image: url("../images/headerBg.png");
    padding:.5rem;
}

header h1{
    color: white;
    font-family: Arial, sans-serif;
    font-size:1.6rem;
    font-weight:bold;
    margin: .2rem;
}

img{
  max-width:100%;
  margin:0;
}

div#instructions{
    font-family: Arial, sans-serif;
    font-size: 1.4rem;
    line-height: 1.6rem;
    padding:.5rem 0;
    margin:0;
    text-align: left;
}

.scrolldecoration{
    height:40px;
    background-image: url("../images/scrollTile.png");
}

.rightscroll{
    height:40px;
    min-width:70px;
    background-image: url("../images/scrollRight.png");
    background-repeat: no-repeat;
}

.leftscroll{
    height:40px;
    min-width:70px;
    background-image: url("../images/scrollLeft.png");
    background-repeat: no-repeat;
    background-position:right;
}

#scroll{
    background-color:#EDE5C0;
    padding:0;
}

#scroll h1{
    margin:0 0 1rem 1rem;
    text-align: left;
    font-size:1.4rem;
}

.button{
    color:#006600;
    background-color:#ffffff;
    cursor:pointer;
    text-decoration: none;
    border:2px solid #006600;
    border-radius: 25px;
    font-size:1.4rem;
    font-weight:bold;
    margin:0.5rem;
    padding: 0.25rem 0.5rem;
    min-width:6rem;
}

.glyphicon{
    padding:1rem;
    margin-left:1rem;
}

footer{
    color: white;
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    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-image: url("../images/headerBg.png");
}


/*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;
}
/*PEN TOOL*/
#content{
    /* height: 100%; */
    position: relative;

    -webkit-user-select: none;/* Chrome all / Safari all */
       -moz-user-select: none;/* Firefox all */
        -ms-user-select: none;/* IE 10+ */
            user-select: none;
}
#penToolOptions .penActive{
    z-index: 1000;

    visibility: visible;
}
.penColourOption{
    width: 32px;
    height: 32px;
    padding: 0;

    border: 1px solid #fff;
    border-radius: 20px;
}
#penToolOptions button{
    background-position: center;
    background-size: 100% 100%;
    /*-moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;*/
}

.penColourOption:hover{
    transition: .2s;
    -webkit-transform: scale(1.1);
}

#penBLACK{
    background-color: black;
}

#penRED{
    background-color: red;
}

#penGREEN{
    background-color: green;
}

#penBLUE{
    background-color: blue;
}

/*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: 1300px) {
   
    div#instructions{
    font-size: 1.5rem;
    padding: 0.5rem 0;
}
    header h1{
    font-size:1.6rem;
    font-weight: bold;
    margin: .4rem;
}
}

@media (min-width: 1800px) {
  
    div#instructions{
    font-size: 1.6rem;
    padding: 0.5rem 0;
}
    .button{
    font-size:1.6rem;
}
    header h1{
    font-size:1.8rem;
    margin: .4rem;
}
    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;
 }
}