.hidden {
    display: none;
}

:first-child.hide-first-child {
    display: none !important;
}

a.link:focus,
a.link:hover {
    color: #d41e23;
}

a.text-subtle,
.datatables-table td a {
    color: #67757c;
}

.datatables-table td.hover-highlight a.link:focus,
.datatables-table td.hover-highlight a.link:hover,
.datatables-table td.hover-highlight a.link:hover:focus {
    color: inherit;
}

.datatables-table td.hover-highlight:hover {
    box-shadow: inset 0 9999px rgba(212, 30, 35, 0.1) !important;
}

.datatables-table tr th.actions {
    width: 0;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: inherit;
}

.table-responsive {
    overflow-x: hidden !important;
}

.table-responsive .dt-row {
    overflow-x: auto !important;
}

.form-group {
    margin-bottom: 0.5rem !important;
}

.navbar .navbar-header {
    display: flex;
    justify-content: space-between;
    width: 100% !important;
}

.navbar .navbar-header .navbar-brand img {
    max-height: 41px;
}

.topbar .top-navbar .navbar-header .navbar-brand .logo-icon {
    margin: 0;
}

.topbar .top-navbar .navbar-header .navbar-brand .logo-text {
    margin-left: 5px;
}

.topbar .navbar-nav .profile-pic {
    object-fit: cover;
}

.input-group-prepend .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-append .input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.mt-label {
    margin-top: 27px;
}

.row.entry-form-repeater {
    border-top: solid rgba(30, 136, 229, .2) 1px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.area-description {
    font-size: small;
    color: rgba(30, 136, 229, .6);
}

.rounded-square {
    border-radius: 30%;
}

.dropdown {
    padding: 0 !important;
    text-align: center;
}

.dropdown .dropdown-button {
    width: 100%;
    display: block;
    line-height: 2.8rem;
}
.dropdown-menu.dropdown-menu-actions {
    display: none;
}

.dropdown-menu.dropdown-menu-actions.show {
    width: 256px;
    display: block;
}

.tox-tinymce {
    border: 1px solid #e9ecef !important;
    border-radius: 4px !important;
}

.tagify {
    width: 100% !important;
    border: 1px solid #e9ecef !important;
    border-radius: 4px;
    --tag-bg: #2e8de6 !important;
    --tag-hover: #2e8de6 !important;
    --tag-text-color: white !important;
    --tag-remove-bg: none !important;
    --tag-pad: 0 0.2em !important;
}

.tagify__input {
    line-height: 21px !important;
    padding: 3px !important;
}

.tagify__tag {
    background-color: #2e8de6 !important;
    border: 1px solid #0c7bd9 !important;
    border-radius: 4px;
}

.sidebar-item .first-level {
    padding: 5px 0 0 5px !important;
}

.sidebar-subitem.active {
    color: white !important;
    background-color: #545454;
    border-radius: 4px;
}

.sidebar-subitem.active span,
.sidebar-subitem.active i {
    color: #fff !important;
}

.imageselect {
    grid-template-rows: auto;
    justify-items: center;
    gap: 0.25rem;
    overflow: auto;
}

.imageselect .imageselect-item {
    aspect-ratio: 1;
    width: 100%;
    text-align: center;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    background-color: #f6f6f6;
    cursor: pointer;
}

.imageselect .imageselect-item:hover {
    border-color: rgba(212, 30, 35, 0.33);
    background-color: rgba(212, 30, 35, 0.3);
}

.imageselect .imageselect-item.selected {
    border-color: #cf1419;
    background-color: #d41e23;
}

.imageselect .imageselect-item img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.page-link:hover {
     color: #d41e23;
 }

.row.row-form-bordered {
    border: 1px solid #e9ecef;
    border-radius: 4px !important;
    margin-right: calc(var(--bs-gutter-x) / -2 + 1rem);
    margin-left: calc(var(--bs-gutter-x) / -2 + 1rem);
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.25rem;
}

.udt-color-neutral {
    color: mediumseagreen !important;
}

.udt-color-warning {
    color: orange !important;
}

.udt-color-danger {
    color: red !important;
}

.input-group .btn-end {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

.invalid-feedback {
    display: block;
}

div.wmh-500 {
    max-height: 500px !important;
    overflow-y: auto;
}

div.wmh-1000 {
    max-height: 1000px !important;
    overflow-y: auto;
}

.nowrap {
    text-wrap: nowrap !important;
}

.font-64 {
    font-size: 64px !important;
}

.details-file {
}

.mh-300 {
    max-height: 300px !important;
}

.m-45 {
    margin: 2rem !important;
}

.mx-45 {
    margin-right: 2rem !important;
    margin-left: 2rem !important;
}

.my-45 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

.mt-45 {
    margin-top: 2rem !important;
}

.me-45 {
    margin-right: 2rem !important;
}

.mb-45 {
    margin-bottom: 2rem !important;
}

.ms-45 {
    margin-left: 2rem !important;
}

.m-n45 {
    margin: -2rem !important;
}

.mx-n45 {
    margin-right: -2rem !important;
    margin-left: -2rem !important;
}

.my-n45 {
    margin-top: -2rem !important;
    margin-bottom: -2rem !important;
}

.mt-n45 {
    margin-top: -2rem !important;
}

.me-n45 {
    margin-right: -2rem !important;
}

.mb-n45 {
    margin-bottom: -2rem !important;
}

.ms-n45 {
    margin-left: -2rem !important;
}

.tox-statusbar__branding,
.tox-promotion {
    display: none !important;
}

.card-title {
    padding: 1rem 0.5rem !important;
    margin: 0 !important;
}

.title-part-padding {
    padding: 0 0.5rem !important;
}

@media (max-width: 575.98px) {
    .container-fluid {
        padding: 0.25rem !important;
    }

    th {
        padding: 0.5rem 1.75rem 0.5rem 0.5rem !important;
    }

    td {
        padding: 0.5rem !important;
    }

    .modal-body,
    .card-body {
        padding: 1rem 0.5rem !important;
    }

    div.table-responsive .dt-row {
        width: 100% !important;
    }

    div.table-responsive div.row {
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    div.table-responsive .dataTables_info {
        text-wrap: wrap !important;
        max-width: 120px;
        padding-top: 0.25rem !important;
    }

    div.table-responsive div.row > div {
        width: inherit !important;
        padding: 0 !important;
    }
}
