/* CSS for Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 grid items per row on desktop */
    gap: 20px; /* Add some gap between grid items */
}

.blog-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 grid items per row on desktop */
    gap: 20px; /* Add some gap between grid items */
}

/* Grid layout for tablet */
@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 grid item per row on tablet and mobile */
    }
	  .blog-grid-2 {
        grid-template-columns: repeat(1, 1fr); /* 1 grid item per row on tablet and mobile */
    }
}

/* Base style for blog grid item card */
.blog-card {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    background-color: #f6f6f6;
    padding: 10px;
    min-height: 300px;
    display: flex;
    flex-direction: column; /* Stacking elements vertically */
    justify-content: space-between; /* Space elements evenly vertically */
	    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
	border:solid 2px #2a3a34;
	
}

/* On hover, increase shadow and scale */
.blog-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: scale(1.01);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
	border:solid 2px #375F3C;
}

/* Style for blog image */
.blog-card .blog-image {
    width: 100%;
    height: 250px; /* Set the desired height for the image */
    background-size: cover;
    background-position: center;
    border-radius: 0px;
    margin-bottom: 10px; /* Add some space between image and other elements */
}

/* Style for blog title */
.blog-card .blog-title {
    font-weight: 300;
    text-align: center; /* Center the text horizontally */
    font-size: 24px;
    margin-bottom: 10px;
	color:#000;
	 font-family: 'Poppins'!important;
}

/* Style for blog excerpt */
.blog-card .blog-excerpt {
    color: #000;
    text-align: center; /* Center the text horizontally */
    font-size: 16px;
	min-height:80px;
}

/* Style for Read More button */
.blog-card .read-more-btn {
    display: block;
    margin-top: 10px; /* Add some space between excerpt and button */
    padding: 14px 20px;
    background-color: #375F3C;
    color: #fff;
    text-decoration: none;
    border-radius: 0px;
    text-align: center; /* Center the text horizontally */
    border: 1px solid #375F3C;
	font-size: 16px;
	    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
	
}

.blog-card .read-more-btn:hover {
 /*   background-color: #f4583f;*/
   background-color: #2a3a34;
	
    color: #fff;
    border: 1px solid #2a3a34;
}




/*REFERENCE*/


/* CSS for the walls grid */
.walls-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}



/* Add styles for each grid item */
.walls-grid-item {
    position: relative!important;
    background-size: cover!important;
    background-position: center!important;
    height: 400px!important; /* Adjust the height as needed */
	min-height:400px!important;
	box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
}

/* Add overlay styles */
.walls-grid-overlay {
    position: absolute!important;
    top: 0!important;
    left: 0!important;
    width: 100%!important;
    height: 100%!important;
    background-color: rgba(0, 0, 0, 0.4)!important; /* Adjust the overlay color and opacity as needed */
    display: flex!important;
    flex-direction: column!important;
    justify-content: end!important;
    align-items: center!important;
    padding: 20px!important;
    color: #fff!important; /* Adjust the text color for title and button */
}

.walls-grid-content {
border: solid 3px #fff;
    padding: 20px;
    margin: 10px;
    border-width: 3px;
    border-color: rgba(255,255,255,0.39);
    padding-top: 12%!important;
    padding-right: 24px!important;
    padding-bottom: 12%!important;
    padding-left: 24px!important;
    margin-top: 10px!important;
    margin-right: 10px!important;
    margin-bottom: 10px!important;
    margin-left: 10px!important;
    box-shadow: 0px 20px 60px -6px rgba(0,0,0,0.3);
    min-height: 380px;
}


.walls-grid-content:hover {
border: solid 10px #375F3C;
    border-width: 3px;
    border-color: #375F3C;
box-shadow: 0px 20px 60px -6px rgba(0,0,0,0.3);
	 box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: scale(1.01);
    transition: box-shadow 0.3s ease, transform 0.3s ease;

}

/* Add styles for the title */
.walls-grid-title {
    font-size: 26px!important;
    margin-bottom: 10px!important;
	color:#fff!important;
	/*text-transform:uppercase;*/
	text-align:center;
	font-weight:400;
}

/* Add styles for the button */
.walls-grid-button {
 display: block;
    margin-top: 10px; /* Add some space between excerpt and button */
	margin-bottom:10px;
    padding: 14px 20px;
    background-color: #375F3C;
    color: #fff;
    text-decoration: none;
    border-radius: 0px;
    text-align: center; /* Center the text horizontally */
    border: 1px solid #375F3C;
	font-size: 16px;
	    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
	width:100%;
}

/* Hover effect for the button */
.walls-grid-button:hover {
    /*   background-color: #f4583f;*/
   background-color: #2a3a34;
	
    color: #fff;
    border: 1px solid #2a3a34;
}



.walls-grid-button-home { 
 display: block;
    margin-top: 10px; /* Add some space between excerpt and button */
	margin-bottom:10px;
    padding: 14px 20px;
    background-color: #375F3C;
    color: #fff;
    text-decoration: none;
    border-radius: 0px;
    text-align: center; /* Center the text horizontally */
    border: 1px solid #375F3C;
	font-size: 16px;
	    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
	
}

.walls-grid-button-home:after {
font-family: 'ETMODULES';
	content: '\24';
	text-align: center;
	vertical-align: middle;
	margin-right: 8px;
	margin-left: 4px;
	font-size: 1.3em;
	transition: all .75s ease;
}

/* Hover effect for the button */
.walls-grid-button-home:hover {
    /*   background-color: #f4583f;*/
   background-color: #2a3a34;
	
    color: #fff;
    border: 1px solid #2a3a34;
}


/* On tablet and mobile, display one item per row */
@media (max-width: 768px) {
    .walls-grid {
        grid-template-columns: 1fr!important;
    }
}

.walls-excerpt { 

    color: #fff;
    text-align: center; /* Center the text horizontally */
    font-size: 16px;
	min-height:80px;

}

/*END REFERENCE */


/*TEGLE */


/* GRID FULL */ 

/* Styles for the outer grid container */
.tegle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%; /* Full width */
	gap: 20px; /* Add some gap between grid items */
}


/* On tablet and mobile, display one item per row */
@media (max-width: 768px) {
    .tegle-grid {
        grid-template-columns: 1fr!important;
    }
}

/* Styles for each leistungen card */
.tegle-card {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 20px; /* Adjust as needed */
    margin-bottom: 20px; /* Adjust as needed */
	  padding: 20px;
    background-color: #fff;
    box-shadow: 0 12px 18px 2px rgba(0,0,0,.3);
    cursor: pointer;
	border-radius:0px;
	border:solid 3px #2a3a34;
}

/* Styles for the left inner grid item */
.tegle-card-inner-left {
    width: 100%;
}

/* Styles for the right inner grid item */
.tegle-card-inner-right {
    width: 100%;

	padding:10px;
}

/* Additional styling for the image inside leistungen-card-inner-left */
.tegle-image {
    max-width: 100%;
    height: auto;
}

/* You may add more styles as needed for the title, excerpt, and read more button */
.tegle-title h2 {
    margin: 0;
}

.tegle-excerpt {
    margin-top: 10px;
}



.tegle-card:hover {
    transform: scale(1.01);
    transition: all .2s ease-in-out;
}

.tegle-excerpt {
    margin-bottom: 20px;
	font-size: 18px;

}

@media all and (max-width: 980px) {
 .tegle-card {
    display: grid;
    grid-template-columns: repeat(1, 1fr); 
    grid-column-gap: 20px; /* Adjust as needed */
    
}
	

	
	.tegle-excerpt {
    margin-bottom: 10px;
    min-height: 140px;
    font-size: 18px;
    text-align: center;
}
	
	.tegle-title h2 {
    text-align:center;
}
}


.tegle-read-more-btn {
display: block;
    margin-top: 10px; /* Add some space between excerpt and button */
	margin-bottom:10px;
    padding: 14px 20px;
    background-color: #375F3C;
    color: #fff;
    text-decoration: none;
    border-radius: 0px;
    text-align: center; /* Center the text horizontally */
    border: 1px solid #375F3C;
	font-size: 16px;
	    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
	width:100%;
}

.tegle-read-more-btn:hover {
       background-color: #2a3a34;
	
    color: #fff;
    border: 1px solid #2a3a34;
}

.tegle-content { 
font-size:16px;
	font-weight:300;
}





/* REFERNECE EXTENDED FULL */ 

/* Styles for the outer grid container */
.reference-extended-grid {
    display: grid;
    grid-template-columns: 1fr; /* One grid item per row */
    width: 100%; /* Full width */
}

/* Styles for each leistungen card */
.reference-extended-card {
    display: grid;
    grid-template-columns: 50% 50%; /* Two grid items per row */
    grid-column-gap: 20px; /* Adjust as needed */
    margin-bottom: 20px; /* Adjust as needed */
	  padding: 20px;
    background-color: #fff;
    box-shadow: 0 12px 18px 2px rgba(0,0,0,.3);
    cursor: pointer;
	border-radius:0px;
	    box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
    border: solid 2px #2a3a34;
}

/* Styles for the left inner grid item */
.reference-extended-card-inner-left {
    width: 100%;
	
	
}

.reference-extended-card-inner-middle {
display: flex!important;
    flex-direction: column!important;
    justify-content: center!important;

	
}




/* Styles for the right inner grid item */
.reference-extended-card-inner-right {
   width: 100%;
	padding:10px;
	display: flex!important;
    flex-direction: column!important;
    justify-content: center!important;

}

/* Additional styling for the image inside leistungen-card-inner-left */
.reference-extended-image {
    max-width: 100%;
    height: auto;
	/*width: 130px;*/
	text-align:center;
}

.reference-extended-image img {

	text-align:center;
}

/* You may add more styles as needed for the title, excerpt, and read more button */
.reference-extended-title h3 {
    margin: 0;
	font-weight:700;
	font-size:22px;
	text-transform:uppercase;
}

.reference-extended-excerpt {
    margin-top: 10px;
	font-size: 16px;
    color: #000;
}






.reference-extended-read-more-btn {
    display: block;
    margin-top: 10px; /* Add some space between excerpt and button */
    padding: 14px 20px;
    background-color: #375F3C;
    color: #fff;
    text-decoration: none;
    border-radius: 0px;
    text-align: center; /* Center the text horizontally */
    border: 1px solid #375F3C;
	font-size: 16px;
	    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
	
}

.reference-extended-read-more-btn:hover {
 /*   background-color: #f4583f;*/
   background-color: #2a3a34;
	
    color: #fff;
    border: 1px solid #2a3a34;
}

.reference-extended-card:hover {
    transform: scale(1.01);
    transition: all .2s ease-in-out;
}

.reference-extended-excerpt {
    margin-bottom: 20px;


}

@media all and (max-width: 980px) {
 .reference-extended-card {
    display: grid;
    grid-template-columns: repeat(1, 1fr); 
    grid-column-gap: 20px; /* Adjust as needed */
    
}
	

	
	.reference-extended-excerpt {
    margin-bottom: 10px;
    min-height: 140px;

    text-align: center;
}
	
	.kurse-title h3 {
    text-align:center;
}
}





.reference-extended-image-wrapper {
    max-height: 400px;
    overflow: hidden;
    position: relative;
}

.reference-extended-image-wrapper-2 {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

.reference-extended-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reference-extended-desc { 
margin-top:15px;
	text-transform:uppercase;
	font-size:20px;
	color:#375F3C;
	text-align: right;
}

/*END REFERNECE EXTENDED */






