/* =============================================================================
   InvoicePlane
   Custom Stylesheet

   All changes made in this file will override the default styles.
   ========================================================================== */

.navbar-blue {
background-color: #3498db;
border-color: #2980b9;
}

.navbar-blue .navbar-nav > li > a {
    color: #ecf0f1;
}

.navbar-green {
background-color: #0c7d28;
border-color: #053b12;
}

.navbar-green .navbar-nav > li > a {
    color: #ecf0f1;
}

.navbar-red {
background-color: #e6091c;
border-color: #7a050f;
}

.navbar-red .navbar-nav > li > a {
    color: #ecf0f1;
}

.nav>li>a:hover, .nav>li>a:focus {
    text-decoration: none;
    color: #c7c7c7;
}

.nav>li>a:hover, .nav>li>a:focus {
    text-decoration: none;
    background-color: #3498db;
}

.nav .open>a, .nav .open>a:hover, .nav .open>a:focus {
    background-color: #268bbb;
    border-color: #2C8EDD;
}

@media (max-width: 767px) {
  .table-responsive .dropdown-menu {
    position: relative; /* Sometimes needs !important */
  }
}

@media screen and (max-width: 1200px) {
	.table-responsive-custom {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd
    }
    
    .table-responsive-custom>.table {
        margin-bottom: 0
    }
    
    .table-responsive-custom>.table>thead>tr>th,
    .table-responsive-custom>.table>thead>tr>td,
    .table-responsive-custom>.table>tbody>tr>th,
    .table-responsive-custom>.table>tbody>tr>td,
    .table-responsive-custom>.table>tfoot>tr>th,
    .table-responsive-custom>.table>tfoot>tr>td {
        white-space: nowrap
    }
    
    .table-responsive-custom>.table-bordered {
        border: 0
    }
    
    .table-responsive-custom>.table-bordered>thead>tr>th:first-child,
    .table-responsive-custom>.table-bordered>thead>tr>td:first-child,
    .table-responsive-custom>.table-bordered>tbody>tr>th:first-child,
    .table-responsive-custom>.table-bordered>tbody>tr>td:first-child,
    .table-responsive-custom>.table-bordered>tfoot>tr>th:first-child,
    .table-responsive-custom>.table-bordered>tfoot>tr>td:first-child {
        border-left: 0
    }
    
    .table-responsive-custom>.table-bordered>thead>tr>th:last-child,
    .table-responsive-custom>.table-bordered>thead>tr>td:last-child,
    .table-responsive-custom>.table-bordered>tbody>tr>th:last-child,
    .table-responsive-custom>.table-bordered>tbody>tr>td:last-child,
    .table-responsive-custom>.table-bordered>tfoot>tr>th:last-child,
    .table-responsive-custom>.table-bordered>tfoot>tr>td:last-child {
        border-right: 0
    }
    
    .table-responsive-custom>.table-bordered>tbody>tr:last-child>th,
    .table-responsive-custom>.table-bordered>tbody>tr:last-child>td,
    .table-responsive-custom>.table-bordered>tfoot>tr:last-child>th,
    .table-responsive-custom>.table-bordered>tfoot>tr:last-child>td {
        border-bottom: 0
    }

    .table-responsive-custom,
    div.table-content #filter_results,
    div.table-content .table-responsive{
        min-height:300px;overflow-x:inherit
    }
}

.tablesorter-headerAsc .tablesorter-header-inner::before {
    content: "â­¡ ";
    color: #696969;
    font: bold;
}

.tablesorter-headerDesc .tablesorter-header-inner::before {
    content: "â­£ ";
    color: #696969;
    font: bold;
}

.tablesorter-headerUnSorted .tablesorter-header-inner::before {
    content: "â® ";
    color: #696969;
    font: bold;
}

.table-fixed tbody {
    display: inline-block;
    height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

.table-fixed thead, .table-fixed tbody tr {
    display: table;
    width: 100%;
    min-width: 800px;
    table-layout: fixed;
}

.table-fixed thead {
    width: calc( 100% - 1.2em )
}

.group-input{
    display: flex;
    justify-content: space-between; 
}

.group-input .form-group{
    width: 70%;
    margin: 0px 5px 
}

.required::after {
  content: " *";
  font-weight: bold;
  color: red;
}

.m-0 {
    margin: 0!important;
}

.m-1 {
    margin: .25rem!important;
}

.m-2 {
    margin: .5rem!important;
}

.m-3 {
    margin: 1rem!important;
}

.m-4 {
    margin: 1.5rem!important;
}

.m-5 {
    margin: 3rem!important;
}

.mr-0 {
    margin-right: 0!important;
}

.mt-2 {
    margin-top: .5rem!important;
}

.p-0 {
    padding: 0!important;
}

.p-1 {
    padding: .25rem!important;
}

.p-2 {
    padding: .5rem!important;
}

.p-3 {
    padding: 1rem!important;
}

.p-4 {
    padding: 1.5rem!important;
}

.p-5 {
    padding: 3rem!important;
}

.table-borderless>tbody>tr>td, .table-borderless>tbody>tr>th, .table-borderless>tfoot>tr>td, .table-borderless>tfoot>tr>th, .table-borderless>thead>tr>td, .table-borderless>thead>tr>th {
    border: 0;
}

.text-center {
    text-align: center;   
 }

 .w-100 {
    width: 100%!important;
}

.d-flex {
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
}

.justify-content-between {
    -webkit-box-pack: justify!important;
    -ms-flex-pack: justify!important;
    justify-content: space-between!important;
}

.justify-content-end {
    -webkit-box-pack: end!important;
    -ms-flex-pack: end!important;
    justify-content: flex-end!important;
}

.align-items-center {
    -webkit-box-align: center!important;
    -ms-flex-align: center!important;
    align-items: center!important;
}

.border {
    border: 1px solid #dee2e6!important;
}

.border-danger {
    border-color: #dc3545!important;
}


@media screen and (min-height: 400px) and (max-height: 600px)  {
    .table-fixed tbody {
        height: 120px;
    }
    .space{
        display: flex;
        flex-flow: column wrap;
        justify-content: space-between
    }
}

@media screen and (min-height: 600px) and (max-height: 700px)  {
    .table-fixed tbody {
        height: 200px;
    }
    .space{
        margin: 5.8rem 0
    }
    
}

@media screen and (min-height: 700px) and (max-height: 1000px)  {
    .table-fixed tbody {
        height: 350px;
    }
    .space{
        margin: 5.8rem 0
    }
}

@media screen and (min-height: 1000px) and (max-height: 2000px)  {
    .table-fixed tbody {
        height: 500px;
    }
}