﻿/*
 * jsGrid v1.2.0 (http://js-grid.com)
 * (c) 2015 Artem Tabalin
 * Licensed under MIT (https://github.com/tabalinas/jsgrid/blob/master/LICENSE)
 */

.jsgrid {
    position: relative;
    overflow: auto;
    width:100%;
    font-size: 1em;
}

.jsgrid-grid-header {
    border: none;
    background-color: transparent !important;
}

.jsgrid, .jsgrid *, .jsgrid *:before, .jsgrid *:after {
    box-sizing: border-box;
}

.jsgrid input,
.jsgrid textarea,
.jsgrid select {
    font-size: 1em;
}

.jsgrid-grid-header {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.jsgrid-grid-body {
    overflow-x: hidden;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border: none;
}

.jsgrid-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    word-break: break-word;
    border-spacing: 0;
}

.jsgrid-grid-body td {
    padding: 1.2em 0.5em 1.2em 0.5em;
    color: #666666;
    height: 72px;
    vertical-align:top;
}

.jsgrid-insert-row td:first-child {
    padding: 1.2em 0.5em 1.2em 1em
}

.jsgrid-table td,
.jsgrid-table th {
    box-sizing: border-box;
    border-right: none !important;
    border-left: none !important;
}

.jsgrid-grid-body td {
    border-top: none !important;
}

.jsgrid-grid-body tr:last-child td{
    border-bottom: none !important;
}

.jsgrid-align-left {
    text-align: left !important;
}

.jsgrid-align-center {
    text-align: center !important;
}

.jsgrid-align-right {
    text-align: right !important;
}

.jsgrid-header-row th {
    padding: 0.5em;
    color: #104f66;
    height: 38px;
    font-size: 14px;
    font-weight:normal;
    border-bottom:1px solid #B7C8CE;
}

.jsgrid-filter-row > td {
    text-align: left;
    padding: 0.5em;
}

.jsgrid-filter-row input,
.jsgrid-filter-row textarea,
.jsgrid-filter-row select,
.jsgrid-edit-row input,
.jsgrid-edit-row textarea,
.jsgrid-edit-row select,
.jsgrid-insert-row input,
.jsgrid-insert-row textarea,
.jsgrid-insert-row select {
    width: 90%;
    padding: .3em .5em;
}

.jsgrid-filter-row input[type='checkbox'],
.jsgrid-edit-row input[type='checkbox'],
.jsgrid-insert-row input[type='checkbox'] {
    width: auto;
}

.jsgrid-nodata-row td {
    padding: .5em 0;
    text-align: center;
}

.jsgrid-header-sort {
    cursor: pointer;
}

.jsgrid-pager {
    padding: 0px 0;
    margin-bottom:0px;
    /*max-height: 35px;*/
}

.jsgrid-pager-nav-button {
    font-size:14px;    
    background: #fff;
    border: 1px solid #6D919E;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer !important;
    display:inline-block;
    vertical-align:top;
    min-width:35px;
    min-height:35px;
    text-align:center;
    line-height: 21px;
    margin-right:10px;
}

.jsgrid-pager-nav-button.more-nav-right {
    line-height:23px;
    border: none;
    margin-right:0px;
    margin-left:-10px;
}

.jsgrid-pager-nav-button.more-nav-left {
    line-height:23px;
    border: none;
    margin-right:0px;
    margin-left:-4px;
}

.jsgrid-pager-nav-button.prev-nav
{
    margin-right:32px;
}

.jsgrid-pager-nav-button.last-nav
{
    margin-left:-4px;
}

.jsgrid-pager-nav-button.more-nav-left:hover,
.jsgrid-pager-nav-button.more-nav-right:hover
 {
    border: none !important;
}

.jsgrid-pager-nav-button.next-nav {
    margin-left:32px;
}

.jsgrid-pager-page:hover, .jsgrid-pager-nav-button:hover {
    border: 1px solid #94a1a8;
}


.jsgrid-pager-nav-button a {
    color: #6D919E;
    text-decoration: none;
    padding:6px 23px;
    display:block;
    height:100%;
    width:100%;
}
.jsgrid-pager-nav-button.more-nav-right a,
.jsgrid-pager-nav-button.more-nav-left a,
.jsgrid-pager-nav-button.last-nav a,
.jsgrid-pager-nav-button.first-nav a {
    padding:6px 4px;
}
.jsgrid-pager-nav-inactive-button.first-nav,
.jsgrid-pager-nav-inactive-button.last-nav
{
    display:none;
}

.jsgrid-pager-nav-button a:hover,
.jsgrid-pager-nav-button a:link,
.jsgrid-pager-nav-button a:active,
.jsgrid-pager-nav-button a:visited {
    text-decoration: none;
}

.jsgrid-pager-nav-inactive-button a {
    cursor: default !important;
    color: #6D919E;
}

.jsgrid-alt-row > td {
}

.jsgrid-selected-row > td {
    background: #F5F7F8;
    border-color: #c4e2ff;
}

.jsgrid-insert-row > td {
    background: #c4e2ff;
}

.jsgrid-pager-page {
    font-size:14px;
    line-height:21px;
    padding: 6px 0px;
    border: 1px solid #6D919E;
    margin-right: 10px;
    margin-left: 0px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer !important;
    display:inline-block;
    width:35px;
    height:35px;
    text-align:center;
    vertical-align:top;
}

.jsgrid-pager-page-10 {
    padding: 6px 8px;
}

.jsgrid-pager-page-100 {
    padding: 6px 0px;
}

.jsgrid-pager-page a {
    color: #6D919E;
    display:block;
    height:100%;
    width:100%;
}

.jsgrid-pager-page a:hover,
.jsgrid-pager-page a:link,
.jsgrid-pager-page a:active,
.jsgrid-pager-page a:visited {
    text-decoration: none;
}

.jsgrid-pager-current-page {
    font-weight: normal;
    background: #104f66;
    border: 1px solid #78909c;
    color: white;
}

.jsgrid-edit-button {
    background-size: 16px 16px !important;
    background-image: url(../images/jsgrid-pencil.png) !important;
    background-position: 0 0;
    width: 16px;
    height: 16px !important;
}

.jsgrid-delete-button {
    background-size: 16px 16px !important;
    background-image: url(../images/jsgrid-delete.png) !important;
    background-position: 0 0;
    width: 16px;
    height: 16px !important;
}

.jsgrid-search-mode-button {
    background-size: 24px 24px !important;
    background-image: url(../images/jsgrid-search-mode.png) !important;
    background-position: 0 0;
    width: 24px;
    height: 24px !important;
}

.jsgrid-search-button {
    background-size: 16px 16px !important;
    background-image: url(../images/jsgrid-search.png) !important;
    background-position: 0 0;
    width: 16px;
    height: 16px !important;
}

.jsgrid-clear-filter-button {
    background-size: 16px 16px !important;
    background-image: url(../images/jsgrid-filter.png) !important;
    background-position: 0 0;
    width: 16px;
    height: 16px !important;
}

.jsgrid-update-button {
    background-size: 16px 16px !important;
    background-image: url(../images/jsgrid-update.png) !important;
    background-position: 0 0;
    width: 16px;
    height: 16px !important;
}

.jsgrid-cancel-edit-button {
    background-size: 16px 16px !important;
    background-image: url(../images/jsgrid-cancel-edit.png) !important;
    background-position: 0 0;
    width: 16px;
    height: 16px !important;
}


#pager {
    margin-top: 30px;
    margin-bottom:1px;
}

#resetFilterBtn {    
    margin-left: 15px !important;    
    font-weight: normal;
}

#resetFilterBtn:link, #resetFilterBtn:visited, #resetFilterBtn:hover, #resetFilterBtn:active {
    text-decoration: none;
}

.calendar-span {
    background-size: 16px 16px !important;
    background-image: url(../images/calendar-icon.png) !important;
    background-position: 0 0;
    width: 16px;
    height: 16px !important;
    margin-right: 12px;
    margin-top: 8px;
}

.jsgrid-news-container {
    padding: 0 10px;
}

.jsgrid-news-row-date{
    font-size: 14px;
    color: #98a5af;
    text-indent: 0px;
    margin-top:8px;
}

.jsgrid-news-row-header {
    font-size: 22px;
    line-height: 26px;
}

.jsgrid-table tr.jsgrid-row:hover,
.jsgrid-table tr.jsgrid-alt-row:hover
 {
    background:#F5F7F8;
}
/**/
.jsgrid-load-panel
{
    background:white;
    border:1px solid #888;
}
/**/
.jsgrid-row-more-main td
{
    border-bottom: none !important;
}

.jsgrid-row-more-container td 
{
    height: 0px !important;
    padding: 0 !important;
}

.jsgrid-row-more-container .title 
{
    color: #8E99A2;
    font-size:14px;
    font-weight: bold;
}

.jsgrid-row-more-container .container 
{
    padding: 0em 0.5em 0em 0.5em;
}
.jsgrid-pager>span {
    margin-top: 10px;
}
.jsgrid-load-shader {
    background: rgba(99,99,99,0.2);
}