﻿/* Select 2 Hidden */
.select2-hidden-accessible[data-select="select2"] {
    display:none;
}
/* Input Group Select 2 Support */
.input-group > .select2-container > .selection > .select2-selection--single {
    border-radius: 0px;
    border-left-width: 0px;
}
.input-group > .select2-container:nth-of-type(1) > .selection > .select2-selection--single {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-left-width:1px;
}
.input-group > .select2-container:nth-last-of-type(1)> .selection > .select2-selection--single {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group > .remote-data-select-container {
    display: inline-block;
    position: relative;
}
.input-group > .remote-data-select-container > .select2-container > .selection > .select2-selection--single {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right-width: 0px;
}
.input-group > .remote-data-select-container + .select2-hidden-accessible + .select2-container > .selection > .select2-selection--single {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Table Condensed and Table Edit Fix */
.table-condensed.table-edit th:first-of-type,
.table-condensed.table-edit td:first-of-type {
    width: 46px;
}

/* Utilities Container */
.utilities-container
{
    display: inline-table;
    vertical-align: middle;
}
.utilities-container .form-group:first-of-type
{
    margin-left:10px;
}
.utilities-container .form-group
{
    padding:0px 5px;
}
.utilities-container .form-group:last-of-type
{
    margin-right:10px;
}

/* Nav Tab Body */
.nav-tab-body {
    border-left: solid 1px #ddd;
    border-right: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
    padding-top: 25px;
    margin-bottom: 20px;
}
.nav-tab-body > .tab-pane > .row {
    margin-left:0px;
    margin-right:10px;
}

/* Invoice Manage */
.table-invoice-manage td:nth-of-type(5),
.table-invoice-manage td:nth-of-type(6) { /* Generated & Due */
    text-align: center;
    width: 80px;
}
.table-invoice-manage td:nth-of-type(7) { /* Total */
    text-align:right;
    width: 130px;
}
.table-invoice-manage td:nth-of-type(8) { /* Ledger */
    width: 60px;
}
.table-invoice-manage td:nth-of-type(9) { /* Type */
    width: 100px;
}
.table-invoice-manage td:nth-of-type(10){/* Status */
    width: 80px;
}
.table-invoice-manage td:last-child {
    width: 46px;
    text-align: center;
}

/* Panel Command Button / Search */
.panel-command-button,
.panel-search {
    margin-top: -6px;
    margin-right: -6px;
}
.panel-search {
    width: 200px;
}

/* Invoice Panel*/
.invoice-panel > .panel-heading{
    padding:0;
}
.invoice-panel > .panel-heading > .panel-title {
    padding:9px 15px 0px;
}
.invoice-panel > .panel-heading > .form-inline {
    text-align:right;
}
.invoice-panel > .panel-heading > .form-inline > .form-group > .input-group > .input-group-addon:first-child{
    border-top-left-radius:0px;
    border-bottom-left-radius:0px;
}
.invoice-panel > .panel-heading > .form-inline > .form-group > .input-group > .input-group-addon,
.invoice-panel > .panel-heading > .form-inline > .form-group > .input-group > .form-control{
    border-top:0px;
    border-bottom:0px;
}
.invoice-panel > .panel-heading > .form-inline > .form-group > .input-group > .input-group-addon,
.invoice-panel > .panel-heading > .form-inline > .form-group > .input-group > .form-control:last-child{
    border-right:0px;
}
.invoice-panel > .panel-heading > .form-inline > .form-group > .input-group > .input-group-addon:not(:first-child){
    border-left:0px;
}

/* Invoice Items Table */
table.table-invoice-items > tbody > tr > td:nth-last-child(1) { /* Delete */
    width: 50px;
}
table.table-invoice-items > tbody > tr > td:nth-last-child(2),
table.table-invoice-items > tbody > tr > td:nth-last-child(3) { /* Price & Tax */
    width: 160px;
}
table.table-invoice-items > tbody > tr > td:nth-last-child(4) { /* Quantity */
    width: 140px;
}
table.table-invoice-items > tbody > tr > td:nth-child(1) {
    width: auto;
}
table.table-invoice-items > tbody > tr > td:nth-child(1) > input[type="text"] {
    width: 100%;
}
/* Invoice Transactions Table */
table.table-invoice-transactions > tbody > tr > td:nth-last-child(1) { /* Command Button */
    width: 90px;
    text-align:right;
}
table.table-invoice-transactions > tbody > tr > td:nth-last-child(2),
table.table-invoice-transactions > tbody > tr > td:nth-last-child(3) { /* Type & Status */
    width: 100px;
}
table.table-invoice-transactions > tbody > tr > td:nth-child(2) { /* Value */
    width: 150px;
}
table.table-invoice-transactions > tbody > tr > td:nth-child(1) { /* Timestamp */
    width: 100px;
}

/* Ledger Panels */
.panel-ledger-credit > .panel-footer {
    padding: 10px 0px 15px 0px;
}

/* Ledger Tables  */
.table-ledger-credit tr td:nth-child(1),
.table-ledger-outstanding tr td:nth-child(1){/* Date */
    width: 100px;
    text-align: center;
}
.table-ledger-credit tr td:nth-last-child(4) {/* Amount */
    width: 80px;
    text-align: right;
}
.table-ledger-outstanding tr td:nth-last-child(1) {/* Allocation */
    width: 250px;
}
.table-ledger-credit tr td:nth-last-child(3) {/* Type */
    width: 100px;
}
.table-ledger-credit tr td:nth-last-child(2) {/* Refund */
    width: 45px;
}
.table-ledger-credit tr td:nth-last-child(1) { /* Selection */
    width: 60px;
}
.table-ledger-items tr td:nth-child(1) {/* Date */
    width: 100px;
    text-align: center;
}
.table-ledger-items tr td:nth-child(2) {/* Type */
    width: 95px;
}
.table-ledger-items tr td:nth-child(3) {/* Value */
    width: 120px;
    text-align: right;
}
.table-ledger-items tr td:nth-last-child(4) {/* Issued By */
    width: 220px;
}
.table-ledger-items tr td:nth-last-child(3) {/* Actioned On */
    width: 140px;
}
.table-ledger-items tr td:nth-last-child(2) {/* Status */
    width: 80px;
}
.table-ledger-items tr td:nth-last-child(1) { /* Remittance */
    width: 45px;
}

/* Ledger Transaction Check */
.form-ledger-transaction-check {
    margin-top: 8px;
    margin-bottom: 8px;
}
.form-ledger-transaction-check > .form-group {
    margin-bottom: 0px;
}
.form-ledger-transaction-check > .form-group .form-control-static{
    text-align:right;
    padding-right:5px;
}
.form-ledger-transaction-check >.command-button-container{
    text-align:right;
}
.form-ledger-transaction-check > .command-button-container > .btn {
    padding-left:20px;
    padding-right:20px;
}

/* Panel Tab Table Fix */
.panel > .panel-body.panel-body-table-only {
    margin: -15px;
}
.panel > .panel-body.panel-body-table-only .table:first-child {
    margin-top:0px;
}
.panel > .panel-body.panel-body-table-only > .row {
    margin-left:0px;
    margin-right:0px;
}
.panel > .panel-body > .table,
.panel > .panel-body > .table-responsive > .table,
.panel > .panel-body > .panel-collapse > .table,
.panel > .panel-body > div > .table,
.panel > .panel-body > .table-responsive > div > .table,
.panel > .panel-body > .panel-collapse > div > .table {
  margin-bottom: 0;
}
.panel > .panel-body > .table caption,
.panel > .panel-body > .table-responsive > .table caption,
.panel > .panel-body > .panel-collapse > .table caption,
.panel > .panel-body > div > .table caption,
.panel > .panel-body > .table-responsive > div > .table caption,
.panel > .panel-body > .panel-collapse > div > .table caption {
  padding-right: 15px;
  padding-left: 15px;
}
.panel > .panel-body > div > .table:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child,
.panel > .panel-body > div > .table:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel > .panel-body > .table:first-child > thead:first-child > tr:first-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
.panel > .panel-body > .table:first-child > tbody:first-child > tr:first-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child,
.panel > .panel-body > div > .table:first-child > thead:first-child > tr:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > thead:first-child > tr:first-child,
.panel > .panel-body > div > .table:first-child > tbody:first-child > tr:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > tbody:first-child > tr:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel > .panel-body > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .panel-body > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .panel-body > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .panel-body > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .panel-body > div > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .panel-body > div > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .panel-body > div > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .panel-body > div > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > tbody:first-child > tr:first-child th:first-child {
  border-top-left-radius: 3px;
}
.panel > .panel-body > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .panel-body > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .panel-body > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .panel-body > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .panel-body > div > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .panel-body > div > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .panel-body > div > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .panel-body > div > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > tbody:first-child > tr:first-child th:last-child
 {
  border-top-right-radius: 3px;
}
.panel > .panel-body > .table:last-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child,
.panel > .panel-body > div > .table:last-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > .panel-body > .table:last-child > tbody:last-child > tr:last-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
.panel > .panel-body > .table:last-child > tfoot:last-child > tr:last-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child,
.panel > .panel-body > div > .table:last-child > tbody:last-child > tr:last-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tbody:last-child > tr:last-child,
.panel > .panel-body > div > .table:last-child > tfoot:last-child > tr:last-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tfoot:last-child > tr:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > .panel-body > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .panel-body > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .panel-body > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .panel-body > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .panel-body > div > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .panel-body > div > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .panel-body > div > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .panel-body > div > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
  border-bottom-left-radius: 3px;
}
.panel > .panel-body > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .panel-body > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .panel-body > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .panel-body > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .panel-body > div > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .panel-body > div > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .panel-body > div > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .panel-body > div > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
  border-bottom-right-radius: 3px;
}
.panel > .panel-body > .panel-body + .table,
.panel > .panel-body > .panel-body + .table-responsive,
.panel > .panel-body > .table + .panel-body,
.panel > .panel-body > .table-responsive + .panel-body,
.panel > .panel-body > .panel-body + div > .table,
.panel > .panel-body > .panel-body + .table-responsive,
.panel > .panel-body > div > .table + .panel-body,
.panel > .panel-body > .table-responsive + .panel-body {
  border-top: 1px solid #ddd;
}
.panel > .panel-body > .table > tbody:first-child > tr:first-child th,
.panel > .panel-body > .table > tbody:first-child > tr:first-child td,
.panel > .panel-body > div > .table > tbody:first-child > tr:first-child th,
.panel > .panel-body > div > .table > tbody:first-child > tr:first-child td {
  border-top: 0;
}
.panel > .panel-body > .table-bordered,
.panel > .panel-body > .table-responsive > .table-bordered,
.panel > .panel-body > div > .table-bordered,
.panel > .panel-body > .table-responsive > div > .table-bordered {
  border: 0;
}
.panel > .panel-body > .table-bordered > thead > tr > th:first-child,
.panel > .panel-body > .table-responsive > .table-bordered > thead > tr > th:first-child,
.panel > .panel-body > .table-bordered > tbody > tr > th:first-child,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr > th:first-child,
.panel > .panel-body > .table-bordered > tfoot > tr > th:first-child,
.panel > .panel-body > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
.panel > .panel-body > .table-bordered > thead > tr > td:first-child,
.panel > .panel-body > .table-responsive > .table-bordered > thead > tr > td:first-child,
.panel > .panel-body > .table-bordered > tbody > tr > td:first-child,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr > td:first-child,
.panel > .panel-body > .table-bordered > tfoot > tr > td:first-child,
.panel > .panel-body > .table-responsive > .table-bordered > tfoot > tr > td:first-child,
.panel > .panel-body > div > .table-bordered > thead > tr > th:first-child,
.panel > .panel-body > .table-responsive > .div > .table-bordered > thead > tr > th:first-child,
.panel > .panel-body > div > .table-bordered > tbody > tr > th:first-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > tbody > tr > th:first-child,
.panel > .panel-body > div > .table-bordered > tfoot > tr > th:first-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > tfoot > tr > th:first-child,
.panel > .panel-body > div > .table-bordered > thead > tr > td:first-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > thead > tr > td:first-child,
.panel > .panel-body > div > .table-bordered > tbody > tr > td:first-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > tbody > tr > td:first-child,
.panel > .panel-body > div > .table-bordered > tfoot > tr > td:first-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > tfoot > tr > td:first-child {
  border-left: 0;
}
.panel > .panel-body > .table-bordered > thead > tr > th:last-child,
.panel > .panel-body > .table-responsive > .table-bordered > thead > tr > th:last-child,
.panel > .panel-body > .table-bordered > tbody > tr > th:last-child,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr > th:last-child,
.panel > .panel-body > .table-bordered > tfoot > tr > th:last-child,
.panel > .panel-body > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
.panel > .panel-body > .table-bordered > thead > tr > td:last-child,
.panel > .panel-body > .table-responsive > .table-bordered > thead > tr > td:last-child,
.panel > .panel-body > .table-bordered > tbody > tr > td:last-child,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr > td:last-child,
.panel > .panel-body > .table-bordered > tfoot > tr > td:last-child,
.panel > .panel-body > .table-responsive > .table-bordered > tfoot > tr > td:last-child,
.panel > .panel-body > div > .table-bordered > thead > tr > th:last-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > thead > tr > th:last-child,
.panel > .panel-body > div > .table-bordered > tbody > tr > th:last-child,
.panel > .panel-body > .table-responsive > .div > .table-bordered > tbody > tr > th:last-child,
.panel > .panel-body > div > .table-bordered > tfoot > tr > th:last-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > tfoot > tr > th:last-child,
.panel > .panel-body > div > .table-bordered > thead > tr > td:last-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > thead > tr > td:last-child,
.panel > .panel-body > div > .table-bordered> tbody > tr > td:last-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > tbody > tr > td:last-child,
.panel > .panel-body > div > .table-bordered > tfoot > tr > td:last-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > tfoot > tr > td:last-child {
  border-right: 0;
}
.panel > .panel-body > .table-bordered > thead > tr:first-child > td,
.panel > .panel-body > .table-responsive > .table-bordered > thead > tr:first-child > td,
.panel > .panel-body > .table-bordered > tbody > tr:first-child > td,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr:first-child > td,
.panel > .panel-body > .table-bordered > thead > tr:first-child > th,
.panel > .panel-body > .table-responsive > .table-bordered > thead > tr:first-child > th,
.panel > .panel-body > .table-bordered > tbody > tr:first-child > th,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr:first-child > th,
.panel > .panel-body > div > .table-bordered > thead > tr:first-child > td,
.panel > .panel-body > .table-responsive > .div > .table-bordered > thead > tr:first-child > td,
.panel > .panel-body > div > .table-bordered > tbody > tr:first-child > td,
.panel > .panel-body > .table-responsive > div > .table-bordered > tbody > tr:first-child > td,
.panel > .panel-body > div > .table-bordered > thead > tr:first-child > th,
.panel > .panel-body > .table-responsive > div > .table-bordered > thead > tr:first-child > th,
.panel > .panel-body > div > .table-bordered > tbody > tr:first-child > th,
.panel > .panel-body > .table-responsive > div > .table-bordered > tbody > tr:first-child > th {
  border-bottom: 0;
}
.panel > .panel-body > .table-bordered > tbody > tr:last-child > td,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr:last-child > td,
.panel > .panel-body > .table-bordered > tfoot > tr:last-child > td,
.panel > .panel-body > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
.panel > .panel-body > .table-bordered > tbody > tr:last-child > th,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr:last-child > th,
.panel > .panel-body > .table-bordered > tfoot > tr:last-child > th,
.panel > .panel-body > .table-responsive > .table-bordered > tfoot > tr:last-child > th,
.panel > .panel-body > div > .table-bordered > tbody > tr:last-child > td,
.panel > .panel-body > .table-responsive > div > .table-bordered > tbody > tr:last-child > td,
.panel > .panel-body > div > .table-bordered > tfoot > tr:last-child > td,
.panel > .panel-body > .table-responsive > div > .table-bordered > tfoot > tr:last-child > td,
.panel > .panel-body > div > .table-bordered > tbody > tr:last-child > th,
.panel > .panel-body > .table-responsive > div > .table-bordered > tbody > tr:last-child > th,
.panel > .panel-body > div > .table-bordered > tfoot > tr:last-child > th,
.panel > .panel-body > .table-responsive > div > .table-bordered > tfoot > tr:last-child > th {
  border-bottom: 0;
}
.panel > .panel-body > .table-responsive {
  margin-bottom: 0;
  border: 0;
}

/* Standard Grid View Panel Table Support */
.panel > div > .table,
.panel > div > div > .table-responsive > .table,
.panel > div > div > .panel-collapse > .table {
    margin-bottom: 0;
}
.panel > div > .table caption,
.panel > div > .table-responsive > .table caption,
.panel > div > .panel-collapse > .table caption {
  padding-right: 15px;
  padding-left: 15px;
}
.panel > div > .table:first-child,
.panel > div > .table-responsive:first-child > .table:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel > div > .table:first-child > thead:first-child > tr:first-child,
.panel > div > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
.panel > div > .table:first-child > tbody:first-child > tr:first-child,
.panel > div > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel > div > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > div > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > div > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > div > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > div > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > div > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > div > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > div > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
  border-top-left-radius: 3px;
}
.panel > div > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > div > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > div > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > div > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > div > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > div > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > div > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > div > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
  border-top-right-radius: 3px;
}
.panel > div > .table:last-child,
.panel > div > .table-responsive:last-child > .table:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > div > .table:last-child > tbody:last-child > tr:last-child,
.panel > div > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
.panel > div > .table:last-child > tfoot:last-child > tr:last-child,
.panel > div > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > div > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > div > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > div > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > div > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > div > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > div > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > div > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > div > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
  border-bottom-left-radius: 3px;
}
.panel > div > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > div > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > div > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > div > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > div > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > div > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > div > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > div > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
  border-bottom-right-radius: 3px;
}
.panel > div > .panel-body + .table,
.panel > div > .panel-body + .table-responsive,
.panel > div > .table + .panel-body,
.panel > div > .table-responsive + .panel-body {
  border-top: 1px solid #ddd;
}
.panel > div > .table > tbody:first-child > tr:first-child th,
.panel > div > .table > tbody:first-child > tr:first-child td {
  border-top: 0;
}
.panel > div > .table-bordered,
.panel > div > .table-responsive > .table-bordered {
  border: 0;
}
.panel > div > .table-bordered > thead > tr > th:first-child,
.panel > div > .table-responsive > .table-bordered > thead > tr > th:first-child,
.panel > div > .table-bordered > tbody > tr > th:first-child,
.panel > div > .table-responsive > .table-bordered > tbody > tr > th:first-child,
.panel > div > .table-bordered > tfoot > tr > th:first-child,
.panel > div > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
.panel > div > .table-bordered > thead > tr > td:first-child,
.panel > div > .table-responsive > .table-bordered > thead > tr > td:first-child,
.panel > div > .table-bordered > tbody > tr > td:first-child,
.panel > div > .table-responsive > .table-bordered > tbody > tr > td:first-child,
.panel > div > .table-bordered > tfoot > tr > td:first-child,
.panel > div > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
  border-left: 0;
}
.panel > div > .table-bordered > thead > tr > th:last-child,
.panel > div > .table-responsive > .table-bordered > thead > tr > th:last-child,
.panel > div > .table-bordered > tbody > tr > th:last-child,
.panel > div > .table-responsive > .table-bordered > tbody > tr > th:last-child,
.panel > div > .table-bordered > tfoot > tr > th:last-child,
.panel > div > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
.panel > div > .table-bordered > thead > tr > td:last-child,
.panel > div > .table-responsive > .table-bordered > thead > tr > td:last-child,
.panel > div > .table-bordered > tbody > tr > td:last-child,
.panel > div > .table-responsive > .table-bordered > tbody > tr > td:last-child,
.panel > div > .table-bordered > tfoot > tr > td:last-child,
.panel > div > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
  border-right: 0;
}
.panel > div > .table-bordered > thead > tr:first-child > td,
.panel > div > .table-responsive > .table-bordered > thead > tr:first-child > td,
.panel > div > .table-bordered > tbody > tr:first-child > td,
.panel > div > .table-responsive > .table-bordered > tbody > tr:first-child > td,
.panel > div > .table-bordered > thead > tr:first-child > th,
.panel > div > .table-responsive > .table-bordered > thead > tr:first-child > th,
.panel > div > .table-bordered > tbody > tr:first-child > th,
.panel > div > .table-responsive > .table-bordered > tbody > tr:first-child > th {
  border-bottom: 0;
}
.panel > div > .table-bordered > tbody > tr:last-child > td,
.panel > div > .table-responsive > .table-bordered > tbody > tr:last-child > td,
.panel > div > .table-bordered > tfoot > tr:last-child > td,
.panel > div > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
.panel > div > .table-bordered > tbody > tr:last-child > th,
.panel > div > .table-responsive > .table-bordered > tbody > tr:last-child > th,
.panel > div > .table-bordered > tfoot > tr:last-child > th,
.panel > div > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
  border-bottom: 0;
}

/* Table Bordered Fix */
.table-bordered > thead > tr > th
{
    border-bottom:0px;
}

/* Asp.net Disabled Button */
.btn.aspNetDisabled {
  cursor: not-allowed;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
          box-shadow: none;
  opacity: .65;
}

a.btn.aspNetDisabled {
  pointer-events: none;
}

.btn-default.aspNetDisabled:hover,
.btn-default.aspNetDisabled:focus,
.btn-default.aspNetDisabled.focus {
    background-color: #fff;
    border-color: #ccc;
}

.btn-primary.aspNetDisabled:hover,
.btn-primary.aspNetDisabled:focus,
.btn-primary.aspNetDisabled.focus {
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-success.aspNetDisabled:hover,
.btn-success.aspNetDisabled:focus,
.btn-success.aspNetDisabled.focus {
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.btn-info.aspNetDisabled:hover,
.btn-info.aspNetDisabled:focus,
.btn-info.aspNetDisabled.focus {
    background-color: #5bc0de;
    border-color: #46b8da;
}

.btn-warning.aspNetDisabled:hover,
.btn-warning.aspNetDisabled:focus,
.btn-warning.aspNetDisabled.focus {
  background-color: #f0ad4e;
  border-color: #eea236;
}

.btn-danger.aspNetDisabled:hover,
.btn-danger.aspNetDisabled:focus,
.btn-danger.aspNetDisabled.focus {
  background-color: #d9534f;
  border-color: #d43f3a;
}

.dropdown-menu > .aspNetDisabled > a,
.dropdown-menu > .aspNetDisabled > a:hover,
.dropdown-menu > .aspNetDisabled > a:focus {
  color: #777;
}

.dropdown-menu > .aspNetDisabled > a:hover,
.dropdown-menu > .aspNetDisabled > a:focus {
  text-decoration: none;
  cursor: not-allowed;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.nav > li.aspNetDisabled > a {
  color: #777;
}

.nav > li.aspNetDisabled > a:hover,
.nav > li.aspNetDisabled > a:focus {
  color: #777;
  text-decoration: none;
  cursor: not-allowed;
  background-color: transparent;
}

.navbar-default .navbar-nav > .aspNetDisabled > a,
.navbar-default .navbar-nav > .aspNetDisabled > a:hover,
.navbar-default .navbar-nav > .aspNetDisabled > a:focus {
  color: #ccc;
  background-color: transparent;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > .aspNetDisabled > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .aspNetDisabled > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .aspNetDisabled > a:focus {
    color: #ccc;
    background-color: transparent;
  }
}

.navbar-inverse .navbar-nav > .aspNetDisabled > a,
.navbar-inverse .navbar-nav > .aspNetDisabled > a:hover,
.navbar-inverse .navbar-nav > .aspNetDisabled > a:focus {
  color: #444;
  background-color: transparent;
}

@media (max-width: 767px) {
  .navbar-inverse .navbar-nav .open .dropdown-menu > .aspNetDisabled > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .aspNetDisabled > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .aspNetDisabled > a:focus {
    color: #444;
    background-color: transparent;
  }
}

.pagination > .aspNetDisabled > span,
.pagination > .aspNetDisabled > span:hover,
.pagination > .aspNetDisabled > span:focus,
.pagination > .aspNetDisabled > a,
.pagination > .aspNetDisabled > a:hover,
.pagination > .aspNetDisabled > a:focus {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}

.pager .aspNetDisabled > a,
.pager .aspNetDisabled > a:hover,
.pager .aspNetDisabled > a:focus,
.pager .aspNetDisabled > span {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
}

.list-group-item.aspNetDisabled,
.list-group-item.aspNetDisabled:hover,
.list-group-item.aspNetDisabled:focus {
  color: #777;
  cursor: not-allowed;
  background-color: #eee;
}

.list-group-item.aspNetDisabled .list-group-item-heading,
.list-group-item.aspNetDisabled:hover .list-group-item-heading,
.list-group-item.aspNetDisabled:focus .list-group-item-heading {
  color: inherit;
}

.list-group-item.aspNetDisabled .list-group-item-text,
.list-group-item.aspNetDisabled:hover .list-group-item-text,
.list-group-item.aspNetDisabled:focus .list-group-item-text {
  color: #777;
}

/* Modal */
.modal-body > p:only-child{
    margin:0;
}