h1, h2, h3, h4, h5 {
    color: #00638d !important;
}

h1{
    margin-top: 0.5em;
}

@media (max-width: 767px) {
    .large-only{
        display: none;
    }

    .footer-col {
        margin-top: 2em;
        line-height: 1.4em;
        font-size: 0.9em;
        color: #EEEEEE;
    }
}

@media (min-width: 768px) {
    .small-only{
        display: none;
    }

    .small-and-xss {
        display: none;
    }
}

.xss-only {
    display: none;
}

@media (max-width: 576px) {
    .xss-only {
        display: inline;
    }

    .small-only{
        display: none;
    }
}


.brain-banner {
    width: 100%;
    height: 25em;
    background: #00638d no-repeat center;
    background-size: auto 100%;

    margin-bottom: 2em;
}

.footer-col > a{
    color: #28c1ea;
}

.footer-background {
    margin-top: 3em;
    padding-top: 2em;
    padding-bottom: 3em;
    width: 100%;
    min-height: 10em;
    color: white;
    background-color: #00638d;
}



/* ### NAVIGATION ### */

#nav-background {
     position: fixed;
     top: 63;
     left: 0;
     width: 100%;
     height: 100vh;
     overflow: hidden;
     background-color: rgba(0,0,0,0.5);
     z-index: 100;
     display: none;
}

#nav-menu{
    background-color: #00638d;
}

/** small only **/
@media (max-width: 767px) {

    #nav-background.show {
        display: inline;
    }

    #nav-menu.show {
        background-color: #00638d;
        position: fixed;
        display: block;
        right: 0;
        top: 63px;
        width: 60%;
        height: 100%;
        z-index: 1000;
        margin: 0;
        overflow-y: auto;
    }

    #nav-menu.show > .nav-element {
        font-weight: bold;
        padding: 0;
        border-bottom: 1px solid dimgrey;
    }

    #nav-menu.show > .nav-element > .nav-dropdown {
        display: block;
        position: static;
        font-weight: 100;
    }

    #nav-menu.show > .nav-element > .nav-dropdown > .nav-dropdown-option {
        display: block;
        position: static;
        border-bottom: 1px solid dimgrey;
    }

    .nav-element:last-of-type::after{
        content: " ";
        /*height: 5em;*/
        display: block;
        border-color: green;
    }

}

@media (min-width: 768px) {
    .nav{
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
    }
}

.nav-element{
    text-align: center;
}

.nav-element > a {
    width: 100%;
    display: block;
    padding: 0.75em 0;
}

.nav-element > a:link{
    color: white;
    text-decoration: none;
}

.nav-element > a:visited{
    color: white;
    text-decoration: none;
}

.nav-element > a:hover{
    text-decoration: none;
    color: #00638d;
}

.nav-element:hover{
    background-color: gainsboro;
}

.nav-dropdown{
    z-index: 1000;
    position: absolute;
    top: 3em;
    left: 0;
    width: 100%;
    /*background-color: rgba(0,16,32,0.8); !*#001020*!*/
    background-color: rgba(0, 99, 141, 0.8); /*#001020*/
    border-bottom: 1px solid grey;
    border-left: 1px solid grey;
    border-right: 1px solid grey;
    display: none;
}

.nav-element:hover .nav-dropdown{
    display: inline;
}

.nav-dropdown-option > a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 1em 0;
    text-decoration: none;
    color: white;
}

.nav-dropdown-option:hover{
    color: black;
    /*background-color: rgba(255,255,255,0.8);*/
    background-color: white;
}

.nav-dropdown-option:hover a:hover{
    color: #00638d;
    text-decoration: none;
}

#nav-menu-button{
    cursor: pointer;
}

#nav-close-button{
    cursor: pointer;
}

/* ### OTHER ### */

/* Selects the container, that is placed immediately after header-container */
.header-container + .container {
    margin-top: 2em;
}

.main-content {
    min-height: calc(100vh - 20rem);
}

.img-logo-frame{
    /*width: calc(25% - 2em);*/
    width: 100%;
    padding:0.5em;
    border: 1px solid grey;
    /*margin: 0.25em;*/
    vertical-align: middle;
    display: flex;
    height: 300px;
}

.img-logo-frame > img {
    display: block;
    margin: auto;
    vertical-align: middle;
}

/* ### Upload Button ### */
.upload-button-container{
    text-align: center;
    margin: 1em auto;
    display: block;
    width: 30%;
    min-width: 16em;
    max-width: 40em;
}

.upload-button-container a{
    text-decoration: none;
}

.upload-button-container > a > div{
    width: 100%;
    background-color: #001020;
    padding: 1em;
    color: white;
    border-radius: 3px;
    border: 1px solid transparent;
}

.upload-button-container > a:hover > div{
    background-color: white;
    border: 1px solid grey;
    color: black;
    border-radius: 3px;
}

/* ### UTILS ### */

span.no-wrap{
    white-space: nowrap;
    -moz-white-space: nowrap;
}

label {
    display: inline-block;
    width: 10rem;
}

input {
    padding: 0.1rem 0.2rem;
    border: 1px solid #001020;
}

textarea {
    padding: 0.1rem 0.2rem;
    border: 1px solid #001020;
}

.form-group {
    margin: 0.5rem auto;
}

.form-group.mail {
    display: none;
}

.button {
    color: white;
    text-decoration: none;
    background-color: #00638d;
    padding: 0.5rem 0.5rem;
    border: 1px solid #001020;
    cursor: pointer;
}

.button:hover {
    color: #00638d;
    text-decoration: none;
    background-color: gainsboro;
    padding: 0.5rem 0.5rem;
    border: 1px solid #001020;
    cursor: pointer;
}