/* --------------

	   ui_table.css:常用表格样式
	   author: xiangxu@wisedu.com

 ------------ */

/* 表格
----------------------------------------------------------------------------------------------------*/
.ui_table {
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    max-width: 100%;
}

.ui_table {
    margin-bottom: 20px;
    width: 100%;
}

.ui_table th, .ui_table td {
    border-top: 1px solid #ddd;
    background: #fff;
    line-height: 20px;
    padding: 8px;
    text-align: left;
    vertical-align: middle;
    /*word-break: break-all;*/
    /*word-wrap:break-word;*/
}

.ui_table th {
    font-weight: bold;
    background: #eee;
}

.ui_table thead th {
    vertical-align: bottom;
}

.ui_table tbody + tbody {
    border-top: 2px solid #ddd;
}

.ui_table_condensed th,
.ui_table_condensed td {
    padding: 4px 5px;
}

.ui_table_bordered {
    border: 1px solid #ddd;
}

.ui_table_bordered th,
.ui_table_bordered td {
    border-left: 1px solid #ddd;
}

.ui_table_clean td {
    border: 0;
}

.ui_table_clean th {
    font-weight: normal;
    background: none;
    border: 0;
}

.ui_table_striped tbody tr:nth-child(2n+1) td,
.ui_table_striped tbody tr:nth-child(2n+1) th {
    background-color: #F9F9F9;
}

.ui_table_hover tbody tr:hover td,
.ui_table_hover tbody tr:hover th {
    background-color: #F5F5F5;
}

.ui_table tbody tr.success td {
    background-color: #DFF0D8;
}

.ui_table tbody tr.error td {
    background-color: #F2DEDE;
}

.ui_table tbody tr.warning td {
    background-color: #FCF8E3;
}

.ui_table tbody tr.info td {
    background-color: #D9EDF7;
}

.ui_table_hover tbody tr.success:hover td {
    background-color: #D0E9C6;
}

.ui_table_hover tbody tr.error:hover td {
    background-color: #EBCCCC;
}

.ui_table_hover tbody tr.warning:hover td {
    background-color: #FAF2CC;
}

.ui_table_hover tbody tr.info:hover td {
    background-color: #C4E3F3;
}

.ui_table_striped {
}

/*table内容自适应宽度并截取*/
.table_fixed {
    table-layout: fixed;
}
.table_fixed td,
.table_fixed th{
    overflow: hidden;
    white-space: nowrap;
    text-overflow :ellipsis;
}

/*table样式1蓝色风格*/
.ui_table_info{
    border:1px solid #cbddee;
}
.ui_table_info caption {
    line-height: 50px;
    color: #3163B6;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 5px;
}
.ui_table_info td,
.ui_table_info th {
    padding: 4px 5px;
    border: 1px solid #cbddee;
    word-wrap: break-word;
    word-break: break-all;
}

.ui_table_info th {
    background: #f0f5f9;
    color: #333;
    font-size: 14px;
    font-weight: normal;
}
/*table样式1primary风格*/
.ui_table_primary{
    border:1px solid #356dca;
}
.ui_table_primary caption {
    color: #3163B6;
    line-height: 50px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 5px;
}
.ui_table_primary td,
.ui_table_primary th {
    border: 1px solid #356dca;
    padding: 4px 5px;
    word-wrap: break-word;
    word-break: break-all;
}

.ui_table_primary th {
    background: #428BCA;
    color: #fff;
    font-size: 14px;
    font-weight: normal;
}
/*table样式1 success风格*/
.ui_table_success{
    border:1px solid #76E221;
}
.ui_table_success caption {
    color: #3163B6;
    line-height: 50px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 5px;
}
.ui_table_success td,
.ui_table_success th {
    border: 1px solid #76E221;
    padding: 4px 5px;
    word-wrap: break-word;
    word-break: break-all;
}

.ui_table_success th {
    background: #DFF0D8;
    color: #468847;
    font-size: 14px;
    font-weight: normal;
}
/*table样式1 warning风格*/
.ui_table_warning{
    border:1px solid #CDAD74;
}
.ui_table_warning caption {
    color: #3163B6;
    line-height: 50px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 5px;
}
.ui_table_warning td,
.ui_table_warning th {
    border: 1px solid #CDAD74;
    padding: 4px 5px;
    word-wrap: break-word;
    word-break: break-all;
}

.ui_table_warning th {
    background: #FCF8E3;
    color: #CDAD74;
    font-size: 14px;
    font-weight: normal;
}
/*table样式1 danger风格*/
.ui_table_danger{
    border:1px solid #B94A48;
}
.ui_table_danger caption {
    color: #3163B6;
    line-height: 50px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 5px;
}
.ui_table_danger td,
.ui_table_danger th {
    border: 1px solid #B94A48;
    padding: 4px 5px;
    word-wrap: break-word;
    word-break: break-all;
}

.ui_table_danger th {
    background: #F2DEDE;
    color: #B94A48;
    font-size: 14px;
    font-weight: normal;
}
/*table样式2*/
.ui_table_style02{
    table-layout: fixed;
}
.ui_table_style02 th {
    height: 26px;
    line-height: 26px;
    color: #454545;
    padding: 0 2px;
    text-align: center;
    font-size: 13px;
    background: url(../images/common/table/table_tyle02_th_bg.gif) repeat-x;
    border-right: 1px solid #dcdcdc;
    white-space: nowrap;
    overflow: hidden;
    border-left:1px solid #dcdcdc; ;
}

.ui_table_style02 td {
    height: 25px;
    line-height: 25px;
    color: #454545;
    padding: 1px 2px;
    font-size: 13px;
}

.ui_table_style02 th,
.ui_table_style02 td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui_table_style02 td a {
    word-break: break-all;
    word-wrap: break-word;
}

.ui_table_style02 img {
    margin-top: 6px;
}

.ui_table_style03 {
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    max-width: 100%;
}

.ui_table_style03 {
    border-left: 1px solid #dcdcdc;
    width: 100%;
}

.ui_table_style03 th, .ui_table_style03 td {
    border-top: 1px solid #dcdcdc;
    line-height: 20px;
    border-right: 1px solid #dcdcdc;
    padding: 8px;
    text-align: left;
    vertical-align: middle;
}

.ui_table_style03 th {
    font-weight: bold;
    background: #eee;
    white-space: nowrap;
}

.ui_table_style03 thead th {
    vertical-align: bottom;
}

.ui_table_style03 tbody + tbody {
    border-top: 2px solid #ddd;
}

.ui_table_style03_condensed th,
.ui_table_style03_condensed td {
    padding: 4px 5px;
}

.ui_table_style03_bordered {
    border: 1px solid #ddd;
}

.ui_table_style03_bordered th,
.ui_table_style03_bordered td {
}

.ui_table_style03_clean td {
    border: 0;
}

.ui_table_style03_clean th {
    font-weight: normal;
    background: none;
    border: 0;
}

.ui_table_style03_striped tbody tr:nth-child(2n+1) td,
.ui_table_style03_striped tbody tr:nth-child(2n+1) th {
    background-color: #F9F9F9;
}

.ui_table_style03_hover tbody tr:hover td,
.ui_table_style03_hover tbody tr:hover th {
    background-color: #F3f8fb;
}

.ui_table_style03 tbody tr.success td {
    background-color: #DFF0D8;
}

.ui_table_style03 tbody tr.error td {
    background-color: #F2DEDE;
}

.ui_table_style03 tbody tr.warning td {
    background-color: #FCF8E3;
}

.ui_table_style03 tbody tr.info td {
    background-color: #D9EDF7;
}

.ui_table_style03_hover tbody tr.success:hover td {
    background-color: #D0E9C6;
}

.ui_table_style03_hover tbody tr.error:hover td {
    background-color: #EBCCCC;
}

.ui_table_style03_hover tbody tr.warning:hover td {
    background-color: #FAF2CC;
}

.ui_table_style03_hover tbody tr.info:hover td {
    background-color: #C4E3F3;
}

.ui_table_style03 th {
    height: 26px;
    line-height: 26px;
    color: #454545;
    padding: 0 2px;
    font-size: 13px;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
}

.ui_table_style03 td {
    height: 25px;
    line-height: 25px;
    color: #454545;
    padding: 1px 2px;
    font-size: 13px;
    word-break: break-all;
    word-wrap: break-word;
}

.ui_table_style03 td a {
    word-break: break-all;
    word-wrap: break-word;
}

.ui_table_style03 img {
    margin-top: 6px;
}

.ui_table_style04 {
    width: 100%;
}

.ui_table_style04 tr {
    height: 24px;
}

.ui_table_style04 th {
    height: 24px;
    line-height: 24px;
    color: #555;
    padding: 0 2px;
    text-align: left;
    font-size: 12px;
    background: url(../images/common/table/table_style04_th_bg.gif) repeat-x;
    padding-left: 8px;
    font-weight: normal;
}

.ui_table_style04 td {
    height: 27px;
    line-height: 27px;
    color: #333;
    padding: 0 2px;
    font-size: 13px;
    padding-left: 8px;
}

.ui_table_style04 td a {
    height: 27px;
    line-height: 27px;
    color: #333;
    font-size: 13px;
    word-break: break-all;
    word-wrap: break-word;
}

.ui_table_style04 img {
    margin-top: 6px;
}

.ui_table_style04 th {
    border-top: 0;
}

.ui_table_style04 td {
    border-top: 0;
    border-bottom: 1px solid #ddd;
}

.ui_table_style04 td a:link,
.ui_table_style04 td a:visited {
}

.ui_table_style04 td a:hover {
    color: #0066cc;
}