/**

general theme for tables of data shown in views

**/

.general-table {
    margin-top: 10px;
    margin-bottom: 20px;
    width: 100%;
}
.general-table th {
    vertical-align: top;
    background-color: transparent;
    color: #555;
}
.general-table,
.general-table tr,
.general-table td,
.general-table th {
    border-style: solid;
    border-width: 1px;
    border-color: #ddd;
    border-collapse: collapse;
    font-size: 0.96em;
}
.general-table th,
.general-table th a {
    padding: 0px 4px 0px 4px;
    line-height: 1.5em;
    background-color: #555555;
    color: white;
    text-decoration: none;
}
.general-table th a:hover {
    text-decoration: underline;
}

.general-table td {
    padding: 3px 4px 4px 4px;
}
.general-table .ch {
    background: none;
    text-align: left;
    font-style: italic;
}
.general-table .left-cell {
    text-align: left;
}
.general-table .num {
    text-align: right;
}
.general-table .center {
    text-align: center;
}
.general-table .thumb {
    padding: 2px;
    text-align: center;
}
.general-table .even {
    background-color: #fbfbf6;
}
.general-table .selected-row {
    background-color: #ffffdd;
}
.general-table .hover {
    background-color: #ffffcc;
}
.general-table .opaque-cell {
    background-color: #fff;
}
.general-table .rowheader {
    font-weight: 700;
}
.general-table .nowrap {
    white-space: nowrap;
}
.general-table .special-row {
    font-style: italic;
}

.general-table .ctrl_col {
    width: 15px;
}
.general-table .row-control-view {
    font-size: 9px;
    text-align: center;
    width: 15px;
}
.general-table .row-control-view a div {
    background: url("/media/cms_media/viewicon.png") no-repeat scroll 2px 0px;
    height: 12px;
    width: 12px;
}
.general-table .row-control-view a:hover div {
    border-bottom: 1px solid red;
}

.general-table .row-control-print {
    font-size: 9px;
    text-align: center;
    width: 15px;
}
.general-table .row-control-print a div {
    background: url("/media/printer-icon.png") no-repeat scroll 2px 0px;
    height: 12px;
    width: 12px;
    background-size: 10px 10px;
}

.general-table .row-control-edit {
    font-size: 9px;
    text-align: center;
    width: 15px;
}
.general-table .row-control-edit a div {
    background: url("/media/icon_changelink.gif") no-repeat scroll 2px 0px;
    height: 12px;
    width: 12px;
}
.general-table .row-control-edit a div small {
    display: none;
}
.general-table .row-control-edit a:hover div {
    border-bottom: 1px solid red;
}
.general-table .row-control-check {
    text-align: center;
    width: 20px;
}
.general-table .row-control-check input {
    margin: 0px;
}
.general-table th input[type="checkbox"] {
    margin-bottom: 0;
    margin-top: 0;
}
.general-table .checkcell {
    text-align: center;
    padding-top: 2px;
}
.general-table .click-to-edit,
.general-table .click-to-check {
    cursor: pointer;
}

.general-table th.sorted {
    background-position: bottom left !important;
}
.general-table th.sorted a {
    padding-right: 13px;
}
.general-table th.ascending a {
    background: url(/cms_media/arrow-down.gif) right 0.4em no-repeat;
}
.general-table th.descending a {
    background: url(/cms_media/arrow-up.gif) right 0.4em no-repeat;
}

.general-table .rowheader {
    font-weight: 500;
}
.general-table .rowfooter {
    /*background:white url(/media-admin/img/admin/nav-bg.gif) repeat-x scroll 0 100%;*/
    background: white url(/media/cms_media/table_footer.png) repeat-x scroll 0 0;
    height: 30px;
    vertical-align: middle;
}

/** pager template - meant to go inside the general table footer above**/
.general-table .pagination a:hover {
    background: #555 none repeat scroll 0 0;
    border-color: #777;
    color: white;
}
.general-table .pagination a:link,
.general-table .pagination a:visited {
    border: 1px solid #ddd;
    padding: 2px 6px;
    text-decoration: none;
}
.general-table .pagination {
    font-size: 12px;
    padding-left: 10px;
    line-height: 22px;
}
.general-table .pagination .current-page {
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    vertical-align: top;
}

.general-table .pagination .row-count {
    margin-left: 10px;
}
