/*@import url("http://hello.myfonts.net/count/2f34b7");
*/
/*@font-face {
    font-family: 'BandaRegular';
    src: url('../font/webfonts/2F34B7_0_0.eot');
    src: url('../font/webfonts/2F34B7_0_0.eot?#iefix') format('embedded-opentype'), url('../font/webfonts/2F34B7_0_0.woff2') format('woff2'), url('../font/webfonts/2F34B7_0_0.woff') format('woff'), url('../font/webfonts/2F34B7_0_0.ttf') format('truetype');
}*/

/*General*/

/* COLOURS
GREY #3B4548
DARK BLUE #264C5E;
BLUE #4C98BD
LIGHT BLUE #A5CBDE
GREEN #2a9584
YELLOW #F9D176
 */

html, body {
    height: 100%;
}
header, #content, footer {
    display: block;
    width: 100%;
}
textarea {
/*    font-family: 'BandaRegular', sans-serif;*/
    border: 1px dashed #b6710b;
    background-color: #fdedd6;
}
input {
/*    font-family: 'BandaRegular', sans-serif;*/
    border: 0;
}
#container {
    position: relative;
/*    height: 100%;*/
}
#content {
    position: relative;
/*    height: 90%;*/
    background: transparent;
}
.activity {
/*    margin: 0 3%;
    width: 94%;*/
    height: 100%;
}
#page2 {
    display: none;
}

/*HEADER*/
/*header {
    z-index: 1;
    height: 7%;
    background-color: #264c5e;
    color: #fff;
    width: 94%;
    padding: 0 3%;
    position: relative;
}*/
h1, h2, h3, h4 {
/*    font-family: 'BandaRegular', sans-serif;*/
    display: block;
    color: #fff;
}
p {
/*    font-family: 'BandaRegular', sans-serif;*/
    line-height: 1.3em;
    color: #000;
}
header h1, header h2 {
    display: inline-block;
}
h1 {
    font-weight: bold;
}
h2 {
    font-weight: normal;
}
#titles h2:nth-child(3) {
    display: none;
}
h3 {
    color: #000;
}
#titles {
    height: 100%;
    line-height: 2em;
    font-size: 1.2em;
    vertical-align: middle;
}

/*MENU*/
#menu {
    text-align: right;
    position: relative;
    right: 0;
    margin-right: 0;
    width: 13%;
}
li {
/*    font-family: 'BandaRegular', sans-serif;*/
}

/*BUTTONS
*/
/*button {
    font-family: 'BandaRegular', sans-serif;
    background-color: #fff;
    font-size: 1em;
    width: auto;
    padding: 0.5em;
    color: #3B4548;
    border: #4C98BD solid 2px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    transition: background-color 0.2s ease-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
button:hover {
    text-decoration: none;
    background-color: #4C98BD;
    color: #fff;
}
button:disabled {
    text-decoration: none;
    background-color: #757c7e;
}*/

/*
ICON SETTINGS
*/
.icon {
    height: 32px;
    width: 32px;
    background-position: 50% 50%;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.icon:hover {
    -webkit-transform: scale(1.1);
    background: transparent;
}

/*TOOLTIPS*/
#menu button {
    position: relative;
}
button.tooltips {
    position: relative;
    display: inline-block;
}
button span.tooltips {
    line-height: 1.4em;
    position: absolute;
    visibility: hidden;
    display: none;
    clear: both;
    width: 100px;
    text-align: center;
    color: #000;
    border-radius: 0;
    background: #f9d176;
    -webkit-box-shadow: 0 0 5px #aaa;
    box-shadow: 0 0 5px #aaa;
}
span.tooltips:after {
    position: absolute;
    bottom: 15px;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -12px;
    content: ' ';
    border: solid transparent;
    border-width: 12px;
    border-color: rgba(253, 132, 76, 0);
    border-bottom-color: #f9d176;
}
button:hover span.tooltips {
    z-index: 999;
    top: 32px;
    font-size: 0.8em;
    left: 50%;
    visibility: visible;
    display: block;
    margin-left: -50px;
    opacity: 1;
}

/*INSTRUCTIONS*/
#instructions {
    position: absolute;
    z-index: 9998;
    left: 0;
    display: none;
    width: 96%;
    margin: 0 auto;
    padding: 2%;
    text-align: left;
    background-color: #070f12;
    color: #fff;
}
#instructions h2 {
    display: block;
    margin-left: 1%;
    font-size: 1.3em;
    font-weight: bold;
    color: #FFF;
    margin-bottom: 1%;
}
#instructions p {
/*    font-family: 'BandaRegular', sans-serif;*/
    font-size: 1em;
    line-height: 1.5em;
    display: block;
    margin-left: 1%;
    margin-bottom: 1%;
    color: #fff;
}

/*INSTRUCTIONS END*/

/*ACTIVITY SOURCE TEXT
*/
#editTextSource {
    display: none;
}
.editable {
    border: 1px dashed #4C98BD;
    background-color: #fad98e;
}
.activityHolder {
/*    height: 80%;*/
}
.activitySourceText {
/*    font-family: 'BandaRegular', sans-serif;*/
    line-height: 1.3em;
    font-size: 1.1em;
/*    border-radius: 5px;*/
    box-shadow: 5px 3px 10px -3px rgba(0,0,0,0.25);
    border: 1px solid #d8d8d8;
    padding: 0.5em;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    float: left;
/*    margin: 1% 0;*/
/*    height: 95%;*/
    height: 20em;
}
.activitySourceText.centercol {
    float: none;
/*    margin-bottom: 1em auto;*/
}
.activitySourceText p {
    margin-bottom: 1em;
    font-size: 1.1em;
    line-height: 1.3em;
}

/* .activitySourceText p::selection {
    background: #F9D176;
} */
p.activitytitle {
    font-weight: bold;
    text-align: center;
}

/*ACTIVITY CONTROLS
*/

/*buttons at bottom of page
*/

.buttonsHolder {
    text-align: center;
/*    height: 12%;*/
    padding-top: 2%; 
    position: relative;
    float: left;
}

/*buttons at top of page
*/
.buttonsAtTop {
    height: 6%;
    padding-top: 2%;
}

/* RESULTS
 */
#results {
    background-color: #4C98BD;
    border-radius: 5px;
}
#results p {
/*    font-family: 'BandaRegular', sans-serif;*/
    font-size: 1em;
    line-height: 1.5em;
    color: #fff;
    padding: 1%;
}

/*FOOTER*/
/*footer {
    position: fixed;
    top: 97%;
    width: 100%;
    height: 3%;
    border-top: 1px solid #61b4e4;
    background-color: #fff;
    box-shadow: 5px -1px 4px #ccc;
}
footer p {
    font-family: 'BandaRegular', sans-serif;
    font-size: 15px;
    margin-bottom: 0;
    padding-top: 2px;
    text-align: center;
    color: #000;
}*/

/*ACTIVITY*/

/*MEDIA QUERIES*/
@media only screen and (max-width:768px) {
    #title, #menu {
        width: 98%;
    }
    #penToolOptions {
        left: 0;
    }

    /*header and content must add up to 95*/
    header {
/*        height: 12%;*/
    }
    #content {
/*        height: 80%;*/
    }
    #title {
        margin-top: 0;
        margin-bottom: 0;
    }
    #menu {
        width: 98%;
        margin-bottom: 0;
        margin-left: 0;
        padding-left: 1%;
        text-align: left;
    }
}
@media only screen and (max-width:560px) {

    /*no pen on mobile*/
    #penTool_btn {
        display: none !important;
    }
}

/* ----------- Large Display ----------- */
@media screen and (max-width:1920px) and (max-height:1080px) {

    /* Styles */
}

/* ----------- Laptop HiDPI screen ----------- */
@media screen and (max-width:1440px) and (max-height:900px) {

    /* Styles */
    #titles, #menu {
        height: auto;
        margin-top: 0.5%;
        margin-bottom: 0;
    }
}

/* ----------- Laptop ----------- */
@media screen and (max-width:1366px) and (max-height:768px) {

    /* Styles */
    #titles, #menu {
        height: auto;
        margin-top: 0.5%;
        margin-bottom: 0;
    }
}

/* ----------- Laptop MDPI screen ----------- */
@media screen and (max-width:1280px) and (max-height:800px) {

    /* Styles */
    #titles, #menu {
        height: auto;
        margin-top: 0.5%;
        margin-bottom: 0;
    }
}

/* ----------- 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 */
    h1 {
        font-size: 1.7em !important;
    }
}

/* ----------- iPhone 5 ----------- */
@media only screen and (min-device-width:568px) and (min-device-height:320px) {

    /* Styles */
}