html {
    font-size: 0.9rem;
}

body {
    font-family: 'Helvetica', sans-serif;
}

main {
    padding-top:70px!important;
}

.table {
    margin-bottom: 0rem;
}

.table td, .table th {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.card>.table-responsive>.table-bordered, .card>.table-responsive>.table-bordered>thead>tr>th {
    border-top-width:0;
}

.card>.table-responsive>.table-bordered, .card>.table-responsive>.table-bordered>tbody>tr>td {
    border-bottom-width:0;
}

.card>.table-responsive>.table-bordered, .card>.table-responsive>.table-bordered>thead>tr>th:first-child, .card>.table-responsive>.table-bordered>tbody>tr>td:first-child {
    border-left-width:0;
}

.card>.table-responsive>.table-bordered>thead>tr>th {
    border-bottom-width:0;
}

.card>.table-responsive>.table-bordered, .card>.table-responsive>.table-bordered>thead>tr>th:last-child, .card>.table-responsive>.table-bordered>tbody>tr>td:last-child {
    border-right-width:0;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,.03);
 }

 /* Start of sort*/
.sort,
.sort-asc,
.sort-asc-disabled,
.sort-desc,
.sort-desc-disabled {
    cursor: pointer;
    position: relative
}

.sort:after,
.sort:before,
.sort-asc:after,
.sort-asc:before,
.sort-asc-disabled:after,
.sort-asc-disabled:before,
.sort-desc:after,
.sort-desc:before,
.sort-desc-disabled:after,
.sort-desc-disabled:before {
    position: absolute;
    bottom: .7em;
    display: block;
    opacity: .3
}

.sort:before,
.sort-asc:before,
.sort-asc-disabled:before,
.sort-desc:before,
.sort-desc-disabled:before {
    right: 5px;
    content: "\f0de";
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
    font-size: 1rem
}

.sort:after,
.sort-asc:after,
.sort-asc-disabled:after,
.sort-desc:after,
.sort-desc-disabled:after {
    content: "\f0dd";
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
    right: 5px;
    font-size: 1rem
}

.sort-asc:before,
.sort-desc:after {
    opacity: 1
}

.sort-asc-disabled:before,
.sort-desc-disabled:after {
    opacity: 0
}
/* End of sort*/

.footer {
    background-color: #f5f5f5;
}

.card-header {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
}

.card-body {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
}

.row {
    margin-left: -8px;
    margin-right: -8px;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-right: 8px;
    padding-left: 8px;
}

.custom-file-label {
    color:#6c757d;
    overflow:hidden;
}

.dropify-wrapper {
    border: 1px solid #ced4da;
    border-radius: .25rem;
    color:#6c757d;
}

.custom-dropify.is-invalid .dropify-wrapper {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: top calc(.375em + .1875rem) right calc(.375em + .1875rem);
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.dropify-wrapper:hover {
    -webkit-animation:none;
    animation:none;
}

.custom-dropify.is-invalid~.invalid-feedback, .custom-dropify.is-invalid~.invalid-feedback, .custom-control~.invalid-feedback, .custom-radio~.invalid-feedback, .custom-checkbox~.invalid-feedback, .custom-range~.invalid-feedback {
    display: block;
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
    cursor: pointer;
}

#spinner{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

@font-face {
    font-family: 'Font Awesome 5 Brands';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url("../fonts/fa-brands-400.eot");
    src: url("../fonts/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("../fonts/fa-brands-400.woff2") format("woff2"), url("../fonts/fa-brands-400.woff") format("woff"), url("../fonts/fa-brands-400.ttf") format("truetype"), url("../fonts/fa-brands-400.svg#fontawesome") format("svg"); 
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 400;
    font-display: auto;
    src: url("../fonts/fa-regular-400.eot");
    src: url("../fonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("../fonts/fa-regular-400.woff2") format("woff2"), url("../fonts/fa-regular-400.woff") format("woff"), url("../fonts/fa-regular-400.ttf") format("truetype"), url("../fonts/fa-regular-400.svg#fontawesome") format("svg"); 
}


@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-display: auto;
    src: url("../fonts/fa-solid-900.eot");
    src: url("../fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../fonts/fa-solid-900.woff2") format("woff2"), url("../fonts/fa-solid-900.woff") format("woff"), url("../fonts/fa-solid-900.ttf") format("truetype"), url("../fonts/fa-solid-900.svg#fontawesome") format("svg"); 
}

.custom-control-input.is-invalid~.custom-control-label, .was-validated .custom-control-input:invalid~.custom-control-label {
    color:#212529;
}

.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da;
}
.select2-container .select2-selection--single {
    height: calc(1.5em + .75rem + 2px);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + .75rem + 2px);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: calc(1.5em + .75rem + 2px);
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #ced4da;
}

.is-invalid + .select2-container--default .select2-selection--single, .is-invalid + .select2-container--default .select2-selection--multiple {
    border: 1px solid #dc3545;
}

.input-group-append-action {
    display:flex;
}

.input-group-action>.input-group> .input-group-append-action:last-of-type> .input-group-text {
    background-color: #ffffff;
    border: 0px;
}

.input-group-action>.input-group>.form-control:nth-last-child(2), .input-group-action>.input-group>.custom-select:nth-last-child(2), .input-group-action>.input-group>.input-group-append:not(:last-of-type)>.input-group-text {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

.input-group-action>.input-group:only-of-type>.input-group-append-action {
    display:none;
}

.input-group-action>.input-group:not(:first-of-type) {
    margin-top: .25rem!important;
}

.invalid-feedback {
    display: block;
}

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; color: #212529; }
.autocomplete-suggestion { padding: 2px 11px; white-space: nowrap; overflow: hidden; }
.autocomplete-no-suggestion { padding: 2px 11px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }

.btn.is-invalid {
    border-color: #dc3545;
}

.btn-group-toggle>.btn {
    margin-bottom: .3rem;
}

.pt-1-1, .py-1-1 {
    padding-top: .4rem!important;
}

.w-5 {
    width: 1rem;
}

.badge_active {
    padding: 2px 6px;
    border-radius: 50%;
    background: #00a79d;;
    color: white;
}

.badge_inactive {
      padding: 2px 6px;
      border-radius: 50%;
      background: #989898;
      color: white;
}

.menu_tab {
    flex-flow: nowrap;
}