* {
    font-size: 11px;
}

body {
    margin: 0;
    padding: 0;
}

a img {
    border:  none;
}

/* für versteckte Elemente (spinner, submit-Buttons etc.) */
.xpos_hidden {
    display: none;
}

/* XPOS-Zusatzformatierungen für jQueryUI-'ui-state'-Klassen (z.B.: ui-state-error, ui-state-highlight etc.)  */
.xpos_ui_state {
    padding: 3px;
}

.xpos_ui_state div.ui-icon {
    float: left;
}

.xpos_ui_state div.ui_msg {
    margin-left: 26px;
}

/* XPOS-Formatierungen für Eingabe-Elemente, Label etc. */
.xpos_small {
    width: 80px;
}

.xpos_medium {
    width: 150px;
}

.xpos_large {
    width: 220px;
}

label.xpos {
     display: block;
     cursor: pointer;
     margin-bottom: 2px;
 }

label.xpos_eingehende_untersuchung {
    width: 100px;
    float: left;
}

label.xpos.left {
    float: left;
    margin-bottom: 0;
}

/* XPOS-Ersatz für <fieldset> */
div.fieldset {
    border: 1px solid rgb(220, 220, 220);
}

div.fieldset.noborder {
    border: none;
}

div.fieldset div.legend {
    padding: 4px 6px;
    font-weight: bold;
    border-bottom: 1px solid rgb(220, 220, 220);
}

div.fieldset div.content {
    padding: 4px 6px;
}

div.fieldset div.field {
    padding-top: 6px;
    padding-bottom: 6px;
}

div.fieldset div.field .property_label{
    float: left;
    min-width: 150px;
    text-align: left;
    font-weight: bold;
}
div.fieldset div.field .property_value{
    display: block;
    margin-left: 153px;
}

/* XPOS Menu */
#xpos_main_menu_container {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 4px;
    border-width: 0;
}

#xpos_main_menu {
    padding: 10px 4px;
    min-width: 1000px;
    position: relative;
}

#xpos_main_menu a {
    padding: 6px 15px;
    text-decoration: none;
    font-weight: bold;
}

#logout_link {
    position: absolute;
    right: 6px;
    top: 3px;
}

#login_info {
    position: absolute;
    right: 120px;
    top: 3px;
}
/* XPOST Panes */
.xpos_pane_header {
    padding: 6px 4px;
}

.xpos_pane_content {
    padding: 1px;
    overflow: auto;
}

#xpos_statusleiste {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 11px;
}

/* XPOS-Ajax-Spinner */
#xpos_ajax_spinner .msg {
    font-style: italic;
    text-align: center;
    padding: 4px;
    width: 100%;
    background-color: transparent;
}

#xpos_ajax_spinner .msg img {
    margin: 10px auto;
    display: block;
}

/* Legends */
table.ol_legend {
    border-collapse: collapse;
}

table.ol_legend tr {
    border: 1px solid rgb(200, 200, 200);
}

table.ol_legend td {
    border-bottom: 1px solid rgb(200, 200, 200);
    border-top: 1px solid rgb(200, 200, 200);
    border-left: 0;
    border-right: 0;
    padding: 4px;
}

table.ol_legend thead th {
    font-weight: bold;
}

/*table.ol_legend tr.clickable {*/
    /*cursor: pointer;*/
/*}*/
.clickable {
    cursor: pointer;
}

table.ol_legend tr.clickable:hover {
    background-color: rgb(230, 230, 230);
}

/* VTA-Tables */
table.xpos_vta {
    border-collapse: collapse;
    width: 425px;
}

table.xpos_vta tr {
    border: 1px solid rgb(200, 200, 200);
}

table.xpos_vta td {
    border-bottom: 1px solid rgb(200, 200, 200);
    border-top: 1px solid rgb(200, 200, 200);
    border-left: 0;
    border-right: 0;
    padding: 4px;
}

table.xpos_vta td.center {
    text-align: center;
}

table.xpos_vta thead td, table.xpos_vta thead th {
    font-weight: bold;
    padding-left: 4px;
}

table.xpos_vta td label {
    cursor: pointer;
}

table.xpos_vta tr.clickable:hover {
    background-color: rgb(230, 230, 230);
}

/*table.xpos_vta tr.clickable td.clickable{*/
    /*cursor: pointer;*/
/*}*/

/*table.xpos_vta tr.clickable label {*/
    /*cursor: pointer;*/
/*}*/

/* Tabellen in Editoren/Viewern für Karten-Features  */
table.viewer_table{
    border-collapse: collapse;
}

table.viewer_table th  {
    text-align: left;
}

table.viewer_table td{
    padding: 4px 2px;
    vertical-align: top;
}

table.viewer_table tr.active{
    background-color: rgb(230, 230, 230);
}

table.viewer_table tr.hover{
    background-color: rgb(230, 230, 230);
}

table.viewer_table td.label, table.viewer_table th{
    font-weight: bold;
}

table.viewer_table tr.group_header {
    background-color: #d3d3d3;
}
table.viewer_table tr.group_header td{
    text-align: center
}

/* Offene Massnahmen */
table.offene_massnahmen{
    border-collapse: collapse;
}

table.offene_massnahmen th{
    font-weight: bold;
    text-align: left;
    border-bottom: 1px solid rgb(230, 230, 230);
}

table.offene_massnahmen td{
    padding: 2px 4px;
    vertical-align: top;
    border-bottom: 1px solid rgb(230, 230, 230);
}

table.offene_massnahmen td.label{
    font-weight: bold;
}

/* Attachment-Table */
table.attachment_table {
    border-collapse: collapse;
}

table.attachment_table td {
    padding: 4px;
}

table.attachment_table td a {
    text-decoration:none;
}
table.attachment_table td a:hover {
    text-decoration:underline;
}

table.attachment_table tr.file{
   cursor: pointer;
}

table.attachment_table tr.file:hover{
   background-color: rgb(230, 230, 230);
}

img.xpos_button {
    padding: 2px;
    cursor: pointer;
    border: 1px solid;
    border-bottom-color: #a9a9a9;
    border-right-color: #a9a9a9;
    border-left-color: #d3d3d3;
    border-top-color: #d3d3d3;
    vertical-align: top;
    float: right;
    background-color: white;
    margin-left: 4px;
}

img.xpos_button:hover {
    border-left-color: #a9a9a9;
    border-top-color: #a9a9a9;
    border-bottom-color: #d3d3d3;
    border-right-color: #d3d3d3;
    background-color: rgb(235, 235, 235);
}


/* MESSAGES AND ERRORS */

.message {
    background: #f3f8fc url(skin/information.png) 8px 50% no-repeat;
    border: 1px solid #006dba;
    color: #B2D1FF;
    margin: 10px 0 5px 0;
    padding: 5px 5px 5px 30px
}

div.errors {
    background: #FFF3f3;
    border: 1px solid red;
    color: #cc0000;
    margin: 10px 0 5px 0;
    padding: 5px 0 5px 0;
}

div.errors ul {
    list-style: none;
    padding: 0;
}

div.errors li {
    background: url(skin/exclamation.png) 8px 0% no-repeat;
    line-height: 16px;
    padding-left: 30px;
}

td.errors select {
    border: 1px solid red;
}

td.errors input {
    border: 1px solid red;
}

input.error, select.error, textarea.error{
    border: 1px solid red;
    background-color: rgba(255, 0, 0, 0.26);
}

/* CustomComboBox */
.custom-combobox {
    position: relative;
    display: inline-block;
}
.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
}
.custom-combobox-input {
    margin: 0;
    padding: 0.3em;
}

tr.warning{
    background-color: #ED2334;
    color: white;
    border: 1px solid #ED2334;
}

/*+++++++++++++ damit Button-Leisten in unserem Layout immer den gesamten Platz füllen +++++++++*/
.pane-buttonbar {
    position: absolute;
    left: 0; top:0; bottom: 0;right: 0;
}