body {
    font-family: 'Cairo', sans-serif;
    font-size: .9rem;
}
#example1_wrapper .dt-buttons {
    display: block;
}
select.form-control {
    padding: 0.1rem 0.75rem;
}
select.form-control-sm {
    padding: 0 .5rem;
}
div.dataTables_wrapper div.dataTables_length select {
    min-width: 60px;
}
hr.hr-sidebar {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #4f5962;
    margin: 5px 0;
    padding: 0;
    width: 100%;
}

.nav-header {
    font-size: 11px !important;
    padding: 5px 2px !important;
}
.nav-header::after {
    display: inline-block;
    content: "";
    border-top: 1px solid #4f5962;
    width: 100%;
    margin: 0 5px;
    transform: translateY(-0.12rem);
}

.rtl-to-ltr {
    direction: ltr !important;
}

.navbar-expand .navbar-nav .nav-link {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.alert-dismissible .close, .alert-dismissible .mailbox-attachment-close {
    padding: .55rem 1.25rem;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: inset 0 0 0 transparent;
}

.max-w-50 {
    max-width: 50px;
    width: 100%;
}
.max-w-100 {
    max-width: 100px;
    width: 100%;
}
.max-w-200 {
    max-width: 200px;
    width: 100%;
}
.max-w-300 {
    max-width: 300px;
    width: 100%;
}
.max-w-400 {
    max-width: 400px;
    width: 100%;
}
.max-w-500 {
    max-width: 500px;
    width: 100%;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 10px 0;
}
/*  metin kesme */
.truncate {
    max-width:200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.text-btn {
    cursor: pointer;
}
.dataTable .bootstrap-switch-container {
    height: 22px;
}
.dataTable .bootstrap-switch .bootstrap-switch-handle-off,
.dataTable .bootstrap-switch .bootstrap-switch-handle-on,
.dataTable .bootstrap-switch .bootstrap-switch-label {
    line-height: 0.94rem;
}
.dataTable .bootstrap-switch .bootstrap-switch-handle-on,
.dataTable .bootstrap-switch .bootstrap-switch-handle-off {
    font-size: 0.7rem;
}
.page-link {
    padding: 0.5rem 0.6rem;
    line-height: 0.9;
}

[class*=sidebar-dark-] select {
    background-color: #343a40 !important;
    color: #c2c7d0 !important;
}

@media screen and (max-width: 767px) {
    div.dataTables_wrapper div.dataTables_length{
        text-align: start;
    }
}
@media screen and (max-width: 575px) {
    div.dt-buttons {
        margin-bottom: 0.5em;
    }
    div.dataTables_wrapper div.dataTables_filter,
    div.dt-buttons,
    div.dataTables_wrapper div.dataTables_length,
    div.dataTables_wrapper div.dataTables_filter,
    div.dataTables_wrapper div.dataTables_info,
    div.dataTables_wrapper div.dataTables_paginate
    {
        text-align: start;
    }
    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: center !important;
    }
}

@media (min-width: 1200px) {
    .sidebar-collapse .dataTables_scrollHeadInner, .sidebar-collapse .dataTables_scrollHeadInner table.dataTable {
        width: 100% !important;
    }
}
