@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    background-color: #ddd;
    overflow-x: hidden; 
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #fff;
}

h1, h2 {
    font-weight: 400;
    line-height: 1.2;
    margin: 10px 0;
}

p {
    margin: 10px 0;
}

img {
    width: 100%;
}

.navbar {
    background-color: #35424a;
    color: #fff;
    height: 70px;
    border-bottom: #e8491d 4px solid;
}

.navbar .flex {
    justify-content: space-between;
}

.navbar-title {
    display: flex;
}

.navbar img {
    height: 50px;
    width: auto;
    padding-top: 10px;
    margin-right: 20px;

}

.navbar ul {
    display: flex;
}

.navbar a h2 {
    color: #fff;
    padding: 10px;
    margin: 0 10px;
}

.navbar a .current {
    color: #0aaefe;
}

.navbar a h2:hover {
    color: #0aaefe;    
}

.navbar .flex {
    justify-content: space-between;
}

.breadcrumbs ul, user ul {
    display: flex;
}

.breadcrumbs ul li, .user ul li {
    display: inline-block;
    margin-left: 7px;
    color: blue;
    font-size: smaller;
}

.breadcrumbs ul li a, .user ul li a{
    color:  darkblue;
}

#breadcrumb-home {
    margin-left: 0;
}

#logged-in {
    color: #000;
}
.user {
    text-align: right;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    overflow: auto;
    padding: 0 40px;
}

.container2 {
    max-width: 1200px;
    margin: 0 auto;
    overflow: auto;
    padding: 0 40px;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.subheader {
    display: inline-block;
}

.subheader img {
    width: 100%;
}

.page-title {
    display: flex;
}

.page-title h3 {
    font-size: 32px;
    font-weight: normal;
}

.page-title h4 {
    font-size: 24px;
    font-weight:lighter;
}

.intro {
    margin-bottom: 2rem;
}

.intro img {
    width: 265px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    margin-right: 5px;
}

.panels {
    margin-bottom: 2rem;
}

.panel {
    position: relative;
}

.panel img {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.panel-text {
    position: absolute;
    top: 65%;
    width: 100%;
    text-align: center;
    font-weight: bold;
    line-height: normal;
    color: #fff;
    font-size: 1.6rem;
    transition: transform 0.3s ease-in;
    text-shadow: 1px 3px 3px #000;
}

.panel-text:hover {
    transform: translateY(-20px);
}

.front-text {
    padding-top: 0;
    margin-top: 0;
}

.front-main img {
    width: 75%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.front-main .card{
    margin-top: 5px;
}

.front-main .card > i {
    margin-right: 5px;
}

.front-main  > *:first-child {
    grid-column: 1 / span 2;
    grid-row: 1 / span 1;
}

.front-main  > *:nth-child(2) {
    grid-column: 3 / span 6;
}

.front-main  > *:nth-child(3) {
    grid-column: 1 / span 2;
    margin-left: 0;
}

.front-main  > *:nth-child(4) {
    grid-column: 3 / span 2;
}

.front-main  > *:nth-child(5) {
    grid-column: 5 / span 2;
    margin-right: 0;
}
.front-main  > *:nth-child(6) {
    grid-column: 7 / span 2;
    margin-right: 0;
}

.page-text {
    padding-top: 0;
    margin-top: 0;
}

.page-main img {
    width: 100%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.page-main .card{
    margin-top: 5px;
}

.page-main .card > i {
    margin-right: 5px;
}

.page-main  > *:first-child {
    grid-column: 1 / span 2;
    grid-row: 1 / span 1;
}

.page-main  > *:nth-child(2) {
    grid-column: 3 / span 6;
}

.page-main  > *:nth-child(3) {
    grid-column: 1 / span 2;
    margin-left: 0;
}

.page-main  > *:nth-child(4) {
    grid-column: 3 / span 2;
}

.page-main  > *:nth-child(5) {
    grid-column: 5 / span 2;
    margin-right: 0;
}
.page-main  > *:nth-child(6) {
    grid-column: 7 / span 2;
    margin-right: 0;
}



.filler1 {
    margin-bottom: 40px;
}

.ab-impressionen img {
    max-height: 92px;
    margin-bottom: 30px;
    cursor: pointer;
}

.loko, .loko2 {
    flex-direction: column;
    text-align: center;
}

.loko2 video {
    width: 100%;
}

.loko p {
    margin-top: 0;
    font-weight: bold;
}

.loko2 p {
    margin-top: 0;
}

.zug-detail {
    align-items: flex-start;
}

/* Slideshow 'A' */
#slideshow, .slideshow-wrap, .slide {
    width: 100%;
    height: 100vh;
    position: relative;
}

.slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide01 {background-image: url('../img/ab_impressionen_01.jpg')}
.slide02 {background-image: url('../img/ab_impressionen_02.jpg')}
.slide03 {background-image: url('../img/ab_impressionen_03.jpg')}
.slide04 {background-image: url('../img/ab_impressionen_04.jpg')}
.slide05 {background-image: url('../img/ab_impressionen_05.jpg')}
.slide06 {background-image: url('../img/ab_impressionen_06.jpg')}
.slide07 {background-image: url('../img/ab_impressionen_07.jpg')}
.slide08 {background-image: url('../img/ab_impressionen_08.jpg')}
.slide09 {background-image: url('../img/ab_impressionen_09.jpg')}
.slide10 {background-image: url('../img/ab_impressionen_10.jpg')}
.slide11 {background-image: url('../img/ab_impressionen_11.jpg')}
.slide12 {background-image: url('../img/ab_impressionen_12.jpg')}
.slide13 {background-image: url('../img/ab_impressionen_13.jpg')}
.slide14 {background-image: url('../img/ab_impressionen_14.jpg')}
.slide15 {background-image: url('../img/ab_impressionen_15.jpg')}
.slide16 {background-image: url('../img/ab_impressionen_16.jpg')}

.arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -26px;
    width: 0;
    height: 0;
    border-style: solid;
}

#arrow-left {
    border-width: 30px 40px 30px 0;
    border-color: transparent #fff transparent transparent;
    left: 0;
    margin-left: 30px;
}

#arrow-right {
    border-width: 30px 0 30px 40px;
    border-color: transparent transparent transparent #fff;
    right: 0;
    margin-right: 30px;
}

#show-close {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 60px;
    font-weight: bolder;
}

/* Slideshow 'Z' */
#z-slideshow, .z-slideshow-wrap, .z-slide {
    width: 100%;
    height: 100vh;
    position: relative;
}

.z-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.z-slide01 {background-image: url('../img/zug_01_roterPfeil_h.jpg')}
.z-slide02 {background-image: url('../img/zug_02_roterDoppelpfeil_h.jpg')}
.z-slide03 {background-image: url('../img/zug_03_re4_4_I_h.jpg')}
.z-slide04 {background-image: url('../img/zug_04_gueterzug_h.jpg')}
.z-slide05 {background-image: url('../img/zug_05_re4_4_II_h.jpg')}
.z-slide06 {background-image: url('../img/zug_06_kolibri_h.jpg')}
.z-slide07 {background-image: url('../img/zug_07_pendler_h.jpg')}
.z-slide08 {background-image: url('../img/lok_01_c5_6.jpg')}
.z-slide09 {background-image: url('../img/lok_02_ce4_6.jpg')}
.z-slide10 {background-image: url('../img/lok_03_re4_4_I.jpg')}
.z-slide11 {background-image: url('../img/lok_04_re4_4_II.jpg')}
.z-slide12 {background-image: url('../img/lok_05_ae6_8.jpg')}
.z-slide13 {background-image: url('../img/lok_06_ae4_7.jpg')}
.z-slide14 {background-image: url('../img/lok_07_ae8_8.jpg')}
.z-slide15 {background-image: url('../img/zug_detail_01.jpg')}
.z-slide16 {background-image: url('../img/zug_detail_02.jpg')}
.z-slide17 {background-image: url('../img/zug_detail_03.jpg')}
.z-slide18 {background-image: url('../img/zug_detail_04.jpg')}
.z-slide19 {background-image: url('../img/zug_detail_05.jpg')}
.z-slide20 {background-image: url('../img/zug_detail_06.jpg')}
.z-slide21 {background-image: url('../img/zug_detail_07_h.jpg')}

.z-arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -26px;
    width: 0;
    height: 0;
    border-style: solid;
}

#z-arrow-left {
    border-width: 30px 40px 30px 0;
    border-color: transparent #fff transparent transparent;
    left: 0;
    margin-left: 30px;
}

#z-arrow-right {
    border-width: 30px 0 30px 40px;
    border-color: transparent transparent transparent #fff;
    right: 0;
    margin-right: 30px;
}

#z-show-close {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 60px;
    font-weight: bolder;
}

.thumb {
    cursor: pointer;
}

.rf-register img {
    width: 35%;
    margin-bottom: 20px;
}

.rf-register a {
    color: blue;
}

.input-box {
    grid-template-columns: 1fr 3fr;
}

.cat-card a, .cat-card h3{
    margin-top: 0;
    margin-bottom: 0;
}

.input-btn {
    align-items: center ;
}

footer {
    display: block;
    margin-top: 10px;
    padding-top: 8px;
    height: 46px;
    color: white;
    background-color: #e8491d;
}

footer p {
    margin: 0 20px;
    font-weight: 400;
    text-align: center;
}

/* Tablet view */
@media(max-width: 1200px) {
    /*
    .navbar {
        height: 100px;  
    }
    */
    .navbar img {
        height: 25px;
        width: auto;
        margin-top: 3px;
        margin-right: 10px;
    }

    .navbar-title {
        margin-top: 10px;
    }

    .logo {
        font-size: medium;
    }
    
    .navbar nav {
        margin-top: 14px;
    }
    
    .navbar h2 {
        font-size: small;
    }
    
    .breadcrumbs, .user {
        font-size: small;
    }

    .page-title {
        margin: 0 5px;
    }

    .front-text, .px-1 {
        padding: 0;
    }


}

/* Mobile view */
@media(max-width: 500px) {
/*
    .navbar {
    height: 110px;
  }

  navbar .flex {
    flex-direction: column;
  }

  .navbar ul {
    padding: 10px;
    background-color: rgba(0, 0, 0 , 0.1);
  }
*/

}
