body {
    font-family: "Arial";
    background-color: #fff;
}
section {
    overflow: auto;
}
h1, h2 {
    font-family: 'Arial', sans-serif;
    font-weight: normal;
    padding: 0.1%;
    margin: 0.1%;

}
body {
    margin: 15em 0 0 0;
}
img, video {
    max-width: 100%;
    max-height: 100%;
    padding: 0em 0em 0em 0em;
    margin: 0.1%;    
    
}
ul {
    list-style-position: inside;
}
table {
    margin: 1%;
    border-collapse: collapse;
}
th, td {
    padding: 0.1em;
    border: 1px solid #000;
}
header {
    text-align: center;
    color: #fff;
}
footer {
    padding: 0.2em;
    text-align: center;
    color: #fff;
}
footer a {
    color: #fff;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
input {
    background-color: #fff;
    color: #515;
    border-radius: 0.4em;
}
input:hover {
    background-color: #e6d600;
    color: #fff;
    transition: 0.2s;
}
select {
    max-width: 15em;
}
.border {
    margin: 0.3%;
    padding: 0.3%;
    box-sizing: border-box;
    border: 1px solid black;
    border-radius: 0.5em;
    box-shadow: 4px 4px 4px #303;
    text-align: center;
}
input.fullScreen {
    border-radius: 0;
    padding: 0;
    font-size: 1.2em;
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    width: 1.6em;
    z-index: 1;
    text-align: center;
}
.box {
    margin: 0.5%;
    padding: 0.5%;
    border: 1px solid black;
    text-align: center;
}
.ad {
    text-align: center;
    background-color: #fff;
    margin: 0.6%;
}
.noSelect {
    -webkit-touch-callout: none;
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none;
}
section.controls {
    background-color: #f2f2c9;
    color: #000;
    position: relative;
    touch-action: manipulation;
}
section.controls h1 {
    margin: 0.1em;
    font-size: 1.4em;
    color: #000;    
}
section.controls label, section.controls select, section.controls input, section.controls p {
    font-size: 1.2em;
    margin: 0.2em;
}
div.leftMenu {
    text-align: right;
    float: left;
    width: 25%;
}
div.rightMenu {
    text-align: left;
    float: right;
    width: 10%;
}
div.middleMenu {
    display: inline-block;
    width: 50%;
}
div.copyButtons {
    display: inline-block; 
}
div.copyButtons input {
    min-width: 2.2em;
    margin: 0.1em;
}
div.questionBox {
    color: #000;
    background-color: #fff;
}
section.display {
    font-size: 1.2em;
    margin: 0.2em;
    background-color: #959;
    color: #fff;
}
div.smaller {
    font-size: 0.75em;
}
.refreshQ, .hideQ {
    cursor: pointer;
}
#content {
    overflow: auto;
}
@media print {
    section.controls, footer {
        display: none !important;
    }
    body {
        background-color: #fff;
    }
    .border {
        box-shadow: none;
    }
    .refreshQ {
        display: none;
    }
    input.fullScreen {
        display: none;
    }
}
@media (max-width: 800px){
    div.leftMenu {
        margin-top: 1em;
        text-align: center;
        float: left;
        width: 50%;
    }
    div.rightMenu {
        margin-top: 1em;
        text-align: center;
        float: left;
        width: 50%;
    }
    div.middleMenu {
        width: 100%;
    }
}
@media (max-width: 568px){
    section.controls {
        font-size: 0.8em;
    }
    div.questionBox {
        font-size: 0.8em;
    }
}
@media (max-width: 320px){
    section.controls {
        font-size: 0.65em;
    }
}
