/**
 * Stylesheet fﾃｼr yBit
 *
 * @license GNU Lesser General Public License
    Copyright (C) 2011  Stefan 'Eichi' Eichhorst <eichi@ybit.eu>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @package yHP
 * @copyright Eichi (Stefan Eichhorst) <eichi@ybit.eu>
 * @version $Revision$
 * @author $Author$
 */

@font-face {
    font-family: "SourceSans";
    local: "Source Sans Pro";
    src: url("/tpl/templates/themes/default/fonts/sourcesanspro.eot#") format("eot"),
        url("/tpl/templates/themes/default/fonts/sourcesanspro.svg#Primary") format("svg"),
        url("/tpl/templates/themes/default/fonts/sourcesanspro.woff") format("woff");
}

@font-face {
    font-family: "SourceSansLight";
    local: "Source Sans Pro Light";
    src: url("/tpl/templates/themes/default/fonts/sourcesansprolight.eot#") format("eot"),
        url("/tpl/templates/themes/default/fonts/sourcesansprolight.svg#Primary") format("svg"),
        url("/tpl/templates/themes/default/fonts/sourcesansprolight.woff") format("woff");
}

@font-face {
    font-family: "SourceSansBold";
    local: "Source Sans Pro Bold";
    src: url("/tpl/templates/themes/default/fonts/sourcesansprobold.eot#") format("eot"),
        url("/tpl/templates/themes/default/fonts/sourcesansprobold.svg#Primary") format("svg"),
        url("/tpl/templates/themes/default/fonts/sourcesansprobold.woff") format("woff");
}

@font-face {
    font-family: "OpenSans";
    local: "Open Sans";
    src: url("/tpl/templates/themes/default/fonts/opensans.eot#") format("eot"),
        url("/tpl/templates/themes/default/fonts/opensans.svg#Primary") format("svg"),
        url("/tpl/templates/themes/default/fonts/opensans.woff") format("woff");
}

@font-face {
    font-family: "OpenSansLight";
    local: "Open Sans Light";
    src: url("/tpl/templates/themes/default/fonts/opensanslight.eot#") format("eot"),
        url("/tpl/templates/themes/default/fonts/opensanslight.svg#Primary") format("svg"),
        url("/tpl/templates/themes/default/fonts/opensanslight.woff") format("woff");
}

@font-face {
    font-family: "OpenSansBold";
    local: "Open Sans Bold";
    src: url("/tpl/templates/themes/default/fonts/opensansbold.eot#") format("eot"),
        url("/tpl/templates/themes/default/fonts/opensansbold.svg#Primary") format("svg"),
        url("/tpl/templates/themes/default/fonts/opensansbold.woff") format("woff");
}

@font-face {
    font-family: "Montserrat";
    local: "Montserrat";
    src: url("../fonts/montserrat-regular-webfont.eot#") format("eot"),
        url("../fonts/montserrat-regular-webfont.svg#Primary") format("svg"),
        url("../fonts/montserrat-regular-webfont.woff") format("woff");
}

@font-face {
    font-family: "Montserrat";
    local: "Montserrat";
    src: url("../fonts/montserrat-bold-webfont.eot#") format("eot"),
        url("../fonts/montserrat-bold-webfont.svg#Primary") format("svg"),
        url("../fonts/montserrat-bold-webfont.woff") format("woff");
    font-weight: bold;
}

* {
    margin: 0;
    padding: 0;
}

html {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-repeat: repeat-x;
    font-family: Montserrat !important;
    color: #3A4147;
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --primary: #3c76ae;
    --secondary: #6bc220;
    --kkm-green: #6bc220;
}

ul {
    list-style: none;
}

p {
    margin: 1rem 0;
    font-size: 16px;
    color: #3A4147;
}

h1 {
    font-size: 48px;
    font-weight: bold;
    max-width: 100%;
    hyphens: auto;
}

h2 {
    font-size: 40px;
    font-weight: bold;
    max-width: 100%;
}

a:active {
    text-decoration: none;
}

a,
h2>a:hover,
h2>a:active {
    text-decoration: none;
    color: #3A4147;
}

#top {
    position: sticky;
    z-index: 400;
    background-color: white;
    width: 100vw;
    top: 0;
}

section:not(#top):not(#section-helzel) {
    padding-top: 60px;
    padding-bottom: 75px;
}

.container {
    width: 100%;
    padding: 0;
}

#top .container.mobile {
    display: none;
}

.main-nav-mobile {
    display: none;
}

.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -.4rem;
    margin-right: -.4rem;
}

.column {
    flex: 1;
    max-width: 100%;
    padding-left: .4rem;
    padding-right: .4rem;
}

#main-logo {
    margin: 0 80px 0 68px;
    padding-top: 5px;
}

#main-logo img {
    transition: height 0.4s;
    height: 65px;
    padding-top: 5px;
}

#main-quicklinks {
    flex: 1em;
    justify-content: flex-end;
    align-items: center;
}

#main-nav .column {
    flex: auto 0 0;
    margin-right: 1%;
}

#top-main .text-link {
    color: #3a4147;
    font-size: 18px;
}

#main-nav .column:first-child .text-link {
    text-decoration-line: underline;
}

.col-200px {
    flex: 0 0 200px;
}

.btn.btn-primary {
    background-color: var(--primary);
    color: white;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    text-align: center;
    transition: ease all .3s;
}

.btn.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    text-align: center;
    transition: ease all .3s;
}

.btn.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    text-align: center;
    transition: ease all .3s;
}

.btn.btn-secondary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    text-align: center;
    transition: ease all .3s;
}

a.button-link,
.button-link {
    background-color: var(--primary);
    color: white;
    display: inline-block;
    padding: 8px 35px;
    border-radius: 25px;
    cursor: pointer;
    text-align: center;
    transition: ease all .3s;
}

.button-link:hover {
    background-color: var(--kkm-green);
    text-decoration: none;
}

a.button-link.nw:active {
    box-shadow: none;
    text-decoration: none;
}

.button-link.nw:visited {
    box-shadow: none;
    text-decoration: none;
    border: none;
}

a.button-link.nw:focus {
    box-shadow: none;
    text-decoration: none;
    border: none;
}

.nw {
    white-space: nowrap;
}

.banner {
    justify-content: center;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
}

.cover {
    width: 100vw;
}

.bannerTextLayer {
    width: 70vw;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bannerTextLayer h1 {
    display: inline-block;
}

.text-underline {
    text-decoration: underline
}

.big-title {
    line-height: 1.2;
    margin-bottom: .5rem;
    margin-top: 0;
    font-size: 88px;
    font-weight: bold;
    color: white;
}

.content-block {
    max-width: 1240px;
    margin: 0 auto;
    padding-right: .4rem;
    padding-left: .4rem;
}

.content-text {
    margin-top: 1rem;
}

.pic-block {
    flex: 1;
    margin-right: 4rem;
}

.pic-block-right {
    flex: 1;
    margin-left: 4rem;
}

.text-block {
    flex: 1;
}

#section-helzel img {
    margin-bottom: -7px;
}

section#section-helzel {
    padding-top: 120px;
    padding-bottom: 0;
}

.pic-block a,
.text-block a.black-link {
    text-decoration-line: underline;
    color: #3A4147;
}

.text-block a.black-link:visited {
    color: #3A4147;
}

.text-block a.black-link:actice {
    color: #3A4147;
}

.text-block a.black-link:hover {
    color: #3A4147;
}

.bold-text {
    font-weight: bold;
}

section.blue-top {
    background: linear-gradient(175deg, white 50%, #eef7fe 50%);
    height: 200px;
    padding: 0;
}

section.blue-bottom {
    background: linear-gradient(175deg, #eef7fe 50%, white 50%);
    height: 200px;
    padding: 0;
}

section.blue-background {
    background: url('../../../../../files/images/webgrafiken/wasserzeichen-rechts.svg') no-repeat 135% 90%,
        url('../../../../../files/images/webgrafiken/wasserzeichen-links.svg') no-repeat -33% 1%;
    background-color: #eef7fe;
    background-size: 46% 46%, 46% 46%;
}

.tavi-top h2 {
    max-width: 690px;
    margin: 0 auto;
    text-align: center;
}

.tavi-sign.column {
    margin: 15px;
    display: flex;
    flex-direction: column;
}

.tavi-top p {
    padding: 0 4rem;
    margin: 2rem 0;
    text-align: center;
}

.tavi-signs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

img.tavi-sign {
    width: 72px;
    height: 72px;
}


.tavi-sign-img {
    margin: 20px auto;
}

.tavi-signs-text {
    text-align: center;
}

.tavi-img {
    position: relative;
    margin-top: 3rem;
}

.tavi-img img {
    width: 100%;
}

.tavi-img-screen {
    position: absolute;
    top: 7%;
    left: 7%;
}

.tavi-img-screen-top {
    margin-bottom: 30px;
}

.tavi-img-screen-top h4 {
    font-size: 1.5rem;
    margin-bottom: .3em;
}

.tavi-img-screen-top p {
    margin: 0;
    font-size: 1.3rem;
    color: #3A4147;
}

#section-tavi a.button-link.nw,
#section-hrnetz a.button-link.nw {
    padding: 10px 35px;
}

.tavi-img-arrow {
    position: absolute;
    top: 35%;
    left: 18%;
    width: 21%;
}

.hrnetz-top {
    display: flex;
    margin-bottom: 40px;
}

#section-hrnetz h2 {
    hyphens: auto;
}

.greenline {
    background-color: var(--kkm-green);
    width: 90px;
    height: 2px;
}

.gree-text a:hover,
.gree-text a:active {
    text-decoration: none;
}

a#stella,
a#lernspeicher {
    color: var(--kkm-green);
}

.blue-background-leftonly {
    background: url(../../../../../files/images/webgrafiken/wasserzeichen-links.svg) no-repeat -2198% 12%;
    background-size: 98% 98%;
    background-color: #eef7fe;
}

#section-stella .pic-block {
    margin: 0;
}

#section-stella .text-block {
    margin-right: 4rem;
}

p.gree-text {
    margin: 0;
    padding-bottom: 10px;
}

#section-stella .gree-text {
    margin-left: -5px;
}

.kon-content {
    max-width: 700px;
    margin: 0 auto;
}

.blue-background-kontakt {
    background: url(../../../../../files/images/webgrafiken/wasserzeichen-rechts.svg) no-repeat 2332% 201%, url(../../../../../files/images/webgrafiken/wasserzeichen-links.svg) no-repeat -2328% 201%;
    background-color: #eef7fe;
    background-size: 98% 98%, 98% 98%;
}

.kon-text {
    text-align: center;
    padding: 0 150px;
}

.kontakt-form {
    margin-top: 30px;
}

.input-wrapper {
    position: relative;
    overflow: hidden;
    background: #fff;
    margin: 10px auto;
}

.kontakt-form input {
    border: none;
    outline: none;
    padding: 10px;
    color: #3A4147;
    margin: 5px 0px;
}

.kontakt-form input[type='text'] {
    width: 100%;
}

#anliegen {
    height: 110px;
    border: none;
    width: 700px;
    padding: 6px 10px;
}

.check {
    margin: 20px 0;
}

.check .chbox {
    margin-right: 10px;
}

.check p a {
    color: #3A4147;
    text-decoration: underline;
}

textarea {
    resize: none;
    border: solid 0px;
    outline: none;
}

#stiky-buttons {
    background-color: var(--kkm-green);
    position: fixed;
    bottom: 0;
    right: 0;
    width: 50px;
    padding: 15px 0 15px 0;
    text-align: center;
    cursor: pointer;
    font-size: 0.6rem;
}

.sticky-bar-icon.top {
    margin: 0 auto;
}

#stiky-buttons span {
    color: #fff;
}

i.top {
    background: url('../../../../../files/images/webgrafiken/top.svg') no-repeat;
}

video {
    width: 100%;
    height: auto;
}

.responsive-video {
    position: relative;
    padding-bottom: 56%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    padding-top: 60px;
}

.sticky-bar-icon {
    width: 1rem;
    height: 1rem;
    display: block;
}

.button-link.nw.button-link-green {
    background-color: var(--kkm-green);
    border: none;
}

.button-link.nw.button-link-green:hover {
    background-color: #3c76ae;
    text-decoration: none;
}

footer {
    max-width: 700px;
    margin: 3em auto;
    display: flex;
    font-size: 14px;
    justify-content: space-between;
}

footer a {
    text-decoration: underline;
    color: #3A4147;
}

#imprint {
    min-height: calc(100vh - 77px);
}

.captcha-reload {
    background: url('../../../../../files/images/webgrafiken/outline-cached_white.svg') no-repeat;
    background-position: center;
    width: 35px;
    height: 35px;
    display: inline-block;
    border: none;
    background-color: var(--kkm-green);
    border-radius: 25px;
    cursor: pointer;
    vertical-align: text-bottom;
    margin-left: 0.5em;
}

.captcha-reload:hover {
    background-color: #3c76ae;
}

.captcha-reload span {
    display: none;
}

@media (max-width: 1280px) {
    .banner .cover {
        width: 120vw;
        height: calc(43.13vw * 1.2);
        max-width: unset;
    }

    .content-block {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

@media screen and (max-width: 1228px) {
    #close_menu {
        display: none;
    }

    .top-navbar-logo img {
        height: 50px;
    }

    .menu-control img {
        height: 28px;
    }

    #top div.container.mobile {
        display: block;
    }

    .container.desktop {
        display: none;
    }

    #top-main-mobile {
        position: relative;
    }

    #main-logo-mobile {
        height: 75px;
        width: 200px;
    }

    .top-navbar-logo {
        padding: 12px;
    }

    .menu-control {
        width: 33px;
        height: 33px;
        position: absolute;
        right: 32px;
        top: 15px;
        padding: 5px;
        cursor: pointer;
        transition: top 0.4s;
    }

    #main-nav-mobile {
        display: none;
    }

    #main-nav-mobile.active {
        display: flex;
        flex: 100%;
        flex-direction: column;
        align-items: self-start;
        padding: 0 20px;
        margin-bottom: 20px;
    }

    #main-nav-mobile li.column {
        border-bottom: 1px solid #F5F5F5;
        width: 100%;
        padding: 5px 20px;
    }

    #main-nav-mobile a.text-link {
        color: #3A4147;
    }

    .banner .cover {
        width: 120vw;
        height: calc(43.13vw * 1.2);
        max-width: unset;
    }

    .big-title {
        font-size: 73px;
    }
}

@media (max-width: 1170px) {
    #section-hrnetz h2 {
        hyphens: auto;
    }
}

@media (max-width: 1050px) {
    .content-mobile {
        padding: 0 30px;
    }

    #section-helzel .columns,
    #section-stella .columns,
    #section-lernspeicher .columns {
        flex-direction: column;
    }

    .pic-block {
        order: 2;
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }

    #section-hrnetz .hrnetz-top {
        flex-direction: column;
    }

    #section-hrnetz .text-block,
    #section-lernspeicher .text-block {
        order: 2;
    }

    .pic-block img {
        max-width: 100%;
    }

    #section-stella .gree-text {
        padding: 0 23px;
    }

    .blue-background-kontakt {
        background-size: 0;
    }

    .kon-text {
        padding: 0px 6rem;
    }

}

@media (max-width: 998px) {
    .tavi-img img {
        margin-bottom: 40px;
    }

    .tavi-img-arrow {
        display: none;
    }

    .tavi-img-screen {
        position: relative;
        width: 90vw;
        top: 22%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .tavi-img-screen-top {
        margin-bottom: 35px;
    }
}

@media (max-width: 960px) {
    .banner .cover {
        width: 150vw;
        height: calc(43.13vw * 1.5);
    }

    .bannerTextLayer {
        width: 90vw;
    }

    .big-title {
        font-size: 51px;
    }
}

@media (max-width: 840px) {
    .banner .cover {
        width: 175vw;
        height: calc(43.13vw * 1.75);
    }

    .big-title {
        font-size: 45px;
    }

    .tavi-top p {
        padding: 0;
    }

    .tavi-signs {
        flex-direction: column;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .tavi-top h2 {
        hyphens: auto;
        overflow: hidden;
        padding: 0 20px;
    }

    section.blue-background,
    section.blue-background-leftonly {
        background-size: 0;
    }

    .kon-content-mobile {
        margin: 0 auto;
        max-width: 80%;
    }

    .kon-text {
        padding: 0px 4rem;
    }
}

@media (max-width: 600px) {
    .banner .cover {
        width: 200vw;
        height: calc(43.13vw * 2);
    }

    .big-title {
        font-size: 41px;
    }

    .kon-content-mobile {
        margin: 0 auto;
        max-width: 70%;
    }
}

@media (max-width: 520px) {
    .kon-content-mobile {
        margin: 0 auto;
        max-width: 60%;
    }
}

@media (max-width: 480px) {
    html�恵ody {
        overflow-x: hidden;
    }

    section.blue-top {
        height: 156px;
    }

    section#section-helzel {
        padding-top: 69px;
        padding-bottom: 0;
    }

    section#section-helzel .pic-block {
        margin-bottom: 0;
    }

    section#section-helzel.text-block {
        width: 100%;
    }

    section#section-helzel p {
        hyphens: auto;
    }

    section#section-tavi,
    section#section-stella,
    section#section-hrnetz {
        padding: 0;
    }

    section#section-lernspeicher {
        padding-top: 0;
    }

    .banner .cover {
        width: 300vw;
        height: calc(43.13vw * 3);
    }

    .big-title {
        font-size: 35px;
    }

    section#section-kontakt .kon-text p {
        margin: 1rem 1.2rem;
        hyphens: auto;
    }

    .kon-content {
        max-width: 375px;
    }

    .kon-text {
        padding: 0;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .kontakt-form {
        max-width: 90%;
        margin: 0 auto;
    }

    .kontakt-form input {
        padding: 6px 15px;
    }

    #anliegen {
        padding: 6px 15px;
        width: 100%;
    }

    .check p {
        font-size: .5rem;
    }

    .kon-content-mobile {
        margin: 0 auto;
        max-width: 95%;
    }

    #stiky-buttons {
        width: 40px;
        padding: 10px 0;
        z-index: 1;
    }

    #stiky-buttons span {
        display: none;
    }

    .content-mobile {
        padding: 0 16px;
    }

    #section-tavi .content-mobile {
        padding: 0px 12px;
    }

    .tavi-sign.column {
        margin: 25px 0;
    }

    .tavi-signs-text {
        margin-top: 17px;
    }

    .tavi-img {
        margin: 0 auto;
        width: 100%;
    }

    .tavi-img img {
        width: 100%;
        height: auto;
    }

    .tavi-img-screen {
        width: 81vw;
    }

    .tavi-img-screen-top {
        margin-bottom: 20px;
    }

    .tavi-img-screen-top h4 {
        font-size: 1.1rem;
    }

    .tavi-img-screen-top p {
        font-size: 1rem;
    }

    #section-tavi .col-200px {
        margin-left: 0;
    }

    .greenline {
        margin: 20px 0;
    }

    #section-hrnetz .col-200px {
        margin-left: 0;
    }

    #section-stella .gree-text {
        padding: 30px 13px;
    }

    #section-stella .text-block {
        margin: 0;
    }

    #section-stella .text-block .break,
    #section-stella h2 {
        hyphens: auto;
    }

    #section-lernspeicher p.gree-text {
        padding: 30px 0;
    }

    #section-lernspeicher .pic-block {
        margin-bottom: 14px;
    }

    footer {
        max-width: 79%;
        justify-content: center;
        flex-wrap: wrap;
    }

    a.link {
        padding: 0 5px;
    }

}

.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    list-style: none;
    margin: .2rem 0;
}

.mod_customnav li {
    padding-left: 15px;
    margin-top:0;
}

.invisible {
    display:none;
}

@media print {

    /* Verstecke alle Elemente auf der Seite */
    body * {
        display: none;
    }

    /* Zeige nur die Elemente mit der Klasse .print */
    .print {
        display: block;
    }

    /* Stelle sicher, dass Container der Klasse .print nicht versteckt werden */
    .print * {
        display: block;
    }
}