
body {
  margin:  0;
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  background: url(../images/bgPattern.gif) repeat top left;
}

#wrapper {
	margin: 0 auto;
}
.login #wrapper {
  width: 480px;
}
.default #wrapper {
  width: 955px;
}
/*****************************************************
** Allgemeine Definitionen
*******************************************************/
.clear {
  clear: both;
}
h1 {
  font-family: ProximaNovaBold, Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-size: 14pt;
  margin-top: 6px;
  font-weight: normal;
  text-shadow: 1px 1px #000000;
}

#infobox h1 {
  padding-left: 3px;
}

h2 {
  font-size: 12pt;
  margin-top: 0;
  text-shadow: 1px 1px #000000;
}
a img {
  border: none;
}

.ui-dialog-content form {
  text-align: center;
}

/*****************************************************
** Header / Content
*******************************************************/
#header {
  margin: 30px 0 0 0;
  padding: 0;
  text-align: right;
  height: 130px;
  background: url(../images/logo.png) no-repeat top left;
  position: relative;
}
#header #logout {
  position: absolute;
  right: 0;
  top: 30px;

}
#content {
  background: #FFF;
  padding: 5px;
  margin-bottom: 5px;
  -moz-box-shadow: 0 0 10px 0px #343c41;
  -webkit-box-shadow: 0 0 10px 0px#343c41;
  box-shadow: 0 0 10px 0px #343c41;
}


/*****************************************************
** Login Seite
*******************************************************/
#login-container {
  color: white;
  padding: 30px;
  min-height: 359px;
  background: url(../images/bg-login.jpg) no-repeat bottom left #707072;
}
h1#welcome-text {
  font-size: 30px;
  line-height: 28px;
  margin-bottom: 40px;
}
#login-container #form-info {
  width: 150px;
  padding: 0 10px;
}
#login-container label {
  display: none;
}
.btn, input[type="submit"] {
  background-color: #2d9732;
  background-image: url(../images/btn-icon.png);
  background-repeat: no-repeat;
  background-position: 120px 10px;
  color: #FFF;
  text-decoration: none;
  line-height: 40px;
  height: 40px;
  border-radius: 20px;
  padding: 0 40px 0 20px;
  font-family: ProximaNovaBold, Arial, Helvetica, sans-serif;
  border: none;
  cursor: pointer;
  width: 150px;
  text-align: left;
}
.btn {
  width: 90px;
}
#login-container input[type="text"], #login-container input[type="password"] {
  font-family: ProximaNovaRegular, Arial, Helvetica, sans-serif;
  line-height: 40px;
  height: 40px;
  padding: 0 15px;
  border-radius: 20px;
  color: #444444;
  border: none;
  width: 120px;
}

#login-container select {
  font-family: ProximaNovaRegular, Arial, Helvetica, sans-serif;
  border: none;
  background: transparent;
  padding: 0 0 0 15px;
  height: 20px;
  line-height: 20px;
  width: 168px;
  border-radius: 20px;
  -webkit-appearance: none;
}
#login-container select option {
  padding: 3px 0;
}
.select {
  height: 20px;
  overflow-x: hidden;
  padding: 10px 0 10px 0;
  background: url("../images/icon-select.png") no-repeat 120px #FFF;
  display: block;
  border-radius: 20px;
  width: 150px;
}
.login-form td {
  padding: 4px 0;
}
/*****************************************************
** Menu / Infobox
*******************************************************/
#menu, #infobox {
  background-color: #2b2b2b;
  padding: 5px;
  color: white;
}
#menu {
  background-image: url(../images/background_top.gif), url(../images/background_bottom.gif);
  background-position: center top, center bottom;
  background-repeat: no-repeat;
  width: 460px;
  float: left;
  padding: 0 0 10px 10px;
  margin-right: 5px;
}
#infobox {
  background-image: url("../images/background_top.gif"), url("../images/background_bottom.gif");

  background-position: center top, center bottom;
  background-repeat: no-repeat;
  width: 460px;
  float: left;
}
#infobox .value, .list-value {
  background-color: #4b4b4b;
  padding: 3px;
  padding-left: 5px;
  margin-bottom: 3px;
  border-radius: 3px;
  clear: both;
  position: relative;
  text-shadow: 1px 1px #000000;
}
.list-value {
  width: 370px;
}
#infobox .values {
  float: right;
  text-align: right;
}
#infobox .value-is {
  position: absolute;
  right: 107px;
}
#menu-title {
  float: left;
  margin-bottom: 0;
}
.date-header {
  float: right;
  margin-bottom: 0;
}
.date-header {
  margin: 8px 0 0 0;
}
#date {
  margin-top: 0;
}
.left-area {
  float: left;
  width: 390px;
  padding-top: 10px;
}
.right-area {
  float: right;
  width: 68px;
}
#btn-home, #btn-back {
  float: left;
  height: 68px;
}

/*****************************************************
** Grid
*******************************************************/
.grid {
  float: left;
  margin-top: 20px;
}
.grid > a {
  position: relative;
  text-align: center;
  float: left;
  margin-right: 3px;
  margin-bottom: 3px;
  padding: 5px;
  text-decoration: none;
  color: #ffffff;
  height: 91px;
  cursor: pointer;
  display: block;
}
.grid > a img {
  margin-top: 3px;
  margin-bottom: 3px;
  border: none;
  vertical-align: middle;
}

.grid > .menu-item {
  line-height: 71px;
  width: 77px;
  background: url(../images/mask.png) no-repeat;
}
.grid > .menu-item:active {
  background: url(../images/mask_pressed.png) no-repeat;
}
.grid > .menu-item span {
  display: block;
  line-height: 10pt;
  text-shadow: 1px 1px #000000;
}
.grid > .menu-item .menu-title {
  position: absolute;
  width: 77px;
  bottom: 8px;
  left: 5px;
}
.grid > .menu-item .shortcut {
  position: absolute;
  top: 5px;
  left:5px;
  text-align: left;
}
.grid > .menu-item .statusinfo {
  position: absolute;
  top: 5px;
  right:5px;
  left: auto;
  text-align: right;
  display: block;
}
.grid > .menu-item .statusinfo .status-text {
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  z-index: 10;
  text-align: right;
}
.grid > .value-item, .grid > .value-item-disabled {
  width: 167px;
  height: 56px;
  padding-bottom: 40px;
  display: table-cell;
  vertical-align: middle;
}
.grid > .value-item .item-value, .grid > .value-item-disabled .item-value {
  text-align: right;
  line-height: 16pt;
  position: absolute;
  bottom: 10px;
  right: 10px;
  overflow: hidden;
  max-width: 155px;
  max-height: 40px;
}
.grid > .value-item {
  background: url(../images/value.png) no-repeat;
}
.grid > .value-item-disabled {
  background: url(../images/value_disabled.png) no-repeat;
  color: #7f7f7f;
  cursor: default;
}
.grid .item-title {
  font-size: 11pt;
  text-shadow: 1px 1px #000000;
}
.grid .item-value {
  font-size: 14pt;
  text-shadow: 1px 1px #000000;
}

.grid > .value-line {
  clear: both;
  background-image: url(../images/benutzer.gif);
  background-position: center right;
  background-repeat: no-repeat;
  height: 33px;
  line-height: 33px;
  text-align: left;
  width: 380px;
  font-size: 11pt;
}
.value-line .line-value {
  float: right;
  margin-right: 8px;
  font-weight: bold;
  overflow: hidden;
  max-width: 225px;
}
/*****************************************************
** Zeitprogramm
*******************************************************/
.time-program {
  margin: 0 auto;
  margin-bottom: 10px;
}
.day-header {
  width: 364px;
  height: 51px;
  margin-bottom: 5px;
  background-image: url(../images/day_disabled.png);
  background-repeat: no-repeat;
}
.day-header a, .time-line a, .time-line span {
  display: block;
  float: left;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
}

.day-header a {
  width: 32px;
  height: 21px;
  padding: 15px 10px 15px 10px;
  background-repeat: no-repeat;
  cursor: default;
}

.day-header .day-enabled, .day-header .day-active {
  background-color: #2c2c2c;
  cursor: pointer;
}

.day-header .day-enabled {
  background-image: url(../images/r_day.gif);

}

.day-header .day-active {
  background-image: url(../images/day_pressed.png);
}

.time-line .time-delete {
  width: 43px;
  height: 43px;
  margin-right: 25px;
}
.time-line .day-time, .time-line .day-time-disabled {
  width: 114px;
  height: 19px;
  margin-left: 14px;
  margin-bottom: 5px;
  background-image: url(../images/r_timeadjust.gif);
  padding: 12px 3px 12px 3px;
}

.time-line .day-time-disabled {
  background-image: url(../images/d_timeadjust.gif);
  cursor: default;
}

.time-line .mdash {
  margin-left: 14px;
  padding: 12px 0 12px 0;
  height: 19px;
  vertical-align: text-bottom;
}

/*****************************************************
** Status Styles
*******************************************************/
.status-values {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}
.status-values .status-value {
  background: #4c4c4c;
  margin: 0 0 10px 0;
  padding: 3px 20px;
  border-radius: 3px;
  width: 85%;
  text-shadow: 1px 1px #000000;
}

/*****************************************************
** Log Styles
*******************************************************/
#log-container {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  display: table;
}
#log-container .col {
  display: table-cell;
  font-size: 14px;
  font-weight: bold;
  padding: 0 3px;
}
#log-container li {
  background: #1c1c1c;
  text-shadow: 1px 1px #000000;
}
#log-container .log-headline {
  background: rgb(123,123,123); /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzdiN2I3YiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMzAzMDMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, rgba(123,123,123,1) 0%, rgba(3,3,3,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(123,123,123,1)), color-stop(100%,rgba(3,3,3,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(123,123,123,1) 0%,rgba(3,3,3,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(123,123,123,1) 0%,rgba(3,3,3,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(123,123,123,1) 0%,rgba(3,3,3,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(123,123,123,1) 0%,rgba(3,3,3,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7b7b7b', endColorstr='#030303',GradientType=0 ); /* IE6-8 */
  border-radius: 3px;
}
#log-container .headline {
  padding: 5px 3px;
  text-align: center;
}
#log-container .log-item {
  border-bottom: 1px solid #FFF;
  padding: 0;
  font-size: 14px;
}
#log-container .col1 {
  width: 26px;
  border-right: 1px solid #FFF;
}
#log-container .log-item .col1 {
  text-align: center;
  padding: 0 3px;
}
#log-container .col2 {
  width: 115px;
  border-right: 1px solid #FFF;
}
#log-container .col3 {
  width: 26px;
  border-right: 1px solid #FFF;
  text-align: center;
}
#log-container .col4 {

}

/*****************************************************
 * Wettermodul
 ****************************************************/
.weather-item .col,
.weather-actual .col {
  display: table-cell;
  font-size: 14px;
  font-weight: normal;
  padding: 5px;
  vertical-align: top;
}
.weather-actual .col{
  vertical-align: middle;
}
.weather-actual .col1 {
  width: 180px;
}
.weather-item .col1 {
  width: 55px;
  text-align: center;
  padding: 0;
}
.weather-item .col2 {
  width: 135px;
}
.weather-item .col3 {
  width: 53px;
}
.weather-item .col4 {
  font-size: 17px;
  font-weight: bold;
  vertical-align: middle;
  text-align: right;
  width: 108px;
}
.weather-item {
  display: table;
  width: 380px;
  background: #535253;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzUzNTI1MyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3OTc4NzkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(left,  #535253 0%, #797879 100%);
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,#535253), color-stop(100%,#797879));
  background: -webkit-linear-gradient(left,  #535253 0%,#797879 100%);
  background: -o-linear-gradient(left,  #535253 0%,#797879 100%);
  background: -ms-linear-gradient(left,  #535253 0%,#797879 100%);
  background: linear-gradient(to right,  #535253 0%,#797879 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#535253', endColorstr='#797879',GradientType=1 );
  margin-bottom: 15px;
  border: 1px solid #4c4b4c;
  border-radius: 5px;
  text-shadow: 1px 1px #000000;
}
.weather-actual {
  display: table;
  width: 100%;
  text-align: right;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px #000000;
}
.weather-actual .town {
  font-weight: bold;
  font-size: 16px;
}
#weather-actual {
  margin-top: 32px;
}
/*****************************************************
** Mobilgeräte
*******************************************************/
@media screen and (max-width: 900px) {
  .default #wrapper {
    width: 480px;
  }
  #menu {
    margin-bottom: 5px;
  }
  #infobox {
    width: 460px;
  }
}
.ui-datepicker-trigger {
  margin-left: 0.5em;
  padding: 1px 5px;
  cursor: pointer;
  border-radius: 6px;
}