﻿/** **/
table.table input#cb_jqgrid {
    display: inline-block;
    float: left;
    margin-top: -10px;
    margin-left: 3px;
}

table.table #jqgrid_cb .icheckbox_minimal {
    margin-top: -21px;
}

.ui-jqgrid .ui-jqgrid-hdiv {
    background-color: #f8f8f9 !important;
    padding-right: 0 !important;
}

table.table.ui-jqgrid-htable tr th:last-child {
    border-right: 0 !important;
}

.ui-jqgrid .btn-default {
    background-color: #fff !important;
}


.ui-jqgrid .btn-quick {
    margin-right: 2px;
}

/* search */
.ui-widget-overlay {
    background-color: rgba(0,0,0,0.5);
}

.ui-widget-header {
    font-weight: bold;
    background-color: #F5F5F5;
    color: #333;
}

.ui-jqdialog-title {
    float: none !important;
    font-size: 14px;
}

.ui-jqdialog .ui-jqdialog-titlebar {
    padding: 6px;
}

.ui-jqdialog .ui-jqdialog-titlebar-close span:before {
    content: "\e014";
}

.ui-jqdialog .ui-jqdialog-titlebar-close span {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    font-size: 15px;
}

.searchFilter {
    padding: 15px;
}

    .searchFilter select,
    .searchFilter input {
        padding: 6px;
        border: #ccc 1px solid;
        height: 30px;
        margin-right: 6px;
    }

.fm-button {
    border: #ccc 1px solid;
    padding: 6px 15px;
    background-color: #fff;
    font-size: 14px;
    border-radius: 2px;
}

.EditTable {
    background-color: #eee;
}

.EditButton {
    padding: 0 15px;
}

.ui-widget-content {
    padding: 0 !important;
}

.s-ico {
    position: absolute;
    right: 15px;
    top: 14px;
}

.ui-grid-ico-sort {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAsCAYAAACpOaImAAAAXElEQVQ4je2UwQnAIBAEV7EDf1mEs/8iUowkVSyYTw5C0DQQ5zmz7wVuSGYz20lmdwEASilbSulwKYmttTO8w3MQRwEAZn6xWPyXUGvtsxglcRQk8fukXPjAAwBc9jonxB51QWoAAAAASUVORK5CYII=');
    background-position: right;
    background-repeat: no-repeat;
}

.ui-icon-triangle-1-n {
    background-position: 0 6px;
}

.ui-icon-triangle-1-s {
    background-position: 0 -33px;
}

.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled {
    opacity: .35;
    filter: alpha(opacity=35);
}
/** **/




.ui-jqgrid-btable input, .ui-jqgrid-btable select, .ui-jqgrid-btable textarea {
    padding: 2px;
    width: auto;
    max-width: 100%;
    margin-bottom: 0;
}

.ui-jqgrid-btable select {
    padding: 1px;
    height: 25px;
    line-height: 25px;
}

.ui-jqgrid .ui-jqgrid-view button, .ui-jqgrid .ui-jqgrid-view input, .ui-jqgrid .ui-jqgrid-view select, .ui-jqgrid .ui-jqgrid-view textarea {
    font-size: 13px;
}

    .ui-jqgrid .ui-jqgrid-view button > i {
        padding: 0;
        margin: 0;
    }

.ui-jqgrid .ui-jqgrid-htable .ui-search-toolbar th {
    height: 30px;
    padding-top: 2px;
    white-space: normal;
}

.ui-jqgrid .ui-jqgrid-view, .ui-jqgrid .ui-paging-info, .ui-jqgrid .ui-pg-selbox, .ui-jqgrid .ui-pg-table {
    font-size: 13px;
}

.ui-jqgrid .ui-jqgrid-title {
    background: url(/Content/Images/magnify.png) no-repeat 50% 8px;
    background-position: 15%;
    font-weight: normal;
    padding: 9px 12px 9px 35px;
    float: left;
    color: #424242 !important;
    font-size: 14px;
    /*float: left;
    margin: 8px;*/
    display: block;
    /*font-size: 0.83em;
    -webkit-margin-before: 1.67em;
    -webkit-margin-after: 1.67em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;*/
    /*font-weight: bold;*/
}

.ui-jqgrid .ui-jqgrid-title-rtl {
    float: right;
    margin: 8px;
}

.ui-jqgrid-view > .ui-jqgrid-titlebar {
    background: #efefef repeat-x;
    height: 50px;
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    position: relative;
    font-weight: normal;
    /*padding: 9px 12px 9px 35px;*/
    /*float: left;*/
    color: #424242 !important;
    /*color: #31708f;*/
    /*height: 40px;
    line-height: 24px;
   
    background: #D6DDE7;
    padding: 0;
    font-size: 15px;*/
}

.ui-jqgrid .ui-jqgrid-titlebar-close .ui-icon:before {
    color: #31708f !important;
}

.ui-jqgrid tr.jqgrow.ui-row-rtl td:last-child {
    border-right: none;
    border-left: 1px solid #E1E1E1;
}

.ui-jqgrid .ui-jqgrid-hdiv {
    background-color: #eff3f8;
    border: 1px solid #D3D3D3;
    border-width: 1px 0 0 1px;
    line-height: 15px;
    font-weight: 700;
    color: #777;
    text-shadow: none;
}

.ui-jqgrid .ui-jqgrid-htable thead {
    background-color: #eff3f8;
}

.ui-jqgrid .ui-jqgrid-htable th span.ui-jqgrid-resize {
    height: 45px !important;
}

.ui-jqgrid .ui-jqgrid-htable th div {
    padding-top: 12px;
    padding-bottom: 12px;
}

.ui-jqgrid-hdiv .ui-jqgrid-htable {
    border-top: 1px solid #E1E1E1;
}

.ui-jqgrid-titlebar {
    position: relative;
    top: 1px;
    z-index: 1;
}

.ui-jqgrid tr.jqgrow, .ui-jqgrid tr.ui-row-ltr, .ui-jqgrid tr.ui-row-rtl {
    border: none;
}

    .ui-jqgrid tr.ui-row-ltr td, .ui-jqgrid tr.ui-row-rtl td {
        border-bottom: 1px solid #E1E1E1;
        padding: 6px 4px;
        border-color: #E1E1E1;
    }

.ui-jqgrid tr.ui-state-highlight.ui-row-ltr td {
    border-right-color: #C7D3A9;
}

.ui-jqgrid tr.ui-state-highlight.ui-row-rtl td {
    border-left-color: #C7D3A9;
}

.ui-jqgrid tr:nth-of-type(even) {
    background: #F1F1F1;
}



.ui-jqgrid-btable .ui-widget-content.ui-priority-secondary {
    background-image: none;
    background-color: #F9F9F9;
    opacity: 1;
}

.ui-jqgrid-btable .ui-widget-content.ui-state-hover {
    background-image: none;
    background-color: #EFF4F7;
    opacity: 1;
}

.ui-jqgrid-btable .ui-widget-content.ui-state-highlight {
    background-color: #E4EFC9;
}

.ui-jqgrid .ui-jqgrid-pager {
    /*line-height: 15px;
    height: 55px;
    padding-top: 3px !important;
    padding-bottom: 5px !important;
    background-color: #eff3f8 !important;
    border-bottom: 1px solid #E1E1E1 !important;
    border-top: 1px solid #E1E1E1 !important;*/

    /*background: #efefef url(Images/leftNavBg.png) repeat-x;*/
    height: 50px;
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    position: relative;
    font-weight: normal;
    /*padding: 9px 12px 9px 35px;*/
    /*float: left;*/
    color: #424242 !important;
}

.ui-jqgrid .ui-pg-input {
    font-size: inherit;
    width: 24px;
    height: 20px;
    line-height: 16px;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    text-align: center;
    padding-top: 1px;
    padding-bottom: 1px;
}

.ui-jqgrid .ui-pg-selbox {
    display: block;
    height: 24px;
    width: 60px;
    margin: 0;
    padding: 1px;
    line-height: normal;
}

.ui-jqgrid .ui-jqgrid-htable th div {
    overflow: visible;
}

.ui-jqgrid .ui-pager-control {
    height: 50px;
    position: relative;
    padding-left: 9px;
    padding-right: 9px;
}

.ui-jqgrid .ui-jqgrid-toppager {
    height: auto !important;
    background-color: #eff3f8;
    border-bottom: 1px solid #E1E1E1 !important;
}

.ui-jqgrid .jqgrow .editable {
    max-width: 90%;
    max-width: calc(92%) !important;
}

.ui-pg-table .navtable .ui-corner-all {
    border-radius: 0;
}

.ui-jqgrid .ui-pg-button:hover {
    padding: 1px;
}

.ui-jqgrid .ui-pg-button .ui-separator {
    margin-left: 4px;
    margin-right: 4px;
    border-color: #C9D4DB;
}

.ui-jqgrid .ui-jqgrid-btable {
    border-left: 1px solid #E1E1E1;
}

.ui-jqgrid .ui-jqgrid-bdiv {
    border-top: 1px solid #E1E1E1;
}

.ui-jqgrid .loading {
    position: absolute;
    top: 45%;
    left: 45%;
    width: auto;
    height: auto;
    z-index: 101;
    padding: 6px;
    margin: 5px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    background-color: #FFF;
    border: 2px solid #8EB8D1;
    color: #E2B018;
}

.ui-jqgrid .ui-search-toolbar {
    border-top: 1px solid #E1E1E1;
}

.ui-jqgrid .ui-jqgrid-labels {
    border-bottom: none;
    background: #F2F2F2 repeat-x;
    background-image: -webkit-linear-gradient(top,#f8f8f8 0,#ececec 100%);
    background-image: -o-linear-gradient(top,#f8f8f8 0,#ececec 100%);
    background-image: linear-gradient(to bottom,#f8f8f8 0,#ececec 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8f8f8', endColorstr='#ffececec', GradientType=0);
    padding: 0 !important;
    border-left: 1px solid #E1E1E1 !important;
}

    .ui-jqgrid .ui-jqgrid-labels th {
        border-right: 1px solid #E1E1E1 !important;
        text-align: left !important;
    }

.ui-jqgrid-labels th[id*="_cb"]:first-child > div {
    padding-top: 0;
    text-align: center !important;
}

.ui-jqgrid-sortable {
    padding-left: 4px;
    font-size: 13px;
    color: #777;
    font-weight: 700;
}

    .ui-jqgrid-sortable:hover {
        color: #547ea8;
    }

th[aria-selected=true] {
    background-image: -webkit-linear-gradient(top,#eff3f8 0,#e3e7ed 100%);
    background-image: -o-linear-gradient(top,#eff3f8 0,#e3e7ed 100%);
    background-image: linear-gradient(to bottom,#eff3f8 0,#e3e7ed 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffeff3f8', endColorstr='#ffe3e7ed', GradientType=0);
}

    th[aria-selected=true] .ui-jqgrid-sortable {
        color: #307ecc;
    }

.ui-jqgrid .ui-jqgrid-htable .ui-search-toolbar th div {
    padding-top: 0;
    padding-bottom: 0;
    height: 30px;
    line-height: 26px;
}

.ui-jqgrid .ui-jqgrid-titlebar-close {
    top: 10%;
    height: auto;
    padding: 0;
    margin: 2px 8px 0 0;
    text-align: center;
    border-radius: 4px;
}

    .ui-jqgrid .ui-jqgrid-titlebar-close:hover {
        background-color: rgba(255,255,255,.2);
    }

    .ui-jqgrid .ui-jqgrid-titlebar-close .ui-icon:before {
        display: inline-block;
        font-family: FontAwesome;
        content: "\f077";
        color: #FFF;
    }

    .ui-jqgrid .ui-jqgrid-titlebar-close .ui-icon-circle-triangle-s:before {
        content: "\f078";
    }

.ui-jqgrid .tree-wrap-ltr {
    margin: 0 4px;
    float: none;
    display: inline;
}

.ui-jqgrid .tree-wrap-rtl {
    margin: 2px 4px 0;
}

.ui-jqgrid .ui-subgrid {
    border-bottom: 1px solid #E1E1E1;
    background-color: #F6FAFF;
}

    .ui-jqgrid .ui-subgrid .ui-jqgrid-btable {
        background-color: #FFF;
    }

    .ui-jqgrid .ui-subgrid .ui-jqgrid .ui-jqgrid-hdiv {
        background-color: transparent;
        margin-top: 4px;
    }

        .ui-jqgrid .ui-subgrid .ui-jqgrid .ui-jqgrid-hdiv .ui-jqgrid-htable .ui-jqgrid-labels {
            border-bottom: 1px solid #E1E1E1;
            background: #F1F1F1;
        }

        .ui-jqgrid .ui-subgrid .ui-jqgrid .ui-jqgrid-hdiv .ui-jqgrid-htable th[aria-selected=true] {
            background: #E5E9EF;
        }

        .ui-jqgrid .ui-subgrid .ui-jqgrid .ui-jqgrid-hdiv .ui-jqgrid-htable th .ui-jqgrid-sortable {
            font-size: 12px;
        }

        .ui-jqgrid .ui-subgrid .ui-jqgrid .ui-jqgrid-hdiv .ui-jqgrid-htable th div {
            padding-top: 8px;
            padding-bottom: 8px;
        }

        .ui-jqgrid .ui-subgrid .ui-jqgrid .ui-jqgrid-hdiv .ui-jqgrid-htable th span.ui-jqgrid-resize {
            height: 36px !important;
        }

    .ui-jqgrid .ui-subgrid .ui-jqgrid .ui-jqgrid-bdiv {
        height: auto !important;
        max-height: 150px;
        margin-bottom: 4px;
        border-top-width: 0;
        border-bottom: 1px solid #E1E1E1;
    }

.ui-jqgrid .ui-sgcollapsed > a:hover {
    text-decoration: none;
}

.ui-widget .ui-widget-content {
    background-color: #fff;
}

td.delmsg {
    padding: 0 10px;
}

@media only screen and (max-width:767px) {
    .ui-jqgrid .ui-jqgrid-pager {
        height: 90px;
    }

        .ui-jqgrid .ui-jqgrid-pager > .ui-pager-control {
            height: 85px;
            padding-top: 9px;
        }

            .ui-jqgrid .ui-jqgrid-pager > .ui-pager-control > .ui-pg-table > tbody > tr > td {
                vertical-align: top;
            }

                .ui-jqgrid .ui-jqgrid-pager > .ui-pager-control > .ui-pg-table > tbody > tr > td#grid-pager_center {
                    width: 0 !important;
                    position: static;
                }

                    .ui-jqgrid .ui-jqgrid-pager > .ui-pager-control > .ui-pg-table > tbody > tr > td#grid-pager_center > .ui-pg-table {
                        margin: 36px auto 0;
                        position: absolute;
                        right: 0;
                        left: 0;
                        text-align: center;
                    }
}

@media only screen and (max-width:767px) and (-webkit-min-device-pixel-ratio:0) {
    .ui-jqgrid .ui-jqgrid-pager > .ui-pager-control > .ui-pg-table > tbody > tr > td#grid-pager_center > .ui-pg-table {
        width: 300px;
    }
}


/*.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background: #dfeffc url("images/ui-bg_glass_85_dfeffc_1x400.png") 50% 50% repeat-x;
}*/


.ui-jqgrid .ui-jqgrid-title {
    background-position: 15% !important;
    font-weight: normal !important;
    float: left !important;
    color: #424242 !important;
    font-size: 14px !important;
    display: block;
}

.ui-jqgrid .ui-jqgrid-view input, .ui-jqgrid .ui-jqgrid-view select, .ui-jqgrid .ui-jqgrid-view textarea, .ui-jqgrid .ui-jqgrid-view button {
    font-size: 13px;
}

.ui-jqgrid  .ui-jqgrid-pager{ font-size: 1em; }
.ui-jqgrid .ui-jqgrid-view { font-size: 1em; }

table tr.even, table tr.alt, table tr:nth-of-type(even) {
    background: #F1F1F1;
}

.ui-jqgrid-btable .jqgrow {
    border: none;
}

    .ui-jqgrid-btable .jqgrow td {
        border: 1px solid #a6c9e2;
        padding-left: 5px;
    }



.ui-jqgrid-htable th {
    border-bottom: none;
}

.ui-jqgrid .s-ico {
    display: inline-block;
    float: right;
    vertical-align: middle;
}

    .ui-jqgrid .s-ico .ui-state-disabled {
        display: none;
    }

.ui-jqgrid .ui-jqgrid-titlebar-close {
    display: none;
}

.ui-jqgrid .ui-pager-control .ui-pg-table #pager_right {
    padding-right: 5px;
}


.ui-jqgrid .ui-widget-header {
    background: #efefef repeat-x;
    height: 50px;
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    position: relative;
    font-weight: normal;

    color: #424242 !important;

}


.ui-jqgrid .ui-jqgrid-bdiv {
    overflow-x: hidden !important;
}


.ui-jqgrid.ui-widget-content {
    border: 1px solid #d5d5d5 !important;
}

.jqgrow .ui-row-ltr {
    font-weight: bold !important;
}

.ui-state-highlight .ui-jqgrid tr td{
    font-weight: bold !important;
    
}

.ui-jqgrid .ui-jqgrid-btable .ui-sgcollapsed span {
    display: inline-block !important;
}

.ui-jqgrid .ui-icon-carat-1-sw {
    background: none;
}

.ui-jqgrid-view > .ui-jqgrid-titlebar {
    border-top: none !important;
}

#jqGridPrintHistoryGrid_Container .ui-jqgrid .ui-jqgrid-htable th div {
    padding-bottom: 0;
}

.ui-jqgrid .ui-pg-selbox {
    display: none !important
}

.ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column {
    position: relative;
}



/*.ui-pg-button {
    color: red;
}

.red {
    color: red;
}*/