/*
Medientypen durch Auswahl im HTML-Code
<link rel="stylesheet"
      href=".css"
      media="screen and (min-width: 480px)" />

Innerhalb vom CSS
@media print, screen and (min-width: 480px) {
    h1 {
        ...
    }

all, print, screen
width
height
min-...
max-...
min-device-...
max-device-...
orientation: landscape
orientation: portrait

}

*/

html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    font-size: 1.0em;
    line-height: 1.5em;
    background-color: #373737;
}

body {
    text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #f0f0f0;
}

/* Auf Mobilgeraeten ist ein Pixel nicht gleich ein Pixel. Ist in CSS3 noch nicht offiziell drin
@media screen and (-webkit-min-device-pixel-ratio: 1.5) {
    body {
        font-size: 90%;
    }
}
 */

h1 {
    text-align: center;
    font-size: 160%;
    margin: 0px -10px 0.7em -20px;
    padding: 0.8em 0 0.8em 0.3em;
    display: block;
    background-color: #666;
    position: relative;
}

img {
    max-width: 100%; /* Bild passt so immer in den umschließenden Container */
}

hr {
    border-color: #666; 
    margin-bottom:1.0em;   
}

table {
    border-spacing: 0;  
}

table.tableRind td {
    border-width: 0px; 
    padding: 1px 6px 1px 0;  
    vertical-align: top;  
}

table.border {
    border: 1px solid #666;  
    margin-bottom: 2em;
}

td.pro20 {
    width:20%; 
    
    
}

table.border th {
    border-bottom: 1px solid #666;  
}

fieldset {
    border: none;
    margin: 0;
}

label {
    font-size: 100%;
}
tr {
    font-size: 140%;
}

th {
    text-align: left;
    border-top: 1px solid #666;
    padding: 0.3em;
}

td {
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    padding: 0.3em;
}

td:last-of-type  {
    border-right: none;
}

input {
    font-size: 1.6em;
    padding: 0.7em 0 0.7em 1%;
    color: #000;
    border: none;
}

select {
    font-size: 160%;
    height: 1.8em;
}

textarea {
    width: 80%;
    height: 8em;
    font-size: 1.6em;
	font-family: Arial, Helvetica, sans-serif;
}

input[type=checkbox] {
    -webkit-transform: scale(2);
    border: none;
    background: transparent;
    margin-left: 0.5em;
}

input[type=radio] {
    -webkit-transform: scale(2);
    border: none;
    background: transparent;
    margin-left: 0.5em;
}







/* ID Selektoren ******************************************************************/

#appContainer {
    position: relative;
    padding: 0;
    text-align: left;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    z-index: 0;
    margin: auto;
    background-color: #373737;     
}

/* Auf Mobilgeraeten ist ein Pixel nicht gleich ein Pixel. Ist in CSS3 noch nicht offiziell drin 
@media screen and (-webkit-min-device-pixel-ratio: 1.5) {
    #appContainer {
        min-width: 320px;
    }
}
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    #appContainer {
        min-width: 240px;
    }
}
*/

#appContent {
    position: relative;
    overflow: auto;
    z-index: 0;
    width:100%; /* mob.js init ueberschreibt width mit eine Pixelwert. Prozent funktioniert hier nicht */
    margin: 0;
    padding: 0;
    padding-top: 80px;
    text-align: left;
    z-index: 0;
    vertical-align: top;
}

#appMenu {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    background: -webkit-gradient(linear, 0 0, 100% 0, from(#6fbe53), to(#6fbe53)); 
    z-index: 100;
    height: 80px;
    overflow: visible;  
    border-bottom: 1px solid #ababab;
    box-sizing: border-box;
}

#menuLogoImage {
    background: url(./images/klauenpflege_logo_75.png);
    background-size: 80%;
    background-repeat: no-repeat;
    width: 75px;
    height: 75px;
    position: absolute;
    top: 10px;
    right: 5px;                
}

#buttonSelectedItemArea {
    text-align:left; 
    color: #fff;
    font-size: 120%;
    font-weight: bold;
    position: absolute;
    left: 1px;
    top:1px;
}

#menuSelectionItemArea {
    position: absolute;
    left: 15px;
    bottom: 15px;
    width: 75%;
}

#pageStart {
    text-align: center; 
    margin-top: 20%;
    padding: 0;
    font-size: 140%;
    line-height: 1.5em;
}

#startLogo {
    width: 340px;
    height: 340px;
    display: inline-block;
}

#topSpacer {
    margin: 0;
    height: 90px; 
}

#bullenbrowserMenu {
    margin-top: 3em;    
    padding-left: 0.5em;
    padding-right: 0.5em;    
}

#messageWindow {
    display: none; 
    text-align: left;
}

#dialogWindow {
    display: none;  
}

#progressBarDialog {
    display: none;  
}

#behandlungWindow {
    display: none;
    background-color: #f0f0f0;
}

#auftragAbschliessenWindow {
    display: none;
    background-color: #f0f0f0;
}

#buttonSelectGebiet {
    display: none;  
}

#buttonGetDataFromServer {
    display: none;  
}



#buttonBesamungenSenden {
    display: none;  
}



#statusBesamungenUngesendetListe {
}

#tipWindow {
    display: none;  
    width: 200px;
    position: absolute;
    background-color: #f0f0f0;
    color: #000;
    text-align: left;
}

#tipWindowHead {
    text-align: right;
}

#buttonTipWindowClose {
    cursor: pointer;    
}

#besamungsdatum {
    background-color: transparent;
    text-align: center;    
    cursor: default;    
    
}

#pageBesamungAnlegenVerlauf {
    margin-top: 1.5em;
}

#pageAuftragAnlegenVerlauf {
    margin-top: 0;
    padding-left:10px;
}

#auftragAnlegenVerlaufKundeName {
    font-size: 140%;
}

#pageAuftragAnlegenRindKlaueButtons {
    text-align: center;
}

#pageAuftragAnlegenRindInfo {
    padding: 0.2em;
}

#pageRindDetails {

}

#auftragAnlegenVerlaufUnterschrift {
    margin-top: 1em;
    position: relative;
}

#auftragAnlegenVerlaufUnterschriftInner {
    position: relative;
    overflow: hidden;
    height: 150px;
    margin-left:auto;
    margin-right:auto;
}

#unterschriftCanvas {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
}

#unterschriftDraggable {
    position: absolute;
    top: 0;
    left: 0;
    height: 150px;
    width: 200px;
    background-color: transparent;
}

#pageAuftragAnlegenRindKlaueSchnellauswahlButtons {
    display: inline-block;
    width: 19%;  
    margin: 1em 0 2em 0;  
    padding: 0;
}

#pageAuftragAnlegenRindKlaueSchnellauswahlButtons .pageButton {
    margin: 0;
}

/* Klassen *********************************************************************/

.menuButton {
    cursor: pointer;
    width: 32%;
    padding: 10px 0 10px 0; 
    text-align:center;   
    color: #fff;
    margin-right: 0px;    
    display: inline-block; 
    border: 1px solid #373737;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    background: -webkit-gradient(linear, 0 0, 0 50%, from(#aaa), to(#373737));    
    font-size: 140%;
}

#menuSelectionItemArea :first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 0px;
    border-right: none;
}

#menuSelectionItemArea :last-child {
    border-top-left-radius: 0px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 8px;
    border-left: none;
}

.menuButtonSel {
    background-color: #6fbe53;
    background: -webkit-gradient(linear, 0 0, 0 50%, from(#a8ba7e), to(#6fbe53));    
    color: #fff;
}

.pageHide {
    display: none;
}

.layoutBlock {
    margin: 0 10px 10px 10px;
    padding: 0;
}


.blockHide {
    display: none;
}

.buttonHide {
    display: none;
}

.statusButton {
    width: 20%;
    height: 64px;
    
    position: relative;
    text-align: center;
    margin: 0;
    display: table-cell;
    vertical-align:  top;
    
}

.left {

    text-align:left;   

}

.linkButton {
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#ccc), to(#000));    
    cursor: pointer;
    padding: 0.6em 0 0.6em 1em; 
    margin-top: 0.4em;  
     
    color: #f0f0f0;
    font-size: 140%;    
}

.linkButton2 {
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#f8e5ba), to(#ad8057));    
    cursor: pointer;
    margin-top: 0.4em;  
    width: 100%; 
    color: #000;
    font-size: 140%;  
    text-align:center;  
}

.colorInactive {
    color: #333333;
 
}

.headBar {
    background-color: #191919;  
    cursor: pointer;    
    color: #f0f0f0;
    font-size: 140%;    
}

.statusTextButton {
    width: 100%;
    height: 64px;
    border: none;
    background-color: #e3bd91;
    cursor: pointer;
}

.statusTextButtonInaktiv {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #191919;
}

.klein {
    font-size: 70%;
}

.tierHeadline {
    font-size: 140%;
    padding-left: 0.5em;

}

.links {
    text-align: left;
}
.rechts {
    text-align: right;
}

.mitte {
    text-align: center;
}

.grau {
    color: #ababab;
    font-size: 80%;
}

.dateBrowser {
    display: table;
    width: 100%;
}

.dateBrowserPrint {
    display: table-cell;
    width: 20%;
    text-align: right;
}

.dateBrowserDate {
    display: table-cell;
    width: 75%;
}

.dateBrowserDatePicker {
    width: 49%;
    margin: 0;    
}

.dateBrowserDatePrevNext {
    width: 18%;
    margin: 0;
}

.center {
    text-align:center;
}

#ergebnis_status_id_ergebnis_status {
    width: 49%;
}


table.highRow td {
    padding: 1em 0.3em 1em 0.5em;
    border-right: none;
    vertical-align: top;
}

table.lowRow td {
    border-right: none;
}

table.highRow th {
    padding: 0.3em 0.3em 0.3em 0.5em;
    font-weight: normal;
    background-color: #838383;
}

tr.selected {
    background-color: #666;
    font-size: 140%;
}

tr.doubleTop td {
    border-bottom: none;  
}

tr.doubleBottom td {
    border-top: none;  
}

p.center {
    text-align: center;
    margin: 10px 40px 10px 40px;
}

span.functionLink {
    cursor: pointer;
    text-decoration: underline;
    color: #6fbe53;
}

span.functionLinkButton {
    background: -webkit-gradient(linear, 0 0, 0 50%, from(#a8ba7e), to(#6fbe53));    
    cursor: pointer;
    color: #fff;
    padding: 10px; 
    border: 1px solid #373737;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

span.functionLinkKlaue {
    cursor: pointer;
    text-decoration: underline;
    color: #f77;
}

span.kleinerHinweis {
    font-size: 70%;
    color: #fcac5d;
}

span.extraHinweis {
    color: #ff0000;
}

span.big {
    font-size: 120%;
}

img.symbolLink {
    cursor: pointer;
}

div.verlaufBlock {
    border-top: 1px solid #666;
    padding: 0.2em;
    line-height: 1.5em;
}

div.verlaufBlockPos {
    padding: 0.2em;
    line-height: 1.1em;
}

div.buttonList {
    text-align: justify;
}

div.systemMeldung {
    margin: 3em;
    line-height: 1.5em;
    font-size: 160%;
}

div.nachricht {
    text-align: center;
    padding-top: 2em;
    font-size: 140%;
}

div.lagerplatzChargeFarbe {
    display                           : inline-block;
    border                            : 1px solid #000;
    height                            : 16px;
    width                             : 16px;
}

div.lagerplatzChargeFarbeMarkierstab {
    display                           : inline-block;
    border                            : 1px solid #000;
    height                            : 16px;
    width                             : 8px;
}

.formularBlock {
    text-align: center;
    width: 100%;
    margin-top: 2em;
    
}

input.pageButton {
    background: -webkit-gradient(linear, 0 0, 0 50%, from(#a8ba7e), to(#6fbe53));    
    cursor: pointer;
    padding: 1.5em 0 1.5em 0;
    font-size: 160%;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    border-right-color: #252321;
    border-bottom-color: #252321;
    border-left-color: #7d7d7d;
    border-top-color: #7d7d7d;
    border-radius: 4px;
    color: #fff;
    margin: 0 1.5% 0 1.5%;
}

.marginBottom1 {
    margin-bottom: 1em;
}

#pageButton2 {
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#f8e5ba), to(#ad8057));    
    cursor: pointer;
    padding: 1em  1em ;    
    font-size: 100%;
    display: inline;
    color: #0f0f0f;

}

input.pageButtonDark {
    background: -webkit-gradient(linear, 0 0, 0 50%, from(#aaa), to(#000));    
    cursor: pointer;
    padding: 1em 0 1em 0;    
    font-size: 100%;
    color: #f0f0f0;
}

input.pageButtonInaktiv {
    background: -webkit-gradient(linear, 0 0, 0 50%, from(#aaa), to(#ccc));    
    cursor: default;
}

input.pageButtonMark {
    font-weight: bold;
    color: #000000;
}

input.fullWidth {
    width: 80%;
}

input.halfWidth {
    width: 38.5%;
}

input.halfWidthRight {
    width: 48%;
    margin-left: 50%;
}

input.halfWidthCenter {
    width: 48%;
    margin-left: 26%;
}

input.quart1Width {
    width: 19%;
}

input.quart3Width {
    width: 59%;
}

input.variableWidth {
    padding-left: 1em;
    padding-right: 1em;
}

div.klaueButton {
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#6fbe53), to(#3c9b20));    
    cursor: pointer;
    padding: 0;
    font-size: 140%;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    border-right-color: #252321;
    border-bottom-color: #252321;
    border-left-color: #7d7d7d;
    border-top-color: #7d7d7d;
    border-radius: 20px;
    border-bottom-right-radius: 90px;
    border-bottom-left-radius: 90px;
    color: #fff;
    width: 46%;
    height: 7em;
    margin:0.3% 0.6% 3% 0.6%;
    display: inline-block; 
    overflow: hidden;
    position: relative;
}

div.klaueButtonLeft {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 7em;
    box-sizing: border-box;
    border: 0.3em solid rgba(0, 50, 0, 0.1);
    border-top: 1.8em solid rgba(0, 50, 0, 0.1);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 90px;
}

div.klaueButtonRight {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 7em;
    box-sizing: border-box;
    border: 0.3em solid rgba(0, 50, 0, 0.1);
    border-top: 1.8em solid rgba(0, 50, 0, 0.1);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 90px;
}

div.klaueButtonInfoTop {
    text-align: center;
    font-size: 80%;
    padding-left:  2%;
    overflow: hidden;
}

div.klaueButtonInfoLeft {
    text-align: left;
    font-size: 80%;
    padding-left:  2%;
    overflow: hidden;
    height: 14em;
    display: inline-block;
    border-right-width: 5px;
    border-right-style: solid; 
    border-right-color: #373737;
}

div.klaueButtonInfoRight {
    text-align: left;
    font-size: 80%;
    padding-left:  2%;
    overflow: hidden;
    height: 14em;
    display: inline-block;
}

#pageAuftragAnlegenRindDiagnoseAuswahl {
    text-align: left;
    font-size: 1.6em;
    padding: 0.5em 0 0.5em 0;
    margin: auto;
    width: 80%;
}


.klaueNameKurz {
    padding: 0.4em 0 0.2em 0;
}

input.border {
    border: 1px solid #201f1e;
}

input.merge {
    background-color: transparent;
    color: #f0f0f0;
    cursor: pointer;
    font-size: 100%;
    font-weight: bold;
}

select.halfWidth {
    width: 49%;
}

select.fullWidth {
    width: 100%;
}




.rindForm {
    margin: 0.4em 0;
}

/* Widgets **************************************************************/

.widgetSpinner {
    display: inline;  
    width: 100%; 
    text-align: center;
}

input.widgetSpinnerDown {
    font-size: 2em;
    width: 15%;
    height: 2.1em;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    padding: 0;
    border: none;
}

input.widgetSpinnerUp {
    font-size: 2em;
    width: 15%;
    height: 2.1em;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    padding: 0;
    border: none;
}

input.widgetSpinnerField {
    font-size: 2em; 
    width: 70%; 
    height: 2.1em;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    padding: 0;
    border: none;
    background-color: #f0f0f0;
}


/* JQuery ****************************************************************/

.ui-autocomplete {
    text-align: left;
    max-width: 93%;
    /*max-height: 70%;*/
    overflow: auto;
    z-index: 1;
}

.ui-menu-item {
    padding: 0.7em 1em 0.7em 0.2em !important;
    font-size: 1.6em;
    border-bottom: 1px solid #000;
    background-color: #ffffff;
}

.ui-datepicker-trigger {
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#f8e5ba), to(#deb188));    
    cursor: pointer;
    padding: 1em;    
    font-size: 100%;
    border: none;
}

.ui-state-default {
    font-size: 120%;
}

.ui-progressbar .ui-progressbar-value { 
    background-image: url(jquery/images/pbar-ani.gif);
}

.ui-datepicker-calendar th {
    background-color: #ababab;    
}

div.ui-datepicker {
    z-index: 200 !important;
    width: 20em;
}