/** Django-related improvements to AdminLTE UI **/

div.inline-related {
    padding: 10px;
}

.form-row {
    padding: 5px;
}

.help-block ul {
    margin: 10px 0 0 15px;
    padding: 0;
}


/** Fix bug of adminLTE, since django is using th headers in middle of table **/
.card-body.p-0 .table thead>tr>th:first-of-type,
.card-body.p-0 .table thead>tr>td:first-of-type,
.card-body.p-0 .table tfoot>tr>th:first-of-type,
.card-body.p-0 .table tfoot>tr>td:first-of-type,
.card-body.p-0 .table tbody>tr>th:first-of-type,
.card-body.p-0 .table tbody>tr>td:first-of-type {
    padding-left: 0.75rem;
}

.card-body.p-0 .table thead>tr>th:last-of-type,
.card-body.p-0 .table thead>tr>td:last-of-type,
.card-body.p-0 .table tfoot>tr>th:last-of-type,
.card-body.p-0 .table tfoot>tr>td:last-of-type,
.card-body.p-0 .table tbody>tr>th:last-of-type,
.card-body.p-0 .table tbody>tr>td:last-of-type {
    padding-right: 0.75rem;
}

.card-body.p-0 .table thead>tr>th:first-child,
.card-body.p-0 .table thead>tr>td:first-child,
.card-body.p-0 .table tfoot>tr>th:first-child,
.card-body.p-0 .table tfoot>tr>td:first-child,
.card-body.p-0 .table tbody>tr>th:first-child,
.card-body.p-0 .table tbody>tr>td:first-child {
    padding-left: 1.5rem;
}

.card-body.p-0 .table thead>tr>th:last-child,
.card-body.p-0 .table thead>tr>td:last-child,
.card-body.p-0 .table tfoot>tr>th:last-child,
.card-body.p-0 .table tfoot>tr>td:last-child,
.card-body.p-0 .table tbody>tr>th:last-child,
.card-body.p-0 .table tbody>tr>td:last-child {
    padding-right: 1.5rem;
}

.main-sidebar {
    /* background-color: #fff; */
    box-shadow: none !important;
}

[class*=sidebar-dark-] .nav-header {
    /* color: #53545C; */
    margin-top: 1rem;
}

/* .main-sidebar .nav-item:hover a {
    color: #5570F1 !important;
}

.main-sidebar .nav-item:hover .nav-link.active {
    color: #fff !important;
} */

/* Table styles */
.table tr.form-row {
    display: table-row;
}

.table td.action-checkbox {
    width: 45px;
}

.table thead th {
    color: #64748b;
    border-bottom: 0;
}

.empty-form {
    display: none !important;
}

.inline-related .tabular {
    background-color: white;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

td.djn-td,
th.djn-th {
    padding: 10px;
}

td.delete input {
    margin: 10px;
}

tr.djn-tr>.original {
    padding-left: 20px;
}

.hidden {
    display: none;
}

/* Checkbox selection table header */
.djn-checkbox-select-all {
    padding-right: 0 !important;
    width: 0;
}

.object-tools {
    padding: 0;
}

.object-tools li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.object-tools .historylink {
    background-color: #3c8dbc;
    width: 100%;
    display: block;
    padding: 5px;
    text-align: center;
    color: white;
}

.jazzmin-avatar {
    font-size: 20px;
}

.related-widget-wrapper-link {
    padding: 7px;
}

.related-widget-wrapper select {
    width: initial;
    /* Setting a width will make the *-related btns overflow */
    height: auto;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* .tab-pane {
    overflow-x: auto;
} */

table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::after,
table.dataTable thead .sorting_desc::after,
table.dataTable thead .sorting_asc_disabled::after,
table.dataTable thead .sorting_desc_disabled::after {
    right: 0.5em;
    content: "\2193";
}

.select2-container {
    min-width: 200px;
}

.select2-container .select2-selection--single {
    border: 1px solid #ced4da !important;
    min-height: 38px;
    /* Center text inside */
    display: flex !important;
    align-items: center;
}

.select2-container--default .select2-selection--single {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    border: 0px !important;
}

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

.select2-results__option {
    color: black;
}

#changelist-search .form-group {
    margin-bottom: .5em;
    margin-right: .5em;
}

.table tbody tr th {
    padding-left: .75rem;
}

.user-profile {
    font-size: 2.4em;
}

.date-hierarchy {
    margin-right: 8px;
    display: block;
}

/* APP.CSS */

.form-group div .vTextField,
.form-group div .vLargeTextField,
.form-group div .vURLField,
.form-group div .vBigIntegerField,
.form-group div input[type="text"] {
    display: block;
    width: 100%;
}

.vTextField,
.vLargeTextField,
.vURLField,
.vIntegerField,
.vBigIntegerField,
.vForeignKeyRawIdAdminField,
.vDateField,
.vTimeField,
input[type="number"],
input[type="text"] {
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.vDateField,
.vTimeField {
    margin-bottom: 5px;
    display: inline-block;
}

.vLargeTextField {
    height: auto;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
}

.date-icon:before,
.clock-icon:before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome !important;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    content: "\f073";
}

.clock-icon:before {
    content: "\f017";
}

/* CALENDARS & CLOCKS */

.calendarbox,
.clockbox {
    margin: 5px auto;
    font-size: 12px;
    width: 19em;
    text-align: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

.clockbox {
    width: auto;
}

.calendar {
    margin: 0;
    padding: 0;
}

.calendar table {
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    background: white;
    width: 100%;
}

.calendar caption,
.calendarbox h2,
.clockbox h2 {
    margin: 0;
    text-align: center;
    border-top: none;
    background: #f5dd5d;
    font-weight: 700;
    font-size: 12px;
    color: #333;
}

.clockbox h2 {
    font-size: 16px;
    padding: 5px;
}

.calendar th {
    padding: 8px 5px;
    background: #f8f8f8;
    border-bottom: 1px solid #ddd;
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    color: #666;
}

.calendar td {
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    padding: 0;
    border-top: 1px solid #eee;
    border-bottom: none;
}

.calendar td.selected a {
    background: #3C8DBC;
    color: #fff !important;
}

.calendar td.nonday {
    background: #f8f8f8;
}

.calendar td.today a {
    font-weight: 700;
}

.calendar td a,
.timelist a {
    display: block;
    font-weight: 400;
    padding: 6px;
    text-decoration: none;
    color: #444;
}

.calendar td a:focus,
.timelist a:focus,
.calendar td a:hover,
.timelist a:hover {
    background: #3C8DBC;
    color: white;
}

.calendar td a:active,
.timelist a:active {
    background: #3C8DBC;
    color: white;
}

.calendarnav {
    font-size: 10px;
    text-align: center;
    color: #ccc;
    margin: 0;
    padding: 1px 3px;
}

.calendarnav a:link,
#calendarnav a:visited,
#calendarnav a:focus,
#calendarnav a:hover {
    color: #999;
}

.calendar-shortcuts {
    background: white;
    font-size: 11px;
    line-height: 11px;
    border-top: 1px solid #eee;
    padding: 8px 0;
    color: #ccc;
}

.calendarbox .calendarnav-previous,
.calendarbox .calendarnav-next {
    display: block;
    position: absolute;
    top: 8px;
    width: 15px;
    height: 15px;
    text-indent: -9999px;
    padding: 0;
}

.calendarnav-previous {
    left: 10px;
    background: url(../img/calendar-icons.svg) 0 0 no-repeat;
}

.calendarbox .calendarnav-previous:focus,
.calendarbox .calendarnav-previous:hover {
    background-position: 0 -15px;
}

.calendarnav-next {
    right: 10px;
    background: url(../img/calendar-icons.svg) 0 -30px no-repeat;
}

.calendarbox .calendarnav-next:focus,
.calendarbox .calendarnav-next:hover {
    background-position: 0 -45px;
}

.calendar-cancel {
    margin: 0;
    padding: 4px 0;
    font-size: 12px;
    background: #eee;
    border-top: 1px solid #ddd;
    color: #333;
}

.calendar-cancel:focus,
.calendar-cancel:hover {
    background: #ddd;
}

.calendar-cancel a {
    color: black;
    display: block;
}

/* Selectors - This needs some work TODO */

.selector {
    width: 100%;
    float: left;
}

.selector select {
    width: 100%;
    height: 15em;
}

.selector-available,
.selector-chosen {
    float: left;
    width: 48%;
    text-align: center;
    margin-bottom: 5px;
}

.selector-available h2,
.selector-chosen h2 {
    border: 1px solid #ccc;
    font-size: 16px;
    padding: 5px;
}

.selector-chosen h2 {
    background: #007bff;
    color: #fff;
}

.selector .selector-available h2 {
    background: #f8f8f8;
    color: #666;
}

.selector .selector-filter {
    background: white;
    border: 1px solid #ccc;
    padding: 8px;
    color: #999;
    font-size: 10px;
    margin: 0;
    text-align: left;
}

.selector-filter input {
    height: 24px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    margin-left: 0 !important;
}

.selector .selector-filter label,
.inline-group .aligned .selector .selector-filter label {
    float: left;
    margin: 0;
    width: 18px;
    height: 18px;
    padding: 0;
    overflow: hidden;
    line-height: 1;
}

/* Might need to import more rules from:
 * https://github.com/django/django/blob/master/django/contrib/admin/static/admin/css/responsive.css
 */
.inline-group {
    overflow: auto;
}

.selector .selector-available input {
    width: 100%;
    margin-left: 8px;
}

.selector ul.selector-chooser {
    float: left;
    width: 4%;
    background-color: #eee;
    border-radius: 10px;
    margin: 10em 0 0;
    padding: 0;
}

.selector-chooser li {
    margin: 0;
    padding: 3px;
    list-style-type: none;
}

.selector select {
    padding: 0 10px;
    margin: 0 0 10px;
    /*border-radius: 0 0 4px 4px;*/
    ;
}

.selector-add,
.selector-remove {
    height: 16px;
    display: block;
    text-indent: -3000px;
    overflow: hidden;
    cursor: default;
    opacity: 0.3;
}

.active.selector-add,
.active.selector-remove {
    opacity: 1;
}

.active.selector-add:hover,
.active.selector-remove:hover {
    cursor: pointer;
}

.selector-add {
    background: url(../img/selector-icons.svg) 0 -96px no-repeat;
}

.active.selector-add:focus,
.active.selector-add:hover {
    background-position: 0 -112px;
}

.selector-remove {
    background: url(../img/selector-icons.svg) 0 -64px no-repeat;
}

.active.selector-remove:focus,
.active.selector-remove:hover {
    background-position: 0 -80px;
}

a.selector-chooseall,
a.selector-clearall {
    display: inline-block;
    height: 16px;
    text-align: left;
    margin: 1px auto 3px;
    overflow: hidden;
    font-weight: bold;
    line-height: 16px;
    color: #666;
    text-decoration: none;
    opacity: 0.3;
}

a.active.selector-chooseall:focus,
a.active.selector-clearall:focus,
a.active.selector-chooseall:hover,
a.active.selector-clearall:hover {
    color: #447e9b;
}

a.active.selector-chooseall,
a.active.selector-clearall {
    opacity: 1;
}

a.active.selector-chooseall:hover,
a.active.selector-clearall:hover {
    cursor: pointer;
}

a.selector-chooseall {
    padding: 0 18px 0 0;
    background: url(../img/selector-icons.svg) right -160px no-repeat;
    cursor: default;
}

a.active.selector-chooseall:focus,
a.active.selector-chooseall:hover {
    background-position: 100% -176px;
}

a.selector-clearall {
    padding: 0 0 0 18px;
    background: url(../img/selector-icons.svg) 0 -128px no-repeat;
    cursor: default;
}

a.active.selector-clearall:focus,
a.active.selector-clearall:hover {
    background-position: 0 -144px;
}

.selector .search-label-icon {
    height: 0;
}

#user_form input[type="password"] {
    width: 100%;
}

.control-label {
    margin-top: 7px;
}

.help-block,
.timezonewarning {
    font-size: .8em;
    color: #859099;
    font-style: italic;
}

.dashboard tbody tr:first-child td {
    border-top: none;
}

.vTimeField {
    margin-top: 10px;
}

.vTimeField,
.vDateField {
    min-width: 200px;
}

.date-icon::before,
.clock-icon::before {
    font-family: "Font Awesome 5 Free" !important;
}

.timelist li {
    list-style-type: none;
}

.timelist {
    margin: 0;
    padding: 0;
}

body.no-sidebar .content-wrapper,
body.no-sidebar .main-footer,
body.no-sidebar .main-header {
    margin-left: 0;
}

.vCheckboxLabel.inline {
    vertical-align: top;
    color: red;
    margin-bottom: 0;
}

.inline-related .card-header>span {
    float: right;
}

.ui-customiser .menu-items div {
    width: 40px;
    height: 20px;
    border-radius: 25px;
    margin-right: 10px;
    margin-bottom: 10px;
    opacity: 0.8;
    cursor: pointer;
}

.ui-customiser select {
    width: 100%;
    height: auto;
    padding: 6px 2px;
}

.control-sidebar-content label {
    vertical-align: top;
}

.ui-customiser .menu-items div.inactive {
    opacity: 0.3;
}

.ui-customiser .menu-items div.active {
    opacity: 1;
    border: 1px solid white;
}

.timeline-item {
    word-break: break-word;
}

.navbar-nav .brand-link {
    padding-top: 3px;
}

.breadcrumb {
    background-color: transparent !important;
    margin-bottom: auto !important;
    margin-top: auto;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "\203A";
}

.login-box,
.register-box {
    width: 500px;
    max-width: 100%;
    background-color: #252525;
    border-radius: 10px;
    padding-top: 10px;
}

.login-box .btn-primary,
.login-box .btn-primary:active {
    color: #fff;
    background-color: #343a40 !important;
    border-color: #343a40 !important;
    box-shadow: none;
}

.login-box .input-group-append .input-group-text {
    background-color: transparent;
    border-color: transparent;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

#jazzy-collapsible .collapsible-header:hover {
    background: #007bff;
    color: white;
}

#jazzy-collapsible .collapsible-header {
    cursor: pointer;
}

#jazzy-carousel .carousel-indicators li {
    background-color: #007bfe;
}

#jazzy-carousel .carousel-indicators {
    position: initial;
}

form ul.radiolist li {
    list-style-type: none;
}

form ul.radiolist label {
    float: none;
    display: inline;
}

form ul.radiolist input[type="radio"] {
    margin: -2px 4px 0 0;
    padding: 0;
}

form ul.inline {
    margin-left: 0;
    padding: 0;
}

form ul.inline li {
    float: left;
    padding-right: 7px;
}

.content-wrapper>.content {
    padding: 1rem 2rem;
}

.navbar {
    padding: .5rem 2rem;
}

.main-footer {
    color: #869099;
    padding: 1rem 2rem;
    font-size: 14px;
}

.page-actions>a {
    margin-right: 0.25rem;
    margin-left: 0.25rem;
}

#jazzy-actions.sticky-top {
    top: 10px;
}

body.layout-navbar-fixed #jazzy-actions.sticky-top {
    top: 67px;
}

/* stacked inlines */
a.inline-deletelink:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

a.inline-deletelink {
    float: right;
    padding: 3px 5px;
    margin: 10px;
    background-color: #dc3545;
    border-radius: .25rem;
    color: white !important;
    border: 1px solid #dc3545;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* end stacked inlines */

/* Support for django-mptt */
#result_list .field-tree_actions {
    width: calc(40px + 2.25rem);
}

#result_list .field-tree_actions>div {
    margin-top: 0;
}

/* End support for django-mptt */

/* modal tweaks */
.modal.modal-wide .modal-dialog {
    width: 50%;
    max-width: inherit;
}

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

iframe.related-iframe {
    width: 100%;
    height: 450px;
}

/* Blur background when using modal */
.modal-open .wrapper {
    -webkit-filter: blur(1px);
    -moz-filter: blur(1px);
    -o-filter: blur(1px);
    -ms-filter: blur(1px);
    filter: blur(1px);
}

/* end modal tweaks */

.control-sidebar {
    overflow: hidden scroll;
}

/* tweaks to allow bootstrap styling */
body.jazzmin-login-page {
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    -ms-flex-pack: center;
    justify-content: center;
}

.callout {
    color: black;
}

/* sidebar scrolling */
.layout-fixed #jazzy-sidebar {
    top: 0;
    bottom: 0;
    /* Enable y scroll */
    overflow-y: scroll;
    /* May inherit scroll, so we need to explicitly hide */
    overflow-x: hidden;
}

/* calculate height to fit content, we don't to enable scrolling if the content fits */
.layout-fixed #jazzy-sidebar .sidebar {
    height: auto !important;
}

/* Hide scrollbar */
.layout-fixed #jazzy-sidebar {
    scrollbar-width: none;
}

.layout-fixed #jazzy-sidebar::-webkit-scrollbar {
    width: 0;
}

/* nav-item will overflow container in width if scrollbar is visible */
#jazzy-sidebar .nav-sidebar>.nav-item {
    width: 100%;
}

/* tweeks for django-filer*/
.navigator-top-nav+#content-main {
    float: left;
    width: 100%;
}

.card-body.table-responsive a {
    color: #000000e5 !important;
    font-weight:600
}

.model-entry a {
    color: #000000e5 !important;
}

.pagination {
    gap: 8px;
}

.pagination .page-item {
    height: 30px;
    width: 30px;
    border-radius: 8px;
    text-align: center;
}

.pagination .page-item .page-link {
    border-radius: 8px;
    color: #000 !important;
}

.pagination .page-item.active .page-link {
    color: #fff !important;
}

.pagination-sm .page-item:first-child .page-link {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.pagination-sm .page-item:last-child .page-link {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

.main-sidebar .info a {
    color: #c2c7d0 !important;
}

.field-is_published img,
#result_list img,
#permissions-tab img {
    width: 25px;
    height: 100%;
}

/* .main-header{
    display: none !important;
} */

#change-list-date-hierarchy {
    margin-top: 10px;
}

#change-list-filters {
    padding-bottom: 0px !important;
}

.content.border-bottom.mb-2 {
    height: 57px;
    display: flex;
    align-items: center;
}

/* Switch Css */
.switch {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 20px;
    margin-bottom: 0px !important;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #007bff;
}

input:focus+.slider {
    box-shadow: 0 0 1px #007bff;
}

input:checked+.slider:before {
    -webkit-transform: translateX(15px);
    -ms-transform: translateX(15px);
    transform: translateX(15px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.select2-results__option.select2-results__option--selectable:nth-of-type(2) {
    display: none;
}


.select2-results__option.select2-results__option--selectable:nth-of-type(1) {
    display: none;
}

.dropdown-footer {
    background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!--%20License%3A%20PD.%20Made%20by%20Mary%20Akveo%3A%20https%3A%2F%2Fmaryakveo.com%2F%20--%3E%3Csvg%20fill%3D%22%23000000%22%20width%3D%22800px%22%20height%3D%22800px%22%20viewBox%3D%220%200%2024%2024%22%20id%3D%22user%22%20data-name%3D%22Flat%20Color%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20class%3D%22icon%20flat-color%22%3E%3Cpath%20id%3D%22primary%22%20d%3D%22M21%2C20a2%2C2%2C0%2C0%2C1-2%2C2H5a2%2C2%2C0%2C0%2C1-2-2%2C6%2C6%2C0%2C0%2C1%2C6-6h6A6%2C6%2C0%2C0%2C1%2C21%2C20Zm-9-8A5%2C5%2C0%2C1%2C0%2C7%2C7%2C5%2C5%2C0%2C0%2C0%2C12%2C12Z%22%20style%3D%22fill%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E') !important;
    background-size: 20px;
    background-position: 16px;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    display: block;
    padding-left: 43px !important;
}

.dropdown-footer.active {
    background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!--%20License%3A%20PD.%20Made%20by%20Mary%20Akveo%3A%20https%3A%2F%2Fmaryakveo.com%2F%20--%3E%3Csvg%20fill%3D%22%23000000%22%20width%3D%22800px%22%20height%3D%22800px%22%20viewBox%3D%220%200%2024%2024%22%20id%3D%22user%22%20data-name%3D%22Flat%20Color%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20class%3D%22icon%20flat-color%22%3E%3Cpath%20id%3D%22primary%22%20d%3D%22M21%2C20a2%2C2%2C0%2C0%2C1-2%2C2H5a2%2C2%2C0%2C0%2C1-2-2%2C6%2C6%2C0%2C0%2C1%2C6-6h6A6%2C6%2C0%2C0%2C1%2C21%2C20Zm-9-8A5%2C5%2C0%2C1%2C0%2C7%2C7%2C5%2C5%2C0%2C0%2C0%2C12%2C12Z%22%20style%3D%22fill%3A%20rgb(255%2C%20255%2C%20255)%3B%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E') !important;
}

.fas.fa-users {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!--%20License%3A%20MIT.%20Made%20by%20halfmage%3A%20https%3A%2F%2Fgithub.com%2Fhalfmage%2Fmajesticons%20--%3E%3Csvg%20width%3D%22800px%22%20height%3D%22800px%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22%23000000%22%20fill-rule%3D%22evenodd%22%20d%3D%22M6%202a3%203%200%200%200-3%203v14a3%203%200%200%200%203%203h6a3%203%200%200%200%203-3V5a3%203%200%200%200-3-3H6zm10.293%205.293a1%201%200%200%201%201.414%200l4%204a1%201%200%200%201%200%201.414l-4%204a1%201%200%200%201-1.414-1.414L18.586%2013H10a1%201%200%201%201%200-2h8.586l-2.293-2.293a1%201%200%200%201%200-1.414z%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E') !important;
    background-size: 20px;
    background-repeat: no-repeat;
    color: transparent !important;

}

.readonly-status {
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    white-space: pre-wrap;
}

.readonly-status.pending {
    background-color: gold;
    color: black;
}

.readonly-status.viewed {
    background-color: green;
    color: white;
}

.readonly-status.closed {
    background-color: red;
    color: white;
}

.readonly-category-complain {
    color: red;
    font-weight: bold;
}

.readonly-category-feedback {
    color: green;
    font-weight: bold;
}

.readonly-message {
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    white-space: pre-wrap;
    border: 1px solid #5555;
    color: black;
    width: inherit;
}

.custom-alert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.custom-alert-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-width: 400px;
}

.custom-alert-content button {
    margin: 0px 5px;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    min-width: 76px;
}

.custom-alert-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.custom-alert-content button:nth-child(2) {
    background-color: #6c757d;
    color: white;
}

.custom-alert-content button:last-child {
    background-color: #007bff;
    color: white;
}

#changelist-search {
    align-items: start;
    margin-top: 20px;
}

#search_group {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: start;
}

.date-hierarchy {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.date-hierarchy a.btn {
    flex: none;
}

.date-hierarchy .btn-primary {
    background-color: transparent;
    color: #007bff !important;
    border-radius: 30px !important;
}

.date-hierarchy .btn-primary.active {
    background-color: #007bff;
    color: #fff !important;
}

.date-hierarchy .btn-secondary {
    background-color: transparent;
    color: #007bff !important;
    border-color: #007bff;
    border-radius: 30px !important;
}

.date-hierarchy .btn-secondary.active,
.date-hierarchy .btn-secondary:active {
    background-color: #007bff !important;
    color: #fff !important;
    border-color: #007bff !important;
}

.select2-container--default .select2-dropdown {
    border: 0px !important;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: transparent;
}

.table tbody tr th {
    font-weight: 500;
}

.table thead th {
    color: #000;
    font-weight: 600;
}

.form-control {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    border: 0px !important;
}

/* .content-wrapper{
    background-color: #f9f9f900;
 } */



input {
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.nav-link.btn {
    border: 1px solid rgba(0, 0, 0, .5);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-nav .dropdown-menu.show {
    display: flex;
    flex-direction: column;
}

.navbar-nav .dropdown-menu .dropdown-header {
    order: 1;
    font-size: 16px;
}

.navbar-nav .dropdown-menu .dropdown-divider {
    order: 2;
}

.navbar-nav .dropdown-menu .dropdown-item.dropdown-footer {
    order: 3;
    text-align: start;
    font-size: 16px;
}

.navbar-nav .dropdown-menu a.dropdown-item {
    order: 4;
}

.navbar-nav .dropdown-menu #logout-form {
    order: 5;
}

.main-sidebar .sidebar a {
    color: #8B8D97;
}

.main-sidebar .nav-header {
    /* border-bottom: 1px solid #CFD3D4; */
    font-size: 16px;
    font-weight: 500;
    padding-left: 0px;
    padding-right: 0px;
}

.main-sidebar .nav-item .nav-link {
    padding: .5rem !important;
}

.dataTables_info {
    display: flex;
    flex-direction: row-reverse;
    width: max-content;
    gap: 10px;
    align-items: center;
}

.dataTables_info .btn.btn-secondary {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

.card-header.with-border .card-title p {
    margin-bottom: 0px;
}

.module.aligned .col-md-2 {
    max-width: 100%;
    flex: 100%;
}

.module.aligned .control-label.float-md-right {
    float: left !important;
}

.module.aligned span.text-red {
    display: none;
}

.module.aligned input {
    max-width: 400px;
    width: 100%;
}

.dropdown-header {
    background-color: #4b545c;
    color: white;
}
