﻿/* Aufruf dieser funktionen
Popup:
html:
<p class="Button popup" onclick="javascript:toSave(this)" >Speichern<span class="popuptext " >gespeichert!</span></p>
js:
toPopup(obj);
MSG:
html:
	<div id="msgBox" class="modal">
		<div id="msgBoxContent" class="modal-content animate " >
			<div id="msgBoxTitel" style="padding: 5px;text-align: center;font-weight: bold  "></div>
			<div id="msgBoxText" style="padding: 20px" ></div>
        </div>    
   </div>
js:
toMsgFehler($("#StatusError").text()) 
toMsgDel()
toMsgKorrektur(msg)
functionen in system.js

 */



#msgBoxContent{
	
	max-width:400px;
}

#msgBoxTitel{
 background-color:#FE0127; color:white
}

.msgButton{

 padding: 3px 10px 6px 10px ;  
    color: black;
    display: inline-block;
    text-align: center;
   border-radius:5px;
    font-weight:600;
 min-width:100px;
 margin:20px 0px 10px 50px;
 
 
 
background: rgb(197,197,197); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(197,197,197,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(197,197,197,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(197,197,197,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#c5c5c5',GradientType=0 ); /* IE6-9 */
border:1px #C0C0C0 solid;

}
.msgButton a{
	text-decoration:none; color:black
}

.msgButton:hover, .msgButton:hover a{
	color:#FE0127; cursor:pointer
	
}


.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  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 */
  padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 0 auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 70%; /* Could be more or less, depending on screen size */
 
    


}
.modal-content h1{
	margin-top:0;
	font-size:16pt;
	color:#0059B3
}
.modal-content div:first-of-type{
	padding-bottom:15px
}

.modal-content input[type=text]{
	width:90%; max-width:350px

}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 160px;
  background-color: #00EC00;
  color: black;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #00EC00 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}




.mySlides1, .mySlides2, .mySlides3, .mySlides4, .mySlides5 {display: none}


.SlideContainer {
  max-width: 1920px;
  position: relative;
  margin: auto;
  
  
}

/* Next & previous buttons */
.SlideContainer .prev, .SlideContainer .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.SlideContainer .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a grey background color */
.SlideContainer .prev:hover, .SlideContainer .next:hover {
  background-color: #f1f1f1;
  color: black;
}
.DotContainer{
	text-align:center; margin-top:3px; display:none
}
.myDot1, .myDot2, .myDot3, .myDot4, .myDot5 {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  cursor:pointer;
 
}
.SlideContainer .active, .SlideContainer .dot:hover {
  background-color: #717171;
}


















