@charset "UTF-8";
body {
    font-family: "mmc", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: black;
    line-height: 21px;
}

a {
    color: #e3000f;
    text-decoration: none;
    word-break: keep-all;
}

a:hover {
    color: #e3000f;
    text-decoration: none;
}

h1, .h1 {
    font-family: "mmc", Helvetica, Arial, sans-serif;
    font-weight: 400;
    text-transform: none;
    color: black;
}

.btn {
    text-align: left;
    border-radius: 0;
    height: 35px;
    line-height: 14px;
    padding-left: 8px;
    padding-right: 35px;
    min-width: 180px;
    padding-top: 10px;
    padding-bottom: 8px;
    background-color: black;
    color: #fff;
    font-family: "mmc", Helvetica, Arial, sans-serif;
    font-size: 12px;
    position: relative;
}

.btn::after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='16px' height='25px' viewBox='0 0 20 30' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Ctitle%3Eicon/arrow/white%3C/title%3E%3Cg id='Atomic-Pattern-Library' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Basics' transform='translate(-1234.000000, -2290.000000)' fill='%23FFFFFF'%3E%3Cg id='Icon' transform='translate(40.000000, 2158.000000)'%3E%3Cg id='icon/arrow/white' transform='translate(1194.000000, 132.000000)'%3E%3Cpolygon points='3.18201323 -5.32907052e-15 19.0909091 15.0344444 4.05972927 30 0.767708966 26.9444444 12.6543248 15.0688889 -5.00932629e-13 3.05555556'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    width: 16px;
    height: 25px;
    position: absolute;
    display: block;
    clear: both;
    top: 4px;
    right: 8px;
}

.btn:hover, .btn:active, .btn:focus {
    border: 1px solid black;
    background-color: #575656;
    color: #fff;
}

label,
legend {
    height: 38px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.55;
}

.form-check {
    padding-left: 2.25rem;
}

.form-check-label {
    display: unset;
    padding-top: 0;
    padding-left: 0;
}

label.col-form-label {
    padding: 10px 10px 10px 0;
    white-space: nowrap;
}

.col-form-input, textarea {
    padding: 6px 12px;
    border: 1px solid #666666;
    background-color: transparent;
}

.col-form-input:focus, textarea:focus {
    background-color: #eeeeee !important;
}

select.col-form-input {
    padding: 6px;
    appearance: none;
    background: url('../img/icon-chevron-down.png') no-repeat 98% 50%;
}

select.col-form-input:focus {
    background: url('../img/icon-chevron-up.png') no-repeat 98% 50%;
}

#results * {
    font-size: 9.5pt !important;
}

#results.table th {
    text-align: left;
    width: auto;
}

.table th {
    font-weight: 400;
    text-align: right;
    width: 35%;
}

.plyr__controls {
    min-width: 320px;
    width: 66%;
    margin: 0 auto 4%;
}

.message.error {
    color: #a02020;
    text-align: center;
    font-size: 120%;
}

.message.success {
    color: #028020;
    text-align: center;
    font-size: 120%;
}

.message.hidden {
    display: none;
}

.alert {
    margin-bottom: 0 !important;
    border-radius: 0 !important;
}

.desc::after {
    color: #2299ff;
    content: ' ↑';
}

.asc::after {
    color: #2299ff;
    content: ' ↓';
}

.required label::after,
.required legend::after,
.form-error~label::after {
    content: '*';
    color: #b02020;
    font-family: "mmc", Helvetica, Arial, sans-serif;
    font-weight: 900;
}

.required legend~div label::after {
    content: '' !important;
}

.error>label,
.error>legend {
    color: #d02020;
}

.form-control::placeholder {
    color: #999;
    opacity: 1;
}

.form-control {
    display: block;
    width: 100%;
    height: 38px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.55;
    color: #555;
    background-color: #fff;
    /* background-image: none; */
    border: 1px solid #666666;
    border-radius: 0px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -moz-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -ms-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

select.form-control {
    width: 50%;
    background: url('../img/icon-chevron-down.png') no-repeat 98% 50%;
}

select.form-control:focus:active {
    width: 50%;
    background: url('../img/icon-chevron-up.png') no-repeat 98% 50%;
}

.error input[type="text"],
.error input[type="select"] {
    border-color: #d02020;
    border-right-width: 24px;
    background: url('../img/error.png') no-repeat 98% 50%;
}

.disabled, input:disabled, select:disabled, textarea:disabled, .form-check-input:disabled {
    cursor: not-allowed;
}

header {
    top: 0;
/*    text-transform: uppercase; */
}

header nav {
    padding: 2rem 0 2rem 0;
}

@media screen and (max-width: 768px) {
    header nav {
        padding: 1rem 0 1rem 0;
    }    
}

header a {
    font-family: "mmc", "mmc", Helvetica, Arial, sans-serif;
    text-decoration: none;
    font-weight: normal;
    color: black;
}

header a:hover, header a:active, header a:focus {
    color: black;
/*    text-decoration: underline; */
}

header a.active {
    font-weight: bold;
}

header a:not(:last-child) {
    margin-right: 1.5rem;
}        

#logo {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    width: 150px;
    height: 128px;
    background-image: linear-gradient(to top right, transparent 50%, #c0c0c0 0), linear-gradient(to bottom right, #c0c0c0 50%, transparent 0);
    background-size: 50% 100%;
    background-repeat: no-repeat;
    background-position: left, right;
}

#logo a {
    position: absolute;
    top: 0;
    left: 1px;
    width: 148px;
    height: 126px;
    background-image: linear-gradient(to top right, transparent 50%, white 0), linear-gradient(to bottom right, white 50%, transparent 0);
    background-size: 50% 100%;
    background-repeat: no-repeat;
    background-position: left, right;
    text-align: center;
    clip-path: polygon(0px 0px, 100% 0px, 50% 100%, 50% 100%);
}

@media screen and (max-width: 992px) {
    #logo {
        width: calc(150px / 3 * 2);
        height: calc(128px / 3 * 2);
    }
    #logo a {
        width: calc(148px / 3 * 2);
        height: calc(126px / 3 * 2);
    }

    #logo a img {
        transform-origin: center top;
        transform: scale(0.70);
    }
}

footer {
    padding-top: 12px;
    padding-bottom: 12px;
    bottom: 0;
    width: 100%;
}

footer a {
    color: #343434 !important;
}

footer a:hover, footer a:active, footer a:focus {
    text-decoration: underline;
}

footer .nav-item .nav-link {
    padding: 0;
}

@media screen and (min-width: 768px) {
    footer .nav-item:not(:last-child) .nav-link {
        margin-right: 1.5rem;
    }        
}

/*
footer .nav-item:not(:last-child) .nav-link::after {
    content: '|';
    margin-left: 1rem;
}
*/

#mainContent {
    background-color: white;
}

/*
div:last-of-type > input[name="event_id"], div:last-of-type > input[name="event_id"] ~ label {
    margin-top: 1rem;
}

div:last-of-type > input[name="event_id"] ~ label {
    margin-top: 0.75rem;
    display: inline-block;
}
*/

div > input[name="event_id"], div > input[name="event_id"] ~ label {
    margin-top: 1rem;
}

div > input[name="event_id"] ~ label {
    margin-top: 0.75rem;
    display: inline-block;
}

.text-black {
    color: black;
}

p, td, th, a, blockquote, li, span, input {
    font-size: 16px;
    font-family: "mmc", Hevetica, Arial, sans-serif;
    line-height: 23px;
}

.form-check-input {
    border: 2px solid #555;
}

.form-check-input:checked {
    background-color: #ef0d6e;
    border-color: #ef0d6e;
}

textarea.form-control {
    height: auto;
}

.text-bold {
    font-family: "mmc", "mmc", Helvetica, Arial, sans-serif;
    font-weight: bold;
}