body {
    padding: 0px;
    margin:  0px;
    box-sizing:border-box;
    background-color:#eee;
    font-size: 12pt;
    font-family: "Trebuchet MS", sans-serif;
}

.banner {
    width: 100%;
    min-height: 110px;
    z-index: 999;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    font-size: 20px;
    color: #fff;
    background-color: #047;
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('banner.jpg');

}
.banner::before {
    font-size: 80px;
    left: 30px;
    top: 0px;
    position: absolute;
    color: rgba(255,255,255,0.7);
    font-weight: bold;
    letter-spacing: -5px;
    content: attr(banner-bg-text);
    pointer-events: none;
}

.menulinks {
    position: relative;
    top:45px;
    right: 30px;
    float: right;
}
.banner a, .banner a:visited {
    text-decoration: none;
    color: #eef;
    font-weight:bold;
    padding: 55px 15px 25px 15px;
}
.banner a:hover, .banner a:active{
    text-decoration: none;
    color: #c40;
    background-color: #eef;
}
.currentpage {
    color: #c40;
    background-color: #eef;
    font-weight:bold;
    padding: 55px 15px 25px 15px;
}

.page {
    margin: 20px;
    max-width: 900px;
}

.sampleqs {
    display: inline-flex;
    position: relative;
    left: 250px;
    padding: 0;
    margin: 0;
    border: 1px solid #aaa;
    color: #ccc;
    width: 150px;
    border-radius: 3px;
    overflow: hidden;
    background-color: #ddd;
}
.sampleqs:hover {
    background-color: #eee;
}
.clq {
    text-align: center;
    padding: 5px;
    margin: 0;
    color: #888;
    cursor: pointer;
}
.clq:hover {
    font-weight: bold;
    color: #eee;
    background-color: #c40;
}

.ratings {
    display: inline-flex;
    padding: 0;
    margin: 0;
    border: 1px solid #aaa;
    color: #ccc;
    width: 350px;
    border-radius: 3px;
    overflow: hidden;
    background-color: #eee;
}
.ratings:hover {
    background-color: #fff;
}
.sampleqs select, .ratings select {
    padding: 5px 8px;
    width: 130%;
    border: none;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.sampleqs select:focus, .ratings select:focus {
    outline: none;
    background-color: #eee;
}

.statushead {
    background-color: #ccc;
    color: #000;
    cursor: pointer;
    margin-top: 15px;
    padding: 4px 10px;
    max-width: 100%;
    border-top: 1px solid #444;
    border-left: 25px solid #444;
    border-right: 1px solid #444;
    text-align: left;
    outline: none;
    font-size: 15px;
    font-weight:bold;
    transition: 0.1s;
}
.status {
    border-top: 1px solid #999;
    border-bottom: 1px solid #444;
    border-left: 1px solid #444;
    border-right: 1px solid #444;
    padding: 0 25px;
    background-color: #fff;
    max-width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion {
    background-color: #047;
    color: #fff;
    cursor: pointer;
    margin-top: 15px;
    padding: 10px;
    max-width: 100%;
    border-top: 3px solid black;
    border-left: 3px solid black;
    border-right: 3px solid black;
    border-radius: 12px 12px 0 0;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.1s;
}

.active {
    border-bottom: 0px;
    background-color: #9bc;
    color: #333;
    font-weight:bold;
}

.accordion:hover {
    background-color: #9bc;
    color: #333;
}

.accordion:before {
    content: ' \002B ';
    color: #fff;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active:before {
    content: "\2212";
}

.qprob {
    color: #fff;
    border-radius: 12px;
    border: 3px solid #fff;
    padding: 3px 15px;
    position: relative;
    left:300px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
.frating {
    color: #fff;
    border-radius: 12px;
    border: 1px solid #fff;
    padding: 2px 10px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2), 0 1px 2px 0 rgba(0,0,0,0.19);
}
.explevel {
    color: #fff;
    border-radius: 12px;
    border: 1px solid #fff;
    padding: 1px 5px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2), 0 1px 2px 0 rgba(0,0,0,0.19);
}


.p9 { background-color: #291; }
.p7 { background-color: #7b4; }
.p5 { background-color: #cc5; }
.p3 { background-color: #f80; }
.p1 { background-color: #821; }
.p0 { background-color: #444; }

h1 {
    margin-top: 40px;
    margin-bottom: -5px;
    margin-left: -20px;
    padding-left: 20px;
    border-bottom: 1px solid black;
}
h1 b {
    color: #9bc;
}

a, a:visited {
    text-decoration: none;
    color: #c40;
}
a:hover, a:active {
    text-decoration: underline;
}

pre {
    white-space: pre-wrap;
}


.panel {
    border-top: 1px solid #444;
    border-bottom: 3px solid black;
    border-left: 3px solid black;
    border-right: 3px solid black;
    border-radius: 0 0 12px 12px;
    padding: 0 18px;
    background-color: #ccd8e2;
    max-width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.t100 {
    width: 100%;
}
td {
    vertical-align:top;
}
.textanswer {
    width: 50%;
}
.cytograph_controls {
    vertical-align:top;
}
.cytograph_controls a:hover {
    text-decoration: none;
    border: 1px solid #fff;
    background-color: #c40;
    color: #fff;
    cursor: pointer;
}
.cytograph {
    border: 1px solid #444;
    height: 300px;
    width: 50%;
    background-color: #bcd;
    box-shadow: inset 0 4px 8px 0 rgba(0,0,0,0.2), inset 0 6px 20px 0 rgba(0,0,0,0.19);
}

.questionBox {
    font-size: large;
    margin: 4px;
    padding: 6px;
    border: 2px solid black;
}

.button {
    padding-left: 30px;
    padding-right: 30px;
    background-color: #047;
    color: #fff;
    transition-duration: 0.2s;
}
.button:hover {
    background-color: #9bc;
    color: #333;
}

.error {
    font-weight: bold;
    color: #c40;
}


.tiny {
    font-size: 10px;
    color: #888;
}
.blue {
    color: #047
}

.switch {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 10px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #aaa;
  -webkit-transition: .2s;
  transition: .2s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 6px;
  width: 6px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  -webkit-transition: .2s;
  transition: .2s;
}

input:checked + .slider {
  background-color: #047;
}

input:focus + .slider {
  box-shadow: 0 0 1px #047;
}

input:checked + .slider:before {
  -webkit-transform: translateX(12px);
  -ms-transform: translateX(12px);
  transform: translateX(12px);
}

.code {
    font-family: Courier, monospace;
    background-color: #ddd;
    color: #000;
    padding: 4px 10px;
    min-width: 100%;
    border-top: 1px solid #444;
    border-left: 15px solid #ff5f00;
    border-right: 1px solid #444;
    border-bottom: 1px solid #444;
    text-align: left;
    outline: none;
    font-size: 15px;
}
