label {
    margin-bottom: 10px;
}

button {
    cursor: pointer;
}

.m-t-21 {
    margin-top: 31px;
}

.form-control-date {
    position: relative;
    z-index: 0;
}

.form-control-date input {
    padding-right: 30px;
    background: transparent;
}

.form-control-date i {
    position: absolute;
    z-index: -1;
    top: 10px;
    left: auto;
    right: 9px;
    font-size: 18px;
    cursor: pointer;
}

.black select option {
    background-color: rgba(64, 65, 80, 1);
    color: #fff;
}

@media (min-width: 992px){
    .app-header {
        display: none;
    }
}

.navside .nav li.b-b{
    border-bottom: 1px solid rgba(120, 130, 140, 0.13) !important;
}

/*CUSTOM INPUT TYPE FILE*/
.inf__drop-area * {
    box-sizing: border-box;
}

.inf__drop-area {
    position: relative;
    display: flex;
    align-items: center;
    height: 65px;
    width: 100%;
    max-width: 100%;
    border: 1px dashed #c4c4c4;
    border-radius: 3px;
    padding: 0 20px;
    transition: 0.2s;
}

.inf__drop-area.is-active {
    background-color: rgba(0, 20, 20, 0.03);
}

.inf__btn.btn-success {
    background-color: #6887ff;
    background-color: #6887ff;
}

input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    cursor: pointer;
}

input[type="file"]:focus {
    outline: none;
}

.inf__btn {
    display: inline-block;
    border: 1px solid #c4c4c4;
    border-radius: 3px;
    padding: 5px 12px;
    margin-right: 10px;
    font-size: 10px;
    text-transform: uppercase;
}

.inf__hint {
    flex: 1;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: none;
    opacity: 0;
}

.form-inline-m .form-group:not(:last-child) {
    margin-right: 10px;
}

.form-inline .inf__drop-area {
    width: auto;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table-bordered.table > thead > tr > th,
.table-bordered.table>tbody>tr>td,
.table-bordered.table>tbody>tr>th,
.table-bordered.table>tfoot>tr>td,
.table-bordered.table>tfoot>tr>th {
    border-color: rgba(49, 49, 49, 0.3);
}

.table-bordered.table thead th {
    border-bottom: none;
}

#modal_process .modal-header {
    border-color: rgba(120, 130, 140, 0.9);
}

.modal-body-border {
    border-right: 1px solid rgba(120, 130, 140, 0.9);
}

.modal-body-hr {
    padding-left: 53px;
}

nav.scroll.nav-light {
    margin-bottom: 20px;
    max-height: 100%;
}

.hide-scroll + .b-t {
    border-top: 1px solid rgba(120, 130, 140, 0.6);
}

.custom_data {
    min-height: 300px;
}

.form-control-search {
    padding: 4px 10px;
}


@media (min-width: 992px){
    .view_lg {
        display: none;
    }

    .no_view_lg {
        display: block;
    }
}

@media (max-width: 991.98px){
    .no_view_lg {
        display: none;
    }

    .view_lg {
        display: block;
    }
}

#user-invoice,
#user-document {
    display: none;
}

.box_height {
    min-height: 396px;
}

@media (max-width: 991.98px){
    .box_height {
        min-height: auto;
    }
}

.select2-container--default .select2-selection--single {
    border: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    border-color: rgba(120, 130, 140, 0.2);
    border-radius: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    display: block;
    width: 100%;
    padding: .5rem .75rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #464a4c;
    background-color: #fff;
    background-image: none;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    /*border-radius: .25rem;*/
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
}

.select2-container .select2-selection--single {
    height: auto;
}

.opacity {
    opacity: 1;
}
/*.select2-container,*/
.black  .select2-container {
    width: 100%!important;
}

.black .select2-container--default .select2-selection--single,
.black .select2-container--default .select2-selection--single .select2-selection__rendered {
    background-color: rgba(255, 255, 255, 0.1)!important;
    color: #fff;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.merch-box {
    display: none;
}

.box_height {
    height: 100%;
}

.row_box {
    margin-bottom: 1.5rem;
}

.navside .nav li.active > a ,
.navside .nav li.active {
    background-color: rgba(0, 0, 0, 0.2);
}

.mll-5 {
    margin-left: -5px;
}

.hr {
    border-color: rgba(120, 130, 140, 0.13);
    margin-left: -15px;
    margin-right: -15px;
}

.box-header,
.box-body {
    padding: 1.5rem;
}

.modal-content.black {
    padding: 12px;
}

.dataTables_filter {
    display: none;
}

.invoice_modal_table table {
    border-collapse: separate;
}


/*
* NEW STYLE
* -----------
*/
table.dataTable {
    border-collapse: collapse !important;
}

table.table-bordered.dataTable tbody th, 
table.table-bordered.dataTable tbody td {
    border-bottom-width: 1px;
}

table.table-bordered.dataTable th, table.table-bordered.dataTable td {
    border-left-width: 1px;
}

table.table-bordered.dataTable th:last-child, 
table.table-bordered.dataTable th:last-child, 
table.table-bordered.dataTable td:last-child, 
table.table-bordered.dataTable td:last-child {
    border-right-width: 1px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 38px;
}

#clear_filters {
    color:#fff;
}

@media (max-width: 540px){
    .box-header h2 {
        margin-bottom: 15px;
    }
}

@media (max-width: 991px) {
    .app-content {
        padding-top: 35px;
    }

    .row_box {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .row [class*="col-"] {
        padding-left: 12px;
        padding-right: 12px;
    }

    .form-group .btn {
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .h-100 {
        height:auto!important;
    }
}
   
@media (max-width: 991px) {
    .row [class*="col-"] {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* .hide-scroll {
    overflow-y: scroll;
    overflow-x: hidden;
    margin: 0;
} */
.is-valid,
.is-invalid {
    position: relative;
    z-index: 0;
}

.is-valid:after,
.is-invalid:after {
    position: absolute;
    z-index: 0;
    right: 7px;
    top: 4px;
    left: auto;
    font-size: 22px;
    font-weight: bold;
}

.is-valid:after {
    content: '✔';
    color: #0cc2aa;
}

.is-invalid:after {
    content: '−';
    color: #f44455;
}

.is-valid input,
.is-invalid input {
    padding-right: 15px;
}


table tr > th,
table.dataTable thead>tr>th.sorting_asc, 
table.dataTable thead>tr>th.sorting_desc {
    white-space: nowrap;
}

table.table-hover thead tr:first-child:hover,
.table-hover tr:hover, .table tr.active, .table td.active, .table th.active,
.form-control:disabled, 
.form-control[readonly] {
    background-color: transparent !important;
}

.table-hover tr:nth-child(odd):hover {
    background-color: rgba(0, 0, 0, 0.025)!important;
}

.navbar-brand img, .navbar-brand svg {
    max-height: 58px;
}

.mCustomScrollbar,
.mCustomScrollbar.mCS_touch_action,
.mCustomScrollbar.mCS_touch_action .mCS-aviva.mCSB_scrollTools {
	-ms-touch-action: auto;
	touch-action: auto;
}
.mCustomScrollBox {
	-ms-touch-action: pan-x pinch-zoom;
	touch-action: pan-x pinch-zoom;
}
.mCustomScrollBox.mCSB_vertical_horizontal {
	-ms-touch-action: pinch-zoom;
	touch-action: pinch-zoom;
}
.mCustomScrollBox.mCSB_horizontal {
	-ms-touch-action: pan-y pinch-zoom;
	touch-action: pan-y pinch-zoom;
}

.box .box-header {
    padding-bottom: 1rem;
}

.box .box-header + .box-body {
    padding-top: 0;
}

.nav {
    position: relative;
    z-index: 0;
}

.nav-sub {
    max-height: 50rem;
}

.nav-sub .nav-icon {
    margin-right: 0;
}

.modal-dialog {
    display: -ms-flexbox;
    display: flex;
    max-height: calc(100% - 1rem);
}

.modal-dialog .modal-content {
    max-height: calc(100vh - 1rem);
    overflow: hidden;
}

.modal-dialog .modal-footer, 
.modal-dialog .modal-header {
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.modal-dialog .modal-body {
    overflow-y: auto;
}

#pay_currencies_table tr td:first-child {
    text-align: left;
}

@media (max-width: 567.98px) {
    #pay_currencies_table_wrapper .pagination  {
        float: left;
    }
}

#pay_currencies_table_wrapper .dataTables_info {
    padding-top: 30px;
}

.dataTables_length {
    margin-bottom: 10px;
}

.dataTables_length select {
    height: 32px;
}

.dataTables_paginate {
    padding-top: 20px;
}

.dataTables_info {
    padding-top: 30px;
}

.dataTables_paginate  .pagination {
    float: right;
}

@media (max-width: 567.98px) {
    .dataTables_paginate  .pagination {
        float: left;
    }
}

#ex_transactions_table td {
    white-space: nowrap;
}

#ex_transactions_table button:not(:last-child) {
    margin-right: 10px;
}

.dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 50%;
    left: calc(50% - 70px);
    width: 140px;
    text-align: center;
    padding: 10px 0;
    background: #0cc2aa;
    color: #fff;
    -webkit-box-shadow: 0 0 3px 0 #999;
    box-shadow: 0 0 3px 0 #999;
}

table.dataTable span.highlight {
    background-color: #ffff88;
}

.select2.select2-container {
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.select2.select2-container--open {
    box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 2px;
}