/* 
    Document   : style_form
    Created on : 18/01/2011, 10:17:12
    Author     : Diego Matoso - diegomatoso@gmail.com
    Description:
        referring to the style of the table of the site.
*/

/* ------------------------------ TABLE ------------------------------ */

.table-list {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    color: #333;
    border-width: 0;
    /*border-bottom: 1px solid #CCCCCC;*/

}

.table-list .table-list-top {
    border: 1px solid #CDD3E3;
}

.table-list tr:hover {
    background-color: #E8ECF0 !important;
}

.table-list .table-list-top th {
    padding: 5px 8px;
    text-align: left;
    font-size: 10px;
    font-weight: bold;
    text-transform: none;
    border-right: 1px dashed #CCC;
    
    -moz-box-shadow: inset 0px 0px 1px 1px #FFF;
    -webkit-box-shadow: inset 0px 0px 1px 1px #FFF;
    box-shadow: inset 0px 0px 1px 1px #FFF;
    
    /* Firefox v3.6+ */
    background-image:-moz-linear-gradient(50% 0% -90deg,rgb(255,255,255) 0%,rgb(242,244,247) 100%); 
    /* safari v4.0+ and by Chrome v3.0+ */
    background-image:-webkit-gradient(linear,50% 0%,50% 100%,color-stop(0, rgb(255,255,255)),color-stop(1, rgb(242,244,247)));
    /* Chrome v10.0+ and by safari nightly build*/
    background-image:-webkit-linear-gradient(-90deg,rgb(255,255,255) 0%,rgb(242,244,247) 100%);
    /* Opera v11.10+ */
    background-image:-o-linear-gradient(-90deg,rgb(255,255,255) 0%,rgb(242,244,247) 100%);
    /* IE v10+ */
    background-image:-ms-linear-gradient(-90deg,rgb(255,255,255) 0%,rgb(242,244,247) 100%);
    background-image:linear-gradient(-180deg,rgb(255,255,255) 0%,rgb(242,244,247) 100%);
    -ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffffff,endColorstr=#fff2f4f7,GradientType=0)";
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffffff,endColorstr=#fff2f4f7,GradientType=0);
}

.table-list .table-list-top .left {
    /*background: url(../imgs/back_header_table_left.jpg) left top no-repeat;*/
}

.table-list .table-list-top .right {
    border-right: none;
    /*background: url(../imgs/back_header_table_right.jpg) right top no-repeat;*/
}

.table-list .table-list-top th.options {}

.table-list .table-list-top th.order-column, 
.table-list .table-list-top th.order-column-asc, 
.table-list .table-list-top th.order-column-desc {
    box-shadow: none;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #EAEDF4;
}

.table-list .table-list-top th.order-column {
    background-image: url(../../imgs/core_old_new/arrow_order_column_table_desc.png);
}
.table-list .table-list-top th.order-column-asc {
    background-image: url(../../imgs/core_old_new/arrow_order_column_table_asc.png);
}
.table-list .table-list-top th.order-column-desc {
    background-image: url(../../imgs/core_old_new/arrow_order_column_table_desc.png);
}

.table-list-container-buttons {
    /*display: table;*/
    white-space: nowrap;
    float: right;
    text-align: right;
    border-collapse: separate;
}

.table-list-container-buttons a {
    /*display: table-cell;*/
}

.table-list-container-buttons .btn-link {
    height: 16px;
    line-height: 16px;
    position: relative;
    top: -4px;
}

.table-list tbody tr {
    border-bottom: 1px dotted #DFDFDF;
}

.table-list tbody tr:nth-child(odd) {
    background-color: #F8F9FA;
}

.qtip .table-list th {
    border: 1px solid #CCCCCC;
}
table.table-list thead tr .header {
    /* background-image: url("bg.gif");*/
    background-position: right center;
    background-repeat: no-repeat;
    cursor: pointer;
}

table.table-list thead tr .headerSortDown, table.table-list  thead tr .headerSortUp {
    padding-right: 17px;
}

table.table-list thead tr .headerSortUp {
    background-image: url("../../imgs/core_old_new/asc.gif");
}

table.table-list thead tr .headerSortDown {
    background-image: url("../../imgs/core_old_new/desc.gif");
}

.table-list tr.back-highlight {
    background-color: #FFF8BB !important;
}

.table-list td {
    padding: 3px 6px;
    vertical-align: middle !important;
    font-size: 11px;
    color: #666;
}

/* personalized tables */
.accounts_history-email .table-list th:nth-child(3), 
.accounts_history-email .table-list td:nth-child(3), 
.accounts_history-email .table-list th:nth-child(4), 
.accounts_history-email .table-list td:nth-child(4), 
.accounts_history-email .table-list th:nth-child(7), 
.accounts_history-email .table-list td:nth-child(7) 
{
    max-width: 100px !important;
    overflow: hidden;
    word-wrap: break-word;
}
/* ------------------- */

.table-list td a:hover { text-decoration: underline; }

.table-list .td-left { /*border-left: 1px solid #CCCCCC;*/ }

.table-list .title {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}



.table-list td.option, .table-list td.index  {
    text-align: center;
}

.table-list .option a:not(.btn-table-list-title) {
    min-width: 35px;
    height: 25px; /*old 31px */
    display: inline-block;
    margin: 0 auto;
    cursor: pointer;
    /*padding-top: 20px;*/
    text-align: center;
    word-wrap: break-word;
    vertical-align: top;
}

.table-list .table-list-container-buttons a:hover, 
.table-list .option a:hover {
    opacity:0.7;
    -moz-opacity: 0.7;
    filter: alpha(opacity=70) !important;
}

.table-list .table-list-highlight {
    font-weight: bold;
    color: #333;
}

.table-list .table-list-light {
    font-size: 10px;
}

.table-list.zebra td {
    /* border: 1px solid #CCC; */
    border-style: none;
    padding: 10px;
    /*border-color: #EDEFF3;*/
}

.tr_alt td {
    /* background: #E8E8E8; */    
    background: #EDEFF3;    
}

.tr_over td{
    /* background: #E1E1E1; */
    background: #E0E6EC; 
}

.tr_checked td{
    /* background: #F8F8F8; */
    background: #E0E6EC;
}

.box-info-header-table-finance {
    padding: 5px 10px;
    margin-bottom: 7px;
}

.box-info-header-table-finance .info-left, 
.box-info-header-table-finance .info-right {
    color: #063A74;
}

.box-info-header-table-finance .info-left {
    float: left;
}

.box-info-header-table-finance .info-right {
    float: right;
}

.container_financial .table-list tr {}

.container_financial .table-list tr.filters {
    background: #EEE;
    border-bottom: 2px solid #CCCCCC;
}

.container_financial .table-list .filters td {
    padding-bottom: 10px;
}

.default_table {
    width: 100%;
    border-collapse: collapse;
}
.default_table td {
    vertical-align: top;
}

#container-tablelist-contacts .table-list .photo, #container-tablelist-related-contacts .table-list .photo{
    float: left;
    margin-right: 10px;
}

.table-list .link-submenu-header-table {
    display: block;
    cursor: pointer;
}

.table-list .submenu-header-table {
    display: none;
    position: absolute;
    padding-top: 6px;
}

.table-list .table-list-top th:hover .submenu-header-table {
    display: block;
}

.table-list .submenu-header-table > ul {
    background-color: #FCFCFD;
    border: 1px solid #CDD3E3;
}

.table-list .submenu-header-table > ul > li {
    display: block;
}

.table-list .submenu-header-table > ul > li > a {
    display: block;
    padding: 5px;
    color: #0B57AC;
}

.table-list .submenu-header-table > ul > li > a:hover {
    background-color: #EAEDF4;
}

.table-list tbody tr.primaryRow .btn-open-children {
    height: 14px;
    display: inline-block;
    float: right;
    padding-left: 10px;
    margin-top: 2px;
    margin-right: 2px;
    cursor: pointer;
    font-size: 10px;
    background: url(../../imgs/core_old_new/arrow_order_column_table_desc.png) no-repeat left center transparent;
}

.table-list tbody tr.primaryRow.open .btn-open-children {
    background-image: url(../../imgs/core_old_new/arrow_order_column_table_asc.png);
}

/* ------------------------------ TABLE ------------------------------ */

.list-projects .box_content_compressed {
    margin-bottom: 0 !important;
    border-top: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
}

.list-projects .box_content_compressed:first-child {
    border-top: 1px solid #CCC;
}

.list-projects.zebra .alt, .list-projects .zebra .alt {
    background: #EDEFF3;
}

.list-projects .box_content_compressed .content {
    padding: 5px;
}

.list-projects .box_content_compressed .internal_menu {
    margin-top: 0;
}

.list_table_text_icon{
    padding-top: 20px;
    text-align: center;
}


/* ------------------------------ TABLE INFO -------------------------------- */

.table-info {
    width: auto;
}

.table-info td {
    padding: 5px 10px;
}

.table-info td[data-col="labelBookCopieName"], 
.table-info td[data-col="labelBookCopieBarCode"] {
    padding-right: 0;
    color: #999;
}
.financial-reports{
    float: right;
}
