/* fira-sans-condensed-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans Condensed';
  font-style: normal;
  font-weight: 200;
  src: url('/assets/fonts/fira-sans-condensed/fira-sans-condensed-v11-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-condensed-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/fira-sans-condensed/fira-sans-condensed-v11-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-condensed-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans Condensed';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/fira-sans-condensed/fira-sans-condensed-v11-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-condensed-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans Condensed';
  font-style: normal;
  font-weight: 800;
  src: url('/assets/fonts/fira-sans-condensed/fira-sans-condensed-v11-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
body {
    font-family: 'Fira Sans Condensed',"Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
}

.grid-container {
    max-width: 125rem;
}
/* Helper */
h1, h2, h3{
	color: #177357;
}
.h1-outer span, .h2-outer span, .h3-outer span{
	color: #e22f22;
}
img.rot{
    border: solid 8px #e22f22;
}
img.orange{
    border: solid 8px #fb7e06;
}
img.blau{
    border: solid 8px #067dcd;
}
.cblock a.extlink:after
{
    font-family: "Font Awesome 5 Free";
    content: "\f35d";
    padding-left:7px;
    font-size: 1em;
    font-weight: 600;
}
.cblock a.no-extlink:after{
    content: "" !important;
}
.migxcontent .grid-x .cell {
    display: flex;
}
/* CGI - Button */
.ci-button{
	background-color: #e22f22;
	border: solid 2px #e22f22;
	font-size: clamp(1rem, 0.9rem + 0.35vw, 1.25rem);
	margin-bottom: 0;
	padding-left: clamp(1.5rem, 0.9rem + 0.35vw, 2rem);
	padding-right: clamp(1.5rem, 0.9rem + 0.35vw, 2rem);
}
.ci-button:hover, .cgi-button:focus {
    background-color: #197256;
}
/* Banner */
.banner{
	position: relative;
}
.banner-inner{
	position: absolute;
	width: 100%;
	top: 30%;
}
.banner-inner-content{
	color: #fff;
}
.banner-inner-content h1{
	font-weight: 800;
	color: #fff;
}
.banner-inner-content span{
	background-color: #fff;
	color: #e22f22;
	text-transform: uppercase;
	font-weight: 800;
}
/* Leistungen */
.LeistungenOuter{
	position: relative;
}
.LeistungenContent{
	position: absolute;
	bottom: 0;
	background: #197256d6;
	width: 100%;
	padding: 1rem 0.75rem;
	color: #fff;
}
.LeistungenOuter::before,
.LeistungenOuter::after {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    height: 3px;
    background: #e22f22;
    transition: width 0.5s ease;
    z-index: 10;
}

.LeistungenOuter::before {
    top: 0;
}

.LeistungenOuter::after {
    bottom: 0;
}

.LeistungenOuter:hover::before,
.LeistungenOuter:hover::after {
    width: 100%;
}
/*items*/
.greenBoxinner{
	background: #197256;
}
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
	.greenBoxinner > .right{
		border-left: 4px solid #e22f22;
	}
}
@media screen and (max-width: 39.9375em) {
	.greenBoxinner > .right{
		border-top: 4px solid #e22f22;
	}
}
.greenBoxinner p{
	color: #fff;
	padding: 1rem;
	margin-bottom: 0;
}
.greenBox  div.left{
    background-position: top right;
	background-repeat: no-repeat;	
	background-size: 100% 100%;
}
.greenBox  div.right{
    background-position: top left;
	background-repeat: no-repeat;
}
@media screen and (max-width: 0em), screen and  (max-width: 63.9375em) {
	.greenBox  div.right{
		background-position: center;
	}
}

.markeninner img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.markeninner a:hover img,
.markeninner a:focus img {
    filter: grayscale(0%);
    opacity: 1;
}
/* Gray-Box */
.gray-box{
	background-color: #f5f5f5;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	margin-bottom: 2rem;
}
.number{
	font-size: clamp(1.5rem, 0.9rem + 0.35vw, 2rem);
	color: #177357;
}
.numberOuter {
    position: relative;
}
.numberOuter::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 60px;
    background: #e62b2b;
    top: 50%;
    right: 5px;
    transform: translateY(-50%) rotate(28deg);
    transform-origin: center;
}
.gray-box-img {
    min-height: 500px;
	background-image: url('/assets/bilder/kompetenz/kometenz-startseite-zirm.jpg');
    
    background-size: cover;
    background-position: center;

    clip-path: polygon(
        0 0,
        85% 0,
        100% 50%,
        85% 100%,
        0 100%
    );
}
@media screen and (max-width: 39.9375em) {
	.gray-box-img {
		clip-path: polygon(
			0 0,
			100% 0,
			100% 85%,
			50% 100%,
			0 85%
		);
	}
}
/* PDF Link */
.cblock a.pdflink:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f1c1";
    padding-right: 0.5rem;
}
/* Navigation */
#navigation{
    padding-bottom: 15px;
}
.main-nav ul {
    width: 100%;
}
.main-nav li {
	float: left;
	list-style: none;
	padding-right: 25px;
}
.main-nav li a{
	
	font-size: 1.5vw;
	color: #177357;
}
.main_nav_outer, .main_nav_anfrage{
	display: flex;
    -ms-flex-align: center;
    align-items: center;
}
/* Mobilnav */
.mobil-nav{
    width: 100%;
	color: #177357;
}
.navigation{
    
}
.mobil-nav .top-bar-menu{
    color: #177357;
}
.mobil-nav .menu-icon.dark::after{
    background: #177357;
    box-shadow: 0 7px 0 #177357, 0 14px 0 #177357;
}
.mobil-nav a{
    color: #177357;
}
.mobil-nav li:hover a{
    font-weight: bold;
}
.mobil-nav li li a, .mobil-nav li:hover li a{
    font-weight: normal;
}
.mobil-nav li li:hover a{
    font-weight: bold;
}
.mobil-nav .menu .active > a{
    background: none;
    text-decoration: underline;
}
.off-canvas a, .menu a{
	color: #177357;
}
.menu .active>a {
	background: #177357;
	color: #fff;
}

.off-canvas{
	background-color: #fff;
}
/* Sidenavigation */
.sidenav ul{
    list-style: none;
}

.sidenav .level1{
    font-size: 1.6rem;
    padding-left: 30px;
}
.sidenav .level2 {
    font-size: 1.3rem;
}
.sidenav .level1::before {
    position: absolute;
    content: url(/assets/img/layout/navicons_level1.png);
    margin-left: -30px;
}
.sidenav .level2::before {
    padding-right: 10px;
    content: url(/assets/img/layout/navicons_level2.png);
}
.sidenav li.active .level2 {
    display: block;
}
/* Termine */
.terminlist{
    padding-bottom: 25px;
}
.day, .month, .year{
	text-align: center;
	color: #ffffff;
	margin-bottom: -5px;
	background: #0f5075;
}
.day{
	font-size: 2rem;
	font-weight: bold;
	position: relative;
}
.day::after{
	display: block;
    border: inset 6px;
    content: '';
    border-left-style: solid;
    border-color: transparent transparent transparent #efeac7;
    position: absolute;
    top: 50%;
    margin-top: -6px;
}
.month, .year{
	font-size: 1.2rem;
}
/** Timeline v2 **/

.timelines h2 {
	text-align: center;
	color: #fff;
	font-weight: 600;
	margin-bottom: 40px;
	font-size: 32px;
}
.d-flex-2 {
	display: flex;
	align-items: center;
}
.timeline-area {
	padding: 80px 0;
}
.all-timelines {
	position: relative;
}
.timelines h2 {
	text-align: center;
	color: #0a0a0a;
	font-weight: 600;
	margin-bottom: 40px;
}
.all-timelines::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	height: 100%;
	width: 2px;
	background: #006e9d;
	top: 20px;
}
.single-timeline {
	margin-bottom: 22px;
}
.timeline-blank {
	width: 50%;
}
.timeline-text {
	width: 50%;
	padding-left: 30px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
}
.timeline-text h6 {
	color: #006e9d;
	font-weight: 900;
	display: inline-block;
	font-size: 1rem;
}
.timeline-text span {
	color: #0a0a0a;
	display: block;
	width: 100%;
}
.single-timeline:nth-child(even) .timeline-text span {
	text-align: right;
}
.t-square {
	content: "";
	position: absolute;
	width: 12px;
	height: 12px;
	left: -6px;
	background: #006e9d;
}
.single-timeline:nth-child(even) {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
}
.single-timeline:nth-child(even) .t-square {
	right: -6px;
	left: unset;
}
.single-timeline:nth-child(even) .timeline-text {
	padding-left: 0;
	padding-right: 30px;
	text-align: right;
}

@media all and (max-width: 991px) {
}
@media all and (max-width: 768px) {
	.all-timelines::before {
		right: unset;
		top: 0;
	}
	.single-timeline:nth-child(2n) .timeline-text {
		padding-left: 30px;
		padding-right: 0;
		text-align: left;
	}
	.single-timeline:nth-child(2n) .t-square {
		left: -6px;
		right: unset;
	}
	.timeline-blank {
		display: none;
	}
	.timeline-text {
		width: 100%; 
	}
	.single-timeline:nth-child(even) .timeline-text span {
		text-align: left !important;
	}
}
@media all and (max-width: 575px) {
}
@media all and (max-width: 360px) {
	.all-timelines::before {
		top: 32px;
	}
}

/** Timeline V2 - ENDE **/
/* Blog */
.aktItem{
	background-color: #f5f5f5;
}
.aktText{
	color: #323232;
	padding-top: 1rem;
	overflow-wrap: break-word;
	-moz-hyphens: auto;
	-o-hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto; 
}
.aktText .title{
	color: #197256;
}
.aktBild img{
	margin-left: -0.9375rem;
}
.read-more{
	color: #e22f22;
}
.posts{
    padding-top: 25px;
}
.post_date{
    padding-right: 5px;
}
.post_text{
    padding-left: 15px;
}
.post{
	padding-bottom: 25px;
}
.post h2{
		font-size: 1.5rem;
		line-height: 1.1;
}
.post h2 a{
	color: #e30613;
	font-size: 1.5rem;
}
.vorschau{
	border: solid 5px #5a5a5a;
}
.day{
	font-size: 2rem;
	font-weight: bold;
	background: #e30613;
}
.month, .year{
	font-size: 1.2rem;
	background: #9d9c98;
}
.readmore{
	background-color: transparent;
	border: 1px solid #5a5a5a;
    border-radius: 5px;
    color: #5a5a5a;
    padding-left: 35px;
    padding-right: 35px;
    float: right;
}
.readmore:hover, .readmore:focus {
    background-color: #ebebeb;
    color: #5a5a5a;
}
.aktuelles a.readmore{
    position: absolute;
    bottom: 0;
}
.paging{
	padding-bottom: 25px;
}
.paging li:before{
	content: none !important;
}
.paging li{
	float:left;
	list-style: none;
	padding-right: 15px;
}
.blogTags h3, .blogArchiv h3{
    color: #0f5075;
    font-size: 1.5rem;
}
.blogTags a, .blogArchiv a{
	color: #5a5a5a;
}
.blogTags ul, .blogArchiv ul{
    list-style: none;
}
/* Kontakt */
.faerstaeggt {
    display: none;
}
.content input.error, .content textarea.error, .content div.error {
    border-color: #ff0000;
}
.content div.error {
    border: dotted 1px #ff0000;
}
.alert .alert-error{
    color: #ff0000;
}
.kontaktForm tbody tr:nth-child(even), .kontaktForm tr{
    background: none;
}
.kontaktForm tbody{
    border: none;
}
/* Footer */
.footer, .footer a{
	color: #fff;
}
.footer a:hover,.footer a:focus{
	color: #fff;
	text-decoration: underline;
	text-decoration-color: #e22f22;
}
.footer-outer{
	padding-top: 1rem;
	padding-bottom: 1rem;
	background-color: #197256;
}
.footer-top{
	margin-top: 2rem;
	display: flex;
    align-items: flex-end;
}
.footer-top img{
	width: 100%;
}
.footer_callout span{
	font-size: 2rem;
}
.footer-nav {
  display: grid;
  justify-content: end;
  gap: 0.25rem;
}
.footer-nav a::before {
  content: "⊙ ";
}
.footer-nav ul{
	list-style: none;
}
/* Back to Top */
	.cd-top {
		z-index:500;
		display: inline-block;
	  	height: 40px;
	  	width: 40px;
	  	position: fixed;
	  	bottom: 53px;
	  	right: 10px;
	  	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	  /* image replacement properties */
	  	overflow: hidden;
	  	text-indent: 100%;
	  	white-space: nowrap;
	  	background: rgba(120, 138, 146, 0.8) url(/assets/img/layout/cd-top-arrow.svg) no-repeat center 50%;
	  	/*visibility: hidden;*/
	  	opacity: 0;
	  	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	  	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	  	transition: opacity .3s 0s, visibility 0s .3s;
	}
	.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
	  	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	  	-moz-transition: opacity .3s 0s, visibility 0s 0s;
	  	transition: opacity .3s 0s, visibility 0s 0s;
	}
	.cd-top.cd-is-visible {
	  /* the button becomes visible */
	  visibility: visible;
	  opacity: 1;
	}
	.cd-top.cd-fade-out {
	  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
	  	opacity: .5;
	}
	.no-touch .cd-top:hover {
	  	background-color: #788a92;
	  	opacity: 1;
	}
/* 4K-Anpassungen  */
@media screen and (min-width: 1980px){
    .main-nav li a{
        font-size: 1.6rem;    
    }
    .banner img{
        width: 100%;
    }
}