.form-group,
.invalid-feedback {
    font-size: 1.0rem !important;
    font-weight: 430 !important;
}

/* .card .card-body {
    padding: 5px 15px 15px 15px !important;
} */

.card-header-custom {
    border-bottom: 1px solid #ddd !important;
    padding: 8px 15px 8px !important;
}

table.table-bordered.dataTable th:last-child,
table.table-bordered.dataTable th:last-child {
    border-right: 1px solid #dee2e6 !important;
}

.swal2-icon.swal2-info,
.swal2-icon.swal2-warning {
    font-size: 12px !important;
}

.select2-container .select2-selection--single {
    height: 38px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 35px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 7px !important;
}

.modal-header {
    padding: 10px !important;
    display: flex !important;
}

.modal-footer {
    padding-right: 10px !important;
}

.modal-body {
    padding: 10px 25px !important;
}

.search_and_filter_div {
    border: 1px dashed #ddd !important;
    padding: 5px;
}

.inline-button {
    display: inherit;
    margin-top: 22px;
    text-align: center;
}

.off-canvas-sidebar .logo a.logo-mini,
.sidebar .logo a.logo-mini {
    opacity: 1 !important;
}

.has-danger .input-group-append .input-group-text,
.has-danger .input-group-prepend .input-group-text {
    background-color: #fcfcfc !important;
    border-right: none !important;
}

.input-group.has-danger .form-control:focus {
    background-color: #fff !important;
    border: 1px solid #dc3545 !important;
    border-left: none !important;
}

.input-group.has-danger .input-group-prepend .input-group-text {
    border: 1px solid #dc3545 !important;
    border-right: none !important;
}

.has-danger .form-control {
    background-color: #fff !important;
    border: 1px solid #dc3545 !important;
    border-left: none !important;
    color: #dc3545 !important;
}

.custom-select.is-invalid:focus,
.form-control.is-invalid:focus,
.was-validated .custom-select:invalid:focus,
.was-validated .form-control:invalid:focus {
    border-color: #dc3545;
    box-shadow: none !important;
}

.form-group.has-danger .error,
.input-group.has-danger .error {
    color: #dc3545 !important;
}

@media (min-width: 375px) and (max-width: 575px) {
    .bootstrap-select {
        width: 100% !important;
    }
}
@media (min-width: 375px) and (max-width: 991px) {
    .logo{
        padding: 11px 0.7rem !important;
    }
    .logo-normal {
        padding: 0px 0 0px !important;
    }
}
@media (min-width: 992px) {
    .modal-lg {
        max-width: 990px !important;
    }

    .logo-normal {
        padding: 5px 0 5px !important;
    }
}
.error-message {
    color: #dc3545;
    font-size: 1.0rem !important;
    font-weight: 430 !important;
}

.success-message {
    color: #28a745;
    font-size: 1.0rem !important;
    font-weight: 430 !important;
}

.card label {
    color: #363636 !important;
    font-weight: 600;
}

.card-category {
    color: #363636 !important;
    font-weight: 550;
}

.custom-file-label {
    font-weight: 500 !important;
}

.modal-body .control-label {
    font-size: .8571em;
    margin-bottom: 5px;
    color: #363636 !important;
    font-weight: 600;
}
.dataTable > thead{
    white-space: nowrap !important;
}
.select2-selection__choice{
    width: min-content !important;
    padding-right: 20px !important;
}
.dataTable > tbody > tr.child{
    text-align: left;
}
/*.table-action{
    max-width: 100% !important;    
}
.table-action > a{
    width: 100%;    
}*/
.dataTable thead >tr >th.custom-table-action{
    width: 10%;    
}
.dataTable tbody >tr >td.custom-table-action >a{
    width: 100%;    
}
.dataTable tbody >tr >td.custom-table-action >button{
    width: 100%;    
}
.dataTable > tbody > tr.child > td.child ul {
    width: 100%;    
}
.dataTable > tbody > tr.child > td.child ul > li.custom-table-action > .dtr-data{
    display: inline-grid;
}
.validation_error {   
    color: #dc3545 !important;
    position:absolute !important;
}
.form-group.c-form-group {
    margin-bottom: 20px;
}
.dataTables_scrollHeadInner>.table>thead>tr>th {    
    text-transform: capitalize !important;    
}
.table>thead>tr>th { 
    text-transform: none !important; 
}

/* Keep uploaded logos fully visible inside their existing logo boxes. */
img[src*="/company_logo/"],
img[src*="company_logo/"],
img[src*="/kyc_url_logo/"],
img[src*="kyc_url_logo/"] {
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.company-logo-fit-wrap {
    width: 220px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
}

.company-logo-fit {
    width: auto;
    height: 52px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

@media (max-width: 991px) {
    .company-logo-fit-wrap {
        width: 190px;
        height: 56px;
    }
    .company-logo-fit {
        height: 46px;
    }
}
