.datatable {
}

.datatable  TR.datatable-pathbar  TD {
    border-top: 1px solid #DADADA;
    border-bottom: 1px solid #DADADA;
    white-space: nowrap;
    color: #001E5A;
}

.datatable  TR.datatable-pathbar  TD SPAN {
    padding-left: 5px;
}

.datatable  TR.datatable-pathbar  TD SPAN.datatable-path {
    cursor: pointer;
    text-decoration: none;
}

.datatable  TR.datatable-pathbar  TD SPAN.datatable-path:HOVER {
    text-decoration: underline;
}

.datatable  TR.datatable-toolbar  TD {
    white-space: nowrap;
    color: #001E5A;
}
.datatable  TR.datatable-toolbar  TD.datatable-toolbar-line {
    /*border-top: 1px solid #DADADA;*/
    /*border-bottom: 1px solid #DADADA;*/
}

.datatable  TR.datatable-toolbar TD SPAN {
    white-space: nowrap;
}

.datatable  TD.datatable-toolbar-actions {
    padding-left: 5px;
    padding-right: 5px;
    width: 1%;
}

.datatable  TD.datatable-toolbar-pager {
    text-align: right;
    padding-left: 5px;
    width: 99%;
}

.datatable  TD.datatable-toolbar-pager  IMG {
    cursor: pointer;
    border: none;
    margin: 0 2px;
}

.datatable  TD.datatable-toolbar-pager IMG.datatable-toolbar-page-disabled {
    cursor: default !important;
    opacity: 0.50;
    filter: alpha(opacity=50);
}

.datatable  TD.datatable-toolbar-pager INPUT {
    margin: 0 3px;
    padding: 0 2px;
    border: 1px solid #739ec4;
    width: 30px;
    text-align: right;
}

.datatable  SPAN.datatable-toolbar-pagesummary {
    /*border-left: 1px solid #001E5A;*/
    /*border-right: 1px solid #001E5A;*/
    padding: 0 10px;
    margin: 0 7px;
}

.datatable  SPAN.datatable-toolbar-pagelinks {
    margin: 0 3px;
}

.datatable  SPAN.datatable-toolbar-pager-selected {
    font-weight: bold;
    margin: 0 2px;
}

.datatable  SPAN.datatable-toolbar-pager-selectable {
    cursor: pointer;
    margin: 0 2px;
}

.datatable  TD.datatable-toolbar-sysactions {
    text-align: right;
    padding-right: 5px;
    width: 1%;
}


.datatable  TABLE.datatable-grid {
    width: 100%;
    border-collapse: collapse;
    empty-cells: show;
    border-bottom:1px solid #D0D0D8;
    border-top:1px solid white;
}

.datatable  TABLE.datatable-grid  TD {
    /*background-color: white;*/
    color: #4d4d4d;
    font: normal 12px Arial;
    border-bottom: solid 1px #d0d0d8;
    padding: 7px 7px;
    vertical-align: top;
}

.datatable  TABLE.datatable-grid  THEAD  TD {
    background-color: #e6edf5;
    font: bold 12px Arial;
    color: #055499;
    padding: 5px;
    text-align: center;
    border-left: solid 1px white;
    border-top: solid 1px white;
    border-bottom: solid 1px #d0d0d8;
    vertical-align: middle;
}

.datatable  TABLE.datatable-grid  THEAD  TD.datatable-grid-sortable {
    cursor: pointer;
}

.datatable  TABLE.datatable-grid  THEAD  TD.datatable-grid-sorted-asc {
    background-position: right top;
    background-repeat: no-repeat;
    background-image: url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/lib/mosenergo/table/images/ico_asc.gif);
}

.datatable  TABLE.datatable-grid  THEAD  TD.datatable-grid-sorted-desc {
    background-position: right top;
    background-repeat: no-repeat;
    background-image: url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/lib/mosenergo/table/images/ico_desc.gif);
}

datatable  TABLE.datatable-grid  TBODY  TR.datatable-group-row {
}

.datatable  TABLE.datatable-grid  TBODY  TR  TD {
    white-space: nowrap;
}

.datatable  TABLE.datatable-grid  TBODY  TR.datatable-row-selected {
    /*background-color: #FFF5DD;*/
}

.datatable  TABLE.datatable-grid  TBODY  TR.datatable-row-highlighted {
    background-color: #EDF2F8; /*#FFF5DD;*/
}

.datatable  TABLE.datatable-grid  TBODY  TR  TD  TABLE  TD {
    white-space: normal;
    border: none;
    padding: 0;
}


/**
 * An alternate variant without headers
 */
.headlesstable {
}

.headlesstable  TR.datatable-pathbar  TD {
    border-top: 1px solid #DADADA;
    border-bottom: 1px solid #DADADA;
    white-space: nowrap;
    color: #001E5A;
}

.headlesstable  TR.datatable-pathbar  TD SPAN {
    padding-left: 5px;
}

.headlesstable  TR.datatable-pathbar  TD SPAN.datatable-path {
    cursor: pointer;
    text-decoration: none;
}

.headlesstable  TR.datatable-pathbar  TD SPAN.datatable-path:HOVER {
    text-decoration: underline;
}

.headlesstable  TR.datatable-toolbar  TD {
    white-space: nowrap;
    color: #001E5A;
}
.headlesstable  TR.datatable-toolbar  TD.datatable-toolbar-line {
    /*border-top: 1px solid #DADADA;*/
    /*border-bottom: 1px solid #DADADA;*/
}

.headlesstable  TR.datatable-toolbar TD SPAN {
    white-space: nowrap;
}

.headlesstable  TD.datatable-toolbar-actions {
    padding-left: 5px;
    padding-right: 5px;
    width: 1%;
}

.headlesstable  TD.datatable-toolbar-pager {
    text-align: right;
    padding-left: 5px;
    /*border-left: 1px solid #DADADA;*/
    /*border-right: 1px solid #DADADA;*/
    width: 99%;
}

.headlesstable  TD.datatable-toolbar-pager  IMG {
    cursor: pointer;
}

.headlesstable  TD.datatable-toolbar-pager IMG.datatable-toolbar-page-disabled {
    cursor: default !important;
    opacity: 0.50;
    filter: alpha(opacity=50);
}

.headlesstable  TD.datatable-toolbar-pager INPUT {
    margin-left: 3px;
    padding: 0 2px;
    border: 1px solid #739ec4;
    width: 30px;
    text-align: right;
}

.headlesstable  SPAN.datatable-toolbar-pagesummary {
    /*border-left: 1px solid #001E5A;*/
    /*border-right: 1px solid #001E5A;*/
    padding: 0 10px 0 10px;
    margin: 0 7px 0 7px;
}

.headlesstable  SPAN.datatable-toolbar-pagelinks {
    margin: 0 3px 0 3px;
}

.headlesstable  SPAN.datatable-toolbar-pager-selected {
    font-weight: bold;
}

.headlesstable  SPAN.datatable-toolbar-pager-selectable {
    cursor: pointer;
}

.headlesstable  TD.datatable-toolbar-sysactions {
    text-align: right;
    padding-right: 5px;
    width: 1%;
}


.headlesstable  TABLE.datatable-grid {
    width: 100%;
    border-collapse: collapse;
    empty-cells: show;
    border-bottom:1px solid #D0D0D8;
    border-top:1px solid white;
}

.headlesstable  TABLE.datatable-grid  TD {
    /*background-color: white;*/
    color: #4d4d4d;
    font: normal 12px Arial;
    border-bottom: solid 1px #d0d0d8;
    padding: 2px 7px;
    vertical-align: top;
}

.headlesstable TABLE.datatable-grid THEAD {
    display: none;
}

.headlesstable  TABLE.datatable-grid  THEAD  TD {
    background-color: #e6edf5;
    font: bold 12px Arial;
    color: #055499;
    padding: 5px;
    text-align: center;
    border-left: solid 1px white;
    border-top: solid 1px white;
    border-bottom: solid 1px #d0d0d8;
    vertical-align: middle;
}

.headlesstable  TABLE.datatable-grid  THEAD  TD.datatable-grid-sortable {
    cursor: pointer;
}

.headlesstable  TABLE.datatable-grid  THEAD  TD.datatable-grid-sorted-asc {
    background-position: right top;
    background-repeat: no-repeat;
    background-image: url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/lib/mosenergo/table/images/ico_asc.gif);
}

.headlesstable  TABLE.datatable-grid  THEAD  TD.datatable-grid-sorted-desc {
    background-position: right top;
    background-repeat: no-repeat;
    background-image: url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/lib/mosenergo/table/images/ico_desc.gif);
}

.headlesstable  TABLE.datatable-grid  TBODY  TR.datatable-group-row {
}

.headlesstable  TABLE.datatable-grid  TBODY  TR  TD {
    white-space: nowrap;
}

.headlesstable  TABLE.datatable-grid  TBODY  TR.datatable-row-selected {
    /*background-color: #FFF5DD;*/
}

.headlesstable  TABLE.datatable-grid  TBODY  TR.datatable-row-highlighted {
    background-color: #EDF2F8; /*#FFF5DD;*/
}

.headlesstable  TABLE.datatable-grid  TBODY  TR  TD  TABLE  TD {
    white-space: normal;
    border: none;
    padding: 0;
}


.table-ok-button {
    margin-bottom: -5px !important;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

