/* --- RESETS --- */
figure {
    margin: 0;
}
img {
    height: auto;
    max-width: 100%;
}
picture {
    display: block;
    text-align: center;
}



/* --- GRID --- */
.container {
    padding-right: 20px;
    padding-left: 20px;
}
.container-max {
    max-width: 1920px;
    margin: 0 auto;
}
.row {
    margin-right: -20px;
    margin-left: -20px;
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
    padding-right: 20px;
    padding-left: 20px;
}
.pull-right {
    margin-right: -20px;
}
.pull-left {
    margin-left: -20px;
}



/* --- BASIC --- */
html {
    overflow-y: scroll;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    scroll-behavior: smooth;
}



/* --- TYPOGRAPHY --- */
body {
    line-height: 1.5;
    font-family: Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}
html,
.text-default {
    font-size: 16px;
}

h1, .h1 {
    font-family: "Roboto Slab", serif;
    font-weight: 700;
    margin: 1.5rem 0;
}
h2, .h2,
h3, .h3 {
    font-family: "Roboto Slab", serif;
    font-weight: 700;
    margin: 1.5rem 0;
}
h4, .h4 {
    font-weight: 700;
    margin: 1.5rem 0;
}
h5, .h5 {
    font-weight: 400;
    margin: 1.5rem 0;
}
h1,
.h1,
.h1-size {
    font-size: 1.5rem; /* 24px */
    line-height: 1.25;
}
h2,
.h2,
.h2-size,
.text-large {
    font-size: 1.25rem; /* 20px */
    line-height: 1.166;
}
h3,
.h3,
.h3-size {
    font-size: 1rem;
    line-height: 1.25;
}
h4,
.h4,
.h4-size {
    font-size: 1rem;
    line-height: 1.25;
}
h5,
.h5,
.h5-size {
    font-size: .875rem;
}
small,
.text-small,
.table--default {
    font-size: .75rem; /* 12px */
    /*line-height: 1.25rem;*/
}
h6,
.h6 {
    font-size: 1rem;
    line-height: 1.25rem;
}
h1:first-child,
.h1:first-child,
h2:first-child,
.h2:first-child,
h3:first-child,
.h3:first-child,
h4:first-child,
.h4:first-child,
h5:first-child,
.h5:first-child {
    margin-top: -0.1em; /* balance ascender height */
}
h1:last-child,
.h1:last-child,
h2:last-child,
.h2:last-child,
h3:last-child,
.h3:last-child,
h4:last-child,
.h4:last-child {
    margin-bottom: 0;
}
.subline,
.subline:first-child {
    display: block;
    margin-top: 0.5rem;
    font-weight: 600;
}
p,
ul,
ol,
dl,
form,
table,
.table-wrap,
blockquote {
    margin-top: 1.5rem;
    margin-bottom: 0;
}
p:first-child,
ul:first-child,
ol:first-child,
dl:first-child,
form:first-child,
table:first-child,
.table-wrap:first-child,
blockquote:first-child {
    margin-top: 0;
}
a {
    text-decoration: none;
}
a:hover,
a:focus {
    text-decoration: none;
}
p a:hover,
p a:focus {
    text-decoration: underline;
}
a:focus {
    outline: thin dotted;
}
.touchevents a:focus,
.touchevents button:focus {
    outline: none;
}
[class^="icon-"]::before, [class*=" icon-"]::before,
[class^="icon-"]::after, [class*=" icon-"]::after {
    text-decoration: none;
}
a,
.js-link,
.text-default a,
.c-1 {
    color: #005485;
    cursor: pointer;
}
a {
    transition: color .3s;
}
a:hover,
.js-link:hover,
.text-default a:hover {
    color: #4B8CDC;
}
.text-link,
.text-link:hover {
    text-decoration: underline;
    color: inherit;
}
body,
.c-2 {
    color: #4A4A49;
}
.c-3 {
    color: #FFF;
}
.c-4 {
    color: #08B98C;
}
.c-5 {
    color: #979797;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}
.text-nowrap {
    white-space: nowrap;
}
.text-break-all {
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-break: break-all;
}
.text-pre-line {
    white-space: pre-line;
}
.text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.caps {
    text-transform: uppercase;
}
.f-inherit {
    font-family: inherit;
    font-weight: inherit;
}
.fw-bold {
    font-weight: 700;
}
.fw-normal {
    font-weight: 400;
}
.pointer-none {
    pointer-events: none;
}
.pointer-all {
    pointer-events: all;
}
::selection {
    background: #4B8CDC;
}



/* --- ABSTÄNDE --- */
.pt-0 {
    padding-top: 0;
}
.pb-0 {
    padding-bottom: 0;
}
.pt-1 {
    padding-top: 0.75rem;
}
.pb-1 {
    padding-bottom: 0.75rem;
}
.pt-2 {
    padding-top: 1.5rem;
}
.pb-2 {
    padding-bottom: 1.5rem;
}
.pt-3 {
    padding-top: 3rem;
}
.pb-3 {
    padding-bottom: 3rem;
}
.pt-4 {
    padding-top: 4.5rem;
}
.pb-4 {
    padding-bottom: 4.5rem;
}
.pt-5 {
    padding-top: 7.5rem;
}
.pb-5 {
    padding-bottom: 7.5rem;
}
.mt-0 {
    margin-top: 0;
}
.mb-0 {
    margin-bottom: 0;
}
.mt-1 {
    margin-top: 0.75rem;
}
.mb-1 {
    margin-bottom: 0.75rem;
}
.mt-2 {
    margin-top: 1.5rem;
}
.mb-2 {
    margin-bottom: 1.5rem;
}
.mt-3 {
    margin-top: 3rem;
}
.mb-3 {
    margin-bottom: 3rem;
}
.mt-4 {
    margin-top: 4.5rem;
}
.mb-4 {
    margin-bottom: 4.5rem;
}
.mt-5 {
    margin-top: 7.5rem;
}
.mb-5 {
    margin-bottom: 7.5rem;
}
.mr {
    margin-right: 20px;
}
.ml {
    margin-left: 20px;
}



/* --- DIVIDER --- */
hr,
.hr-1 {
    height: 1px;
    margin: calc(0.75rem - 1px) 0;
    border: 0;
    background: #00466c;
}
.hr-2 {
    margin: calc(1.5rem - 1px) 0;
}
.hr-3 {
    margin: calc(3rem - 1px) 0;
}
.hr--spacer {
    background: none;
}
.hr--grey {
    background: #D1D1D1;
}



/* --- BACKGROUNDS --- */
.bg-1 {
    color: #FFF;
    background: #005485;
}
.bg-2 {
    color: #FFF;
    background: #4B8CDC;
}
.bg-3 {
    color: #FFF;
    background: #08B98C;
}
.bg-4 {
    background-color: #ECECEC;
}
.bg-5 {
    color: #FFF;
    background: #FF7826;
}
.bg-6 {
    background: #FFF;
}
.bg-7 {
    color: #FFF;
    background: #001A29;
}
.bg-4-pattern {
    background-color: #ECECEC;
    background-image: url("../Images/bg-grey-concrete_pattern.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}



/* --- FRAMES --- */
.frame-1,
.frame-2 {
    padding: 20px;
    border: 4px solid #4B8CDC;
    border-radius: 3px;
}
.frame-2 {
    border-color: #08B98C;
}



/* --- HELPER --- */
.sr-only {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.w-100,
.ie-flex-fix {
    width: 100%;
}

.box-shadow {
    box-shadow: 0 2px 1px 0 rgba(0,0,0,0.2);
}

/* clears the 'X' from Internet Explorer */
input[type=search]::-ms-clear {  display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal {  display: none; width : 0; height: 0; }

/* clears the 'X' from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }



/* ==========================================================================
   Media Queries
   ========================================================================== */

/* --- PHONE (SM) --- */
@media ( min-width: 576px ) {

    /* --- GRID --- */
    .pull-right {
        /* assume 100vw without scrollbar width for mobile devices */
        margin-right: calc((100vw - 500px) / -2);
    }
    .pull-left {
        margin-left: calc((100vw - 500px) / -2);
    }

}



/* --- TABLET (MD) --- */
@media ( min-width: 768px ) {

    /* --- GRID --- */
    .pull-right,
    .pull-md-right {
        /* assume 100vw without scrollbar width for mobile devices */
        margin-right: calc((100vw - 680px) / -2);
    }
    .pull-left,
    .pull-md-left {
        margin-left: calc((100vw - 680px) / -2);;
    }

}



/* --- DESKTOP (LG) --- */
@media ( min-width: 992px ) {

    /* --- GRID --- */
    .pull-right,
    .pull-md-right {
        /* 100vw includes scrollbar width */
        margin-right: calc((100vw - 920px) / -2);
    }
    .pull-left,
    .pull-md-left {
        margin-left: calc((100vw - 920px) / -2);;
    }
    .no-hiddenscroll .pull-right,
    .no-hiddenscroll .pull-md-right {
        /* 100vw includes scrollbar width */
        margin-right: calc((100vw - 920px - 15px) / -2);
    }
    .no-hiddenscroll .pull-left,
    .no-hiddenscroll .pull-md-left {
        margin-left: calc((100vw - 920px - 15px) / -2);;
    }

    a[href^="tel:"],
    a[href^="tel:"]:hover {
        pointer-events: none;
        text-decoration: none;
        color: inherit;
        cursor: text;
    }



    /* --- FRAMES --- */
    .frame-1,
    .frame-2 {
        padding: 30px;
    }

    /* --- HELPERS --- */
    .text-2-columns {
        column-count: 2;
        column-gap: 60px;
    }
}



/* --- DESKTOP (XL) --- */
@media ( min-width: 1200px ) {

    /* --- GRID --- */
    .pull-right,
    .pull-md-right {
        margin-right: calc((100vw - 1100px) / -2);
    }
    .pull-left,
    .pull-md-left {
        margin-left: calc((100vw - 1100px) / -2);;
    }
    .no-hiddenscroll .pull-right,
    .no-hiddenscroll .pull-md-right {
        margin-right: calc((100vw - 1100px - 15px) / -2);
    }
    .no-hiddenscroll .pull-left,
    .no-hiddenscroll .pull-md-left {
        margin-left: calc((100vw - 1100px - 15px) / -2);;
    }



    /* --- TYPOGRAPHY --- */
    html,
    .text-default {
        font-size: 18px;
    }
    h1,
    .h1,
    .h1-size {
        font-size: 2.1111rem; /* 38px */
    }
    h2,
    .h2,
    .h2-size {
        font-size: 1.5555rem; /* 28px */
    }
    h3,
    .h3,
    .h3-size,
    .text-large {
        font-size: 1rem; /* 18px */
        line-height: 1.3333;
    }

}



/* --- DESKTOP (XXL) --- */
@media ( min-width: 1600px ) {

    /* --- GRID --- */
    .container {
        max-width: 1400px;
    }
    .pull-right,
    .pull-md-right {
        margin-right: calc((100vw - 1360px) / -2);
    }
    .pull-left,
    .pull-md-left {
        margin-left: calc((100vw - 1360px) / -2);
    }
    .no-hiddenscroll .pull-right,
    .no-hiddenscroll .pull-md-right {
        margin-right: calc((100vw - 1360px - 15px) / -2);
    }
    .no-hiddenscroll .pull-left,
    .no-hiddenscroll .pull-md-left {
        margin-left: calc((100vw - 1360px - 15px) / -2);;
    }



    /* --- TYPOGRAPHY --- */
    html,
    .text-default,
    .table--default {
        font-size: 18px;
    }

}



/* --- MAX --- */
@media ( min-width: 1920px ) {

    /* 1360px + 2 * 280px */
    .pull-right,
    .pull-md-right {
        margin-right: -280px;
    }
    .pull-left,
    .pull-md-left {
        margin-left: -280px;
    }
    .no-hiddenscroll .pull-right,
    .no-hiddenscroll .pull-md-right {
        /* (1920 - 15 - 1360) / 2 */
        margin-right: -272px;
    }
    .no-hiddenscroll .pull-left,
    .no-hiddenscroll .pull-md-left {
        /* (1920 - 15 - 1360) / 2 */
        margin-left: -272px;
    }

}
