/* IBM Plex webfonts */

@font-face {
    font-display: swap;
    font-family: "IBM Plex Sans";
    font-weight: 300;
    font-feature-settings: 'ss02';  /* single-storey g */
    src: url("../fonts/IBMPlexSans-Light.woff2") format("woff2"), url("../fonts/IBMPlexSans-Light.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "IBM Plex Sans";
    font-weight: 400;
    font-feature-settings: 'ss02';  /* single-storey g */
    src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2"), url("../fonts/IBMPlexSans-Regular.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "IBM Plex Sans";
    font-weight: 500;
    font-feature-settings: 'ss02';  /* single-storey g */
    src: url("../fonts/IBMPlexSans-Medium.woff2") format("woff2"), url("../fonts/IBMPlexSans-Medium.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "IBM Plex Sans";
    font-weight: 600;
    font-feature-settings: 'ss02';  /* single-storey g */
    src: url("../fonts/IBMPlexSans-Bold.woff2") format("woff2"), url("../fonts/IBMPlexSans-Bold.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "IBM Plex Sans";
    font-weight: 300;
    font-style: italic;
    font-feature-settings: 'ss02';  /* single-storey g */
    src: url("../fonts/IBMPlexSans-LightItalic.woff2") format("woff2"), url("../fonts/IBMPlexSans-LightItalic.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "IBM Plex Sans";
    font-weight: 400;
    font-style: italic;
    font-feature-settings: 'ss02';  /* single-storey g */
    src: url("../fonts/IBMPlexSans-Italic.woff2") format("woff2"), url("../fonts/IBMPlexSans-Italic.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "IBM Plex Sans";
    font-weight: 500;
    font-style: italic;
    font-feature-settings: 'ss02';  /* single-storey g */
    src: url("../fonts/IBMPlexSans-MediumItalic.woff2") format("woff2"), url("../fonts/IBMPlexSans-MediumItalic.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "IBM Plex Sans";
    font-weight: 600;
    font-style: italic;
    font-feature-settings: 'ss02';  /* single-storey g */
    src: url("../fonts/IBMPlexSans-BoldItalic.woff2") format("woff2"), url("../fonts/IBMPlexSans-BoldItalic.woff") format("woff");
}


/* Basic formatting */

* {
    margin:  0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: "IBM Plex Sans", sans-serif !important;
}

.wrapper {
    position:   relative;
    min-height: 100%;
}

ol.special {
    position:        relative;
    counter-reset:   section;
    list-style-type: none;
    padding-left:    2rem;
}

ol.special > li::before {
    position:          absolute;
    left:              0;
    counter-increment: section;
    content:           " (" counters(section, ".") ")  ";
}

.panel-title {
    color: black;
}

.card-header:hover .panel-title{
    color: white;
}

.container-content {
    padding-top:    40px;
    min-height:     100%;
    max-width:      1140px;
    margin:         0 auto;
    padding-bottom: 113px;
    padding-left:   1.25em;
    padding-right:  1.25em;
}

p {
    margin: 0 0 15px;
}

a {
    color:           #2683af;
    text-decoration: none;
}

.index a:hover {
    color:           #fff;
    opacity:         1;
    border-bottom:   1px solid white;
    text-decoration: none;
}

.nav-link {
    font-size: 25px;
}

.navbar-nav > li {
    margin-left:  30px;
    margin-right: 30px;
}

.page-header {
    text-align:      center;
    position:        relative;
    height:          300px;
    background:      #abe8c7 url("../images/gps-header.png") no-repeat center;
    background-size: contain;
}

.page-header h1 {
    color:       #2683af;
    font-weight: normal;
    font-size:   60px;
    position:    absolute;
    width:       100%;
    height:      100%;
    top:         35%;
}

.page-header .undertitle {
    color:       #333;
    font-weight: normal;
    font-size:   0.5em;
}

.headerLogo {
    text-align:   left;
    padding-top:  0;
    padding-left: 0;
}

.headerLogo img {
    padding-top:  10px;
    padding-left: 5px;
}

.currentPage {
    border-bottom: 1px solid white;
}

@media only screen and (max-width: 809px) {
    .page-header h1 {
        font-size: 50px;
    }

    .page-header h2 {
        font-size: 30px;
    }

    .headerLogo img {
    }
}

@media only screen and (max-width: 767px) {
    .page-header h1 {
        font-size: 22px;
    }

    .page-header h2 {
        font-size: 20px;
    }

    .page-header {
        height: 100px;
    }

    .footer {
        height: 120px;
    }

    .footer img {
        display:      block;
        margin-left:  auto;
        margin-right: auto;
        width:        150px;
        height:       80px;
    }

    .footer .text {
        text-align: center;
        font-size:  12px;
    }

    .element-teaser-s h3 {
        font-size: 18px;
    }

    .container h2 {
        font-size: 20px;
    }

    .container p {
        font-size: 17px;
    }

    .headerLogo img {
        width:  60px;
        height: 50px;
    }

}

.btn-primary {
    background-color: #2683af;
}

.custom-control-input:checked .custom-control-indicator {
    color:            #fff;
    background-color: #2683af;
}

.text-muted {
    color: #ababab;
}

.footer .text {
    margin: auto 0;
}

.footer a {
    color: #fff;
}

.footer a:hover {
    color: #fff;
}

.footer {
    position:         absolute;
    right:            0;
    bottom:           0;
    left:             0;
    padding-left:     1rem;
    padding-right:    1rem;
    background-color: #243650;
    color:            white;
}

.element-teaser-s {
    border:        4px solid #2683af;
    display:       block;
    height:        0;
    margin-bottom: 15px;
    padding:       calc(50% - 4px);
    position:      relative;
}

.element-teaser-s:hover {
    background: #2683af;
}

.element-teaser-s .element-background {
    position: absolute;
    top:      0;
    left:     0;
    width:    100%;
    height:   100%;
}

.element-teaser-s .element-background .teaser-s-content {
    padding: calc(5%);
}

.element-teaser-s h3 {
    font-weight: normal;
    color:       #2683af;
}

.element-teaser-s:hover h3 {
    font-weight: normal;
    color:       #fff;
}

.element-background .link-icon {
    color:          #2683af;
    height:         40px;
    position:       absolute;
    bottom:         0;
    right:          0;
    width:          40px;
    padding-right:  10px;
    padding-bottom: 10px;
    visibility:     visible;
}

.element-background .hover-icon {
    color:          #2683af;
    height:         40px;
    position:       absolute;
    bottom:         0;
    right:          0;
    width:          40px;
    padding-right:  10px;
    padding-bottom: 10px;
    visibility:     hidden;
}

.element-background:hover .hover-icon {
    visibility: visible;
}

.card-header:hover {
    background-color: #2683af;
    color:            white;
}

.card .accordion-toggle {
    text-decoration: none;
}

#cookiebar {
    display: none;
}

#cookie-bar {
    background:  #e6e6e6;
    height:      auto;
    line-height: 18px;
    color:       #000;
    text-align:  justify;
    padding:     25px 0;
    font-size:   13px; }

#cookie-bar.fixed {
    position: fixed;
    top:      0;
    left:     0;
    width:    100%;
    z-index:  2000; }

#cookie-bar.fixed.bottom {
    bottom: 0;
    top:    auto; }

#cookie-bar p {
    margin:  0;
    padding: 0; }

#cookie-bar a {
    color:   #0050a1;
    display: inline-block;
    margin:  0;
    padding: 0; }

#cookie-bar a:hover {
    color: #f13832; }

#cookie-bar .cb-enable {
    background:      #333;
    border:          4px solid #333;
    color:           #e6e6e6;
    font-size:       15px;
    padding:         8px 20px;
    font-weight:     bold;
    text-decoration: none;
    display:         inline-block;
    float:           right; }

#cookie-bar .cb-enable:hover {
    background: #e6e6e6;
    color:      #333; }

@media (max-width: 767px) {
    #cookie-bar .cb-enable {
        float:      none;
        margin-top: 25px; }
}

#cookie-bar .cb-disable {
    background: #900; }

#cookie-bar .cb-disable:hover {
    background: #b00; }

#cookie-bar .cb-policy {
    background: #03b; }

#cookie-bar .cb-policy:hover {
    background: #05d; }
