/* Created by Content Blocks */
.card {
 	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
    height:auto;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: none !important;
	border-radius: 0;
    box-shadow:none;
    -webkit-box-shadow:none;
    -moz-box-shadow: none; 
   transition: all 600ms; 
    top: 0; /* start transitioning from position '0' instead of 'auto' */
    
 
}


h5.card-title {
	font-size: 22px;
	font-weight: 500;
	color: var(--clr-quar);
	margin-bottom: 8px;
	line-height: 100%;
}


.card p {
    font-size:17px; 
    line-height:140%; 
    margin-bottom:8px;
}

.card p:last-of-type {
    margin-bottom:0px !important; 
}

.card img {
    /* width:100% !important; */
    height:auto;
    margin: auto;
  display: block;
}



/* Megura Geschichte */
.history .card-body {
    display: flex;
    flex-direction:row; 
    gap:60px;
    flex-grow:1;
}

.history.right .card-body {
    flex-direction: row-reverse;
    position:relative; 
}

.history.left .card-body {
    flex-direction:row; 
    position:relative; 
}

.history .card-body h5 {
    display:inline-block;
    font-family:var(--ff-prim);
    font-size:66px;
    color:var(--clr-prim); 
    width:50%;
    flex-grow:1;
    flex-shrink:1;
}

.history.left .card-body h5 {
    text-align:right; 
}

.history .card-body .card-text:after {
    content: '';
  border-right: 2px solid #ccc;
  display: block;
  height: calc(100% - 1rem);
  position: absolute;
  top: 1rem;
  right: 50%;
}

.history.left .card-body .card-text,
.history.right .card-body .card-text {
    width:50%;
    flex-grow:1; 
    flex-shrink:1;
    padding-bottom:30px; 
}




@media screen and (max-width: 1600px) { 
   
    .history .card-body {
        gap: 40px;
    }

    .history .card-body h5 {
        width: 40%;
    }

    .history.left .card-body .card-text, .history.right .card-body .card-text {
        width: 60%;
    }

    .history.left .card-body .card-text:after {
      right: 58%;
    }

    .history.right .card-body .card-text:after {
        left: 58%;
    }
    .history .card-body h5 {
        font-size:52px;
    }
}


@media screen and (max-width: 1240px) { 
   
    .history .card-body h5 {
        width: 20%;
    }

    .history.left .card-body .card-text, .history.right .card-body .card-text {
        width: 80%;
    }

    .history .card-body .card-text::after {
        height: 100%;
        top: 0;
    }

    .history.left .card-body .card-text:after {
      right: 78%;
    }

    .history.right .card-body .card-text:after {
        left: 78%;
    }
    .history .card-body h5 {
        font-size:40px;
        white-space: nowrap;
    }
    .card-body {
        padding: 0 !important;
    }
}



@media screen and (max-width: 991.5px) { 
   
    #geschichte div[class*="frame-space-"] {
        margin-bottom:0 !important;
        margin-top:0 !important; 
    }

    #geschichte div#c15690[class*="frame-space-"] {
        margin-top:75px !important; 
    }


    #geschichte div[class*="col-12"] {
        margin-bottom:50px; 
    }

    #geschichte .container div[class*="col-12"] >  .no-container div[class*="col-12"] {
        margin-bottom:0px !important; 
    }


    .history .card-img {
        max-width:780px;
        margin:0 auto; 
   }
}




@media screen and (max-width: 575.5px) { 

    .history .card-body {
        gap: 0px 8px;
    }

    .history.right .card-body,
    .history.left .card-body {
        flex-direction: column;
    }

    .history.left .card-body .card-text::after {
        display:none;
        right: initial;
        left: 0;
    }

    .history.right .card-body .card-text::after {
        display:none; 
        left: 0%;
        right: initial;
    }

    .history .card-body h5 {
        width: 100%;
        font-size: 30px;
    }

    .history.left .card-body h5 {
        text-align: left;
    }

    .history.left .card-body .card-text, 
    .history.right .card-body .card-text {
        width: 100%;
    }

    .history .card-body {
        padding: 0px !important;
    }


    #geschichte div[class*="col-12"] {
        margin-bottom:28px; 
    }
}