﻿/*
 * Colour dictionary:
 *
 * Table control elements:   #FFFFFF
 * Header cells:             #c4e5fc
 * Body header cells:        #91c5d4
 * Body content cells:       #d5eaf0
 * Body content cells (alt): #bcd9e1
 * Footer header:            #b0cc7f
 * Footer content:           #d7e1c5
 */

/*
 * DataTables framework
 */
div.dataTables_wrapper {
    background-color: #FFFFFF;
}

div.dataTables_length {
    text-align: center;
    width: auto;
    float: left;
    margin-left: 66%;
    font-size: 12px;
    margin-top: 0px;
    display: inline-block;
}

div.dataTables_filter {
    float: right;
    font-size: 12px;
    clear: left;
}

div.dataTables_info {
    padding: 9px 6px 6px 6px;
    float: left;
    font-size: 12px;
}

.paging_full_numbers {
    width: auto;
}

div.dataTables_paginate {
    width: auto;
    float: right;
}

div.dataTables_length,
div.dataTables_filter,
div.dataTables_paginate {
    padding: 5px;
}

/* Self clearing - http://www.webtoolkit.info/css-clearfix.html */
.dataTables_wrapper:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .dataTables_wrapper {
    display: block;
}

* html .dataTables_wrapper {
    height: 1%;
}


/*
 * Table styles
 */
table.pretty {
    width: 100%;
    clear: both;
}

    table.pretty td,
    table.pretty th {
        padding: 3px;
        border: 1px solid #fff;
    }

    /* Header cells */
    table.pretty thead th {
        font-size: 11px;
        text-align: center;
        background-color: #e31270; /*#D4D7DB;*/
        /* background: #bab6b6;*/
        /*background-image: url('../images/igwgHeader.jpg');*/
        background-repeat: repeat-x;
        border-right-width: 1px;
        cursor: hand;
        font-family: Verdana;
        font-size: 8pt;
    }

        table.pretty thead th.hidden {
            display: none;
        }


    /* Body cells */
    table.pretty tbody th {
        text-align: left;
        background: #e31270; /*#c4e5fc;*/
    }

        table.pretty tbody th.hidden {
            display: none;
        }

    table.pretty tbody td {
        text-align: center;
        background: #e6e6e6; /*#d5eaf0;*/
        font-size: 11px;
    }

        table.pretty tbody td.hidden {
            display: none;
        }



    table.pretty tbody tr.odd td {
        background: #FFFFFF;
    }

    table.pretty tbody tr td.datatablerowhighlight {
        background: #fadee3;
    }

    table.pretty tr.even.row_selected td {
        border-top: 1px solid white;
        background-color: #fadee3; /*#b5c4df;*/
        font-size: 11px;
    }

    table.pretty tr.odd.row_selected td {
        border-top: 1px solid white;
        background-color: #fadee3; /*#b5c4df;*/
        font-size: 11px;
    }

    /* Footer cells */
    table.pretty tfoot th {
        background: #e31270; /*#b0cc7f;*/
        text-align: left;
    }

    table.pretty tfoot td {
        background: #e6e6e6; /*#d7e1c5;*/
        text-align: center;
        font-weight: bold;
    }


/*
 * Pagination
 */
a.paginate_button,
a.paginate_active {
    display: inline-block;
    background-color: #bab6b6; /*#608995;*/
    padding: 2px 6px;
    margin-left: 2px;
    font-size: 12px;
    cursor: pointer;
}

a.paginate_active {
    background-color: transparent;
    border: 1px solid black;
}

a.paginate_button_disabled {
    color: #FFFFFF; /*#3d6672;*/
    text-decoration: none;
    cursor: auto;
}

.paging_full_numbers a:active {
    outline: none;
    font-size: 11px;
}

.paging_full_numbers a:hover {
    text-decoration: none;
}

div.dataTables_paginate span > a {
    width: 15px;
    text-align: center;
}


/*
 * Sorting
 */
table.pretty thead th.sorting_asc {
    background: #bab6b6 url('../images/sort_up_arrow.png') no-repeat right center; /*url('../images/ig_tblSortAsc.gif') no-repeat right center; #c4e5fc*/
    color: #FFFFFF;
}

table.pretty thead th.sorting_desc {
    background: #bab6b6 url('../images/sort_down_arrow.png') no-repeat right center; /*url('../images/ig_tblSortDesc.gif') no-repeat right center; #c4e5fc*/
    color: #FFFFFF;
}

table.pretty thead th.sorting_asc:hover {
    opacity: 0.5;
    color: #FFFFFF;
}

table.pretty thead th.sorting_desc:hover {
    opacity: 0.5;
    color: #FFFFFF;
}

table.pretty thead th.sorting:hover {
    opacity: 0.5;
    color: #FFFFFF;
}

.thehand {
    cursor: pointer;
}

table.orderdetail-header {
    width: 100%;
    background-color: #ffffff;
    table-layout: fixed;
    font-family: Verdana, Arial, sans-serif;
    font-size: 11pt;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
}

    table.orderdetail-header tbody tr td {
        padding: 5px;
    }

    table.orderdetail-header thead tr {
        width: 100%;
    }

    table.orderdetail-header tbody tr {
        width: 100%;
        border: 1px solid black;
    }

        table.orderdetail-header tbody tr:last-of-type {
            border-bottom: none;
        }

    table.orderdetail-header thead tr th {
        text-align: left;
        font-weight: bold;
    }

        table.orderdetail-header thead tr th:first-of-type {
            width: 25%;
        }

        table.orderdetail-header thead tr th:last-of-type {
            width: 75%;
        }

    table.orderdetail-header tbody tr td:first-of-type {
        width: 25%;
        font-weight: bold;
    }

    table.orderdetail-header tbody tr td:last-of-type {
        width: 75%;
    }

table.orderdetail-details {
    width: 100%;
    background-color: #ffffff;
    table-layout: fixed;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
    font-family: Verdana, Arial, sans-serif;
    font-size: 11pt;
}

    table.orderdetail-details thead tr th {
        border: 1px solid black;
        font-weight: bold;
        padding: 5px;
        text-align: left;
    }

    table.orderdetail-details tbody tr td {
        border-top: 1px solid black;
        border-left: 1px solid black;
        border-right: 1px solid black;
        border-bottom: none;
        padding: 5px;
    }

    table.orderdetail-details thead tr {
        width: 100%;
        border: 1px solid black;
        background-color: #bab6b6;
    }

    table.orderdetail-details tbody tr {
        width: 100%;
        height: 31px !important;
    }

        table.orderdetail-details tbody tr:last-of-type {
            width: 100%;
            border-bottom: none;
        }

    table.orderdetail-details thead tr th:first-of-type {
        width: 75%;
    }

    table.orderdetail-details thead tr th:last-of-type {
        width: 25%;
    }

    table.orderdetail-details tbody tr td:first-of-type {
        width: 75%;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

    table.orderdetail-details tbody tr td:last-of-type {
        width: 25%;
    }

    table.orderdetail-details tbody tr:nth-child(even) {
        background-color: #FFFFFF;
        text-indent: 20px;
    }

    table.orderdetail-details tbody tr:nth-child(odd) {
        background-color: #eeeeee;
    }

table.orderdetail-documents {
    width: 100%;
    background-color: #ffffff;
    table-layout: fixed;
    font-family: Verdana, Arial, sans-serif;
    font-size: 11pt;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
}

    table.orderdetail-documents thead tr th {
        border-top: none;
        border-left: 1px solid black;
        border-right: 1px solid black;
        border-bottom: none;
        font-weight: bold;
        padding: 5px;
    }

    table.orderdetail-documents thead tr {
        width: 100%;
        border-bottom: none;
    }

    table.orderdetail-documents tbody tr {
        width: 100%;
        height: 31px !important;
    }

        table.orderdetail-documents tbody tr:last-of-type {
            width: 100%;
            border-bottom: none;
        }

        table.orderdetail-documents tbody tr:first-of-type {
            width: 100%;
            border-top: none;
        }

        table.orderdetail-documents tbody tr td {
            border-top: none;
            border-left: 1px solid black;
            border-right: 1px solid black;
            border-bottom: none;
            padding: 5px;
        }

    table.orderdetail-documents thead tr th:first-of-type {
        width: 70%;
        font-weight: bold;
    }

    table.orderdetail-documents thead tr th:last-of-type {
        width: 30%;
    }

    table.orderdetail-documents tbody tr td:first-of-type {
        width: 70%;
    }

    table.orderdetail-documents tbody tr td:last-of-type {
        width: 30%;
        margin-left: 50px !important;
        margin-bottom: 20px !important;
        text-align: center;
        vertical-align: middle;
    }

/*----------------------------------------------------------------------------------*/

table.orderdetail-attachments {
    width: 100%;
    background-color: #ffffff;
    table-layout: fixed;
    font-family: Verdana, Arial, sans-serif;
    font-size: 11pt;
    border: 1px solid black;
}

    table.orderdetail-attachments thead tr th {
        border-top: none;
        border-left: 1px solid black;
        border-right: 1px solid black;
        font-weight: bold;
        padding: 5px;
    }

    table.orderdetail-attachments thead tr {
        width: 100%;
        border-bottom: none;
    }

    table.orderdetail-attachments tbody tr {
        width: 100%;
        height: 10px !important;
    }

        table.orderdetail-attachments tbody tr td {
            padding: 5px;
        }

a.attachmentlink {
    color: -webkit-link;
    cursor: pointer;
    text-decoration: underline;
}

a.documentlink {
    color: -webkit-link;
    cursor: pointer;
    text-decoration: underline;
    display: block;
    padding: 1px;
}

.sort-by-asc {
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 0 3px;
    background: transparent;
    border-bottom: solid 7px black;
    border-top-width: 0;
}

.sort-by-desc {
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 0 3px;
    background: transparent;
    border-top: solid 7px black;
    border-bottom-width: 0;
}
