﻿table.styled {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

table.styled td, table.styled th {
    padding: 3px;
}

table.styled td {
    border-bottom: 1px solid #ddd;
}

table td.right, table th.right {
    text-align: right;
}

table td.left, table th.left {
    text-align: left;
}

table td.center, table th.center {
    text-align: center;
}

table td.middle, table th.middle {
    vertical-align: middle;
}

table tr.top td, table td.top, table th.top {
    vertical-align: top;
}

table td.img {
    text-align: center;
}

table tr.error td, table tr.locked td {
    color: red;
}

table tr.notActivated td {
    color: #434f75;
}

/* Filtered Rows */

table tr.hiddenRow td {
    display: none;
}

/* === Alternate Rows Table, Default Click Table, Hover Table... === */
tr.evenRow td {
    background-color: #fff;
}
tr.oddRow td {
    background-color: #f6f6f6;
}

.hoverTable tr.hover td, .hoverTable tr:hover td {
    background-color: #ddd !important;
    cursor: pointer;
}
.hoverTable tr.hover a.def, .hoverTable tr:hover a.def {
    color: #799daf !important;
}

/* Custom Column Styled */

table.styled tr td.gray, table.styled tr.gray td {
    color: gray;
}

table.styled tr td.subInfo.right span {
    float: right;
    clear: right;
}

table.styled tr td.subInfo span {
    color: gray;
    font-size: 0.8em;
    display: block;
}

table.styled tr td.subInfo span.eur {
    display: inline;
    color:black;
}

table.styled tr td.subInfo span span.eur {
    color: gray;
}

/* Availability */

table.styled td.avail {
    background-position: 0% 5px;
    text-align: left;
    padding-left: 25px;
    white-space: normal;
    width: 30%;
}

table.styled td.avail .aibx li {
    font-size: 13px;
    line-height: 17px;
}

table.styled td.avail .aibx li {
    background-position: 0% 3px;
    padding-left: 15px;
}

table.styled td.avail .aibx div {
    font-size: 0.9em;
    padding-left: 10px;
}

/* Price Columns */

table.styled td.price {
    text-align: right;
    min-width: 100px;
    white-space: nowrap;
}

table.styled td.price span.gross {
    color: #676767;
}

table.styled tr.footer td {
    border-bottom: none;
    background-color: #fff !important;
    cursor: default;
}

table.styled tr.sum td.price {
    font-weight: bold;
}

table.styled tr.sum td, table.styled tr.line td {
    border-top: 2px solid #434F75;
}

/* === Table for Details === */

div.styled table.details {
    width: 98%;
    border-collapse: collapse;
    margin: 2px 6px 4px 6px;
}

div.styled table.details tr td {
    border-bottom: 1px dashed #DADADA;
    padding-bottom: 4px;
}

div.styled table.details tr.noborder td, div.styled table.details tr td.noborder {
    border-bottom: none;
}

div.styled table.details tr td {
    vertical-align: top;
}

div.styled table.details tr td span {
    color: gray;
    font-size: 0.9em;
}

div.styled table.details tr td.label {
    white-space: nowrap;
    padding-right: 20px;
    font-style: italic;
}

.leftBox table.details {
    margin: 2px 2px 4px 2px;
}

.leftBox table.details tr td {
    padding-top: 0px;
    padding-bottom: 0px;
}

.leftBox table.details tr td ul.list li {
    margin-left: 2px;
}

/* == Table with Checked and Unchecked */

table.styled tr td.yes, table.styled tr td.no {
    width: 33px;
    background-position: center center;
    background-repeat: no-repeat;
}

table.styled tr td.yes {
    background-image: url(Images/icons/checked.png);
}

table.styled tr td.no {
    background-image: url(Images/icons/unchecked.png);
}

table.styled tr td.options, table.styled tr th.options {
    width: 75px;
}

table.styled tr td.options3, table.styled tr th.options3 {
    width: 120px;
}

/* === Für Benutzertabellen === */
tr.notActivated td {
    color: #039;
}

tr.locked td {
    color: #930;
}

/* Paging */

table.styled tr.paging th {
    text-align: right;
    padding-right: 5px;
    border-bottom: 1px solid #ccc;
}

table.styled tr.paging th.reverse, table.styled tr.paging th.left {
    text-align: left;
}

table.styled tr.paging th * {
    padding: 0px 2px;
    font-weight: normal;
    font-style: normal;
}

/* Infotext */

table.styled tr.tbInfo td, table.details tr.tbInfo td  {
    background: #ffd !important;
    padding: 6px 5px;
    text-align: center;
}

/* Headers */

table.styled tr.tbHeader th {
    font-weight: normal;
    background: #434f75 url(Images/Core/h2.png) repeat-x center left;
    padding: 2px 10px;
    color: #ffe;
    font-size: 1.1em;
}

table.styled tr.tbTitles th {
    font-size: 0.8em;
    color: black;
    padding: 4px 10px 4px 3px;
    border-top: 1px solid #ddd;
    background: #F9FAFD url("Images/Core/TitleColumnBg.png") top right no-repeat;
    white-space: nowrap;
}

table.styled tr.tbGrouping th {
    border-bottom: 2px solid #434F75;
    font-size: 1.1em;
    color: #434F75;
    font-weight: bold;
    padding: 3px 3px;
    background: #FFF;
}
table.styled tr.tbSubGrouping th {
    padding: 4px 3px;
    font-weight: normal;
    color: gray;
    background: #FFF url("Images/Core/SubGroupingColumnBg.png") top left repeat-x;
}

/* Schaltflächen */

table.styled td.options a.sbutton, table.styled td.options3 a.sbutton {
    float: right;
}

table.styled td.checkbox {
    padding-left: 10px;
}

table.styled td.checkbox input.checkbox {
    margin-right: 10px;
}

/* Logging */

table.styled tr.catWriteOnDatabase td {
    background-color: #FEFFD5;
}

table.styled tr.catError td {
    background-color: #FFECEC;
}

table.styled tr.catInformation td {
    background-color: #EAFFEA;
}

table.styled tr.catMail td {
    background-color: #EAFAFF;
}

table.styled tr.catWarning td {
    background-color: #FFEEDB;
}
