/* CSS ERV V1 */


/* allgemein */

	#erv {
		box-sizing: border-box;
		width: 100%;
		text-align: left;
		}



		#erv a {
			text-decoration: none!important;
		}

	

	.erv-box {
		box-shadow: 0px 0px 11px 0px rgba(117,117,117,0.3);
	
		margin-bottom: 10px!important;
		padding: 10px!important;




		}

	.erv-color-theme{
		color:white!important;
		background:#172d5e!important;
		}

	.erv-icon {width: 18px!important;}
	

 /* Nav Responsive */

	.erv-responsive-nav {
		display:none;	
		margin-bottom: 10px!important;
		box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1)!important;
		position: relative;
		padding:15px 20px;
	}

		.erv-responsive-nav-title {
			float: left!important;
			font-size: 1em!important;
			text-decoration: none!important;
		}

		.erv-responsive-nav-btn-con {
			cursor: pointer;
			user-select: none;    /* verhindert das ein Rand beim Klicken enstehen - deaktiviert Fokus wie beim link */
			float:right;
			margin-top: 12px;
		}

		/* Icon-Block */

			.erv-responsive-nav-menuicon {
			  background: #fff;
			  display: block;
			  height: 2px;
			  position: relative;
			  transition: background .2s ease-out;
			  width: 18px;
			  margin-bottom: 6px;
			}
		
		    .erv-responsive-nav-menuicon:before,
		    .erv-responsive-nav-menuicon:after {
		      background: #fff;
		      content: '';
		      display: block;
		      height: 100%;
		      position: absolute;
		      transition: all .2s ease-out;
		      width: 100%;
		    }
		
		    .erv-responsive-nav-menuicon:before {
		      top: 5px;
		    }
		
		     .erv-responsive-nav-menuicon:after {
		      top: -5px;
		    }

		     .erv-responsive-nav-checkbox {
		      display: none!important
		    }

    /* Navigationsinhalt */

    .erv-responsive-nav-content {
      clear: both;
      overflow: hidden;
      max-height: 0;
      transition: max-height .2s ease-out; /* beobachte "max-height"  wenn Änderung ease out in 0.2 Sekunden - Wertänderung wird woanders angegeben */
    }

	.erv-responsive-nav-content-con{display:flex;margin-top: 10px}
	
     .erv-responsive-nav-column {
      flex: 50%;
     
    }
	.erv-responsive-nav-column-header{border-bottom: 1px solid #fff!important; font-weight: bold;}
	.erv-responsive-nav-column-list {padding-left: 0px; list-style: inside;}
	.erv-responsive-nav-column-list-item { }
	.erv-responsive-nav-column-list-item::before {display:none!important}
	.erv-responsive-nav-column-list-item-link{color:#fff!important;}


    /* Hier die Bedingungen wenn dann / States */

     .erv-responsive-nav-checkbox:checked ~ .erv-responsive-nav-content {
      max-height: 240px;
    }

     .erv-responsive-nav-checkbox:checked ~ .erv-responsive-nav-btn-con .erv-responsive-nav-menuicon {
      background: transparent;
    }

     .erv-responsive-nav-checkbox:checked ~ .erv-responsive-nav-btn-con .erv-responsive-nav-menuicon:before {
      transform: rotate(-45deg);
    }

    .erv-responsive-nav-checkbox:checked ~ .erv-responsive-nav-btn-con .erv-responsive-nav-menuicon:after {
      transform: rotate(45deg);
    }

     .erv-responsive-nav-checkbox:checked ~ .erv-responsive-nav-btn-con:not(.steps) .erv-responsive-nav-menuicon:before,
     .erv-responsive-nav-checkbox:checked ~ .erv-responsive-nav-btn-con:not(.steps) .erv-responsive-nav-menuicon:after {
      top: 0;
    }

/* Content */

#erv-wrapper{
	display:flex;
	gap:2%
}

	#erv-content {
		flex:1 1 80%;
	}

		.erv-category{
			margin-top: 0px;
		}

		.erv-article-link {text-decoration: none;!important; color:#000000;}

		.erv-article{
			display:flex;
			gap: 2%;
			position: relative;

background: linear-gradient(to right, #1f4b9b 0%, #1f4b9b 50%, #ffffff 50%, #ffffff 100%);
  background-position-x: 0%;
  background-position-y: 0%;
  background-size: auto;
background-size: 200% 100%;
background-position: 100% 0;
transition: background-position 0.3s;


		}

.erv-article:hover{background-position:0 0; color:white;}
.erv-article:hover strong{color:white;}


			.erv-article-img{
				flex: 1 1 10%;
				margin: 9px 15px 0 0 ;

			}

				.erv-article-img-img{
					width: 100%!important;
					vertical-align: bottom;
				}


			.erv-article-content{
				flex:1 1 80%;
				
			}

				.erv-article-content-header {
					margin: 0 0 1rem 0;
				}



				.erv-article-content-text{
					margin-bottom: 1px!important;

				}

				.erv-article-content-date{
					text-align: right;
					font-style:italic;
					margin: 0px!important;
					font-size: 0.6em;
				
				}

/*modules*/

	/*Beitragsseite*/


		.erv-beitrag-options {margin-bottom: 8px!important}
		
		.erv-beitrag-img{
			float:right;
			margin: 0 0 10px 10px
		}

		.erv-beitrag ul{margin: 10px 0; list-style-position: inside;}
		.erv-beitrag-beitragstext {margin-top: 0px!important}

		.erv-beitrag-beitragstext ul li{
			display: list-item!important
		}

		.erv-beitrag-footer{}
			.erv-beitrag-footer-disclaimer{}
			.erv-beitrag-footer-contact{text-align: center; margin:10px 0 10px 0}





	/*teaser*/

		#erv-teaser {
			box-sizing: border-box!important; 
			width: 100%!important; 
			display:flex!important; 	
			flex-wrap:wrap!important; 
			gap: 20px!important; 
			}

		.erv-teaser-box {
			box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
			flex: 1 1 30%!important; 
		}

		.erv-teaser-box:hover {
			box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.15);
		
		}		

			.erv-teaser-link{}

				.erv-teaser-img{
					margin: 0px!important;
					height: 250px!important; 
				}

					.erv-teaser-img-img{
						width: 100%!important;
						vertical-align: bottom!important; 
						height: 250px!important; 
						object-fit:cover;
					}

				.erv-teaser-content{

					padding: 15px;

				}

					.erv-teaser-content-header {
						margin-top: 0px!important;
						margin-bottom: 0px !important;
					}
	
					.erv-teaser-content-date{
						font-style: italic; font-size: 0.8em;
					}

 /* Sidebar */

		.erv-sidebar {
			flex: 1 1 20%;
margin-left: 20px;

			}

			.erv-sidebar-nav {margin-bottom: 10px;}


				.erv-sidebar-nav-headline {
					border:1px solid #e0e0e2;
					margin: 0px!important;
					padding: 10px!important;
				}

					.erv-sidebar-nav-list {
						margin: 0px !important;
						padding: 0px !important;
						list-style-type:none!important;
					}

						.erv-sidebar-nav-list li{
							list-style-image: none!important;
							border:1px solid #e0e0e2!important;
							border-top: 0px!important;
							padding: 10px!important;
							margin: 0px!important;
						}

						
						.erv-sidebar-nav-list-item:hover	{background: #172d5e!important}
						.erv-sidebar-nav-list-item:hover a	{color:white!important}
						.erv-sidebar-nav-list-item::before	{display:none!important;}

						.erv-article-link: {
							text-decoration: none!important;
							display:block!important;
						}

				#erv-vpt {
					margin-bottom: 10px!important;
					}

					.erv-vpt-link{display:block!important}

					.erv-vpt-container {
						position: relative;
						max-width: 100%; /* Maximum width */
						margin: 0 auto; /* Center it */
					}

						.erv-vpt-container img{
							height: 80px!important;
							object-fit:cover!important;;
							width: 100%!important;
						}


						.erv-vpt-container .vptcontent {
						    position: absolute; /* Position the background text */
						    top: 0; /* At the bottom. Use top:0 to append it to the top */
						    background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
						    color: #f1f1f1; /* Grey text */
						    width: 100%; /* Full width */
							text-align:center!important;
							height: 80px!important;
						}

						.vptcontent:hover {
						    background: rgba(0, 0, 0, 0); /* Black background with 0.0 opacity */
						    width: 100%; /* Full width */
							text-align:center!important;
							height: 80px!important;
						}

						.vptcontent:hover {
						    background: none;
							text-shadow: 0 0 5px black;
						}

						.vptcontent p{
							line-height: 80px!important;
							margin: 0 !important
						}

			#erv-spruch #zitat  {font-style: italic;}

 /* Responsive */

	@media only screen and (max-width: 670px) and (min-width: 200px) {

		#erv-teaser {display: block!important;}
			.erv-teaser-box {margin-bottom: 20px;}

		#erv-nav-responsive {
			display:block; 
			margin-bottom: 10px;
		}

		.erv-archiv-responsive, .erv-responsive-nav{display:block;}

		.erv-sidebar, .erv-archiv, .erv-archiv-category{display:none;}
		
		#erv-content {margin-right: 0!important;}

			.erv-category{text-align: center;}

			.erv-article{
				flex-direction: column;
				}

				.erv-article-content{

				     flex: 1 1 auto;
					text-align: center;
				}

				.erv-article-content-header{margin: 1rem 0 1rem 0;}

					.erv-article-content-date{
					margin-top: 10px!important;
					position:static;
					
				}

				.erv-article-img {

					flex: 1 1 auto;
					text-align: center; margin-right: 0px; margin-bottom: 10px;

					}

					.erv-article-img-img, .erv-beitrag-img{

						width: 100%!important; 
						height: 180px!important; 
						object-fit:cover!important;

					}

		}

/*customize*/


	/*Color*/

		.erv-color-theme{background-color: #1f4b9b!important; color:#fff!important}

		.erv-sidebar-nav-list li:hover   {background-color: #1f4b9b!important; color:#fff!important}
		.erv-sidebar-nav-list li:hover a {background-color: #1f4b9b!important; color:#fff!important}

		.erv-tools-list-item:hover{}
		.erv-tools-list-item-link:hover{}

		#ervideo-nav li:nth-child(odd) a:hover{}
		#ervideo-nav li:nth-child(even) a:hover{background}

		.erv-responsive-nav-column-list {padding-left: 0px; list-style: inside; margin: 0px!important}
		.erv-responsive-nav-column-list-item { }
		.erv-responsive-nav-column-list-item a{color:#fff;}

		.erv-article-content-text {
		max-height: 60px;
		overflow: hidden;
		text-overflow:ellipsis;

		}