/** Contact Blocks **/
.contact-block h2 {
    margin-top: 0;
}
.contact-block td,
.contact-block table {
    border: none;
    padding: 0;
}
.entry-content .contact-block img {
    margin-bottom: 0;
}
.vertical-separator {
    text-align: center;
}
.contact-password .thumbnail .caption {
    padding: 0 2em;
    text-align: center;
}
.contact-password .thumbnail .caption table {
    margin: 0 auto; max-width: 63%;
}
.contact-password .thumbnail {
   /* padding-top: 1em;*/
}
.password-content {
    margin-top: 4.5em;
}    
.contact-password .thumbnail .caption .btn {
        width: 100%;
    }
@media screen and (min-width:768px ) {
    .contact-password .thumbnail {
        margin-bottom: 2em;
        box-shadow: 2px 2px 8px #ccc;
    }
    .thumbnail > img {
        margin-top: 2em;
    }

    .contact-password .thumbnail .caption h3,
    .contact-password .thumbnail .caption p {
        color: #565656;
    }


    .contact-password .thumbnail .caption table {
        max-width: 100%;
    }
}

@media screen and (max-width: 990px) {
    .vertical-separator {
        display: none;
    }

    .contact-block h2 {
        margin-top: 1em;
    }

    .contact-block .manager-text {
        margin-bottom: 2em;
    }
}

/** Responsive Timeline **/

.cloud-background {
    background: url('img/geschichte_bg.jpg') no-repeat scroll;
}

.begin-text {
    background: #cc0000;
    padding: 20px 60px;
    box-shadow: 0px 7px 60px #999;
    position:relative;
    border-radius: 1px;
    width: 190px;
    margin: 0 auto;
    text-align: center;
    top: -35px;
}
.begin-text:after {
    content:'';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-top: solid 20px #cc0000;
    border-left: solid 25px transparent;
    border-right: solid 27px transparent;
}

.begin-text .date {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}
.begin-text .begin-subtext {
    font-weight: bold;
    color: #fff;
}

.timeline-footer {
    background: url('img/timeline-footer.png') no-repeat transparent;
    height:100px;
}

#cd-timeline {
    position: relative;
    padding: 2em 0;
    margin-top: 2em;
}
#cd-timeline::before {
    /* this is the vertical line */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 5px;
    background: #ffffff;
    margin-left: -2px;
}
.entry-content {
position: relative;font-size:14px;
}
.now-block .line {
    background: white;
    position: relative;
    height: 101%;
    width: 6px;
    margin: 0 auto;
    z-index: 999;
}

.time-wrapper {
    background: #990000;
    color: white;
    padding: 7px 75px;
    position: absolute;
    left: -120px;
    z-index: 9999;
    min-width: 241px;
    border-radius: 2px;
}

.time-wrapper p {
    font-size: 16px;
    text-align: center;
}

.time-wrapper h5 {
    color: white;
    text-align: center;
    font-size: 20px;
    width: 100%;
    display: block;
    /* background: radial-gradient(ellipse at center, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); */ /* W3C */;
}
.entry-content .padding {
    width: 100%;
    height: 190px;
}
.css-triangle{ 
    position: relative; 
    height: 0px; 
    width: 0px; 
    border-top: 14px solid #990000;
    border-left: 25px solid transparent; 
    border-right: 25px solid transparent; 
    position: absolute;
    top: 106px;
    z-index: 9999;
    left: -23px;
}
.time-wrapper h5:before {
    content: " ";
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.49) -13%,rgba(255,255,255,0) 69%); /* W3C */;
    display: block;
    width: 100%;
    position: absolute;
    height: 89px;
    left: 0;
    top: -41px;
}
.bottom-shadow {
    bottom: -50px;
    position: absolute;
    width: 80%;
    background: rgb(233, 233, 233);
    height: 26px;
    left: 10%;
    z-index: 9999;
    box-shadow: 0px -8px 16px -10px rgba(0, 0, 0, 0.74);
    border-top: solid 2px rgba(255, 255, 255, 0.37);
}
.cd-timeline-block {
    position: relative;
    margin: 2em 0;
}
.cd-timeline-block:after {
    content: "";
    display: table;
    clear: both;
}
.cd-timeline-block:first-child {
    margin-top: 0;
}
.cd-timeline-block:last-child {
    margin-bottom: 0;
}

.cd-timeline-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 65px;
    height: 17px;
    z-index: 10;
    /* margin-left: 35px; */
}
.cd-timeline-content {
    position: relative;
    background: #fff;
    /* padding: 1em; */
    border-right: 4px solid #2177a7;
}
.cd-timeline-content:after {
    content: "";
    display: table;
    clear: both;
}
.cd-timeline-content h2 {
    color: #990000;
}

.cd-timeline-content p {
    margin: 1em 0;
    line-height: 1.6;
}

.cd-timeline-content:nth-child(odd) {
    border-right: none;
    border-left: 4px solid #2177a7;
}

.multi-block .cd-timeline-block {
    margin: 0;
    margin-bottom: 3px;
}
.now-block {
    position: absolute;
    height: 100%;
    left: 49.8%;
}

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

    
    .cd-timeline-content:nth-child(even) .col-md-5 {
        float: left !important;
    }
    .cd-timeline-content .col-md-5 {
        /* float: right; */
    }
    .cd-timeline-img {
        background:url('img/geschichte-pin.png') no-repeat transparent;
    
}
    .cd-timeline-content h2 {
        font-size: 35px;
        font-size: 2.25rem;
    }
    .cd-timeline-content p {
        font-size: 16px;
        font-size: 1rem;
    }
    .cd-timeline-content {
        padding: 0 1.6em;
        width: 45%;
    
        float: left;
}
    .cd-timeline-block:nth-child(even) .cd-timeline-content {
        float: right;
        border-left: 4px solid #2177a7;
        border-right: 0;
    }
    .multi-block .cd-timeline-content {
        float: right !important;
        border-left: 4px solid #2177a7 !important;
        border-right: 0 !important;
        -webkit-box-shadow: 0 4px 4px -2px #ccc;
        -moz-box-shadow: 0 4px 4px -2px #ccc;
        box-shadow: 0 4px 4px -2px #ccc;
    }

    .multi-block .cd-timeline-block:not(:first-child) .cd-timeline-img.cd-picture {
        display: none;
    }

    .cd-timeline-block:nth-child(odd) .cd-timeline-content .col-md-5 {
        float: right !important;
    }
    .multi-block .cd-timeline-block:nth-child(odd) .cd-timeline-content .col-md-5 {
        float: left !important;
    }

    .cd-timeline-block:nth-child(odd) .cd-timeline-img {
        transform: rotate(180deg);
        top: 50%;
        left: 44.3%;
    }
    .multi-block .cd-timeline-block:nth-child(odd) .cd-timeline-img {
        transform: rotate(0deg);
        top: 50%;
        left: 50.3%;
    }
}
.multi-block.right-align .centerer {
    border-left: none !important;
    border-right: solid 1px #e5e5e5 !important;
}

.multi-block.right-align .col-md-5 {
    float: left !important;
}
