@import 'fonts.css';

/* main xtable container */
.xtable{
    margin-bottom: 20px;
    font-family: Helvetica, Tahoma, sans-serif;
    font-size: 12px;
    line-height: 20px;
    color: #666699;
    position: relative;
}
.xtable-list-container{
    overflow: auto;
}
.xtable-tab{
    padding-top: 20px;
    clear: both;
}
/* grid table */
.xtable-list{
    min-width: 100%;
    width: auto;
    display: table !important;
    margin: 0 0 3px;
    border-spacing: 0;
}

/* grid column header */
.xtable-list th{
    border-bottom: 2px solid #6678B1;
    color: #003399;
    font-size: 14px;
    font-weight: normal;
    padding: 10px 8px;
    text-align: left;
    white-space: nowrap;
}

/* grid column with action */ 
.xtable-list th.xtable-action:hover{
    cursor: pointer;
    color: #000099;
}

/* grid cell */
.xtable-list td{
    border-bottom: 1px solid #ccc;
    color: #666699;
    padding: 6px 8px;
    vertical-align: top;
}

/* row hover */
.xtable-list tr:hover > td{
    color: #000099;
}
 /* grid buttons column */
.xtable-actions{
    text-align: right;
}

/* h2 table header */
.xtable h2,.xtable-main-tab{
    font-size: 18px;
    line-height: 27px;
    font-weight: normal;
    margin: 5px 0 0;
    padding: 5px;
    border-bottom: 1px solid #ccc;
    color: #666699;
}

/* toggle button */
.xtable-toggle-show{
    font-size: 12px;
    margin-top: 5px;
    float: right;
    cursor: pointer;
    color: #666699;
}
.xtable-toggle-show:hover{
    color: #000099;
}
/* minimized tab */
.xtable-main-tab{
    background: #fafafa;
}

/* buttons */
.xtable-button{
    font-size: 14px;
    margin: 0 5px;
    color: #666699;
}
a.xtable-button{
    text-decoration: underline;
}
.xtable-button > i{
    font-size: 12px;
    margin-right: 3px;
    text-decoration: none;
}
.xtable-actions .xtable-button{
    text-decoration: none;
}
.xtable-button:hover{
    color: #000099;
}

/* inputs */
.xtable input[type="text"],.xtable select{
    margin-right: 3px;
}
.xtable-input-small{
    width: 70px;
}
 /* pagination */
.xtable-pagination{
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline;
    font-size: 14px;
}
.xtable-pagination li{
    list-style: none;
    display: inline;
    margin: 0 5px;
}
.xtable-pagination li a{
    color: #666699;
}
.xtable-pagination li a:hover{
    color: #000099;
}
/* benchmark */
.xtable-benchmark{
    display: block;
    text-align: right;
}
.xtable-benchmark span{
    font-size: 10px;
    margin: 0 5px;
    color: #bbb;
    line-height: 1.1;
}

/* details image */
.xtable-upload-container img{
    display: block;
}
 /* upload file name */
.xtable-file-name > a{
    font-size: 14px;
    margin-right: 5px;
}
 /* tooltips */
.xtable-tooltip{
    text-decoration: none;
    font-size: 80%;
    color: #AD2424;
}


/* messages */
.xtable-message{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: 15px;
    padding: 10px 20px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05),inset 0 1px 0 rgba(0,0,0,0.05);
    display: none;
    text-shadow: 0 1px 0 rgba(0,0,0,0.4);
    color: #fff;
    color: rgba(255,255,255,0.90);
    cursor: pointer;
    z-index: 500;
}
.xtable-message.success{
    background: #5AB95F;
    border-top: 1px solid #8A1414;
    border-bottom: 1px solid #8A1414;
}
.xtable-message.error{
    background: #D05C5C;
    border-top: 1px solid #931C1C;
    border-bottom: 1px solid #931C1C;
}
.xtable-message.info{
    background: #6CC3C6;
    border-top: 1px solid #127B7C;
    border-bottom: 1px solid #127B7C;
}
.xtable-message.note{
    background: #DDB75D;
    border-top: 1px solid #A66E13;
    border-bottom: 1px solid #A66E13;
}

/* RTL */
.xtable.xtable_rtl{
    direction: rtl;
}
.xtable.xtable_rtl .xtable-toggle-show{
    float: left;
}
.xtable.xtable_rtl .xtable-button > i{
    margin-right: auto;
    margin-left: 4px;
}
.xtable.xtable_rtl .xtable-details-table td:first-child {
    text-align: left;
}