/*sidebar css*/
#sidebar .theme-brand {
    background-color: #068ae2;
    box-shadow: -8px -4px 6px 1px rgb(15, 14, 32);
    padding: 0.9px;
}
#sidebar ul.menu-categories li.menu:first-child {
    margin-top: 20px;
    margin-bottom: 10px;
}
.sidebar-theme {
    background: #098be2;
}
#sidebar ul.menu-categories li.menu:first-child > a {
    background-color: #dee2e6;
    color: #5a29c4;
    border-radius: 30px;
    margin-bottom: 10px;
}
#sidebar ul.menu-categories li.menu > a {
    background-color: #dee2e6;
    color: #5a29c4;
    border-radius: 30px;
    margin-bottom: 10px;
    
}
.sidebartext-heading{
    color: #5a29c4;
    font-weight: 600;
}
#sidebar ul.menu-categories li.menu > .dropdown-toggle > div {
    align-self: center;
    margin: 4px;
}

#sidebar ul.menu-categories li.menu:last-child {
     padding-bottom: 0px; 
}
#sidebar ul.menu-categories li.active {
    background-color: #322c35;
    color: #888585;
    border-radius: 30px;
    margin-bottom: 10px;
}
#sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"] span {
    color: #5a29c4 !important;
}
#sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"] i.flaticon-right-arrow, #sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"] i.flaticon-down-arrow {
    background-color: #322c35 !important;
}
#sidebar ul.menu-categories ul.submenu > li a {
    font-weight: 600 !important;
    color: #000000 !important;
}
#sidebar ul.menu-categories ul.submenu > li.item-active{
    color:white !important;
}
#sidebar ul.menu-categories li.menu > .dropdown-toggle {
    padding: 20px 5px 20px 0px !important;
}
#sidebar ul.menu-categories li.menu > .dropdown-toggle i {
    font-size: 12px !important;
    margin-right: 0px !important;
}
#sidebar ul.menu-categories ul.submenu > li a {
    padding: 3px 12px 11px 35px;
    padding-left: 14px;
    margin-left: 30px;
}
#sidebar ul.menu-categories li.menu:not(:first-child) ul.submenu > li a:before {
    background-color: #000000;
    width: 5px;
    top: 13px;
}
/*end sidebar css*/
.error{
    color:red;
    font-weight: 600;
}
/*add form css*/
.form-control {
    border: 1px solid #ccc;
    color: #888ea8;
    font-size: 15px;
}
code { color: #3862f5; }
.form-control:disabled, .form-control[readonly] { background-color: #f1f3f9; border-color: #f1f3f1; }
.btn-primary.disabled, .btn-primary:disabled { background-color: #3862f5; border-color: #3862f5; }
label { color: #3b3f5c; margin-bottom: 14px; }
.form-control::-webkit-input-placeholder { color: #888ea8; font-size: 15px; }
.form-control::-ms-input-placeholder { color: #888ea8; font-size: 15px; }
.form-control::-moz-placeholder { color: #888ea8; font-size: 15px; }
.form-control:focus { border-color: #3862f5; }
.input-group-text {
    background-color: #f3f4f7;
    border-color: #e9ecef;
    color: #6156ce;
}
select.form-control {
display: inline-block;
width: 100%;
height: calc(2.25rem + 2px);
vertical-align: middle;
background: #fff url(https://lifeguardandsafetytraining.com/admin/assets/img/arrow-down.png) no-repeat right .75rem center;
background-size: 13px 14px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
select.form-control::-ms-expand { display: none; }
/*image css*/
.open_my_popup {
  display:none;
}
.open_my_popup .imgae_view_bg {
  width:100%;
  height:100vh;
  background:#000;
  position:fixed;
  top:0px;
  left:0px;
  opacity:0.8;
  z-index:999;
}
.open_my_popup .view_popup {
  width:96%;
  margin:0px 2%;
  height:100vh;
  position:fixed;
  top:0px;
  right:0px;
  z-index:999;
}
.open_my_popup .view_popup img {
  width:100%;
  height: 119vh;
  object-fit: contain;
  padding-top: 84px;
  padding-bottom: 157px;
}
.close_my_popup {
  position: fixed;
  top: 75px;
  right: 10px;
  background: #1b79b8;
  width: 30px;
  height: 30px;
  text-align: center;
  z-index: 99999;
  border-radius: 50%; 
}
.close_my_popup img {
  width:15px;
  padding-top:7px;
}
/* end image css */
.btn-group>.btn, .btn-group .btn {
    padding: 8px 8px;
}
.action_btn{
    background-color: #5a29c4;
    color: white;
}
.action_btn:hover{
    background-color:  #5a29c4;
    color: white;
}
.action-btn{
    background-color:  #098be2;
    color: white;
}
.action-btn:hover{
    background-color: #098be2;
    color: white;
}
.btn-group{
    margin-bottom: 10px;
}
.form-control {
    border: 1px solid #000000;
    color: #000000;
    font-size: 15px;
    border-radius: 25px 25px;
}
.text-heading-label {
    color: #000000;
    font-weight: 600;
    margin-bottom: 14px;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #5a29c4;
}
.btn-gradient-warning {
    color: #fff !important;
    background-image: linear-gradient(-20deg, #521dc3 0%, #805dca 100%) !important;
    background-color: #805dca !important;
}
.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #098be2;
    border-color: #098be2;
}
ul.pagination li a:hover:not(.active) {
    background-color: #5a29c4;
    color: #fff;
}
.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #696c82;
    background-color: #f1f3f9;
    border: 1px solid #dee2e6;
}
.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
    background-color: #5a29c4;
    border-color: #5a29c4;
    color: #fff;
}
.btn-primary {
    color: #fff !important;
    background-color: #5a29c4!important;
    border-color: #ff3743;
}
.btn-primary:hover {
    color: #fff !important;
    background-color: #5a29c4!important;
    border-color: #ff3743;
}
.dropdown-item {
    font-weight: 500 !important;
    color: #000000 !important;
    padding: 0rem 1rem !important;
}
select.form-control-sm {
    border-radius: 0px ! important;
}
#sidebar ul.menu-categories li.menu:not(:first-child) ul.submenu > li a:before {
    background-color: #dee2e6 ! important;
}
#sidebar ul.menu-categories ul.submenu > li a {

    color: #dee2e6 !important;
}
#sidebar * {
  text-overflow: clip !important;
}

/* ---------- Admin tables: search box, page-size select, pagination (appended to mycustom.css) ----------

   Restyles the DataTables controls on every admin table:
     - search: rounded field with a magnifier icon ("Search...")   (was "Search: [   ]")
     - page size: compact select showing "10 / page"                (was "Show [10] entries")
     - pagination: rounded buttons, blue current page
   The text changes ("10 / page", placeholder) are made by datatable-controls.js in custom.js.
   On phones the search goes on top, and the page numbers collapse to Previous / current / Next. */

/* ---- top row: page size + search ---- */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin: 0 0 14px;
}
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 14px;
    color: #4a5373;
}
.dataTables_wrapper .dataTables_filter {
    text-align: right;
}
.dataTables_wrapper .dataTables_filter label {
    justify-content: flex-end;
}

/* page size */
.dataTables_wrapper .dataTables_length select {
    display: inline-block;
    width: auto;
    min-width: 112px;
    height: 40px;
    margin: 0;
    padding: 0 36px 0 14px;
    border: 1px solid #d9deeb;
    border-radius: 10px !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d86a3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px 14px;
    color: #1f2340;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.dataTables_wrapper .dataTables_length select:hover {
    border-color: #b9c2da;
}
.dataTables_wrapper .dataTables_length select:focus {
    outline: 0;
    border-color: #098be2;
    box-shadow: 0 0 0 3px rgba(9, 139, 226, .18);
}

/* search */
.dataTables_wrapper .dataTables_filter input[type="search"] {
    width: 100%;
    max-width: 340px;
    height: 40px;
    margin: 0 !important;
    padding: 0 14px 0 40px;
    border: 1px solid #d9deeb;
    border-radius: 10px !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d96b2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E") no-repeat 13px center / 17px 17px;
    color: #1f2340;
    font-size: 14px;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.dataTables_wrapper .dataTables_filter input[type="search"]::placeholder {
    color: #9aa3bd;
    opacity: 1;
}
.dataTables_wrapper .dataTables_filter input[type="search"]:hover {
    border-color: #b9c2da;
}
.dataTables_wrapper .dataTables_filter input[type="search"]:focus {
    outline: 0;
    border-color: #098be2;
    box-shadow: 0 0 0 3px rgba(9, 139, 226, .18);
}

/* ---- bottom row: info + pagination ---- */
.dataTables_wrapper .dataTables_info {
    padding-top: 16px;
    font-size: 13px;
    color: #7d86a3;
}
.dataTables_wrapper .dataTables_paginate {
    padding-top: 12px;
}
.dataTables_wrapper .dataTables_paginate ul.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    margin: 0;
}
.dataTables_wrapper .dataTables_paginate ul.pagination li.page-item a.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #e3e7f1;
    border-radius: 10px !important;
    background: #fff;
    color: #4a5373;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    box-shadow: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.dataTables_wrapper .dataTables_paginate ul.pagination li.page-item a.page-link:hover {
    background: #eef6fd !important;
    border-color: #b9dcf5;
    color: #098be2 !important;
}
.dataTables_wrapper .dataTables_paginate ul.pagination li.page-item.active a.page-link,
.dataTables_wrapper .dataTables_paginate ul.pagination li.page-item.active a.page-link:hover {
    background: #098be2 !important;
    border-color: #098be2;
    color: #fff !important;
}
.dataTables_wrapper .dataTables_paginate ul.pagination li.page-item.disabled a.page-link {
    background: #f5f6fa;
    border-color: #eceef5;
    color: #aab1c6;
    cursor: default;
}

/* ---- tablets and phones ---- */
@media (max-width: 767.98px) {
    /* the wrapper's own 15px side padding squeezed the controls on a phone; the card
       around the table already provides the inset */
    .dataTables_wrapper.container,
    .dataTables_wrapper.container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
    /* one row: search (takes the free space) on the left, "10 / page" on the right */
    .dataTables_wrapper > .row:first-child {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap; /* only wraps if the search box would end up under ~80px wide */
        align-items: flex-start;
        gap: 10px;
        margin-left: 0;
        margin-right: 0;
    }
    .dataTables_wrapper > .row:first-child > [class*="col-"] {
        width: auto;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }
    .dataTables_wrapper > .row:first-child > [class*="col-"]:first-child {
        flex: 0 0 auto;
        order: 2;
    }
    .dataTables_wrapper > .row:first-child > [class*="col-"]:last-child {
        flex: 1 1 80px;
        min-width: 0;
        order: 1;
    }
    /* datatables.css removes the outer padding of the first/last column so they sit flush
       side by side; keep that behaviour explicit so the controls line up with the table */
    div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child,
    div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
        padding-left: 0;
        padding-right: 0;
    }
    .dataTables_wrapper .dataTables_filter {
        text-align: left;
    }
    .dataTables_wrapper .dataTables_filter label {
        justify-content: flex-start;
    }
    .dataTables_wrapper .dataTables_filter input[type="search"] {
        min-width: 0;
        max-width: none;
        font-size: 16px; /* stops iOS zooming the page on focus */
    }
    .dataTables_wrapper .dataTables_length select {
        min-width: 0;
        padding: 0 28px 0 12px;
        background-position: right 10px center;
    }
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        margin-bottom: 12px;
    }
    .dataTables_wrapper .dataTables_info {
        padding-top: 12px;
        text-align: center;
    }
    .dataTables_wrapper .dataTables_paginate ul.pagination {
        justify-content: center;
    }
}
@media (max-width: 359.98px) {
    /* very narrow phones: slightly tighter controls so both still fit on one row */
    .dataTables_wrapper > .row:first-child {
        gap: 8px;
    }
    .dataTables_wrapper .dataTables_length select {
        padding: 0 26px 0 10px;
        background-position: right 8px center;
        font-size: 13px;
    }
    .dataTables_wrapper .dataTables_filter input[type="search"] {
        padding-left: 34px;
        background-position: 10px center;
    }
}
@media (max-width: 575.98px) {
    /* Previous / current page / Next only */
    .dataTables_wrapper .dataTables_paginate ul.pagination li.page-item:not(.previous):not(.next):not(.active) {
        display: none;
    }
    .dataTables_wrapper .dataTables_paginate ul.pagination li.page-item a.page-link {
        min-width: 44px;
        height: 40px;
    }
}

/* ---------- Tables on large screens (992px and up): wide search + "N / page" on the right ----------
   (appended to mycustom.css after the datatable-controls block, in every portal)

   One row above each table: the search field takes all the free width on the left, the
   page-size select sits on the right. Tablets and phones keep the compact layout above. */
@media (min-width: 992px) {
    div.dataTables_wrapper > div.row:first-child:has(.dataTables_filter) {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 16px;
        margin: 0 0 18px;
    }
    div.dataTables_wrapper > div.row:first-child:has(.dataTables_filter) > [class*="col-"] {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
        order: 0;
    }
    div.dataTables_wrapper > div.row:first-child:has(.dataTables_filter) > [class*="col-"]:has(.dataTables_filter) {
        flex: 1 1 auto;
        min-width: 0;
        order: 1;
    }
    div.dataTables_wrapper > div.row:first-child:has(.dataTables_filter) > [class*="col-"]:has(.dataTables_length) {
        order: 2;
    }
    div.dataTables_wrapper div.dataTables_length,
    div.dataTables_wrapper div.dataTables_filter {
        margin: 0 !important; /* main.css forces 1.5rem under both boxes */
    }
    div.dataTables_wrapper div.dataTables_filter {
        text-align: left;
    }
    div.dataTables_wrapper div.dataTables_filter label {
        display: block;
        width: 100%;
    }

    /* search: tall, soft-filled field with a coloured magnifier */
    div.dataTables_wrapper div.dataTables_filter input[type="search"] {
        display: block;
        width: 100%;
        max-width: none;
        height: 48px;
        padding: 0 18px 0 52px;
        border: 1.5px solid #c9d3e6;
        border-radius: 14px !important;
        background-color: #f8f9fc;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='6.5' stroke='%2338b6d8' stroke-width='2.6'/%3E%3Cpath d='M15 15l6 6' stroke='%237b3fa0' stroke-width='3'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: 17px center;
        background-size: 21px 21px;
        font-size: 15px;
    }
    div.dataTables_wrapper div.dataTables_filter input[type="search"]:focus {
        background-color: #fff;
    }

    /* page size: white pill showing "10 / page" */
    div.dataTables_wrapper div.dataTables_length select {
        height: 48px;
        min-width: 132px;
        padding: 0 40px 0 18px;
        border: 1px solid #e6e9f2;
        border-radius: 14px !important;
        font-size: 15px;
        font-weight: 700;
        background-position: right 15px center;
        background-size: 15px 15px;
    }
}


/* Hide the leftover "Search:" / "Show" / "entries" words even where the script has not run yet */
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    font-size: 0;
}


/* ---------- Space above the footer (992px and up): same as the other portals ----------
   The last card's column drops its 40px bottom margin and #content keeps 24px, so the card sits
   close to the footer. #content still stretches to the sidebar's height (flex row), so short
   pages are never shorter than the sidebar. */
@media (min-width: 992px) {
    #content {
        margin-bottom: 24px;
    }
    #content .container > .row:last-child > .layout-spacing,
    #content .container > .layout-spacing:last-child {
        margin-bottom: 0;
    }
}

/* ---------- Table footer on phones: tighter spacing + friendlier pagination (appended to mycustom.css) ----------

   datatables.css is linked on each page AFTER mycustom.css, so rules of equal strength lose to it
   (that is why the page buttons stayed right-aligned and the spacing stayed loose). These rules
   are prefixed with #content so they win regardless of order.

   Phones (up to 767px):
     - less space between the table's scrollbar, the "Showing ..." line, the page buttons and the
       card edge
     - page buttons centered
   Small phones (up to 575px), two-line pager:
     - line 1: the page numbers DataTables offers (first page, the pages around the current one,
       last page, and the "..." gaps)
     - line 2: wide "< Previous" and "Next >" buttons that are easy to tap */

@media (max-width: 767.98px) {
    /* the info line and the pager each carried a 24px top margin, and the table box a 24px
       bottom margin (bootstrap's mb-4) */
    #content div.dataTables_wrapper div.dataTables_info,
    #content div.dataTables_wrapper div.dataTables_paginate {
        margin-top: 0 !important; /* the plugin sets this with !important */
    }
    #content .card-body > .widget-content-area .table-responsive.mb-4 {
        margin-bottom: 0 !important;
    }
    /* main.css forces 1.5rem under the search / page-size row and above the info line */
    #content div.dataTables_wrapper div.dataTables_length,
    #content div.dataTables_wrapper div.dataTables_filter {
        margin-bottom: 10px !important;
    }
    #content div.dataTables_wrapper div.dataTables_info {
        padding-top: 10px;
        padding-bottom: 0;
        line-height: 1.3;
        text-align: center;
        white-space: normal;
    }
    #content div.dataTables_wrapper div.dataTables_paginate {
        padding-top: 8px;
        text-align: center;
    }
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        margin: 0;
        justify-content: center;
    }
    #content div.dataTables_wrapper > .row > [class*="col-"]:has(> table.dataTable) {
        padding-bottom: 6px;
    }
    #content .card-body:has(> .widget-content-area) {
        padding-bottom: 12px;
    }
}

@media (max-width: 575.98px) {
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 4px;
    }
    /* page numbers (and the "..." gaps) first, all on the top line */
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item {
        display: list-item; /* undoes the older "current page only" rule from the first table-controls block */
        order: 1;
        flex: 0 1 auto;
        min-width: 0;
    }
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item a.page-link {
        min-width: 36px;
        height: 42px;
        padding: 0 6px;
        font-size: 15px;
    }
    /* "..." gaps: slim, no box */
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.disabled:not(.previous):not(.next):not(.first):not(.last) a.page-link {
        min-width: 18px;
        padding: 0;
        border-color: transparent;
        background: transparent;
    }
    /* line break between the numbers and the Previous / Next buttons */
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination::after {
        content: "";
        order: 2;
        flex: 0 0 100%;
        height: 0;
    }
    /* second line: First / Previous / Next / Last (tables that have no First / Last just get the middle two) */
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.first {
        order: 3;
        flex: 0 0 auto;
    }
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.previous {
        order: 4;
        flex: 1 1 90px;
        min-width: 90px;
    }
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.next {
        order: 5;
        flex: 1 1 90px;
        min-width: 90px;
    }
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.last {
        order: 6;
        flex: 0 0 auto;
    }
    /* First / Last become compact << and >> buttons (the words stay for screen readers) */
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.first a.page-link,
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.last a.page-link {
        min-width: 46px;
        height: 44px;
        padding: 0;
        font-size: 0;
    }
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.first a.page-link::before {
        content: "\00AB";
        font-size: 22px;
        line-height: 1;
        padding-bottom: 2px;
    }
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.last a.page-link::after {
        content: "\00BB";
        font-size: 22px;
        line-height: 1;
        padding-bottom: 2px;
    }
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.previous a.page-link,
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.next a.page-link {
        width: 100%;
        height: 44px;
        font-size: 15px;
    }
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.previous a.page-link::before {
        content: "\2039";
        margin-right: 8px;
        font-size: 22px;
        line-height: 1;
        padding-bottom: 2px;
    }
    #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.next a.page-link::after {
        content: "\203A";
        margin-left: 8px;
        font-size: 22px;
        line-height: 1;
        padding-bottom: 2px;
    }
    /* very small phones with long page numbers (e.g. 1500 1501 1502 ... 1693): let the numbers shrink a little */
    @media (max-width: 359.98px) {
        #content div.dataTables_wrapper div.dataTables_paginate ul.pagination {
            gap: 8px 4px;
        }
        #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item a.page-link {
            min-width: 34px;
            padding: 0 5px;
            font-size: 14px;
        }
        /* not enough room for the words: Previous / Next become arrows too */
        #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.previous,
        #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.next {
            flex: 1 1 0;
            min-width: 0;
        }
        #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.previous a.page-link,
        #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.next a.page-link {
            font-size: 0;
        }
        #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.previous a.page-link::before,
        #content div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item.next a.page-link::after {
            margin: 0;
            font-size: 24px;
        }
    }
}
