/* CSS Document */

body{
  margin:0;
  padding:0;
  height:100%;
  background-color:darkgrey;
}

#wrapper{
    background-color:#edebeb;
    min-height: 100%;
    margin-left:5%;
    margin-right:5%;
    position:relative;
}
#content{
  padding: 5px 5px 100px 5px;
  margin: 20px 20px 20px 20px;
  padding-bottom:100px;
}

#footer{
  position:absolute;
  width:95%;
  padding: 5px 5px 5px 5px;
  margin: 20px 20px 20px 20px;
  heigth: 100px;
  font-size: small;
  bottom:0;
  left:0;
}

.senden{ 
  width: auto; 
  padding: 9px 15px; 
  background-color: #617798; 
  border: 0; 
  font-size: 14px; 
  color: #FFFFFF; 
  background: #617798;
  -moz-border-radius: 5px; 
  -webkit-border-radius: 5px; 
} 



.formular input, .formularZeit input, .formular select, .formularUL select{ 
  padding: 13px;
  margin-bottom: 10px; 
  border: solid 1px #E5E5E5; 
  outline: 0; 
  font: Verdana, Tahoma, sans-serif; 
  width: 200px; 
  background: #FFFFFF; 
  background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF)); 
  background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);   
  box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; 
  -moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; 
  -webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
  border: solid 3px lightgray;
}

/*.formular option{
    background:#222;
    border-top:1px solid #444;
    padding:.3em 1em .3em 1em;
}*/
.formularUL input{
  padding: 13px; 
  border: solid 1px #E5E5E5; 
  outline: 0; 
  font: Verdana, Tahoma, sans-serif; 
  width: 250px; 
  background: #FFFFFF; 
  background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF)); 
  background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);   
  box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; 
  -moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; 
  -webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
}
.formular [type='number'], .formularZeit [type='number']{
  width: 70px;
}
.formular input:hover, .formular input:focus, .formularUL input:hover, .formularUL input:focus, , .formularZeit input:hover, .formularZeit input:focus{ 
  border-color: #C9C9C9; 
  -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 8px; 
} 
  
.formular label, .formularUL label { 
 /* float: left;*/
  text-align: right;
  margin-left: 10px;
  padding-top: 10px;
  padding-right:10px; 
  color: #999999;
  width: 100px;
}
 
.formularZeit label { 
  /*float: left;*/
  /*text-align: right;*/
  margin-left: 10px;
  padding-top: 10px;
  padding-right:10px; 
  color: #999999;
  /*width: 100px;*/
}   


#navi a{
  color: black;
  text-decoration: none;
}
#navi a:hover, #navi a:active{
  background-color: #103B60;
  color:white;
}

#faelle{
  width: 100%;
  padding: 10px 10px 10px 10px;
}

.tab{
    width: 100%;
    background-color:white;
}

#faelle table, #termTabelle table, .tab table{
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}
#faelle td, #faelle th, #termTabelle td, #termTabelle th, .tab th{
  border: 1px solid #ddd;
  padding: 8px;
}
#faelle tr:nth-child(even),#termTabelle tr:nth-child(even), .tab tr:nth-child(even){
  background-color: #f2f2f2;
}
#faelle tr:hover,#termTabelle tr:hover, .tab tr:hover, .table-header-rotated tr:hover{
  background-color:#ddd;
}
#faelle th, #termTabelle th, .tab th{
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #103B60;
  color: #FF2A44;
}
#faelle tr, #termTabelle tr, .tab tr{
  cursor: pointer;
}
#faelle th, #termTabelle th, .tab th{
  cursor: default;
}

#prFall{
  width: 100%;
  padding: 0 10px 0 10px;
}

#prFall table{
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}
#prFall td, #prFall th{
  border: 1px solid #ddd;
  padding: 8px;
}

#prFall tr:nth-child(even){
  background-color: #f2f2f2;
}
#prFall tr:hover{
  background-color:#ddd;
}
#prFall th{
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #103B60;
  color: #FF2A44;
  cursor: default;
}
#prFall tr{
  cursor: pointer;
}

.verst{
  display: none;
  margin-left: 15px;
}

.verstLink{
  font-size:17px;
  cursor:pointer;
}

.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 {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    float: clearboth;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */

.close {
    color: white;
    float: right;
    font-size: 20px;
    font-weight: bold;
    opacity: 1.0;
    padding-top:2px;
    padding-bottom:2px;
    z-index: 2;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

#termList{
  display: none;
}

#termTabelle{
  width: 100%;
}

#anm{
  margin-left: 30px; 
}
#anmDiag p{
  margin-bottom:10px;  
}
.mitte{
  text-align: center;
  height: 50px;
}

.benachrichtigung{
    height: 30px;
    margin-top:10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
    background-color: darkgreen;
    text-align: center;
    line-height: 30px;
}
.benachrichtigung a{
    color:inherit;
}
.closeBen{
    color:white;
    font-size:20px;
    font-weight:bold;
    float:right;
    margin-right:10px;
    z-index:2;
}
.closeBen:hover,
.closeBen:focus{
    color:#000;
    text-decoration:none;
    cursor:pointer;
}

.arZeit{
  margin-left: 10px;
  padding-top: 10px;
  padding-right:10px; 
  color: #999999;
}
.einruecken{
    margin-left: 10px;
}
.abstandTop{
    margin-top: 10px;
}
#kalender{
    background-color:white;
}
.monat{
    float:left;
    padding-left:20px;
}
.clearFloat{
    clear: both;
}
.samstag{
    background-color:orange;
}
.day{
    padding-left:10px;
}
.ferien td{
    width:4px;
    height:15px;
}
.frei{
    background-color:red;
}
.arbeitet{
    background-color:green;
}
.tdgruen{
    background-color:lightgreen;
}
.tdrot{
    background-color: pink;
}
/*.table-header-rotated tbody, .table-header-rotated thead{
    display:block;
}*/
.table-headers-rotated tbody{
    overflow:auto;
    height:90%;
}
.table-header-rotated th.row-header{
    width: auto;
    min-width:auto;
    background-color:white;
}

.table-header-rotated td{
    width: 40px;
    border-top: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    vertical-align: middle;
    text-align: center;
}
.table-header-rotated th{
    padding-left:20px;
    vertical-align:bottom;
}

.table-header-rotated th.rotate-45{
    height: 100px;
    width: 50px;
    left:10px;
    min-width: 50px;
    max-width: 50px;
    position: relative;
    vertical-align: bottom;
    padding: 0;
    font-size: 12px;
    line-height: 0.8;
}

.table-header-rotated th.rotate-45 > div{
    position: relative;
    top: 0px;
    left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
    height: 100%;
    -ms-transform:skew(-45deg,0deg);
    -moz-transform:skew(-45deg,0deg);
    -webkit-transform:skew(-45deg,0deg);
    -o-transform:skew(-45deg,0deg);
    transform:skew(-45deg,0deg);
    overflow: hidden;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-top: 1px solid #dddddd;
}

.table-header-rotated th.rotate-45 span {
    -ms-transform:skew(45deg,0deg) rotate(315deg);
    -moz-transform:skew(45deg,0deg) rotate(315deg);
    -webkit-transform:skew(45deg,0deg) rotate(315deg);
    -o-transform:skew(45deg,0deg) rotate(315deg);
    transform:skew(45deg,0deg) rotate(315deg);
    position: absolute;
    bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
    left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
    display: inline-block;
    // width: 100%;
    width: 85px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/
    text-align: left;
    white-space: nowrap; /*whether to display in one line or not*/
}
.scrolltable {
    overflow-x: auto;
    height: 100%;
}
.dbContainer{
    overflow:hidden;
    border-bottom:black solid 1px;
    width:800px;
    column-count:3;
}
.dbDaten{
    /*    padding-bottom:500em;
    margin-bottom:-500em;*/
    float:right;
    width:90%;
}
.dbUeber{
    width:10%;
    /*    padding-bottom:500em;
    margin-bottom:-500em;*/
}
.hLine{
    border-bottom:1px solid black;
}
.dbGUeber{
    text-decoration: underline;
    padding-left:300px;
    font-weight:bold;
    font-size:large;
}

.tab tr.spc td, .tab tr.spc th{
    padding-right:10px;
    padding-left:10px;
}
.kalenderTabelle td{
	height:80px;
	width:100px;
	font-size: 10px;
}
.kalenderTabelle td div{
	font-size:12px;
}
.kalenderTabelle td{
	border:1px solid black;	
}

.fileList span.fileName{
    padding-left:20px;
}

.mOrdnerName{
    font-size: larger;
}

.mAktFile{
    margin-left:20px;
}

.mAktFile .mFileName{
    padding-left:20px;
}