/* {
    margin: 0;
    padding: 0;
}
*/


html, body {
    height: 100%;
    margin:0;
    padding:0;
    overflow:    hidden;
	font-family: sans-serif;
}

#seite {
    position: relative;
    min-height: 100%;
    width: 100%;
    margin: 0 auto;
    /* background-color: wird in svp.css abhängig von app.environment festgelegt */
}

/* header, nav, section, footer */
header, nav, section, footer {display: block;}

header {
    top: 0px;           /* Ausgangspunkt des Headers ist der obere Rand des Browsers */
    position:fixed;     /* !important; - sorgt für eine feste Positionierung des Headers; */
    position:absolute;  /* - feste Positionierung für ältere Browser, die position:fixed noch nicht verstehen */
    height:10%;
    width:100%;
    
	color: white;
	background-color: #333;
    font-family: sans-serif;
    padding-left: 2em;
	
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#003366+1,519fff+100 */
    background: #003366; /* Old browsers */ /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  hsla(210,100%,20%,1) 1%,hsla(213,100%,66%,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: -webkit-linear-gradient(left, hsla(210,100%,20%,1) 1%, hsla(213,100%,66%,1) 100%);
    background: linear-gradient(to right,  hsla(210,100%,20%,1) 1%,hsla(213,100%,66%,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003366', endColorstr='#519fff',GradientType=1 ); /* IE6-9 */
}

header p {
	line-height: 2.5em;
	padding-left: 1em;
	font-size: 1.5em;
}

nav {
  width:100%;
  height:45%;           /* Prozentualer Anteil am Header von unten  */
  bottom:0px;           /* die Navigation liegt innerhalb des Headers an der unteren Kante */
  left:0px;
  position:absolute;    /* die Positionierung an der Unterkante des Headers erfolgt absolut */
    
  background: transparent;
}


/* Workaround: Die Contentdarstellung unterscheidet sich nur in der Hintergrundfarbe! */
#content-entw {
    top:10%;              /* der Content beginnt um die Höhe des Headers versetzt nach unten */
    height:85%;           /* - die Gesamthöhe des Contentbereiches ergibt sich aus 100% minus Höhe Header minus Höhe Footer */
    position:relative;    /* die Positionierung erfolgt relativ zum vorherigen Element (dem Header) */
    overflow:auto;        /* das am Body definierte overflow:hidden, wird hier auf auto zurückgesetzt, damit der Rollbalken nur am Contentbereich erscheint */
    width:100%;
    padding-left: 2em;    
    background-color: DarkSeaGreen;
}

#content-test {
    top:10%;              /* der Content beginnt um die Höhe des Headers versetzt nach unten */
    height:85%;           /* - die Gesamthöhe des Contentbereiches ergibt sich aus 100% minus Höhe Header minus Höhe Footer */
    position:relative;    /* die Positionierung erfolgt relativ zum vorherigen Element (dem Header) */
    overflow:auto;        /* das am Body definierte overflow:hidden, wird hier auf auto zurückgesetzt, damit der Rollbalken nur am Contentbereich erscheint */
    width:100%;
    padding-left: 2em;
    background-color: Bisque;
}
#content-prod {
    top:10%;              /* der Content beginnt um die Höhe des Headers versetzt nach unten */
    height:85%;           /* - die Gesamthöhe des Contentbereiches ergibt sich aus 100% minus Höhe Header minus Höhe Footer */
    position:relative;    /* die Positionierung erfolgt relativ zum vorherigen Element (dem Header) */
    overflow:auto;        /* das am Body definierte overflow:hidden, wird hier auf auto zurückgesetzt, damit der Rollbalken nur am Contentbereich erscheint */
    width:100%;
    padding-left: 2em;
    background-color: silver;
}

footer {
    height: 5%;
    bottom: 0px;
    position:absolute;
    width: 100%;

    color: yellow;
    background-color: white;
    font-family: sans-serif;
    font-size: 1.0em;
	
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#003366+1,519fff+100 */
    background: #003366; /* Old browsers */ /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  hsla(210,100%,20%,1) 1%,hsla(213,100%,66%,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: -webkit-linear-gradient(left, hsla(210,100%,20%,1) 1%, hsla(213,100%,66%,1) 100%);
    background: linear-gradient(to right,  hsla(210,100%,20%,1) 1%,hsla(213,100%,66%,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003366', endColorstr='#519fff',GradientType=1 ); /* IE6-9 */
}

footer p {
	line-height: 1em;
	padding-left: 1em;
}


textarea{
    display: inline-block;
    vertical-align: top;
}

.headline {
    margin-top: 10px;
}

.headline p {
    /* font-size: 1.75em; */
    font-size: 1.5em;
    font-weight: bold;
    font-style: italic;
}

.title {
    margin-top: 20px;
}

.title p {
    /* font-size: 1.25em; */
    font-size: 1.0em;
    font-weight: bold;
}

.data {
    /* margin-top: 20px; */
    margin-top: 5px;
    font-size: 1em;
}

.data p {
    margin-top: 10px; 
    font-size: 0.75em;
}

.data table.no-border {
    border-spacing: 10px;
    border-collapse: separate;
    border: 0;
    font-size: 0.75em;
}

.data table.rounded-corners {
  border-spacing: 10px;
  border-collapse: separate;
  border-radius: 10px;
  border: 1px solid black;
  background-color: darkgrey;
  font-size: 0.75em;
}

table.rounded-corners tr {
    line-height: normal;
    /* line-height: 1.6; */
}

.auswahlliste {
	margin: 0 1em;
    font-size: 0.75em;
}

.input-money {

    width: 65px;
    text-align: right;
}

#logout {
	width: 300px;
	margin-right: 1em;
	text-align: right;
	float: right;
	display: inline-block;
	font-size: 10px !important;
}

#logout p {
	margin: 0;
	padding: 0;
	line-height: 1em;
}

.submit-progress {
    position: fixed;
    /* top: 50%;
    left: 50%;
    height: 6em; */
    z-index: 1;
    /* The following properties are the ones most likely to change */
    /* width: 50em;
    /* Set 'margin-left' to a negative number that is 1/2 of 'width' */
    /*margin-left: -25em; */
    padding-top: 2em;
    padding-left: 2.1em;
    padding-right: 2.1em;
    /* background-color: black; */
    background: #003366; /* Old browsers */ /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  hsla(210,100%,20%,1) 1%,hsla(213,100%,66%,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: -webkit-linear-gradient(left, hsla(210,100%,20%,1) 1%, hsla(213,100%,66%,1) 100%);
    background: linear-gradient(to right,  hsla(210,100%,20%,1) 1%,hsla(213,100%,66%,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003366', endColorstr='#519fff',GradientType=1 ); /* IE6-9 */
      
    color: white;
    -webkit-border-radius: 0.4em;
    -moz-border-radius: 0.4em;
    border-radius: 0.4em;
    box-shadow: 0.4em 0.4em rgba(0,0,0,0.6);
    -webkit-box-shadow: 0.4em 0.4em rgba(0,0,0,0.6);
    -moz-box-shadow: 0.4em 0.4em rgba(0,0,0,0.6);
  }

.popup {
    position: fixed;
    height: 60px;
    top:30%;
    left:30%;
    
    z-index: 1000;
    
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;    
    
    background: #003366; /* Old browsers */ /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  hsla(210,100%,20%,1) 1%,hsla(213,100%,66%,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: -webkit-linear-gradient(left, hsla(210,100%,20%,1) 1%, hsla(213,100%,66%,1) 100%);
    background: linear-gradient(to right,  hsla(210,100%,20%,1) 1%,hsla(213,100%,66%,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003366', endColorstr='#519fff',GradientType=1 ); /* IE6-9 */
      
    color: white;
    -webkit-border-radius: 0.4em;
    -moz-border-radius: 0.4em;
    border-radius: 0.4em;
    box-shadow: 0.4em 0.4em rgba(0,0,0,0.6);
    -webkit-box-shadow: 0.4em 0.4em rgba(0,0,0,0.6);
    -moz-box-shadow: 0.4em 0.4em rgba(0,0,0,0.6);
  }


/**********/
/* Tables */
/**********/
.footer-table {
    border-spacing:3px;   
}


td {
    white-space: nowrap;
}


/************/
/* Buttons */
/************/
button {
    border: 1px solid;
    height: 20px;
    /* width: 100px; Darf hier keinesfalls defiert werden! */
    font-weight: bold; 
    font-style: italic;
    text-align: center;
    cursor: pointer;
}

/* Zurück, Speichern, Verwerfen .... */
button.std-button {
    width: 100px;
    background-color: lightgray;
    color: black;
}

/* Style wenn der Button den Fokus hat. */
/* Muss noch definiert werden! */
button.std-button:focus {
    background-color: lightgray;
    color: black;
}

button.std-button:active {
    background-color: gray;
    color: black;
}

/* Sortierbuttons in den Listenheaderen */
button.sort-button {
    
}

/* Steuerungbuttons für Rechnungen  */
button.ctrl-button {
    width: 200px;
    background-color: lightcoral;
    color: white;
}

button.ctrl-button:focus {
    background-color: lightcoral;
    color: white;
}
*/

button.ctrl-button:active {
    background-color: gray;
    color: black;
}


/*******************************************/
/* label wird für die pdf-Button benötigt! */
/*******************************************/
label {
    display: inline-block;
    vertical-align: top;
}

/* 1.0.4 */
/* pdf Upload, pdf Anzeigen, pdf löschen etc ...          */
/* ACHTUNG: Es handelt sich hier um einen "Pseudo-Button! */
/* Tatsächlich wird hier ein Label-Tag formatiert!        */
.pdf-button {
    display: block; 
    border: 1px solid;
    background-color: gray;
    color: white;
    width: 100px;
    height: 20px;
    text-align: center;
    padding-top: 2px;
    font-family: sans-serif;
    font-size: 1.0em;
    font-weight: bold; 
    font-style: italic;
    cursor: pointer;
}


/* Style wenn der Button den Fokus hat. */
/* Muss noch definiert werden! */
.pdf-button:focus {
    background-color: gray;
    color: white;
}

.pdf-button:active {
    background-color: gray;
    color: black;
}

/**********/
/* Inputs */
/**********/
input {
    font-family: sans-serif;
    font-size: 1.1em;
}

input[readonly] {
    outline: none;
    font-weight:bold;
    background-color: darkgray;
    border: 0;
}

input[type="date"][readonly] {
    font-weight:bold;
    color: black;
}

input[type="date"][value=""][readonly] {
    color: transparent;
}


/* 1.0.4 */
input[type="file"] {
    display: none;
}


/************/
/* Textarea */
/************/

textarea {
    display: inline-block;
    vertical-align: top;
    font-family: sans-serif;
    font-size: 1.0em;
}

textarea[readonly] {
    background-color: lightgray;
}


/**********/
/* Select */
/**********/
select {
    font-family: sans-serif;
    font-size: 1.0em;
}

select[disabled] {
    outline: none;
    border: 0;
    background-color: darkgray;
    font-weight:bold;
    color:black; 

    -moz-appearance: none;          /* Entfernen des dropdown icon for Firefox */
    -webkit-appearance: none;       /* Entfernen des dropdown icon for Safari, Chrome, Opera */

}





