/*
    dark BIT blue:   #00244D
    light BIT blue:  #7AABDE
    gray background: #F5F5F5
    border           #EEEEEE
    green            #80B84F
    */
:root {
    --bit-dark-blue: #00244D;
    --bit-light-blue: #7AABDE;
    --bit-grey: #F5F5F5;
    --bit-border: #EEEEEE;
    --bit-green: #80B84F;
}

html, body {
    padding: 0;
    margin: 0;
    font-size: 0.8em;
    min-height: 100vh;
}

html {
    background-color: #00244D;
    color: #FFFFFF;
}

body {
    background-color: #FFFFFF;
    color: #000000;
}

@font-face {
    font-family: Verdana;
    src: url('/gfx/Verdana.otf');

}

@font-face {
    font-family: Verdana;
    font-style: italic;
    src: url('/gfx/Verdana_Italic.otf');
}

/* {Axigen uses these fonts: */
@font-face {
    font-family: "Titillium Web";
    font-style: normal;
    font-weight: bold;
    src: url("/static/fonts/Titillium_Web/TitilliumWeb-SemiBold.ttf")
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: normal;
    src: url("/static/fonts/Open_Sans/OpenSans-Regular.ttf")
}

@font-face {
    font-family: "Open Sans";
    font-style: italic;
    font-weight: normal;
    src: url("/static/fonts/Open_Sans/OpenSans-Italic.ttf")
}

/* /Axigen uses these fonts} */

@font-face {
    font-family: Verdana;
    font-weight: bold;
    src: url('/gfx/Verdana_Bold.otf');
}

@font-face {
    font-family: Verdana;
    font-weight: bold;
    font-style: italic;
    src: url('/gfx/Verdana_Bold_Italic.otf');
}

.float-error {
    position: absolute;
    background: #E72626 url('/gfx/icons/exclamation.png') no-repeat 2px 2px;
    color: #FFFFFF;
    padding: 2px 2px 2px 20px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    border: 1px solid #B11C1C;
}

p {
    padding: 0.5em 0 0.5em 0;
}

#head-info {
    vertical-align: middle;
    text-align: right;
    position: absolute;
    right: 0;
    top: 0;
    line-height: 4rem;
    height: 4rem;
    color: #FFFFFF;
    background-color: rgba(28, 28, 28, 0.4);
}

#head-organisation {
    font-weight: bold;
    text-align: right;
    display: inline-block;
    padding: 0 5px 0 5px;
}

#head-name {
    text-align: left;
    display: inline-block;
    padding: 0 5px 0 5px;
    border-left: 1px dotted #999999;
}

#header.small {
    background: rgb(0, 35, 75);
    box-shadow: 1px 1px 4px rgba(70, 70, 79, 0.2);
}

#header.small #head-info {
    background-color: rgba(255, 255, 255, 0.9);
    color: #000000;
}

input[type=checkbox] {
    vertical-align: middle;
}

input[type=checkbox] + label,
label + input[type=checkbox] {
    vertical-align: middle;
}

#header {
    background-color: rgba(150, 150, 150, 0.5);
    height: 4rem;
    transition: all 200ms;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 500;
}

#header > div {
    transition: all 200ms;
}

#header-image {
    content: ' ';
    background: url('/gfx/header-bit-portal.png') center center no-repeat;
    background-size: cover;
    transition: all 200ms;
    border-bottom: 16px solid #00234B;
    display: block;
}

#header-content {
    background-color: #FFFFFF;
}

#header-logo {
    background: url('/gfx/header-logo-bit.png') center center no-repeat;
    background-size: cover;
    position: absolute;
    transition: all 200ms;
}

#header-title {
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 2.6em;
    color: #FFFFFF;
    text-shadow: 1px 1px 4px rgba(20, 20, 20, 0.6);
}

#pagewrapper {
    position: relative;
    padding-bottom: 3.5rem;
}

#footer {
    background-color: #00244D;
    bottom: 0;
    box-sizing: border-box;
    clear: both;
    color: #FFFFFF;
    padding: 0.5rem;
    position: fixed;
    text-align: center;
    width: 100%;
}

#footer .chatsupport {
    bottom: 0;
    position: fixed;
    right: 2rem;
}

#footer .chatsupport a {
    background-color: #7AABDE;
    box-shadow: 1px 1px 4px #00244D;
    color: #FFFFFF;
    border-top-color: #00244D;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-top-width: 0.1rem;
    display: block;
    padding: 1rem;
    text-shadow: 1px 1px 4px #00244D;
}

#footer .chatsupport a:hover {
    text-decoration: none;
}

#footer .chatsupport a:hover span {
    text-decoration: underline;
}

#footer .text {
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFFFF;
    margin: 10px 0;
}

h1 {
    text-shadow: 1px 1px 1px rgba(60, 60, 60, 0.2);
    font-size: 1.6em;
    font-weight: bold;
    margin: 0.5rem 0;
}

h2 {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    font-weight: bold;
    font-size: 1.3em !important;
    margin: 4px 0;
    padding: 3px 4px;
    background-color: #00234B;
    color: #FFFFFF;
    display: inline-block;
    min-width: 120px;
}

fieldset > legend label {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 3px 4px;
    background-color: #00234B;
    color: #FFFFFF;
    min-width: 120px;
    text-shadow: 2px 2px 1px rgba(150, 150, 150, 0.4);
    width: auto !important;
}

legend {
    font-size: larger;
    font-weight: bolder;
}

h2.mobile {
    color: #000000;
    font-size: 16px !important;
    border: none;
    margin: 0;
    padding: 0;
    background-color: inherit;
    text-shadow: none;
    min-width: inherit;
    display: block;
    border-radius: 0;
    font-weight: bold;
}

h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 1rem 0;
}

h5 {
    padding: 2px 2px;
    background-color: #00234B;
    border: 1px solid #00153A;
    color: #EEEEEE;
    border-radius: 4px;
    margin-bottom: 2px;
}

h6 {
    display: inline-block;
    clear: both;
    padding: 2px 4px;
    background-color: #666666;
    border: 1px solid #777777;
    border-left: 4px solid #80B84F;
    color: #EEEEEE;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-bottom: 2px;
}

select,
textarea,
input {
    border: 1px solid #a2aeba;
    background-color: #e3e5f2;
    vertical-align: middle;
    border-radius: 0;
    transition: all 200ms;
    font-size: 0.9rem;
}

select[disabled],
textarea[disabled],
input[disabled] {
    background-color: #EEEEEE;
    border-color: #DDDDDD;
    color: #AAAAAA;
}

input, select, textarea {
    padding: 0.40em;
}

textarea:focus,
input:focus {
    border: 1px solid #78899a;
    background-color: #F4F4F4;
}

textarea {
    width: 98%;
    height: 100px;
    max-width: 30rem;
}

input[type=number] {
    line-height: 1rem;
}

* {
    font-family: Verdana, sans-serif;
    font-size: 1em;
}

a:focus {
    outline: none;
}

img {
    border-width: 0;
}

.hidden {
    display: none;
}

.clickable {
    cursor: pointer;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

#result {
    display: block;
    clear: both;
}

.inline-block {
    display: inline-block;
}

.portal-button {
    padding: 2px 3px;
    text-decoration: none !important;
    cursor: pointer;
    position: relative;
    border: 1px solid #AAAAAA;
    background: #C5C5C5 url('/gfx/portal-button-background.png') 50% 50% repeat-x;
    font-weight: normal;
    color: #222222;
    line-height: normal;
}

.portal-button:hover {
    border: 1px solid #CCCCCC;
    background: #DADADA url('/gfx/portal-button-background-hover.png') 50% 50% repeat-x;
    color: #222222;
}

.portal-button[disabled] {
    border: 1px solid #DDDDDD;
    background: #AAAAAA url('/gfx/portal-button-background-hover.png') 50% 50% repeat-x;
    color: #BBBBBB;
    cursor: default;
}

.portal-button > div {
    padding: 2px 7px;
    background-repeat: no-repeat;
    text-align: center;
}

.portal-button.portal-button-icon-left > div {
    background-position: center left;
    padding-left: 20px;
}

.portal-button.portal-button-icon-center > div {
    background-position: center center;
}

.portal-button.portal-button-icon-right > div {
    background-position: center right;
    padding-right: 20px;
}

.ajax-loading {
    background: url('/gfx/ajax-loader.gif') no-repeat center center;
}

#overlay-close {
    background: url('/gfx/close-overlay.png') no-repeat center center;
    width: 23px;
    height: 24px;
    cursor: pointer;
    float: right;
    position: relative;
    top: -15px;
    left: 18px;
}

.ui-dialog .ui-dialog-buttonpane button {
    margin: 3px !important;
}

.ui-button-text-only .ui-button-text {
    padding: 1px !important;
}

div.clear {
    clear: both;
}

input.date {
    width: 79px;
}

input.time {
    width: 41px;
}

label, .label-spacer {
    display: inline-block;
    width: 140px;
    vertical-align: top;
    font-weight: bold;
    margin: 0 2px;
    padding: 2px;
    font-size: 0.9rem;
}

label.no_style {
    display: inline !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    vertical-align: bottom !important;
}

label {
    border-bottom: 1px solid #F4F4F4;
}

label, .menu * {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                        supported by Chrome and Opera */
}

.hidden.form.toggler {
    display: none;
}

#request-form-container .radio-list label {
    width: auto !important;
}

.platform-iis,
.platform-apache,
form[id^="request"] label,
label.wide {
    width: 250px !important;
}

form dd,
form dt {
    display: inline-block;
    float: left;
}

form dd + dt {
    clear: left;
}

label + div {
    display: inline-block;
}

.label-spacer {
    border-width: 0 !important;
}

.label-auto-width {
    width: auto;
}

.left-pad {
    padding-left: 262px;
}

/*
 * form styling
 */

form {
    margin-bottom: 10px;
}

form * input.error, form * textarea.error {
    border: 2px solid #E72626;
}

.datepicker-special-day {
    background-color: #FF8040;
    border: 1px solid;
}

div.checkbox > div > span {
    line-height: 22px;
}

hr {
    height: 1px;
    background-color: #EEEEEE;
    margin: 2px auto;
    clear: both;
}

.checkbox {
    clear: both;
}

#custom-dialog-header {
    height: 24px;
    line-height: 24px;
    padding-left: 4px;
    font-weight: bold;
    position: relative;
    background-color: #2C5590;
    color: #FFFFFF;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    z-index: 2000;
    margin-right: -1px;
}

#custom-dialog-footer {
    height: 24px;
    line-height: 24px;
    vertical-align: middle;
    background-color: #DDDDDD;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 2px;
    text-align: center;
    margin-right: 0;
    margin-bottom: -1px;
}

#custom-dialog-footer button {
    margin: 0 2px;
}

#custom-dialog-close {
    position: absolute;
    background: url('/gfx/icons/cross.png') no-repeat center center;
    width: 23px;
    height: 24px;
    cursor: pointer;
    top: 0;
    right: 1px;
}

#custom-dialog-inner {
    text-align: left;
    vertical-align: top;
    position: relative;
    padding: 4px;
}

#custom-dialog-outer {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 1px;
}

a[href].underline {
    text-decoration: underline;
}

a[href].underline:hover {
    text-decoration: none;
}

div.org-switch {
    margin: 5px;
    font-size: 1.05em;
}

div.org-switch > h3 {
    background: #00234B;
    color: #FFFFFF;
    border: 1px solid #3B618C;
    padding: 2px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

div.org-switch > div {
    line-height: 1.4em;
    padding: 2px;
}

.org-name {
    padding-left: 22px !important;
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #CCCCCC;
}

.org-active {
    font-weight: bold;
    color: #000000;
    background: #EAEAEA url('/gfx/icons/accept.png') no-repeat 2px center;
}

.org-inactive {
    background: #FAFAFA url('/gfx/icons/bullet_white.png') no-repeat 2px center;
}

.org-inactive:hover {
    color: #FFFFFF;
    cursor: pointer;
    background: #73B1E0 url('/gfx/icons/tick.png') no-repeat 2px center;
}

section.listing,
div.information, p {
    background-color: #FFFFFF;
}

section.listing,
div.information,
p {
    font-size: 1.2rem;
    /*margin-bottom: 1rem;*/
    line-height: 1.7rem;
}

div.information {
    box-shadow: 1px 1px 4px rgba(70, 70, 79, 0.2);
    padding: 0.5rem;
}

p {
    padding: 1rem;
}

select.custom {
    height: 24px;
    cursor: pointer;
    padding: 2px 1px 1px;
}

select.custom option {
    padding: 2px 4px 4px 2px;
}

table.contact-info {
    border-collapse: collapse;
}

table.contact-info td {
    padding: 2px 4px;
}

div.wiki.authorization table tbody {
}

div.wiki.authorization table tbody tr td {
    border: 1px solid;
    padding: 5px;
}

div#loading-div {
    position: absolute;
    background: #888888 url('/gfx/ajax-loader.gif') 50% 50% no-repeat;
    border: 1px solid #777777;
    opacity: 0.3;
    z-index: 4999;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
}

div.information-dark {
    font-size: 1.2em;
    padding: 4px 6px;
    background-color: #00234B;
    border: 1px solid #00153A;
    color: #EEEEEE;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    margin: 4px 0;
}

.clearboth {
    clear: both;
}

fieldset {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #C0C0C0;
    clear: both;
    padding: 2px 4px 6px 4px;
}

.ui-tooltip {
    -moz-border-radius: 2px !important;
    border-radius: 2px !important;
    -webkit-border-radius: 2px !important;
    border: 1px solid #777777 !important;
    padding: 2px !important;
    -webkit-box-shadow: 1px 1px 1px 1px rgba(50, 50, 50, 0.30) !important;
    -moz-box-shadow: 1px 1px 1px 1px rgba(50, 50, 50, 0.30) !important;
    box-shadow: 1px 1px 1px 1px rgba(50, 50, 50, 0.30) !important;
}

.ui-tooltip-content {
    font-weight: bold;
    color: #444444;
}

button.big-button, a.big-button {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 4px;
    text-shadow: 1px 1px 1px rgba(100, 100, 100, 0.1);
    color: #FFFFFF;
    background: #00234B;
    min-width: 260px;
    min-height: 60px;
    vertical-align: middle;
    text-align: center;
    line-height: 25px;
    transition: all 200ms;
    font-weight: bold;
    box-shadow: 2px 2px 4px rgba(70, 70, 79, 0.3);
    border: none;
}

button.big-button.disabled, a.big-button.disabled {
    opacity: 0.65;
}

button.big-button:hover, a.big-button:hover {
    background: #7AABDE none;
    text-decoration: none;
}

button.big-button span.head, a.big-button span.head {
    font-size: 1.5em;
    padding: 2px 0;
    margin-bottom: 4px;
    max-width: 20rem;
    display: inline-block;
    font-weight: bold;
}

div.lightbox-images a img {
    border: 1px solid #000000;
    margin: 2px;
    height: 134px;
}

div.lightbox-images a {
}

div.lightbox-images a:hover {
    text-decoration: none;
}

p a {
    text-decoration: underline;
}

a.video {
    cursor: pointer;
}

a.video img {
    border: 1px solid #444444;
}

a.mail {
    text-decoration: underline;
}

div.video {
    position: relative;
    margin-bottom: 2px;
}

div.video-button {
    background-position: left center;
    cursor: pointer;
    display: inline-block;
    height: 18px;
    line-height: 18px;
    padding-left: 20px;
    text-decoration: underline;
    margin-right: 4px;
}

div.video-play {
    background: url('/gfx/icons/control_play.png') no-repeat;
}

div.video-download {
    background: url('/gfx/icons/film_save.png') no-repeat;
}

div.video-info {
    width: 40%;
    display: block;
}

.selection-button {
    padding: 0.5em;
    border: 1px solid #ceeaf7;
    background: #86b3e6;
    background: linear-gradient(to bottom, #86b3e6 0%, #5eb2da 100%);
    color: #FFFFFF;
    display: inline-block;
    cursor: pointer;
    border-radius: 2px;
    box-shadow: inset 1px 1px 1px rgba(50, 50, 50, 0.1);
    font-weight: bold;
    font-size: 0.9em;
}

.selection-button:hover {
    background: #888888;
}

label.radio_button {
    display: inline !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    vertical-align: bottom !important;
    font-weight: normal;
}

.center {
    text-align: center;
}

.marketing section dl dt {
    padding-top: 2em;
}

.marketing .top {
    padding-top: 0;
}

@media only screen and (max-width: 40rem) {
    /* when the fixed footer's text no longer fits one line, increase */
    #pagewrapper {
        padding-bottom: 5rem;
    }
}

@media only screen and (max-width: 1000px) {
    .desktop {
        display: none;
    }

    #head-info {
        left: 136px;
        text-align: center;
        line-height: 3rem;
        height: 3rem;
    }

    #pagewrapper {
        max-width: 100vw !important;
    }

    #content {
        min-height: auto !important;
    }

    #header {
        height: 5.4rem !important;
    }

    #header-image {
        height: 70px;
    }

    #footer {
        margin-bottom: auto !important;
        margin-top: auto !important;
    }

    #header-title {
        line-height: 2rem;
        font-size: 1.4rem !important;
        padding-top: 3.2rem;
        padding-left: 136px;
        height: 2rem;
    }

    #inner-content {
        padding: 0 !important;
    }

    html, body {
        /*font-size: 0.8em !important;*/
    }

    #header-logo {
        height: 30px;
        width: 60px;
        top: 20px;
        left: 58px;
    }

    input[type=checkbox] {
        height: 18px;
        width: 18px;
    }

    .overlay-content {
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: 90px !important;
        width: auto !important;
        height: auto !important;
    }
}

@media only screen and (min-width: 1000px) {
    .mobile {
        display: none;
    }

    #header-logo {
        height: 40px;
        width: 79px;
        top: 6px;
        left: 28px;
    }

    #header.small, #header.small > div {
        height: 2.5rem;
        line-height: 2.5rem;
    }

    #header.small #header-logo {
        height: 25px;
        width: 50px;
        top: 4px;
        left: 18px;
    }

    #header.small #header-title {
        font-size: 1.8em;
    }

    #header-image {
        height: 100px;
    }

    #header-title {
        line-height: 4rem;
        height: 100%;
    }

    input[type=checkbox] {
        height: 16px;
        width: 16px;
    }
}

a.button_graph {
    background: #7AABDE;
    padding: 2px 4px 2px 20px;
    font-weight: bold;
    font-size: 1.1em;
    display: inline-block;
    color: #FFFFFF;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    position: relative;
    transition: color 150ms;
}

a.button_graph::before {
    text-align: center;
    font-size: 12px;
    position: absolute;
    left: 4px;
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    color: #FFFFFF;
    font-weight: 600;
    content: '\f201';
    margin-right: 4px;
    transition: color 150ms;
}

a.button_graph:hover {
    color: #555555;
    text-decoration: none;
}

a.button_graph:hover:before {
    color: #555555;
}

.content-data a i {
    background-color: #FFFFFF;
    color: #7AABDE;
}
