body
{
	margin:0;
	background-color:#B0B0B0;
	font-family: Tahoma, Arial;
}

#wrapper
{
    width:950px;
	margin-left:auto;
	margin-right:auto;
	margin-top:15px;
	padding:0;
	background-color : white;
	border-radius : 15px;
	overflow: hidden;
	border:1px solid black;
}

header

{
	height : 150 px;
	background-image: url ('nav.png');
}

nav
{
  background-image : url ('nav.png');	
  height:30 px;
}	

nav a
{
	color:red;
	text-decoration:none;
	font-size : 15px;
}	
nav ul
{
	margin : 0;
    padding: 0 0 0 10px;
}

nav li
{
	list-style-type:none;
	float:left;

	margin : 5.5px 15px 5.5px 0;

}	
#content
{
	clear:both;
	padding:10px;
	
}	
	
h1
{
		margin-top:0;
}

footer
{
	border-top: 1px solid black;
	text-align:center
	
}

footer p
{
	margin:10px;
}

a
{
   text-decoration:none;
}

#Maintop label 
{
	display: inline-block; 	
	font-size: 15px;
	padding-left: 4px;
	padding-right:4px;
	min-width : 100px;
}
#view label 
{
	display: inline-block; 	
	font-size: 15px;
	padding-left: 4px;
	padding-right:4px;
	min-width : 150px;
}

#EditHead
{
	color : rgb(2, 14, 92);
	font-size :15px;
	line-height : 140%;
}
#EditHead label 
{
	display: inline-block; 	
	font-size: 15px;
	padding-left: 4px;
	padding-right:4px;
	min-width : 150px;
}
.buttondisabled
{
	appearance : none;
	-webkit-appearance : none;
	border-radius:10px;	
	padding:10px;
	background-color:#bec0ca;
	color:#fff;
	font-weight:600;
	border-radius:5px;

}


#Maintable label
{
	display: inline-block; 
	font-size: 10px;
	padding-left: 4px;
	padding-right:4px;
	min-width : 25px;
}	

#inputfields label
{
	display: block; 
	font-size: 12px;
	padding-left: 18px;
}	

#Mod_Par label,#WR_Par label,#HWR_Par label,#BWR_Par label,#SM_Par label,#EL_Par label,#BAT_Par label,#Mod_gen label
{
	display: block; 
	font-size: 12px;
	padding-left: 10px;
}	

#ModRes
{
	font-size: 12px;
}
#Modalimg
{
	padding-left: 20px;
}

input[type=text],input[type=tel],input[type=email],input[type=date],input[type=number],input[type=password]
{
	border-radius:10px;
	border: 2px solid #ccc;
	padding : 6px;
	margin:2px 0 10px 5px; 
	 box-shadow : 0 0 15px 4px rgba(0,0,0,0.06); 
}

select 
{
	border-radius:10px;
	border: 2px solid #ccc;	
	padding : 6px;	
	margin:2px 0 10px 5px;
	box-shadow : 0 0 15px 4px rgba(0,0,0,0.06); 
	
}
textarea
{
	border-radius:10px;	
	padding : 6px;
	margin:2px 0 10px 5px; 
	box-shadow : 0 0 15px 4px rgba(0,0,0,0.06);	
}

button:enabled
{
	appearance : none;
	-webkit-appearance : none;
	border-radius:10px;	
	padding:10px;
	background-color:#3F51B5;
	color:#fff;
	font-weight:600;
	border-radius:5px;

}

button:disabled
{
	appearance : none;
	-webkit-appearance : none;
	border-radius:10px;	
	padding:10px;
	background-color:#8b90ac;
	color:#000;
	font-weight:600;
	border-radius:5px;

}

#MainTableHead table , #MainTableHead td
{
	vertical-align : middle;
	text-align:right;
	border: 1px solid blue;
	border-collapse: collapse;
	
}	

#MainTableHead button
{
	appearance : none;
	-webkit-appearance : none;
	margin: 4px 2px 0px 2px;
	background-color:#ccc;
	color:#fff;
	font-weight:600;
	border-radius:5px;

}

#Maintable button
{
	appearance : none;
	-webkit-appearance : none;
	padding:0px;
	background-color:#ccc;
	color:#fff;
	font-weight:600;
	border-radius:5px;

}


#Maintable table
{
	vertical-align : top;
	text-align:left;
	border: 1px solid black;
	border-collapse: collapse;
	tr:hover {background-color: orange;}
}	

#Maintable td
{	
	vertical-align : top;	
	border: 1px solid black;
	border-collapse: collapse;
}

#Maintable tr:nth-child(even) {
	background-color: #e8e8e8;
  }

#Termintable table
  {
	  vertical-align : top;
	  text-align:left;
	  border: none;

	  border-spacing : 10px;
	  
  }	
  
#Termintable td
  {	
	  vertical-align : top;	
	  padding : 6px;
  }
  
#Termintable tr:nth-child(even) {
	  background-color: #e8e8e8;
	}

#Termintable button
	{
		appearance : none;
		-webkit-appearance : none;
		padding:0px;
		background-color:#ccc;
		color:#fff;
		font-weight:600;
		border-radius:5px;	
	}
	

#Modallist table
  {
	  vertical-align : top;
	  text-align:left;
	  border: 1px solid black;
	  border-collapse: collapse;
	  tr:hover {background-color: rgb(33, 134, 218);}
  }
#Modallist td
  {	
	  vertical-align : top;	
	  border: 1px solid black;
	  border-collapse: collapse;
	  padding-left: 7px;	  padding-right: 7px;
	  padding-top: 2px;
  }
 #Modallist tr:nth-child(even) {
	background-color: #e2e2e2;
  }
  

#viewboxhead
{
   font-size: 16px;
   height: 30px;
   background: #3030FF;
   color : #FFFFFF;
   border: 0px solid #000000;
   border-top-left-radius: 10px;
   border-top-right-radius: 10px;
}  
#viewbox
{
   background: #e8e8e8;
   border: 0px solid #000000;
   border-bottom-left-radius: 10px;
   border-bottom-right-radius: 10px;
   padding: 10px;
   font-size: 12px;
}  

#viewcell
{
   background: #eaeee3;
   border: 0px solid #000000;
   border-radius:20px;
   padding: 10px;
   
}  

#upldboxhead
{
   height: 30px;
   background: #65a800;
   border: 0px solid #000000;
   border-top-left-radius: 10px;
   border-top-right-radius: 10px;
}  
#upldbox
{
   height: 385px;	
   background: #eaeee3;
   border: 0px solid #000000;
   border-bottom-left-radius: 10px;
   border-bottom-right-radius: 10px;
   padding: 10px;
}  
input[type="file"] 
{
	display: inline;
	margin: 2em;
	padding: 1em;
	border: thin dotted;
	background: #eee;
}
	
output {
	display: block;
	margin-bottom: 2em;
}

form {
	margin: 1em;
	padding: 1em;
	border: thin dotted;
	background: #ccc;
}



.thumb {
	width: 3em;
	height: 3em;
	margin-right: 0.5em;
}
	
.thumbupld {
	width: 6em;
	height: 6em;
	margin-right: 0.5em;
}
		
/* input drop down */
.dropdown {
    position: relative;
    width: 200px;
}

.dropdown select {
    width: 100%;
    padding: 3px;
}

.dropdown > * {
    box-sizing: border-box;
    height: 32px;
}
 
.dropdown input {
    position: absolute;
    width: calc(100% - 20px);
}
/* input drop down end */

.switch {
	position: relative;
	display: inline-block;
	width: 55px;
	height: 26px;
  }
  
  .switch input { 
	opacity: 0;
	width: 0;
	height: 0;
  }
  
  .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #aaa;
	-webkit-transition: .4s;
	transition: .4s;
  }
  
  .slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
  }
  
  input:checked + .slider {
	background-color: #2196F3;
  }
  
  input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
	border-radius: 34px;
  }
  
  .slider.round:before {
	border-radius: 50%;
  }

  .cancelonimg {
	width : 40px;
	position: absolute;
	top: 3%;
	left: 81%;
	cursor: pointer;	
  }

  figure,
  figcaption {
	  margin: 0;
	  padding: 0;
  }


  figure img {
	width: 100%;
	display: block;
  }	

   figure iframe {
		width: 100%; 
		height:100%;
		display: block;	
}
/* Style the button and place it in the middle of the container/image */
figure button {
	position: absolute;
	top: 10%;
	left: 82%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	background-color:#bd4b47;
	color: white;
	font-size: 16px;
	padding: 10px 10px;
	border: none;
	cursor: pointer;
	border-radius: 15px;
  }
  .gallerybox {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(12em, 1fr));
	gap: 1em;
	text-align: center;
  }

.gallerybox figure {
	height : 380px;
	position: relative;
	color: black;
	background: rgb(207, 206, 206);
}
.gallerybox > figure > figcaption {
	position: absolute;
	bottom: 0;
	width: 100%;
	font-size: 11px;
	line-height: 3em;
	color: white;
	background: rgb(0 0 0 0.5);
}
 .gallerybox > figcaption {
	grid-column: 1 / -1;
  }

 .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(12em, 1fr));
	gap: 1em;
	text-align: center;
  }

.gallery figure {
	height : 310px;
	position: relative;
	color: black;
	background: rgb(207, 206, 206);
}
.gallery > figure > figcaption {
	position: absolute;
	bottom: 0;
	width: 100%;
	font-size: 11px;
	line-height: 3em;
	color: white;
	background-color: rgba(10 10 10 0.5);
}
 .gallery > figcaption {
	grid-column: 1 / -1;
  }

.gallerie li {
	display: inline-block;	
	list-style-type: none;
	width: 22%;
}

.gallerie img {
	padding: 0;
	margin: 0;	
	width: 100%;  /* Bild passt sich an verfügbaren Raum im li an */
}

.gallerie iframe {
	padding: 0;
	margin: 0;	
	width: 100%;  /* Bild passt sich an verfügbaren Raum im li an */
}

.gallerie button {
  padding: 0.1em;
  margin: 10;
}

.gallerie button:focus img, 
.gallerie button:hover img {
	border: 2em solid #eee;
	border-radius: 1em;
	box-shadow: 1px 1px 5px #333;
	width: 300%;
	position: absolute;
	left: -4%;
	top: -4%;
	z-index: 5;

	transition: all 1s;		
}	

 #komponenten img
 {
	margin:0;
padding:0;
/* float : left; */
border : 1px;
border-style: dotted;
/* display:block; */
 }
 
 .result-image {
	box-shadow: 0 4px 4px 2px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
  }
  
  .img-wrapper {
	height: 200px;
	position: relative;
	float: left 
  } 
  
 .img-wrapper button  {
	position: absolute;
	background-color: #CCC;	
	border-radius:3px;	
	padding:2px;
	margin: 2px;
	right: 0;
	top:0;
	display: none;
 }
  
  .img-wrapper:hover button {
	display: block;
  }

  /* Darstellungen für die Dialog-Box */

dialog {
	background: white;
	border: 1px solid grey;
	border-radius: 0 .5em .5em;
	box-shadow: 0 0 15px 5px #888;
	display: none;
	height: auto;
	padding: .5em 1em;
	position: relative;
	width: 100%;
	z-index: 1002;
}

dialog[open] {
	display: block;
}

@media (min-width: 30em) {
	dialog {
		position: absolute;
		top: 50%;
		margin-top: -10em;
		left: 50%;
		margin-left: -10em;
		width: 20em;
	}
}
/* Ebene zwischen Hintergrund und Dialog-Box, Pseudoelement noch nicht implementiert */

dialog::backdrop,
#backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.8);
}

dialog .button-row {
	text-align: center;
}

dialog .close {
	position: absolute;
	right: 3px;
	top: 1px;
	height: 2em;
	cursor: pointer;
	background-color: red;
	color: white;
	font-weight: bold;
	font-size: 1.5em;
	border-radius: 0 .5em .5em;
}

dialog [name="ok"] {
	background: #0b0;
	border-radius: 0 .5em .5em;
	color: white;
	font-weight: bold;
	font-size: 1.5em;
}

dialog [name="cancel"] {
	background: #f00;
	border-radius: 0 .5em .5em;
	color: white;
	font-weight: bold;
	font-size: 1.5em;
}

dialog > ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

dialog textarea {
	height: 4em;
	width: 100%;
}
/* Darstellungen für die Demo-Seite */

#result {
	border: 2px solid #888;
	border-radius: 0.5em;
	display: inline-block;
	padding: 0.2em 1em;
}

/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
  }
  
  /* The Close Button */
  .close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
  }

  #canvascontainer {
	width: 901px;
	height: 500px;
	overflow: auto;
	border: 1px solid;
  }
  canvas{
	display: block;
  }

  .infodev{
	padding-left: 20px;
	font-size: 10px;
  }

.visi
{
	visibility: inline; 
}
.unvisi
{
	display: none; 
}

