/* 
 * Author: Christian Röhl
 * Revision: $Rev$
 * Date: 09.06.2016
 * Edit: $LastChangedDate$
 */

html
{
    /*overflow: hidden;*/
    height: 100%;
}
body
{
    background-color: #E9EBEE;
    padding: 0px;
    margin: 0px;
    height: 90%;
    font-family: "Arial";
}


/*******************************************
******                               *******
******    Allgemein                  *******
******                               *******
*******************************************/

.shadowBlack
{
    box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.8 );
    border: 1px solid #EFEFEF;
    border-radius: 5px;
}

.clickCursor
{
    cursor: pointer;
}

.hide
{
    display: none;
}

.cookieFooter
{
    position: fixed;
    bottom: 0px;
    line-height: 30px;
    padding: 10px;
    background-color: rgba( 0,0,0,0.8);
    color: white;
    width: 100%;
}

.cookieFooter button
{
    position: relative;
    margin-left: 20px;
    width: 100px;
}

/*******************************************
******                               *******
******    Form Bereich               *******
******                               *******
*******************************************/
button[type=submit], .linkButton {
	/*float: right;*/
	margin: 20px 5%;
	width: 88%;
        max-width: 400px;
	height: 40px;
	font-size: 24px;
	font-weight: bold;
	color: #fff;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#acd6ef), to(#6ec2e8));
	background-image: -moz-linear-gradient(top left 90deg, #acd6ef 0%, #6ec2e8 100%);
	background-image: linear-gradient(top left 90deg, #acd6ef 0%, #6ec2e8 100%);
        background-color: cornflowerBlue;
	border-radius: 30px;
	border: 1px solid #66add6;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
	cursor: pointer;
}

a
{
    text-decoration: none;
}

.linkButton
{
    margin: 1%;
    width: auto;
    height: 30px;
    font-size: 18px;
    margin-top: 0px;
    padding: 0.5% 5%;
}

.linkButtonOff
{
    cursor: default;
    opacity: 0.3;
}


input {
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-size: 12px;
	outline: none;
}

input[type=text],
input[type=password] {
	color: #777;
	padding-left: 10px;
	margin: 10px;
	margin-top: 12px;
	margin-left: 18px;
	height: 35px;
	border: 1px solid #c7d0d2;
	border-radius: 2px;
	box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .4), 0 0 0 5px #f5f7f8;
	-webkit-transition: all .4s ease;
	-moz-transition: all .4s ease;
	transition: all .4s ease;
}

input[type=text]:hover,
input[type=password]:hover {
	border: 1px solid #b6bfc0;
	box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .7), 0 0 0 5px #f5f7f8;
}

input[type=text]:focus,
input[type=password]:focus {
	border: 1px solid #a8c9e4;
	box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .4), 0 0 0 5px #e6f2f9;
}

form label {
	color: #555;
	display: inline-block;
	margin-left: 18px;
	padding-top: 10px;
	font-size: 18px;
}

/*******************************************
******                               *******
******    Kopf Bereich               *******
******                               *******
*******************************************/

header.BigHead, header.SmallHead
{
    background-color: #c9cbcf;
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    height: 100px;
    left: 0px;
    right: 0px;
    z-index: 10;
}

header.SmallHead
{
    height: 50px;
}

header.BigHead *, header.SmallHead *
{
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
}

header.BigHead span
{
    font-size: 5em;
}

header.SmallHead span
{
    font-size: 2em;
}

img.HeadLogo
{
    position: absolute;
    left: 1%;
    max-height: 100%;
}

main
{
    padding-top: 100px;
}


/*******************************************
******                               *******
******    Menü                       *******
******                               *******
*******************************************/
aside.HideMainMenu img.MenuIcon, aside.ShowMainMenu img.MenuIcon
{
    display: none;
    position: absolute;
    height: auto;
    width: 56px;
    z-index: 2;
    left: 0px;
    background-color: #EFEFEF;
    border-right: 0px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    top: 5%;    
}


aside.HideMainMenu, aside.ShowMainMenu
{
    position: fixed;
    top: 120px;
    right: 20px;
    height: 80%;
    max-width: 310px;
    width: 25%;
    
}

nav.MainNavMenu
{
    background-color: #F0F0F0;
    font-size: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 0 1px 30px rgba( 0, 0, 0, 0.8 );
    border: 1px solid #EFEFEF;
    border-radius: 5px;
    height: 100%;
    max-width: 250px;
    width: 90%;
    position: absolute;
    right: 0px;
}

menu.Menu
{
    padding: 0px;
    padding-left: 10px;
    margin: 10px 0px 0px 0px ;
    width: 240px;
    border-bottom: 1px solid #BFBFBF;
    padding-bottom: 10px;
}

menu.Menu p
{
    margin: 0px;
}

label.MenuEntry
{
    display: block;
    background-color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    width: 240px;
    height: 25px;
    /*margin-top: 2px;*/
    border-bottom: 1px solid rgba( 0, 0, 0, 0.3);
    border-top: 1px solid rgba( 0, 0, 0, 0.3);
}

menu.Menu label.MenuEntry
{
    width: 230px;
}


img.MenuEntryImage
{
    position: absolute;
    right: 10px;
    margin-top: -5px;
    border-radius: 15px;
}

label.MenuSelected
{
    background-color: #C0C0C0;
    cursor: default;
}

label.MenuSelected img.MenuEntryImage
{
    border-radius: 0px;
    border: 0px;
}

/*******************************************
******                               *******
******    Keyboard                   *******
******                               *******
*******************************************/
.ui-keyboard-accept
{
    background-color: #0c0 !important;
}

.ui-keyboard-cancel
{
    background-color: #e13b00 !important;
}

/*******************************************
******                               *******
******    Main                       *******
******                               *******
*******************************************/
main.MainElement
{
    width: 100%;
    height: 90%;
    position: absolute;
}

/*******************************************
******                               *******
******    Allgemein                  *******
******                               *******
*******************************************/
.ErrorMessage, .SuccessMessage
{
    margin: 10px;
    box-shadow: 0px 1px 5px;
    border-radius: 5px;
    /* background-color: red; */
    font-size: 18px;
    padding: 3px;
    color: red;
}

.SuccessMessage
{
    color: green;
}

input:invalid
{
    box-shadow: inset 0 1.5px 3px rgba(255, 0, 0, .4), 0 0 0 5px rgba(255, 0, 0, .4) !important;
    opacity: 0.7;
}
.container
{
    position: relative;
    /*top: 20px;*/
    
    background: #fff;
    
    border: 1px solid #ccc;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .8);
    -webkit-animation-name: bounceIn;
    -webkit-animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: bounceIn;
    -moz-animation-fill-mode: both;
    -moz-animation-duration: 1s;
    -moz-animation-iteration-count: 1;
    -moz-animation-timing-function: linear;
    animation-name: bounceIn;
    animation-fill-mode: both;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-timing-function: linear;
}
.container
{
    width: auto;
    margin-left: 2%;
    margin-right: 27%;
    border-radius: 5px;
    /*height: 100%;*/
    margin-top: 10px;
}

.container header
{
    font-size: 18px;
    /*border-bottom: 1px solid rgba( 0, 0, 0, 0.5 );*/
    padding: 1%;
    background-color: #F0F0F0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

input[type=text],
input[type=password] 
{
    width: 95%;
}

/*******************************************
******                               *******
******    legende                    *******
******                               *******
*******************************************/
.LegendTable
{
    
    border-collapse: collapse;
    width: 100%;
}

tr.LegendTableTR, tr.LegendTableTRTop, tr.LegendTableTRBottom
{
    border-bottom: 1px solid rgba( 0, 0, 0, 0.1 );
    line-height: 30px;
}

tr.LegendTableTRTop
{
    border-bottom: 0px;
}



/*******************************************
******                               *******
******    DeviceList                 *******
******                               *******
*******************************************/
.DeviceListHeader
{
    text-align: left;
    min-height: 25px;
}

.DeviceListCount
{
    position: absolute;
    right: 1%;
}

.DeviceListTitle
{
    position: absolute;
    left: 1%;
}

.DeviceListTable
{
    font-size: 16px;
    text-align: center;
    border: 0px;
    width: 100%;
    border-collapse: collapse;
}

.DeviceListTd
{
    padding: 1% 0%;
    position: relative;
}


.DeviceListTr
{
    border: 1px solid rgba( 0, 0, 0, 0.1 );
    cursor: pointer;
    border-bottom: 0px;
}

.DeviceListTdArrowDown
{
    padding: 0%;
}
.DeviceListTdArrowDown img
{
    width: 24px;
    opacity: 0.5;
    vertical-align: middle;
}

.DeviceListTrOptions
{
    display: none;
    border-top: 0px;
    border-bottom: 1px solid black;
}

.DeviceListTrDescription
{
    border-bottom: 1px solid black;
    background-color: #F0F0F0;
    font-weight: bolder;
    color: #707070;
    cursor: default;
}

.DeviceListTrDescription td
{
    padding: 0px;
}

.DeviceStatusSpanOn, .DeviceStatusSpanOff
{
    border: 5px solid chartreuse;
    padding: 1% 5px 1% 5px;
    color: green;
    margin: 0px 3px;
    display: block;
    padding: 1% 1px 1% 1px;
    font-weight: bolder;
}

.DeviceStatusSpanOn
{
}

.DeviceStatusSpanOff
{
    border: 5px solid red;
    color: red;
}

.ComponentStatusSpanIDLE, .ComponentStatusSpanFAULTY, .ComponentStatusSpanBUSY
{
    padding: 1% 5px 1% 5px;
    font-weight: bolder;
    margin: 0px 3px;
    display: block;
}
.ComponentStatusSpanIDLE
{
    border: 5px solid chartreuse;
    color: green;
}

.ComponentStatusSpanBUSY
{
    border: 5px solid blue;
    color: blue;
}

.ComponentStatusSpanFAULTY
{
    border: 5px solid red;
    padding: 1% 1px 1% 1px;
    color: red;
}

.DeviceListColour
{
    background-color: lightyellow;
}

p.DeviceType, p.DeviceTypeData, p.DeviceName, p.DeviceNameData, p.DevicePlace, p.DevicePlaceData
{
    text-align: center;
    left: 0px;
    
    width: 33%;
    position: absolute;
    left: 0px;
}
p.DeviceType, p.DeviceName, p.DevicePlace
{
    top: 0px;
    margin: 0px;
    
}

p.DeviceName, p.DeviceNameData
{
    left: 33%;
}

p.DevicePlace, p.DevicePlaceData
{
    left: 66%;
}

p.DeviceTypeData, p.DeviceNameData, p.DevicePlaceData
{
    overflow: hidden;
    top: 0px;
    margin: 0px;
    
    display: flex;              /* Text vertikal zentrieren */
    height: 100%;
    align-items: center;
    justify-content: center;
}


/*******************************************
******                               *******
******    DeviceList Progressbar     *******
******                               *******
*******************************************/

/**** Hintergrund der Progressbar für Firefox ****/
progress.levelProgress 
{
  background-color: white;                                                      /** Muss aber für Chrome farbig sein **/
  width: 95%;
      height: 17px;
}
.DeviceListColour progress.levelProgress
{
    background-color: lightyellow;
}

/**** Value Farbe der Progressbar für Firefox ****/
progress.levelProgress::-moz-progress-bar 
{
  background-color: transparent;
}
progress.levelProgressStockEMPTY::-moz-progress-bar 
{
  background-color: red;
  color: red;
}
progress.levelProgressStockLOW::-moz-progress-bar 
{
  background-color: yellow;
  color: yellow;
}
progress.levelProgressStockNORMAL::-moz-progress-bar 
{
  background-color: chartreuse;
  color: chartreuse;
}
progress.levelProgressStockFULL::-moz-progress-bar 
{
  background-color: chartreuse;
  color: chartreuse;
}
progress.levelProgressCashboxEMPTY::-moz-progress-bar 
{
  background-color: chartreuse;
}
progress.levelProgressCashboxLOW::-moz-progress-bar 
{
  background-color: chartreuse;
}
progress.levelProgressCashboxNORMAL::-moz-progress-bar 
{
  background-color: chartreuse;
}
progress.levelProgressCashboxFULL::-moz-progress-bar 
{
  background-color: red;
}

/**** Value Farbe der Progressbar für IE ****/
progress.levelProgressStockEMPTY
{
  color: red;
}
progress.levelProgressStockLOW
{
  color: yellow;
}
progress.levelProgressStockNORMAL
{
  color: chartreuse;
}
progress.levelProgressStockFULL
{
  color: chartreuse;
}
progress.levelProgressCashboxEMPTY
{
  color: chartreuse;
}
progress.levelProgressCashboxLOW
{
  color: chartreuse;
}
progress.levelProgressCashboxNORMAL
{
  color: chartreuse;
}
progress.levelProgressCashboxFULL
{
  color: red;
}

/**** Hintergrund der Progressbar für Chrome ****/
progress.levelProgress::-webkit-progress-bar 
{
    border: 1px solid rgba( 0, 0, 0,0.2 );
    background-color: white;
}
.DeviceListColour progress.levelProgress::-webkit-progress-bar
{
    background-color: lightyellow;
}

/**** Value Farbe der Progressbar für Chrome ****/
progress.levelProgress::-webkit-progress-value 
{
  background-color: transparent;
}
progress.levelProgressStockEMPTY::-webkit-progress-value 
{
  background-color: red;
  color: red;
}
progress.levelProgressStockLOW::-webkit-progress-value 
{
  background-color: yellow;
  color: yellow;
}
progress.levelProgressStockNORMAL::-webkit-progress-value 
{
  background-color: chartreuse;
  color: chartreuse;
}
progress.levelProgressStockFULL::-webkit-progress-value 
{
  background-color: chartreuse;
}
progress.levelProgressCashboxEMPTY::-webkit-progress-value 
{
  background-color: chartreuse;
}
progress.levelProgressCashboxLOW::-webkit-progress-value 
{
  background-color: chartreuse;
}
progress.levelProgressCashboxNORMAL::-webkit-progress-value 
{
  background-color: chartreuse;
}
progress.levelProgressCashboxFULL::-webkit-progress-value 
{
  background-color: red;
}



/**** Einstellungen für den Text innerhalb der Progressbar ****/
label.progressbar 
{                       
    cursor: pointer;
    position: absolute;
    left: 0px;
    width: 100%;
    padding-top: 1px;
    font-weight: bolder;
}

label.progressbar img
{
    height: 10px;
}