﻿table.doctable
{
    width: 100%;
    border-collapse: collapse;
       
    margin: 0;
}

table.doctableHidden
{
    visibility: hidden;
    height: 1px;
}

table.doctable > thead > tr > th
{
    background-color: rgb(220,220,220);
    padding: 3px 5px;
    text-align:left;
    white-space: nowrap;
    border-bottom: 1px solid rgb(170,170,170);

    /*padding: 5px;
    

    text-align: left;

    color: #fff;
    background-color: #2c2c2c;
    
    background-repeat: no-repeat;
    background-position: right center;
    background-position: right 10px center;*/
}

table.doctable > thead > tr > th.header
{
    cursor:pointer;
}

table.doctable > thead > tr > th.header.headerSortDown,
table.doctable > thead > tr > th.header.headerSortUp
{
    background: rgb(0,100,135) no-repeat 5px center;
    color: #fff;
    padding-left: 25px;
}

table.doctable > thead > tr > th.header:hover
{  
    background-color: rgb(85,160,185);
}

table.doctable > thead > tr > th.header.headerSortDown
{
    background-image: url(../images/Icons/sort_asc.png);
}

table.doctable > thead > tr > th.header.headerSortUp
{
    background-image: url(../images/Icons/sort_desc.png);
}

table.doctable > tbody > tr > td
{    
    padding: 5px;    
    text-align: left;  
    vertical-align: middle;
    border-bottom: 1px solid rgb(170,170,170);
    overflow: hidden;
    max-width: 200px;
    white-space: normal;
}

table.doctable > tbody > tr:last-of-type > td
{
    border-bottom: 0 none;
    vertical-align: middle;
}

table.doctable > tbody > tr > td > a
{    
    color: rgb(0,100,135);
}


table.doctable > tbody > tr > td.first
{
    vertical-align: middle;
}

table.doctable > tbody > tr.newdoc > td
{
    background-color: #fadc5a;
}

table.doctable > tbody > tr > td img
{
    cursor: pointer;
}

table.doctable > tfoot > tr > td
{
    border-top: 1px solid rgb(170,170,170);
    background-color: #eee;
    padding: 5px;
    
    -webkit-border-radius: 0px 0px 2px 2px;
    border-radius: 0px 0px 2px 2px;
}

table.doctable > tfoot > tr > td > ul
{
    list-style-type: none;
}

table.doctable > tfoot > tr > td > ul,
table.doctable > tfoot > tr > td > ul > li
{
    padding: 0; 
    margin: 0;
}
 
table.doctable > tbody > tr > td.hierarchical
{
    background-position: center center;
    background-repeat: no-repeat;
}

table.doctable > tbody > tr.collapse > td.hierarchical
{
    background-image: url(../images/icons/navigate_right.png);
}

table.doctable > tbody > tr.expand > td.hierarchical
{
    background-image: url(../images/icons/navigate_down.png);
}

table.doctable > tfoot > tr.paging > td
{
    text-align:right;
}

table.doctable > tfoot > tr.paging > td > span[data-page]
{
    font-weight: bold;
    margin: 0 3px;
    text-decoration: underline;
    border: 1px solid #ccc;
    padding: 3px 7px;
}

table.doctable > tfoot > tr.paging > td > span.paging
{
    font-weight: normal;
    cursor: pointer;
}

table.doctable > tfoot > tr.paging > td > span[data-page]:not(.paging)
{
    text-decoration: none;    
    cursor: default;
    background-color: #fff;
}

table.doctable td.childDoctable
{
    padding: 0;
}

table.doctable td.childDoctable > table.doctable
{
    border-right: 0;
    border-bottom: 0;
    border-top: 0;
}

table.doctable td.childDoctable > table.doctable > thead > tr > th:last-of-type,
table.doctable td.childDoctable > table.doctable > tbody > tr > td:last-of-type
{
    border-right: 0 none;
}

.doccontainer
{
    float: left;
    padding-right: 12px;
    position: relative;
    margin-bottom: 10px;
    display: inline-block;
}

.doccontainer button,
.doccontainer input
{
    cursor:pointer;
}

.doccontainer input
{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left:0;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

.alert
{
    margin-top: 0px;
    padding: 4px 8px 4px 8px;
}

.alert-info
{
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: middle;
    font-size: 11px;
}