
* {
    padding: 0;
    margin: 0
}

html {
     min-height: 100%;
}
body {
    font: normal 100.1%/110% 'Open Sans', sans-serif!important;
    background-color: #04305D;
    overflow-y: scroll;
    position: relative;
    min-height: 75rem;
}



.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
  
    background-color: #fff;
    color: #04305D;
    padding: 15px;
}

.footer a {
    color: #04305D;
}


.footer a:hover {
    color: #333;
}





/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
    
}

.footer > .container {
    padding: 0;

}


h1,h2,h3,h4,h5,p,li,a {
    
    /*text-shadow: 2px 2px 1px rgba(0, 0, 0, 1);   */
}

.btn-link,
a {
    color: #eee;
}
.btn-link:focus,
.btn-link:hover,
a:focus,
a:hover {
    color: #bebebe;
}


.text-small {
    font-size: .85em;
    font-weight: normal;
}

 .navbar-header {

 }


.navbar-brand {
    line-height: 70px;
    height: 70px;
    padding-top: 0;
}




.navbar-custom {
     background-color: #fff;
    border-bottom: 1px solid  #D0D3D7;
     padding: 10px 30px;
     font-size: .9em;
    -webkit-box-shadow: 2px 2px 3px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    2px 2px 3px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         2px 2px 3px 0px rgba(50, 50, 50, 0.75);
 }


@media (max-width: 992px) {
   /*
    .navbar-brand {
        line-height: 20px;
        height: 40px;
    }

    .navbar-custom {
        background-color: #fff;
        border-color: #04305D;
        padding: 0 0 20px 0;

    }
    */
}


@media (max-width: 768px) {

    .navbar-brand {
        line-height: normal;
        height: 40px;
        padding-top: 0;
    }


    .navbar-custom {
        padding: 10px;
    }
}


.navbar-custom .navbar-nav > li {
    display: inline;
    margin:0;
    padding:0;
}

.navbar-custom .navbar-nav > li + li {
    border-left: 1px solid;
    margin-left:.5em;
    padding-left:.5em;
}

.navbar-custom .navbar-nav > li.home-mobil + li {
    border: none;
}



@media (max-width: 992px) {

    .navbar-custom .navbar-nav > li a {
        padding-bottom: 10px!important;
    }

    .navbar-custom .navbar-nav > li + li {
        border-left: none;
        margin-left:0;
        padding-left:0;
    }

}

/*
.navbar-custom .navbar-nav > li + li:before {
    content: " | ";
}
*/


.navbar-custom .navbar-nav a.nav-link {
    color: #04305D;
    margin:0;
    padding:0;
    font-weight: bold;
}
.navbar-custom .navbar-nav a.nav-link:hover,
.navbar-custom .navbar-nav a.nav-link:focus {
    color: #c0c0c0;
    background-color: transparent;
}
.navbar-custom .navbar-nav a.nav-link.active,
.navbar-custom .navbar-nav a.nav-link.active:hover,
.navbar-custom .navbar-nav a.nav-link.active:focus {
    color: #04305D;
    background-color: transparent;
    border-bottom: 2px solid #04305D;
}
.navbar-custom .navbar-nav > .disabled > a,
.navbar-custom .navbar-nav > .disabled > a:hover,
.navbar-custom .navbar-nav > .disabled > a:focus {
    color: #ccc;
    background-color: transparent;
}
.navbar-custom .navbar-toggle {
    border-color: #ddd;
    background-color: inherit;
    position: relative;
   /* z-index: 1000;*/
}
.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
    background-color: #ddd;
}
.navbar-custom .navbar-toggle .icon-bar {
    background-color: #888;
}
.navbar-custom .navbar-collapse,
.navbar-custom .navbar-form {
    border-color: transparent;
}
.navbar-custom .navbar-nav > .open > a,
.navbar-custom .navbar-nav > .open > a:hover,
.navbar-custom .navbar-nav > .open > a:focus {
    color: #6c757d;
    background-color: #e7e7e7;
}

@media (max-width: 991px) {
    .navbar-custom .navbar-nav a.nav-link.active,
    .navbar-custom .navbar-nav a.nav-link.active:hover,
    .navbar-custom .navbar-nav a.nav-link.active:focus {
        color: #6c757d;
        background-color: transparent;
        border-bottom: none;
    }
}

@media (max-width: 767px) {


    .navbar-custom .navbar-nav .open .dropdown-menu > li > a {
        color: #777;

    }
    .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #333;
        background-color: transparent;
    }
    .navbar-custom .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #6c757d;
        background-color: #e7e7e7;
    }
    .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a,
    .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #ccc;
        background-color: transparent;
    }
}
.navbar-custom .navbar-link {
    color: #777;
}
.navbar-custom .navbar-link:hover {
    color: #333;
}
.navbar-custom .btn-link {
    color: #777;
}
.navbar-custom .btn-link:hover,
.navbar-custom .btn-link:focus {
    color: #333;
}
.navbar-custom .btn-link[disabled]:hover,
fieldset[disabled] .navbar-custom .btn-link:hover,
.navbar-custom .btn-link[disabled]:focus,
fieldset[disabled] .navbar-custom .btn-link:focus {
    color: #ccc;
}

.in .navbar-nav li > a {
    padding: 15px;
    border-bottom:1px dotted #6c757d;
    color: #04305D;
}

.in .navbar-nav li > a:hover {
    background-color: #f1f1f3;
    color: #04305D;
}

.navbar-brand {
    display: block;
    padding: 0 30px ;
}

.logo {
}

@media (max-width: 992px) {
    .logo {
        width: 80%;
        padding: 0;
    }

    .navbar-brand {
        display: block;
        padding: 5px 0;
    }
}


@media (max-width: 543px) {
    .logo {
        width: 60%;
        padding: 0;
    }

    .navbar-brand {
        display: block;
        padding: 5px 0;
    }
}



.lang-menu {
    /*position: fixed;
    top: 49px;
    right:50px;
    width: 50px;*/
    position: relative;
    display: inline-block;
}

/*
@media (max-width: 1024px) {

    .lang-menu {
        position: fixed;
        margin-right: 20px;
        padding-top: 0px;
        padding-left: 5px;
    }

}

@media (max-width: 992px) {
    .lang-menu {
        float: none;
        position: absolute;
        z-index: 100000;
        padding:0;
        margin: 0;
        top: 60px;
        right:60px;
    }
}


*/
.collapse.collapsing .navbar-collapse,
.collapse.show .navbar-collapse,
.collapse.collapsing .lang-menu,
.collapse.show .lang-menu {
    margin-top: 20px;
}
.navbar-toggler .toggle-icon-times{display: block;}
.navbar-toggler .toggle-icon-bars{display: none;}

.navbar-toggler.collapsed .toggle-icon-times{display: none;}
.navbar-toggler.collapsed .toggle-icon-bars{display: block;}


.lang-menu li {
    padding-right: 5px;
    display: inline-block;
    width: 20px;
}

.lang-menu li > a {
    background-repeat: no-repeat;
     width: 20px;
     height: 14px;
    padding: 0;
    display: block;
 }

.lang-menu li > a > span {
    display: block;
    text-indent: -9999px;

}

.lang-menu li > a.de {
    background-image: url('../img/flag_de_inactive.png');
}

.lang-menu li.active > a.de {
   background-image: url('../img/flag_de_active.png');
}

.lang-menu li > a.de:hover,
.lang-menu li > a.de:focus {
    background-image: url('../img/flag_de_active.png');
}

.lang-menu li > a.gb {
    background-image: url('../img/flag_gb_inactive.png');
}

.lang-menu li.active > a.gb {
    background-image: url('../img/flag_gb_active.png');
}

.lang-menu li > a.gb:hover,
.lang-menu li > a.gb:focus {
    background-image: url('../img/flag_gb_active.png');
}

.lang-menu li > a.hu {
    background-image: url('../img/flag_hu_inactive.png');
}

.lang-menu li.active > a.hu {
    background-image: url('../img/flag_hu_active.png');
}

.lang-menu li > a.hu:hover,
.lang-menu li > a.hu:focus {
    background-image: url('../img/flag_hu_active.png');
}

.lang-menu li > a.pl {
    background-image: url('../img/flag_pl_inactive.png');
}

.lang-menu li.active > a.pl {
    background-image: url('../img/flag_pl_active.png');
}

.lang-menu li > a.pl:hover,
.lang-menu li > a.pl:focus {
    background-image: url('../img/flag_pl_active.png');
}


.lang-menu li > a.ro {
    background-image: url('../img/flag_ro_inactive.png');
}

.lang-menu li.active > a.ro {
    background-image: url('../img/flag_ro_active.png');
}

.lang-menu li > a.ro:hover,
.lang-menu li > a.ro:focus {
    background-image: url('../img/flag_ro_active.png');
}

/****** Sektionen *********/

.main {

    /*padding-top: 130px;*/
}

.btn-link {
    white-space: normal;
}


.section-content p {
    font-size: 1.1em;
    line-height: 1.4em;
}

.has-error > select,
.has-error > input {
    
    border: 1px solid  red!important;
}

.help-block {
    color: red;
}


.section-content ul {
    margin:0;
    padding: 0 15px 15px 15px;
}


.section-content li {
    padding: 0 0 0 10px;
    list-style: none;
    position: relative;
    line-height: 1.6em;
}

.section-content li:before {
    font-family: "Font Awesome 5 Pro";
    content: "\f04b";
    position: absolute;
    left: -10px;
    font-size: .8em;
}


ul.list-unstyled {
    padding:0;
    margin:0;
}

ul.list-unstyled li {
    padding:0;
    margin:0;
    line-height: normal;
}


ul.list-unstyled li:before {
    content: '';
}

section {
    position: relative;
    display: block;
}

section#home {
    /*background-image: url(/img/bg_lederer-gebaeude.jpg);
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/bg_lederer-gebaeude.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/bg_lederer-gebaeude.jpg',sizingMethod='scale')";
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover; */
    padding: 0!important;
    margin: 0!important;
    height: 100vh;
    color: #fff;
}

section#home a {
    color:#fff;
}
section#home a:hover {
    color: #6c757d;
}
section#home .contenthead {
    color:#fff;
    padding-top: 100px;

}

section.section-text {
    padding: 0!important;
    margin: 0!important;
    color: #fff;
}


.section-image {

    backface-visibility: hidden;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: transparent;
    height: 100vh;
    left: 0;
    opacity: 1;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 0;
}

.section-image.section-image-1 {
    background-image: url(../img/bg-section.jpg);
    background-position: center top;
}


.section-image.section-image-2 {
    background-image: url(../img/bg-home.jpg);
}


@media (max-width: 1024px) {
    .section-image {
        background-image: url(../img/bg-home.jpg);
        backface-visibility: hidden;
        background-position: center top;
        background-attachment: scroll;
        height: 350px;
    }
}

@media (max-width: 767px) {
    .section-image {
      height: 150px;
    }
}


.section-content {
    position: relative;
    width: 100%;
    
}


#fachbereiche.section-content {
    background-color: #fff;
    color: #000;
    padding: 50px 0!important;
}


#kontakt.section-content {
    background-color: #6c757d;
    color: #fff!important;
    padding: 50px 0;
}


#lederer.section-content,
#bewerbung.section-content {
    background-color: transparent;
    color: #fff!important;
    padding: 50px 0;
}





.contenthead {
    margin: 50px 0 50px 0;
    text-transform: uppercase;
    position: relative;
    z-index: 999;
}



.card-body h5 {
    font-weight: bold;
    color: #717779;
}

.button-bewerb {
    position: absolute;
    bottom: 20px;
    right: 0;
}

@media (max-width: 991px) {

    .contenthead {
        margin: 20px 0 10px 0;
    }

    .section-content {
        padding: 20px 0!important;
    }

    .card-body h5 {
        padding-top: 20px;
    }

    .button-bewerb {
        position: static;

    }
}


.contenthead h1{
    font-size: 2.2em;
}

@media (max-width: 767px) {
    .contenthead h1{
        font-size: 1.7em;
    }
}


h1.special {
    font-size: 3vw;
    line-height: 3em;
    text-align: center;
    font-weight: bold;
}

h2.special {
    font-size: 1.7em;
    line-height: 2em;
    text-align: center;
    margin-top: 50px;
    font-weight: bold;
}

p.special {
    font-size: 1.2em;
    line-height: normal;
    text-align: center;
    margin-top: 50px;
    font-weight: bold;
}


@media (max-width: 768px) {
    h1.special {
        font-size: 3.5vw;
        line-height: 3em;
        text-align: center;

    }

    h2.special {
        font-size: 3.5vw;
        line-height: 2em;
        text-align: center;
        margin-top: 50px;
    }
}






/*** Masonry  ***/

.masonry-boxes {
    text-shadow: none;
}

.grid-item-content {
    background-color: #ffffff;
    width: 100%;
    margin: 0 0 30px 0;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}

.grid-item-content img {
   max-width: 100%;
}

.grid-item-content  h3 {
    border-left: 100px solid #5e5e5e;
    padding: 0 0 0 10px;
    font-size: .9em;
    color: #000!important;
    text-transform: uppercase;
}

.grid-offset-top {
    margin-top: 100px;
}


@media (max-width: 768px) {
    .grid-offset-top {
        margin-top: 0;
    }

}


@media (max-width: 1024px) {


    .grid-item-content  h3 {
        border-left: 50px solid #5e5e5e;
    }
}


 .mason-text {
   padding: 10px;
   margin-bottom: 40px;
 }

.mason-text li,
.mason-text h3,
.mason-text p {
    color: #000!important;
    font-size: .9em;
    font-weight: normal;
}



.mason-links {
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.mason-links > div {
   margin: 10px;
    border-top: 1px solid #5e5e5e;
    padding: 10px 0 10px 0;
}

.mason-links a {
    color: #0f0f0f;
}


.mason-text ul {
    margin: 20px 0 0 10px!important;
     padding: 0;
}

.mason-text ul > li {
    margin: 0!important;;
    padding: 0!important;
    max-width: 95%;
}


/********** Crossfade  *************************/

.crossfade > figure {
    animation: imageAnimation 36s linear infinite 0s;
    backface-visibility: hidden;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: transparent;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

@media (max-width: 1024px) {
    .crossfade > figure {
        background-attachment: scroll;
        height: 100%;
    }
}


.crossfade > figure:nth-child(1) {
    background-image: url('/img/bg_lederer-gebaeude.jpg');
}
.crossfade > figure:nth-child(2) {
    animation-delay: 6s;
    background-image: url('/img/Gebaeude_3.jpg');
}
.crossfade > figure:nth-child(3) {
    animation-delay: 12s;
    background-image: url('/img/Gebaeude_4.jpg');
}
/**/
.crossfade > figure:nth-child(4) {
    animation-delay: 18s;
    background-image: url('/img/bg_lederer-gebaeude.jpg');
}
.crossfade > figure:nth-child(5) {
    animation-delay: 24s;
    background-image: url('/img/Gebaeude_3.jpg');
}

.crossfade > figure:nth-child(6) {
    animation-delay: 30s;
    background-image: url('/img/Gebaeude_4.jpg');
}

@keyframes imageAnimation {
    0% {
        animation-timing-function: ease-in;
        opacity: 0;
    }
    8% {
        animation-timing-function: ease-out;
        opacity: 1;
    }
    17% {
        opacity: 1
    }
    25% {
        opacity: 0
    }
    100% {
        opacity: 0
    }
}


/*** Formular ***/

form.form-custom {
    margin: 50px 0;
}

form.form-custom label{
    color: #ffffff;
    font-weight: normal;
}

.form-input-inline-30 {
    display: inline-block;
    width: 29%;
}

.form-input-inline-70 {
    display: inline-block;
    width: 70%;
}

form .error {
    border:1px solid red;
    background-color: #f4cad4
}


.alert-info {
    background-color: #04305D;
    border-color: #04305D;
    color: #fff;
}

.alert-info p {
    text-shadow: none;
    color: #fff;
}

.alert-info hr {
    border-top-color: #a6e1ec;
}
.alert-info .alert-link {
    color: #245269;
}



/*------------------------------------------------------------------
[ Back to Top / #back-to-top ]
*/
#back-to-top {
    position: fixed;
    right: 20px;
    bottom: 50px;
    z-index: 9999;
    width: 45px;
    height: 45px;
    display: block;
    background: #9DB5CD;
    background: rgba(157, 181, 205, 0.7);
    font-size: 16px;
    text-align: center;
    line-height: 45px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
}
#back-to-top:hover {
    text-decoration: none;
    background-color: #BECEDE;
    background: rgba(190, 206, 222, 0.7);
}
#back-to-top i {
    color: #fff;
    padding-top: 5px;
}

.impressum .content {
    font-size: .8em!important;
    color: #fff;
    padding:0 50px;
}

.impressum .content h2{
    font-size: 1.5em;
}


.impressum .content h3{
    font-size: 1.4em;
}

.impressum .content h4{
    font-size: 1.2em;
}

.impressum .content ul,
.impressum .content li {
    margin-left: 5px;
    padding-left: 0;
}


.impressum .content a {
    color: #ccc;
}

.impressum .back {
    position: absolute;
    top: 50px;
    right: 50px;
    color: #04305D;
}