/**
dunkelblau: rgb(0,65,124)
**/

body {
    position: relative;
    min-height: 100vh;
    padding-bottom: 18rem;
    color: #575757;
    font-size: 15px;
    font-family: 'Istok Web', sans-serif;
}

@media screen and (max-width: 767px){
    body {
        padding-bottom: 26rem;
    }
}

a {
    color: rgb(0,65,124);
}

hr {
    border-top: 1px solid #aaa;
}

.image-embed-item {
    max-width: 100%;
    height: auto;
}

.page-wrapper {
    min-height: 100vh;
    overflow: hidden;
}

.content-wrapper.home {
    background-color: #f4f4f4;
}

#main-content > div > div {
    padding-bottom: 30px;
}

.home #main-content div.row {
    margin-right: -30px;
    margin-left: -30px;
}

.home #main-content div[class^="col-"] {
    padding-right: 30px;
    padding-left: 30px;
}


/** UTILITY **/
.no-break {
    white-space: nowrap;
}

/** HEADINGS **/
.heading-default,
.heading-type-1 {
    margin: 0 0 15px;
    padding-top: 10px;
    font-family: 'AlteDIN1451MittelschriftRegular', serif;
    font-size: 28px;
    color: rgb(0,65,124);
    border-top: 1px solid #aaa;
}

.heading-type-2 {
    margin: 0 0 15px;
    font-family: 'AlteDIN1451MittelschriftRegular', serif;
    font-size: 45px;
    color: rgb(114,114,114);
}

.heading-type-3 {
    margin: 0 0 15px;
    padding-top: 15px;
    font-size: 15px;
    font-weight: bold;
    color: rgb(0,65,124);
    text-transform: uppercase;
    border-top: 1px solid #aaa;
}

.heading-type-4 {
    margin: 0 0 15px;
    font-size: 15px;
    font-weight: bold;
    color: rgb(0,65,124);
    text-transform: uppercase;
}

.heading-type-5 {
    margin: 0 0 15px;
    padding-top: 15px;
    font-size: 15px;
    font-weight: bold;
    color: #575757;
    text-transform: uppercase;
    border-top: 1px solid #aaa;
}

.heading-type-6 {
    margin: 0 0 15px;
    font-family: 'AlteDIN1451MittelschriftRegular', serif;
    font-size: 65px;
    color: rgb(114,114,114);
}

/** NAVBAR **/
.navbar {
    margin: 0;
    padding: 10px 0 20px;
    border: none;
    font-family: 'AlteDIN1451MittelschriftRegular', serif;
}

@media screen and (max-width: 767px) {
    .navbabr {
        width: 100%;
    }
}

.navbar-header {
    width: 100%;
    float: none;
}

.navbar-header .navbar-text {
    float: right;
    margin: 20px 0 0 0;
    color: rgb(0,65,124);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-header .navbar-text img {
    margin-right: 10px;
    vertical-align: middle;
}

.home-link {
    display: inline-block;
    margin-top: 25px;
    margin-left: 25px;
}

.home-link > img {
    max-width: 100px;
}

@media screen and (min-width: 768px) {
    .home-link > img {
        max-width: 150px;
    }
}

@media screen and (min-width: 1200px) {
    .home-link > img {
        max-width: 175px;
    }
}

.additional-header-logo {
    display: inline-block;
    margin-top: 20px;
    margin-left: 16px;
}

.additional-header-logo > img {
    max-width: 100px;
}

@media screen and (min-width: 768px) {
    .additional-header-logo {
        float: right;
        margin-left: 25px;
    }

    .additional-header-logo > img {
        max-width: 150px;
    }
}

@media screen and (min-width: 1540px) {
    .additional-header-logo {
        margin-left: 0;
        margin-right: -175px;
    }
}

.navbar-collapse {
    width: 100%;
    padding: 0;
    border: none;
    font-size: 18px;
}

@media screen and (max-width: 767px) {
    .navbar-collapse {
        margin-top: 15px;
        padding: 20px 25px;
        background: #f4f4f4;
    }
}

.navbar-nav  {
    float: right;
}

@media screen and (max-width: 990px) {
    .navbar-nav {
        margin-top: 15px;
    }
}

@media screen and (max-width: 767px) {
    .navbar-nav {
        width: 100%;
        margin: 0;
    }

    .navbar-nav > li {
        margin-right: 25px;
    }
}

.navbar-nav > li > a {
    padding-top: 0;
    padding-bottom: 0;
    color: #777;
}

@media screen and (max-width: 1199px) {
    .navbar-nav > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media screen and (max-width: 990px) {
    .navbar-nav > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media screen and (max-width: 767px) {
    .navbar-nav > li > a {
        padding: 5px 0;
    }
}

.navbar-nav > li > a:before {
    content: '/';
    padding-right: 5px;
}

@media screen and (max-width: 767px) {
    .navbar-nav > li > a:before {
       display: none;
    }
}

.navbar-nav > li.active > a {
    color: rgb(0,65,124);
}

#langselector {
    display: inline;
    float: right;
    margin: 0;
    line-height: 20px;
    list-style-type: none;
}


@media screen and (max-width: 990px) {
    #langselector {
        margin-top: 10px;
        margin-right: 10px;
    }
}

@media screen and (max-width: 767px) {
    #langselector {
        margin-top: 0;
    }
}

#langselector li {
    display: inline;
    list-style-type: none;
    margin-right: 5px;
}

#langselector li:last-child {
    margin-right: 0;
}

#langselector li a {
    color: #777;
}

#langselector li.active a {
    color: rgb(0,65,124);
}

#langselector li a:before {
    content: '/';
    display:inline-block;
    padding-right: 5px;
}

#langselector li:first-child a:before {
    content: '';
}

#langselector li a:hover,
#langselector li a:focus,
#langselector li a:active {
    text-decoration: none;
    color: rgb(0,65,124);
}

.navbar-nav > li.dropdown {
    padding-bottom: 25px;
    margin-bottom: -25px;
}

@media screen and (max-width: 990px) {
    .navbar-nav > li.dropdown {
        padding-bottom: 20px;
        margin-bottom: -20px;
    }
}

.navbar .navbar-toggle {
    margin: -5px 0 0 0;
    padding: 0;
    background-color: transparent;
    color: grey;
    font-size: 36px;
    border: none;
    line-height: 36px;
}

@media screen and (max-width: 767px) {
    .navbar .navbar-toggle {
        margin: 25px;
    }
}

.navbar .navbar-toggle:active,
.navbar .navbar-toggle:focus,
.navbar .navbar-toggle:hover {
    background: transparent;
    color: #efefef; /*rgb(0, 141, 178);*/
}


/** DROPDOWN MENU **/
.navbar-nav > li > a:focus,
.navbar-nav > li > a:hover,
.navbar-nav > li.open > a,
.navbar-nav > li.open > a:focus,
.navbar-nav > li.open > a:hover {
    background-color: transparent;
}

.navbar-nav > li:last-child > .dropdown-menu {
    left: auto;
    right: -15px;
}

.navbar-nav > li > .dropdown-menu {
    left: -20px;
    min-width: 400px;
    margin-top: -5px !important;
    padding: 15px 35px 25px 35px;
    background-color: rgba(0,65,124,.9);
    border: none;
    border-radius: 0;
    box-shadow: none;
}

@media screen and (max-width: 990px) {
    .navbar-nav > li > .dropdown-menu {
        min-width: 350px;
        margin-top: -1px !important;
    }
}

@media screen and (max-width: 767px) {
    .navbar-nav .dropdown.open > .dropdown-menu {
        min-width: 0;
        padding-left: 0;
        padding: 5px 0;
        margin: 5px 0;
        border-top: 1px solid #aaa;
        border-bottom: 1px solid #aaa;
    }
}

.navbar-nav a.nav-link:hover,
.navbar-nav a.dropdown-toggle:hover,
.navbar-nav a.dropdown-toggle:active,
.navbar-nav a.dropdown-toggle:focus {
    color: rgb(0,65,124);
}

.navbar-nav > li > .dropdown-menu .menu-caret {
    position: absolute;
    top: -9px;
    left: 40px;
    height: 18px;
    width: 18px;
    transform: rotate(-45deg);
    background-color: rgb(255,255,255);
    z-index: 1;
}

@media screen and (max-width: 767px) {
    .navbar-nav > li > .dropdown-menu .menu-caret {
        display: none;
    }
}

.dropdown-menu > li {
    border-bottom: 1px solid rgba(255,255,255,.65);
}

@media screen and (max-width: 767px) {
    .dropdown-menu > li {
        border-bottom: none;
    }
}

.dropdown-menu > li > a {
    font-size: 17px;
    color: rgb(255, 255, 255);
    padding: 5px 0;
}

@media screen and (max-width: 767px) {
    .dropdown-menu > li > a {
        color: #777;
    }
}

.dropdown-menu > li > a.nav-link:focus,
.dropdown-menu > li > a.nav-link:hover {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.dropdown-menu > .nav-item > a.nav-link {
    background-color: transparent;
}

@media screen and (max-width: 767px) {
    .dropdown-menu > .nav-item > a.nav-link {
        padding-left: 10px !important;
    }
}

.dropdown-menu > .nav-item > a.nav-link:focus,
.dropdown-menu > .nav-item > a.nav-link:hover,
.dropdown-menu > .nav-item > a.nav-link:active {
    color: #5ba5ce;
}

.dropdown-menu li.active > a {
    color: #5ba5ce;
}

.navbar-header  .navbar-toggle {
    margin: 35px;
    color: #777
}

.navbar-header  .navbar-toggle:hover,
.navbar-header  .navbar-toggle:focus,
.navbar-header  .navbar-toggle:active {
    color: rgb(0,65,124);
}


/** HEADER IMAGE **/
.header-image-wrapper {
    height: 33vw; //575px;
    padding: 0;
    margin-bottom: 75px;
}

.header-image-outer {
    position: relative;
    display: block;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
}

.header-image {
    position: absolute;
    left: 50%;
    top: 50%;
    height: auto;
    width: 100%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.cropped-image img.portrait {
    width: auto;
    height: 100%;
}

.header-image-wrapper .header-caption {
    position: absolute;
    color: #333333;
    background-color: rgba(255, 255, 255, .6);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 15px;
    text-align: left;
}

.header-image-wrapper .header-caption p {
    display: inline-block;
    margin: 0;
    font-size: 15px;
    text-shadow: none;
}

.header-image-wrapper .header-caption p+p:before {
    content: "\2013";
    margin-left: 10px;
    margin-right: 10px;
}


/** CAROUSEL **/
.carousel {
    margin-bottom: 75px;
}

@media (max-width: 990px) {
    .carousel  {
        //margin-bottom: 50px;
    }
}

@media (max-width: 767px) {
    .carousel  {
        margin-bottom: 50px;
    }
}

.carousel .carousel-overlay {
    position: absolute;
    top: 0;
    right: 0;
    height: 42vw;
    width: 100%;
    overflow: hidden;
}

.carousel .carousel-overlay img {
    position: absolute;
    top: 50%;
    right: 0;
    width: 100%;
    height: auto;
    transform: translateY(-50%);
    z-index: 99;
}

.carousel .carousel-inner {
    height: 42vw;
    width: 100%;
}

.carousel.carousel-small .carousel-inner {
    height: 33vw;
}

.carousel .carousel-inner .item {
    height: 100%;
    overflow: hidden;
}

.carousel .carousel-inner .item img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: auto;
    width: 100%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

/*.carousel .carousel-caption {
    color: rgb(146, 146, 146);
    background-color: rgba(0,0,0,.86);
    left: 0;
    right: auto;
    top: 15%;
    bottom: auto;
    padding: 20px 40px 40px 30px;
    text-align: left;
    opacity: 0;
}

.carousel .item.active .carousel-caption {
    left: 25%;
    opacity: 1;
    transition: left .85s, opacity .5s;
    transition-timing-function: ease-out;
}*/

/* Ken-Burns Filter */
.carousel .item .filter-wrapper {
    height: 100%;
    -webkit-transition: all 12s;
    -moz-transition: all 12s;
    -o-transition: all 12s;
    transition: all 12s;
    transform-origin: 60% 50%;
}

.carousel-animate .item:nth-child(2n) .filter-wrapper {
    transform-origin: 30% 50%;
}

.carousel-animate .item:nth-child(3n) .filter-wrapper {
    transform-origin: 50% 40%;
}

.carousel .item .filter-wrapper,
.carousel .item.active.inactiveUntilOnLoad .filter-wrapper {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.carousel-animate .item.active .filter-wrapper {
    -webkit-transform: scale(1.25) translate(-5%,8%);
    -moz-transform: scale(1.25) translate(-5%,8%);
    -o-transform: scale(1.25) translate(-5%,8%);
    -ms-transform: scale(1.25) translate(-5%,8%);
    transform: scale(1.25) translate(-5%,8%);
}

/* Fade Transition */
.carousel .carousel-inner {
    background: #000;
}

.carousel .item {
    opacity: 0;
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
}

.carousel .next.left,
.carousel .prev.right,
.carousel .item.active {
    opacity: 1;
}

.carousel .active.left,
.carousel .active.right {
    left: 0;
    opacity: 0;
    z-index: 1;
}

/* Safari Fix */
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel .carousel-inner > .item.next,
    .carousel .carousel-inner > .item.active.right {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    .carousel .carousel-inner > .item.prev,
    .carousel .carousel-inner > .item.active.left {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    .carousel .carousel-inner > .item.next.left,
    .carousel .carousel-inner > .item.prev.right,
    .carousel .carousel-inner > .item.active {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.carousel .carousel-caption p {
    display: inline-block;
    margin: 0;
    font-size: 35px;
    line-height: 40px;
    color: rgb(0,65,124);
    text-shadow: none;
    text-transform: uppercase;
}


.carousel .carousel-control {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    background-color: #333;
    opacity: 0;
    transition: opacity .2s;
    z-index: 999;
}

.carousel-control:hover {
    opacity: .45;
}

.carousel-control.left {
    left: 0;
}

.carousel-control.right {
    right: 0;
}

.carousel-control i {
    position: absolute;
    top: 50%;
    margin-top: -50%;
    width: 100%;
    font-size: 50px;
    text-align: center;
}

.carousel-control.left i {
    left: 0;
}

.carousel-control.right i {
    right: 0;
}

.carousel-indicators {
    bottom: -30px;
    margin-bottom: 0;
    outline: none !important;
}

.carousel-indicators li {
    width: 10px !important;
    height: 10px !important;
    margin: 0 0 0 10px;
    background-color: #ccc;
    border: none;
    border-radius: 0;
}

.carousel-indicators li.active {
    margin: 0 0 0 10px;
    background-color: #555;
    border: none;
}

.carousel-indicators li:first-child {
    margin: 0;
}


/** BREADCRUMBS **/
.breadcrumbs {
    margin-bottom: 35px;
}

.breadcrumbs .breadcrumb {
    margin: 0;
    padding: 0;
    color: #777;
    font-family: 'AlteDIN1451MittelschriftRegular', serif;
    font-size: 40px;
    font-weight: 400;
    background-color: transparent;
}


/** TYPO§ CONTENT ELEMENTS **/
.frame-type-text p:last-child,
.frame-type-textpic p:last-child {
    margin-bottom: 0;
}

.ce-right.ce-intext .ce-gallery {
    margin-left: 75px;
}

.ce-left.ce-intext .ce-gallery {
    margin-right: 75px;
}

@media screen and (min-width: 481px) {
    .ce-intext .ce-gallery img {
        max-width: 300px;
    }

    .ce-gallery {
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 768px) {
    .ce-intext.ce-right .ce-gallery {
        margin-left: 35px;
    }

    .ce-intext.ce-left .ce-gallery {
        margin-right: 35px;
    }
}

@media screen and (max-width: 479px) {
    .ce-gallery {
        width: 100%;
    }

    .ce-intext .ce-gallery {
        margin: 0 0 25px !important;
    }
}

/** GRIDELEMENTS **/
.panel-grey {
    padding: 75px 0 100px !important;
    background-color: #f6f6f6;
}

.panel-grey .frame {
    margin-bottom: 0;
}

.panel-white {
    background-color: white;
    margin: -15px -15px 45px -15px;
    padding: 15px !important;
}

.full-row {
    position: relative;
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
}

h2.heading {
    margin: 15px;
    padding: 15px 0 0 0;
}


/** MASK ELEMENTS **/
.product-box {
    margin-bottom: 0 !important;
}

.product-box .product-box-header hr {
    margin: 0 0 10px;
    border-top: 1px solid #aaa;
}

.product-box .product-box-heading {
    display: inline-block;
    width: 650px;
    margin: 0;
    font-family: 'AlteDIN1451MittelschriftRegular', serif;
    font-size: 28px;
    color: rgb(0,65,124);
    vertical-align: top;
}

@media screen and (max-width: 480px) {
    .product-box .product-box-heading {
        width: 300px;
        font-size: 20px;
    }
}

.product-box .product-box-header .toggle {
    display: inline-block;
    font-size: 30px;
    color: #333;
    transform: rotate(-90deg);
    transition-duration: .35s;
}

.product-box .product-box-header[aria-expanded="true"] .toggle {
    transform: none;
    color: #aaa;
}

.product-box .product-box-content {
    padding: 30px 0 50px;
}

.product-box .product-description ul {
    padding: 0;
    list-style-position: inside;
    list-style-type: none;
}

.product-box .product-description ul > li:before {
    content: '\2010';
    padding-right: 5px;
}

.product-box .product-links {
    margin-top: 25px;
}

.product-box .product-links a {
    display: block;
}

.product-box .product-images img {
    float: right;
}

@media screen and (max-width: 1199px) {
    .product-box .product-images img {
        margin-top: 25px;
    }
}

.downloads .download-heading {
    margin-bottom: 20px;
}

.downloads .download-section {
    margin-bottom: 35px;
}

.downloads .download-section .download-item-heading {
    margin-bottom: 0;
    padding-top: 5px;
    line-height: 20px;
    text-transform: none;
}

.downloads .download-section .language {
    display: inline-block;
    width: 120px;
}

.downloads .download-section a {
   font-weight: 600;
}

.spacer {
     padding: 10px 0 30px 0;
 }

.spacer-large {
    padding: 40px 0 30px 0;
}


/** NEWS **/
.f3-widget-paginator {
    padding: 0;
}

.f3-widget-paginator li {
    display: inline-block;
    font-weight: normal;
}

.f3-widget-paginator li.previous::before {
    content: '<';
    font-size: 50%;
    vertical-align: middle;
}

.f3-widget-paginator li.next::after {
    content: '>';
    font-size: 50%;
    vertical-align: middle;
}

.f3-widget-paginator li.current {
    font-weight: bold;
}

.f3-widget-paginator li + li {
    margin-left: 16px;
}

.news .news-list-item {
    margin-bottom: 50px;
}

.news .news-list-item.job-item {
    margin-bottom: 25px;
    padding-bottom: 0;
}


.news .news-list-item:last-child {
    margin-bottom: 0;
}

.news .news-list-item hr {
    margin: 0 0 10px;
    border-color: #aaa;
}

.news .news-list-item .news-date {
    font-size: 16px;
    font-weight: bold;
    color: #777;
}

.news .news-list-item .heading-type-1 {
    border-top: none;
    padding-bottom: 15px;
}

.news .news-list-item .teaser-text p {
    display: inline;
    font-weight: 600;
}

.news .news-list-item .more-link {
    padding-left: 3px;
}

.news .news-list-item .more-link i {
    padding: 0 3px 0 0;
}

.news .news-preview-image {
    /*width: auto;
    height: 300px;
    margin-top: 10px;
    background-size: cover;
    background-position: center;*/
}

.news .news-preview-image figcaption {
    margin-top: 10px;
    font-size: 90%;
}

/*.news.news-single .news-related-wrap {
    margin: 0;
}

.news.news-single .news-related {
    padding: 0;
    border: none;
}

.news.news-single .news-related  ul {
    padding: 0;
    list-style-type: none;
}

.news.news-single .news-backlink {
    margin-top: 35px;
}*/


/** FOOTER **/
.footer-wrapper {
    position: absolute;
    bottom: 0;
    height: 18rem;
    left: 15px;
    right: 15px;
    padding-top: 50px;
    background-color: #777;
    color: white;
}

@media screen and (max-width: 767px){
    .footer-wrapper {
        height: 26rem;
    }
}

footer span {
    padding-right: 5px;
}

footer a,
footer a:hover,
footer a:focus,
footer a:active {
    color: white;
}

footer ul {
    list-style-type: none;
}

footer .footer-logo {
    float: right;
    font-size: 55px;
}

footer .footer-logo i {
    vertical-align: top;
    color: #e0e0e0;
}

footer .footer-logo i:hover,
footer .footer-logo i:active {
    color: white;
}


/** SCROLL TO TOP **/
.back-to-top {
    background: rgb(0,65,124);
    opacity: .9;
    //border-radius: 8px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 8px 10px;
}

a.back-to-top {
    color: white;
}