html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.cursor-pointer {
    cursor: pointer !important;
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}

/* BUTTON PRIMARY COLOR CHANGE */
.btn-primary {
    background-color: rgb(235, 28, 36) !important;
    border-color: rgb(235, 28, 36) !important;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: rgb(200, 20, 28) !important;
        border-color: rgb(200, 20, 28) !important;
    }

    .btn-primary:active,
    .btn-primary.active,
    .show > .btn-primary.dropdown-toggle {
        background-color: rgb(170, 15, 22) !important;
        border-color: rgb(170, 15, 22) !important;
    }

.btn-outline-primary {
    color: rgb(235, 28, 36) !important;
    border-color: rgb(235, 28, 36) !important;
}

    .btn-outline-primary:hover,
    .btn-outline-primary:focus {
        color: #fff !important;
        background-color: rgb(235, 28, 36) !important;
        border-color: rgb(235, 28, 36) !important;
    }

    .btn-outline-primary:active,
    .btn-outline-primary.active {
        color: #fff !important;
        background-color: rgb(170, 15, 22) !important;
        border-color: rgb(170, 15, 22) !important;
    }

.bg-primary {
    background-color: rgb(235, 28, 36) !important;
}

.text-primary {
    color: rgb(235, 28, 36) !important;
}

.border-primary {
    border-color: rgb(235, 28, 36) !important;
}

.navbar-nav .nav-item.active {
    background-color: rgb(235, 28, 36) !important;
}

    .navbar-nav .nav-item.active .nav-link {
        color: white !important;
    }

/* Custom sizing */
.btn-xs {
    padding: .3rem .3rem;
    font-size: .7rem;
    line-height: 1;
}

    .btn-xs i {
        font-size: .75rem;
    }

.table-compact > :not(caption) > * > * {
    padding-top: .2rem;
    padding-bottom: .2rem;
}

.table-compact .form-control {
    min-height: 24px;
    height: 24px;
    padding: .1rem .35rem;
    font-size: .875rem;
    line-height: 1.2;
}

    .table-compact .form-control:focus {
        min-height: 24px;
        height: 24px;
    }

.table-compact .form-check-input {
    width: .9rem;
    height: .9rem;
    margin-top: 0;
    vertical-align:middle;
}

.card-header {
    padding: .2rem 1rem !important;
}

.card-body {
    padding: 0.3rem 1rem 0.5rem 1rem !important;
}

.form-label {
    margin-bottom: .1rem !important;
}

/* DataTable */
/* DataTables pagination */
.dataTables_wrapper .pagination .page-link {
    color: rgb(235, 28, 36) !important;
}

    .dataTables_wrapper .pagination .page-link:hover {
        color: #fff !important;
        background-color: rgb(200, 20, 28) !important;
        border-color: rgb(200, 20, 28) !important;
    }

    .dataTables_wrapper .pagination .page-link:focus {
        box-shadow: 0 0 0 0.25rem rgba(235, 28, 36, 0.25) !important;
    }

/* Active page */
.dataTables_wrapper .pagination .page-item.active .page-link {
    background-color: rgb(235, 28, 36) !important;
    border-color: rgb(235, 28, 36) !important;
    color: #fff !important;
}

/* Disabled buttons */
.dataTables_wrapper .pagination .page-item.disabled .page-link {
    color: #6c757d !important;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff !important;
    background-color: #EB1C24 !important;
    border-color: #EB1C24 !important;
}

.page-link {
    color: #EB1C24 !important;
}

    .page-link:hover {
        color: #fff !important;
        background-color: #C8141C !important;
        border-color: #C8141C !important;
    }

    .page-link:focus {
        color: #fff !important;
        background-color: #EB1C24 !important;
        border-color: #EB1C24 !important;
        box-shadow: 0 0 0 .25rem rgba(235, 28, 36, .25) !important;
    }

/* Table row hover */
table.dataTable tbody tr:hover {
    background-color: rgba(235, 28, 36, 0.08) !important;
}

/* Sorting arrows */
table.dataTable thead > tr > th.sorting:hover,
table.dataTable thead > tr > th.sorting_asc,
table.dataTable thead > tr > th.sorting_desc {
    color: rgb(235, 28, 36) !important;
}

/* Search input focus */
.dataTables_wrapper .dataTables_filter input:focus {
    border-color: rgb(235, 28, 36) !important;
    box-shadow: 0 0 0 0.25rem rgba(235, 28, 36, 0.25) !important;
}

/* Length dropdown focus */
.dataTables_wrapper .dataTables_length select:focus {
    border-color: rgb(235, 28, 36) !important;
    box-shadow: 0 0 0 0.25rem rgba(235, 28, 36, 0.25) !important;
}

/* Processing indicator */
.dataTables_wrapper .dataTables_processing {
    background-color: rgba(235, 28, 36, 0.15) !important;
    color: rgb(235, 28, 36) !important;
}

/* Notifications */
.notification-container {
    position: absolute;
    right: 20px;
    top: 70px;
    width: 440px;
    z-index: 1000;
    overflow: hidden;
}

    .notification-container .list-group {
        max-height: 400px;
        overflow-y: auto;
    }

.bg-light-primary {
    background-color: #d7e6f5;
}

.notification-bell {
    position: relative;
    cursor: pointer;
    font-size: 25px;
    margin-right: 20px;
}

.notification-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: red;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    padding: 2px 6px;
}}