.hidden {
    position: absolute;
    top: auto;
    left: -100000px;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: sans-serif;
    font-size: 16px;
    padding: 0 20px 0 20px;
}


#skiptocontent a {

    padding: 6px;
    position: absolute;
    top: -40px;
    left: 0;
    color: white;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    border-bottom-right-radius: 8px;
    background: #BF1722;
    -webkit-transition: top 1s ease-out;
    transition: top 1s ease-out;
    z-index: 100;

}

#skiptocontent a:focus
{
    position:static;
    width:auto;
    height:auto;
}

p.formheading
{
    font-size: larger;
    font-weight:bold;
}

span.subheading
{
    font-weight:bold;
}

span.normal
{
    font-weight:normal;
    font-size: smaller;
}

hr.formbreak
{
    border-bottom: 1px solid #ccc;
}

h2.heading
{
    font-size:24px;
    text-align: center;
    font-weight: normal;
    border-bottom: 3pt solid #004d91;
    border-top: 3pt solid #004d91;
}

div.mateTableDiv, div.mateTitleDiv {
    width:100%;
    padding: 10px 0 10px 0 ;
    text-align: center;
}

input.overlay-color, textarea.overlay-color {
    border-bottom: 3px solid #ebebeb;
    margin-bottom:  5px;
}

input.overlay-color:focus, textarea.overlay-color:focus {
    border: 3px solid #004d91;
    border-bottom: 3px solid #004d91;
    margin-bottom:  5px;
}

p input.short {
    border-bottom: 3px solid #004d91;
    width: 15%;
}

hr.overlay-color {
    border-bottom: 3px solid #004d91;
}

h1.login {
    font-size:30px;
    text-align: center;
    font-weight: bold;
    color: #000000;
}

div.loginimage {
    background: none repeat scroll 0 0 ;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

a.loginbutton {
    color: #000000;


    background-color: #ebebeb;
    border: 1px solid #7E0105;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    -moz-user-select: none;
    border-radius: 3px;
    outline: medium none;
    padding: 5px 10px;
    display: inline-block;
    text-decoration: none;
}

a.loginbutton.grey {
    background-color: #F8F8F8;
    border: 1px solid #B0B0B0;
    color: #3A3A3A;
    text-shadow: 0 1px 0 #FFFFFF;
}

div.login {
    font-family: 'Merriweather', 'PT Sans', sans-serif;
    font-weight: normal;
    font-size: 14px;
    text-align: center;
    color: #fff;


    background-repeat: no-repeat;
    background-position: center top;
    min-height: 500px;
    position: relative;
    width: 700px;
    margin-left: auto;
    margin-right: auto;
    background-size: 100%;
}

div.login label {
    color: #ffffff;
    font-size: 18px;
    height: 1px;
    width: 1px;
    margin: -1px;
    position: absolute;
    border: 0;
    overflow: hidden;
    padding: 0;
}

div.image {
    background-color: #004d91;
}

div.divbottom {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.ageselect {
    padding-bottom: 15px;
    min-width: 360px;
}

.quarterwidth {
    padding-bottom: 40px;
    min-width: 360px;
}

div.nextline {
    float: left;
    clear: both;
}

div.nextlineexit {
    float: left;
    clear: both;
    left: 10px;
    padding-right:10px;
}

div.bannercontainer {

}

.container {
    display: flex;
    flex-direction: column;
}

.box {
    width: 100%;
}

@media (min-width: 800px) {

    .container {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .box {
        flex-basis: 45%;
    }
}

p.shortheight {
    line-height: .5;
}

div.bottomalign {
    display: inline-block;

}

div.mateSearchStringDiv input[type="text"],
textarea {
    width: 25%;
}

input.searchfield {
    display: inline-block;
    width: 25%;
}

.imageheight {
    width: 100%;
    max-height: 5px;
}

input[type="text"],
textarea {
    width:90.25%;
}

input.login {
    background-color: #FFFFFF;

    margin: 0 0 0 0;

    border-width: 1px;
    border-style: solid solid solid solid;
    border-color: #333333;
    width: 45%;
    color: #666666;

    font-size: 150%;

    padding: 1px 2px;
}

div.login input[type="submit"] {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 2px 2px rgba(0, 0, 0, 0.51);
    color: #000000;
    font-size: 18px;
    font-weight: bold;
    width: 100px;
    border: 1pt solid #162436;
    border-radius: 2px;
    background: #004d91;
}

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.error {
    font-weight: bold;
    color: #901111;
    font-size: 150%;
    text-align: center;
}

input.credit {
    width: 50px;
    background-color: #ebebeb;
}

.w3-selectlarge {
    width: 45%;
    padding: 9px 0;
    min-width:55px;
}

.w3-select {
    width: 15%;
}

.emotionrating {
    width: 90%;
}

table.mateTable {
    margin-left: auto;
    margin-right: auto;
    table-layout: fixed;
    text-align: left;
    width:95%;

}

table.w3-table td.labelCell {
    font-weight: bold;
    text-align: right;
    width: 25%;
}

div.mateAddRowBtnsDiv, div.mateEditRowBtnsDiv {
    text-align: center;
}

div.width35 {
    width: 35%;
}

div.width40 {
    width: 40%;
}

input.size99 {
    width: 99%;
}

input.size100 {
    width: 100%;
}

.height150 {
    min-height: 200px;
}

.questions, .sliderpadding, .minidirections {
    font-family: "Segoe UI",Arial,sans-serif;
    font-size: 16pt;
}

div.entirepage {

    height: 100%;
    display: flex;
    flex-direction: column;

}

.fixedheader, footer {
    flex: 0;
}

div.content {
    flex-grow: 1;
    overflow: auto;
    min-height: 2em;
}

h2.titlewithsave {
    display: inline-block;
}

button.buttonwithtitle {
    display: inline-block;
    vertical-align: text-bottom;
}

div.itemnotes {
    display: inline-block;
    width:45%;
}

.paddingright {
    padding-right: 10px;
}

table.mateTableExaminer  {
    color: #494949;
    text-align: left;
    width:40%;
}

table.mateTableExaminer td {

    text-align: left;
    padding-left: 1px;
    padding-right: 1px;
    padding-bottom: 5px;
}

table.mateTableExaminer td.labelCell {
    font-weight: bold;
    width:24%;
}

div.instructions {
    padding: 10px 20px 10px 20px;
}

div.instructions h2 {
    font-size: 24px;
}

.navmenu a:hover, .navmenu a:active, .navmenu a:focus, .keyfocus a:hover, .keyfocus a:active, .keyfocus a:focus, .keyfocus button:hover, .keyfocus button:active, .keyfocus button:focus{
    background-color: #CCCCCC;
    color:#000000;
}

div.emotions {
    flex: 1;
    padding-left: 5%;
}

div.scoring {
    flex: 1;
}

div.report-card {
    width:95%;
    margin:auto;
}

a.report-link {
    white-space:normal;
}

h3.report-title {
    width:95%;
    margin:auto;
}

.select-css {
    display: block;
    font-size: 16px;
    font-family: sans-serif;
    font-weight: 700;
    color: #444;
    line-height: 1.3;
    padding: .6em 1.4em .5em .8em;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #aaa;
    box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
    border-radius: .5em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
    linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}
.select-css::-ms-expand {
    display: none;
}
.select-css:hover {
    border-color: #888;
}
.select-css:focus {
    border-color: #aaa;
    box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
    box-shadow: 0 0 0 3px -moz-mac-focusring;
    color: #222;
    outline: none;
}
.select-css option {
    font-weight:normal;
}

.select-css-small {
    display: inline-block;
    font-size: 12px;
    font-family: sans-serif;
    font-weight: 700;
    color: #444;
    line-height: 1.3;
    padding: .6em 0 .5em .5em;
    width: 50px;
    max-width: 50px;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #aaa;
    box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
    border-radius: .5em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
    linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}
.select-css-small::-ms-expand {
    display: none;
}
.select-css-small:hover {
    border-color: #888;
}
.select-css-small:focus {
    border-color: #aaa;
    box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
    box-shadow: 0 0 0 3px -moz-mac-focusring;
    color: #222;
    outline: none;
}
.select-css-small option {
    font-weight:normal;
}

.select-css-medium {
    display: inline-block;
    font-size: 16px;
    font-family: sans-serif;
    font-weight: 700;
    color: #444;
    line-height: 1.3;
    padding: .6em 1.4em .5em .8em;
    width: 8%;
    max-width: 8%;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #aaa;
    box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
    border-radius: .5em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
    linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}
.select-css-medium::-ms-expand {
    display: none;
}
.select-css-medium:hover {
    border-color: #888;
}
.select-css-medium:focus {
    border-color: #aaa;
    box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
    box-shadow: 0 0 0 3px -moz-mac-focusring;
    color: #222;
    outline: none;
}
.select-css-medium option {
    font-weight:normal;
}

.switch-field {
    display: flex;
    margin-bottom: 36px;
    overflow: hidden;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.switch-field label {
    background-color: #e4e4e4;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    line-height: 1;
    text-align: center;
    padding: 8px 13px;
    margin-right: -5px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.1s ease-in-out;
}

.switch-field label:hover {
    cursor: pointer;
}

.switch-field input:checked + label {
    background-color: #a5dc86;
    box-shadow: none;
}

.switch-field label:first-of-type {
    border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
    border-radius: 0 4px 4px 0;
}

.switch-field fieldset {
    width:100%;
    padding: .35em 1.625em .75em 0.625em;
}

.w3-overlay-color {
    background-color: #004d91;
    color:  #ffffff;
}

.ui-slider-tick-mark{
    display:inline-block;
    width:2px;
    background:black;
    height:16px;
    position:absolute;
    top:-4px;
}

#slider label {
    position: absolute;
    width: 20px;
    margin-top: 20px;
    margin-left: -10px;
    text-align: center;
}

div.evalslider label {
    position: absolute;
    width: 20px;
    margin-top: 8px;
    margin-left: -10px;
    text-align: center;
}

div.ui-slider-horizontal {
    height: 0;
}

div.ui-slider-horizontal .ui-slider-handle {
    top: -.6em;
}

.wrapper {
    position: relative;
}

.wrapper input {
    height: 20px;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 20px;
}

.wrapper label {
    display: block;
    padding: 0 0 0 20px;
}

.wrapper input + label::before {
    border: 2px solid;
    content: "";
    height: 20px;
    left: 0;
    position: absolute;
    top: 0;
    width: 20px;
    margin-left: -15px;
}

.wrapper input + label::after {
    content: "";
    border: 4px solid;
    border-left: 0;
    border-top: 0;
    height: 16px;
    left: -8px;
    opacity: 0;
    position: absolute;
    top: 0;
    transform: rotate(45deg);
    transition: opacity 0.2s ease-in-out;
    width: 9px;
}

.wrapper input:checked + label::after {
    opacity: 1;
}

.wrapper input:focus + label::before {
    box-shadow: 0 0 0 3px #ffbf47;
    outline: 3px solid transparent; /* For Windows high contrast mode. */
}

.specialbuttons {
    vertical-align: top;
    padding: 1px 10px 1px 10px;
    background-color: #ebebeb;
}

.specialbuttonstop {
    vertical-align: text-bottom;
    padding: 1px 10px 1px 10px;
    background-color: #ebebeb;
}

label.sliderpadding
{
    padding-right: .5em;
}

a.audiopadding
{
    padding-right: .5em;
}

a.audiopaddinginfo
{
    padding-right: 3px;
}

.audio_volume_only {
    width: 35px;
}

.heightequal {
    flex: 1;
    text-align: center;
    vertical-align: bottom;
}

.mytooltip {
    font-size: 16px;
    color: blue;
    padding-right:.8em;
}

.padding-left {
    padding-left: 100px;
}

.verticaltext {
    vertical-align: top;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.adminfunction {
    min-width: 206px;
}

.audiohide {
    display: none;
}

.checkbox-horizontal {
    position: relative;
    display: inline-block;
    float: left;
    width:7vw;
}

.checkbox-formal {
    width:15vw;
}

.checkbox-horizontal label {
    display: block;
    padding: 0 0 0 12px;
}

.fieldset-borderless {
    border: 0;
}

legend span.accessible {
    position:fixed;
    left:-9999px;
    width:100px;
    height:100%;
    overflow:hidden;
}

fieldset.rightpadding {
    padding-right: 1em;
}

.navbar {
    padding: 0;
    background-color: #f1f1f1;
}

.active {
    font-weight:bold;

}

.nav-link:hover, .dropdown-item:hover {
    border: 1px dotted #000;
}

label.nomargin {
    margin-bottom: 0;
}

.navbar-light .navbar-nav .nav-link {
    color: #004d91;
}

input::placeholder {
    color: #004d91;
    font-size: 0.9em;
    font-weight: bold;
    font-style: italic;
}

div.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 50px;
    padding: 50px;
    font-size: 20px;
}

p.levelheading {
    position: relative;
    left: -15px;
    top: -15px;
    margin-bottom: 0;
}