@import url('fontawesome/css/all.min.css');

:root {
    --site-color: #1258DC;
    --site-color-reverse: white;
    --body-color: white;
    --text-color: navy; 
    --button-text-color: white;
    --button-hover-background-color: white;
    --button-hover-text-color: darkslategrey;
    --link-text-color: midnightblue;
    --link-hover-background-color: lightgray;
    --link-hover-text-color: green;
    --table-header-color: navy;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* W3.CSS standard styles */

/* W3.CSS 4.15 December 2020 by Jan Egil and Borge Refsnes */
html {
    box-sizing: border-box
}

*, *:before, *:after {
    box-sizing: inherit
}
/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section {
    display: block
}

summary {
    display: list-item
}

audio, canvas, progress, video {
    display: inline-block
}

progress {
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden], template {
    display: none
}

a {
    background-color: transparent
}

    a:active, a:hover {
        outline-width: 0;
        cursor: pointer
    }

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted
}

b, strong {
    font-weight: bolder
}

dfn {
    font-style: italic
}

mark {
    background: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -0.25em
}

sup {
    top: -0.5em
}

figure {
    margin: 1em 40px
}

img {
    border-style: none
}

code, kbd, pre, samp {
    font-family: monospace,monospace;
    font-size: 1em
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

button, input, select, textarea, optgroup {
    font: inherit;
    margin: 0
}

optgroup {
    font-weight: bold
}

button, input {
    overflow: visible
}

button, select {
    text-transform: none
}

button, [type=button], [type=reset], [type=submit] {
    -webkit-appearance: button
}

    button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
        border-style: none;
        padding: 0
    }

    button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {
        outline: 1px dotted ButtonText
    }

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

textarea {
    overflow: auto
}

[type=checkbox], [type=radio] {
    padding: 0
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

    [type=search]::-webkit-search-decoration {
        -webkit-appearance: none
    }

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}
/* End extract */
html, body {
    font-family: Verdana,sans-serif;
    font-size: 15px;
    line-height: 1.5
}

html {
    overflow-x: hidden
}

h1 {
    font-size: 36px
}

h2 {
    font-size: 30px
}

h3 {
    font-size: 24px
}

h4 {
    font-size: 20px
}

h5 {
    font-size: 18px
}

h6 {
    font-size: 16px
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Segoe UI",Arial,sans-serif;
    font-weight: bold;
    margin: 10px 0
}

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0
}

img {
    vertical-align: middle
}

a {
    color: inherit
}

.text-danger {
    color: red;
}

/* I8 additional styles */

p + ul {
    margin-top: -12px;
}

/* I8 additional styles adapted from W3.CSS */

body {
    background-color: var(--body-color);
    color: var(--text-color);
}

.nav-link {
    display: block;
    text-decoration: none;
}

.i8-header {
    font-size: 1.3em;
    color: var(--text-color);
}

.i8-text-block {
    padding: 10px 10px 0px 10px;
}

.i8-button {
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid var(--site-color);
    border-radius: 4px;
    font-size: 1em;
    color: var(--button-text-color);
    background-color: var(--site-color);
}

    .i8-button:hover {
        background-color: var(--button-hover-background-color);
        border: 1px solid var(--button-hover-text-color);
        color: var(--button-hover-text-color);
    }

    .i8-button:focus {
        color: var(--button-text-color);
        background-color: var(--site-color);
    }

    .i8-button:disabled {
        cursor: not-allowed;
        pointer-events: none;
        opacity: 0.3;
    }

.i8-button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    /*-khtml-user-select: none;*/
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.i8-link {
    padding: 5px;
    color: var(--link-text-color);
}

a.i8-link:hover {
    color: var(--link-hover-text-color);
    background-color: var(--link-hover-background-color);
    border-radius: 4px;
    cursor: pointer;
}

.i8-padding-h16 {
    padding: 0px 16px;
}

.i8-width-100pc {
    width: 100%;
}

.i8-right {
    float: right;
}

.i8-text-center {
    text-align: center;
}

.i8-text-bold {
    font-weight: bold;
}

.i8-text-red {
    color: crimson;
}

.i8-text-amber {
    color: orange;
}

.i8-text-green {
    color: green;
}

.i8-bg-red {
    background-color: darkred;
    color: white;
}

.i8-bg-amber {
    background-color: orange;
}

.i8-bg-green {
    background-color: #92D050;
}

.i8-bg-grey {
    background-color: lightgrey;
}

.i8-flexbox {
    display: flex;
    margin: 16px;
}

    .i8-flexbox > div {
        margin-right: 32px;
    }

.i8-input {
    padding: 8px;
    margin-bottom: 16px;
    display: block;
    border: 1px solid #ccc;
    width: 100%
}

    .i8-input:focus {
        outline: none !important;
        border: 1px solid green;
    }

.i8-check, .i8-radio {
    width: 16px;
    height: 16px;
    position: relative;
    top: 2px;
    display: inline;
}

.i8-error {
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 0.01em 16px;
    background-color: red;
    color: white;
}

.i8-success {
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 0.01em 16px;
    background-color: green;
    color: white;
}

.i8-show {
    display: block;
}

.i8-hide {
    display: none;
}

.i8-modal {
    z-index: 3;
    padding-top: 100px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overscroll-behavior: contain;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    animation: opac 0.8s;
}

.i8-modal2 {
    z-index: 5;
    padding-top: 100px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overscroll-behavior: contain;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    animation: opac 0.8s;
}

.i8-modal3 {
    z-index: 10;
    padding-top: 100px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overscroll-behavior: contain;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    animation: opac 0.8s;
}

.i8-modal-content {
    margin: auto;
    background-color: white;
    position: relative;
    padding: 0;
    outline: 0;
    width: 600px;
}

    .i8-modal-content > header {
        padding: 8px 16px;
        color: white;
        background-color: var(--site-color);
        text-align: center;
        font-size: 20px;
        font-weight: bold;
    }

    .i8-modal-content > div {
        padding: 8px 16px;
    }
    
    .i8-modal-content > p {
        text-align: left;
        font-weight: normal;
    }

.i8-modal2-content {
    margin: auto;
    background-color: white;
    position: relative;
    padding: 0;
    outline: 0;
    width: 550px;
}

    .i8-modal2-content > header {
        padding: 8px 16px;
        color: white;
        background-color: var(--site-color);
        font-size: 20px;
    }

    .i8-modal2-content > div {
        padding: 16px;
    }

.i8-modal3-content {
    margin: auto;
    background-color: white;
    position: relative;
    padding: 0;
    outline: 0;
    width: 500px;
}

    .i8-modal3-content > header {
        padding: 8px 16px;
        color: white;
        background-color: var(--site-color);
        font-size: 20px;
    }

    .i8-modal3-content > div {
        padding: 16px;
    }

.i8-modal-title {
    padding-right: 40px;
}

.i8-modal-close {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    color: white;
    background-color: var(--site-color);
    position: absolute;
    right: 0;
    top: 0;
}

    .i8-modal-close:hover {
        background-color: red;
    }

@media (max-width:600px) {
    .i8-modal {
        padding-top: 30px;
    }

    .i8-modal-content {
        margin: 0 10px;
        width: auto !important;
    }
    
    .i8-modal2 {
        padding-top: 30px;
    }

    .i8-modal2-content {
        margin: 0 15px;
        width: auto !important;
    }

    .i8-modal3 {
        padding-top: 30px;
    }

    .i8-modal3-content {
        margin: 0 20px;
        width: auto !important;
    }
}

@media (min-width: 601px) and (max-width:768px) {
    .i8-modal {
        padding-top: 50px;
    }

    .i8-modal-content {
        width: 500px;
    }

    .i8-modal2 {
        padding-top: 50px;
    }

    .i8-modal2-content {
        width: 450px;
    }

    .i8-modal3 {
        padding-top: 50px;
    }

    .i8-modal3-content {
        width: 400px;
    }
}

@media (min-width:993px) {
    .i8-modal-content {
        width: 900px;
    }
}

@keyframes opac {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.i8-table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    display: table;
    border: 1px solid #ccc;
    border-bottom: 1px solid #ddd;
}

    .i8-table thead {
        background-color: var(--table-header-color);
        color: white;
    }

    .i8-table td, .i8-table th {
        padding: 8px;
        display: table-cell;
        text-align: left;
        vertical-align: top;
        border: 1px solid #ccc;
    }

    .i8-table th:first-child, .i8-table td:first-child {
        padding-left: 16px;
    }
