@import "bootstrap/bootstrap.min.css";

@font-face {
    font-family: "Hamburg Sans";
    src: url("fonts/HamburgSans-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Hamburg Sans";
    src: url("fonts/HamburgSans-Bold.ttf") format("truetype");
    font-weight: bold;
    font-display: swap;
}

* {
    --color-hamburg-rot: #E10019;
    --color-hamburg-dunkelblau: #003063;
    --color-hamburg-grau: #E3E3E3;

    --footer-banner-height: 5vh;
}

html.no-script .progress, body.no-script .progress {
    display: none
}

html, body, body.loaded {
    color: #888888;
    background-color: var(--color-hamburg-grau);
    margin: 0;
    padding: 0;
    position: absolute;
    outline: none;
    width: 100%;
    overflow-x: hidden;
    font-family: "Hamburg Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important
}

html h1, body h1, body.loaded h1 {
    font-size: 20pt
}

@media (min-width: 1180px) {
    html h1, body h1, body.loaded h1 {
        font-size: 25pt
    }
}

html.no-scroll {
    overflow: hidden
}

body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    overflow: hidden
}

body.loaded {
    overflow-y: initial
}

body.no-scroll {
    overflow: hidden !important
}

@media (min-width: 1180px) {
    body.no-scroll {
        overflow: initial !important
    }
}

#header {
    height: 115px;
    position: fixed;
    display: block;
    background: rgba(255, 255, 255, 1);
    z-index: 5;
    -webkit-box-shadow: 0px 0px 9px 3px rgba(41, 41, 41, 0.25);
    -moz-box-shadow: 0px 0px 9px 3px rgba(41, 41, 41, 0.25);
    box-shadow: 0px 0px 9px 3px rgba(41, 41, 41, 0.25);
    border-bottom: 35px solid var(--color-hamburg-dunkelblau)
}


@media (min-width: 1180px) {
    #header {
        z-index: 2
    }
}

#header .header-inner {
    width: 100%;
    height: 100%;
    padding: 16px
}

@media (max-width: 1179px) {
    #header .header-inner .col-sm:nth-of-type(2) {
        width: 100%
    }
}
/*#header .header-inner .menu-button {
    z-index: 10;
    color: #000;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    -ms-transition: all 1s;
    transition: all 1s
}

#header .header-inner .menu-button.show-menu {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg)
}

#header .header-inner .menu-button:focus, #header .header-inner .menu-button:active {
    outline: none;
    box-shadow: none
}*/


#header .header-inner h1 {
    font-size: 26px;
    top: 50px;
    line-height: 50px
}

@media (max-width: 936px) {
    #header .header-inner h1 {
        left: 25%;
        right: 25%
    }
}

@media not all and (max-width: 936px) and (min-resolution: 0.001dpcm) {
    #header .header-inner h1 {
        line-height: 55px
    }
}

@media not all and (max-width: 1179px) and (min-resolution: 0.001dpcm) {
    #header .header-inner h1 {
        line-height: 55px;
        top: 30px
    }
}

@media (min-width: 1180px) {
    #header .header-inner h1 {
        font-size: 50px;
        top: 22px;
        line-height: 80px
    }
}

#header .header-inner h1 span {
    margin: 5px 0px;
    padding: 5px 15px 5px 15px;
    background: #fff
}

#header .header-inner h1 span:nth-of-type(1) {
    color: var(--color-hamburg-dunkelblau);
    -webkit-box-shadow: 0px 0px 8px 1px rgba(41, 41, 41, 0.25);
    -moz-box-shadow: 0px 0px 8px 1px rgba(41, 41, 41, 0.25);
    box-shadow: 0px 0px 8px 1px rgba(41, 41, 41, 0.25)
}

#header .header-inner h1 span:nth-of-type(2) {
    color: var(--color-hamburg-rot);
    -webkit-box-shadow: 0px 0px 8px 1px rgba(41, 41, 41, 0.25);
    -moz-box-shadow: 0px 0px 8px 1px rgba(41, 41, 41, 0.25);
    box-shadow: 0px 0px 8px 1px rgba(41, 41, 41, 0.25)
}

#headerDienststellen {
    display: inline-block;
    position: relative;
    z-index: 1;
    margin: 3px;
    user-select: none;
}

.dienststellenselect {
	width:160px;
    display: inline;
}

#menuToggle {
    display: inline-block;
    position: relative;
    z-index: 1;
    margin: 3px;
    -webkit-user-select: none;
    user-select: none;
    background-color: var(--color-hamburg-rot);
    border-radius: 50%;
    width: 47px;
    height: 47px;
}

/*#menuToggle a {
    text-decoration: none;
    color: #000000;

    transition: color 0.3s ease;
}

#menuToggle a:hover {
    color: tomato;
}*/


#menuToggle input {
    display: block;
    width: 47px;
    height: 47px;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

#menuToggle span {
    display: block;
    width: 26px;
    height: 3px;
    margin-bottom: 5px;
    position: relative;
    background: #ffffff;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 15px 0px !important;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        opacity 0.55s ease;
    top: 13px;
    left: 10px;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-4px, -5px);
}

#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}

#menu {
    position: fixed;
    width: 100%;
    z-index: 1;
    left: 0;
    top: 115px;
    padding-top: 100px;

    background: var(--color-hamburg-dunkelblau);
    -webkit-box-shadow: 0px 0px 9px 3px rgba(41, 41, 41, 0.25);
    -moz-box-shadow: 0px 0px 9px 3px rgba(41, 41, 41, 0.25);
    box-shadow: 0px 0px 9px 3px rgba(41, 41, 41, 0.25);

    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */

    transform-origin: 0% 0%;
    transform: translate(0, -100%);

    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu > ul {
    display: flex;
    justify-content: space-evenly;
    padding: 0;
}

#menu > ul > li {
    list-style: none;
    padding: 10px 0;
    font-size: 18pt;
    font-weight: bold;
    width: 15%;
}

#menu > ul > li > ul {
    margin-top: 20px;
    padding: 20px 0;
}

#menu > ul > li > ul > li {
    list-style: none;
    font-size: 15pt;
    line-height: 38pt;
    padding-left: 0;
}

#menu a {
    text-decoration: none;
    color: #FFFFFF;
}

.showMenu {
    transform: none !important;
}

section#ff-hamburg {
    height: calc(100vh);
}

section, section .footer {
    width: 100%;
    position: relative;
}

#ff-hamburg .footer {
    height: calc(var(--footer-banner-height));
    background: var(--color-hamburg-dunkelblau);
}

#ff-hamburg .footer::before {
    content: '';
    height: calc(var(--footer-banner-height) * 0.75);
    width: calc(var(--footer-banner-height) * 2.625);
    background-size: cover !important;
    background: rgba(255, 255, 255, 0) url('images/Hamburg_Bug.png') no-repeat right;
    position: absolute;
    top: calc(var(--footer-banner-height) * -0.375);
}

#ff-hamburg .footer::after {
    content: '';
    height: calc(var(--footer-banner-height) * 0.5);
    width: calc(var(--footer-banner-height));
    top: calc(var(--footer-banner-height) * -0.5);
    left: calc(50% - (var(--footer-banner-height) * 0.5));
    background-size: cover !important;
    background: var(--color-hamburg-rot) url("data:image/svg+xml,%3Csvg width='4' height='24' viewBox='-8 -10 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 9L12 15L6 9' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat scroll center;
    position: absolute;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
}

.content-wrapper {
    margin: 0 auto;
}

.main {
    margin-top: calc(var(--footer-banner-height) * 2.5);
}

.main .content-wrapper {
    background-color: #FFFFFF;
    padding-bottom: 20px;
}

.content-gallery img {
    max-width: 100%;
}

.content-gallery iframe {
    max-width: 100%;
}

.content-wrapper .row {
    padding: 24px;
}

.content-wrapper .auszug {
    font-weight: bold;
}

span.teaser {
    font-weight: bold;
    color: var(--color-hamburg-dunkelblau);
    font-size: 10pt;
}

p.vorspann {
    font-weight: bold;
}

span.section {
    text-transform: uppercase;
    color: var(--color-hamburg-rot);
    font-size: 15pt;
    font-weight: bold;
}

h1, h2, h3, h4, h5 {
    text-transform: uppercase;
}

h2 {
    font-size: 15pt;
}

footer {
    background-color: var(--color-hamburg-dunkelblau);
    color: #FFFFFF;
    padding-top: 16px
}

footer ul {
    padding: 0;
}

footer ul li {
    list-style: none;
}

p.footer-header {
    font-size: 14pt;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.partner .col .image {
    margin-right: 20px;
    
}

footer a {
    text-decoration: none;
    color: #FFFFFF;
}

.content-head a {
    text-decoration: none;
}

.content-title {
    
}