/**
 * Stylesheet - template.css
 *
 * Copyright (c) 2008-2009 Landesbetrieb Landwirtschaft Hessen
 */

/* @group Browser Reset */

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
  margin: 0;
  padding: 0;
}

fieldset, img {
  border: 0;
}

a:focus {
  outline: none;
}

/* @end */

/* @group Core Elements */

html {
  height: 100%;
  margin-bottom: 1px;
}

body {
  color: #333;
  font: normal normal 0.8em / 1.25em Arial, Tahoma, Helvetica, sans-serif;
  background: #E6E6E6;
}

body.plain {
  background: #F8F8F8;
}

h1 {
  color: #004194;
  display: block;
  width: 100%;
  border-bottom: 4px solid #dfdfdf;
  margin: 0px 0px 20px 0px;
  padding-bottom: 2px;
  font-size: 1.4em;
}

h2 {
  margin: 20px 0px 5px 0px;
  font-size: 1.1em;
  padding-bottom: 2px;
}

a:link, a:visited {
  color: #004194;
  text-decoration: none;
}

a:hover, a:active {
  color: #004194;
  text-decoration: underline;
}

hr {
  height: 0px;
  border: 0px;
  border-bottom: 1px dotted #2D3472;
}

.small {
  font-size: 0.75em;
}

.large {
  font-size: 1.25em;
}

fieldset.info {
  padding: 5px 10px;
  border: 1px solid #DDD;
  background: #FCFCFC;
  -moz-border-radius-topleft: 6px;
  -webkit-border-top-left-radius: 6px;
  -moz-border-radius-topright: 6px;
  -webkit-border-top-right-radius: 6px;
  -moz-border-radius-bottomleft: 6px;
  -webkit-border-bottom-left-radius: 6px;
  -moz-border-radius-bottomright: 6px;
  -webkit-border-bottom-right-radius: 6px;
}

fieldset.info legend {
  font-size: 1.2em;
  padding: 0.2em 0.5em;
  border: 1px solid #CCC;
  color: #555;
  background: #FFF;
  font-weight: bold;
  font-style: italic;
  -moz-border-radius-topleft: 6px;
  -webkit-border-top-left-radius: 6px;
  -moz-border-radius-topright: 6px;
  -webkit-border-top-right-radius: 6px;
  -moz-border-radius-bottomleft: 6px;
  -webkit-border-bottom-left-radius: 6px;
  -moz-border-radius-bottomright: 6px;
  -webkit-border-bottom-right-radius: 6px;
}

button,
input,
select,
textarea {
  margin: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

button,
input {
  line-height: normal;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

select,
textarea,
input[type="text"],
input[type="password"] {
  font: normal normal 0.9em / 1.25em Arial, Tahoma, Helvetica, sans-serif;
  max-width: 100%;
  padding: 1px 4px;
  border: 1px solid #dddddd;
  background: #ffffff;
  color: #444444;
  -webkit-transition: all linear 0.2s;
  transition: all linear 0.2s;
  border-radius: 4px;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

select {
  padding: 1px 4px 1px 1px;
}

select,
input[type="text"],
input[type="password"] {
  height: 25px;
}

select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #99baca;
  outline: 0;
  background: #f5fbfe;
  color: #444444;
}

select:disabled,
textarea:disabled,
input[type="text"]:disabled,
input[type="password"]:disabled {
  border-color: #dddddd;
  background-color: #fafafa;
  color: #999999;
}

button,
input[type="button"],
input[type="submit"] {
  font-size: 0.8em;
  display: inline-block;
  min-height: 25px;
  padding: 0 6px;
  border: none;
  background: #f7f7f7;
  line-height: 15px;
  color: #444444;
  letter-spacing: normal;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(0, 0, 0, 0.3);
  background-origin: border-box;
  background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee);
  background-image: linear-gradient(to bottom, #ffffff, #eeeeee);
  border-radius: 4px;
  text-shadow: 0 1px 0 #ffffff;
}

button.inline,
input[type="button"].inline,
input[type="submit"].inline {
  font-size: 0.8em;
  min-height: 16px;
  line-height: 16px;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background-color: #fafafa;
  color: #444444;
  outline: none;
  background-image: none;
}

button.error,
input[type="button"].error,
input[type="submit"].error {
  background-color: #d32c46;
  color: #ffffff;
  background-image: -webkit-linear-gradient(top, #ee465a, #c11a39);
  background-image: linear-gradient(to bottom, #ee465a, #c11a39);
  border-color: rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(0, 0, 0, 0.4);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}

button.error:hover,
button.error:focus,
input[type="button"].red:hover,
input[type="button"].red:focus,
input[type="submit"].red:hover,
input[type="submit"].red:focus {
  background-color: #e33551;
  color: #ffffff;
  background-image: none;
}

/* @end */

/* @group Core Elements */

div#login {
  width: 581px;
  margin: 0px auto;
}

div#login .login-area {
  width: 581px;
  background: url('../images/bg_login-area.jpg') no-repeat;
  margin: 170px auto 0px;
  text-align: center;
}

div#login .login-form {
  padding: 27px 57px 17px 57px;
  text-align: left;
}

div#login .login-form h2 {
  color: #3F4462;
  font-size: 1.7em;
  font-weight: normal;
  font-style: italic;
  margin: 0px;
}

div#login .login-form #login-field-user {
  margin-top: 12px;
  float: left;
  width: 50%;
}

div#login .login-form #login-field-pass {
  margin-top: 12px;
  float: right;
  width: 50%;
}

div#login .login-form #login-submit {
  clear: both;
  padding-top: 12px;
}

div#login .login-info {
  margin: 0px;
  background: url('../images/bg_login-info.gif') no-repeat;
  padding: 8px 8px 5px 8px;
  font-size: .85em;
  text-align: center;
  color: #777;
}

div#login .login-foot  {
  width: 581px;
  height: 5px;
  background: url('../images/bg_login-foot.jpg') no-repeat;
  overflow: hidden;
}

/* @end */

/* @group Header Elements */

#header {
  background: url('../images/bg_header.jpg') repeat-x #282C6C;
  border-bottom: 1px solid #383A77;
  text-align: right;
  height: 55px;
}

#header-logo {
  float: left;
  position: absolute;
  left: 15px;
  background: url('../images/logo.jpg') no-repeat;
  width: 400px;
  height: 55px;
}

#header-info {
  padding: 10px 25px 0px 15px;
  font-size: .85em;
  color: #fff;
  line-height: 1.75em;
}

#header-info .separator {
  color: #999;
}

#header-info a:link,
#header-info a:visited {
  color: #fcce77;
  text-decoration: underline;
}

#header-info a:hover,
#header-info a:active {
  color: #fff;
  text-decoration: underline;
}

/* @end */

/* @group Footer Elements */

#footer {
  background:url('../images/bg_footer.gif') repeat-x #e6e6e6;
  padding: 105px 2.8em 2.8em 2.8em;
  font-size: .85em;
  text-align: center;
  color: #777;
}

/* @end */

/* @group Navbar Elements */

#navbar {
  color: #fff;
  border-top: 1px solid #2d444f;
  border-bottom: 1px solid #2d444f;
  background: url('../images/bg_navbar.gif') repeat-x 0 100% #666e73;
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.5), 0px 0px 2px rgba(0, 0, 0, 0.5);
  padding: 0px 15px;
  height: 25px;
}

#navbar a:link,
#navbar a:visited {
  color: #fff;
  text-decoration: none;
}

#navbar a:hover,
#navbar a:active {
  color: #d6e2e5;
  text-decoration: none;
}

#navbar ul {
  float: left;
  margin: 0px;
  padding: 0px;
}

#navbar ul li {
  float: left;
  list-style: none;
  position: relative;
  text-align: left;
  background: url('../images/separator.gif') no-repeat 100% 0;
  display: block;
  padding: 5px 14px;
}

/* @end */

/* @group Content Elements */

#content {
  background: url('../images/bg_content.gif') repeat-x #fff;
  padding: 23px 27px 0px 27px;
  font-size: 1.1em;
}

#content .container {
  padding: 8px;
  border: 1px solid #ccc;
}


/* @end */

/* @group Form Table Elements */

#form {
  border: 1px solid #BFBFBF;
  border-collapse: collapse;
}

#form thead th {
  font-size: 1.3em;
  font-weight: normal;
  font-style: italic;
  text-align: left;
  white-space: nowrap;
  background: url('../images/gradient_grey.gif') repeat-x 0 100%;
  border-bottom: 1px solid #9F9F9F;
  padding: 10px;
}

#form td {
  padding: 7px;
}

#form tfoot td {
  padding: 5px 7px;
  text-align: right;
  border-top: 1px solid #BFBFBF;
}

/* @end */

/* @group Module Table Elements */

#module {
  border-collapse: collapse;
  width: 440px;
}

#module td {
  padding: 10px;
  text-align: center;
  white-space: nowrap;
}

#module a {
  text-decoration: none;
}

#module img {
  padding-bottom: 5px;
}

/* @end */

/* @group Grid Table Formatting */

table.grid {
  width: 100%;
  border-collapse: collapse;
}

table.grid td {
  text-align: left;
  border-bottom: 1px dotted #CDCDCD;
  padding: 3px 0px;
  vertical-align: top;
}

table.grid td.label {
  font-weight: bold;
  white-space: nowrap;
  width: 150px;
}

/* @end */

/* @group Data Table Formatting */

table.data {
  border-collapse: collapse;
}

table.data th {
  color: #0070C5;
  font-size: 110%;
  text-align: left;
  border-bottom: 1px dotted #0E5CBF;
  padding-bottom: 3px;
}

table.data td {
  text-align: left;
  white-space: nowrap;
  padding: 2px 3px 2px 3px;
}

table.data td.label {
  vertical-align: top;
  padding-top: 6px;
}

table.boxes td,
table.data td.boxes {
  vertical-align: top;
  padding-top: 7px;
  padding-bottom: 2px;
  padding-right: 20px;
}

/* @end */

/* @group Log Viewer Formatting */

div.log {
  font-family: 'Courier New', Monospace;
  border: 1px solid #ADCAE5;
  font-size: 12px;
  background: #F3F7FE;
  white-space: pre;
  height: 650px;
  overflow: scroll;
  padding: 5px;
}

div.log span {
  display: block;
  line-height: 1.25em;
}

div.log span.level {
  border-bottom: 1px dotted #666;
  margin-bottom: 5px;
}

div.log span.emerg,
div.log span.alert {
  font-weight: bold;
  color: firebrick;
}

div.log span.critical,
div.log span.error {
  color: red;
}

div.log span.warning {
  font-weight: bold;
  color: darkorange;
}

div.log span.notice {
  color: olivedrab;
}

div.log span.debug {
  font-weight: bold;
  color: gray;
}

div.log span.develop {
  color: slategray;
}

div.log span.internal {
  color: mediumorchid;
}

/* @group Text Viewer Formatting */

div.pre {
  font-family: 'Courier New', Monospace;
  border: 1px solid #CCC;
  font-size: 12px;
  background: #F5F5F5;
  white-space: pre;
  overflow: scroll;
  padding: 5px;
}

/* @end */

/* @group SQL Viewer Formatting */

div.sql {
  font-family: 'Courier New', Monospace;
  border: 1px solid #CCC;
  font-size: 12px;
  background: #FFFFEE;
  white-space: pre;
  overflow: hidden;
  padding: 5px;
}

/* @end */

/* @group List Table Formatting */

table.list {
  width: 100%;
  color: #333;
  border-collapse: collapse;
  border: 1px solid #CAD1E1;
}

table.list th {
  text-align: left;
  background: #F2F6F9;
  border: 1px solid #CAD1E1;
  padding: 4px 5px;
  white-space: nowrap;
}

table.list td {
  text-align: left;
  border: 1px solid #CAD1E1;
  padding: 3px 4px;
  vertical-align: top;
  font-size: 0.95em;
  white-space: nowrap;
}

table.list td.nodata {
  padding: 15px;
  text-align: center;
}

table.list td.pre {
  font-family: 'Courier New', Monospace;
}

/* @end */

/* @group Pagination Elements */

table.pagination {
  border: 1px solid #DDD;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  border-spacing: 1px;
}

table.pagination td {
  border: 1px solid #D4D4D4;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  min-width: 15px;
  text-align: center;
  background: #FFF;
  padding: 1px 4px 1px 4px;
}

table.pagination td.current {
  font-weight: bold;
  background: #EFEFEF;
}

table.pagination a:hover, table.pagination a:active {
  text-decoration: underline;
  background: transparent;
  color: #333;
}

table.pagination select {
  font-size: 0.9em;
  height: 18px;
  padding: 1px;
}

/* @end */

/* @group Typography Elements */

span.event {
  display: block;
  padding: 8px 10px 8px 36px;
  margin: 15px 0px;
}

span.event.error {
  color: #CF3738;
  border: 1px solid #FFACAD;
  background: #FFD5D5 url('../images/events/error.png') 10px 50% no-repeat;
}

span.event.warning {
  color: #B79000;
  border: 1px dotted #E7BD72;
  background: #FFF3A3 url('../images/events/warning.png') 10px 50% no-repeat;
}

span.event.success {
  color: #648434;
  border: 1px dotted #27AD0B;
  background: #CDEFA6 url('../images/events/success.png') 10px 50% no-repeat;
}

/* @end */