:root {
	--color-primary: #A72920;
	--color-secondary: #dedbdb;
	--color-black: #222528;
}

html,body{
	width: 100%;
	height: 100%;
	background-color: var(--color-primary) !important;
}
.blackbg{
	background-color: var(--color-black) !important;	
}


#bodybg{
	background-color: var(--color-primary) !important;
	padding-bottom: 30px;
	clear:both;
}
.kontakt{
	height: auto;
}

#nav-trans{
	position: absolute;
	width: 100%;
	opacity: 0.8;
}

.navbar-brand {
	padding: 7px !important;
	display: flex;
  	color: #fff !important;
}
.navbar-brand > img {
	height: 100%;
	width: auto;
	display: inline !important;
}
.navbar-brand > span {
	font-size: 24px;
	align-self: center;
	margin-left: 10px;
}

.nav-home{
	position: absolute;
	display: block;
	width: 100%;
}

.navbar.navbar-inverse {
	background-color: var(--color-black);
	border-color: var(--color-black);
}

.navbar .navbar-header{
	display: flex;
  	flex-direction: row-reverse;
}

.navigation .navbar-brand {
	height: 80px;
}
.navigation .nav >li >a {
	padding-top: 30px;
	padding-bottom: 30px;
}
.navigation .navbar-toggle {
	padding: 10px;
	margin: 25px 15px 25px 0;
}

nav {
	margin: 0 !important;
}

nav > .container {
	display: flex;
	justify-content: space-between;
	width: 100%;
	align-items: center;
}

@media (max-width: 769px) {
  nav > .container {
    display: block;
  }

  .navbar-header {
	display: flex;
	justify-content: space-between;
	width: 100%;
	align-items: center;
  }
}

#myCarousel{
	height: 70%
}

.wrapper-carousel{
	background-color: rgba(255,255,255,0.8);
	padding: 5px;
	border-radius: 2px;
}

.carousel-caption{
	padding-bottom: 40px !important;
	text-shadow: none !important;
	
}

.carousel-caption > .wrapper-carousel > .h3{
	color: #1c1c1c;
}
/*
	.carousel-caption > span{
	background-color: #fff9;
	padding: 5px;
	border-radius: 5px;
	}
*/
/* background-color: rgb(208, 200, 200); */
.fill{
	padding: 20px;
	background-color: var(--color-secondary);
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	padding-bottom: 10px;
	background-image: url('../img/publicimg/korpsflamme_rot.png') !important;
    background-size: auto 100%;
    background-position: center;
    background-repeat: no-repeat;
	min-height:80%;
}

.bgcontent{
	background-image: url('../img/publicimg/korpsflamme_rot_trans.png') !important;
	background-size: contain;
	background-position: top;
}
.nobgimg{
	background-image: none !important;
}
.carousel .item {
	height: 100%;
}
.item img {
	position: absolute;
	top: 0;
	left: 0;
	min-height: 600px;
}

.carousel-inner {
	height: 100%;
}
.carousel-inner .item {
	/*   max-height: 680px; 
	height: 100vh;*/
	height: 100%;
	background: url('../img/publicimg/carusel/jugend_wasser.jpg') no-repeat center top;
	background-size: cover;
}

.carousel-inner .item:nth-child(2) {
	background-image: url('../img/publicimg/carusel/kreisuebung1.jpg');
	background-position: center center; 
}

.carousel-inner .item:nth-child(3) {
	background-image: url('../img/publicimg/carusel/wettkampf.jpg');
	background-position: center center; 
	
}
.carousel-inner .item:nth-child(4) {
	/* background-image: url('../img/publicimg/carusel/ausrueckung3.png'); */
	background-image: url('../img/publicimg/carusel/kreisuebung2.jpg');
	background-position: center center; 
	
}
.carousel-inner .item:nth-child(5) {
	background-image: url('../img/publicimg/carusel/jugend_rettung.jpg');
	
}
.carousel-inner .item:nth-child(6) {
	background-image: url('../img/publicimg/carusel/kreisuebung3.jpg');
	background-position: center top; 
	
}



.carousel-caption {
	bottom: 36%;
}

@media screen and (min-width: 768px) {
	.carousel-caption {
		right: 20%;
		left: 20%;
	}
}

h1{
	font-size: 36px !important;
	text-align: center;
}

h2{
	font-size: 18px !important;
	text-align: center;
}


.alert{
	text-align: center;
}

#partner-box{
	width: 100%;
	background: var(--color-black);
	display: block;
	margin-top: 50px;
	margin-bottom: 15px;
}

.partner-box-text{
	text-align: center;
}

.partner-box-text > span{
	font-size: 25px;
	color: #fff;
	height: 90px;
}

.partner-img{
	width: 120px;
	margin-left:30px;
	display:inline !important;
}

@media screen and (max-width: 493px){
	#partner-box {
		height:180px;
	}
}
.navheader{
	padding: 0 !important;
	position: relative;
	height: 30px;
	line-height: 27px;
	display:inherit;
}

.navheader-title{
	position: absolute;
	left: 30px;
	font-size: 22px;
	text-transform: uppercase;
	color: rgb(227,230,236);
}

.navheader-subtitle{
	position: absolute;
	left: 300px;
	text-transform: uppercase;
	color: rgb(227,230,236);
	font-size: 12px;
}

.mobile-navheader{
	display:none;
}
@media screen and (min-width: 768px){
	.navheader-subtitle {
		left: 300px;
	}
}
@media screen and (min-width: 992px){
	.navheader-subtitle {
		left: 450px;
	}
}
@media screen and (max-width: 768px){
	.navheader {
		display:none;
	}
	.mobile-navheader{
		display:block;
	}
	.fill{
		background-image: none !important;
		background-color: rgb(252, 249, 249);
		min-height:auto;
	}
	.bgcontent{
		background-image: none !important;
	}
	.rahmen{
		margin: 10px auto !important;
		float: none !important;
	}
	.pdfviewer{
		display:none;
	}
	
	#nav-trans{
		opacity: 1;
	}
	td,th{
		display: inline-block;
	}
	.table-delete-btn {
		float: right;
	}
	
	.tutorial {
		height:200px !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
	}
	
	.item > .tutorialimg{
	height: 200px !important;
	}
	.einsatzcount{
	margin: auto !important;
	}
	.start-section{
	text-align: center !important;
	height: 220px !important;
	margin-left: 20px !important;
	margin-right: 20px !important;
	}
	.start-section-div{
	margin: 0;
	position: absolute;
	overflow: visible !important;
	width: 100%;
	top: 0 !important;
	transform: none !important;
	height: auto !important;
	}
	.start-section-text{
	text-align: left;
	width: 100% !important;
	}
	.start-section-a{
	vertical-align: unset !important;
	position: relative !important;
	}
	.start-section-img{
	height: auto !important;
	}
	.start-section-img .material-icons{
	line-height: 80px !important;
	}
	}
	.fahrzeug{
	width: 250px;
	margin: 10px;
	margin-top: 20px;
	display: inline-block;
	height: 310px;
	vertical-align: top;
	text-align: center;
	}
	.person{
	min-height:100px;
	margin: 10px;
	margin-top: 20px;
	}
	.person-text{
	margin: 10px;
	margin-top: 0px;
	height: 100%;
	min-height: 100px;
	}
	.person-text-title{
	font-size:20px;
	}
	.person-text-span{
	
	}
	.rahmen{
	width: 100px;
	height: 100px;
	overflow: hidden;
	float:left;
	border-radius: 75px;
	margin:5px;
	}
	.rahmen-car{
	width: 100%;
	height: 100px;
	overflow: hidden;
	float:left;
	border-radius: 2px;
	margin:5px;
	}
	.pic{
	width: 100px;
	}
	.pic-height{
	height: 100%;
	}
	.pic-car{width:100%;}
	hr{
	margin:2px !important;
	border-top: 1px solid #bf3838 !important;
	}
	
	.well{
	background-color: #e6e6e6 !important;
	}
	
	.fill > img {
	filter: gray; /* IE6-9 */
	-webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
    -webkit-box-shadow: 0px 2px 6px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 2px 6px 2px rgba(0,0,0,0.75);
    box-shadow: 0px 2px 6px 2px rgba(0,0,0,0.75);
    margin-bottom:20px;
	}
	
	.fill > img:hover {
	filter: none; /* IE6-9 */
	-webkit-filter: grayscale(0); /* Google Chrome, Safari 6+ & Opera 15+ */
	}
	.bilder-div{
	margin: 15px;
	}
	.bilder{
	float: left;
	margin-bottom: 15px;
	margin-right: 15px;
	width: 350px;
	background: #fff;
	border-radius: 5px;
	padding: 5px;
	}
	.textheader{
	text-align: center;
	margin-top: 0;
	margin-bottom: 20px;
	}
	.nav-input-element{
	color: #9d9d9d;
	line-height: 20px;
	position: relative;
	display: block;
	padding: 10px 15px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-top: 30px;
	padding-bottom: 30px;
	text-decoration: none;
	background-color: transparent;
	cursor: pointer;
	}
	
	.nav-input-element:hover, .nav-input-element:focus{
	color: #fff;
	background-color: transparent;
	text-decoration: none;
	}
	.alert{
	margin-bottom: 0 !important;
	}
	
	.center{
	text-align: center;
	}
	.notcenter{
	text-align: left;
	}
	.event-termin{
	width: 150px;
	}
	.date-control{
	width: 60px  !important;
	float: left;
	}
	.label-span{
	margin-bottom: 10px;margin-top: 10px;height: 20px;display: block;
	}
	.form-div{
	display: block;
	height: 35px;
	}
	.void{
	height: 35px;
	width: 20px;
	float: left;
	text-align: center;
	line-height: 35px;
	}
	
	
	.mitglieder{
	margin:10px;
	float:left;
	width: 200px;
	}	
	.mitglieder-rahmen{
	margin: 0 auto;
	float: none !important;
	margin-bottom: 10px;
	}
	
	.thdelete{
	width: 170px;
	}
	
	.dropdown-menu{
	background-color: var(--color-black) !important;
	}
	
	.dropdown-menu > li > a{
	color: #9d9d9d !important;	
	}
	
	.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover, .dropdown-input-element:hover,.dropdown-input-element:focus{
	color: #fff !important;
	text-decoration: none;
	background-color: transparent !important;
	}
	.dropdown-header{
	color: #fff !important;
	}
	.dropdown-input-element{
	display: block;
	padding: 3px 20px;
	clear: both;
	font-weight: 400;
	line-height: 1.42857143;
	white-space: nowrap;
	color: #9d9d9d;
	text-decoration: none;
	}
	
	.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover{
	color: #fff !important;
	text-decoration: none;
	background-color: #080808 !important;
	}
	
	
	
	.table-delete-btn{	
	margin-right: 10px;
	}
	
	.modal-header{
	text-align: center;
	}
	.red{
	color:rgb(191, 56, 56);
	}
	.over{
	border: 3px solid #f55;
	}
	.circle {
	background-color:#fff;  
	height:30px;
	border-radius:50%;
	-moz-border-radius:50%;
	-webkit-border-radius:50%;
	width:30px;
	}
	.tutorial {
	height:500px !important;
	width:500px !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
	}
	
	.item > .tutorialimg{
	width: auto;
	height: 100% !important;
	min-height: 500px !important;
	max-width: none !important;
	}
	
	.einsatzcount{
	height:80px;
	width:70px;
	display: block;
	margin-right: 10px;
	}
	
	.ec-img{
		position: absolute;
		margin: auto;
		top: 0;left: 0;right: 0;bottom: 0;height: 50px;transform: translate(20px,-5px);
		margin-left: 3px;
	}
	
	.ec-span{
		color:#fff;padding-top: 30px;padding-bottom: 30px;line-height: 80px;font-size: 18px;
	}
	
	.start-wrapper{
	min-height: 20%;
	width: 100%;
	background: var(--color-black);
	}
	
	.start-section{
	height: 160px;
	max-width: 750px;
	margin: 0 auto;
	position: relative;
	}
	
	.start-section-div{
	margin: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 120px;
	overflow: hidden;
	width: 100%;
	}
	
	.start-section-img{
	width: 120px;
	height: 120px;
	overflow: hidden;
	display: inline-block;
	vertical-align: top;
	text-align: center;
	}
	.start-section-text{
	width: 500px;
	display: inline-block;
	height: 120px;
	color: #fff;
	position: relative;
	}
	
	.start-section-h2{
	text-align: left;
	text-decoration: underline;
	margin-top: 5px;
	}
	
	.start-section-a{
	vertical-align: bottom;
	position: absolute;
	bottom: 0;
	left: 0;
	}
	
	.start-section-text > .table-striped > tbody > tr:nth-of-type(2n+1){
	background-color: transparent;
	}
	
	.start-section-img .material-icons{
	font-size: 50px;
	line-height: 120px;
	color: #fff;
	}
	
	.tabletermin{
	display: block;
	overflow-y: scroll;
	height: 85px;
	}
	.marginleft10{
	margin-left:10px;
	}
	#webtitle{
	color: #fff;font-size: 24px !important;
	}
	#doc-table{
		background-color: #e6e6e6;
		width: 500px;
		text-align: left;
		margin: auto;
		border: 1px solid #ccc;
	}

	#doc-table td, #doc-table th{
		padding: 5px 10px;
	}

	#doc-table tr{
		border-top: 1px solid #ccc;
	}

	#table-torlogger td, #table-torlogger th{
		background: #fff;
		padding: 5px;
		padding-left: 15px;
	}

	#table-torlogger tr:nth-child(even){
		background: #efefef;
	}

/** INSTAGRAM **/
#insta-feed {
	max-width: 900px;
	margin: auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 3px;
}

.insta-post {
	position: relative;
	cursor: pointer;
}
.insta-post img,
.insta-post video {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}
.insta-post:hover {
	opacity: 0.8;
}
#insta-viewer {
	display: none;
	position: fixed;
	inset: 0;
	background: color-mix(in srgb, var(--color-black) 90%, transparent);
	justify-content: center;
	align-items: center;
	flex-direction: column;
	z-index: 1000;
	padding: 10px;
}
#insta-viewer-wrapper {
	height: 100%;
	flex-direction: row;
	display: flex;
	align-items: center;
}
#viewerImage, #viewerVideo {
	height: 100%;
	display: none;
	border-radius: 6px;
}
#viewerText {
	color: white;
	max-width: 600px;
	padding: 20px;
	text-align: center;
}
#viewerText p{
	overflow: auto;
	max-height: 80%;
}
.insta-close {
	position: absolute;
	right: 30px;
	top: 20px;
	color: white;
	font-size: 40px;
	cursor: pointer;
	z-index: 1;
}
/* Overlay */
.insta-hover-info {
    position: absolute;
    inset: 0; /* top:0, right:0, bottom:0, left:0 */
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1.4rem;
    font-weight: bold;

    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Hover aktiviert Overlay */
.insta-post:hover .insta-hover-info {
    opacity: 1;
}

.carousel-container {
	position: relative;
	height: 100%;
	max-height: 90vh;
	margin: 20px auto;
	overflow: hidden;
}
.carousel-wrapper {
	position: relative;
	height: 100%;
	overflow: hidden;
}
.carousel-slide {
	display: none;
	width: auto;
	height: 100%;
}
.carousel-slide.active {
	display: flex;
}
.carousel-slide img,
.carousel-slide video {
	width: auto;
	height: auto;
	max-height: 100%;
	display: block;
	border-radius: 6px;
}
.carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.5);
	color: #000;
	border: none;
	padding: 10px 15px;
	cursor: pointer;
	font-size: 18px;
	z-index: 10;
}
.carousel-nav:hover {
	background: rgba(255,255,255,0.8);
}
.carousel-prev {
	left: 10px;
}
.carousel-next {
	right: 10px;
}
.carousel-dots {
	text-align: center;
	padding: 10px;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}
.carousel-dot {
	height: 8px;
	width: 8px;
	margin: 0 5px;
	background-color: rgba(255,255,255,0.5);
	border-radius: 50%;
	display: inline-block;
	cursor: pointer;
	transition: background-color 0.3s;
}
.carousel-dot.active {
	background-color: #fff;
}

.icon.material-icons.insta-carousel {
	font-size: 15px;
	color: #ffffffbd;
	position: absolute;
	bottom: 2px;
	left: 2px;
}

.icon.material-icons.insta-fav {
	font-size: 20px;
  	padding: 2px;
}

.insta-post:nth-child(9) {
  display: none;
}

@media screen and (max-width: 500px){
	#insta-viewer {
		padding: 0;
		padding-bottom: 10px;
	}
	#insta-viewer-wrapper{
		flex-direction: column;
		overflow: auto;
	}
	
	#viewerCarousel{
		width: 100%;
  		height: 80vh;
	}

	.carousel-slide {
		justify-content: center;
	}

	#viewerImage, #viewerVideo,
	.carousel-slide img,
	.carousel-slide video {
		object-fit: contain;
		max-width: 90%;
    	align-self: center;	
	}

	#viewerText {
		max-height: 20vh;
	}

	#viewerText p {
		overflow: initial;
		max-height: none;
	}

	#insta-feed.insta-feed-small{
		grid-template-columns: repeat(3, 1fr);
	}
	.insta-post:nth-child(9) {
		display: block;
	}
}