/* FONT STACK */
body,
input, select, textarea {
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-size: 12px;
}

html * {
    margin: 0;
}

body {
    background: #ffffff;
    color: #333333;
    margin: 0 auto;
    /*max-width: 960px;*/
    overflow-x: hidden; /* prevents box-shadow causing a horizontal scrollbar in firefox when viewport < 960px wide */
    /*-moz-box-shadow: 0 0 0.3em #255b17;*/
    /*-webkit-box-shadow: 0 0 0.3em #255b17;*/
    /*box-shadow: 0 0 0.3em #255b17;*/
}

a:hover, a:active {
    outline: none; /* prevents outline in webkit on active links but retains it for tab focus */
}

h1 {
    color: #48802c;
    font-weight: normal;
    font-size: 1.25em;
    margin: 0.8em 0 0.3em 0;
}

ul {
    padding: 0;
}

img {
    border: 0;
}

.content {
}

.content h1 {
    border-bottom: 1px solid #CCCCCC;
    margin: 0.8em 1em 0.3em;
    padding: 0 0.25em;
}

.scaffold-list h1 {
    border: none;
}

.footer {
    background: #abbf78;
    color: #000;
    clear: both;
    font-size: 0.8em;
    margin-top: 1.5em;
    padding: 1em;
    min-height: 1em;
}

.footer a {
    color: #255b17;
}

.spinner {
    background: url(spinner.gif) 50% 50% no-repeat transparent;
    height: 16px;
    width: 16px;
    padding: 0.5em;
    position: absolute;
    right: 0;
    top: 0;
    text-indent: -9999px;
}

/* NAVIGATION MENU */

.nav {
    background-color: #efefef;
    padding: 0.5em 0.75em;
    -moz-box-shadow: 0 0 3px 1px #aaaaaa;
    -webkit-box-shadow: 0 0 3px 1px #aaaaaa;
    box-shadow: 0 0 3px 1px #aaaaaa;
    zoom: 1;
}

.nav ul {
    overflow: hidden;
    padding-left: 0;
    zoom: 1;
}

.nav li {
    display: block;
    float: left;
    list-style-type: none;
    margin-right: 0.5em;
    padding: 0;
}

.nav a {
    color: #666666;
    display: block;
    padding: 0.25em 0.7em;
    text-decoration: none;
    -moz-border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    border-radius: 0.3em;
}

.nav a:active, .nav a:visited {
    color: #666666;
}

.nav a:focus, .nav a:hover {
    background-color: #999999;
    color: #ffffff;
    outline: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

.no-borderradius .nav a:focus, .no-borderradius .nav a:hover {
    background-color: transparent;
    color: #444444;
    text-decoration: underline;
}

.nav a.home, .nav a.list, .nav a.create, .nav a.go, .nav a.show, .nav a.cancel, .nav a.accept, .nav a.switch, .nav a.pdf, .nav a.xls {
    background-position: 0.7em center;
    background-repeat: no-repeat;
    text-indent: 25px;
}

.nav a.home {
    background-image: url(skin/house.png);
}

.nav a.list {
    background-image: url(skin/database_table.png);
}

.nav a.go {
    background-image: url(skin/database_go.png);
}

.nav a.cancel {
    background-image: url(skin/cancel.png);
}

.nav a.accept {
    background-image: url(skin/accept.png);
}

.nav a.switch {
    background-image: url(skin/arrow_switch.png);
}

.nav a.show {
    background-image: url(skin/magnifier.png);
}

.nav a.pdf {
    background-image: url(skin/page_white_acrobat.png);
}

.nav a.xls {
    background-image: url(skin/page_white_excel.png);
}

.nav a.create, .scaffold-button a.create {
    background-image: url(skin/database_add.png);
}

/* CREATE/EDIT FORMS AND SHOW PAGES */

fieldset,
.property-list {
    margin: 0.6em 1.25em 0 1.25em;
    padding: 0.3em 1.8em 1.25em;
    position: relative;
    zoom: 1;
    border: none;
}

.property-list .fieldcontain {
    list-style: none;
    overflow: hidden;
    zoom: 1;
}

.fieldcontain {
    margin-top: 1em;
}

.fieldcontain label,
.fieldcontain .property-label {
    /*color: #666666;*/
    text-align: right;
    width: 25%;
}

.fieldcontain .property-label {
    float: left;
}

.fieldcontain .property-value {
    display: block;
    margin-left: 27%;
}

label {
    cursor: pointer;
    display: inline-block;
    margin: 0 0.25em 0 0;
}

input, select, textarea {
    background-color: #fcfcfc;
    border: 1px solid #cccccc;
    font-size: 1em;
    padding: 0.2em 0.4em;
}

select {
    padding: 0.2em 0.2em 0.2em 0;
}

select[multiple] {
    vertical-align: top;
}

textarea {
    width: 250px;
    height: 150px;
    overflow: auto; /* IE always renders vertical scrollbar without this */
    vertical-align: top;
}

input[type=checkbox], input[type=radio] {
    background-color: transparent;
    border: 0;
    padding: 0;
}

input:focus, select:focus, textarea:focus {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    outline: 0;
    -moz-box-shadow: 0 0 0.5em #ffffff;
    -webkit-box-shadow: 0 0 0.5em #ffffff;
    box-shadow: 0 0 0.5em #ffffff;
}

input.small, select.small, textarea.small {
    width: 80px;
}

input.medium, select.medium, textarea.medium {
    width: 160px;
}

input.large, select.large, textarea.large {
    width: 320px;
}

textarea {
    height: 120px;
}

.required-indicator {
    color: #48802C;
    display: inline-block;
    font-weight: bold;
    margin-left: 0.3em;
    position: relative;
    top: 0.1em;
}

ul.one-to-many {
    display: inline-block;
    list-style-position: inside;
    vertical-align: top;
}

.ie6 ul.one-to-many, .ie7 ul.one-to-many {
    display: inline;
    zoom: 1;
}

ul.one-to-many li.add {
    list-style-type: none;
}

/* EMBEDDED PROPERTIES */

fieldset.embedded {
    background-color: transparent;
    border: 1px solid #CCCCCC;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

fieldset.embedded legend {
    margin: 0 1em;
}

/* MESSAGES AND ERRORS */

.errors,
.message {
    font-size: 0.8em;
    line-height: 2;
    margin: 1em 2em;
    padding: 0.25em;
}

.message {
    background: #f3f3ff;
    border: 1px solid #b2d1ff;
    color: #006dba;
    -moz-box-shadow: 0 0 0.25em #b2d1ff;
    -webkit-box-shadow: 0 0 0.25em #b2d1ff;
    box-shadow: 0 0 0.25em #b2d1ff;
}

.errors {
    background: #fff3f3;
    border: 1px solid #ffaaaa;
    color: #cc0000;
    -moz-box-shadow: 0 0 0.25em #ff8888;
    -webkit-box-shadow: 0 0 0.25em #ff8888;
    box-shadow: 0 0 0.25em #ff8888;
}

.errors ul,
.message {
    padding: 0;
}

.errors li {
    list-style: none;
    background: transparent url(skin/exclamation.png) 0.5em 50% no-repeat;
    text-indent: 2.2em;
}

.message {
    background: transparent url(skin/information.png) 0.5em 50% no-repeat;
    text-indent: 2.2em;
}

/* form fields with errors */

.error input, .error select, .error textarea {
    background: #fff3f3;
    border-color: #ffaaaa;
    color: #cc0000;
}

.error input:focus, .error select:focus, .error textarea:focus {
    -moz-box-shadow: 0 0 0.5em #ffaaaa;
    -webkit-box-shadow: 0 0 0.5em #ffaaaa;
    box-shadow: 0 0 0.5em #ffaaaa;
}

/* same effects for browsers that support HTML5 client-side validation (these have to be specified separately or IE will ignore the entire rule) */

input:invalid, select:invalid, textarea:invalid {
    background: #fff3f3;
    border-color: #ffaaaa;
    color: #cc0000;
}

input:invalid:focus, select:invalid:focus, textarea:invalid:focus {
    -moz-box-shadow: 0 0 0.5em #ffaaaa;
    -webkit-box-shadow: 0 0 0.5em #ffaaaa;
    box-shadow: 0 0 0.5em #ffaaaa;
}

/* TABLES */

table.scaffold {
    border-top: 1px solid #DFDFDF;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1em;
}

table.scaffold tr {
    border: 0;
}

table.scaffold tr>td:first-child, table.scaffold tr>th:first-child {
    padding-left: 1.25em;
}

table.scaffold tr>td:last-child, table.scaffold tr>th:last-child {
    padding-right: 1.25em;
}

table.scaffold td, table.scaffold th {
    line-height: 1.5em;
    padding: 0.5em 0.6em;
    text-align: left;
    vertical-align: top;
}

table.scaffold th {
    background-color: #efefef;
    background-image: -moz-linear-gradient(top, #ffffff, #eaeaea);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(1, #eaeaea));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr = '#ffffff', EndColorStr = '#eaeaea');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#eaeaea')";
    color: #666666;
    font-weight: bold;
    line-height: 1.7em;
    padding: 0.2em 0.6em;
}

table.scaffold thead th {
    white-space: nowrap;
}

table.scaffold th a {
    display: block;
    text-decoration: none;
}

table.scaffold th a:link, table.scaffold th a:visited {
    color: #666666;
}

table.scaffold th a:hover, table.scaffold th a:focus {
    color: #333333;
}

table.scaffold th.sortable a {
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 1.1em;
}

table.scaffold th.asc a {
    background-image: url(skin/sorted_asc.gif);
}

table.scaffold th.desc a {
    background-image: url(skin/sorted_desc.gif);
}

table.scaffold .odd {
    background: #f7f7f7;
}

table.scaffold .even {
    background: #ffffff;
}

table.scaffold th:hover, table.scaffold tr:hover {
    background: #E1F2B6;
}

/* PAGINATION */

.pagination {
    border-top: 0;
    margin: 0;
    padding: 0.3em 0.2em;
    text-align: center;
    -moz-box-shadow: 0 0 3px 1px #AAAAAA;
    -webkit-box-shadow: 0 0 3px 1px #AAAAAA;
    box-shadow: 0 0 3px 1px #AAAAAA;
    background-color: #EFEFEF;
}

.pagination a,
.pagination .currentStep {
    color: #666666;
    display: inline-block;
    margin: 0 0.1em;
    padding: 0.25em 0.7em;
    text-decoration: none;
    -moz-border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    border-radius: 0.3em;
}

.pagination a:hover, .pagination a:focus,
.pagination .currentStep {
    background-color: #999999;
    color: #ffffff;
    outline: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

.no-borderradius .pagination a:hover, .no-borderradius .pagination a:focus,
.no-borderradius .pagination .currentStep {
    background-color: transparent;
    color: #444444;
    text-decoration: underline;
}

/* ACTION BUTTONS */

.buttons {
    background-color: #efefef;
    overflow: hidden;
    padding: 0.3em;
    -moz-box-shadow: 0 0 3px 1px #aaaaaa;
    -webkit-box-shadow: 0 0 3px 1px #aaaaaa;
    box-shadow: 0 0 3px 1px #aaaaaa;
    margin: 0.1em 0 0 0;
    border: none;
}

.buttons input,
.buttons a {
    background-color: transparent;
    border: 0;
    color: #666666;
    cursor: pointer;
    display: inline-block;
    margin: 0 0.25em 0;
    overflow: visible;
    padding: 0.25em 0.7em;
    text-decoration: none;

    -moz-border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    border-radius: 0.3em;
}

.buttons input:hover, .buttons input:focus,
.buttons a:hover, .buttons a:focus {
    background-color: #999999;
    color: #ffffff;
    outline: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.no-borderradius .buttons input:hover, .no-borderradius .buttons input:focus,
.no-borderradius .buttons a:hover, .no-borderradius .buttons a:focus {
    background-color: transparent;
    color: #444444;
    text-decoration: underline;
}

.buttons .delete, .deactivate, .reactivate, .buttons .edit, .buttons .save, .buttons .go, .buttons .show, .buttons .pdf, .buttons .cancel {
    background-position: 0.7em center;
    background-repeat: no-repeat;
    text-indent: 25px;
}

.buttons .delete {
    background-image: url(skin/database_delete.png);
}

.buttons .deactivate {
    background-image: url(skin/thumb_down.png);
}

.buttons .reactivate {
    background-image: url(skin/thumb_up.png);
}

.buttons .edit {
    background-image: url(skin/database_edit.png);
}

.buttons .save {
    background-image: url(skin/database_save.png);
}

.buttons .go {
    background-image: url(skin/database_go.png);
}

.buttons .show {
    background-image: url(skin/magnifier.png);
}

.buttons .pdf {
    background-image: url(skin/page_white_acrobat.png);
}

.buttons .cancel {
    background-image: url(skin/cancel.png);
}

a.skip {
    position: absolute;
    left: -9999px;
}

/*+++++++++++++ einige eigene wiederverwendbare Formatierungen +++++++++++++*/

.align-right{
    text-align: right;
}

.align-left{
    text-align: left;
}

.clickable {
    cursor: pointer;
}

/*+++++++++++++ eigene Table-Formatierung +++++++++ */
table.xpos-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    -moz-box-shadow: 0 0 3px 1px #aaaaaa;
    -webkit-box-shadow: 0 0 3px 1px #aaaaaa;
    box-shadow: 0 0 3px 1px #aaaaaa;
}

table.xpos-table th {
    background-color: #efefef;
    background-image: -moz-linear-gradient(top, #ffffff, #eaeaea);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(1, #eaeaea));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr = '#ffffff', EndColorStr = '#eaeaea');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#eaeaea')";
    color: #666666;
    font-weight: bold;
    line-height: 1.7em;
    padding: 0.2em 0.6em;
}

table.xpos-table td {
    border: 1px solid #aaaaaa;
    padding: 2px 4px;
    vertical-align: top;
}

table.xpos-table td.highlight {
    border: 2px solid orange;
}

table.xpos-table tr.even {
    background-color:#ffffff;
}

table.xpos-table tr.odd {
    background-color:#f7f7f7;
}

table.xpos-table tbody tr.clickable {
    cursor: pointer;
}

table.xpos-table tbody tr.clickable:hover {
    cursor: pointer;
    background-color: #999999;
    color: #ffffff;
    outline: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

.smallItalic {
   font-style: italic;
   font-size: 0.8em;
   padding-left: 5px;
}

.hidden{
    display: none;
}

.highlight {
    border: 2px solid orange;
}

/*+++++++++++++ Formular-Layout in Dialogen +++++++++ */
.dialog-scrollable-form {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 60px;
    overflow: auto;
}

.dialog-button-pane {
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    height: 30px;
}

.dialog-tab{
    position: relative;
    min-height: 550px;
}

/* falls Text statt eines Eingabefeld angezeigt werden soll */
.property-value.text{
    margin-left: 10px;
    display: inline-block;
}

/*+++++++++++++ Status für Login-Grid +++++++++*/
tr.red > td, li.red {
    background-color: #f08080;
}
tr.orange > td, li.orange {
    background-color: orange;
}
/*tr.green > td, li.green {
    background-color: #90ee90;
}*/

/*+++++++++++++ Tabellen in Formularen +++++++++*/

table.formProperties {
    display: inline-block;
    padding-left: 10px;
    vertical-align: top;
}

table.formProperties td {
    padding-bottom:7px;
    padding-right: 10px;
}

/*+++++++++++++ um die Schriftgrösse im Filterpanel an das Grid anzupassen +++++++++*/

div.filterpanel.ui-widget{
    font-size: 11px;
}

/*+++++++++++++ jqueryUI 1.10 + Aristo-Theme kriegen den close-Button nicht gut gerendert +++++++++*/
/*https://github.com/taitems/Aristo-jQuery-UI-Theme/issues/53*/
/*button.ui-dialog-titlebar-close span.ui-button-text
{
    display: none !important;
}
button.ui-dialog-titlebar-close span.ui-icon
{
    margin-left: -8px !important;
    margin-top: -8px !important;
}*/

/*+++++++++++++ um die Schriftgrösse in Buttons anzupassen +++++++++*/
.ui-button .ui-button-text{
    font-size: 11px;
}

/*+++++++++++++ damit overlays und dialoge wirklich vorne sind +++++++++*/
.ui-front{
    z-index: 100;
}

/*+++++++++++++ damit Button-Leisten in unserem Layout immer den gesamten Platz füllen +++++++++*/
.pane-buttonbar {
    position: absolute;
    left: 0; top:0; bottom: 0;right: 0;
}

#title .lastLogin {
    font-size: 11px;
    color: grey;
    margin-left: 20px;
}
#title .failedAttempts {
    font-size: 11px;
    color: red;
    font-weight: bold;
    margin-left: 20px;    
}

/*+++++++++++++ damit die li-Items der Arbeitsanweisung nicht die Feldbezeichnung überlappen +++++++++*/
.property-value ul {
    list-style-position: inside;
}
.property-value ul li{
    padding-left: 11px ;
    text-indent: -11px ;
}

/*+++++++++++++ Formatierungen für den Header-Bereich +++++++++*/
.header_page_title{
    position: absolute;font-size: 2em; left: 10px; top: 7px;
}
.header_application_name {
    position: absolute; right: 10px; top: 7px; font-size: 2em; color: #48802c;
}