div.pager {
    font-size: 12px;
    /*text-align: right;*/
    margin: 8px 0 0 0;
}

ul.yiiPager {
    border: 0;
    margin: 0;
    padding: 0;
    display: inline;
    font-size: 0px; /*inline code line break causes space*/
}

ul.yiiPager li {
    font-size: 12px;
    display: inline;
}

ul.yiiPager a:link,
ul.yiiPager a:visited {
    color: black;
    font-weight: bold;
    text-decoration: none;
    border: solid 1px #999999;
    padding: 1px 6px;
    margin: 2px;
}

ul.yiiPager .page a {
    font-weight: normal;
}

ul.yiiPager a:hover {
    background-color: #CCFF66;
    padding: 3px 8px;
    margin: 0px;
}

ul.yiiPager .selected a {
    color: #FFFFFF;
    font-weight: bold;
    background-color: #647945;
    cursor: text;
}

ul.yiiPager .selected a:hover {
    padding: 1px 6px;
    margin: 2px;
}

ul.yiiPager .hidden a {
    color: #888888;
    background: white;
    border: solid 1px #DEDEDE;
    cursor: text;
}

ul.yiiPager .hidden a {
    padding: 1px 6px;
    margin: 2px;
}

/**
 * Hide first and last buttons by default.
 */
ul.yiiPager .first,
ul.yiiPager .last {
    display: inline;
}







/***********************************************/

div.searchInfo {
    margin: 10px 0px 30px 0px;
}

div.belowAdvSearch {
    height: 15px;
    margin-top: 6px; /* same as a.search-button:link bottom padding */
}

a.search-button:link,
a.search-button:visited {
    font-size: 12px;
    font-weight: bold;
    color: black;
    text-decoration: none;
    background-color: #DFE8D2;

    padding: 8px 20px 7px 12px;
    border-right: 1px solid #999999;

    border-top-left-radius: 5px;
    border-top-right-radius: 25px;
}

/*.form,*/
.search-form {
    font-size: 13px;
    padding: 15px 10px 10px 15px;
    display: table;
    margin-top: 6px; /* puts search button at top of search box (-1) */

    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    border-right: 1px solid #999999;
    border-bottom: 1px solid #999999;
}

.form .colOne,
.form .colTwo,
.search-form .colOne,
.search-form .colTwo {
    display: table-cell;
    vertical-align: top;
}

.form .colTwo,
.search-form .colTwo {
    padding-left: 30px;
}

.form td.label,
.search-form td.label {
    text-align: right;
}

.form td,
.search-form td {
    padding: 0px 5px 5px 0px;
    white-space: nowrap;
}

.form td.buttons input[type=submit],
.form div.buttons,
.search-form div.buttons {
    margin-top: 10px;
}

/* USING loadingMask INSTEAD
.grid-view-loading {
    background:url('../images/gridview/loading.gif') no-repeat;
}
*/

.grid-view {
    display: table;
}

.grid-view table.items {
    background: white;
    width: auto;
    border: 1px #314C07 solid;
}

.grid-view table.items th,
.grid-view table.items td {
    padding: 0.3em;
    font-size: 12px;
    border: 0px white solid;
}

.grid-view table.items td {
    padding: 3px 5px;
    white-space: nowrap;
}

.grid-view table.items th {
    text-align: center;
    white-space: nowrap;
    color: black;
    background-color: #CEDBBA;
    background: #CEDBBA;
    font-weight: bold;
    padding: 5px;
}

.grid-view table.items td.ctr {
    text-align: center;
}

.grid-view table.items td.rgt {
    text-align: right;
}

.grid-view table.items th span.sortIndicator {

    text-transform: capitalize;
    text-transform: lowercase;
    text-transform: uppercase;
    font-size: 13px;
    font-size: 11px;
    letter-spacing: 1px;/**/
    font-weight:bold;
    color: black;
    border: 0px solid #999999;
    /*border: 3px double #666666;*/
    padding: 2px 4px 2px 4px;


    padding: 2px 13px 2px 6px;
    background-image: url('../images/arrow_right_black.gif');
    background-repeat: no-repeat;
    background-position: right center;
}

.grid-view .filters input[type=submit] {
    width: auto;
}

.grid-view table.items tr.filters td {
    text-align: center;
    padding-left: 1px;
    padding-right: 1px;
    /*white-space: nowrap;*/
}

.grid-view table.items tr.filters td div.clearInput {
    text-align: center;
    text-transform: capitalize;
}

.grid-view table.items th a {
    color: black;
    font-weight: bold;
    text-decoration: underline;
    display: inline-block;
    vertical-align: center;
}

.grid-view table.items th a:hover {
    color: #FFF;
}

.grid-view table.items th a.asc {
    background: url('../images/gridview/up.gif') 50% 100% no-repeat; /*percents: horiz vert*/
    padding-bottom: 10px;
}

.grid-view table.items th a.desc {
    background: url('../images/gridview/down.gif') 50% 100% no-repeat; /*percents: horiz vert*/
    padding-bottom: 10px;
}


.grid-view table.items tr.even {
    background: #ffffff;
}

.grid-view table.items tr.odd {
    background: #F8F8F8;
    background: #F5F5F5;
}

.grid-view table.items tr.selected {
    background: #BCE774;
}

.grid-view table.items tr:hover.selected {
    background: #CCFF66;
}

.grid-view table.items tbody tr:hover {
    background: #ECFBD4;
}

.grid-view .link-column img {
    border: 0;
}

.grid-view .button-column {
    text-align: center;
    width: 60px;

    white-space: nowrap;
}

.grid-view .button-column img {
    border: 0;
}

.grid-view .checkbox-column {
    width: 15px;
}

/*
.grid-view .pager {
    margin: 5px 0 0 0;
    text-align: right;
}
*/

.grid-view .empty {
    /*
    font-style: italic;
    font-weight: bold;
    */
    font-size: 125%;
    color: red;
}


/****************************
REPLACED WITH UNIVERSAL IN SHARED

    .form input[type=text],
    .form input[type=password],
    .form select,
    .search-form input[type=text],
    .search-form select,
    .grid-view .filters input[type=text],
    .grid-view .filters select {
        border-left: 2px solid #cccccc;
        border-top: 2px solid #cccccc;
        border-right: 1px solid #dddddd;
        border-bottom: 1px solid #dddddd;
    }

    .form input[type=text],
    .form input[type=password],
    .search-form input[type=text],
    .grid-view .filters input[type=text] {
        padding: 1px 3px 1px 3px;
    }

    .form input[type=text],
    .form input[type=password],
    .form select,
    .search-form input[type=text],
    .search-form select {
        font-size: 13px;
    }



****************************/



.grid-view .filters input[type=text],
.grid-view .filters select {
    font-size: 12px;          /*override universal*/
    padding: 1px 0px 1px 0px; /*override universal*/
}

.grid-view .filters input[type=text].ctr {
    text-align: center;
}


.form td.display {
    font-size: 13px; /*to match form elements*/
}
.form td.display {
    vertical-align: bottom;
}


/***********************************************/
table.detail-view {
    font-size: 13px;
    border: 1px solid #cccccc;
    border-collapse: separate;
    border-spacing: 3px;
}

table.detail-view th,
table.detail-view td {
    /*padding: 3px 6px 3px 6px;*/
}

table.detail-view th {
    text-align: right;
}

table.detail-view tr.odd {
    background: #ffffff;
}

table.detail-view tr.odd td,
table.detail-view tr.odd th {
    padding: 1px 6px 1px 6px;
}

table.detail-view tr.even {
    background: #F8F8F8;
}

table.detail-view tr.even td,
table.detail-view tr.even th {
    padding: 4px 6px 4px 6px;
}

table.detail-view .null {
    color: pink;
}


/***********************************************/

.list-view div.divider {
    clear: both;
    height: 1px;
    font-size: 1px;
    border-bottom: 1px solid #999999;
    margin: 0px 2px 0px 2px;
}

.list-view {
    display: table;
}

.list-view div.multiRows {
    margin-top: 3px;
    margin-bottom: 5px;
    float: left;
}

.list-view div.multiRows table {
    width: 100%;
    font-size: 13px;
    border-collapse: separate;
    border-spacing: 0px;
}

.list-view div.multiRows table td,
.list-view div.multiRows table th {
    padding: 3px 6px 3px 6px;
    border-right: 2px solid white;
}

.list-view div.multiRows table th {
    text-align: right;
}

.list-view div.multiRows table tr.odd {
    background-color: #ffffff;
}

.list-view div.multiRows table tr.even {
    background-color: #F8F8F8;
}

.list-view .summary {
    margin: 0 0 5px 0;
}

/*
.list-view .pager {
    margin: 5px 0 0 0;
    text-align: right;
    font-size: 13px;
    border: 2px solid red;
}

*/





/*-------------------------------------
.list-view {
    display: table;
}

.list-view table.items {
    width: 100%;
    font-size: 13px;
    border: 1px solid #cccccc;
    border-collapse: separate;
    border-spacing: 3px;
}

.list-view table.items tr.view:last-child td {
    font-size: 0px;
    padding: 0px;
}

.list-view table.items tr.view:not(:last-child) td {
    font-size: 0px;
    padding: 0px;
    border-bottom: 1px solid #999999;
}

.list-view table.items th {
   text-align: right;
}

.list-view table.items tr.odd {
    background-color: #ffffff;
}

.list-view table.items tr.odd td,
.list-view table.items tr.odd th {
    padding: 1px 6px 1px 6px;
}

.list-view table.items tr.even {
    background-color: #F8F8F8;
}

.list-view table.items tr.even td,
.list-view table.items tr.even th {
    padding: 4px 6px 4px 6px;
}

-------------------------------------*/



.list-view-loading {
    background:url('../images/gridview/loading100.gif') no-repeat;
}

.list-view .sorter {
    margin: 0 0 5px 0;
    text-align: right;
    font-size: 0.9em;
}

.list-view .sorter ul {
    display: inline;
    list-style-image:none;
    list-style-position:outside;
    list-style-type:none;
    margin:0;
    padding:0;
}

.list-view .sorter li {
    display: inline;
    margin: 0 0 0 5px;
    padding: 0;
}

.list-view .sorter a.asc {
    background:url(up.gif) right center no-repeat;
    padding-right: 10px;
}

.list-view .sorter a.desc {
    background:url(down.gif) right center no-repeat;
    padding-right: 10px;
}
