@font-face {
    font-family: 'Muller';
    src: url('../fonts/Muller-Thin-DEMO.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Muller';
    src: url('../fonts/Muller-ExtraBold-DEMO.ttf') format('truetype');
    font-weight: bold;
}

html,
body {
    /*font-family: 'Muller';*/
}

.bg-zib {
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

#slider {
    background-image: url('../images/zib-back.jpg');
    background-position: top center;
    background-size: cover;
    height: 650px;
}

#slider div {
    height: inherit;
}

@media (max-width: 900px) {
    #slider {
        min-height: 0;
    }
}

.ziblist {
    list-style: none;
}

.ziblist li::before {
    content: "\25AA";
    color: #DD006D;
    font-weight: bold;
    font-size: 1.4em;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.ausbildungsbild {
    max-height: 360px;
}

#footersocial li+li {
    margin-left: 10px;
}

#prefooter {
    overflow: hidden;
}

section {
    width: 100%;
}

section.zibborder {
    position: relative;
}

.contentleft {
    height: auto !important;
}

section.zibborder:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 50px;
    height: 26px;
    background-image: url('../images/squares.png');
    background-size: cover;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    border-top: inherit;
    border-top-color: transparent;
    z-index: 9997;
}

h1.zibhone,
h3.zibhthree {
    color: #0141B1;
}

h5.zibhfive {
    color: #0141B1;
    font-size: 1.1rem;
    text-align: center;
}

h1.zibhone span.zibhead,
h3.zibhthree span.zibhead,
h5.zibhfive span.zibhead {
    color: #DD006D;
}

.fazit {
    text-transform: uppercase;
    /*font-weight: bold;*/
}

.fazit:before {
    content: ' ';
    display: block;
}

#educationsection,
#ausbildungssection {
    background-color: #FFF;
}

#auszeichnungssection {
    background-color: #DDD;
}

#willkommensection,
#massnahmensection,
#stimmensection {
    background-color: #cfd5e4;
    min-height: 250px;
    color: #555;
}

#kontaktsection {
    background-color: #c5ced3;
}

::placeholder {
    color: #DD006D;
    opacity: 1;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #DD006D;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #DD006D;
}

.border-zib {
    border: 1px solid #0141B1;
}

.btn-zib {
    background-color: #0141B1;
    border-color: #0141B1;
    color: #CCC;
}

.btn-zib:hover {
    background-color: #0141B1;
    border-color: #0141B1;
    color: #CCC;
}

h3 {
    text-align: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 50px;
}

.subhead {
    text-align: center;
    font-size: 1.2em;
    width: 100%;
    display: block;
}

footer {
    min-height: 60px;
    background-color: #5B6266;
    color: #FFF;
}

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

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

#zibnav {
    padding: 0;
    -webkit-box-shadow: 10px 10px 22px 0px rgba(0, 0, 0, 0.29);
    -moz-box-shadow: 10px 10px 22px 0px rgba(0, 0, 0, 0.29);
    box-shadow: 10px 10px 22px 0px rgba(0, 0, 0, 0.29);
}

#zibcollapse,
#zibcollapse>ul,
#zibcollapse>ul>li {
    height: 100%;
}

#zibnav ul li>a:hover:before {
    content: "";
    display: block;
    width: 0%;
    border-top: solid 2px #53a58c;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: absolute;
    bottom: 0;
    top: 30px;
    left: 0;
    right: 0;
    margin: auto;
}

#zibnav li>a:hover {
    /*    background-color: #ced4da;
    color: #5B6266;*/
}

#zibnav li ul li {
    width: 100%;
    border: 0;

}

#zibnav li ul li a {
    border: 0;
}

#zibnav .navbar-toggler {
    z-index: 9999;
}

.overflow-hidden {
    overflow: hidden;
}

@media (max-width: 998px) {
    .bg-zib {
        background-color: rgba(255, 255, 255, 1);
    }

    #zibnav ul {
        padding-left: 10px;
    }

    #page {
        margin-top: 68px;
    }

    #slider {
        height: 600px;
        background-position: 68% 50%;
    }

    h1.zibhone {
        text-align: center;
    }

    footer {
        text-align: center;
    }

    #footernavi {
        margin-top: 5px;
    }

    #footersocial {
        float: none;
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
        margin-bottom: 10px;
    }
}

@media screen and (min-width: 768px) {

    .carousel-inner .active,
    .carousel-inner .active+.carousel-item {
        display: block;
    }

    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left),
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)+.carousel-item {
        -webkit-transition: none;
        transition: none;
    }

    .carousel-inner .carousel-item-next,
    .carousel-inner .carousel-item-prev {
        position: relative;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .carousel-inner .active.carousel-item+.carousel-item+.carousel-item+.carousel-item {
        position: absolute;
        top: 0;
        right: -50%;
        z-index: -1;
        display: block;
        visibility: visible;
    }

    /* left or forward direction */
    .active.carousel-item-left+.carousel-item-next.carousel-item-left,
    .carousel-item-next.carousel-item-left+.carousel-item {
        position: relative;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }

    /* farthest right hidden item must be abso position for animations */
    .carousel-inner .carousel-item-prev.carousel-item-right {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        display: block;
        visibility: visible;
    }

    /* right or prev direction */
    .active.carousel-item-right+.carousel-item-prev.carousel-item-right,
    .carousel-item-prev.carousel-item-right+.carousel-item {
        position: relative;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}

/* Desktop and up */

@media screen and (min-width: 992px) {

    .carousel-inner .active,
    .carousel-inner .active+.carousel-item,
    .carousel-inner .active+.carousel-item+.carousel-item {
        display: block;
    }

    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left),
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)+.carousel-item,
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)+.carousel-item+.carousel-item {
        -webkit-transition: none;
        transition: none;
    }

    .carousel-inner .carousel-item-next,
    .carousel-inner .carousel-item-prev {
        position: relative;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .carousel-inner .active.carousel-item+.carousel-item+.carousel-item+.carousel-item {
        position: absolute;
        top: 0;
        right: -33.3333%;
        z-index: -1;
        display: block;
        visibility: visible;
    }

    /* left or forward direction */
    .active.carousel-item-left+.carousel-item-next.carousel-item-left,
    .carousel-item-next.carousel-item-left+.carousel-item,
    .carousel-item-next.carousel-item-left+.carousel-item+.carousel-item,
    .carousel-item-next.carousel-item-left+.carousel-item+.carousel-item+.carousel-item {
        position: relative;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }

    /* farthest right hidden item must be abso position for animations */
    .carousel-inner .carousel-item-prev.carousel-item-right {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        display: block;
        visibility: visible;
    }

    /* right or prev direction */
    .active.carousel-item-right+.carousel-item-prev.carousel-item-right,
    .carousel-item-prev.carousel-item-right+.carousel-item,
    .carousel-item-prev.carousel-item-right+.carousel-item+.carousel-item,
    .carousel-item-prev.carousel-item-right+.carousel-item+.carousel-item+.carousel-item {
        position: relative;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}

.carousel-item {
    min-height: 320px;
}