/* input(8914,22): run-time error CSS1036: Expected expression, found '$'
input(9166,21): run-time error CSS1036: Expected expression, found '$'
input(9167,28): run-time error CSS1036: Expected expression, found '$'
input(9168,18): run-time error CSS1036: Expected expression, found '$'
input(9170,29): run-time error CSS1036: Expected expression, found '$'
input(9730,20): run-time error CSS1036: Expected expression, found '$'
input(9731,30): run-time error CSS1036: Expected expression, found '$'
input(9732,28): run-time error CSS1036: Expected expression, found '$'
input(9733,27): run-time error CSS1036: Expected expression, found '$'
input(9734,30): run-time error CSS1036: Expected expression, found '$'
input(9736,29): run-time error CSS1036: Expected expression, found '$'
input(9737,30): run-time error CSS1036: Expected expression, found '$'
input(10766,12): run-time error CSS1036: Expected expression, found '$'
input(11915,24): run-time error CSS1036: Expected expression, found '$'
input(11916,20): run-time error CSS1036: Expected expression, found '$'
input(11918,21): run-time error CSS1036: Expected expression, found '$'
input(11920,23): run-time error CSS1036: Expected expression, found '$'
input(12013,25): run-time error CSS1019: Unexpected token, found '$'
input(12013,25): run-time error CSS1042: Expected function, found '$'
input(12013,25): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$'
input(12014,31): run-time error CSS1019: Unexpected token, found '$'
input(12014,31): run-time error CSS1042: Expected function, found '$'
input(12014,31): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$'
input(12323,14): run-time error CSS1036: Expected expression, found '$' */
@charset "UTF-8";
/*$dark-gray: #c2c2c2; // Default color
$blue: #1c84c6; // Success color
$lazur: #23c6c8; // Info color*/
/* Basic */
/*@import "opensans/_opensans.scss";*/
* {
  border-radius: 0 !important;
}

body {
  font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #676a6c;
  /*overflow-x: hidden;*/
  position: relative;
  /*min-height: 1190px !important;*/
}

html {
  position: relative;
  /*height: 100%;*/
}

html, body {
  max-width: 100% !important;
  width: 100% !important;
  /*overflow: hidden;
  overflow-y: auto;*/
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.preload * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
}

button:focus {
  outline: 0 !important;
  box-shadow: none !important;
}

.page-link:focus {
  box-shadow: none !important;
}

figure {
  margin: 0px;
}

.gray-bg,
.bg-muted {
  background-color: #f3f3f4;
}

.white-bg {
  background-color: #fff;
}

#wrapper {
  width: 100%;
  overflow-x: hidden;
}

.wrapper {
  padding: 0 20px;
}

.wrapper-content {
  padding: 20px 10px 40px;
}

#page-wrapper {
  width: auto;
  position: relative !important;
}

.footer {
  background: none repeat scroll 0 0 white;
  border-top: 1px solid #e7eaec;
  bottom: 0;
  left: 0;
  padding: 10px 20px;
  position: absolute;
  right: 0;
}

/* Custom scrollbar */
body ::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 10px;
}

body ::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0px;
}

body ::-webkit-scrollbar-thumb {
  cursor: pointer;
  background: rgba(0, 0, 0, 0.25);
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

body ::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(0, 0, 0, 0.15);
}

body ::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 135, 139, 0.8);
}

.display-flex {
  display: flex;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.full-width {
  width: 100% !important;
}

.min-width-100 {
  min-width: 100px !important;
}

.popover.top > .arrow {
  bottom: -10.9px;
}

.help-icon {
  line-height: 1;
  margin-left: 5px;
  font-size: 16px;
  margin-top: 1px;
  color: #676a6c;
}

label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: bold;
}

.label {
  display: inline;
  font-size: 75%;
  font-weight: bold;
  line-height: 1;
  color: rgb(255, 255, 255);
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  padding: 0.2em 0.6em 0.3em;
  border-radius: 0.25em;
}

.cursor-pointer {
  cursor: pointer;
}
.cursor-not-allowed {
  cursor: not-allowed !important;
}

.max-width-250 {
  max-width: 250px;
}
.max-width-400 {
  max-width: 400px;
}
.max-width-500 {
  max-width: 500px;
}
.max-height-125 {
  max-height: 125px;
}
.max-height-250 {
  max-height: 250px;
}
.max-height-350 {
  max-height: 350px;
}

.popover-header {
  margin: 0;
}

.alert .btn-close {
  position: absolute;
  right: 10px;
  top: 10px;
}

.cardtypes img, .acquirers img {
  height: 35px;
  margin-right: 3px;
}

.cancel-stretched-link {
  position: relative;
  z-index: 2;
}

.wait-add-subscription {
  width: 220px;
  text-align: center;
}

.min-height-50 {
  min-height: 50px;
}
.min-height-80 {
  min-height: 80px;
}
.min-height-100 {
  min-height: 100px;
}
.min-height-250 {
  min-height: 250px;
}

.navmenu-wrap .metismenu > li > a, .nav > li > a {
  color: #a7b1c2;
  font-weight: 600;
  padding: 14px 20px 14px 25px;
  background-color: #2f4050;
  display: block;
}

.nav.metismenu > li {
  display: block;
  width: 100%;
  position: relative;
}

/*.nav.metismenu .dropdown-menu > li > a {
    padding: 3px 20px;
    display: block;
}*/
.navmenu-wrap .metismenu > .mm-active > a {
  background-color: transparent;
  color: #fff;
}

.nav > li.mm-active > a {
  color: #fff;
}

.navmenu-wrap {
  background-color: #2f4050;
  border-color: transparent;
}

.navmenu-wrap .metismenu > li > a:hover,
.navmenu-wrap .metismenu > li > a:focus,
.navmenu-wrap .metismenu > .mm-active > a:focus,
.navmenu-wrap .metismenu > .mm-active > a:hover {
  background-color: #293846;
  color: white;
}

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  background: #fff;
}

.nav.navbar-top-links > li > a:hover,
.nav.navbar-top-links > li > a:focus {
  background-color: transparent;
}

.nav > li > a i {
  margin-right: 6px;
}

.navbar {
  border: 0;
}

.navbar-static-top {
  padding: 0;
  width: 100%;
}

.navbar-default {
  background-color: transparent;
  border-color: #2f4050;
}

body.mini-navbar .navbar-default .nav > li > .nav-second-level li a {
  font-size: 12px;
  border-radius: 3px;
}

.mini-navbar .nav-second-level li a {
  padding: 7px 10px 7px 52px;
}

.nav-header {
  padding: 20px 25px;
  background-color: #2f4050;
  background-image: url("../img/header-profile.png?v=TrmK_SEbvd8JYCDDupEijqAiZxI");
  height: 149px;
}

.profile-element {
  margin-top: 30px;
  text-align: center;
}

.profile-element i {
  margin-left: 5px;
}

.nav > li.mm-active {
  border-left: 4px solid #5687d0;
  background: #293846;
}

.nav-header a {
  color: #DFE4ED;
}

.nav-header .text-muted {
  color: #8095a8;
}

/*.nav-header,
li.active,
#page-wrapper,
.footer {
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}*/
.navbar-top-links {
  margin-left: auto;
}

.navbar-top-links li:last-child {
  margin-right: 15px;
}

.navbar-top-links li {
  display: inline-block;
}
.navbar-top-links li a {
  padding: 20px 10px;
  min-height: 50px;
  font-weight: 600;
  color: #999c9e;
  position: relative;
  display: block;
  background-color: transparent;
}
.navbar-top-links li a:hover, .navbar-top-links li a:focus {
  color: #999c9e !important;
}
.navbar-top-links li a i {
  margin-right: 6px;
  width: 19px;
  text-align: center;
}
.navbar-top-links li.spacer {
  width: 1px;
}
.navbar-top-links li.spacer span {
  width: 100%;
  height: 45px;
  background-color: #ccc;
  float: left;
  margin-top: 7px;
}

.nav.navbar-right > li > a {
  color: #999c9e;
}

.nav.navbar-top-links a {
  font-size: 14px;
}

.fa.arrow:before {
  content: "\f104";
}

.mm-active > a > .fa.arrow:before {
  content: "\f107";
}

.metismenu .arrow {
  line-height: 1.42857;
  float: right;
}

.nav.nav-second-level > li.mm-active {
  border: none;
}

.nav-second-level li, .nav-third-level li {
  border-bottom: none !important;
  width: 100%;
}

.nav-second-level li a {
  padding: 7px 10px 7px 52px;
}

/*#left-panel {
    -webkit-transition: 250ms cubic-bezier(0.1,.57,.1,1);
    transition: 250ms cubic-bezier(0.1,.57,.1,1);
    -webkit-transform: translate(0px,0) translateZ(0px);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 904;
    width: 220px;
    min-height: 100%;
    background-color: #2f4050;
}*/
ul.nav-second-level, ul.nav-second-level li a {
  background: #293846;
}

.nav-second-level li:last-child {
  margin-bottom: 10px;
}

.nav > li > a:hover, .nav > li > a:focus {
  background-color: #293846;
  color: white;
}

/*.navbar-header {
    display: inline;
    float: left;
    position: absolute;
    z-index: 2000;
}

    .navbar-header .navbar-minimalize {
        margin: 14px 5px 5px 15px;
    }*/
.navbar-toggle {
  float: left;
  margin-left: 15px;
}

/*.metismenu .collapse {
    display: none;
}

.metismenu .collapse li {
    display: none;
}

.metismenu .collapse.in {
    display: block;
}

.metismenu .collapse.in li {
    display: block;
}*/
/* Sidebar specifik VIRKER!! */
.ui.left.sidebar, .ui.right.sidebar {
  width: 100%;
}

.ui.sidebar .navmenu-wrap {
  width: 100%;
}

.ui.visible.push.sidebar, .ui.push.animating {
  overflow-x: hidden;
  background-color: #2f4050;
}

.ui.visible.left.sidebar ~ .fixed, .ui.visible.left.sidebar ~ .pusher {
  -webkit-transform: translate3d(100%, 0, 0) !important;
  transform: translate3d(100%, 0, 0) !important;
}

.ui.sidebar.visible:not(.animating) ~ .pusher.dimmed #page-wrapper {
  display: none;
}

.pushable > .pusher {
  z-index: auto;
}

@media (min-width: 768px) {
  .ui.left.sidebar {
    visibility: visible !important;
    width: 220px !important;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0) !important;
    position: absolute !important;
    overflow-y: visible !important;
    -webkit-transition: -webkit-transform none;
    transition: -webkit-transform none;
    transition: none;
    transition: none, -webkit-transform none;
    background-color: #2f4050;
  }
  .pushable > .pusher {
    -webkit-transition: -webkit-transform none;
    transition: -webkit-transform none;
    transition: none;
    transition: none, -webkit-transform none;
    z-index: auto;
  }
  .offcanvas-menu {
    width: 220px !important;
    position: absolute;
    height: 100%;
  }
  .offcanvas-menu .offcanvas-body {
    height: 100%;
  }
}
@media (max-width: 767px) {
  .nav-header {
    padding: 0;
  }
  .nav-header .hide-btn {
    position: absolute;
    top: 13px;
  }
  .nav-header .nav-logo {
    text-align: center;
    padding-top: 10px;
  }
  .navmenu-wrap .metismenu > li > a, .nav > li > a {
    font-size: 15px;
    /*padding: 17px 20px 17px 25px;*/
  }
  .nav-second-level li a {
    padding: 10px 10px 10px 52px;
  }
  .navmenu-wrap .metismenu > li > a:hover, .navmenu-wrap .metismenu > li > a:focus {
    background-color: #2f4050;
    color: #a7b1c2;
  }
  .breadcrumb {
    justify-content: center;
    align-items: center;
  }
  .offcanvas-menu {
    --bs-offcanvas-width: 100%;
    --bs-offcanvas-vertical-height: 100%;
    --bs-offcanvas-padding-y: 0;
    --bs-offcanvas-padding-x: 0;
  }
  .offcanvas-menu .offcanvas-body {
    background-color: #2f4050;
  }
  .offcanvas-menu .offcanvas-body .navmenu-wrap {
    height: 100%;
  }
  .offcanvas-md.offcanvas-start {
    border-right: none;
  }
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 100;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 16px;
}

h4 {
  font-size: 14px;
}

h5 {
  font-size: 12px;
}

h6 {
  font-size: 10px;
}

h3, h4, h5 {
  margin-top: 5px;
  font-weight: 600;
}

h1, .h1, h2, .h2, h3, .h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

a {
  color: #5687d0;
  cursor: pointer;
  text-decoration: none;
}

a:hover,
a:focus {
  color: rgb(74.0291666667, 126.5, 204.6708333333);
  text-decoration: none;
}

.font-bold {
  font-weight: 700;
}

.hr-line-dashed {
  border-top: 1px dashed #e7eaec;
  color: #ffffff;
  background-color: #ffffff;
  height: 1px;
  margin: 20px 0;
}

.text-uppercase {
  text-transform: uppercase;
}

.font-italic {
  font-style: italic;
}

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

select option:disabled {
  color: #ccc;
}

.profile-bio label {
  margin: 0;
  font-weight: normal;
  color: #888;
}

/*------------------------------------
  Typography Font Weight
------------------------------------*/
.font-weight-100 {
  font-weight: 100;
}
.font-weight-200 {
  font-weight: 200;
}
.font-weight-300 {
  font-weight: 300;
}
.font-weight-400 {
  font-weight: 400;
}
.font-weight-500 {
  font-weight: 500;
}
.font-weight-600 {
  font-weight: 600;
}
.font-weight-700 {
  font-weight: 700;
}
.font-weight-800 {
  font-weight: 800;
}
.font-weight-900 {
  font-weight: 900;
}
.font-size-10 {
  font-size: 10px !important;
}
.font-size-12 {
  font-size: 12px !important;
}
.font-size-13 {
  font-size: 13px !important;
}
.font-size-14 {
  font-size: 14px !important;
}
.font-size-15 {
  font-size: 15px !important;
}
.font-size-18 {
  font-size: 18px !important;
}
.font-size-20 {
  font-size: 20px !important;
}
.font-size-25 {
  font-size: 25px !important;
}
.font-size-30 {
  font-size: 30px !important;
}

.color-default {
  color: #676a6c !important;
}
.color-light-grey {
  color: #999;
}
.color-primary {
  color: #5687d0;
}
.color-bg-white {
  background-color: #fff !important;
}
.color-bg-info {
  background-color: #d1ecf1 !important;
}

.line-through {
  text-decoration: line-through !important;
}

.v-align-mid {
  vertical-align: middle !important;
}
.v-align-mid-table tbody tr td {
  vertical-align: middle;
}

.mirror {
  transform: scale(-1, 1);
  color: #000080;
  -moz-transform: scale(-1, 1);
  -webkit-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

.btn {
  font-size: 14px;
  white-space: nowrap;
}

.btn-lg, .btn-group-lg > .btn {
  font-size: 1.25rem;
}

.btn-fa-icon {
  height: 28px;
  width: 28px;
  padding: 0.25rem;
}

.btn-primary {
  background-color: #5687d0;
  border-color: #5687d0;
  color: #FFFFFF;
}

.btn-outline-primary {
  --bs-btn-color: #5687d0;
  --bs-btn-border-color: #5687d0;
  --bs-btn-hover-color: #fff !important;
  --bs-btn-hover-bg: #5687d0;
  --bs-btn-hover-border-color: #5687d0;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff !important;
  --bs-btn-active-bg: #5687d0;
  --bs-btn-active-border-color: #5687d0;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #5687d0;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #5687d0;
  --bs-gradient: none;
}

.fc .fc-button-primary {
  background-color: #5687d0 !important;
  border-color: #5687d0 !important;
  color: #FFFFFF !important;
}

.btn:focus, .btn.focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus, .btn-primary:focus, .btn-primary.focus, .btn-danger:focus, .btn-danger.focus, .btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus, .show > .btn-danger.dropdown-toggle:focus {
  box-shadow: none;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary, .btn-primary:active:focus, .btn-primary:active:hover, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
  background-color: rgb(74.0291666667, 126.5, 204.6708333333);
  border-color: rgb(74.0291666667, 126.5, 204.6708333333);
  color: #FFFFFF;
}

.btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
  background-image: none;
}

.btn-primary.disabled, .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled:active, .btn-primary.disabled.active, .btn-primary[disabled], .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled]:active, .btn-primary.active[disabled], fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary.active, .dropdown-item.active, .dropdown-item:active {
  background-color: rgb(101.9611111111, 146.3333333333, 212.4388888889);
  border-color: rgb(101.9611111111, 146.3333333333, 212.4388888889);
}

.btn-default {
  color: inherit;
  background: white;
  border: 1px solid #e7eaec;
}

.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default, .btn-default:active:focus, .btn-default:active:hover, .btn-default.active:hover, .btn-default.active:focus {
  color: inherit;
  border: 1px solid #d2d2d2;
}

.btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) inset;
}

.btn-default.disabled, .btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled:active, .btn-default.disabled.active, .btn-default[disabled], .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled]:active, .btn-default.active[disabled], fieldset[disabled] .btn-default, fieldset[disabled] .btn-default:hover, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default.active {
  color: #cacaca;
}

.btn-warning {
  background-color: #f8ac59;
  border-color: #f8ac59;
  color: #FFFFFF;
}

.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning, .btn-warning:active:focus, .btn-warning:active:hover, .btn-warning.active:hover, .btn-warning.active:focus {
  background-color: rgb(247.3809248555, 164.6595375723, 74.3190751445);
  border-color: rgb(247.3809248555, 164.6595375723, 74.3190751445);
  color: #FFFFFF;
}

.btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning {
  background-image: none;
}

.btn-warning.disabled, .btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled:active, .btn-warning.disabled.active, .btn-warning[disabled], .btn-warning[disabled]:hover, .btn-warning[disabled]:focus, .btn-warning[disabled]:active, .btn-warning.active[disabled], fieldset[disabled] .btn-warning, fieldset[disabled] .btn-warning:hover, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning:active, fieldset[disabled] .btn-warning.active {
  background-color: rgb(248.825433526, 181.787283237, 108.574566474);
  border-color: rgb(248.825433526, 181.787283237, 108.574566474);
}

.btn-danger {
  background-color: #ED5565;
  border-color: #ED5565;
  color: #FFFFFF;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .open .dropdown-toggle.btn-danger, .btn-danger:active:focus, .btn-danger:active:hover, .btn-danger.active:hover, .btn-danger.active:focus {
  background-color: rgb(235.535106383, 71.164893617, 88.4670212766);
  border-color: rgb(235.535106383, 71.164893617, 88.4670212766);
  color: #FFFFFF;
}

.btn-danger:active, .btn-danger.active, .open .dropdown-toggle.btn-danger {
  background-image: none;
}

.btn-danger.disabled, .btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled:active, .btn-danger.disabled.active, .btn-danger[disabled], .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled]:active, .btn-danger.active[disabled], fieldset[disabled] .btn-danger, fieldset[disabled] .btn-danger:hover, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger:active, fieldset[disabled] .btn-danger.active {
  background-color: rgb(238.9531914894, 103.4468085106, 117.7106382979);
  border-color: rgb(238.9531914894, 103.4468085106, 117.7106382979);
}

/* Unify Buttons - Bruges til slideren, for at lave preview
------------------------------------*/
/* Button Primary */
.u-btn-primary {
  color: #fff;
  background-color: #72c02c;
}

.u-btn-primary:hover, .u-btn-primary.active {
  border-color: #8cd54a;
  background-color: #8cd54a;
}

/* Button White */
.u-btn-white {
  color: #555;
  background-color: #fff;
}

.u-btn-white:hover, .u-btn-white.active {
  border-color: white;
  background-color: white;
}

/* Button Black */
.u-btn-black {
  color: #fff;
  background-color: #000;
}

.u-btn-black:hover, .u-btn-black.active {
  border-color: #1a1a1a;
  background-color: #1a1a1a;
}

/* Button Dark Gray */
.u-btn-darkgray {
  color: #fff;
  background-color: #333;
}

.u-btn-darkgray:hover, .u-btn-darkgray.active {
  border-color: #4d4d4d;
  background-color: #4d4d4d;
}

/* Button Red */
.u-btn-red {
  color: #fff;
  background-color: #f00;
}

.u-btn-red:hover, .u-btn-red.active {
  border-color: #ff3333;
  background-color: #ff3333;
}

/* Button Red Tomato */
.u-btn-lightred {
  color: #fff;
  background-color: #e64b3b;
}

.u-btn-lightred:hover, .u-btn-lightred.active {
  border-color: #ec7568;
  background-color: #ec7568;
}

/* Button Dark Red */
.u-btn-darkred {
  color: #fff;
  background-color: #a10f2b;
}

.u-btn-darkred:hover, .u-btn-darkred.active {
  border-color: #d01337;
  background-color: #d01337;
}

/* Button Blue */
.u-btn-blue {
  color: #fff;
  background-color: #3398dc;
}

.u-btn-blue:hover, .u-btn-blue.active {
  border-color: #5faee3;
  background-color: #5faee3;
}

/* Button Indigo */
.u-btn-indigo {
  color: #fff;
  background-color: #4263a3;
}

.u-btn-indigo:hover, .u-btn-indigo.active {
  border-color: #5b7cbd;
  background-color: #5b7cbd;
}

/* Button Purple */
.u-btn-purple {
  color: #fff;
  background-color: #9a69cb;
}

.u-btn-purple:hover, .u-btn-purple.active {
  border-color: #b48fd8;
  background-color: #b48fd8;
}

/* Button Dark Purple */
.u-btn-darkpurple {
  color: #fff;
  background-color: #6639b6;
}

.u-btn-darkpurple:hover, .u-btn-darkpurple.active {
  border-color: #8157cb;
  background-color: #8157cb;
}

/* Button Pink */
.u-btn-pink {
  color: #fff;
  background-color: #e81c62;
}

.u-btn-pink:hover, .u-btn-pink.active {
  border-color: #ed4a82;
  background-color: #ed4a82;
}

/* Button Orange */
.u-btn-orange {
  color: #fff;
  background-color: #e57d20;
}

.u-btn-orange:hover, .u-btn-orange.active {
  border-color: #ea984e;
  background-color: #ea984e;
}

/* Button Deep Orange */
.u-btn-deeporange {
  color: #fff;
  background-color: #fe541e;
}

.u-btn-deeporange:hover, .u-btn-deeporange.active {
  border-color: #fe7b51;
  background-color: #fe7b51;
}

/* Button Yellow */
.u-btn-yellow {
  color: #555;
  background-color: #ebc71d;
}

.u-btn-yellow:hover, .u-btn-yellow.active {
  border-color: #efd34c;
  background-color: #efd34c;
}

/* Button Aqua */
.u-btn-aqua {
  color: #fff;
  background-color: #29d6e6;
}

.u-btn-aqua:hover, .u-btn-aqua.active {
  border-color: #57dfeb;
  background-color: #57dfeb;
}

/* Button Cyan */
.u-btn-cyan {
  color: #fff;
  background-color: #00bed6;
}

.u-btn-cyan:hover, .u-btn-cyan.active {
  border-color: #0ae4ff;
  background-color: #0ae4ff;
}

/* Button Teal */
.u-btn-teal {
  color: #fff;
  background-color: #18ba9b;
}

.u-btn-teal:hover, .u-btn-teal.active {
  border-color: #22e3be;
  background-color: #22e3be;
}

/* Button Brown */
.u-btn-brown {
  color: #fff;
  background-color: #9c8061;
}

.u-btn-brown:hover, .u-btn-brown.active {
  border-color: #b09980;
  background-color: #b09980;
}

/* Button Bluegrey */
.u-btn-bluegray {
  color: #fff;
  background-color: #585f69;
}

.u-btn-bluegray:hover, .u-btn-bluegray.active {
  border-color: #6f7885;
  background-color: #6f7885;
}

.u-btn-xs {
  font-size: 10px;
}

.u-btn-sm {
  font-size: 12px;
}

.u-btn-lg {
  font-size: 16px;
}

.u-btn-xl {
  font-size: 20px;
}

.btn.disabled, .btn:disabled {
  cursor: not-allowed;
}

.selectedCountDT:hover {
  color: #fff !important;
  cursor: pointer !important;
}

.ibox-tools .btn-sm {
  --bs-btn-padding-y: 0.1rem;
}

/*.btn:focus {
    color: var(--bs-btn-color);
}*/
.no-borders {
  border: none !important;
}

.no-top-border {
  border-top: 0 !important;
}

.border-left-right {
  border-left: 1px solid #e7eaec !important;
  border-right: 1px solid #e7eaec !important;
}

.border-top-bottom {
  border-top: 1px solid #e7eaec !important;
  border-bottom: 1px solid #e7eaec !important;
}

.border-left {
  border-left: 1px solid #e7eaec !important;
}

.border-right {
  border-right: 1px solid #e7eaec !important;
}

.border-top {
  border-top: 1px solid #e7eaec !important;
}

.border-bottom {
  border-bottom: 1px solid #e7eaec !important;
}

.border-bottom-2px {
  border-bottom: 2px solid #e7eaec;
}

.border-top-width-3px {
  border-top-width: 3px;
}

@media (min-width: 576px) {
  .border-right-sm {
    border-right: 1px solid #e7eaec !important;
  }
  .border-right-sm-none {
    border-right: none !important;
  }
}
@media (min-width: 768px) {
  .border-right-md {
    border-right: 1px solid #e7eaec !important;
  }
  .border-right-md-none {
    border-right: none !important;
  }
}
@media (min-width: 992px) {
  .border-right-lg {
    border-right: 1px solid #e7eaec !important;
  }
  .border-right-lg-none {
    border-right: none !important;
  }
  .border-left-lg {
    border-left: 1px solid #e7eaec !important;
  }
  .border-lg-none {
    border: none !important;
  }
  .border-top-lg {
    border-top: 1px solid #e7eaec !important;
  }
}
@media (min-width: 1200px) {
  .border-right-xl {
    border-right: 1px solid #e7eaec !important;
  }
  .border-right-xl-none {
    border-right: none !important;
  }
  .border-left-xl {
    border-left: 1px solid #e7eaec !important;
  }
}
@media (min-width: 1400px) {
  .border-right-xxl {
    border-right: 1px solid #e7eaec !important;
  }
  .border-right-xxl-none {
    border-right: none !important;
  }
}
.no-padding {
  padding: 0 !important;
}

.no-margin {
  margin: 0 !important;
}

.margin-bottom-none {
  margin-bottom: 0;
}
.margin-bottom-5 {
  margin-bottom: 5px;
}
.margin-bottom-10 {
  margin-bottom: 10px;
}
.margin-bottom-15 {
  margin-bottom: 15px;
}
.margin-bottom-15-important {
  margin-bottom: 15px !important;
}
.margin-bottom-20 {
  margin-bottom: 20px;
}
.margin-bottom-25 {
  margin-bottom: 25px;
}
.margin-bottom-30 {
  margin-bottom: 30px;
}
.margin-bottom-35 {
  margin-bottom: 35px;
}
.margin-bottom-50 {
  margin-bottom: 50px;
}
.margin-top-auto {
  margin-top: auto !important;
}
.margin-top-none {
  margin-top: 0;
}
.margin-top-5 {
  margin-top: 5px;
}
.margin-top-10 {
  margin-top: 10px !important;
}
.margin-top-15 {
  margin-top: 15px;
}
.margin-top-20 {
  margin-top: 20px;
}
.margin-top-25 {
  margin-top: 25px;
}
.margin-top-30 {
  margin-top: 30px;
}
.margin-top-50 {
  margin-top: 50px;
}
.margin-top-n-10 {
  margin-top: -10px;
}
.margin-left-auto {
  margin-left: auto !important;
}
.margin-left-none {
  margin-left: 0;
}
.margin-left-2 {
  margin-left: 2px;
}
.margin-left-5 {
  margin-left: 5px;
}
.margin-left-10 {
  margin-left: 10px;
}
.margin-left-15 {
  margin-left: 15px;
}
.margin-left-20 {
  margin-left: 20px;
}
.margin-left-25 {
  margin-left: 25px;
}
.margin-left-n-15 {
  margin-left: -15px;
}
.margin-right-auto {
  margin-right: auto !important;
}
.margin-right-none {
  margin-right: 0;
}
.margin-right-5 {
  margin-right: 5px;
}
.margin-right-10 {
  margin-right: 10px;
}
.margin-right-n-15 {
  margin-right: -15px;
}
.margin-lr-none {
  margin-left: 0;
  margin-right: 0;
}
.margin-lr-10 {
  margin-left: 10px;
  margin-right: 10px;
}
.margin-lr-15 {
  margin-left: 15px;
  margin-right: 15px;
}
.margin-lr-n-15 {
  margin-left: -15px;
  margin-right: -15px;
}

.padding-bottom-none {
  padding-bottom: 0 !important;
}
.padding-bottom-5 {
  padding-bottom: 5px !important;
}
.padding-bottom-15 {
  padding-bottom: 15px !important;
}
.padding-left-none {
  padding-left: 0 !important;
}
.padding-left-5 {
  padding-left: 5px !important;
}
.padding-right-none {
  padding-right: 0 !important;
}
.padding-right-5 {
  padding-right: 5px !important;
}
.padding-right-10 {
  padding-right: 10px !important;
}
.padding-right-30 {
  padding-right: 30px !important;
}
.padding-right-45 {
  padding-right: 45px !important;
}
.padding-lr-5 {
  padding-right: 5px !important;
  padding-left: 5px !important;
}
.padding-lr-10 {
  padding-right: 10px !important;
  padding-left: 10px !important;
}
.padding-lr-15 {
  padding-right: 15px !important;
  padding-left: 15px !important;
}
.padding-tb-5 {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}
.padding-tb-10 {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
.padding-top-50 {
  padding-top: 50px !important;
}

.float-e-margins .btn {
  margin-bottom: 5px;
}

/* Plugins */
/*
* This combined file was created by the DataTables downloader builder:
*   https://datatables.net/download
*
* To rebuild or modify this file with the latest versions of the included
* software please visit:
*   https://datatables.net/download/#bs5/dt-1.13.4/b-2.3.6/b-colvis-2.3.6/sl-1.6.2
*
* Included libraries:
*  DataTables 1.13.4, Buttons 2.3.6, Column visibility 2.3.6, Select 1.6.2
*/
:root {
  --dt-row-selected: 13, 110, 253;
  --dt-row-selected-text: 255, 255, 255;
  --dt-row-selected-link: 9, 10, 11;
}

table.dataTable td.dt-control {
  text-align: center;
  cursor: pointer;
}

table.dataTable td.dt-control:before {
  height: 1em;
  width: 1em;
  margin-top: -9px;
  display: inline-block;
  color: white;
  border: 0.15em solid white;
  border-radius: 1em;
  box-shadow: 0 0 0.2em #444;
  box-sizing: content-box;
  text-align: center;
  text-indent: 0 !important;
  font-family: "Courier New", Courier, monospace;
  line-height: 1em;
  content: "+";
  background-color: #31b131;
}

table.dataTable tr.dt-hasChild td.dt-control:before {
  content: "-";
  background-color: #d33333;
}

table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting_asc_disabled, table.dataTable thead > tr > th.sorting_desc_disabled,
table.dataTable thead > tr > td.sorting,
table.dataTable thead > tr > td.sorting_asc,
table.dataTable thead > tr > td.sorting_desc,
table.dataTable thead > tr > td.sorting_asc_disabled,
table.dataTable thead > tr > td.sorting_desc_disabled {
  cursor: pointer;
  position: relative;
  /*padding-right: 26px;*/
}

table.dataTable thead > tr > th.sorting:before, table.dataTable thead > tr > th.sorting:after, table.dataTable thead > tr > th.sorting_asc:before, table.dataTable thead > tr > th.sorting_asc:after, table.dataTable thead > tr > th.sorting_desc:before, table.dataTable thead > tr > th.sorting_desc:after, table.dataTable thead > tr > th.sorting_asc_disabled:before, table.dataTable thead > tr > th.sorting_asc_disabled:after, table.dataTable thead > tr > th.sorting_desc_disabled:before, table.dataTable thead > tr > th.sorting_desc_disabled:after,
table.dataTable thead > tr > td.sorting:before,
table.dataTable thead > tr > td.sorting:after,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_asc:after,
table.dataTable thead > tr > td.sorting_desc:before,
table.dataTable thead > tr > td.sorting_desc:after,
table.dataTable thead > tr > td.sorting_asc_disabled:before,
table.dataTable thead > tr > td.sorting_asc_disabled:after,
table.dataTable thead > tr > td.sorting_desc_disabled:before,
table.dataTable thead > tr > td.sorting_desc_disabled:after {
  position: absolute;
  display: block;
  opacity: 0.125;
  right: 10px;
  line-height: 9px;
  font-size: 0.8em;
}

table.dataTable thead > tr > th.sorting:before, table.dataTable thead > tr > th.sorting_asc:before, table.dataTable thead > tr > th.sorting_desc:before, table.dataTable thead > tr > th.sorting_asc_disabled:before, table.dataTable thead > tr > th.sorting_desc_disabled:before,
table.dataTable thead > tr > td.sorting:before,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_desc:before,
table.dataTable thead > tr > td.sorting_asc_disabled:before,
table.dataTable thead > tr > td.sorting_desc_disabled:before {
  bottom: 50%;
  content: "▲";
  content: "▲"/"";
}

table.dataTable thead > tr > th.sorting:after, table.dataTable thead > tr > th.sorting_asc:after, table.dataTable thead > tr > th.sorting_desc:after, table.dataTable thead > tr > th.sorting_asc_disabled:after, table.dataTable thead > tr > th.sorting_desc_disabled:after,
table.dataTable thead > tr > td.sorting:after,
table.dataTable thead > tr > td.sorting_asc:after,
table.dataTable thead > tr > td.sorting_desc:after,
table.dataTable thead > tr > td.sorting_asc_disabled:after,
table.dataTable thead > tr > td.sorting_desc_disabled:after {
  top: 50%;
  content: "▼";
  content: "▼"/"";
}

table.dataTable thead > tr > th.sorting_asc:before, table.dataTable thead > tr > th.sorting_desc:after,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_desc:after {
  opacity: 0.6;
}

table.dataTable thead > tr > th.sorting_desc_disabled:after, table.dataTable thead > tr > th.sorting_asc_disabled:before,
table.dataTable thead > tr > td.sorting_desc_disabled:after,
table.dataTable thead > tr > td.sorting_asc_disabled:before {
  display: none;
}

table.dataTable thead > tr > th:active,
table.dataTable thead > tr > td:active {
  outline: none;
}

div.dataTables_scrollBody > table.dataTable > thead > tr > th:before, div.dataTables_scrollBody > table.dataTable > thead > tr > th:after,
div.dataTables_scrollBody > table.dataTable > thead > tr > td:before,
div.dataTables_scrollBody > table.dataTable > thead > tr > td:after {
  display: none;
}

div.dataTables_processing {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  margin-left: -100px;
  margin-top: -26px;
  text-align: center;
  padding: 2px;
}

div.dataTables_processing > div:last-child {
  position: relative;
  width: 80px;
  height: 15px;
  margin: 1em auto;
}

div.dataTables_processing > div:last-child > div {
  position: absolute;
  top: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgb(13, 110, 253);
  background: rgb(var(--dt-row-selected));
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

div.dataTables_processing > div:last-child > div:nth-child(1) {
  left: 8px;
  animation: datatables-loader-1 0.6s infinite;
}

div.dataTables_processing > div:last-child > div:nth-child(2) {
  left: 8px;
  animation: datatables-loader-2 0.6s infinite;
}

div.dataTables_processing > div:last-child > div:nth-child(3) {
  left: 32px;
  animation: datatables-loader-2 0.6s infinite;
}

div.dataTables_processing > div:last-child > div:nth-child(4) {
  left: 56px;
  animation: datatables-loader-3 0.6s infinite;
}

@keyframes datatables-loader-1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes datatables-loader-3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes datatables-loader-2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}
table.dataTable.nowrap th, table.dataTable.nowrap td {
  white-space: nowrap;
}

table.dataTable th.dt-left,
table.dataTable td.dt-left {
  text-align: left;
}

table.dataTable th.dt-center,
table.dataTable td.dt-center,
table.dataTable td.dataTables_empty {
  text-align: center;
}

table.dataTable th.dt-right,
table.dataTable td.dt-right {
  text-align: right;
}

table.dataTable th.dt-justify,
table.dataTable td.dt-justify {
  text-align: justify;
}

table.dataTable th.dt-nowrap,
table.dataTable td.dt-nowrap {
  white-space: nowrap;
}

table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td {
  text-align: left;
}

table.dataTable thead th.dt-head-left,
table.dataTable thead td.dt-head-left,
table.dataTable tfoot th.dt-head-left,
table.dataTable tfoot td.dt-head-left {
  text-align: left;
}

table.dataTable thead th.dt-head-center,
table.dataTable thead td.dt-head-center,
table.dataTable tfoot th.dt-head-center,
table.dataTable tfoot td.dt-head-center {
  text-align: center;
}

table.dataTable thead th.dt-head-right,
table.dataTable thead td.dt-head-right,
table.dataTable tfoot th.dt-head-right,
table.dataTable tfoot td.dt-head-right {
  text-align: right;
}

table.dataTable thead th.dt-head-justify,
table.dataTable thead td.dt-head-justify,
table.dataTable tfoot th.dt-head-justify,
table.dataTable tfoot td.dt-head-justify {
  text-align: justify;
}

table.dataTable thead th.dt-head-nowrap,
table.dataTable thead td.dt-head-nowrap,
table.dataTable tfoot th.dt-head-nowrap,
table.dataTable tfoot td.dt-head-nowrap {
  white-space: nowrap;
}

table.dataTable tbody th.dt-body-left,
table.dataTable tbody td.dt-body-left {
  text-align: left;
}

table.dataTable tbody th.dt-body-center,
table.dataTable tbody td.dt-body-center {
  text-align: center;
}

table.dataTable tbody th.dt-body-right,
table.dataTable tbody td.dt-body-right {
  text-align: right;
}

table.dataTable tbody th.dt-body-justify,
table.dataTable tbody td.dt-body-justify {
  text-align: justify;
}

table.dataTable tbody th.dt-body-nowrap,
table.dataTable tbody td.dt-body-nowrap {
  white-space: nowrap;
}

/*! Bootstrap 5 integration for DataTables
 *
 * ©2020 SpryMedia Ltd, all rights reserved.
 * License: MIT datatables.net/license/mit
 */
table.dataTable {
  clear: both;
  margin-top: 6px !important;
  margin-bottom: 6px !important;
  max-width: none !important;
  border-collapse: separate !important;
  border-spacing: 0;
}

table.dataTable td,
table.dataTable th {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

table.dataTable td.dataTables_empty,
table.dataTable th.dataTables_empty {
  text-align: center;
}

table.dataTable.nowrap th,
table.dataTable.nowrap td {
  white-space: nowrap;
}

table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) > * {
  box-shadow: none;
}

table.dataTable > tbody > tr {
  background-color: transparent;
}

/*table.dataTable > tbody > tr.selected > * {
  box-shadow: inset 0 0 0 9999px rgb(13, 110, 253);
  box-shadow: inset 0 0 0 9999px rgb(var(--dt-row-selected));
  color: rgb(255, 255, 255);
  color: rgb(var(--dt-row-selected-text));
}
table.dataTable > tbody > tr.selected a {
  color: rgb(9, 10, 11);
  color: rgb(var(--dt-row-selected-link));
}*/
table.dataTable.table-striped > tbody > tr.odd > * {
  box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.05);
}

/*table.dataTable.table-striped > tbody > tr.odd.selected > * {
  box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.95);
  box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.95);
}*/
table.dataTable.table-hover > tbody > tr:hover > * {
  box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.075);
}

/*table.dataTable.table-hover > tbody > tr.selected:hover > * {
  box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.975);
  box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.975);
}*/
div.dataTables_wrapper div.dataTables_length label {
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
}

div.dataTables_wrapper div.dataTables_length select {
  width: auto;
  display: inline-block;
}

div.dataTables_wrapper div.dataTables_filter {
  text-align: right;
}

div.dataTables_wrapper div.dataTables_filter label {
  font-weight: normal;
  white-space: nowrap;
  text-align: left;
}

div.dataTables_wrapper div.dataTables_filter input {
  margin-left: 0.5em;
  display: inline-block;
  width: auto;
}

div.dataTables_wrapper div.dataTables_info {
  padding-top: 0.85em;
}

div.dataTables_wrapper div.dataTables_paginate {
  margin: 0;
  white-space: nowrap;
  text-align: right;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  margin: 2px 0;
  white-space: nowrap;
  justify-content: flex-end;
}

div.dataTables_wrapper div.dt-row {
  position: relative;
}

div.dataTables_scrollHead table.dataTable {
  margin-bottom: 0 !important;
}

div.dataTables_scrollBody > table {
  border-top: none;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

div.dataTables_scrollBody > table > thead .sorting:before,
div.dataTables_scrollBody > table > thead .sorting_asc:before,
div.dataTables_scrollBody > table > thead .sorting_desc:before,
div.dataTables_scrollBody > table > thead .sorting:after,
div.dataTables_scrollBody > table > thead .sorting_asc:after,
div.dataTables_scrollBody > table > thead .sorting_desc:after {
  display: none;
}

div.dataTables_scrollBody > table > tbody tr:first-child th,
div.dataTables_scrollBody > table > tbody tr:first-child td {
  border-top: none;
}

div.dataTables_scrollFoot > .dataTables_scrollFootInner {
  box-sizing: content-box;
}

div.dataTables_scrollFoot > .dataTables_scrollFootInner > table {
  margin-top: 0 !important;
  border-top: none;
}

@media screen and (max-width: 767px) {
  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: center;
  }
  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center !important;
  }
}
table.dataTable.table-sm > thead > tr > th:not(.sorting_disabled) {
  padding-right: 20px;
}

table.table-bordered.dataTable {
  border-right-width: 0;
}

table.table-bordered.dataTable thead tr:first-child th,
table.table-bordered.dataTable thead tr:first-child td {
  border-top-width: 1px;
}

table.table-bordered.dataTable th,
table.table-bordered.dataTable td {
  border-left-width: 0;
}

table.table-bordered.dataTable th:first-child, table.table-bordered.dataTable th:first-child,
table.table-bordered.dataTable td:first-child,
table.table-bordered.dataTable td:first-child {
  border-left-width: 1px;
}

table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
table.table-bordered.dataTable td:last-child,
table.table-bordered.dataTable td:last-child {
  border-right-width: 1px;
}

table.table-bordered.dataTable th,
table.table-bordered.dataTable td {
  border-bottom-width: 1px;
}

div.dataTables_scrollHead table.table-bordered {
  border-bottom-width: 0;
}

div.table-responsive > div.dataTables_wrapper > div.row {
  margin: 0;
}

div.table-responsive > div.dataTables_wrapper > div.row > div[class^=col-]:first-child {
  padding-left: 0;
}

div.table-responsive > div.dataTables_wrapper > div.row > div[class^=col-]:last-child {
  padding-right: 0;
}

@keyframes dtb-spinner {
  100% {
    transform: rotate(360deg);
  }
}
@-o-keyframes dtb-spinner {
  100% {
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-ms-keyframes dtb-spinner {
  100% {
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes dtb-spinner {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes dtb-spinner {
  100% {
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
div.dataTables_wrapper {
  position: relative;
}

div.dt-buttons {
  position: initial;
}

div.dt-buttons .dt-button {
  overflow: hidden;
  text-overflow: ellipsis;
}

div.dt-button-info {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 400px;
  margin-top: -100px;
  margin-left: -200px;
  background-color: white;
  border: 2px solid #111;
  box-shadow: 3px 4px 10px 1px rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  text-align: center;
  z-index: 21;
}

div.dt-button-info h2 {
  padding: 0.5em;
  margin: 0;
  font-weight: normal;
  border-bottom: 1px solid #ddd;
  background-color: #f3f3f3;
}

div.dt-button-info > div {
  padding: 1em;
}

div.dtb-popover-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border: 1px solid #eaeaea;
  background-color: #f9f9f9;
  text-align: center;
  border-radius: 3px;
  cursor: pointer;
  z-index: 2003;
}

button.dtb-hide-drop {
  display: none !important;
}

div.dt-button-collection-title {
  text-align: center;
  padding: 0.3em 0 0.5em;
  margin-left: 0.5em;
  margin-right: 0.5em;
  font-size: 0.9em;
}

div.dt-button-collection-title:empty {
  display: none;
}

span.dt-button-spacer {
  display: inline-block;
  margin: 0.5em;
  white-space: nowrap;
}

span.dt-button-spacer.bar {
  border-left: 1px solid rgba(0, 0, 0, 0.3);
  vertical-align: middle;
  padding-left: 0.5em;
}

span.dt-button-spacer.bar:empty {
  height: 1em;
  width: 1px;
  padding-left: 0;
}

div.dt-button-collection span.dt-button-spacer {
  width: 100%;
  font-size: 0.9em;
  text-align: center;
  margin: 0.5em 0;
}

div.dt-button-collection span.dt-button-spacer:empty {
  height: 0;
  width: 100%;
}

div.dt-button-collection span.dt-button-spacer.bar {
  border-left: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  padding-left: 0;
}

div.dt-button-collection {
  position: absolute;
  z-index: 2001;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  padding: 0.5rem;
  width: 218px;
}

div.dt-button-collection div.dropdown-menu {
  position: relative;
  display: block;
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  z-index: 2002;
  min-width: 100%;
}

div.dt-button-collection.fixed {
  position: fixed;
  display: block;
  top: 50%;
  left: 50%;
  margin-left: -75px;
  border-radius: 5px;
  background-color: white;
}

div.dt-button-collection.fixed.two-column {
  margin-left: -200px;
}

div.dt-button-collection.fixed.three-column {
  margin-left: -225px;
}

div.dt-button-collection.fixed.four-column {
  margin-left: -300px;
}

div.dt-button-collection.fixed.columns {
  margin-left: -409px;
}

@media screen and (max-width: 1024px) {
  div.dt-button-collection.fixed.columns {
    margin-left: -308px;
  }
}
@media screen and (max-width: 640px) {
  div.dt-button-collection.fixed.columns {
    margin-left: -203px;
  }
}
@media screen and (max-width: 460px) {
  div.dt-button-collection.fixed.columns {
    margin-left: -100px;
  }
}
div.dt-button-collection.fixed > :last-child {
  max-height: 100vh;
  overflow: auto;
}

div.dt-button-collection.two-column > :last-child, div.dt-button-collection.three-column > :last-child, div.dt-button-collection.four-column > :last-child {
  display: block !important;
  -webkit-column-gap: 8px;
  -moz-column-gap: 8px;
  -ms-column-gap: 8px;
  -o-column-gap: 8px;
  column-gap: 8px;
}

div.dt-button-collection.two-column > :last-child > *, div.dt-button-collection.three-column > :last-child > *, div.dt-button-collection.four-column > :last-child > * {
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
}

div.dt-button-collection.two-column {
  width: 400px;
}

div.dt-button-collection.two-column > :last-child {
  padding-bottom: 1px;
  column-count: 2;
}

div.dt-button-collection.three-column {
  width: 450px;
}

div.dt-button-collection.three-column > :last-child {
  padding-bottom: 1px;
  column-count: 3;
}

div.dt-button-collection.four-column {
  width: 600px;
}

div.dt-button-collection.four-column > :last-child {
  padding-bottom: 1px;
  column-count: 4;
}

div.dt-button-collection .dt-button {
  border-radius: 0;
}

div.dt-button-collection.columns {
  width: auto;
}

div.dt-button-collection.columns > :last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  width: 818px;
  padding-bottom: 1px;
}

div.dt-button-collection.columns > :last-child .dt-button {
  min-width: 200px;
  flex: 0 1;
  margin: 0;
}

div.dt-button-collection.columns.dtb-b3 > :last-child, div.dt-button-collection.columns.dtb-b2 > :last-child, div.dt-button-collection.columns.dtb-b1 > :last-child {
  justify-content: space-between;
}

div.dt-button-collection.columns.dtb-b3 .dt-button {
  flex: 1 1 32%;
}

div.dt-button-collection.columns.dtb-b2 .dt-button {
  flex: 1 1 48%;
}

div.dt-button-collection.columns.dtb-b1 .dt-button {
  flex: 1 1 100%;
}

@media screen and (max-width: 1024px) {
  div.dt-button-collection.columns > :last-child {
    width: 612px;
  }
}
@media screen and (max-width: 640px) {
  div.dt-button-collection.columns > :last-child {
    width: 406px;
  }
  div.dt-button-collection.columns.dtb-b3 .dt-button {
    flex: 0 1 32%;
  }
}
@media screen and (max-width: 460px) {
  div.dt-button-collection.columns > :last-child {
    width: 200px;
  }
}
div.dt-button-collection.fixed:before, div.dt-button-collection.fixed:after {
  display: none;
}

div.dt-button-collection .btn-group {
  flex: 1 1 auto;
}

div.dt-button-collection .dt-button:not(.dt-btn-split-drop) {
  min-width: 200px;
}

div.dt-button-collection div.dt-btn-split-wrapper {
  width: 100%;
}

div.dt-button-collection button.dt-btn-split-drop-button {
  width: 100%;
  color: #212529;
  border: none;
  background-color: white;
  border-radius: 0px;
  margin-left: 0px !important;
}

div.dt-button-collection button.dt-btn-split-drop-button:focus {
  border: none;
  border-radius: 0px;
  outline: none;
}

div.dt-button-collection button.dt-btn-split-drop-button:hover {
  background-color: #e9ecef;
}

div.dt-button-collection button.dt-btn-split-drop-button:active {
  background-color: #007bff !important;
}

div.dt-button-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}

@media screen and (max-width: 767px) {
  div.dt-buttons {
    float: none;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5em;
  }
  div.dt-buttons a.btn {
    float: none;
  }
}
div.dt-buttons button.btn.processing,
div.dt-buttons div.btn.processing,
div.dt-buttons a.btn.processing {
  color: rgba(0, 0, 0, 0.2);
}

div.dt-buttons button.btn.processing:after,
div.dt-buttons div.btn.processing:after,
div.dt-buttons a.btn.processing:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  box-sizing: border-box;
  display: block;
  content: " ";
  border: 2px solid rgb(40, 40, 40);
  border-radius: 50%;
  border-left-color: transparent;
  border-right-color: transparent;
  animation: dtb-spinner 1500ms infinite linear;
  -o-animation: dtb-spinner 1500ms infinite linear;
  -ms-animation: dtb-spinner 1500ms infinite linear;
  -webkit-animation: dtb-spinner 1500ms infinite linear;
  -moz-animation: dtb-spinner 1500ms infinite linear;
}

div.dt-buttons div.btn-group {
  position: initial;
}

div.dt-btn-split-wrapper button.dt-btn-split-drop {
  border-top-right-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
}

div.dt-btn-split-wrapper:active:not(.disabled) button, div.dt-btn-split-wrapper.active:not(.disabled) button {
  background-color: #5a6268;
  border-color: #545b62;
}

div.dt-btn-split-wrapper:active:not(.disabled) button.dt-btn-split-drop, div.dt-btn-split-wrapper.active:not(.disabled) button.dt-btn-split-drop {
  box-shadow: none;
  background-color: #6c757d;
  border-color: #6c757d;
}

div.dt-btn-split-wrapper:active:not(.disabled) button:hover, div.dt-btn-split-wrapper.active:not(.disabled) button:hover {
  background-color: #5a6268;
  border-color: #545b62;
}

div.dataTables_wrapper div.dt-buttons.btn-group div.btn-group {
  border-radius: 4px !important;
}

div.dataTables_wrapper div.dt-buttons.btn-group div.btn-group:last-child {
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

div.dataTables_wrapper div.dt-buttons.btn-group div.btn-group:first-child {
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

div.dataTables_wrapper div.dt-buttons.btn-group div.btn-group:last-child:first-child {
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}

div.dataTables_wrapper div.dt-buttons.btn-group div.btn-group button.dt-btn-split-drop:last-child {
  border: 1px solid rgb(108, 117, 125);
}

div.dataTables_wrapper div.dt-buttons.btn-group div.btn-group div.dt-btn-split-wrapper {
  border: none;
}

div.dt-button-collection div.btn-group {
  border-radius: 4px !important;
}

div.dt-button-collection div.btn-group button {
  border-radius: 4px;
}

div.dt-button-collection div.btn-group button:last-child {
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

div.dt-button-collection div.btn-group button:first-child {
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

div.dt-button-collection div.btn-group button:last-child:first-child {
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}

div.dt-button-collection div.btn-group button.dt-btn-split-drop:last-child {
  border: 1px solid rgb(108, 117, 125);
}

div.dt-button-collection div.btn-group div.dt-btn-split-wrapper {
  border: none;
}

span.dt-button-spacer.bar:empty {
  height: inherit;
}

div.dt-button-collection span.dt-button-spacer {
  padding-left: 1rem !important;
  text-align: left;
}

/*table.dataTable > tbody > tr > .selected {
  background-color: rgba(13, 110, 253, 0.9);
  color: white;
}*/
table.dataTable > tbody > tr > td.select-checkbox,
table.dataTable > tbody > tr > th.select-checkbox {
  position: relative;
}

table.dataTable > tbody > tr > td.select-checkbox:before, table.dataTable > tbody > tr > td.select-checkbox:after,
table.dataTable > tbody > tr > th.select-checkbox:before,
table.dataTable > tbody > tr > th.select-checkbox:after {
  display: block;
  position: absolute;
  top: 1.2em;
  left: 50%;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
}

table.dataTable > tbody > tr > td.select-checkbox:before,
table.dataTable > tbody > tr > th.select-checkbox:before {
  content: " ";
  margin-top: -5px;
  margin-left: -6px;
  border: 1px solid black;
  border-radius: 3px;
}

table.dataTable > tbody > tr.selected > td.select-checkbox:before,
table.dataTable > tbody > tr.selected > th.select-checkbox:before {
  border: 1px solid white;
}

table.dataTable > tbody > tr.selected > td.select-checkbox:after,
table.dataTable > tbody > tr.selected > th.select-checkbox:after {
  content: "✓";
  font-size: 20px;
  margin-top: -19px;
  margin-left: -6px;
  text-align: center;
  text-shadow: 1px 1px #B0BED9, -1px -1px #B0BED9, 1px -1px #B0BED9, -1px 1px #B0BED9;
}

table.dataTable.compact > tbody > tr > td.select-checkbox:before,
table.dataTable.compact > tbody > tr > th.select-checkbox:before {
  margin-top: -12px;
}

table.dataTable.compact > tbody > tr.selected > td.select-checkbox:after,
table.dataTable.compact > tbody > tr.selected > th.select-checkbox:after {
  margin-top: -16px;
}

div.dataTables_wrapper span.select-info,
div.dataTables_wrapper span.select-item {
  margin-left: 0.5em;
}

@media screen and (max-width: 640px) {
  div.dataTables_wrapper span.select-info,
  div.dataTables_wrapper span.select-item {
    margin-left: 0;
    display: block;
  }
}
table.dataTable.table-sm tbody td.select-checkbox::before {
  margin-top: -9px;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_disabled,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
  background: transparent;
}

.dataTables_length {
  float: left;
}

.dataTables_filter label {
  margin-right: 5px;
}

.html5buttons {
  display: flex;
}
.html5buttons .dataTables_filter label {
  margin-bottom: 0px;
}
.html5buttons .dt-buttons {
  width: 100%;
}
.html5buttons .dt-buttons .btn-group:last-child {
  margin-left: auto;
}

.custombutton {
  height: 32px;
}

.html5buttons button, .custombutton {
  border: 1px solid #e7eaec !important;
  background: #fff;
  color: #676a6c !important;
  box-shadow: none !important;
  padding: 6px 8px;
  font-size: 12px;
  flex: 0 1 auto !important;
  height: 35px;
}

.html5buttons button:hover,
.html5buttons button:focus,
.html5buttons button:active,
.custombutton:hover,
.custombutton:focus,
.custombutton:active {
  background-color: #eee !important;
  color: inherit;
  border-color: #d2d2d2;
}

div.dt-button-info {
  z-index: 100;
}

div.dataTables_wrapper div.dataTables_length select {
  width: 60px !important;
  line-height: 15px;
}
div.dataTables_wrapper div.dataTables_length select.custom-select {
  display: inline-block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  vertical-align: middle;
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right 0.75rem center/8px 10px no-repeat;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
div.dataTables_wrapper div.dataTables_length select.custom-select-sm {
  height: calc(1.5em + 0.5rem + 2px);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.5rem;
  font-size: 12px;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  background-color: #5687d0;
  border-color: #5687d0;
}

div.dt-button-background {
  background: #333;
  opacity: 0.3;
  z-index: 200;
}

.dt-button-collection {
  padding: 0 4px;
}

.dt-button-collection > a {
  color: inherit;
  line-height: 25px;
  text-align: left;
  font-weight: normal;
  margin: 4px 0;
}

.dt-button-collection > a.active,
.dt-button-collection > a.active:focus,
.dt-button-collection > a.active:hover {
  color: #fff;
  text-decoration: none;
  background-color: #5687d0;
  outline: 0;
}

.page-item.active .page-link {
  background-color: #5687d0;
  border-color: #5687d0;
}

/*.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}*/
div.dataTables_wrapper div.dataTables_filter input {
  height: 32px;
}

.multi-action {
  position: absolute;
  left: 315px;
  z-index: 1;
}

.dt-only-active {
  position: absolute;
  right: 110px;
  margin-top: 6px;
  z-index: 1;
}

.dt-only-active-no-options {
  right: 27px;
}

@media (max-width: 767px) {
  /*div.dataTables_wrapper div.dataTables_length {
      float: left;
  }*/
  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center;
  }
  .multi-action {
    position: relative;
    z-index: 1;
    text-align: right;
    margin-bottom: 10px;
    left: 0;
  }
  .dt-only-active {
    position: relative;
    z-index: 1;
    text-align: left;
    margin-bottom: 10px;
    left: 0;
    margin-top: 0;
  }
}
.selectedCountDT {
  padding: 0 !important;
  cursor: default !important;
}

table.dataTable tbody td.select-checkbox,
table.dataTable tbody th.select-checkbox {
  position: relative;
  min-width: 20px;
}

table.dataTable tbody td.select-checkbox:before, table.dataTable tbody td.select-checkbox:after,
table.dataTable tbody th.select-checkbox:before,
table.dataTable tbody th.select-checkbox:after {
  display: block;
  position: absolute;
  top: 1.2em;
  left: 50%;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
}

table.dataTable > tbody > tr > td.select-checkbox:before,
table.dataTable > tbody > tr > th.select-checkbox:before {
  /*content: ' ';
              margin-top: -6px;
              margin-left: -6px;
              border: 1px solid black;
              border-radius: 3px;*/
  content: " ";
  width: 18px;
  height: 18px;
  border: 1px solid #e7eaec;
  position: absolute;
  display: block;
  outline: none;
  border-style: solid;
  background: #fff;
  -ms-transition: border-color 0.3s;
  -moz-transition: border-color 0.3s;
  -webkit-transition: border-color 0.3s;
  top: 50%;
  left: 50%;
  cursor: pointer;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 0;
}

table.dataTable > tbody > tr.selected > td.select-checkbox:after,
table.dataTable > tbody > tr.selected > th.select-checkbox:after {
  content: "\f00c";
  margin-top: -6px;
  margin-left: -6px;
  text-align: center;
  font-family: "Font Awesome 6 Pro";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: 900;
  font-size: 9px;
  top: 50%;
  left: 50%;
  color: #000;
  text-shadow: none;
}

table.dataTable > tbody > tr.selected > td.select-checkbox:before, table.dataTable > tbody > tr.selected > th.select-checkbox:before {
  border: 1px solid #e7eaec;
}

div.dataTables_wrapper span.select-info,
div.dataTables_wrapper span.select-item {
  margin-left: 0.5em;
}

.mento-data-table-selectable .dt-remove-link {
  display: none;
}

.mento-data-table-selected tbody tr td:first-of-type {
  text-align: center;
}

div.dt-button-collection .dt-button:not(.dt-btn-split-drop) {
  min-width: auto;
  font-size: 12px;
  margin: 0 0 4px 0;
  padding: 0.45rem 1rem;
}

/*div.dt-button-collection.fixed.two-column {
    margin-left: 0;
    width: 300px;
}

div.dt-button-collection.fixed {
    position: fixed;
    top: 50%;
    left: 50%;

    .dropdown-menu {
        padding: 8px 8px 4px 8px;
        transform: translate(-50%, -50%);

        .dt-button {
            margin: 0 0 4px 0;
            padding: 0.25rem 0.5rem;
            display: inline-block;
            line-height: 25px;
            text-align: left;
            font-weight: normal;
            outline: none;
        }
    }
}*/
div.dt-button-collection-title {
  display: none;
}

.dt-button-collection > a {
  margin: 0 0 4px 0;
  padding: 0.25rem 0.5rem;
  display: inline-block;
}

.mento-data-table-special.mento-data-table-selected td:first-child {
  padding-left: 0;
  padding-right: 0;
}

/*.table-loading {
    overflow: hidden;
    height: 250px;
}*/
.table-loading-animation {
  position: absolute;
  top: 60px;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
}
.table-loading-animation .overlay {
  position: absolute;
  background-color: #fff;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.7;
}
.table-loading-animation .inner {
  position: absolute;
  z-index: 1;
  top: 35px;
}

.mento-data-table-selected .select-checkbox::before {
  display: none !important;
}

/*table.dataTable > tbody > tr.selected > *, table.dataTable.table-hover > tbody > tr.selected:hover > * {
    box-shadow: none;
    color: initial;
}

table.dataTable.table-striped > tbody > tr.odd.selected > * {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.05);
    color: initial;
}
*/
/*table.table-bordered.dataTable th:first-child, table.table-bordered.dataTable th:first-child, table.table-bordered.dataTable td:first-child, table.table-bordered.dataTable td:first-child,
table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable td:last-child, table.table-bordered.dataTable td:last-child {
    border-left-width: 0;
}

table.dataTable.table-striped > tbody > tr.odd > * {
    background-color: var(--bs-table-striped-bg);
    box-shadow: none;
}

table.table-bordered.dataTable th, table.table-bordered.dataTable td {
    border-bottom-width: 0;
}

.table-hover > tbody > tr:hover > * {
    background-color: var(--bs-table-hover-bg);
    color: var(--bs-table-hover-color);
}*/
/*table.dataTable.table-striped > tbody > tr.odd.selected > * {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.05);
}*/
.members-list {
  min-height: 200px;
}

div.dataTables_wrapper div.dataTables_filter input {
  margin-left: 0;
}

@media screen and (max-width: 767px) {
  div.dt-buttons {
    margin-bottom: 0;
  }
}
.dt-no-search .html5buttons {
  display: none;
}

.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
  color: #ddd;
}

.datepicker table tr td span.disabled, .datepicker table tr td span.disabled:hover {
  color: #ccc;
}

.footable > tbody > tr > td {
  border-top: none;
  border-bottom: 1px solid #e7eaec;
  padding: 15px 10px;
  vertical-align: middle;
}

.footable-detail-row > td {
  padding: 0 !important;
}

/*.valign-mid {
    height: 50px;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}*/
.footable-odd {
  background-color: #f9f9f9;
}

.footable-details > tbody > tr > th {
  border-top: 0;
  padding: 5px 0 5px 10px;
  line-height: 34px;
  font-size: 12px;
}

.footable-details > tbody > tr > td {
  border-top: 0;
  padding: 5px 10px 5px 10px;
  line-height: 34px;
  font-size: 12px;
}

.footable-details .request-bday {
  text-align: left;
  line-height: initial;
  padding-top: 7px;
}

.footable-details .request-btn {
  padding-bottom: 15px;
}

table.footable-details > tbody > tr > th:nth-child(1) {
  width: 150px;
}

.fc-event,
.fc-agenda .fc-event-time,
.fc-event a {
  padding: 4px 6px;
  background-color: #5687d0;
  border-color: #5687d0;
}

.fc .fc-timegrid-divider {
  padding: 0 0 1px;
}

.fc .fc-daygrid-day.fc-day-today, .fc .fc-timegrid-col.fc-day-today {
  background: #d9edf7;
}

.no-schedule-manage a.fc-event {
  cursor: default;
}

.fc-event-time, .fc-event-title {
  color: #fff !important;
  text-decoration: none;
}

.fc-timegrid-event .fc-event-time {
  margin-bottom: 0;
}

.fc .fc-col-header-cell-cushion {
  color: inherit;
}

@media (max-width: 1199px) {
  .fc h2.fc-toolbar-title {
    font-size: 15px;
    font-weight: 500;
    color: inherit;
  }
}
.onoffswitch {
  position: relative;
  width: 54px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  text-align: left;
}

.onoffswitch-checkbox {
  display: none;
}

.onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #5687d0;
  border-radius: 1px !important;
}

.onoffswitch-inner {
  display: block;
  width: 200%;
  margin-left: -100%;
  -moz-transition: margin 0.3s ease-in 0s;
  -webkit-transition: margin 0.3s ease-in 0s;
  -o-transition: margin 0.3s ease-in 0s;
  transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner > span {
  float: left;
  width: 50%;
  height: 16px;
  padding: 0;
  line-height: 16px;
  font-size: 10px;
  color: white;
  font-family: Trebuchet, Arial, sans-serif;
  font-weight: normal;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.onoffswitch-inner .onoffswitch-active {
  padding-left: 14px;
  background-color: #5687d0;
  color: #FFFFFF;
}

.onoffswitch-inner .onoffswitch-inactive {
  padding-right: 14px;
  background-color: #FFFFFF;
  color: #555;
  text-align: right;
}

.onoffswitch-switch {
  display: block;
  width: 18px;
  margin: 0;
  background: #FFFFFF;
  border: 2px solid #5687d0;
  border-radius: 3px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 36px;
  -moz-transition: all 0.3s ease-in 0s;
  -webkit-transition: all 0.3s ease-in 0s;
  -o-transition: all 0.3s ease-in 0s;
  transition: all 0.3s ease-in 0s;
}

.onoffswitch.xl {
  width: 76px;
}
.onoffswitch.xl .onoffswitch-label {
  margin-bottom: 0;
}
.onoffswitch.xl .onoffswitch-inner .onoffswitch-active {
  padding-left: 21px;
}
.onoffswitch.xl .onoffswitch-inner .onoffswitch-inactive {
  padding-right: 21px;
}
.onoffswitch.xl .onoffswitch-inner > span {
  height: 30px;
  line-height: 30px;
  font-size: 13px;
}
.onoffswitch.xl .onoffswitch-switch {
  right: 58px;
}

/*.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0;
}*/
.onoffswitch-checkbox:checked ~ .onoffswitch-label .onoffswitch-inner {
  margin-left: 0;
}

.onoffswitch-checkbox:checked ~ .onoffswitch-label .onoffswitch-switch {
  right: 0;
}

.switches-table {
  width: auto;
}

.switches-table tr td {
  border-top: none !important;
  padding: 8px 10px 8px 0;
}

.ui.default.dropdown:not(.button) > .text, .ui.dropdown:not(.button) > .default.text {
  color: #adb3b8;
  margin: 0 13px;
  height: 33px;
  padding: 0;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.ui.dropdown:not(.multiple) > .text, .ui.dropdown:not(.multiple) > .default.text {
  margin: 0 13px;
  height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  top: 0;
  position: absolute;
  left: 0;
  font-size: 14px;
}

.ui.dropdown:not(.multiple) {
  padding: 0.22619048em 0.35714286em 0.22619048em 0.35714286em;
}

.ui.dropdown:not(.multiple) > .search {
  color: #555;
  height: 27px !important;
  position: static !important;
  top: 0 !important;
  left: 0 !important;
  padding: 0 8px;
}

.ui.label > .close.icon, .ui.label > .delete.icon {
  cursor: pointer;
  margin-right: 0;
  margin-left: 0.5em;
  font-size: 0.92857143em;
  opacity: 0.5;
  -webkit-transition: background 0.1s ease;
  transition: background 0.1s ease;
}

i.icon {
  display: inline-block;
  opacity: 1;
  width: auto;
  margin: 0 0.75em 0 0;
  height: 1em;
  font-family: "Font Awesome 6 Pro";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  text-decoration: inherit;
  text-align: center;
  speak: none;
  font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

i.icon.delete:before {
  content: "\f00d";
}

.ui.multiple.dropdown > .label {
  background-color: #5687d0;
  padding: 6px 10px;
  color: #fff;
  vertical-align: bottom;
  margin: 3.5px 2px;
}

.ui.selection.dropdown {
  min-height: 35px;
  border: 1px solid #e5e6e7;
  padding: 3px 0px;
  transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
  color: inherit;
  line-height: 1.42857143;
}

.ui.selection.dropdown:hover {
  border-color: #e5e6e7;
}

.ui.selection.dropdown:focus, .ui.selection.dropdown.focused, .ui.selection.active.dropdown, .ui.selection.active.dropdown .menu, .ui.selection.active.dropdown:hover, .ui.selection.active.dropdown:hover .menu {
  border-color: #5687d0;
}

.ui.selection.dropdown .menu > .item {
  font-size: 12px;
}

.ui.selection.dropdown.disabled {
  background-color: #eee;
  cursor: not-allowed;
  opacity: 1;
  pointer-events: initial;
}

.ui.selection.dropdown.disabled .text {
  pointer-events: none;
}

.ui.search.dropdown.disabled > input.search {
  pointer-events: none;
}

.ui.multiple.dropdown {
  /*padding: .22619048em 2.1em .22619048em .35714286em;*/
  /*padding: .22619048em 1.35714286em .22619048em .35714286em;*/
  padding: 0 2px;
}

.ui.multiple.search.dropdown > input.search {
  margin: 2px 8px;
  color: #555;
  height: 29px;
}

.ui.dropdown .fa.fa-times {
  font-size: 11px;
  margin: 0;
  padding: 0;
  right: 25px;
  top: auto;
  position: absolute;
  opacity: 0.5;
  z-index: 3;
}

.ui.dropdown input[value=""] ~ .fa.fa-times,
.ui.dropdown input[value="-1"] ~ .fa.fa-times,
.ui.dropdown input:not([value]) ~ .fa.fa-times {
  display: none;
}

.ui.search.loading .input-group .input-group-addon .fas {
  -webkit-animation: loading 2s infinite linear;
  -moz-animation: loading 2s linear infinite;
  animation: loading 2s infinite linear;
}
.ui.search.loading .input-group .input-group-addon .fas:before {
  content: "\f110";
}

.ui.search > .results > .message .header {
  display: none;
}

.ui.search > .results > .message .description {
  margin-top: 0;
}

.ui.selection.dropdown > .delete.icon, .ui.selection.dropdown > .dropdown.icon, .ui.selection.dropdown > .search.icon {
  display: flex;
  margin: 0;
  align-items: center;
  margin-top: 0;
  padding: 0;
  top: 0;
  height: 100%;
}

select.ui.dropdown {
  height: 35px;
  border: 1px solid #e7eaec;
}

.ui.upward.selection.dropdown.visible, .ui.active.upward.selection.dropdown {
  border-radius: 0 !important;
}

/* Autocomplete */
.ui.search > .results .result .image img {
  margin: 0 auto;
  width: 40px;
  height: 40px;
}

.ui.search .form-control {
  width: 300px;
}

.ui.search .icon.fa-search {
  cursor: default !important;
  position: absolute;
  line-height: 1;
  text-align: center;
  top: 0;
  right: 0;
  margin: 0;
  height: 100%;
  width: 2.67142857em;
  opacity: 0.5;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.ui.search .icon.fa-search:before {
  left: 0;
  position: absolute;
  text-align: center;
  top: 50%;
  width: 100%;
  margin-top: -0.5em;
}

.ui.fluid.dropdown.form-control > .text {
  font-weight: normal;
}

.ui.fluid.dropdown.form-control > .dropdown.icon {
  position: absolute;
  right: 11px;
  top: 11px;
}

.ui.fluid.dropdown.form-control .menu > .item {
  font-size: 14px;
}

.quicksearch-mobile {
  padding: 0 3px 0 3px;
  /*    margin-left: -15px;
      margin-right: -15px;*/
}

.mento-autocomplete .search.icon {
  position: absolute;
  right: 5px;
  top: 12px;
}

@-webkit-keyframes loading {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}
@-moz-keyframes loading {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(360deg);
  }
}
.pickr .pcr-button {
  width: 34px;
  height: 34px;
  border: 1px solid #e5e6e7;
}

.pickr .pcr-button:after, .pickr .pcr-button:before {
  border-radius: 0 !important;
}

.pcr-app .pcr-swatches {
  justify-content: center;
}

.pcr-app .pcr-interaction {
  flex-wrap: nowrap;
}

.ms-loading-container .ms-loading, .ms-slide .ms-slide-loading {
  box-shadow: none;
}

.ck-editor__editable p {
  margin: 13px 0;
}

.cke_chrome {
  border: 1px solid #e5e6e7 !important;
}

.cke_notifications_area {
  display: none !important;
}

.dropzone {
  border: 1px solid #e7eaec;
  min-height: inherit;
}

.dropzone-sm {
  padding: 0;
}
.dropzone-sm .dz-message {
  margin: 20px 0;
}

.dz-error-message {
  display: none;
}

@keyframes ladda-spinner-line-fade {
  0%, 100% {
    opacity: 0.22;
  }
  1% {
    opacity: 1;
  }
}
.ladda-button {
  position: relative;
}

.ladda-button .ladda-spinner {
  position: absolute;
  z-index: 2;
  display: inline-block;
  width: 32px;
  top: 50%;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
}

.ladda-button .ladda-label {
  position: relative;
  z-index: 3;
}

.ladda-button .ladda-progress {
  position: absolute;
  width: 0;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.2);
  display: none;
  transition: 0.1s linear all;
}

.ladda-button[data-loading] .ladda-progress {
  display: block;
}

.ladda-button, .ladda-button .ladda-spinner, .ladda-button .ladda-label {
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) all;
}

.ladda-button[data-style=zoom-in], .ladda-button[data-style=zoom-in] .ladda-spinner, .ladda-button[data-style=zoom-in] .ladda-label, .ladda-button[data-style=zoom-out], .ladda-button[data-style=zoom-out] .ladda-spinner, .ladda-button[data-style=zoom-out] .ladda-label {
  transition: 0.3s ease all;
}

.ladda-button[data-style=zoom-in] {
  overflow: hidden;
}

.ladda-button[data-style=zoom-in] .ladda-spinner {
  left: 50%;
  margin-left: -16px;
  transform: scale(0.2);
}

.ladda-button[data-style=zoom-in] .ladda-label {
  position: relative;
  display: inline-block;
}

.ladda-button[data-style=zoom-in][data-loading] .ladda-label {
  opacity: 0;
  transform: scale(2.2);
}

.ladda-button[data-style=zoom-in][data-loading] .ladda-spinner {
  opacity: 1;
  margin-left: 0;
  transform: none;
}

.choices {
  margin-bottom: 0;
  border: 1px solid #e7eaec;
}

.choices-wrapper {
  position: relative;
}
.choices-wrapper .choices-chevron {
  position: absolute;
  top: 13px;
  right: 13px;
}
.choices-wrapper.is-filter .choices[data-type*=select-multiple] .choices__inner {
  min-height: 29px;
}
.choices-wrapper.is-filter .choices[data-type*=select-multiple] .choices__inner .choices__input {
  padding: 3px 0 3px 4px;
}
.choices-wrapper.is-filter .choices-chevron {
  top: 10px;
}
.choices-wrapper.is-filter .choices__list--multiple .choices__item {
  padding: 2px 10px;
}

.footable .choices-wrapper {
  line-height: 1;
}

.choices[data-type*=select-multiple] {
  margin-bottom: 0;
  border: 1px solid #e7eaec;
}
.choices[data-type*=select-multiple] .choices__inner {
  background-color: #fff;
  border: none;
  padding: 0 30px 0 0;
  min-height: 33px;
  vertical-align: middle;
}
.choices[data-type*=select-multiple] .choices__inner .choices__input {
  background-color: #fff;
  margin-bottom: 0;
  padding: 6px 0 6px 4px;
  vertical-align: middle;
  margin-left: 6px;
}
.choices[data-type*=select-multiple].has-items .choices__input {
  margin-left: 0px;
}

.choices__list--dropdown {
  z-index: 10;
}

.choices[data-type*=select-one] {
  width: 100%;
}
.choices[data-type*=select-one] .choices__inner {
  background-color: #fff;
  border: none;
  vertical-align: middle;
  padding: 0 5px 0;
  min-height: auto;
}

.no-select-text .choices__list--dropdown .choices__item--selectable:after {
  display: none;
}
.no-select-text .choices__list--dropdown .choices__item--selectable {
  padding-right: 0;
}

.choices[data-type*=text] .choices__inner {
  background-color: #fff;
  border: none;
  padding: 0 30px 0 0;
  min-height: 33px;
  vertical-align: middle;
}
.choices[data-type*=text] .choices__inner .choices__input {
  background-color: #fff;
  margin-bottom: 0;
  padding: 6px 0 6px 4px;
  vertical-align: middle;
  margin-left: 6px;
}
.choices[data-type*=text].has-items .choices__input {
  margin-left: 0px;
}

.choices__list--multiple .choices__item {
  border: 1px solid #5687d0;
  background-color: #5687d0;
  padding: 4px 10px;
  color: #fff;
  vertical-align: middle;
  margin: 3.5px 2px;
  font-size: 11px;
}
.choices__list--multiple .choices__item.is-highlighted {
  background-color: #4a7fcd;
  border: 1px solid #4a7fcd;
}

.choices[data-type*=select-multiple] .choices__button, .choices[data-type*=text] .choices__button {
  border-left: 1px solid #fafafa;
}

/*.ts-control.multi .ts-input.has-items {
    padding-right: 30px !important;
}

.ts-control.form-select {
    border: none;
    background-color: transparent;
}

.ts-control.form-select .ts-input, .ts-control.form-select.single .ts-input.input-active,
.ts-control.form-control .ts-input, .ts-control.form-control.single {
    border: 1px solid $border-color !important;

    &.focus {
        border-color: $primary !important;
    }
}

.ts-control.form-control.has-error .ts-input,
.ts-control.form-control.has-error .ts-input:focus,
.input-validation-error .ts-control.form-select .ts-input,
.input-validation-error .ts-control.form-select .ts-input:focus {
    border: 1px solid $red !important;
}

.ts-control.form-select .ts-input, .ts-control.form-select.single .ts-input.input-active {
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
}

.ts-input,
.ts-input.focus {
    box-shadow: none;
}

.ts-control.multi .ts-input.has-items {
    padding: calc(0.32rem - 1px) 0.75rem calc(0.32rem - 4px);
    padding-left: calc(0.75rem - 5px);
}

.ts-control:not(.plugin-clear_button):not(.single) .ts-input.has-items > input {
    height: 27px;
}

.ts-input.has-items > input {
    margin-top: -2px !important;

    &::-webkit-input-placeholder {
        color: transparent !important;
        opacity: 1;
    }

    &::placeholder {
        color: transparent !important;
        opacity: 1;
    }

    &::-ms-input-placeholder {
        color: transparent !important;
        opacity: 1;
    }

    &:-ms-input-placeholder {
        color: transparent !important;
        opacity: 1;
    }

    &::-moz-placeholder {
        color: transparent !important;
        opacity: 1;
    }
}

.plugin-clear_button .clear-button {
    display: none;
}

.plugin-clear_button .has-items .clear-button {
    display: block;
    opacity: 1;
}

.ts-control.multi .ts-input > div.active {
    background-color: $primary !important;
}

.ts-control.single.disabled .ts-input, .ts-control.single.disabled .ts-input input, .ts-control.multi.disabled .ts-input, .ts-control.multi.disabled .ts-input input {
    background-color: #e9ecef;
    opacity: 1;
    cursor: not-allowed;
    border-color: $border-color !important;
}*/
.ts-wrapper.focus {
  border-color: #5687d0;
}
.ts-wrapper.focus .ts-control {
  box-shadow: none;
}

.ts-wrapper.form-control:not(.disabled) .ts-control, .ts-wrapper.form-control:not(.disabled).single.input-active .ts-control, .ts-wrapper.form-select:not(.disabled) .ts-control, .ts-wrapper.form-select:not(.disabled).single.input-active .ts-control, .form-control.ts-wrapper:read-only {
  background: #fff;
}

/*.ts-wrapper.ts-readonly input {
    display: none !important;
}*/
.trumbowyg-box, .trumbowyg-editor-box, .trumbowyg-button-pane {
  border-color: #e7eaec;
}

.trumbowyg-button-pane {
  background-color: #f8f8f8;
}

:root {
  --tbw-cell-vertical-padding: 4px;
  --tbw-cell-horizontal-padding: 8px;
  --tbw-cell-line-height: 1.5em;
}

.trumbowyg-editor table {
  margin-bottom: var(--tbw-cell-line-height);
}

.trumbowyg-editor th,
.trumbowyg-editor td {
  height: calc(var(--tbw-cell-vertical-padding) * 2 + var(--tbw-cell-line-height));
  min-width: calc(var(--tbw-cell-horizontal-padding) * 2);
  padding: var(--tbw-cell-vertical-padding) var(--tbw-cell-horizontal-padding);
  border: 1px solid #e7eaec;
}

.trumbowyg-box .trumbowyg-editor, .trumbowyg-box {
  min-height: 250px;
}

.trumbowyg-editor1-box, .trumbowyg-editor1-editor-box, .trumbowyg-editor1-button-pane {
  border-color: #e7eaec;
}

.trumbowyg-editor1-button-pane {
  background-color: #f8f8f8;
}

:root {
  --tbw-cell-vertical-padding: 4px;
  --tbw-cell-horizontal-padding: 8px;
  --tbw-cell-line-height: 1.5em;
}

.trumbowyg-editor1-editor table {
  margin-bottom: var(--tbw-cell-line-height);
}

.trumbowyg-editor1-editor th,
.trumbowyg-editor1-editor td {
  height: calc(var(--tbw-cell-vertical-padding) * 2 + var(--tbw-cell-line-height));
  min-width: calc(var(--tbw-cell-horizontal-padding) * 2);
  padding: var(--tbw-cell-vertical-padding) var(--tbw-cell-horizontal-padding);
  border: 1px solid #e7eaec;
}

.trumbowyg-editor1-box .trumbowyg-editor1-editor, .trumbowyg-editor1-box {
  min-height: 250px;
}

.trumbowyg-editor2-box, .trumbowyg-editor2-editor-box, .trumbowyg-editor2-button-pane {
  border-color: #e7eaec;
}

.trumbowyg-editor2-button-pane {
  background-color: #f8f8f8;
}

:root {
  --tbw-cell-vertical-padding: 4px;
  --tbw-cell-horizontal-padding: 8px;
  --tbw-cell-line-height: 1.5em;
}

.trumbowyg-editor2-editor table {
  margin-bottom: var(--tbw-cell-line-height);
}

.trumbowyg-editor2-editor th,
.trumbowyg-editor2-editor td {
  height: calc(var(--tbw-cell-vertical-padding) * 2 + var(--tbw-cell-line-height));
  min-width: calc(var(--tbw-cell-horizontal-padding) * 2);
  padding: var(--tbw-cell-vertical-padding) var(--tbw-cell-horizontal-padding);
  border: 1px solid #e7eaec;
}

.trumbowyg-editor2-box .trumbowyg-editor2-editor, .trumbowyg-editor2-box {
  min-height: 250px;
}

.trumbowyg-editor3-box, .trumbowyg-editor3-editor-box, .trumbowyg-editor3-button-pane {
  border-color: #e7eaec;
}

.trumbowyg-editor3-button-pane {
  background-color: #f8f8f8;
}

:root {
  --tbw-cell-vertical-padding: 4px;
  --tbw-cell-horizontal-padding: 8px;
  --tbw-cell-line-height: 1.5em;
}

.trumbowyg-editor3-editor table {
  margin-bottom: var(--tbw-cell-line-height);
}

.trumbowyg-editor3-editor th,
.trumbowyg-editor3-editor td {
  height: calc(var(--tbw-cell-vertical-padding) * 2 + var(--tbw-cell-line-height));
  min-width: calc(var(--tbw-cell-horizontal-padding) * 2);
  padding: var(--tbw-cell-vertical-padding) var(--tbw-cell-horizontal-padding);
  border: 1px solid #e7eaec;
}

.trumbowyg-editor3-box .trumbowyg-editor3-editor, .trumbowyg-editor3-box {
  min-height: 250px;
}

/* Components */
.breadcrumb-col {
  padding-bottom: 13px;
}

.breadcrumb-col .breadcrumb {
  background-color: #ffffff;
  padding: 0;
  margin-bottom: 0;
}

.breadcrumb-col .breadcrumb > li a {
  color: inherit;
}

.breadcrumb-col .breadcrumb > .active {
  color: inherit;
}

.page-heading {
  border-top: 0;
  padding: 0 10px 0 10px;
}

.page-heading .button-col {
  padding: 21px 15px;
}

.breadcrumb-col .breadcrumb > li + li::before {
  display: inline-block;
  padding: 0 0.5rem;
  color: #ccc;
  content: "/";
}

/*
    Bruges til "Handlinger"-knappen
*/
.dropdown-menu {
  border: medium none;
  box-shadow: 0 0 3px rgba(86, 96, 117, 0.7);
  display: none;
  float: left;
  font-size: 12px;
  left: 0;
  list-style: none outside none;
  padding: 0;
  position: absolute;
  text-shadow: none;
  top: 100%;
  z-index: 1000;
}

.dropdown-menu > li > a {
  color: inherit;
  line-height: 25px;
  margin: 4px;
  text-align: left;
  font-weight: normal;
  padding: 3px 20px;
  display: block;
}

.dropdown-menu.has-icons > li > a {
  padding: 3px 10px;
}
.dropdown-menu.has-icons > li > a .fas {
  text-align: center;
  width: 20px;
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
  color: #262626;
  text-decoration: none;
  background-color: #f5f5f5;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover {
  color: #fff;
  text-decoration: none;
  background-color: #5687d0;
  outline: 0;
}

.dropdown-menu > li > a.font-bold {
  font-weight: 600;
}

.btn-header {
  float: right;
}

.btn-header .dropdown-menu {
  left: auto !important;
  right: 0 !important;
}

.dropdown-toggle::after {
  vertical-align: middle;
}

.form-select,
.form-select:focus,
.has-error .form-select:focus,
.has-success .form-select:focus,
.has-warning .form-select:focus,
.form-control,
.form-control:focus,
.has-error .form-control:focus,
.has-success .form-control:focus,
.has-warning .form-control:focus,
.open .btn.dropdown-toggle,
.panel,
.progress,
.progress-bar {
  box-shadow: none;
}

.form-control, .form-select {
  font-size: 14px;
}
.form-control::-webkit-input-placeholder, .form-select::-webkit-input-placeholder {
  color: #adb3b8 !important;
  opacity: 1;
}
.form-control::placeholder, .form-select::placeholder {
  color: #adb3b8 !important;
  opacity: 1;
}
.form-control::-ms-input-placeholder, .form-select::-ms-input-placeholder {
  color: #adb3b8 !important;
  opacity: 1;
}
.form-control:-ms-input-placeholder, .form-select:-ms-input-placeholder {
  color: #adb3b8 !important;
  opacity: 1;
}
.form-control::-moz-placeholder, .form-select::-moz-placeholder {
  color: #adb3b8 !important;
  opacity: 1;
}

::placeholder {
  color: #adb3b8 !important;
  opacity: 1;
}

.form-control-sm {
  font-size: 12px;
}

.form-control,
.single-line,
.form-select {
  background-color: #FFFFFF;
  border: 1px solid #e7eaec;
  min-height: 35px;
  /*    color: #052c52;
  display: block;
  padding: 6px 12px;
  transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
  width: 100%;*/
}

.form-control:focus,
.single-line:focus,
.form-select:focus {
  border-color: #5687d0;
}

.has-success .form-control,
.has-success .form-control:focus,
.has-success .form-select,
.has-success .form-select:focus {
  border-color: #5687d0;
}

.has-warning .form-control,
.has-warning .form-control:focus,
.has-warning .form-select,
.has-warning .form-select:focus {
  border-color: #f8ac59;
}

.has-error,
.input-validation-error,
.has-error .form-control,
.has-error .form-control:focus,
.has-error .form-select,
.has-error .form-select:focus,
.has-error .input-group-addon,
.has-error .input-group-addon:focus,
.form-control.input-validation-error,
.form-control.input-validation-error:focus,
.form-select.input-validation-error,
.form-select.input-validation-error:focus,
.multiple.dropdown.input-validation-error,
.multiple.dropdown.input-validation-error:focus {
  border-color: #ED5565 !important;
}

.has-success .control-label {
  color: #5687d0;
}

.has-warning .control-label {
  color: #f8ac59;
}

.has-error .control-label {
  color: #ED5565;
}

.input-group-addon {
  border: 1px solid #e7eaec;
  font-size: 14px;
  font-weight: normal;
  line-height: 1;
  color: #676a6c;
  text-align: center;
  background-color: rgb(238, 238, 238);
  padding: 0px 11px;
  display: flex;
  align-items: center;
}

.form-control:read-only {
  background-color: var(--bs-secondary-bg);
  opacity: 1;
  color: #777;
}

.form-control.color-bg-white:read-only {
  color: #000;
}

.ibox-content h1,
.ibox-content h2,
.ibox-content h3,
.ibox-content h4,
.ibox-content h5,
.ibox-title h1,
.ibox-title h2,
.ibox-title h3,
.ibox-title h4,
.ibox-title h5 {
  margin-top: 5px;
}

.ibox-content.text-box {
  padding-bottom: 0;
  padding-top: 15px;
}

.ibox {
  clear: both;
  margin-bottom: 25px;
  margin-top: 0;
  padding: 0;
  /*float: left;
  width: 100%;*/
}

.ibox.collapsed .ibox-content {
  display: none;
}

.ibox.collapsed .fa.fa-chevron-up:before {
  content: "\f078";
}

.ibox.collapsed .fa.fa-chevron-down:before {
  content: "\f077";
}

.ibox:after,
.ibox:before {
  display: table;
}

.ibox-title {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background-color: #ffffff;
  border-color: #e7eaec;
  border-image: none;
  border-style: solid solid none;
  border-width: 2px 0 0;
  color: inherit;
  margin-bottom: 0;
  padding: 15px 15px 7px;
  min-height: 48px;
  position: relative;
  clear: both;
}

.ibox-content {
  background-color: #ffffff;
  color: inherit;
  padding: 15px 20px 15px 20px;
  border-color: #e7eaec;
  border-image: none;
  border-style: solid solid none;
  border-width: 1px 0;
}

.ibox-footer {
  color: inherit;
  border-top: 1px solid #e7eaec;
  font-size: 90%;
  background: #ffffff;
  padding: 10px 15px;
}

.ibox-content {
  clear: both;
}

.ibox-heading {
  background-color: #f3f6fb;
  border-bottom: none;
}

.ibox-heading h3 {
  font-weight: 200;
  font-size: 24px;
}

.ibox-title h5 {
  display: inline-block;
  font-size: 14px;
  margin: 0 0 7px;
  padding: 0;
  text-overflow: ellipsis;
  float: none;
}

.ibox-title .label {
  float: left;
  margin-left: 4px;
}

.ibox-tools {
  display: block;
  float: none;
  margin-top: 0;
  position: absolute;
  padding: 0;
  text-align: right;
  top: 15px;
  right: 15px;
}

.ibox-tools a {
  cursor: pointer;
  margin-left: 5px;
  color: #c4c4c4;
}

.ibox-tools a.btn-primary {
  color: #fff;
}

.ibox-tools .dropdown-menu > li > a {
  padding: 4px 10px;
  font-size: 12px;
}

.ibox .ibox-tools.open > .dropdown-menu {
  left: auto;
  right: 0;
}

.fullscreen-ibox-mode .animated {
  animation: none;
}

body.fullscreen-ibox-mode {
  overflow-y: hidden;
}

.ibox.fullscreen {
  z-index: 2030;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  margin-bottom: 0;
}

.ibox.fullscreen .collapse-link {
  display: none;
}

.ibox.fullscreen .ibox-content {
  min-height: calc(100% - 48px);
}

.ibox .ibox-content .form-group:last-child {
  margin-bottom: 0;
}

.ibox .dropdown span {
  cursor: pointer;
  padding: 0.5rem;
}
.ibox .dropdown span:hover {
  color: #5687d0;
}
.ibox .dropdown .dropdown-menu {
  padding: 0;
}
.ibox .dropdown .dropdown-menu .dropdown-item {
  padding: 0.71429rem;
}

.ibox .ibox-title.align-items-center {
  padding: 0 15px;
}

/* Containeren som loaderen ligger i */
#addPaymentGroupMembersTable {
  position: relative; /* forankring til overlayet */
  min-height: 220px; /* så der ER noget at centrere i */
}

/* Overlayet dækker hele containeren og centrerer indholdet */
#addPaymentGroupMembersTable .table-loading-animation {
  position: absolute;
  inset: 0; /* top/right/bottom/left: 0 */
  display: grid;
  place-items: center; /* centrer spinner + tekst */
  z-index: 30;
}

/* Fjern evt. tidligere absolute-position på .inner */
#addPaymentGroupMembersTable .table-loading-animation .inner {
  position: static !important;
  top: auto !important;
  left: auto !important;
}

/* Slør baggrunden */
#addPaymentGroupMembersTable .table-loading-animation .overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
}

.modal-content {
  background-clip: padding-box;
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  outline: 0 none;
  position: relative;
}

/*.modal-body {
    padding: 20px 30px;
}*/
.inmodal .modal-body {
  background: #f8fafb;
}

.inmodal .modal-header {
  padding: 30px 15px;
  text-align: center;
  display: block;
}

.animated.modal.fade .modal-dialog {
  -webkit-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}

.inmodal .modal-title {
  font-size: 26px;
  /*padding-left: 30px;*/
}

.inmodal .modal-icon {
  font-size: 84px;
  color: #e2e3e3;
}

.modal-footer {
  margin-top: 0;
}

body.modal-open {
  padding-right: inherit !important;
}

body.modal-open .wrapper-content.animated {
  -webkit-animation: none;
  -ms-animation-nam: none;
  animation: none;
}

body.modal-open .animated {
  animation-fill-mode: initial;
  z-index: inherit;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 600px;
  }
}
@media (min-width: 992px) {
  .modal-lg, .modal-xl {
    max-width: 800px;
  }
}
@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
  }
}
/* Knapper */
.modal-header .close {
  margin: 0;
  position: absolute;
  right: 0;
  top: 15px;
}

.modal-header .btn-close {
  position: absolute;
  top: 15px;
  right: 10px;
  margin: 0;
}

.modal-header .btn-back {
  position: absolute;
  left: 15px;
  top: 15px;
  font-size: 14px;
  box-sizing: content-box;
  padding: 0.25em 0.25em;
  color: #000;
  border: 0;
  border-radius: 0.25rem;
  opacity: 0.5;
  background: none;
}
.modal-header .btn-back:hover {
  color: #000;
  text-decoration: none;
  opacity: 0.75;
}

.table {
  --bs-table-striped-bg: rgba(0, 0, 0, 0.02);
}

.table:not(.table-sm) > :not(caption) > * > *, .table:not(.table-sm) th {
  padding: 0.75rem;
  border-top-width: 1px;
  border-bottom-width: 0;
  border-top-color: #dee2e6;
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 1px solid #dee2e6 !important;
}

/*.table-bordered {
    border: 1px solid #EBEBEB;
}*/
.table-borderless > :not(caption) > * > * {
  border-top-width: 0 !important;
}

.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
  background-color: #F5F5F6;
  border-bottom-width: 1px;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border: 1px solid #e7e7e7;
}

.table > thead > tr > th {
  border-bottom: 1px solid #DDDDDD;
  vertical-align: bottom;
  outline: none;
}

/* Ved ikke om det her skal være på eller ej, bordeless virker i hvert fald ikke med det */
/*.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    border-top: 1px solid $border-color;
    line-height: 1.42857;
    padding: 8px;
    vertical-align: top;
}*/
.th-width-14 {
  width: 14px !important;
}

.th-width-36 {
  width: 36px !important;
}

td.select-checkbox {
  padding: 0;
}

.table-checkbox, .select-checkbox {
  position: relative;
}
.table-checkbox .mento-checkbox, .select-checkbox .mento-checkbox {
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -9px;
  margin-top: -9px;
}

.vertical-align-content tbody tr td {
  vertical-align: middle;
}

@media screen and (max-width: 575.98px) {
  .table-responsive-sm > .table > thead > tr > th, .table-responsive-sm > .table > tbody > tr > th, .table-responsive-sm > .table > tfoot > tr > th, .table-responsive-sm > .table > thead > tr > td, .table-responsive-sm > .table > tbody > tr > td, .table-responsive-sm > .table > tfoot > tr > td {
    white-space: nowrap;
  }
}
@media screen and (max-width: 767.98px) {
  .table-responsive-md > .table > thead > tr > th, .table-responsive-md > .table > tbody > tr > th, .table-responsive-md > .table > tfoot > tr > th, .table-responsive-md > .table > thead > tr > td, .table-responsive-md > .table > tbody > tr > td, .table-responsive-md > .table > tfoot > tr > td {
    white-space: nowrap;
  }
}
@media (max-width: 991.98px) {
  .table-responsive-lg > .table > thead > tr > th, .table-responsive-lg > .table > tbody > tr > th, .table-responsive-lg > .table > tfoot > tr > th, .table-responsive-lg > .table > thead > tr > td, .table-responsive-lg > .table > tbody > tr > td, .table-responsive-lg > .table > tfoot > tr > td {
    white-space: nowrap;
  }
}
@media (max-width: 1199.98px) {
  .table-responsive-xl > .table > thead > tr > th, .table-responsive-xl > .table > tbody > tr > th, .table-responsive-xl > .table > tfoot > tr > th, .table-responsive-xl > .table > thead > tr > td, .table-responsive-xl > .table > tbody > tr > td, .table-responsive-xl > .table > tfoot > tr > td {
    white-space: nowrap;
  }
}
.table-responsive > .table > thead > tr > th, .table-responsive > .table > tbody > tr > th, .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > thead > tr > td, .table-responsive > .table > tbody > tr > td, .table-responsive > .table > tfoot > tr > td {
  white-space: nowrap;
}

.page-link {
  font-size: 13px;
}
.page-link:focus {
  box-shadow: none;
}

div.dataTables_wrapper div.dataTables_length select {
  height: calc(1.5em + 0.5rem + 2px);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.5rem;
  font-size: 12px;
}

.table-row-link td {
  padding: 0;
}
.table-row-link td a {
  padding: 0.75rem;
  display: block;
}

.mento-json-data-table tbody tr {
  position: relative;
}

.link-table {
  height: fit-content;
}
.link-table td {
  padding: 0 !important;
}
.link-table td a, .link-table td .default-padding {
  padding: 0.75rem;
  /*display: block;*/
  display: flex;
  align-items: center;
  height: 100%;
}
.link-table td a.btn, .link-table td .default-padding.btn {
  display: inline-block;
  height: auto;
  padding: 0.375rem 0.75rem;
}
.link-table td a.btn.btn-sm, .link-table td .default-padding.btn.btn-sm {
  padding: 0.25rem 0.5rem;
}
.link-table td.text-center a, .link-table td.text-center .default-padding {
  justify-content: center;
}
.link-table .default-padding, .link-table .dataTables_empty {
  padding: 0.75rem !important;
}

.table > :not(:first-child) {
  border-top: none;
}

.table > :not(caption) > * > * {
  --bs-table-bg: transparent;
}

.aws-explorer-breadcrumbs, .dropbox-explorer-breadcrumbs {
  padding: 10px 0 0 24px !important;
  /*border-bottom: 2px solid $border-color;*/
  margin-bottom: 10px;
}

.aws-explorer-breadcrumbs .spacer, .dropbox-explorer-breadcrumbs .spacer {
  margin: 0 5px;
  float: left;
}

.aws-explorer-breadcrumbs .item, .dropbox-explorer-breadcrumbs .item {
  float: left;
}

.aws-explorer-actions, .dropbox-explorer-actions {
  /*border-bottom: 2px solid $border-color;*/
  padding: 0 15px 10px 12px;
}

.aws-explorer-actions > div, .dropbox-explorer-actions > div {
  float: left;
  margin-right: 5px;
}

.aws-explorer-actions .action, .dropbox-explorer-actions .action {
  margin-top: 10px;
  width: 100%;
}

.ui-draggable-dragging {
  z-index: 9999;
}

.file-box {
  float: left;
  width: 220px;
}

.folder-box.ui-state-default .file {
  border: 1px solid #676a6c;
}

.file {
  border: 1px solid #e7eaec;
  padding: 0;
  background-color: #ffffff;
  position: relative;
  margin-bottom: 20px;
  margin-right: 20px;
}

.file.active {
  border: 1px solid #5687d0;
}

.file .icon, .file .image {
  height: 100px;
  overflow: hidden;
  padding: 5px;
}

.file.folder .image img {
  width: 100%;
}

.file .file-name {
  padding: 3px 5px;
  background-color: #f8f8f8;
  border-top: 1px solid #e7eaec;
  height: 45px;
  text-align: center;
}

.file.folder .file-name {
  line-height: 35px;
}

.file .file-name span {
  float: left;
  word-wrap: break-word;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  width: 185px;
  text-overflow: ellipsis;
}

.file .file-name small {
  color: #676a6c;
}

.sm .aws-explorer-items .file-box, .sm .dropbox-explorer-items .file-box {
  width: 150px;
}

.sm .aws-explorer-items .file-box .file .file-name span, .sm .dropbox-explorer-items .file-box .file .file-name span {
  width: 120px;
}

.xs .aws-explorer-items .file-box, .xs .dropbox-explorer-items .file-box {
  width: 110px;
}

.xs .aws-explorer-items .file-box .file .image, .xs .dropbox-explorer-items .file-box .file .image {
  height: 60px;
}

.xs .aws-explorer-items .file-box .file .file-name, .xs .dropbox-explorer-items .file-box .file .file-name {
  height: 35px;
}
.xs .aws-explorer-items .file-box .file .file-name span, .xs .dropbox-explorer-items .file-box .file .file-name span {
  width: 80px;
}

.xs .aws-explorer-items .file-box .file.folder .file-name, .xs .dropbox-explorer-items .file-box .file.folder .file-name {
  line-height: 28px;
}
.xs .aws-explorer-items .file-box .file.folder .file-name span, .xs .dropbox-explorer-items .file-box .file.folder .file-name span {
  width: 80px;
}

.xs .aws-explorer-items .file-box .file .file-name small, .xs .dropbox-explorer-items .file-box .file .file-name small {
  display: none;
}

.xs .aws-explorer-items .file-box .file, .xs .dropbox-explorer-items .file-box .file {
  margin-bottom: 10px;
}

.aws-explorer hr {
  margin: 0 0 10px 0;
}

.terms-text {
  height: 200px;
  overflow-y: scroll;
  border: 1px solid #e7eaec;
  padding: 10px;
  background-color: #fff;
}

.loading .file .image img {
  margin: 0 auto;
  /*padding: 25px;*/
}

.file .image {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.file .image img {
  max-height: 90px;
  margin: 0 auto;
}

.xs .dropbox-explorer-items .file-box .file .image img {
  max-height: 50px;
}

.db-attachment {
  border: 1px solid #e7eaec;
  font-size: 13px;
  color: inherit;
  background: white;
  padding: 0.25rem 0.5rem;
  height: 31px;
  margin-top: 5px;
  line-height: 22px;
}
.db-attachment:first-of-type {
  margin-top: 0;
}
.db-attachment .db-attachment-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 90%;
  float: left;
}
.db-attachment .db-attachment-remove {
  cursor: pointer;
  float: right;
}

.dropbox-explorer hr {
  margin: 0 0 10px 0;
}

.nav-tabs > li > a {
  color: #A7B1C2;
  font-weight: 600;
  padding: 10px 20px 10px 25px;
}

.nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
  background-color: #e6e6e6;
  color: #676a6c;
}

.nav.nav-tabs li {
  background: none;
  border: none;
}

.tabs-container .nav > li > a {
  color: #676a6c;
  background-color: #f3f3f4;
}
.tabs-container .nav > li.active {
  border-left: none;
}
.tabs-container .nav-pills > li > a.active, .tabs-container .nav-pills > li > a.active:hover, .tabs-container .nav-pills > li > a.active:focus {
  color: #fff;
  background-color: #5687d0;
}
.tabs-container .nav-tabs > li.active > a,
.tabs-container .nav-tabs > li.active > a:hover,
.tabs-container .nav-tabs > li.active > a:focus {
  border: 1px solid #e7eaec;
  border-bottom-color: transparent;
  background-color: #fff;
  color: #676a6c;
}
.tabs-container .nav-tabs > li {
  float: left;
  margin-bottom: -1px;
}
.tabs-container .tab-pane .panel-body {
  border-top: none;
}
.tabs-container .nav-tabs > li.active > a, .tabs-container .nav-tabs > li.active > a:hover, .tabs-container .nav-tabs > li.active > a:focus {
  border: 1px solid #e7eaec;
  border-bottom-color: transparent;
}
.tabs-container .nav-tabs {
  border-bottom: 1px solid #e7eaec;
}
.tabs-container .tab-pane .panel-body {
  border-top: none;
}
.tabs-container .nav-tabs > li a:hover {
  background: transparent;
  border-color: transparent;
}
.tabs-container .tab-content > .tab-pane,
.tabs-container .pill-content > .pill-pane {
  display: none;
}
.tabs-container .tab-content > .active,
.tabs-container .pill-content > .active {
  display: block;
}

@media (max-width: 767px) {
  .tabs-container .nav-tabs > li {
    float: none !important;
  }
  .tabs-container .nav-tabs > li.active > a {
    border-bottom: 1px solid #e7eaec !important;
    margin: 0;
  }
}
/* =========================================================
  Mento Checkboxes & Radiobuttons — Base (theme-agnostic)
  Denne fil må ikke indeholde dark/light-specifik styling.
  Temaer kan overskrive variablerne her via !default.
  ========================================================= */
/* ---- Fallback defaults (kan overskrives af temaer) ---- */
/* Hvis globalt ikke defineret, brug trygge defaults: */
/* Semantiske kontrol-variabler (bruges i komponenten) */
/* Container */
.mento-checkbox,
.mento-radiobutton {
  padding-left: 27px;
  line-height: 18px;
  color: #676a6c;
  cursor: pointer;
  position: relative;
}
.mento-checkbox.disabled i,
.mento-radiobutton.disabled i {
  background-color: #f2f4f7;
}

/* Den visuelle boks/cirkel (fælles) */
.mento-checkbox i,
.mento-radiobutton i {
  width: 18px;
  height: 18px;
  border: 1px solid #e7eaec;
  position: absolute;
  top: 0;
  left: 0;
  /* Robust centrering af indhold (gælder ::after) */
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  background: #ffffff;
  transition: border-color 0.3s;
  line-height: normal; /* ingen linjehøjde-push */
}

/* Selve input skjules visuelt, men bevarer a11y */
.mento-checkbox input,
.mento-radiobutton input {
  position: absolute;
  left: -9999px;
}

/* ---------------- CHECKBOX ---------------- */
.mento-checkbox input ~ i::after {
  color: #676a6c;
  font-family: "Font Awesome 6 Pro";
  content: "\f00c"; /* fa-check */
  font-weight: 900;
  font-size: 9px;
  line-height: 1;
  display: block; /* gør ::after til et flex-item */
  opacity: 0;
  transition: opacity 0.1s;
  /* Lille optisk nudge så den står 100% centreret */
  margin-top: 0.5px; /* kan sættes til 0–1px efter behov */
  margin-left: -2px;
}

.mento-checkbox input[type=checkbox]:checked ~ i::after {
  opacity: 1;
}

/* Fejl/validering */
.mento-checkbox.has-error {
  color: #ED5565 !important;
}

.mento-checkbox.has-error i {
  background-color: rgb(252.84, 234.6, 236.52);
}

/* Disabled */
.mento-checkbox.disabled,
.mento-checkbox.disabled input ~ i:after {
  color: #bbb;
  cursor: not-allowed;
}

/* ---------------- RADIO — perfekt centreret dot ---------------- */
/* Farven styres af currentColor på i; tema sætter denne. */
.mento-radiobutton i {
  color: #676a6c;
}

/* Dot: 100% rund uden border-radius, centreret matematisk */
.mento-radiobutton input + i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px; /* justér 7–9px efter smag */
  height: 8px;
  transform: translate(-50%, -50%);
  background-color: currentColor;
  opacity: 0;
  transition: opacity 0.1s, transform 0.1s;
  clip-path: circle(50%);
}

/* Fallback hvis clip-path ikke understøttes */
@supports not (clip-path: circle(50%)) {
  .mento-radiobutton input + i::after {
    -webkit-mask: radial-gradient(circle at 50% 50%, #000 99%, transparent 100%);
    mask: radial-gradient(circle at 50% 50%, #000 99%, transparent 100%);
    background-color: currentColor;
  }
}
.mento-radiobutton input:checked + i::after {
  opacity: 1;
}

/* Ikon-baserede radioer (beholdt) */
input[type=radio]:checked + .mento-icon-radiobutton-border {
  border-color: #777 !important;
}

.mento-icon-radiobutton {
  position: relative;
  cursor: pointer;
}
.mento-icon-radiobutton .mento-icon-radiobutton-border {
  width: 34px;
  height: 34px;
  font-size: 12px;
  border: 1px solid #e7eaec;
  position: relative;
  background: #ffffff;
}
.mento-icon-radiobutton .mento-icon-radiobutton-border i {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  -webkit-backface-visibility: hidden;
}

/* Disabled (fælles) */
.mento-checkbox input[disabled] ~ i,
.mento-radiobutton input[disabled] + i,
.mento-radiobutton input:disabled + i {
  background: #f2f4f7;
  border-color: #e7eaec;
  cursor: not-allowed;
}

.mento-radiobutton input[disabled] + i:after,
.mento-checkbox input[disabled] ~ i:after {
  color: #bbb;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
}
.active-filters div {
  padding: 10px;
  background-color: #fafafa;
  border: 1px solid #e7eaec;
  height: 38px;
  display: flex;
  align-items: center;
  margin-right: 10px;
  white-space: nowrap;
  margin-bottom: 5px;
}
.active-filters div a {
  margin-left: 10px;
}

.filter-selector {
  padding: 2px 3px;
  background-color: #fafafa;
  border: 1px solid #e7eaec;
  margin-right: 5px;
  margin-top: -5px;
}
.filter-selector .ui.dropdown {
  height: 30px !important;
  min-height: 30px !important;
}
.filter-selector .ui.dropdown .search {
  top: -1px !important;
  position: absolute !important;
}
.filter-selector .ui.dropdown .text {
  height: 28px !important;
  font-size: 13px !important;
}
.filter-selector .ui.multiple.dropdown {
  height: auto !important;
}
.filter-selector .ui.multiple.dropdown > .label {
  margin: 0 4px 0 0px !important;
  padding: 4px 9px !important;
}
.filter-selector .ui.multiple.dropdown .search {
  position: static !important;
  height: 22px !important;
}

.remember-receivers-mini {
  padding: 0.5rem 0.75rem;
  font-weight: bold;
  margin-right: 10px;
}

.filter-wrapper .form-select, .filter-selector .form-select, .filter-range .form-select {
  min-height: auto;
  background-image: none;
}
.filter-wrapper .form-select .ts-input, .filter-selector .form-select .ts-input, .filter-range .form-select .ts-input {
  min-height: auto;
  padding: 0.3rem 0.75rem;
}

.filter-range .ts-input > input {
  min-width: auto;
}

.filter-wrapper .form-select {
  min-height: auto;
}
.filter-wrapper .form-select .ts-input {
  min-height: auto;
  padding: 0.3rem 0.75rem;
}
.filter-wrapper .form-select .ts-input.has-items {
  padding: calc(0.22rem - 1px - 0px) 0.75rem calc(0.22rem - 1px - 3px - 0px);
  padding-left: calc(0.75rem - 5px);
}

.slick-slide:focus {
  outline: none !important;
}

.slider.slider-nav .slick-slide {
  cursor: pointer;
}

@-webkit-keyframes fadeInLeftShort {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-20px);
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes fadeInLeftShort {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}
.fadeInLeftShort {
  -webkit-animation-name: fadeInLeftShort;
  animation-name: fadeInLeftShort;
}

@-webkit-keyframes fadeInRightShort {
  0% {
    opacity: 0;
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes fadeInRightShort {
  0% {
    opacity: 0;
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}
.fadeInRightShort {
  -webkit-animation-name: fadeInRightShort;
  animation-name: fadeInRightShort;
}

@-webkit-keyframes fadeInDownShort {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes fadeInDownShort {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}
.fadeInDownShort {
  -webkit-animation-name: fadeInDownShort;
  animation-name: fadeInDownShort;
}

@-webkit-keyframes fadeOutUpShort {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
}
@keyframes fadeOutUpShort {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    transform: translateY(-20px);
  }
}
.fadeOutUpShort {
  -webkit-animation-name: fadeOutUpShort;
  animation-name: fadeOutUpShort;
}

.stream {
  position: relative;
  padding: 10px 0;
}

.stream:first-child .stream-badge:before {
  top: 10px;
}

.stream:last-child .stream-badge:before {
  height: 30px;
}

.stream .stream-badge {
  width: 50px;
}

.stream .stream-badge i {
  border: 1px solid #e7eaec;
  border-radius: 50% !important;
  padding: 6px;
  color: #808486;
  position: absolute;
  background-color: #ffffff;
  left: 8px;
  align-content: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.stream .stream-badge i.fa-circle {
  color: #ced0d1;
}

.stream .stream-badge i.bg-success {
  color: #ffffff;
  background-color: #1c84c6;
  border-color: #1c84c6;
}

.stream .stream-badge i.bg-primary {
  color: #ffffff;
  background-color: #1ab394;
  border-color: #1ab394;
}

.stream .stream-badge i.bg-warning {
  color: #ffffff;
  background-color: #f8ac59;
  border-color: #f8ac59;
}

.stream .stream-badge i.bg-info {
  color: #ffffff;
  background-color: #23c6c8;
  border-color: #23c6c8;
}

.stream .stream-badge i.bg-danger {
  color: #ffffff;
  background-color: #ed5565;
  border-color: #ed5565;
}

.stream .stream-badge:before {
  content: "";
  width: 1px;
  background-color: #e7eaec;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 23px;
}

.stream .stream-info {
  font-size: 12px;
  margin-bottom: 5px;
}
.stream .stream-info img {
  border-radius: 50% !important;
  width: 18px;
  height: 18px;
  margin-right: 2px;
  margin-top: -4px;
}

.stream .stream-info .date, .stream .schedule-partners {
  color: #9a9d9f;
  font-size: 90%;
}
.stream .stream-info .date i, .stream .schedule-partners i {
  font-size: 10px;
}

.stream .stream-panel {
  margin-left: 55px;
}

.schedule .stream .stream-panel {
  margin-left: 0;
}

.schedule .stream:last-of-type {
  padding: 0;
}
.schedule .stream:last-of-type hr {
  display: none;
}

.badge-member-count {
  position: absolute;
  right: 0;
  font-size: 14px;
  height: 36px;
  min-width: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: #5687d0;
}

.badge-info {
  font-size: 14px;
  font-weight: 500;
  background-color: #5687d0;
}

.badge-table {
  position: absolute;
  right: 80px;
  top: 5px;
}

.badge-loading-hidden {
  display: none !important;
}

.gauge-wrapper {
  height: 75px;
  overflow: hidden;
}

.gauge-container {
  width: auto;
  height: 100%;
  display: block;
  float: left;
  padding: 0 10px;
  border-radius: 3px !important;
  position: relative;
  min-width: 100%;
}

.gauge-container > .label {
  position: absolute;
  right: 0;
  top: 0;
  display: inline-block;
  background: rgba(0, 0, 0, 0.5);
  font-family: monospace;
  font-size: 0.8em;
  padding: 5px 10px;
}

.gauge-container > .gauge .dial {
  fill: rgba(0, 0, 0, 0);
  stroke: #eee;
  stroke-width: 10;
}

.gauge-container > .gauge .value {
  fill: rgba(0, 0, 0, 0);
  stroke: orange;
  stroke-dasharray: none;
  stroke-width: 13;
}

.gauge-container > .gauge .value-text {
  font-family: sans-serif;
  fill: #555;
  font-weight: 100;
  font-size: 20px;
  transform: translate3d(0, -7%, 0);
}

.weather-multi {
  padding: 15px;
  background-color: #eee;
  margin-top: -15px;
  margin-bottom: -15px;
}
.weather-multi .weather-simple-day {
  background-color: #fff;
  border-radius: 5px !important;
  text-align: center;
  -ms-flex-positive: 1 !important;
  flex-grow: 1 !important;
  -ms-flex: 1 1 auto !important;
  flex: 1 1 auto !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
  display: -ms-flexbox !important;
  display: flex !important;
}
.weather-multi .weather-simple-day h4 {
  font-size: 13px;
  padding: 10px 10px 0px 10px;
  margin: 0;
  font-weight: 600;
}
@media (max-width: 767px) {
  .weather-multi .weather-simple-day .wu {
    width: 50px;
    height: 50px;
  }
}
.weather-multi .weather-simple-day .day-temperature {
  font-size: 55px;
  padding: 0 5px;
  float: left;
  line-height: 1;
  color: #000;
  margin: 5px 0 0 0;
}
@media (max-width: 767px) {
  .weather-multi .weather-simple-day .day-temperature {
    font-size: 45px;
  }
}
.weather-multi .weather-simple-day .condition-icons .rain-snow {
  padding: 0 10px 0 0;
}
.weather-multi .weather-simple-day .condition-icons .wind {
  padding: 0 0 0 10px;
}
.weather-multi .weather-simple-day .condition-icons i {
  width: 15px;
}
.weather-multi .weather-simple-day .no-weather-data {
  padding: 0;
  margin: 0 0 25px 0;
  color: #ababab;
}
.weather-multi .click-info {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 5px;
  font-weight: 600;
}
.weather-multi .col-12.col-md-4 .no-weather-data {
  font-size: 12px;
  font-weight: 500;
}
.weather-multi .col-12.col-md-4 .wu {
  width: 50px;
  height: 50px;
}
.weather-multi .col-12.col-md-4 .day-temperature {
  font-size: 40px;
  padding: 0;
}

.weather-day .weather-left-panel {
  width: 128px;
}
.weather-day .weather-left-panel .day-temperature {
  font-size: 55px;
  padding: 0 15px;
  float: left;
  line-height: 1;
  margin: -10px 0 0 0;
}
.weather-day .weather-left-panel .condition-icons i {
  width: 15px;
}
.weather-day .weather-left-panel .weather-date {
  font-size: 13px;
  margin: 0;
  font-weight: 600;
  position: absolute;
  left: 35px;
  top: 10px;
}
.weather-day .weather-left-panel .weather-show-multi {
  position: absolute;
  left: 0;
  top: 0px;
  width: 30px;
  text-align: center;
}
.weather-day .weather-right-panel {
  background-color: #eee;
  float: left;
  position: absolute;
  left: 155px;
  /*        top: -15px;
  bottom: -15px;*/
  top: 0px;
  bottom: 0px;
  right: 0;
}
.weather-day .weather-right-panel .row {
  padding: 20px 30px 15px 30px;
}
.weather-day .weather-right-panel .row .condition-box {
  border-radius: 5px !important;
  min-height: 110px;
  margin-bottom: 15px;
  position: relative !important;
  -ms-flex-positive: 1 !important;
  flex-grow: 1 !important;
  -ms-flex: 1 1 auto !important;
  flex: 1 1 auto !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
  display: -ms-flexbox !important;
  display: flex !important;
  background-color: #fff !important;
}
.weather-day .weather-right-panel .row .condition-box h4 {
  font-size: 12px;
  padding: 5px 10px 0px 10px;
  margin: 0;
  font-weight: 400;
  color: #aaa;
}
.weather-day .weather-right-panel .row .condition-box .sunrise {
  margin: 10px 0 0 5px;
}
.weather-day .weather-right-panel .row .condition-box .sunrise .fa-stack {
  font-size: 15px;
}
.weather-day .weather-right-panel .row .condition-box .sunset {
  margin: 5px 0 0 5px;
}
.weather-day .weather-right-panel .row .condition-box .sunset .fa-stack {
  font-size: 15px;
}
.weather-day .weather-right-panel .row .condition-box .fa-sun {
  color: #ffc107;
}
.weather-day .weather-right-panel .row .condition-box.uvi .gauge-container {
  margin: 10px 0 0 0;
  width: 145px;
  min-width: 145px;
}
@media (min-width: 992px) {
  .weather-day .weather-right-panel .row .condition-box.uvi .gauge-container {
    width: 115px;
    min-width: 115px;
    margin-top: 25px;
  }
}
@media (min-width: 1075px) {
  .weather-day .weather-right-panel .row .condition-box.uvi .gauge-container {
    margin: 10px 0 0 0;
    width: 135px;
    min-width: 135px;
  }
}
@media (min-width: 1200px) {
  .weather-day .weather-right-panel .row .condition-box.uvi .gauge-container {
    margin: 10px 0 0 0;
    width: 145px;
    min-width: 145px;
  }
}
.weather-day .weather-right-panel .row .condition-box.wind h2 {
  padding: 5px 10px;
  margin: 0;
  font-weight: 400;
  font-size: 23px;
}
@media (max-width: 767px) {
  .weather-day .weather-right-panel .row .condition-box.wind h2 {
    font-size: 18px;
  }
}
.weather-day .weather-right-panel .row .condition-box.wind .fa-stack {
  margin: 0px 0px 5px 5px;
  position: absolute;
  bottom: 10px;
}
.weather-day .weather-right-panel .row .condition-box.timeofday h2 {
  padding: 5px 10px;
  margin: 0;
  font-weight: 400;
  font-size: 35px;
}
.weather-day .weather-right-panel .row .condition-box.timeofday .feels-like {
  padding: 0px 10px;
  position: absolute;
  bottom: 10px;
}
.weather-day .weather-right-panel .row .condition-box.timeofday .feels-like .feels-like-text {
  color: #aaa;
}
.weather-day .weather-right-panel .row .condition-box.timeofday .feels-like .feels-like-value {
  font-weight: 700;
  margin-left: 5px;
}

/* ===== Mentoclub – Loader (tema-agnostisk) ===== */
/* CSS-variabler til temaer */
:root {
  --mc-overlay-bg: rgba(255,255,255,.72);
  --mc-overlay-border: rgba(0,0,0,.06);
  --mc-text-color: #1f2937;
  --mc-spinner-ring: rgba(0,0,0,.15);
  --mc-spinner-top: #5687d0;
  --mc-inline-bar-border: rgba(0,0,0,.18);
  --mc-inline-bar-bg: #f1f3f5;
  --mc-inline-stripe1: rgba(0,0,0,.12);
  --mc-inline-stripe2: rgba(0,0,0,.04);
}

/* Keyframes */
@keyframes mc-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes mc-stripes {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 0;
  }
}
/* Overlay-baggrund uden kant (fjerner "stregen") */
.loading-overlay,
.table-loading-animation {
  display: none; /* vis ved at fjerne .d-none eller tilføje .is-active */
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.loading-overlay:not(.d-none),
.table-loading-animation:not(.d-none),
.loading-overlay.is-active,
.table-loading-animation.is-active {
  display: flex;
}

.loading-overlay .overlay,
.table-loading-animation .overlay,
.loading-overlay .loading-background,
.table-loading-animation .loading-background {
  position: absolute;
  inset: 0;
  border: 0;
  box-shadow: none;
  background-color: var(--mc-overlay-bg);
  opacity: 0.7;
}

.loading-overlay .inner,
.table-loading-animation .inner {
  position: relative;
  text-align: center;
  color: var(--mc-text-color, #1f2937);
  z-index: 1;
}

.loading-overlay .inner::before,
.table-loading-animation .inner::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  border-radius: 50%;
  border: 3px solid var(--mc-spinner-ring, rgba(0, 0, 0, 0.15));
  border-top-color: var(--mc-spinner-top, #5687d0);
  animation: mc-spin 0.9s linear infinite;
  vertical-align: middle;
}

.loading-overlay .loading-text,
.table-loading-animation .loading-text {
  display: block;
  margin-top: 6px;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .loading-overlay .inner::before,
  .table-loading-animation .inner::before {
    animation: none;
  }
}
/* ===== Inline loader – “stripes” bar =====
   Markup:
   <div class="loading-inline">
     <div class="loading-img"></div>
     <div class="loading-text">Indlæser…</div>
   </div>
*/
.loading-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.loading-inline .loading-img {
  position: relative;
  width: 240px;
  height: 12px;
  border-radius: 8px;
  border: 1px solid var(--mc-inline-bar-border);
  background-color: var(--mc-inline-bar-bg);
  overflow: hidden;
}

.loading-inline .loading-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, var(--mc-inline-stripe1) 0 10px, var(--mc-inline-stripe2) 10px 20px);
  background-size: 40px 100%;
  animation: mc-stripes 0.9s linear infinite;
}

.loading-inline .loading-text {
  opacity: 0.85;
  font-weight: 600;
}

/* ===== Inline loader – spinner =====
   Markup:
   <div class="loading-inline loading-spinner">
     <div class="loading-text">Indlæser…</div>
   </div>
*/
.loading-inline.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 0;
  text-align: center;
}

.loading-inline.loading-spinner::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid var(--mc-spinner-ring);
  border-top-color: var(--mc-spinner-top);
  animation: mc-spin 0.9s linear infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .loading-overlay .inner::before,
  .table-loading-animation .inner::before,
  .loading-inline.loading-spinner::before,
  .loading-inline .loading-img::before {
    animation: none;
  }
}
/* Wrapper til thumbs med overlay-spinner */
.mc-thumb {
  position: relative;
  display: block;
}

.mc-thumb.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.7;
}

.mc-thumb.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid var(--mc-spinner-ring, rgba(0, 0, 0, 0.15));
  border-top-color: var(--mc-spinner-top, #5687d0);
  animation: mc-spin 0.9s linear infinite;
  z-index: 1;
}

.mc-thumb.is-error::after {
  opacity: 0.85;
}

.mc-thumb.is-error::before {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .mc-thumb.is-loading::before {
    animation: none;
  }
}
/* Skjul billedet mens vi loader, så INTET kan skinne igennem midten */
.mc-thumb img {
  opacity: 1;
  transition: opacity 0.15s linear;
}

.mc-thumb.is-loading img {
  opacity: 0;
}

.mc-thumb.is-loading::before {
  background: transparent;
  box-sizing: border-box;
}

@-webkit-keyframes button-spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}
/* (valgfrit) sikre at den altid kører */
.ui.loading.search .input > i.icon::after {
  animation: button-spin 0.6s linear infinite !important;
}

/* Pages */
.login {
  background-color: #f3f3f4;
}

.login.middle-box {
  width: 300px;
}

.middle-box-inner {
  max-width: 400px;
  z-index: 100;
  margin: 0 auto;
  position: relative;
  background-color: #fff;
  padding: 20px;
  border-radius: 15px !important;
  margin-top: 100px;
  border: 1px solid #e7eaec;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.login-hr {
  border-top: 1px solid #999;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.error-page h1 {
  font-size: 170px;
}

.error-page img {
  margin: 0 auto;
  max-height: 250px;
  margin-bottom: 20px;
}

.profile-image {
  width: 120px;
  float: left;
  margin-bottom: 20px;
}

.hover-transition, .hover-transition::before, .hover-transition::after {
  transition: all 0.3s ease;
}

.profile-image-hover {
  position: relative;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.profile-image-hover .img-hover-tools {
  background-color: rgba(0, 0, 0, 0.5) !important;
  opacity: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /*padding: 30px !important;*/
}
.profile-image-hover .img-hover-tools-fade-up {
  -webkit-transform: translate(0, 15%);
  -ms-transform: translate(0, 15%);
  transform: translate(0, 15%);
  opacity: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-flow: column nowrap;
  -ms-flex-flow: column nowrap;
  flex-flow: column nowrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.profile-image-hover .img-hover-tools-fade-up li {
  margin: 0 15px !important;
}
.profile-image-hover .img-hover-tools-fade-up li a {
  font-size: 20px;
  color: #fff;
}
.profile-image-hover .hover-zoom {
  -webkit-transform: scale(1.01);
}
.profile-image-hover:hover .img-hover-tools, .profile-image-hover:hover .img-hover-tools-fade-up {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}
.profile-image-hover:hover .hover-zoom {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.profile-info {
  margin-left: 130px;
}
.profile-info .member-name-search .form-control {
  font-size: 24px;
  background-color: transparent;
  border-color: transparent;
  font-weight: 100 !important;
  color: #676a6c;
  padding: 0 0 0 5px;
}
.profile-info .member-name-search .search.icon {
  position: absolute;
  right: 0;
  top: 15px;
}

/*.profile-info .dropdown {
    font-size: 24px;
    height: 34px;
}

.profile-info .dropdown .text {
    font-weight: 100 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 93%;
    left: 0 !important;
}

.profile-info .dropdown .menu .item {
    font-size: 14px;
}

.profile-info .dropdown .dropdown.icon {
    cursor: pointer;
    z-index: 500;
    margin: 8px 0 0 0 !important;
}*/
.image-border {
  border: 6px solid #fff;
}

.member-sex {
  display: flex;
  align-items: center;
  height: 35px;
  margin-top: 0;
  font-size: 20px;
}

.rank-history-item .ibox-title {
  border-style: solid;
  border-width: 2px 1px 0;
}

.rank-history-item .ibox-content {
  border-style: solid;
  border-width: 1px;
}

.rank-history-item .rank-tools {
  font-size: 16px;
  position: absolute;
  top: 4px;
  right: 25px;
}

.new-member-table {
  width: 66%;
  margin: 0 auto;
}

.members-list {
  min-height: 200px;
}

.member-name-search {
  padding: 0 !important;
}
.member-name-search .search {
  padding: 0 !important;
}
.member-name-search .text {
  font-size: 24px !important;
  margin: 0 !important;
}
.member-name-search .dropdown.icon {
  position: absolute !important;
  top: 1px !important;
  right: 0 !important;
}

.member-name-search-modal {
  background-color: #fff;
}
.member-name-search-modal .dropdown.icon {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
}

.member-summary img {
  width: 115px;
}
.member-summary .summary-details {
  font-size: 12px;
  padding: 5px 10px 10px 0;
}

.popover {
  max-width: 100%; /* Max Width of the popover (depending on the container!) */
}

.img-overlay {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}

.img-overlay img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  transform: scale(0.95);
  transition: transform 0.3s;
  margin: 0 auto;
}

.img-overlay:target {
  visibility: visible;
  outline: none;
  cursor: default;
  opacity: 1;
}

.img-overlay:target img {
  transform: scale(1);
}

.pos-absolute-btn {
  position: absolute;
  bottom: 5px;
  right: 15px;
}

.pw-meter-wrapper {
  position: relative;
  width: 130px;
  float: right;
}
.pw-meter-wrapper .pw-verdict {
  height: 17px;
  text-align: right;
  font-weight: 700;
  font-size: 11px;
}
.pw-meter-wrapper .pw-meter .progress {
  height: 4px;
}

.readmore, .readmore-toggle {
  word-break: break-word;
  line-height: initial;
}

.address-status {
  position: absolute;
  top: 6px;
  right: 25px;
  font-size: 15px;
}

.result-icon {
  width: 20px;
  float: left;
  text-align: center;
}

.member-details-top.table:not(.table-sm) > :not(caption) > * > * {
  padding: 0.5rem 0.75rem;
}

#map.full-map {
  position: fixed !important;
  inset: 62px 0px 0px 220px;
}

@media (max-width: 767px) {
  #map.full-map {
    inset: 62px 0 0 0;
  }
}
.admins .permissons {
  list-style: none;
  padding: 0;
  float: left;
  width: 100%;
}

.admins .permissons .permisson .permisson-name {
  background-color: #f3f3f4;
  width: 100%;
  float: left;
  height: 30px;
  margin: 0 0 2px;
}

.admins .permissons.select-role .permisson .permisson-name {
  background-color: inherit;
}

.admins .permissons .permisson .permisson-name .btn {
  float: right;
  margin: 4px 5px 0 0;
  width: 22px;
  height: 22px;
  padding: 1px 4px;
}

.admins .permissons .permisson .permisson-name .btn .chevron::before {
  content: "\f054";
}

.admins .permissons .permisson .permisson-name .btn.active .chevron::before {
  content: "\f078";
}

.admins .permissons .permisson .sub-permissons {
  display: none;
  float: left;
  list-style: none;
  width: 100%;
}

.admins .permissons .permisson .sub-permissons.sub-permissons-desc li {
  min-height: 30px;
  height: auto;
}

.admins .permissons .permisson .sub-permissons li {
  background-color: #f3f3f4;
  width: 100%;
  float: left;
  height: 30px;
  margin: 0 0 2px;
}

.admins .permissons .permisson .sub-permissons.sub-permissons-desc li label {
  margin-top: 6px;
}

.admins .permissons .permisson .sub-permissons.sub-permissons-desc li .sub-permissons-desc-text {
  margin-top: 6px;
}

.permissions-list td div .help-icon {
  position: absolute;
  left: 50%;
  margin-left: 13px;
  top: 2px;
  font-size: 14px;
}
.permissions-list td .mento-checkbox {
  width: 18px;
}
.permissions-list td .mento-checkbox i {
  border-color: #aaa;
}
.permissions-list td .mento-checkbox.disabled {
  cursor: not-allowed;
}
.permissions-list td .mento-checkbox.disabled i {
  background-color: #eee;
}

.teams .ibox-calendar {
  padding: 0;
}

.teams .ibox-calendar .fc-toolbar {
  display: none;
}

.teams .ibox-calendar .fc-head-container {
  border-top: none;
  border-left: none;
  border-right: none;
}

.teams .ibox-calendar td.fc-widget-content {
  border: none;
}

.teams .ibox-calendar td.fc-widget-content td, .teams .ibox-calendar td.fc-widget-content th {
  border-style: solid;
  border-width: 1px;
  border-color: #ddd;
}

.team-colors {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.label-team-color {
  padding: 8px 10px;
  margin: 2px;
  font-size: 11px;
  display: inline-block;
}

.schedule.ibox-calendar {
  padding: 50px 20px 20px 20px;
}
.schedule.ibox-calendar .fc-prev-button {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}
.schedule.ibox-calendar .fc-next-button {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}
.schedule.ibox-calendar .fc-today-button, .schedule.ibox-calendar .fc-dayGridMonth-button, .schedule.ibox-calendar .fc-timeGridWeek-button {
  top: -51px;
}
.schedule.ibox-calendar .fc-toolbar-title {
  position: absolute;
  width: 100%;
  left: 0;
  text-align: center;
  top: 8px;
}
.schedule.ibox-calendar .fc-header-toolbar {
  position: relative;
}

.fc-button-active {
  opacity: 0.65;
}

/*.widget .settings {
    position: absolute;
    right: 30px;
}*/
/* --- Tilføj-element: kort, der strækker ens højde og står “lige nedad” --- */
.widget-type {
  /* lad kolonnen kunne strække sig (selve kortet fylder højden) */
  display: flex;
  margin: 12px 0; /* lidt mindre end før for tættere grid */
}

.widget-type > a {
  /* kortet */
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%; /* ← gør alle kort lige høje pr. række */
  padding: 14px 16px;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #676a6c;
  transition: background 0.15s ease, transform 0.08s ease;
}

/* fjern BS-gutters inde i kortet og brug gap i stedet */
.widget-type > a.row {
  gap: 12px;
}

/* ikonkolonne – fast bredde så teksten altid flugter */
.widget-type .col-3 {
  /*flex: 0 0 64px;*/
  max-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* tekstkolonne fylder resten */
.widget-type .col-9 {
  flex: 1 1 auto;
  max-width: 100%;
}

/* heading spacing */
.widget-type h4 {
  margin: 0 0 5px 0;
}

/* hover/focus */
.widget-type > a:hover {
  color: #676a6c;
}

/* behold tekstfarve */
html[data-theme=dark] .widget-type > a:hover,
body.dark .widget-type > a:hover {
  background: rgba(86, 135, 208, 0.08); /* subtil highlight i dark */
}

.news-type {
  text-align: center;
}

.news-type a img {
  margin: 0 auto;
  max-width: 45px;
}

.news-type-inner {
  width: 100px;
  border: 1px solid transparent;
  padding: 15px;
  margin: 0 auto;
}

.news-type-inner h4 {
  margin-bottom: 0;
}

a.active .news-type-inner {
  border: 1px solid #5687d0;
}

.widget-list, .sponsors-list {
  list-style: none;
  padding: 0;
}

.widget-list .ui-state-highlight {
  height: 100px;
  background-color: #f3f3f4;
}

.widget-list li, .widget-dummy {
  margin-bottom: 10px;
  padding: 20px 10px;
  font-size: 24px;
  border: 1px solid #CDCDCD;
  background-color: #fafafa;
  height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.widget-list li .name div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget-list li .name .subname {
  font-size: 12px;
  font-weight: normal;
}

.sponsors-list .ui-state-highlight {
  height: 100px;
  background-color: #f3f3f4;
}

.sponsors-list li {
  margin-bottom: 10px;
  padding: 20px 10px;
  font-size: 14px;
  border: 1px solid #CDCDCD;
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.widgets-top li .handle, .widgets-left li .handle, .widgets-bottom li .handle {
  text-align: left;
  padding-left: 15px;
  display: inline-flex;
}

.widgets-top li .settings, .widgets-left li .settings, .widgets-bottom li .settings, .widget-dummy .settings {
  text-align: right;
}

.widgets-right li .handle {
  padding-left: 10px;
  display: inline-flex;
}
.widgets-right li .handle .fas, .widgets-right li .handle .far, .widgets-right li .handle .fa {
  font-size: 16px;
}

.widgets-right li .name {
  font-size: 14px;
  padding: 5px;
  font-weight: bold;
}

.widgets-right li .settings {
  padding: 0;
}
.widgets-right li .settings .fas, .widgets-right li .settings .far, .widgets-right li .settings .fa {
  font-size: 24px;
}

.widget-dummy.add-widget {
  background-color: transparent;
  border: 1px dashed #c2c2c2;
  padding: 0;
  font-size: 24px;
}
.widget-dummy.add-widget a div {
  padding: 20px;
}

.widget-dummy.display-flex {
  flex-direction: row;
}

/* === Tydelig indikator for aktiv tilstand på mobil (< XL) === */
#mobileSwitcher .btn {
  opacity: 0.7;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

#mobileSwitcher .btn.active {
  opacity: 1;
  border-bottom: 3px solid var(--bs-primary);
}

/* Lille badge lige under switcheren, sticky så den er synlig under scroll */
.mode-badge {
  position: sticky;
  top: 56px; /* justér i forhold til din topbar */
  z-index: 11;
  display: block;
  width: 100%;
  padding: 0.35rem 0.6rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.2px;
  background: rgba(255, 255, 255, 0.06); /* neutral i dark theme */
  color: rgba(255, 255, 255, 0.85);
}

/* Farve-tilstande: opsætning vs. indstillinger */
.mode-badge.is-config {
  background: var(--bs-primary);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08) inset, 0 2px 8px rgba(0, 0, 0, 0.25);
}

.mode-badge.is-setup {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

/* Når vi er i indstillinger på mobil, så “deaktiver” opsætning visuelt */
@media (max-width: 1399.98px) {
  body.cfg-mode #setupCol {
    opacity: 0.35;
    pointer-events: none; /* undgå forvirrende klik i inaktiv kolonne */
  }
  body.cfg-mode #widgetCol .ibox-title {
    box-shadow: inset 0 -2px 0 var(--bs-primary);
  }
}
/* små skærme – en anelse kompaktere ikonkolonne */
@media (max-width: 575.98px) {
  .widget-type > a {
    padding: 12px 14px;
  }
  .widget-type .col-3 {
    flex-basis: 56px;
    max-width: 56px;
  }
}
/* duotone ikon-farver (du har allerede denne – behold/tilpas) */
.widget-type .widget-icon, .news-type-inner .widget-icon {
  font-size: 2.75rem;
  line-height: 1;
  display: inline-block;
  --fa-primary-color: #86a8e7;
  --fa-secondary-color: #3a6acb;
  --fa-primary-opacity: 1;
  --fa-secondary-opacity: .95;
}

/* eksempel: særfarve til Instagram */
.widget-type[data-type=instagram] .widget-icon {
  color: #e4405f;
}

.website-slides {
  list-style: none;
  padding: 0;
}

.website-slides li {
  border: 1px solid #CDCDCD;
  margin: 10px 15px;
  padding: 10px;
  background-color: #fafafa;
}

.website-slides li:nth-child(21) ~ li {
  border: 1px solid #f5c2c7;
  background-color: #f8d7da;
}
.website-slides li:nth-child(21) ~ li img {
  opacity: 0.5;
}

.website-slides .ui-state-highlight {
  height: 100px;
  background-color: #f3f3f4;
}

.slider-switch {
  display: flex;
  justify-content: center;
}

.layer-btn-color .text {
  position: relative !important;
}

.layer-btn-color .text span {
  position: absolute;
  right: 10px;
  left: 0px;
  top: 5px;
  bottom: 10px;
}

.layer-btn-color .menu .item span {
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  right: 15px;
}

.delete-news-img {
  position: absolute;
  top: 5px;
  right: 25px;
  font-size: 20px;
  color: #ED5565;
}

.layout-preview {
  height: 500px;
  max-width: 625px;
  margin: 0 auto;
  border: 1px solid #ccc;
}

.cms-background {
  position: relative;
}
.cms-background > input {
  display: none;
}
.cms-background > input + img {
  cursor: pointer;
  border: 2px solid #CDCDCD;
  width: 75px;
  height: 75px;
}
.cms-background > input:checked + img {
  border: 2px solid #34495e;
}
.cms-background span {
  position: absolute;
  right: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
}

.layout-preview-wrapper.boxed {
  width: calc(100% - 225px);
  min-width: 310px;
}

.req-full-width-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.req-full-width-overlay .overlay-background {
  position: absolute;
  background-color: gray;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  right: 0;
  opacity: 75%;
}
.req-full-width-overlay .overlay-text {
  position: relative;
  z-index: 101;
  display: flex;
  justify-content: center;
  padding: 50px 15px;
}

@media (max-width: 767px) {
  .layout-preview-wrapper.boxed {
    width: 100%;
  }
}
@media (min-width: 992px) {
  /* Slå de der gutters fra */
}
.cms-pages-header {
  margin: 0;
  border-bottom: 1px solid #808080;
}

.cms-pages {
  list-style: none;
  padding: 0;
  clear: both;
}

.cms-pages .details {
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #eeeeee;
  cursor: move;
  margin-bottom: 0;
  background-color: rgba(250, 250, 250, 0.8);
  padding: 10px 0;
  margin: 0;
}

.cms-pages .details .name {
  float: left;
  padding-left: 25px;
  line-height: 18px;
  text-align: left;
}

.cms-pages .cms-page .details .name:before {
  content: "\f15c" !important;
  font-family: "Font Awesome 6 Pro";
  float: left;
  margin-left: -17px !important;
  width: 15px;
  line-height: 18px;
}

.cms-pages .cms-menu .details .name:before {
  content: "\f07c";
  font-family: "Font Awesome 6 Pro";
  float: left;
  margin-left: -18px;
  width: 15px;
  line-height: 18px;
}

.cms-pages.cms-level-1 .details .name, .cms-pages.cms-level-1 .no-children {
  padding-left: 50px;
}

.cms-pages.cms-level-2 .details .name, .cms-pages.cms-level-2 .no-children {
  padding-left: 75px;
}

.cms-pages.cms-level-3 .details .name, .cms-pages.cms-level-3 .no-children {
  padding-left: 100px;
}

.cms-pages .no-children {
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #eeeeee;
  cursor: move;
  margin-bottom: 0;
  background-color: rgba(250, 250, 250, 0.8);
  padding: 10px 0;
  margin: 0;
  font-weight: bold;
  color: #ED5565;
}

.cms-pages .details .actions {
  text-align: right;
  line-height: 18px;
}

.cms-pages .details .actions .edit {
  float: right;
  margin-right: 10px;
}

.cms-pages .details .actions .status {
  margin-right: 60px;
  width: 50px;
  float: right;
  text-align: center;
}

.cms-pages .details .actions .access {
  margin-right: 40px;
  width: 65px;
  float: right;
  text-align: center;
}

.cms-pages .details .fa-check-circle {
  color: #5687d0;
}

.cms-pages .details .fa-times-circle {
  color: #ED5565;
}

.cms-pages .ui-state-highlight {
  height: 100px;
  background-color: #f3f3f4;
}

.cms-select-template {
  margin-bottom: 20px;
}

.cms-select-template .cms-template {
  /*height: 250px;*/
}

.cms-select-template.select-contact .cms-template {
  height: auto;
}

.cms-select-template .cms-template a {
  color: #333;
}

.cms-select-template.select-contact .cms-template a {
  color: #5687d0;
}

.cms-select-template .cms-template .cms-template-wrapper:hover {
  background-color: #e1e1e1;
}

.cms-select-template .cms-template-image {
  float: left;
}

.cms-select-template .cms-template-image img {
  margin-top: 5px;
}

.cms-select-template .cms-template-info {
  float: left;
  margin-left: 15px;
}

.cms-select-template .cms-template-info h2 {
  margin: 0;
}

.cms-select-template .cms-template .cms-template-coming-soon {
  background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.5) 35px, rgba(255, 255, 255, 0.5) 70px);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: grey;
  opacity: 0.4;
}

.cms-widget {
  text-align: center;
  padding: 0 45px;
  cursor: pointer;
}

.cms-widget:hover .cms-widget-container {
  background-color: #e1e1e1;
}

.cms-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: #0F0F0F;
  opacity: 0.85;
  display: none;
}

.cms-big-preview {
  position: absolute;
  z-index: 1001;
  display: none;
  top: 20px;
  left: 5px;
  right: 5px;
}

.cms-big-preview .inner-full {
  position: relative;
  background-color: #fff;
  max-width: 1170px;
  margin: 0 auto;
  float: none;
  padding: 50px;
}

.cms-close-preview {
  position: absolute;
  right: 0;
  top: 0;
  padding: 15px;
}

.pac-container {
  background-color: #FFF;
  z-index: 2000;
  position: fixed;
  display: inline-block;
  float: left;
}

.cms-top-pill {
  flex-basis: auto !important;
  width: 100% !important;
  display: block !important;
  border-bottom: 1px solid #e5e6e7;
}

.CodeMirror {
  border: 1px solid #e5e6e7;
}

.cms-gallery .instagram-post {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 25px;
}
.cms-gallery .instagram-post .ig-image-outer {
  overflow: hidden;
  position: relative;
}
.cms-gallery .instagram-post .ig-image-outer:hover .ig-image, .cms-gallery .instagram-post .ig-image-outer:focus .ig-image {
  transform: scale(1.2);
}
.cms-gallery .instagram-post .ig-image-outer:hover .ig-hover, .cms-gallery .instagram-post .ig-image-outer:focus .ig-hover {
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
}
.cms-gallery .instagram-post .ig-image-outer .fa-clone {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 20px;
  color: #fff;
}
.cms-gallery .instagram-post .ig-image-outer .fa-play {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 40px;
  margin-left: -20px;
  margin-top: -20px;
  color: #fff;
}
.cms-gallery .instagram-post .ig-image-outer .ig-image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover; /* you change this to "contain" if you don't want the images to be cropped */
  float: left;
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* = width for a 1:1 aspect ratio */
  background-color: #1E1E1E;
  overflow: hidden;
  transition: all 0.3s ease;
}
.cms-gallery .instagram-post .ig-image-outer .ig-hover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  -moz-transition: opacity 0.6s ease-in-out;
  -webkit-transition: opacity 0.6s ease-in-out;
  background: #333;
  background: rgba(0, 0, 0, 0.6);
}
.cms-gallery .instagram-post .ig-image-outer .ig-hover .ig-photo, .cms-gallery .instagram-post .ig-image-outer .ig-hover .ig-video {
  width: 100%;
  position: absolute;
  height: 100%;
}
.cms-gallery .instagram-post .ig-image-outer .ig-hover .ig-permalink {
  position: absolute;
  right: 15px;
  color: #fff;
  font-size: 30px;
  bottom: 0px;
}
.cms-gallery .instagram-post .ig-image-outer .ig-hover .ig-posttime {
  position: absolute;
  width: 100%;
  bottom: 10px;
  color: #fff;
  text-align: center;
}
.cms-gallery .instagram-post .ig-image-outer .ig-hover .ig-likes-hover {
  position: absolute;
  left: 15px;
  color: #DD9494;
  font-size: 13px;
  bottom: 10px;
}
.cms-gallery .album-preview {
  float: left;
  margin-bottom: 25px;
  width: 100%;
}
.cms-gallery .album-preview .album-img-wrap {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.cms-gallery .album-preview .album-img-wrap:hover .album-img, .cms-gallery .album-preview .album-img-wrap:focus .album-img {
  transform: scale(1.2);
}
.cms-gallery .album-preview .album-img-wrap:hover .album-hover, .cms-gallery .album-preview .album-img-wrap:focus .album-hover {
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
}
.cms-gallery .album-preview .album-img-wrap .album-hover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  -moz-transition: opacity 0.6s ease-in-out;
  -webkit-transition: opacity 0.6s ease-in-out;
  background: #333;
  background: rgba(0, 0, 0, 0.6);
}
.cms-gallery .album-preview .album-img-wrap .album-img {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  float: left;
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  background-color: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}
.cms-gallery .album-preview .album-img-wrap .album-img img {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -20px;
  margin-top: -25px;
}
.cms-gallery .album-preview .album-info {
  position: relative;
  float: left;
}
.cms-gallery .album-preview .album-info a, .cms-gallery .album-preview .album-info span {
  width: 100%;
  float: left;
}

.cms-gallery .album {
  margin-bottom: 30px;
}

.cms-gallery .album .album-img-wrap {
  overflow: hidden;
  position: relative;
}

.cms-gallery .album .album-img-wrap:hover .album-img {
  transform: scale(1.2);
}

.cms-gallery .album .album-img-wrap:hover .album-hover {
  opacity: 1;
}

.cms-gallery .album .album-hover {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  -webkit-transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.cms-gallery .album .album-img {
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  float: left;
  width: 100%;
  height: 200px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.cms-gallery .album .album-name {
  text-align: center;
  margin-top: 15px;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 400;
  height: 50px;
}

.cms-album-select {
  background-color: #fff;
  max-height: 500px;
  min-height: 100px;
  overflow-y: scroll;
  overflow-x: hidden;
  border: 1px solid #ccc;
}

.cms-album-select label {
  display: inline-block;
  margin-bottom: 0;
  font-weight: 700;
  width: 100%;
  padding: 5px;
  cursor: pointer;
}

.cms-album-select label .album-select-wrapper {
  border: 2px solid transparent;
  float: left;
  width: 100%;
  position: relative;
}
.cms-album-select label .album-select-wrapper .overlay {
  display: none;
  position: absolute;
  left: 0;
  background-color: red;
  top: 0;
  right: 0;
  bottom: 0;
  opacity: 0.6;
}

.cms-album-select label > input {
  display: none;
}

.cms-album-select label > input:checked + .album-select-wrapper .overlay {
  display: block;
}

.cms-album-select label .album-img {
  position: relative;
  float: left;
  width: 100px;
  height: 100px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-right: none;
  margin: 2px;
}

.cms-album-select label .album-name {
  float: left;
  height: 100px;
  line-height: 100px;
  padding-left: 5px;
  padding-right: 5px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.cms-download ul {
  padding: 0;
}

.cms-download ul li {
  list-style: none;
  position: relative;
  border: 1px solid #e7eaec;
  border-width: 1px 0;
  font-size: 13px;
  zoom: 1;
  text-align: left;
  padding: 7px 2px 6px;
  margin: 0 0px -1px 0px;
  line-height: 32px;
}

.cms-download li.download-header {
  list-style: none;
  position: relative;
  border: none;
  border-bottom: 2px solid #e7eaec;
  font-size: 13px;
  font-weight: bold;
  zoom: 1;
  text-align: left;
  padding: 7px 2px 6px;
  margin: 0 0px -1px 0px;
  line-height: 32px;
}

.cms-download ul li:hover:not(.download-header) {
  background: #f7f7f7;
  border-color: #ddd;
}

.cms-download ul li .link-status {
  text-align: center;
}

.cms-download ul li .link-status img {
  width: 16px;
}

.cms-download ul li .img-container {
  width: 32px;
  height: 32px;
  overflow: hidden;
  position: relative;
  float: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cms-download ul li .img-container.thumb {
  border: 1px solid #e7eaec;
}

.cms-download ul li a.loading .img-container img {
  width: 24px;
  height: 24px;
  min-width: initial;
  min-height: initial;
}

.cms-download ul li a .name {
  float: none;
  line-height: 32px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  padding-left: 10px;
  margin-right: -35px;
}

.cms-download ul li a.folder .name {
  float: left;
  line-height: 24px;
  padding-top: 6px;
}

.cms-contact-list {
  list-style: none;
  padding: 20px;
}
.cms-contact-list .ibox.contact-category .ibox-title {
  border-width: 2px 1px;
  cursor: ns-resize;
}
.cms-contact-list .ibox.contact-category .ibox-content {
  border-style: solid;
  border-width: 1px;
}
.cms-contact-list .ibox.contact-category .ibox-content > ul {
  padding: 0;
  list-style: none;
  min-height: 25px;
}
.cms-contact-list .ui-state-highlight {
  height: 100px;
  background-color: #f3f3f4;
  clear: both;
  margin-bottom: 15px;
}
.cms-contact-list .contact-category-items .ui-state-highlight {
  clear: none;
  margin: 0;
}

.contact-preview-item {
  border: 1px solid #e7eaec;
  text-align: center;
  background-color: #fff;
  cursor: all-scroll;
  position: relative;
}
.contact-preview-item .contact-edit-link {
  position: absolute;
  right: 0;
  border-left: 1px solid #e7eaec;
  border-bottom: 1px solid #e7eaec;
  padding: 5px 7px;
}
.contact-preview-item .upper {
  padding: 40px 20px;
  height: 239px;
}
.contact-preview-item .upper .contact-image {
  background: #eee no-repeat center;
  background-size: cover;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  margin-bottom: 20px !important;
  border-radius: 50% !important;
}
.contact-preview-item .upper h4.name {
  margin-bottom: 5px;
}
.contact-preview-item .upper div.function span {
  margin-right: 3px;
  color: #5687d0;
}
.contact-preview-item .upper div.function em {
  color: #777;
  font-style: normal;
}
.contact-preview-item .lower {
  padding-top: 20px;
  padding-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 0;
  height: 68px;
}
.contact-preview-item .lower li {
  border-right: 1px solid #e7eaec;
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}
.contact-preview-item .lower li a {
  color: #999;
  font-size: 20px;
}
.contact-preview-item .lower :last-child {
  border-right: 1px solid transparent;
}
.contact-preview-item hr {
  color: #e7eaec;
  margin: 0;
}

.image-center {
  text-align: center;
}

.text-center img.img-fluid, .image-center img.img-fluid {
  margin: 0 auto;
}

.image-left {
  float: left;
}

.image-right {
  float: right;
}

@media (max-width: 767px) {
  .contact-preview-item {
    max-width: 250px;
    margin: 0 auto;
  }
}
.event-list-page-headline {
  border-bottom: 1px dotted #e7eaec;
  margin-bottom: 0.7142857143rem;
}
.event-list-page-headline h2 {
  font-size: 18px;
  font-weight: 400;
  padding-bottom: 5px;
  border-bottom: 2px solid #5687d0;
  display: inline-block;
  margin: 0;
  position: relative;
  top: 1px;
}
.event-list-page-headline h1 {
  font-size: 2.1428571429rem;
  border-bottom: 2px solid #5687d0;
  display: inline-block;
  margin: 0;
  position: relative;
  top: 1px;
}

.event-list-page .headline h2 {
  font-size: 18px;
  font-weight: 400;
  padding-bottom: 5px;
}
.event-list-page .card a {
  border: 1px solid #e7eaec;
  background-color: #fafafa;
}
.event-list-page .on-hover {
  -webkit-transition: 0.2s ease-in;
  -o-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
}
.event-list-page .on-hover:hover {
  -webkit-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  transform: translateY(-10px);
}
.event-list-page .card-img-top {
  padding: 5px;
}
.event-list-page time {
  position: absolute;
  left: 6px;
  top: 6px;
  background-color: rgba(0, 0, 0, 0.79);
  text-transform: uppercase;
  text-align: center;
  padding: 8px;
  color: #fff;
  width: 70px;
  height: 60px;
}
.event-list-page time .day {
  float: left;
  width: 100%;
  font-size: 25px;
  line-height: 1;
}
.event-list-page time .month {
  float: left;
  width: 100%;
  font-size: 17px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
  text-align: center;
}
.event-list-page time.multi {
  display: flex;
  padding: 5px 6px;
}
.event-list-page time.multi .from {
  width: 37px;
  text-align: left;
}
.event-list-page time.multi .from .month {
  text-align: left;
}
.event-list-page time.multi .to {
  width: 26px;
}
.event-list-page time.multi .to .day {
  font-size: 15px;
  margin-top: 3px;
}
.event-list-page time.multi .to .month {
  font-size: 10px;
}
.event-list-page .location {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.79);
  padding: 5px;
  color: #fff;
  bottom: 93px;
  left: 6px;
  margin-right: 6px;
}
.event-list-page .fa-globe-europe {
  position: absolute;
  right: 6px;
  top: 6px;
  padding: 5px;
  background: #000;
  color: #fff;
  font-size: 20px;
}
.event-list-page .details {
  padding: 5px 5px 10px 5px;
}
.event-list-page .details .time {
  background-color: rgba(29, 33, 41, 0.06);
  padding: 5px;
  color: #676a6c;
}

.mail-header {
  background-color: #fcfcfc;
  padding: 10px 15px;
  border-bottom: 1px solid #e7eaec;
}

.mail-content {
  padding: 15px;
  min-height: 100px;
}

.mail-attachments {
  padding: 15px;
  margin-top: 15px;
}

.mail-footer {
  background-color: #fcfcfc;
  padding: 10px 15px;
  border-top: 1px solid #e7eaec;
}

.archive-years {
  float: right;
  width: auto;
  font-size: 12px;
  height: auto;
  margin-left: 5px;
  z-index: 1;
  position: relative;
}

.archive-years-alert {
  display: flex;
  align-items: center;
  width: 120px;
  margin: 0 auto;
}

.archive-read-status {
  color: #bbb;
}
.archive-read-status.fa-envelope-open {
  color: #000;
}

.emojibtn {
  position: absolute;
  top: 0;
  right: 0;
  background-color: transparent;
  border: none;
  padding: 0;
}
.emojibtn .far {
  font-size: 20px;
  margin: 7px;
  color: #888;
}

.z-index-10 {
  z-index: 10;
}

.required-fields .required-field-inner {
  background-color: #fafafa;
  border: 1px solid #e7eaec;
  padding: 5px;
  margin-bottom: 15px;
  position: relative;
}
.required-fields .required-field-inner .field-type {
  position: absolute;
  right: -1px;
  top: -18px;
  background: #fafafa;
  border: 1px solid #e7eaec;
  border-bottom: none;
  padding: 1px 7px;
  font-weight: 600;
  font-size: 10px;
  height: 18.5px;
}
.required-fields .help-icon {
  font-size: 12px;
  margin-top: 8px;
}

.requirements .requirement {
  background-color: #fafafa;
  border: 1px solid #e7eaec;
  padding: 5px;
  margin-bottom: 25px;
  position: relative;
}
.requirements .requirement .field-type {
  position: absolute;
  right: -1px;
  top: -18px;
  background: #fafafa;
  border: 1px solid #e7eaec;
  border-bottom: none;
  padding: 1px 7px;
  font-weight: 600;
  font-size: 10px;
  height: 18.5px;
}
.requirements .help-icon {
  font-size: 12px;
  margin-top: 8px;
}

.participation-requirements .participation-requirement {
  background-color: #fafafa;
  border: 1px solid #e7eaec;
  padding: 5px;
  position: relative;
  margin-top: 35px;
  /*        &:not(.profile-bio):first-of-type {
      margin-top: 35px;
  }*/
}
.participation-requirements .participation-requirement.profile-bio {
  margin-top: 15px;
}
.participation-requirements .participation-requirement .field-type {
  position: absolute;
  right: -1px;
  top: -20px;
  background: #fafafa;
  border: 1px solid #e7eaec;
  border-bottom: none;
  padding: 1px 7px;
  font-weight: 600;
  font-size: 12px;
  height: 20px;
}
.participation-requirements .participation-requirement .req-tools {
  position: absolute;
  right: 0;
  top: 0;
  border: 1px solid #e7eaec;
  border-right: none;
  border-top: none;
}
.participation-requirements .participation-requirement .req-tools a {
  text-align: center;
}
.participation-requirements .participation-requirement .req-tools a i {
  width: 25px;
  padding: 5px;
}
.participation-requirements .participation-requirement .req-tools span {
  border-left: 1px solid #e7eaec;
}
.participation-requirements .help-icon {
  font-size: 12px;
  margin-top: 8px;
}

.add-price {
  background-color: #fafafa;
  border: 1px solid #e7eaec;
  padding: 5px;
  margin-bottom: 25px;
  position: relative;
}

.price {
  background-color: #fafafa;
  border: 1px solid #e7eaec;
  padding: 5px;
  margin-bottom: 15px;
  position: relative;
}
.price .price-tools {
  position: absolute;
  right: 0;
  top: 0;
  border: 1px solid #e7eaec;
  border-right: none;
  border-top: none;
}
.price .price-tools a {
  text-align: center;
}
.price .price-tools a i {
  width: 25px;
  padding: 5px;
}
.price .price-tools span {
  border-left: 1px solid #e7eaec;
}

.event-media {
  background-color: #fafafa;
  border: 1px solid #e7eaec;
  padding: 5px;
}

.event-attachments .db-attachment {
  max-width: 250px;
  float: left;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-top: 0;
}

.event-table-wrapper {
  max-height: 300px;
  overflow: auto;
}

.add-attendee-panel .req-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.event-description p:last-of-type {
  margin-bottom: 0;
}

.event-description-box {
  max-height: 250px;
  overflow: hidden;
}

.messsage-preview-box {
  max-height: 100px;
}

.open .event-description-box {
  max-height: 100%;
}

.event-description-overflow {
  position: absolute;
  width: 100%;
  bottom: 0;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgb(255, 255, 255));
  height: 40px;
  text-align: center;
  cursor: pointer;
}

.event-description-overflow .col-12 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-description-overflow .fa {
  font-size: 25px;
  background-color: #fff;
  color: #555;
}

.open .event-description-overflow {
  position: relative;
  margin: 0;
}

.no-create .ibox-title, .no-create .ibox-content {
  background-color: #f8d7da;
  border-color: #f5c2c7;
  color: #842029;
}
.no-create .ibox-content label {
  color: #842029;
}

.event-panel {
  padding: 15px;
  background-color: #fff;
}
.event-panel .event-icon {
  float: left;
  font-size: 16px;
  min-width: 60px;
}

.event-static-details .datetime1, .event-static-details .location {
  font-size: 16px;
}
.event-static-details .datetime2, .event-static-details .address {
  font-size: 12px;
  color: grey;
}

.event-panel.attendees {
  padding: 12px 15px;
}
.event-panel.attendees .attendees-desc {
  font-size: 12px;
  color: grey;
}

.event-description p:last-of-type {
  margin-bottom: 0;
}

.baseprices, .addonprices {
  font-size: 14px;
}

.event_panel_v1 {
  /*    -webkit-box-shadow: 0 5px 6px -6px rgba(0, 0, 0, 0.2);
      box-shadow: 0 5px 6px -6px rgba(0, 0, 0, 0.2);*/
  border: 1px solid #e7eaec;
}

/*.member-panel .del-btn {
    position: absolute;
    top: 0;
    right: 15px;
}*/
.umbrella-event-member-signup {
  background-color: #f5f5f5;
  padding-bottom: 10px;
  padding-top: 10px;
  border: 1px solid #e7eaec;
}

@media (max-width: 576px-1) {
  .required-fields .mento-checkbox {
    font-size: 11px;
  }
  .required-fields .required-fields .help-icon {
    font-size: 11px;
  }
}
.settings-heading {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 20px 0 8px;
}

.settings-grid .setting-item {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.settings-toolbar input[type=search] {
  min-width: 240px;
}

.reports-total-tr td {
  border-top: 2px solid #999 !important;
}

.reports-results tr td {
  height: 48px;
  vertical-align: middle;
}

.reports-settings tr td {
  padding: 10px;
}

.statistics-member-name-search .search.icon {
  position: absolute;
  right: 5px;
  top: 12px;
}

.stat-weekmonth-select {
  position: absolute;
  z-index: 1;
  top: 10px;
}

img.emoji {
  height: 17px;
  width: 17px;
  margin: 0 0.05em 0 0.1em;
  vertical-align: text-top;
}

.region-type {
  position: relative;
}
.region-type > input {
  display: none;
}
.region-type > input + img {
  cursor: pointer;
  border: 2px solid #CDCDCD;
}
.region-type > input:checked + img {
  border: 2px solid #34495e;
}
.region-type span {
  position: absolute;
  right: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 75px;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
}

.dashboard-config {
  position: fixed;
  right: 40px;
  top: 100px;
}
.dashboard-config a {
  background: #5687d0;
  position: absolute;
  padding: 7px 10px 7px 13px;
  font-size: 16px;
  top: 0;
  left: 0;
  width: 40px;
  color: #fff;
  cursor: pointer;
  border-radius: 20px 0 0 20px !important;
}

.dashboard-config-regions {
  list-style: none;
  padding: 0;
}
.dashboard-config-regions .ibox.dashboard-config-region {
  margin-bottom: 15px;
}
.dashboard-config-regions .ibox.dashboard-config-region .ibox-title {
  border-width: 2px 1px;
  cursor: all-scroll;
}
.dashboard-config-regions .ibox.dashboard-config-region .ibox-content {
  border-style: solid;
  border-width: 1px;
  padding: 15px 20px 5px 20px;
}
.dashboard-config-regions .ibox.dashboard-config-region .ibox-content > ul {
  padding: 0;
  list-style: none;
  min-height: 25px;
  /*                @media (min-width: 992px) {
      &.region-half li {
          -ms-flex: 0 0 50%;
          flex: 0 0 50%;
          max-width: 50%;
      }
  }*/
}
.dashboard-config-regions .ibox.dashboard-config-region .ibox-content > ul li {
  position: relative;
  width: 100%;
  /*                    padding-right: 15px;
  padding-left: 15px;*/
  flex: 0 0 100%;
  max-width: 100%;
}
.dashboard-config-regions .ibox.dashboard-config-region .ibox-content > ul li .dashboard-config-region-widget {
  margin-bottom: 10px;
  padding: 20px 10px;
  font-size: 24px;
  border: 1px solid #CDCDCD;
  background-color: #fafafa;
  height: 76px;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
  cursor: all-scroll;
}
.dashboard-config-regions .ibox.dashboard-config-region .ibox-content > ul li .dashboard-config-region-widget .name {
  font-size: 14px;
}
.dashboard-config-regions .ibox.dashboard-config-region .ibox-content > ul li .dashboard-config-region-widget .name div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dashboard-config-regions .ibox.dashboard-config-region .ibox-content > ul li .dashboard-config-region-widget .name div.widget-type-name {
  color: #aaa;
}
.dashboard-config-regions .ibox.dashboard-config-region .ibox-content .widget-dummy.add-widget {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  flex: 0 0 100%;
  max-width: 100%;
}
@media (min-width: 992px) {
  .dashboard-config-regions .ibox.dashboard-config-region .ibox-content .widget-dummy.add-widget.region-half {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}
.dashboard-config-regions .ui-state-highlight {
  clear: both;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  padding-left: 15px;
  padding-right: 15px;
}
.dashboard-config-regions .ui-state-highlight .ui-state-highlight-inner {
  background-color: #f3f3f4;
  height: 76px;
}
.dashboard-config-regions .ui-state-highlight-region {
  clear: both;
  /*        background-color: #f3f3f4;
  height: 76px;*/
  margin-bottom: 15px;
}
.dashboard-config-regions .ui-state-highlight-region .ui-state-highlight-region-inner {
  background-color: #f3f3f4;
  height: 100%;
}

.widget-selector a {
  float: left;
  background-color: #fafafa;
  height: 50px;
  width: 100%;
  border: 1px solid #CDCDCD;
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
}
.widget-selector a i {
  font-size: 30px;
  float: left;
  margin-right: 5px;
  width: 40px;
  text-align: center;
}
.widget-selector a h5 {
  float: left;
}
.widget-selector a:hover {
  background-color: #fefefe;
}

.private-note p:last-of-type {
  margin-bottom: 0;
}
.private-note .private-note-edit {
  position: absolute;
  right: 10px;
  top: 0;
}

.autosave-time {
  font-size: 11px;
  color: #c4c4c4;
}

.dashboard .ibox-content {
  padding: 15px 20px;
}
@media (max-width: 767px) {
  .dashboard .ibox-content {
    padding: 15px 10px;
  }
}

.dashboard-admin-chat textarea {
  z-index: 10;
  max-height: 100px;
}
.dashboard-admin-chat .admin-chat-add-attachment {
  position: absolute;
  right: 45px;
  z-index: 100 !important;
  bottom: 0px;
  width: 30px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dashboard-admin-chat .admin-chat-send {
  align-self: flex-end;
  height: 35px;
}
.dashboard-admin-chat .chat-entries {
  max-height: 650px;
  overflow-x: auto;
}
.dashboard-admin-chat .chat-entries .chat-entry {
  border: 1px solid #e7eaec;
  background: #fafafa;
  margin-bottom: 15px;
  float: left;
  width: 100%;
}
.dashboard-admin-chat .chat-entries .chat-entry .chat-entry-header {
  padding: 15px 15px 0 15px;
  position: relative;
}
.dashboard-admin-chat .chat-entries .chat-entry .chat-entry-header img {
  width: 50px;
  height: 50px;
  float: left;
  margin-right: 10px;
}
.dashboard-admin-chat .chat-entries .chat-entry .chat-entry-header .chat-entry-delete {
  position: absolute;
  right: 15px;
  top: 15px;
}
.dashboard-admin-chat .chat-entries .chat-entry .chat-entry-content {
  float: left;
  width: 100%;
  padding: 10px 15px;
  overflow-wrap: break-word;
}
.dashboard-admin-chat .chat-entries .chat-entry .chat-entry-attachments {
  float: left;
  width: 100%;
  padding: 10px 15px;
}
.dashboard-admin-chat .chat-entries .chat-entry .chat-entry-attachments .image {
  height: 25px;
  float: left;
}
.dashboard-admin-chat .chat-entries .chat-entry .chat-entry-attachments .image img {
  width: 20px;
  float: left;
  margin-right: 5px;
}
.dashboard-admin-chat .chat-entries .chat-entry .chat-entry-attachments .file-name {
  float: left;
}

.dashboard-events-list {
  /*    .col-xxl-6:nth-last-child(-n+2) {
      .dashboard-events-item {
          margin-bottom: 0;
      }
  }*/
}
.dashboard-events-list .col-xxl-6:last-of-type .dashboard-events-item {
  margin-bottom: 0;
}
.dashboard-events-list .dashboard-events-item {
  border: 1px solid #e7eaec;
  background: #fafafa;
  padding: 15px;
  margin-bottom: 15px;
  float: left;
  width: 100%;
}
.dashboard-events-list .dashboard-events-item h4 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  margin-top: 0;
}
.dashboard-events-list .dashboard-events-item h4 a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dashboard-events-list .dashboard-events-item .attendees {
  color: #9a9d9f;
  font-size: 90%;
  margin-left: 5px;
}
.dashboard-events-list .dashboard-events-item .details-toggle {
  position: absolute;
  right: 0;
  padding: 5px 10px;
}
.dashboard-events-list .dashboard-events-item .in-days {
  margin-left: 5px;
  color: #9a9d9f;
  font-size: 90%;
}

.dashboard-revenue-change {
  position: absolute;
  right: 15px;
  bottom: 15px;
  font-size: 25px;
}

.infobox-link {
  position: absolute;
  bottom: 0;
}

.upcoming-date {
  font-weight: bold;
  border-bottom: 1px solid #e7eaec;
  margin-bottom: 2px;
}

.log-color {
  border: 1px solid #555;
  display: flex;
  width: 15px;
  height: 15px;
}

.log-changes .text-break p {
  margin: 0;
}

.progress-bar-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #222;
}

.date-counter {
  padding: 0 !important;
}
.date-counter .date-counter-item {
  background: #fff;
  padding: 15px;
  margin-bottom: 15px;
  font-size: 24px;
}
.date-counter .date-counter-item .progress {
  --bs-progress-bar-bg: #5687d0;
}
.date-counter .date-counter-item:last-of-type {
  margin-bottom: 0;
}

/* ===== Year Progress – ibox (width-driven, fylder hele bredden) ===== */
.year-progress-ibox {
  --ypw-muted: #6c7a89;
  --ypw-divider: #d9dde2;
  --ypw-past: #6d7886;
  --ypw-future: #eef2f6;
  --ypw-padding: #f4f6f8;
  --ypw-today: #5687d0;
}

/* Header */
.year-progress-ibox .ypw-big {
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.year-progress-ibox .ypw-sub {
  margin-top: 0.25rem;
  color: var(--ypw-muted);
  font-size: clamp(0.85rem, 1.6vw, 1rem);
}

/* Lodret prikket divider */
.year-progress-ibox .ypw-divider {
  width: 0.4rem;
  height: clamp(2.8rem, 8vw, 5.5rem);
  border-radius: 0.25rem;
  background: repeating-linear-gradient(to bottom, var(--ypw-divider), var(--ypw-divider) 2px, transparent 2px, transparent 4px);
}

/* GRID – altid 100% bredde, ingen scroll */
.year-progress-ibox .ypw-grid {
  --_cols: var(--cols, 53); /* kolonner = uger */
  --gap: 2.5px; /* basis-afstand; nedskaleres på små skærme */
  display: grid;
  grid-auto-flow: column; /* fyld nedad; ny kolonne = ny uge */
  grid-template-columns: repeat(var(--_cols), 1fr);
  grid-template-rows: repeat(7, auto); /* højde styres af cellernes aspect-ratio */
  gap: var(--gap);
  width: 100%;
  margin-top: 0.25rem;
  box-sizing: border-box;
}

/* Celler – kvadratiske og tema-farver som før */
.year-progress-ibox .ypw-cell {
  width: 100%;
  aspect-ratio: 1/1; /* gør dem kvadratiske */
  border-radius: 2px;
  background: var(--ypw-future);
  box-sizing: border-box;
}

.year-progress-ibox .ypw-cell.past {
  background: var(--ypw-past);
}

.year-progress-ibox .ypw-cell.future {
  background: var(--ypw-future);
}

.year-progress-ibox .ypw-cell.today {
  background: var(--ypw-today);
  /* Fallback til ældre browsere (før color-mix) */
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
  /* Moderne browsere: ~20–22% mørkere end today-farven */
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ypw-today), #000 5%);
}

.year-progress-ibox .ypw-cell.padding {
  background: var(--ypw-padding);
}

.year-progress-ibox .ypw-cell:hover {
  outline: 1px solid rgba(0, 0, 0, 0.12);
}

/* Responsivt gap – mindre luft på smalle skærme (større celler, stadig ingen scroll) */
@media (max-width: 1200px) {
  .year-progress-ibox .ypw-grid {
    --gap: 2px;
  }
}
@media (max-width: 992px) {
  .year-progress-ibox .ypw-grid {
    --gap: 1.5px;
  }
}
@media (max-width: 768px) {
  .year-progress-ibox .ypw-grid {
    --gap: 1px;
  }
}
/* Quote widget */
.quote-ibox .ibox-content {
  padding: 18px 20px;
}

.quote-ibox .qod-title {
  font-size: clamp(16px, 2.1vw, 20px);
  font-weight: 600;
  margin-bottom: 8px;
  color: #4a5562;
  letter-spacing: 0.3px;
}

.quote-ibox .qod-text {
  font-size: clamp(14px, 2vw, 22px);
  line-height: 1.4;
  font-weight: 600;
  font-style: italic;
  color: #2f3946;
  margin-bottom: 8px;
}

.quote-ibox .qod-author {
  font-size: 14px;
  color: #6c7a89;
  margin-bottom: 6px;
}

.quote-ibox .qod-meta {
  font-size: 12px;
  color: #8a97a6;
}

:root {
  --rs-surface: #fff;
  --rs-border: #e5e5e5;
  --rs-muted: #e8ecf2; /* “fyldt” del i lys */
  --rs-text: #1f2937;
  --rs-primary: #5687d0;
}

.region-size-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 24px;
}

.region-size-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.region-size-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

/* Kortet */
.region-size-option .card {
  position: relative;
  height: 68px;
  border: 1px solid var(--rs-border);
  border-radius: 6px;
  background: var(--rs-surface);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

/* Den “fyldte” del laves med et absolut lag */
.region-size-option .fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rs-fill, 100%);
  background: var(--rs-muted);
}

/* Teksten */
.region-size-option .txt {
  position: relative; /* over .fill */
  font-weight: 700;
  color: var(--rs-text);
}

/* Størrelser (kun width-variabel ændres) */
.region-size-option.size-100 {
  --rs-fill: 100%;
}

.region-size-option.size-50 {
  --rs-fill: 50%;
}

/* Hover/focus/checked states */
.region-size-option:hover .card {
  border-color: color-mix(in srgb, var(--rs-border), var(--rs-primary) 35%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.region-size-option input:focus-visible + .card {
  outline: 2px solid var(--rs-primary);
  outline-offset: 2px;
}

.region-size-option input:checked + .card {
  border-color: var(--rs-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rs-primary), transparent 75%);
}

.bootstrap-touchspin.input-group {
  flex-wrap: nowrap;
}
.bootstrap-touchspin .form-control.touchspin {
  min-width: 40px;
}

@media (max-width: 767px) {
  .req-delivery-txt {
    font-size: 11px;
  }
}
.chatbox {
  max-height: 700px;
  min-height: 200px;
  background: #f6fafd;
  border-radius: 12px !important;
  border: 1.5px solid #d4e2ef;
  padding: 18px 12px 8px 12px;
  overflow-y: auto;
  transition: box-shadow 0.2s;
  box-shadow: 0 4px 24px 0 rgba(24, 74, 123, 0.04);
  position: relative;
}

.chat-welcome {
  opacity: 0.92;
  transition: opacity 0.3s;
}

.chat-message {
  display: flex;
  margin-bottom: 13px;
  gap: 8px;
}

.avatar {
  font-size: 1.6em;
}

.chat-message.user {
  justify-content: flex-end;
}
.chat-message.user .avatar {
  margin: 0 8px 0 0;
}

.chat-message.bot {
  justify-content: flex-start;
}
.chat-message.bot .avatar {
  margin: 0 0 0 8px;
}

.bubble {
  background: #e6e6e6;
  padding: 10px 14px;
  border-radius: 6px 18px 18px 18px !important;
  max-width: 70%;
  position: relative;
  font-size: 1em;
  color: #194065;
  animation: fadeInChat 0.2s;
  margin-top: 15px;
}

.timestamp {
  font-size: 0.75em;
  color: gray;
  margin-top: 4px;
}

.chat-message.user .bubble {
  background: #5687d0;
  color: #fff;
  border-radius: 18px 6px 18px 18px !important;
  text-align: right;
}
.chat-message.user .bubble .timestamp {
  color: #fff;
  text-align: right;
}

.dot-flashing {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50% !important;
  background-color: #4682e6;
  animation: dotFlashing 1s infinite linear alternate;
}

@keyframes dotFlashing {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}
.bubble-thinking {
  background: #f1f6fb !important;
  color: #4682e6 !important;
  display: flex;
  align-items: center;
}

.thinking-text {
  margin-left: 8px;
  font-style: italic;
  opacity: 0.8;
  font-size: 0.95em;
  letter-spacing: 0.03em;
}

.fade-in {
  animation: fadeInChat 0.3s;
}

@keyframes fadeInChat {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.supersearch-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 60vh;
}

.supersearch-box {
  min-width: 370px;
  max-width: 420px;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 6px 32px rgba(60, 60, 90, 0.08);
}

/* Toolbox */
.toolbox-list {
  max-width: 700px;
  margin: 0 auto;
}

.toolbox-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  text-decoration: none;
  color: #1f2937; /* neutral tekst, også i light */
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.05s;
}

.toolbox-item:hover {
  border-color: #d6dae0;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.04);
  background: #f7fafc;
  transform: translateY(-1px);
  text-decoration: none;
}

.toolbox-item:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(86, 135, 208, 0.35);
}

.toolbox-icon {
  width: 48px;
  text-align: center;
  color: #1665d8; /* ikonblå som i light */
}

/* valgfrit: mere afdæmpet undertekst på kortet */
.toolbox-item .text-muted {
  color: #667085;
}

/* Media queries */
@media (max-width: 350px) {
  .ibox-tools {
    float: none;
    text-align: left;
    display: inline-block;
  }
}
/*SM*/
/*MD*/
@media (min-width: 768px) {
  #page-wrapper {
    position: inherit;
    margin: 0 0 0 220px;
    min-height: 100vh;
  }
}
@media (max-width: 767px) {
  .container-fluid, .row {
    --bs-gutter-x: 15px;
  }
  #page-wrapper {
    position: inherit;
    margin: 0 0 0 0;
    min-height: 100vh;
  }
  #left-panel {
    left: -220px;
  }
  .mini-navbar #left-panel {
    left: 0 !important;
  }
  .ibox-tools {
    float: none;
    text-align: right;
    display: block;
  }
  .dataTables_length {
    float: none;
  }
  .btn-header {
    float: none;
  }
  .page-heading {
    text-align: center;
  }
  .page-heading .button-col {
    padding: 0 15px 15px;
  }
  .margin-bottom-15-xs {
    margin-bottom: 15px;
  }
  .ibox-title {
    border-style: solid;
    border-width: 2px 0 1px;
  }
  .ibox-content {
    /*border-width: 0;
    border-style: none;*/
    padding: 15px 10px 15px 10px;
  }
  .wrapper-content {
    padding: 20px 0px 40px;
  }
  /*.wrapper-content > .row > div[class^="col-"] {
      padding-left: 5px;
      padding-right: 5px;
  }

  .wrapper-content .ibox-content > .row {
      margin-left: -5px;
      margin-right: -5px;
  }*/
  .force-col-padding-xs {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .profile-info .dropdown {
    font-size: 21px;
    height: 28px;
  }
  .profile-info .dropdown .dropdown.icon {
    margin: 6px 0 0 0 !important;
  }
  .profile-info .dropdown .ui.inline.dropdown .menu {
    margin-top: 0;
  }
  .new-member-table {
    width: 100%;
  }
  .member-sex {
    margin-top: 0;
  }
  .margin-top-10-xs {
    margin-top: 10px;
  }
  .px-xs-15px {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .ui.search .form-control {
    width: 250px;
  }
  .dt-button-d-none-xs .dt-buttons {
    display: none;
  }
  .dt-button-first-d-none-xs .btn:not(.buttons-collection) {
    display: none;
  }
  .ps-xs-15px {
    padding-left: 15px;
  }
}
/*LG*/
@media (min-width: 992px) {
  .margin-lr-n-15-lg {
    margin-right: -15px !important;
    margin-left: -15px !important;
  }
  .margin-top-10-lg {
    margin-top: 10px !important;
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  #left-panel {
    left: 0;
  }
  .padding-right-none-sm {
    padding-right: 0;
  }
  .margin-bottom-15-sm {
    margin-bottom: 15px;
  }
}
@media (max-width: 1199px) and (min-width: 992px) {
  .margin-bottom-15-md {
    margin-bottom: 15px;
  }
  .margin-top-10-lg {
    margin-top: 10px;
  }
  .dashboard-events-list .col-xxl-6:nth-last-child(-n+2) .dashboard-events-item {
    margin-bottom: 0;
  }
}
@media (max-width: 1199px) {
  .mini-navbar #left-panel {
    left: -220px;
    z-index: 903;
  }
  .mini-navbar #page-wrapper {
    margin: 0;
  }
  .filter-selector {
    display: none !important;
  }
}
/*XL*/
@media (min-width: 1200px) {
  .navbar-header {
    display: none;
  }
  .padding-right-none-lg {
    padding-right: 0;
  }
  .margin-top-10-xl {
    margin-top: 10px;
  }
  .margin-bottom-15-xl {
    margin-bottom: 15px;
  }
  .font-size-xl-inherit {
    font-size: inherit !important;
  }
}
@media (min-width: 1400px) {
  .dashboard-events-list .col-xxl-6:nth-last-child(-n+2) .dashboard-events-item {
    margin-bottom: 0;
  }
  .margin-bottom-15-xxl {
    margin-bottom: 15px;
  }
  .d-xxl-block {
    display: block !important;
  }
  .d-xxl-none {
    display: none !important;
  }
  .d-xxl-table-cell {
    display: table-cell !important;
  }
  .offset-xxl-1 {
    margin-left: 8.333333%;
  }
  .col-xxl-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-xxl-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-xxl-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-xxl-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-xxl-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-xxl-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-xxl-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-xxl-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-xxl-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-xxl-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-xxl-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}
@media print {
  nav.navbar-static-side {
    display: none;
  }
  body {
    overflow: visible !important;
  }
  #page-wrapper {
    margin: 0;
  }
}
/* Dark theme overrides */
/* =================================================================
  Mentoclub Dark Theme (SCSS, optimized structure)
  - Bootstrap-compatible
  - Maintains existing visuals, reduces duplication via variables
  - Safe to drop-in replace for the old _dark.scss
  ================================================================= */
/* Optional: expose a few as CSS variables for runtime tweaks */
body.dark {
  --mc-text: #e6e9ef;
  --mc-border: #2d3440;
  --mc-panel: #1a1f26;
  --mc-form: #20252c;
  --mc-link: #5687d0;
  --bs-border-color: #2d3440 !important;
}

@keyframes mc-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes mc-stripes {
  to {
    background-position: 40px 0;
  }
}
body.dark {
  background: #0f1115 !important;
  color: #e6e9ef !important;
  --bs-border-color: $mc-border;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --fc-event-text: #e6eef3;
  --fc-event-border: rgba(255,255,255,.12);
  --fc-event-dim: .28;
  --fc-event-dim-hover: .14 ;
}

body.dark a {
  color: #5687d0;
}

body.dark a:focus, body.dark a:hover {
  color: #7aa1de;
  text-decoration: none;
}

body.dark .hr-line-dashed {
  border-top: 1px dashed #2d3440 !important;
  background: 0 0 !important;
}

body.dark .control-label, body.dark .form-text, body.dark .help-block, body.dark .ibox-title h5, body.dark .panel-title, body.dark .text-black, body.dark .text-black-50, body.dark .text-body, body.dark .text-dark, body.dark dd, body.dark dt, body.dark label, body.dark li, body.dark p {
  color: #e6e9ef !important;
}

body.dark .description, body.dark .muted, body.dark .note, body.dark .small, body.dark .text-muted {
  color: #a7b0bd !important;
}

body.dark .bg-light, body.dark .bg-white, body.dark .white-bg {
  color: #e6e9ef !important;
}

body.dark .color-bg-white {
  background: #1a1f26 !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

body.dark .gray-bg, body.dark .ibox, body.dark .panel {
  color: #e6e9ef !important;
}

body.dark .ibox-content {
  border-color: #2d3440 !important;
}

body.dark .ibox-footer, body.dark .ibox-title {
  background: #1a1f26 !important;
  border-color: #2d3440 !important;
}

body.dark .card {
  color: #e6e9ef !important;
}

body.dark .card-footer, body.dark .card-header {
  background: #1a1f26 !important;
  border-color: #2d3440 !important;
}

body.dark .CodeMirror, body.dark .callout, body.dark .cke_chrome, body.dark .dropzone, body.dark .modal-content, body.dark .table, body.dark .trumbowyg-box, body.dark .trumbowyg-button-pane, body.dark .trumbowyg-editor, body.dark .well {
  background: #1a1f26 !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

body.dark .choices__inner, body.dark .choices__list--dropdown, body.dark .ts-control, body.dark .ui.dropdown .menu, body.dark .ui.selection.dropdown {
  background: #1a1f26 !important;
}

body.dark .dashboard-admin-chat .chat-entries .chat-entry {
  color: #e6e9ef !important;
}

body.dark .cms-album-select, body.dark .cms-big-preview .inner-full, body.dark .db-attachment, body.dark .file, body.dark .file .file-name, body.dark .year-progress-ibox {
  background: #1a1f26 !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

body.dark .navbar-default {
  background: 0 0 !important;
  border-color: transparent !important;
}

body.dark .navbar, body.dark .topbar {
  background: #13161b !important;
  border-bottom: 1px solid #2d3440 !important;
}

body.dark .navbar .nav-link, body.dark .navbar-top-links li a, body.dark .ui.icon.input > i.icon {
  color: #a7b0bd !important;
}

body.dark .navbar .nav-link:hover, body.dark .navbar-top-links li a:hover {
  color: #f2f4f7 !important;
}

body.dark .navbar .form-control {
  background: #20252c !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

body.dark .navbar-static-side, body.dark .navmenu-wrap, body.dark .sidebar {
  background: #13161b !important;
  border-right: 1px solid #2d3440 !important;
}

body.dark .logo-element, body.dark .nav-header, body.dark .profile-element {
  background: #13161b !important;
  background-image: none !important;
  color: #e6e9ef !important;
}

body.dark #side-menu > li > a, body.dark .nav > li > a, body.dark .navmenu-wrap .metismenu > li > a {
  background: 0 0 !important;
  color: #b6bfcc !important;
  display: block;
}

body.dark #side-menu > li > a:hover, body.dark .navmenu-wrap .metismenu > li > a:hover {
  background: #1d2128 !important;
  color: #f2f4f7 !important;
}

body.dark #side-menu li.active, body.dark .metismenu .nav-second-level, body.dark .nav-second-level, body.dark .nav > li.mm-active {
  background: #20252c !important;
}

body.dark #side-menu li.active > a, body.dark .nav > li.mm-active > a {
  color: #f2f4f7 !important;
}

body.dark .nav-second-level li a {
  color: #b6bfcc !important;
}

body.dark .nav-second-level li a:hover {
  background: #1d2128 !important;
  color: #f2f4f7 !important;
}

body.dark .card, body.dark .ibox, body.dark .panel {
  background: #1a1f26 !important;
  border: 1px solid #2d3440 !important;
}

body.dark .card-header, body.dark .ibox-title {
  background: #20252c !important;
  color: #f2f4f7 !important;
  border-bottom: 1px solid #2d3440 !important;
}

body.dark .modal-header {
  border-bottom: 1px solid #2d3440 !important;
}

body.dark .card-body, body.dark .ibox-content, body.dark .panel-body {
  background: #1a1f26 !important;
  color: #e6e9ef !important;
}

body.dark .card-footer, body.dark .ibox-footer {
  color: #a7b0bd !important;
}

body.dark .card-footer, body.dark .ibox-footer, body.dark .modal-footer {
  background: #13161b !important;
  border-top: 1px solid #2d3440 !important;
}

body.dark .form-control {
  background-color: #20252c !important;
  color: #f1f3f6 !important;
}

body.dark .form-control, body.dark .form-control-plaintext, body.dark .form-select {
  border: 1px solid #2d3440 !important;
}

body.dark .form-control-plaintext {
  background-color: #20252c !important;
  color: #f1f3f6 !important;
}

body.dark .form-control::placeholder, body.dark .form-select::placeholder, body.dark .ui.default.dropdown:not(.button) > .text {
  color: #a7b0bd !important;
  opacity: 1;
}

body.dark .form-control:focus, body.dark .form-select:focus, body.dark .ts-wrapper.focus .ts-control, body.dark .ui.selection.dropdown.active {
  border-color: #6f7a88 !important;
}

body.dark .input-group-addon, body.dark .input-group-text {
  background: #1d2128 !important;
  color: #a7b0bd !important;
  border-color: #2d3440 !important;
}

body.dark .choices__inner, body.dark .choices__list--dropdown, body.dark .ts-control {
  background: #20252c !important;
  color: #f1f3f6 !important;
  border-color: #2d3440 !important;
}

body.dark .choices__list--dropdown .choices__item--selectable.is-highlighted {
  background: #1d2128 !important;
  color: #f2f4f7 !important;
}

body.dark .ts-dropdown .option.active {
  background: #1d2128 !important;
}

body.dark .dropdown-menu {
  background: #1a1f26 !important;
  color: #e6e9ef !important;
  border: 1px solid #2d3440 !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35) !important;
}

body.dark .dropdown-item {
  color: #e6e9ef !important;
}

body.dark .dropdown-item:focus, body.dark .dropdown-item:hover {
  background: #1d2128 !important;
  color: #f2f4f7 !important;
}

body.dark .dropdown-item.active, body.dark .dropdown-item:active {
  background: #5687d0 !important;
  color: #fff !important;
}

body.dark .dataTables_wrapper .dataTables_filter input, body.dark .dataTables_wrapper .dataTables_paginate .paginate_button, body.dark .modal-header {
  background: #20252c !important;
  color: #e6e9ef !important;
  border-color: #2d3440;
}

body.dark .modal-footer {
  background: #20252c !important;
  color: #e6e9ef !important;
}

body.dark .table {
  --bs-table-color: $mc-text;
  --bs-table-border-color: $mc-border;
  --bs-table-bg: $mc-panel;
  --bs-table-striped-bg: #161a20;
  --bs-table-striped-color: $mc-text;
  --bs-table-hover-bg: #242a33;
  --bs-table-hover-color: #ffffff;
  color: var(--bs-table-color) !important;
  border-color: var(--bs-table-border-color) !important;
  background: 0 0 !important;
}

body.dark .table thead td, body.dark .table thead th {
  color: #f2f4f7 !important;
  border-bottom: 2px solid #2d3440 !important;
}

body.dark .table > :not(caption) > * > * {
  border-color: #2d3440 !important;
}

body.dark .table-hover > tbody > tr:hover {
  background: #242a33 !important;
}

body.dark .table-striped > tbody > tr:nth-of-type(odd) {
  background: #161a20 !important;
}

body.dark table.dataTable tbody tr.selected {
  background: #2f3742 !important;
  color: #fff !important;
}

body.dark .dataTables_wrapper .dataTables_paginate .paginate_button.current, body.dark .tabs-container .nav > li > a {
  background: #1d2128 !important;
  color: #fff !important;
  border-color: #2d3440 !important;
}

/* ==== PAGINATION (neutral + hover) ==== */
body.dark .page-link {
  background: #1a1f26 !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

/* ==== NEUTRAL BUTTON (må IKKE ramme primary/info/danger) ==== */
body.dark .btn:not(.btn-primary):not(.btn-info):not(.btn-danger):not(.btn-outline-danger) {
  background: #303540 !important;
  color: #fff !important;
  border: 1px solid #2d3440 !important;
}

body.dark .btn:not(.btn-primary):not(.btn-info):not(.btn-danger):not(.btn-outline-danger):hover {
  background: #3a404c !important;
}

/* ==== PRIMARY / INFO (blå brand) ==== */
body.dark .btn-info,
body.dark .btn-primary,
body.dark .page-item.active .page-link {
  background: #5687d0 !important;
  border-color: #4a78be !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ==== OUTLINE (info/primary) ==== */
body.dark .btn-outline-info,
body.dark .btn-outline-primary {
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
  background: transparent !important;
}

body.dark .btn-outline-info:hover,
body.dark .btn-outline-primary:hover {
  background: #1d2128 !important;
  color: #fff !important;
}

/* ==== HEADER / FILTER ==== */
body.dark .btn-header .btn-primary {
  background: #5687d0 !important;
  border-color: #4a78be !important;
}

body.dark #filterBtn .btn {
  background: #2a313b !important;
  border: 1px solid #2d3440 !important;
  color: #e6e9ef !important;
}

body.dark #filterBtn .btn:hover {
  background: #323a46 !important;
}

body.dark #filterBtn .btn.btn-primary {
  background: #5687d0 !important;
  border-color: #4a78be !important;
  color: #fff !important;
}

body.dark #filterBtn .btn.btn-danger {
  background: #7a2f3a !important;
  border-color: #5a252e !important;
  color: #fff !important;
}

/* ==== CLOSE BUTTONS ==== */
body.dark .alert .btn-close {
  filter: invert(1) opacity(0.85);
}

body.dark .alert .btn-close:hover {
  opacity: 1;
}

body.dark .btn-close {
  filter: invert(1) brightness(1.2);
  opacity: 0.9;
}

body.dark .btn-close:hover {
  opacity: 1;
}

/* ===== Midnight-blue primary (dark) – interaktioner ===== */
body.dark {
  /* Knapper */
  /* Outline primary – fokus/hover */
  /* Pagination hover + aktiv */
}
body.dark .btn-primary,
body.dark .btn-info {
  background: linear-gradient(180deg, rgb(93.9805555556, 140.6666666667, 210.2194444444) 0%, #5687d0 100%) !important;
  border-color: #4a78be !important;
  color: #fff !important;
  text-decoration: none !important;
}
body.dark .btn-primary:hover,
body.dark .btn-info:hover {
  background: linear-gradient(180deg, #6b95de 0%, rgb(98.6, 143.4, 216.4) 100%) !important;
  border-color: #4a78be !important;
  color: #fff !important;
}
body.dark .btn-primary:active,
body.dark .btn-info:active,
body.dark .btn-primary.active,
body.dark .btn-info.active {
  background: rgb(62.0583333333, 118, 201.3416666667) !important;
  border-color: rgb(61.6707317073, 105.3146341463, 171.7292682927) !important;
  color: #fff !important;
}
body.dark .btn-primary:disabled,
body.dark .btn-info:disabled,
body.dark .btn-primary.disabled,
body.dark .btn-info.disabled {
  background: #3a4961 !important;
  border-color: #313a47 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  opacity: 1 !important;
}
body.dark .btn-outline-primary {
  color: #5687d0 !important;
  border-color: #5687d0 !important;
  background: transparent !important;
}
body.dark .btn-outline-primary:hover {
  color: #fff !important;
  border-color: #4a78be !important;
  background: rgba(86, 135, 208, 0.12) !important;
}
body.dark .btn-outline-primary:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(86, 135, 208, 0.28) !important;
}
body.dark .page-link {
  background: #1a1f26 !important;
  border-color: #2d3440 !important;
  color: #e6e9ef !important;
}
body.dark .page-link:hover {
  background: #2a313b !important;
  border-color: #4a78be !important;
  color: #fff !important;
}
body.dark .page-item.active .page-link {
  background: #5687d0 !important;
  border-color: #4a78be !important;
  color: #fff !important;
}

/* ===== DANGER (rød) – tydelig og uforvekslelig ===== */
body.dark .btn-danger,
body.dark .btn-outline-danger:hover {
  background: #e5565d !important;
  border-color: #c53b41 !important;
  color: #fff !important;
}

body.dark .btn-outline-danger {
  color: #ffbfc2 !important;
  border-color: #c53b41 !important;
  background: transparent !important;
}

body.dark .btn-danger:hover {
  background: #cc4b51 !important;
  border-color: #a83a3f !important;
}

body.dark .btn-danger:active,
body.dark .btn-danger.active {
  background: #b54046 !important;
  border-color: #8f3236 !important;
}

body.dark .badge-info, body.dark .badge-primary {
  background: #3c4553 !important;
  color: #fff !important;
}

body.dark .progress {
  background: #1d2128 !important;
  border: 1px solid #2d3440 !important;
}

body.dark .progress-bar {
  background: #6f7886 !important;
  color: #fff !important;
}

body.dark .progress-bar-text {
  color: #e6e9ef !important;
}

body.dark .date-counter .date-counter-item {
  background: #1a1f26 !important;
  color: #e6e9ef !important;
}

body.dark .activity-feed .feed-element, body.dark .stream .stream-item, body.dark .timeline .timeline-item {
  background: #1a1f26 !important;
  border: 1px solid #2d3440 !important;
  color: #e6e9ef !important;
}

body.dark .spacer span, body.dark .stream .stream-line, body.dark .timeline:before {
  background: #2d3440 !important;
}

body.dark .stream .stream-badge i, body.dark .timeline .timeline-badge {
  background: #20252c !important;
  border: 1px solid #2d3440 !important;
  color: #a7b0bd !important;
}

body.dark .dashboard-admin-chat .chat-entries .chat-entry {
  background: #1a1f26 !important;
  border: 1px solid #2d3440 !important;
}

body.dark .dashboard-admin-chat input[type=text], body.dark .dashboard-admin-chat textarea {
  background: #20252c !important;
  color: #f1f3f6 !important;
  border-color: #2d3440 !important;
}

body.dark .tabs-container .nav > li > a {
  color: #e6e9ef !important;
}

body.dark .tabs-container .nav-pills > li > a.active, body.dark .tabs-container .nav-tabs > li.active > a {
  background: #6f7886 !important;
  color: #fff !important;
  border-color: #2d3440 !important;
}

body.dark .tabs-container .tab-pane .panel-body {
  border-top-color: #2d3440 !important;
  background: #1a1f26 !important;
}

body.dark .highcharts-background, body.dark .highcharts-plot-background {
  fill: #1a1f26 !important;
}

body.dark .highcharts-axis-title, body.dark .highcharts-legend-item text, body.dark .highcharts-subtitle, body.dark .highcharts-title {
  fill: #e6e9ef !important;
}

body.dark .highcharts-axis-labels text {
  fill: #a7b0bd !important;
}

body.dark .highcharts-axis-line, body.dark .highcharts-grid-line, body.dark .highcharts-selection-marker, body.dark .highcharts-tick {
  stroke: #2d3440 !important;
}

body.dark .footer {
  background: #13161b !important;
  border-top: 1px solid #2d3440 !important;
  color: #a7b0bd !important;
}

body.dark .image-border {
  border-color: #1a1f26 !important;
}

body.dark .quote-ibox .qod-title {
  color: #f2f4f7 !important;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
}

body.dark .quote-ibox .qod-text {
  color: #d7dce3 !important;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  margin: 12px 0 6px;
}

body.dark .quote-ibox .qod-meta {
  color: #a7b0bd !important;
  font-size: 12px;
  letter-spacing: 0.2px;
}

body.dark .quote-ibox .qod-meta .text-muted {
  color: #8e99a6 !important;
}

body.dark .color-default {
  color: #ccc !important;
}

body.dark .highcharts-tooltip-box {
  fill: #242a31 !important;
  stroke: #505a68 !important;
}

body.dark .highcharts-tooltip text, body.dark .highcharts-tooltip text tspan {
  fill: #f9fbff !important;
}

body.dark .highcharts-tooltip > span, body.dark .highcharts-data-label span, body.dark .highcharts-axis-title {
  color: #f9fbff !important;
}

/* ===== Highcharts – Dark fix (læselige labels + mørk menu) ===== */
/* Ingen baggrund */
body.dark .highcharts-background {
  fill: transparent !important;
}

/* Akse- og titelfarver */
body.dark .highcharts-axis-labels text,
body.dark .highcharts-axis-title text,
body.dark .highcharts-title,
body.dark .highcharts-subtitle,
body.dark .highcharts-legend-item text {
  fill: #e6e9ef !important;
  color: #e6e9ef !important;
}

/* Grid/lodrette streger */
body.dark .highcharts-grid-line,
body.dark .highcharts-axis-line,
body.dark .highcharts-tick {
  stroke: #2a3039 !important;
}

/* ----- VIGTIGT: Labels på søjler/kurver/pie (tal) ----- */
/* Highcharts giver dem inline text-shadow = “glow”.
   Vi slår den fra og bruger stroke via paint-order, som er stabilt. */
body.dark .highcharts-data-label text,
body.dark .highcharts-data-label tspan,
body.dark .highcharts-label text { /* fanger også donut-teksten i midten */
  fill: #f3f5f8 !important; /* lys tekst */
  text-shadow: none !important; /* fjern glow */
  stroke: rgba(0, 0, 0, 0.75) !important; /* tynd mørk kant */
  stroke-width: 2px !important;
  paint-order: stroke fill; /* tegn kanten før fyld */
  font-weight: 700;
}

/* Connector-linjer fra labels (pie osv.) */
body.dark .highcharts-data-label-connector {
  stroke: #8a93a2 !important;
}

/* Tooltip i dark */
body.dark .highcharts-tooltip-box {
  fill: #0f141b !important;
  stroke: #2d3440 !important;
}

body.dark .highcharts-tooltip text {
  fill: #e6e9ef !important;
}

/* Highcharts context menu (hamburger) i dark */
body.dark .highcharts-contextmenu,
body.dark .highcharts-menu {
  background: #11161d !important;
  border: 1px solid #2d3440 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

body.dark .highcharts-menu-item {
  color: #e6e9ef !important;
  background: transparent !important;
}

body.dark .highcharts-menu-item:hover {
  background: #1a2230 !important;
}

body.dark .highcharts-selection-marker {
  fill: rgba(255, 255, 255, 0.12) !important;
}

body.dark .highcharts-text-outline {
  stroke: none;
}

body.dark .page-heading .breadcrumb > li > a, body.dark .page-heading h2 {
  color: #e6e9ef !important;
}

body.dark .table-responsive {
  background: 0 0 !important;
}

body.dark .ui.form input[type=search], body.dark .ui.form input[type=text], body.dark .ui.input > input {
  background: #20252c !important;
  color: #f1f3f6 !important;
  border: 1px solid #2d3440 !important;
}

body.dark .ts-control input::placeholder, body.dark .ui.input > input::placeholder {
  color: #a7b0bd !important;
}

body.dark .ui.dropdown .menu, body.dark .ui.selection.dropdown {
  background: #20252c !important;
  color: #f1f3f6 !important;
  border-color: #2d3440 !important;
}

body.dark .page-heading.white-bg {
  background: #1a1f26 !important;
  border-color: #2d3440 !important;
}

body.dark .page-heading .breadcrumb {
  background: 0 0 !important;
}

body.dark .badge, body.dark .badge-member-count, body.dark .label {
  background: #303540;
  color: #fff;
}

body.dark .bg-light, body.dark .bg-white, body.dark .gray-bg, body.dark .white-bg {
  background: #1a1f26 !important;
  border-color: #2d3440 !important;
}

body.dark .dropdown-menu > li > a {
  color: #fff;
}

body.dark .dropdown-menu > li > a:focus, body.dark .dropdown-menu > li > a:hover {
  background-color: #3a404c;
}

body.dark .border, body.dark .border-0, body.dark .border-bottom, body.dark .border-end, body.dark .border-start, body.dark .border-top {
  border-color: #2d3440 !important;
}

body.dark .no-print.border-bottom, body.dark .page-heading.border-bottom, body.dark .row.border-bottom, body.dark .wrapper.border-bottom {
  border-bottom: 1px solid #2d3440 !important;
}

body.dark .filter-selector {
  background: #1a1f26 !important;
  border: 1px solid #2d3440 !important;
  color: #e6e9ef !important;
}

body.dark .filter-range .form-select, body.dark .filter-selector .form-select, body.dark .filter-wrapper .form-select, body.dark .ts-wrapper .ts-control {
  background: #20252c !important;
  color: #e6e9ef !important;
  box-shadow: none !important;
}

body.dark .filter-range .form-select:focus, body.dark .filter-selector .form-select:focus, body.dark .filter-wrapper .form-select:focus {
  border-color: #6f8fcf !important;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(86, 135, 208, 0.25) !important;
}

body.dark .arrow-divider {
  color: #8e99a6 !important;
}

body.dark .active-filters div .label, body.dark .active-filters div span, body.dark .ts-dropdown .option {
  color: #e6e9ef !important;
}

body.dark .ts-dropdown .option.active, body.dark .ts-dropdown .option.selected, body.dark .ts-dropdown .option:hover {
  background: #2a3140 !important;
  color: #fff !important;
}

body.dark .ts-wrapper.multi .ts-control .item {
  background: #303846 !important;
  /*border: 1px solid #3a4353 !important;*/
  color: #e6e9ef !important;
}

body.dark .active-filters .badge, body.dark .active-filters .filter-chip, body.dark .active-filters div, body.dark .trumbowyg-modal-box input, body.dark .trumbowyg-modal-box select, body.dark .trumbowyg-modal-box textarea, body.dark .ts-dropdown {
  background: #20252c !important;
  color: #e6e9ef !important;
  border: 1px solid #2d3440 !important;
}

body.dark .active-filters {
  gap: 10px;
}

body.dark .active-filters div {
  border-radius: 8px;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
}

body.dark .active-filters div:hover {
  background: #2a3140 !important;
  border-color: #384253 !important;
}

body.dark .active-filters div .close, body.dark .active-filters div .remove, body.dark .active-filters div a {
  color: #9fb7ea !important;
  margin-left: 8px;
  text-decoration: none;
}

body.dark .active-filters div .close:hover, body.dark .active-filters div .remove:hover, body.dark .active-filters div a:hover {
  color: #cfe0ff !important;
}

body.dark .active-filters div i {
  color: #a7b0bd !important;
  margin-right: 6px;
}

body.dark .popover {
  --bs-popover-bg: $mc-form;
  --bs-popover-border-color: $mc-border;
  --bs-popover-body-color: $mc-text;
  --bs-popover-header-bg: $mc-form;
  --bs-popover-header-color: $mc-text;
  --bs-popover-box-shadow: 0 12px 30px rgba(0,0,0,.45);
  --bs-popover-arrow-color: $mc-form;
  --bs-popover-arrow-border: $mc-border;
  background: var(--bs-popover-bg) !important;
  color: var(--bs-popover-body-color) !important;
  border: 1px solid var(--bs-popover-border-color) !important;
  box-shadow: var(--bs-popover-box-shadow) !important;
}

body.dark .popover .arrow::before {
  border-color: transparent !important;
}

body.dark .popover .arrow::after {
  border-color: var(--bs-popover-arrow-color) !important;
}

body.dark .popover[data-popper-placement^=right] .arrow::before {
  border-right-color: var(--bs-popover-arrow-border) !important;
}

body.dark .popover[data-popper-placement^=right] .arrow::after {
  border-right-color: var(--bs-popover-arrow-color) !important;
}

body.dark .popover[data-popper-placement^=left] .arrow::before {
  border-left-color: var(--bs-popover-arrow-border) !important;
}

body.dark .popover[data-popper-placement^=left] .arrow::after {
  border-left-color: var(--bs-popover-arrow-color) !important;
}

body.dark .popover[data-popper-placement^=top] .arrow::before {
  border-top-color: var(--bs-popover-arrow-border) !important;
}

body.dark .popover[data-popper-placement^=top] .arrow::after {
  border-top-color: var(--bs-popover-arrow-color) !important;
}

body.dark .popover[data-popper-placement^=bottom] .arrow::before {
  border-bottom-color: var(--bs-popover-arrow-border) !important;
}

body.dark .popover[data-popper-placement^=bottom] .arrow::after {
  border-bottom-color: var(--bs-popover-arrow-color) !important;
}

body.dark .popover .h5, body.dark .popover h5 {
  color: #8fb2f6 !important;
  margin: 0 0 6px;
}

body.dark .popover .popover-body {
  color: #e6e9ef !important;
}

body.dark .popover .summary-details-inner .font-weight-500 {
  color: #fff !important;
  font-weight: 600;
}

body.dark .popover a {
  color: #9ec2ff !important;
  text-decoration: none;
}

body.dark .popover a:hover {
  color: #cfe0ff !important;
  text-decoration: underline;
}

body.dark .popover img.img-fluid {
  background: #1a1f26;
  border: 1px solid #2d3440;
}

body.dark table.dataTable tbody tr.selected > td.select-checkbox::after, body.dark table.dataTable tbody tr.selected > th.select-checkbox::after, body.dark table.dataTable thead th.select-checkbox.selected::after {
  color: #fff !important;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
}

body.dark table.dataTable tbody tr > td.select-checkbox::after, body.dark table.dataTable thead th.select-checkbox::after {
  color: transparent;
  display: block;
}

#map .gm-style .gm-ui-hover-effect, body.dark table.dataTable thead th.select-checkbox.no-vis::after, body.dark table.dataTable thead th.select-checkbox.no-vis::before {
  display: none !important;
}

body.dark table.dataTable tbody tr > td.select-checkbox::before, body.dark table.dataTable tbody tr > th.select-checkbox::before, body.dark table.dataTable thead th.select-checkbox::before {
  width: 18px;
  height: 18px;
  background: #20252c !important;
  border: 1px solid #2d3440 !important;
  box-shadow: none !important;
}

body.dark table.dataTable tbody tr > td.select-checkbox:hover::before, body.dark table.dataTable thead th.select-checkbox:hover::before {
  border-color: #6f8fcf !important;
  box-shadow: 0 0 0 2px rgba(86, 135, 208, 0.25) !important;
}

body.dark table.dataTable tbody tr.selected > td.select-checkbox::before, body.dark table.dataTable tbody tr.selected > th.select-checkbox::before, body.dark table.dataTable thead th.select-checkbox.selected::before {
  background: #5687d0 !important;
  border-color: #5687d0 !important;
}

body.dark .alert {
  color: #eef3ff;
  background: #1e232b;
  border: 1px solid #3b4656;
  border-radius: 8px;
  position: relative;
}

/*body.dark .alert .alert-link, body.dark .alert a {
    color: #e7f0ff;
}*/
body.dark .alert::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 2px 0 0 2px;
  opacity: 0.95;
}

body.dark .alert-info {
  --bs-alert-bg: #1f2b3d;
  --bs-alert-border-color: #79a8ff;
  --bs-alert-color: #f1f6ff;
  --bs-alert-link-color: #eaf2ff;
  background: var(--bs-alert-bg);
  border-color: var(--bs-alert-border-color);
  color: var(--bs-alert-color);
}

body.dark .alert-info::before {
  background: #5687d0;
}

body.dark .alert-warning {
  --bs-alert-bg: #3a2b10;
  --bs-alert-border-color: #ffc766;
  --bs-alert-color: #fff7dc;
  --bs-alert-link-color: #fff0c2 ;
}

body.dark .alert-warning::before {
  background: #f59e0b;
}

body.dark .alert-danger, body.dark .alert-success, body.dark .alert-warning {
  background: var(--bs-alert-bg);
  border-color: var(--bs-alert-border-color);
  color: var(--bs-alert-color);
}

body.dark .alert-danger {
  --bs-alert-bg: #351c1f;
  --bs-alert-border-color: #ff7b86;
  --bs-alert-color: #ffe6e8;
  --bs-alert-link-color: #ffeef0 ;
}

body.dark .alert-danger::before {
  background: #ef4444;
}

body.dark .alert-success {
  --bs-alert-bg: #183322;
  --bs-alert-border-color: #3be68e;
  --bs-alert-color: #dfffea;
  --bs-alert-link-color: #eafff1 ;
}

body.dark .alert-success::before {
  background: #22c55e;
}

body.dark .form-select {
  background-color: #20252c !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
  --bs-form-select-bg-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23e6e9ef' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
  --bs-form-select-bg: none ;
}

body.dark .form-select:focus {
  box-shadow: 0 0 0 0.15rem rgba(86, 135, 208, 0.25);
}

body.dark .modal-content {
  background: #20252c;
  border-radius: 12px;
}

body.dark .modal-title {
  color: #e6e9f0;
}

body.dark .inmodal .modal-body, body.dark .modal-body {
  background: 0 0 !important;
}

body.dark .modal-body {
  color: #c9d2de;
}

/*body.dark .modal .form-control, body.dark .modal .form-select {
    background: $mc-form;
    color: #e6e9f0;
    border-color: $mc-border
}*/
body.dark .modal .form-control::placeholder {
  color: #8a93a1;
}

body.dark .modal .form-control:focus, body.dark .modal .form-select:focus {
  border-color: #5687d0;
  box-shadow: 0 0 0 0.2rem rgba(86, 135, 208, 0.2);
}

body.dark .modal .input-group-text {
  background: #20252c;
  color: #aeb7c2;
  border-color: #2d3440;
}

body.dark .modal .form-check-input {
  background: #20252c;
  border-color: #2d3440;
}

body.dark .modal .form-check-input:checked {
  background: #5687d0;
  border-color: #5687d0;
}

body.dark .modal-content {
  background: #1b2027;
  border: 1px solid #2a2f36;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

body.dark .modal-header {
  background: #1b2027;
}

body.dark .modal-footer {
  background: #1b2027;
  border-color: #2d3440 !important;
}

body.dark .inmodal .modal-body {
  background: #1b2027 !important;
  color: #e6e9ef;
}

body.dark .modal-backdrop {
  background: #0b0f14;
}

body.dark .modal-backdrop.show {
  opacity: 0.7;
}

/* === Datepicker — Dark ============================================= */
body.dark .datepicker,
body.dark .datepicker-dropdown {
  background: #1b2027;
  border: 1px solid #2a2f36;
  color: #e6e9ef;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

body.dark .datepicker table {
  background: transparent;
}

body.dark .datepicker table tr th,
body.dark .datepicker table tr td {
  color: #e6e9ef;
  border: 0;
  border-radius: 6px;
}

body.dark .datepicker .dow {
  color: #aab2bf;
}

/* Sørg for at måneds/års-celler (span) også har afrunding */
body.dark .datepicker table tr td span {
  border-radius: 6px;
}

/* Hover/focus – både dag-celler og span-celler (måned/år/tiår) */
body.dark .datepicker table tr td.day:hover,
body.dark .datepicker table tr td.day.focused,
body.dark .datepicker table tr td span:hover,
body.dark .datepicker table tr td span.focused {
  background: rgba(86, 135, 208, 0.18);
  color: #fff;
}

/* Valgt/aktiv – både dag og span */
body.dark .datepicker table tr td.active,
body.dark .datepicker table tr td.active:hover,
body.dark .datepicker table tr td.selected,
body.dark .datepicker table tr td span.active,
body.dark .datepicker table tr td span.active:hover {
  background: #5687d0;
  border-color: #5687d0;
  color: #fff;
  text-shadow: none;
}

/* I dag (dag-visning) */
body.dark .datepicker table tr td.today,
body.dark .datepicker table tr td.today:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #e6e9ef;
}

/* Disabled – både dag og span */
body.dark .datepicker table tr td.disabled,
body.dark .datepicker table tr td.disabled:hover,
body.dark .datepicker table tr td span.disabled,
body.dark .datepicker table tr td span.disabled:hover {
  background: transparent;
  color: #5c6672;
  opacity: 0.65;
  cursor: default;
}

/* Navigation */
body.dark .datepicker .datepicker-switch,
body.dark .datepicker .next,
body.dark .datepicker .prev {
  color: #e6e9ef;
}

body.dark .datepicker .datepicker-switch:hover,
body.dark .datepicker .next:hover,
body.dark .datepicker .prev:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.dark .trumbowyg-box {
  background: #101418;
}

body.dark .trumbowyg-box .trumbowyg-editor a {
  color: #7fb1ff;
}

body.dark .trumbowyg-button-pane {
  background: #20252c;
}

body.dark .trumbowyg-button-pane button.trumbowyg-active, body.dark .trumbowyg-button-pane button:not(.trumbowyg-disable):hover {
  background: #2a313b !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.dark .trumbowyg-button-pane button.trumbowyg-disable {
  opacity: 0.45;
}

body.dark .trumbowyg-button-pane .trumbowyg-separator, body.dark .trumbowyg-button-pane::after, body.dark .trumbowyg-button-pane::before {
  background: #2d3440 !important;
}

body.dark .trumbowyg-modal, body.dark .trumbowyg-modal-box {
  background: #1b222b !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

body.dark .trumbowyg-modal-title {
  color: #e6e9ef !important;
}

body.dark .trumbowyg-modal-button, body.dark .trumbowyg-modal-button:focus {
  background: #2a313b !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

body.dark .trumbowyg-modal-button:hover {
  background: #313946 !important;
}

body.dark .trumbowyg-box svg, body.dark .trumbowyg-box svg *, body.dark .trumbowyg-modal svg, body.dark .trumbowyg-modal svg * {
  color: #fff;
  fill: #fff !important;
  stroke: #fff !important;
}

body.dark .trumbowyg-button-pane button.trumbowyg-active, body.dark .trumbowyg-button-pane button.trumbowyg-open-dropdown, body.dark .trumbowyg-button-pane button:focus, body.dark .trumbowyg-button-pane button:hover {
  color: #fff !important;
}

body.dark .trumbowyg-dropdown, body.dark .trumbowyg-dropdown .trumbowyg-dropdown-row {
  border: 1px solid #2d3440 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.dark .trumbowyg-dropdown .trumbowyg-dropdown-row {
  color: #e6e9ef !important;
}

body.dark .trumbowyg-dropdown button {
  background: 0 0 !important;
}

body.dark .trumbowyg-dropdown button:focus, body.dark .trumbowyg-dropdown button:hover {
  background: #2a313b !important;
  color: #e6e9ef !important;
}

body.dark .trumbowyg-dropdown .trumbowyg-dropdown-separator {
  border-color: #2d3440 !important;
}

body.dark .trumbowyg-dropdown {
  background: #1f262f !important;
  border-color: #3a414b !important;
  color: #e6eef3 !important;
}

body.dark .trumbowyg-dropdown button {
  color: #e6eef3 !important;
}

body.dark .trumbowyg-dropdown button:hover {
  background: #2a313a !important;
  color: #fff !important;
}

body.dark .trumbowyg-button-pane button {
  color: #fff !important;
  background: 0 0 !important;
  border-color: transparent !important;
}

body.dark .trumbowyg-textarea {
  background: #1a1f26 !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

/* ===== TRUMBOWYG DARK — BASEN kopieret til editor1/2/3 ===== */
/* ---------- editor1 ---------- */
body.dark .trumbowyg-editor1-box {
  background: #101418;
}

body.dark .trumbowyg-editor1-box,
body.dark .trumbowyg-editor1-editor-box,
body.dark .trumbowyg-editor1-button-pane {
  border-color: #2d3440 !important;
}

body.dark .trumbowyg-editor1-editor {
  background: #1a1f26 !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

body.dark .trumbowyg-editor1-editor a {
  color: #7fb1ff;
}

body.dark .trumbowyg-editor1-button-pane {
  background: #20252c;
}

body.dark .trumbowyg-editor1-button-pane button.trumbowyg-active,
body.dark .trumbowyg-editor1-button-pane button:not(.trumbowyg-disable):hover {
  background: #2a313b !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.dark .trumbowyg-editor1-button-pane button.trumbowyg-disable {
  opacity: 0.45;
}

body.dark .trumbowyg-editor1-button-pane .trumbowyg-separator,
body.dark .trumbowyg-editor1-button-pane::after,
body.dark .trumbowyg-editor1-button-pane::before {
  background: #2d3440 !important;
}

body.dark .trumbowyg-editor1-button-pane button.trumbowyg-active,
body.dark .trumbowyg-editor1-button-pane button.trumbowyg-open-dropdown,
body.dark .trumbowyg-editor1-button-pane button:focus,
body.dark .trumbowyg-editor1-button-pane button:hover {
  color: #fff !important;
}

body.dark .trumbowyg-editor1-button-pane button {
  color: #fff !important;
  background: 0 0 !important;
  border-color: transparent !important;
}

/* Ikoner som i basen */
body.dark .trumbowyg-editor1-box svg,
body.dark .trumbowyg-editor1-box svg * {
  color: #fff;
  fill: #fff !important;
  stroke: #fff !important;
}

/* HTML-visning (textarea) */
body.dark .trumbowyg-editor1-textarea {
  background: #1a1f26 !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

/* ---------- editor2 ---------- */
body.dark .trumbowyg-editor2-box {
  background: #101418;
}

body.dark .trumbowyg-editor2-box,
body.dark .trumbowyg-editor2-editor-box,
body.dark .trumbowyg-editor2-button-pane {
  border-color: #2d3440 !important;
}

body.dark .trumbowyg-editor2-editor {
  background: #1a1f26 !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

body.dark .trumbowyg-editor2-editor a {
  color: #7fb1ff;
}

body.dark .trumbowyg-editor2-button-pane {
  background: #20252c;
}

body.dark .trumbowyg-editor2-button-pane button.trumbowyg-active,
body.dark .trumbowyg-editor2-button-pane button:not(.trumbowyg-disable):hover {
  background: #2a313b !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.dark .trumbowyg-editor2-button-pane button.trumbowyg-disable {
  opacity: 0.45;
}

body.dark .trumbowyg-editor2-button-pane .trumbowyg-separator,
body.dark .trumbowyg-editor2-button-pane::after,
body.dark .trumbowyg-editor2-button-pane::before {
  background: #2d3440 !important;
}

body.dark .trumbowyg-editor2-button-pane button.trumbowyg-active,
body.dark .trumbowyg-editor2-button-pane button.trumbowyg-open-dropdown,
body.dark .trumbowyg-editor2-button-pane button:focus,
body.dark .trumbowyg-editor2-button-pane button:hover {
  color: #fff !important;
}

body.dark .trumbowyg-editor2-button-pane button {
  color: #fff !important;
  background: 0 0 !important;
  border-color: transparent !important;
}

/* Ikoner */
body.dark .trumbowyg-editor2-box svg,
body.dark .trumbowyg-editor2-box svg * {
  color: #fff;
  fill: #fff !important;
  stroke: #fff !important;
}

/* HTML-visning */
body.dark .trumbowyg-editor2-textarea {
  background: #1a1f26 !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

/* ---------- editor3 ---------- */
body.dark .trumbowyg-editor3-box {
  background: #101418;
}

body.dark .trumbowyg-editor3-box,
body.dark .trumbowyg-editor3-editor-box,
body.dark .trumbowyg-editor3-button-pane {
  border-color: #2d3440 !important;
}

body.dark .trumbowyg-editor3-editor {
  background: #1a1f26 !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

body.dark .trumbowyg-editor3-editor a {
  color: #7fb1ff;
}

body.dark .trumbowyg-editor3-button-pane {
  background: #20252c;
}

body.dark .trumbowyg-editor3-button-pane button.trumbowyg-active,
body.dark .trumbowyg-editor3-button-pane button:not(.trumbowyg-disable):hover {
  background: #2a313b !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.dark .trumbowyg-editor3-button-pane button.trumbowyg-disable {
  opacity: 0.45;
}

body.dark .trumbowyg-editor3-button-pane .trumbowyg-separator,
body.dark .trumbowyg-editor3-button-pane::after,
body.dark .trumbowyg-editor3-button-pane::before {
  background: #2d3440 !important;
}

body.dark .trumbowyg-editor3-button-pane button.trumbowyg-active,
body.dark .trumbowyg-editor3-button-pane button.trumbowyg-open-dropdown,
body.dark .trumbowyg-editor3-button-pane button:focus,
body.dark .trumbowyg-editor3-button-pane button:hover {
  color: #fff !important;
}

body.dark .trumbowyg-editor3-button-pane button {
  color: #fff !important;
  background: 0 0 !important;
  border-color: transparent !important;
}

/* Ikoner */
body.dark .trumbowyg-editor3-box svg,
body.dark .trumbowyg-editor3-box svg * {
  color: #fff;
  fill: #fff !important;
  stroke: #fff !important;
}

/* HTML-visning */
body.dark .trumbowyg-editor3-textarea {
  background: #1a1f26 !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

body.dark .trumbowyg-button-pane .trumbowyg-button-group::after,
body.dark .trumbowyg-editor1-button-pane .trumbowyg-editor1-button-group::after,
body.dark .trumbowyg-editor2-button-pane .trumbowyg-editor2-button-group::after,
body.dark .trumbowyg-editor3-button-pane .trumbowyg-editor2-button-group::after {
  background: #2d3440;
}

body.dark .mail-footer, body.dark .mail-header {
  background: #20252c !important;
}

/*body.dark .mail-footer a, body.dark .mail-header a {
    color: #8fb4ff !important
}*/
body.dark .mail-footer .text-end, body.dark .mail-footer .text-muted, body.dark .mail-header .text-end, body.dark .mail-header .text-muted {
  color: #9aa3af !important;
}

body.dark .mail-header .badge {
  background: #2a313b !important;
  color: #e6e9ef !important;
  border-color: #3a414b !important;
}

body.dark .archive-read-status.fa-envelope-open {
  color: #fff;
}

body.dark .event-description-overflow {
  background-image: linear-gradient(to bottom, rgba(16, 20, 24, 0) 0, rgba(16, 20, 24, 0.25) 70%, rgba(16, 20, 24, 0.55) 100%) !important;
  height: 40px;
}

body.dark .event-description-overflow:has(.fa-chevron-circle-up) {
  background-image: none !important;
  background-color: transparent !important;
  height: 28px;
}

body.dark .event-description-overflow .col-12 {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark .event-description-overflow .fa {
  font-size: 22px;
  color: #cfd8e3;
  background: 0 0 !important;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  line-height: 28px;
}

body.dark .mail-footer, body.dark .mail-header {
  background-color: #12171c !important;
  color: #e6e9ef !important;
  border-color: #2d3440 !important;
}

body.dark .table a, body.dark a.btn-link {
  color: #8ab4ff;
}

body.dark .table a:hover, body.dark a.btn-link:hover {
  color: #cfe1ff;
}

/* ===== FullCalendar – DARK (drop-in replacement) ===== */
body.dark {
  /* Grid + borders */
  /* Header/row backgrounds & tekster */
  /* “I dag” markering */
  /* Events */
  /* Ugenummer-kolonne */
}
body.dark .fc,
body.dark .fc .fc-daygrid,
body.dark .fc .fc-scrollgrid,
body.dark .fc .fc-timegrid {
  --fc-border-color: #2d3440; /* én kilde – ingen duplikater */
}
body.dark .fc-theme-standard td,
body.dark .fc-theme-standard th,
body.dark .fc .fc-scrollgrid {
  border-color: var(--fc-border-color) !important;
}
body.dark .fc-timegrid-slot {
  border-top: 1px solid var(--fc-border-color) !important;
  border-bottom: 0;
}
body.dark .fc-timegrid-slot-minor {
  border-top-style: dotted;
  border-top-color: var(--fc-border-color) !important;
}
body.dark .fc .fc-col-header,
body.dark .fc .fc-col-header-cell {
  background: #101418;
  border-color: var(--fc-border-color) !important;
  color: #e6e9ef;
}
body.dark .fc .fc-timegrid-axis-cushion,
body.dark .fc .fc-daygrid-day-number {
  color: #a7b0bd;
}
body.dark .fc .fc-daygrid-day.fc-day-today,
body.dark .fc .fc-timegrid-col.fc-day-today {
  background: rgba(86, 135, 208, 0.12) !important;
}
body.dark .fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-frame,
body.dark .fc .fc-timegrid-col.fc-day-today .fc-timegrid-col-frame {
  box-shadow: none !important;
  outline: 0 !important;
}
body.dark .fc .fc-daygrid-event,
body.dark .fc .fc-timegrid-event,
body.dark .fc .fc-list-event {
  color: var(--fc-event-text, #fff) !important;
  border: 0 !important;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1px 1px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}
body.dark .fc .fc-daygrid-event::after,
body.dark .fc .fc-event::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--fc-event-dim, 0));
  pointer-events: none;
  border-radius: inherit;
}
body.dark .fc .fc-daygrid-event.fc-event-selected::after,
body.dark .fc .fc-daygrid-event:hover::after,
body.dark .fc .fc-event.fc-event-selected::after,
body.dark .fc .fc-event:hover::after {
  background: rgba(0, 0, 0, var(--fc-event-dim-hover, 0.08));
}
body.dark .fc .fc-timegrid-event:hover,
body.dark .fc a.fc-daygrid-event:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 2px 6px rgba(0, 0, 0, 0.6);
  filter: brightness(1.03);
}
body.dark .fc .fc-daygrid-week-number,
body.dark .fc .fc-week-number {
  color: #a7b0bd;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid #2d3440;
}
body.dark .fc .fc-daygrid-week-number a,
body.dark .fc .fc-week-number a {
  color: inherit;
}

body.dark .pcr-app[data-theme=monolith] {
  background: #10151b !important;
  color: #e6e9ef !important;
  border: 1px solid #2d3440 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6) !important;
}

body.dark .pcr-app[data-theme=monolith] .pcr-color-palette, body.dark .pcr-app[data-theme=monolith] .pcr-color-preview {
  border: 1px solid #2d3440 !important;
  background: #12181f !important;
}

body.dark .pcr-app[data-theme=monolith] .pcr-color-chooser, body.dark .pcr-app[data-theme=monolith] .pcr-color-opacity, body.dark .pcr-app[data-theme=monolith] .pcr-selection {
  border-color: #2d3440 !important;
}

body.dark .pcr-app[data-theme=monolith] .pcr-picker {
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.6) !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25) inset !important;
}

body.dark .pcr-app[data-theme=monolith] .pcr-swatches button {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

body.dark .pcr-app[data-theme=monolith] .pcr-swatches button:focus {
  outline: 2px solid rgba(138, 180, 255, 0.2) !important;
  outline-offset: 2px !important;
}

body.dark .pcr-app[data-theme=monolith] .pcr-result {
  background: #141a22 !important;
  color: #e6e9ef !important;
  border: 1px solid #3a414b !important;
}

body.dark .pcr-app[data-theme=monolith] .pcr-save {
  background: #2b67f6 !important;
  color: #fff !important;
  border: 0 !important;
}

body.dark .pcr-app[data-theme=monolith] .pcr-save:hover {
  filter: brightness(1.08);
}

body.dark .pcr-app[data-theme=monolith] .pcr-cancel {
  background: #222a33 !important;
  color: #e6e9ef !important;
  border: 1px solid #3a414b !important;
}

body.dark .pcr-app[data-theme=monolith] .pcr-cancel:hover {
  background: #2a313b !important;
}

body.dark .pcr-app[data-theme=monolith] .pcr-current-color {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

body.dark .pcr-button {
  background-image: none !important;
  background-color: #10151b !important;
  border: 1px solid #3a414b !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

body.dark .pcr-button:focus {
  outline: 2px solid rgba(138, 180, 255, 0.2);
  outline-offset: 2px;
}

body.dark .news-type a, body.dark .website-slides li {
  background: #10151b !important;
  border: 1px solid #2d3440 !important;
  color: #e6e9ef !important;
}

body.dark .website-slides li {
  padding: 10px 12px !important;
  margin: 10px 15px !important;
  box-shadow: none !important;
}

body.dark .news-type a:hover, body.dark .website-slides li:hover {
  background: #151b23 !important;
  border-color: #3a414b !important;
}

body.dark .website-slides .ui-sortable-handle, body.dark .website-slides li .fa {
  color: #a5b4c7 !important;
}

body.dark .widgetConfigContent .ibox-content .btn, body.dark .widgetConfigContent .ibox-content .btn-default {
  background: #20252c !important;
  color: #e6e9ef !important;
  border: 1px solid #2d3440 !important;
}

body.dark .widgetConfigContent .ibox-content .btn:hover {
  background: #2a313b !important;
  border-color: #3a414b !important;
}

body.dark .news-type a {
  display: block;
  text-align: center;
  text-decoration: none !important;
  padding: 20px 16px !important;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

body.dark .news-type a.active, body.dark .news-type a.selected, body.dark .news-type a[aria-current=true] {
  border-color: #3a6dfc !important;
  box-shadow: 0 0 0 2px #3a6dfc inset !important;
}

body.dark .news-type a img, body.dark .news-type a svg {
  filter: brightness(0.92) contrast(1.05);
}

body.dark .widgetConfigContent .ibox-content .alert, body.dark .widgetConfigContent .ibox-content .callout, body.dark .widgetConfigContent .ibox-content .info-box {
  background: #152032 !important;
  border: 1px solid #233148 !important;
  color: #cfe1ff !important;
}

body.dark .widgetConfigContent .ibox-content .form-control, body.dark .widgetConfigContent .ibox-content input[type=number], body.dark .widgetConfigContent .ibox-content input[type=text], body.dark .widgetConfigContent .ibox-content select {
  background: #12181f !important;
  color: #e6e9ef !important;
  border: 1px solid #2d3440 !important;
}

body.dark .widgetConfigContent .ibox-content .form-control:focus {
  border-color: #3a6dfc !important;
  box-shadow: 0 0 0 3px rgba(58, 109, 252, 0.2) !important;
}

body.dark #map, body.dark .gm-style {
  background: #0c1015 !important;
}

body.dark .gm-style .gm-style-iw-c {
  background: #10151b !important;
  color: #e6e9ef !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45) !important;
}

body.dark .gm-style .gm-style-iw-d {
  color: inherit !important;
}

body.dark .gm-style .gm-style-iw-t::after {
  background: 0 0 !important;
  border-top-color: #10151b !important;
}

body.dark .gm-style .gm-control-active, body.dark .gm-style .gm-fullscreen-control, body.dark .gm-style .gm-style-mtc, body.dark .gm-style .gm-svpc, body.dark .gm-style .gmnoprint div, body.dark .gm-style button {
  background: #20252c !important;
  color: #e6e9ef !important;
  border: 1px solid #2d3440 !important;
  box-shadow: none !important;
}

body.dark .gm-style .gm-style-mtc > button, body.dark .gm-style .gm-style-mtc > div {
  color: inherit !important;
}

body.dark .gm-style .gm-style-cc, body.dark .gm-style .gm-style-cc a, body.dark .gm-style .gm-style-cc span {
  background: 0 0 !important;
  color: #9aa7b4 !important;
}

body.dark .widget-dummy:not(.add-widget), body.dark .widget-list li:not(.add-widget) {
  background: #0f1319 !important;
  color: #e6e9ef !important;
  border: 1px solid #2d3440 !important;
}

body.dark .widget-dummy:not(.add-widget):hover, body.dark .widget-list li:not(.add-widget):hover {
  background: #151b23 !important;
  border-color: #3a414b !important;
}

body.dark .drop-placeholder, body.dark .ibox-content .dashed, body.dark .widget-add, body.dark .widget-dummy.add-widget, body.dark .widget-placeholder, body.dark li.widget.add-widget {
  background: #0c1015 !important;
  border: 2px dotted #3a414b !important;
  color: #8aa0b6 !important;
}

body.dark .drop-placeholder .fa, body.dark .widget-add .fa, body.dark .widget-dummy.add-widget .fa, body.dark .widget-placeholder .fa {
  color: #cfe1ff !important;
  opacity: 1 !important;
}

body.dark .drop-placeholder:hover, body.dark .widget-add:hover, body.dark .widget-dummy.add-widget:hover, body.dark .widget-placeholder:hover {
  border-color: #5a6470 !important;
  color: #cfe1ff !important;
}

body.dark #map {
  --iw-bg: #0f1620;
  --iw-fg: $mc-text;
  --iw-bg: #1f262f;
  --iw-fg: #e6eef3;
  --iw-tail: #1f262f ;
}

#map .gm-style .gm-style-iw-c {
  padding: 0 !important;
}

body.dark #map .gm-style .gm-style-iw-c {
  background: var(--iw-bg) !important;
  color: var(--iw-fg) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
}

#map .gm-style .gm-style-iw-d {
  background: 0 0 !important;
  color: inherit !important;
  padding: 10px 12px !important;
  overflow: auto !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

body.dark #map .gm-style .gm-style-iw-d::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body.dark #map .gm-style .gm-style-iw-d::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

body.dark #map .gm-style .gm-style-iw-d::-webkit-scrollbar-track {
  background: 0 0;
}

#map .gm-style .gm-style-iw-ch {
  display: none !important;
}

html:not([data-theme=dark]) #widgetConfig #map {
  --iw-bg: #ffffff;
  --iw-fg: #0c1222;
  --iw-tail: #ffffff ;
}

body.dark #map .gm-style .gm-style-iw-tc {
  display: block !important;
  top: 0 !important;
  transform: translateX(-50%) !important;
  height: 12px !important;
  width: 24px !important;
  box-shadow: none !important;
}

body.dark #map .gm-style .gm-style-iw-t::after, body.dark #map .gm-style .gm-style-iw-t::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: 0 !important;
  width: 0 !important;
  height: 0 !important;
  background: 0 0 !important;
  box-shadow: none !important;
  clip-path: none !important;
  border-left: 8px solid transparent !important;
  border-right: 8px solid transparent !important;
  border-top: 10px solid var(--iw-bg) !important;
}

body.dark .gm-style .gm-style-iw-tc::after {
  background: var(--iw-bg) !important;
}

body.dark #widgetAdd .ibox-content {
  background: #0e141b !important;
  border-color: #2d3440 !important;
}

body.dark #widgetAdd .widget-type:focus-within, body.dark #widgetAdd .widget-type:hover, body.dark .widget-type-row .widget-type:focus-within, body.dark .widget-type-row .widget-type:hover {
  background: #162131 !important;
  border-color: #3a414b !important;
}

body.dark #widgetAdd .widget-type img, body.dark #widgetAdd .widget-type svg, body.dark .widget-type-row .widget-type img, body.dark .widget-type-row .widget-type svg {
  filter: none !important;
  opacity: 1 !important;
}

body.dark #widgetAdd .widget-type .title, body.dark #widgetAdd .widget-type h4, body.dark .widget-type-row .widget-type .title, body.dark .widget-type-row .widget-type h4 {
  color: #e6e9ef !important;
  margin: 0 0 4px !important;
  font-weight: 600 !important;
}

body.dark #widgetAdd .widget-type .desc, body.dark #widgetAdd .widget-type p, body.dark .widget-type-row .widget-type .desc, body.dark .widget-type-row .widget-type p {
  color: #a9b4c0 !important;
  margin: 0 !important;
}

body.dark {
  /* Selve overlay-panelet */
  /* To-kolonne/fixed-varianter arver samme skin */
  /* Items i collection (DT bruger både <button>, <a> og .dt-button) */
  /* Hover/focus/active – let forstærket baggrund, ingen radius */
  /* Separatorer/linjer i menuen */
  /* Underliggende backdrop (hvis aktiveret af DT) */
  /* Sikkerhedsnet: fjern enhver afrunding, som plugins sætter inline */
}
body.dark div.dt-button-collection {
  background: #10151b !important;
  color: #e6e9ef !important;
  border: 1px solid #2d3440 !important;
  border-radius: 0 !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35) !important;
  z-index: 2001; /* over tabeller/modaler, under dine top-most overlays */
}
body.dark div.dt-button-collection.fixed,
body.dark div.dt-button-collection.two-column,
body.dark div.dt-button-collection.fixed.two-column {
  background: #10151b !important;
  border: 1px solid #2d3440 !important;
  border-radius: 0 !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35) !important;
}
body.dark div.dt-button-collection .dt-button,
body.dark div.dt-button-collection button,
body.dark div.dt-button-collection a,
body.dark div.dt-button-collection .buttons-columnVisibility,
body.dark div.dt-button-collection .buttons-colvis {
  color: #e6e9ef !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left;
  display: block;
  width: 100%;
  padding: 0.45rem 0.75rem;
}
body.dark div.dt-button-collection .dt-button:hover,
body.dark div.dt-button-collection button:hover,
body.dark div.dt-button-collection a:hover,
body.dark div.dt-button-collection .dt-button:focus,
body.dark div.dt-button-collection button:focus,
body.dark div.dt-button-collection a:focus,
body.dark div.dt-button-collection .dt-button.dt-button-active {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  outline: 0;
  border-radius: 0 !important;
}
body.dark div.dt-button-collection .dt-button-split,
body.dark div.dt-button-collection .dt-button-collection-title,
body.dark div.dt-button-collection .dt-button-collection-title + div {
  border-color: #2d3440 !important;
}
body.dark div.dt-button-background {
  background: rgba(0, 0, 0, 0.4) !important;
}
body.dark div.dt-button-collection *,
body.dark div.dt-button-collection *::before,
body.dark div.dt-button-collection *::after {
  border-radius: 0 !important;
}

/* ================================
   Semantic UI – Search results (dark)
   Scope: body.dark (light urørt)
   ================================ */
body.dark {
  /* Selve dropdown-panelet */
  /* Resultat-rows (title/description mv.) */
  /* Hover/focus – subtil baggrund, ingen radius */
  /* Tekstdele */
  /* “Empty/error message” inde i dropdownen */
  /* Kategori-layouts (venstre kolonne med kategori-navn) */
  /* Fjern evt. pseudo-pil/radius fra Semantic */
}
body.dark .ui.search > .results,
body.dark .ui.category.search .results {
  background: #10151b !important;
  color: #e6e9ef !important;
  border: 1px solid #2d3440 !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35) !important;
  border-radius: 0 !important;
  z-index: 2001 !important; /* over indhold, under modaler */
}
body.dark .ui.search > .results .result,
body.dark .ui.category.search .results .result {
  background: transparent !important;
  color: #e6e9ef !important;
  border-radius: 0 !important;
}
body.dark .ui.search > .results .result:hover,
body.dark .ui.search > .results .result:focus,
body.dark .ui.category.search .results .result:hover,
body.dark .ui.category.search .results .result:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  border-radius: 0 !important;
}
body.dark .ui.search > .results .result .title,
body.dark .ui.category.search .results .result .title {
  color: #e6e9ef !important;
}
body.dark .ui.search > .results .result .description,
body.dark .ui.category.search .results .result .description {
  color: #a7b0bd !important;
}
body.dark .ui.search > .results .result .price {
  color: #c9d2df !important;
}
body.dark .ui.search > .results .message,
body.dark .ui.category.search .results .message {
  background: transparent !important;
  color: #c9d2df !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
body.dark .ui.category.search .results .category > .name {
  background: #0f141c !important;
  color: #c9d2df !important;
  border-right: 1px solid #2d3440 !important;
}
body.dark .ui.search > .results:after,
body.dark .ui.category.search .results:after {
  border: none !important;
}

/* =========================================================
   CMS: "Vores sider" (page tree) — dark skin
   Scope: body.dark (light urørt)
   ========================================================= */
body.dark {
  /* Header-linjen over listen */
  /* UL container */
  /* Rækker (drag handle-området) */
  /* Navn/ikon-område og level-indryk bevares */
  /* Fil-/mappe-ikon foran navn */
  /* Højrespalter (actions/status/access) */
  /* Aktiv/hover – subtil, ingen radius */
  /* Sortable placeholder når man trækker rundt */
  /* Sikkerhedsnet i området – ingen radius nogen steder */
}
body.dark .cms-pages-header {
  margin: 0;
  border-bottom: 1px solid #2d3440 !important;
}
body.dark .cms-pages {
  list-style: none;
  padding: 0;
  clear: both;
}
body.dark .cms-pages .details,
body.dark .cms-pages .no-children {
  background-color: #0f1319 !important; /* var mørk */
  color: #e6e9ef !important;
  border-top: 1px solid #2d3440 !important; /* tidligere #fff */
  border-bottom: 1px solid #3a414b !important; /* tidligere #eee */
  cursor: move;
  padding: 10px 0;
  margin: 0;
  border-radius: 0 !important;
}
body.dark .cms-pages .details .name {
  float: left;
  padding-left: 25px;
  line-height: 18px;
  text-align: left;
  color: #e6e9ef !important;
}
body.dark .cms-pages .cms-page .details .name:before,
body.dark .cms-pages .cms-menu .details .name:before {
  color: #c9d2df !important;
}
body.dark .cms-pages.cms-level-1 .details .name, body.dark .cms-pages.cms-level-1 .no-children {
  padding-left: 50px;
}
body.dark .cms-pages.cms-level-2 .details .name, body.dark .cms-pages.cms-level-2 .no-children {
  padding-left: 75px;
}
body.dark .cms-pages.cms-level-3 .details .name, body.dark .cms-pages.cms-level-3 .no-children {
  padding-left: 100px;
}
body.dark .cms-pages .details .actions,
body.dark .cms-pages .details .actions .edit,
body.dark .cms-pages .details .actions .status,
body.dark .cms-pages .details .actions .access {
  color: #c9d2df !important;
}
body.dark .cms-pages .details:hover,
body.dark .cms-pages .no-children:hover {
  background-color: #151b23 !important;
  border-top-color: #3a414b !important;
  border-bottom-color: #4a5563 !important;
}
body.dark .cms-pages .ui-state-highlight {
  height: 100px;
  background-color: #10151b !important;
  border: 1px dashed #3a414b !important;
  outline: 0;
  border-radius: 0 !important;
}
body.dark .cms-pages *,
body.dark .cms-pages *::before,
body.dark .cms-pages *::after {
  border-radius: 0 !important;
}

/* On/Off switch – dark skin (ingen radius) */
body.dark {
  /* Ramme */
  /* Inderskin */
  /* Aktiv side (Ja) – behold nuværende farver */
  /* Inaktiv side (Nej) – mørk i stedet for hvid */
  /* Knoppen */
  /* XL-variant bevarer dine mål – nul radius også her */
  /* Fokus/keyboard – diskret ring */
  /* Disabled */
}
body.dark .onoffswitch-label {
  border: 2px solid #5687d0 !important; /* behold accentrammen */
  border-radius: 0 !important;
  background: transparent !important;
}
body.dark .onoffswitch-inner {
  /* transition styres af dine eksisterende regler */
}
body.dark .onoffswitch-inner .onoffswitch-active {
  background-color: #5687d0 !important;
  color: #fff !important;
  border-radius: 0 !important;
}
body.dark .onoffswitch-inner .onoffswitch-inactive {
  background-color: #121721 !important; /* mørk flade */
  color: #c9d2df !important; /* lys grå tekst */
  text-align: right;
  border-radius: 0 !important;
}
body.dark .onoffswitch-switch {
  background: #0f1115 !important;
  border: 2px solid #5687d0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.dark .onoffswitch.xl .onoffswitch-label {
  margin-bottom: 0;
  border-radius: 0 !important;
}
body.dark .onoffswitch.xl .onoffswitch-inner > span {
  border-radius: 0 !important;
}
body.dark .onoffswitch.xl .onoffswitch-switch {
  border-radius: 0 !important;
}
body.dark .onoffswitch-checkbox:focus + .onoffswitch-label,
body.dark .onoffswitch-label:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(86, 135, 208, 0.35) !important;
}
body.dark .onoffswitch-checkbox[disabled] + .onoffswitch-label,
body.dark .onoffswitch-checkbox:disabled + .onoffswitch-label {
  opacity: 0.55;
  cursor: not-allowed;
}

/* =========================================================
   DARK — Checkbox/Radio (robust over MVC hidden inputs)
   ========================================================= */
/* base box — fælles for begge */
body.dark .mento-checkbox i,
body.dark .mento-radiobutton i {
  background: #20252c !important;
  border-color: #2d3440 !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  /* robust, perfekt centrering af indhold */
  display: flex;
  align-items: center;
  justify-content: center;
  outline: 0;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* ---------------- CHECKBOX ---------------- */
/* hvidt flueben, centreret via flex – brug ~ pga. MVC hidden inputs */
body.dark .mento-checkbox input ~ i::after {
  color: #fff !important; /* tving hvid i dark */
  font-family: "Font Awesome 6 Pro";
  content: "\f00c"; /* fa-check */
  font-weight: 900;
  font-size: 9px;
  line-height: 1;
  display: block;
  opacity: 0;
  transition: opacity 0.1s;
}

/* hover/focus ring */
body.dark .mento-checkbox input:hover ~ i {
  border-color: #6f8fcf;
  box-shadow: 0 0 0 2px rgba(86, 135, 208, 0.25);
}

body.dark .mento-checkbox input:focus-visible ~ i {
  box-shadow: 0 0 0 2px rgba(86, 135, 208, 0.45);
}

/* checked + indeterminate tilstande */
body.dark .mento-checkbox input:checked ~ i {
  background: #5687d0 !important;
  border-color: #5687d0 !important;
}

body.dark .mento-checkbox input:checked ~ i::after {
  opacity: 1;
}

body.dark .mento-checkbox input:indeterminate ~ i {
  background: #5687d0;
  border-color: #5687d0;
}

/* vandret streg – centreres af flex */
body.dark .mento-checkbox input:indeterminate ~ i::after {
  content: "";
  display: block;
  width: 12px;
  height: 2px;
  background: #fff;
  opacity: 1;
}

/* ---------------- RADIO ---------------- */
body.dark .mento-radiobutton i {
  border-color: #576173 !important;
}

/* dot’en bruger currentColor fra i – sæt farven når checked */
body.dark .mento-radiobutton input:checked ~ i {
  border-color: #5687d0 !important;
  color: #5687d0 !important; /* dot-farve */
  box-shadow: 0 0 0 2px rgba(86, 135, 208, 0.25);
}

/* dot — robust centreret (absolute + translate) og ~ for MVC hidden */
body.dark .mento-radiobutton input ~ i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  background-color: currentColor;
  opacity: 0;
  transition: opacity 0.1s;
  clip-path: circle(50%);
}

body.dark .mento-radiobutton input:checked ~ i::after {
  opacity: 1;
}

/* hover/focus/disabled */
body.dark .mento-radiobutton input:not(:disabled):focus ~ i,
body.dark .mento-radiobutton:hover input:not(:disabled) ~ i {
  border-color: #6b95de !important;
}

body.dark .mento-radiobutton input:disabled ~ i {
  border-color: #3a414b !important;
  box-shadow: none !important;
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

body.dark .mento-radiobutton input:not(:disabled):focus-visible ~ i {
  outline: 2px solid rgba(86, 135, 208, 0.35);
  outline-offset: 2px;
}

/* Fallback for native inputs du ikke restyler */
body.dark input[type=checkbox],
body.dark input[type=radio] {
  accent-color: #5687d0;
}

/* =========================================================
   CMS Download-liste — dark skin (base urørt)
   ========================================================= */
body.dark {
  /* Liste-rammer og rækker */
  /* Header-rækken: 2px bundramme i mørk nuance */
  /* Hover på normale rækker (meget let løft) */
  /* Thumbs/ikonkant */
  /* Filnavn – behold arvede farver, men undgå utilsigtet gråt */
  /* “Fil klar?”-ikon/kolonne centreret – uændret, men sikr farven */
  /* Drag/markeringslinje eller fokus-states kan få en anelse tydeligere kant */
  /* Utility override: .border-bottom-2px skal være mørk i dark */
}
body.dark .cms-download ul {
  padding: 0;
}
body.dark .cms-download ul li {
  /* samme layout, men mørke kanter og ingen lys baggrund */
  border-color: #2d3440 !important; /* tidligere $border-color (lys) */
  background: transparent !important;
  color: inherit !important;
  border-width: 1px 0;
  border-radius: 0 !important;
}
body.dark .cms-download li.download-header {
  border: none !important;
  border-bottom: 2px solid #3a414b !important; /* forstærket men subtil */
  background: #0f1419 !important; /* svag kontrast ift. baggrund */
  color: #e6e9ef !important;
}
body.dark .cms-download ul li:hover:not(.download-header) {
  background: #151b23 !important; /* i stedet for #f7f7f7 */
  border-color: #3a414b !important; /* i stedet for #ddd */
}
body.dark .cms-download ul li .img-container.thumb {
  border-color: #2d3440 !important;
  border-radius: 0 !important;
}
body.dark .cms-download ul li a .name {
  color: inherit !important;
}
body.dark .cms-download ul li .link-status {
  color: #9fb3cc;
}
body.dark .cms-download ul li .link-status img {
  width: 16px;
}
body.dark .cms-download ul li:focus-within {
  outline: 2px solid rgba(86, 135, 208, 0.25);
  outline-offset: 2px;
}
body.dark .border-bottom-2px {
  border-bottom: 2px solid #3a414b !important;
}

/* ===============================
   Contact cards — dark overrides
   =============================== */
body.dark {
  /* Kategori-boks */
  /* Kortet */
}
body.dark .cms-contact-list {
  /* Sortable placeholder */
}
body.dark .cms-contact-list .ibox.contact-category .ibox-title {
  border-color: #3a414b #2b313a #2b313a; /* top / sides */
  background-color: #1e242c;
  color: #e5e7eb;
}
body.dark .cms-contact-list .ibox.contact-category .ibox-content {
  border-color: #2b313a;
  background-color: #11161d;
}
body.dark .cms-contact-list .ibox.contact-category .ibox-content > ul {
  min-height: 25px;
}
body.dark .cms-contact-list .ui-state-highlight {
  background-color: #1c2330;
  border: 1px dashed #3a414b;
  height: 100px;
  margin-bottom: 15px;
  clear: both;
}
body.dark .cms-contact-list .contact-category-items .ui-state-highlight {
  margin: 0;
  clear: none;
}
body.dark .contact-preview-item {
  background-color: #161b22; /* var #fff */
  border: 1px solid #3a414b; /* var $border-color */
  color: #e5e7eb;
  text-align: center;
  cursor: all-scroll;
  position: relative;
  /* Tydelig keyboard-focus på hele kortet */
}
body.dark .contact-preview-item .contact-edit-link {
  border-left: 1px solid #2b313a; /* var #e7eaec */
  border-bottom: 1px solid #2b313a;
  background-color: #1e242c;
  color: #cbd5e1;
}
body.dark .contact-preview-item .contact-edit-link:hover, body.dark .contact-preview-item .contact-edit-link:focus {
  background-color: #232a33;
  color: #fff;
}
body.dark .contact-preview-item .upper {
  padding: 40px 20px;
  height: 239px;
}
body.dark .contact-preview-item .upper .contact-image { /* var #eee */
  background-color: #2a2f36;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100px;
  height: 100px;
  margin: 0 auto 20px !important;
  border-radius: 50% !important;
}
body.dark .contact-preview-item .upper h4.name {
  color: #e5e7eb;
}
body.dark .contact-preview-item .upper div.function {
  /* $primary bibeholdes */
  /* var #777 */
}
body.dark .contact-preview-item .upper div.function span {
  filter: brightness(1.05);
}
body.dark .contact-preview-item .upper div.function em {
  color: #9aa3af;
  font-style: normal;
}
body.dark .contact-preview-item hr {
  border: 0;
  border-top: 1px solid #2b313a;
  margin: 0;
}
body.dark .contact-preview-item .lower {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
  height: 68px;
  /* Retter base-selectorens brede :last-child */
}
body.dark .contact-preview-item .lower li {
  border-right: 1px solid #2b313a;
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}
body.dark .contact-preview-item .lower li a {
  color: #9aa3af; /* var #999 */
  font-size: 20px;
}
body.dark .contact-preview-item .lower li a:hover, body.dark .contact-preview-item .lower li a:focus {
  color: #e5e7eb;
}
body.dark .contact-preview-item .lower li:last-child {
  border-right-color: transparent;
}
body.dark .contact-preview-item:focus-within {
  outline: 2px solid #4b93ff;
  outline-offset: -2px;
}

/* ===========================
   CMS – targeted dark overrides
   =========================== */
/* Pages-listen */
body.dark .cms-pages-header {
  border-bottom: 1px solid #2d3440;
}

body.dark .cms-pages .details,
body.dark .cms-pages .no-children {
  background-color: rgba(15, 20, 27, 0.85);
  border-top: 1px solid #2d3440;
  border-bottom: 1px solid #3a414b;
  color: #e6e9ef;
}

body.dark .cms-pages .ui-state-highlight {
  background-color: #151b23;
}

/* Select template */
body.dark .cms-select-template .cms-template a {
  color: #c9d2df;
}

body.dark .cms-select-template .cms-template .cms-template-wrapper:hover {
  background-color: #151b23;
}

body.dark .cms-select-template .cms-template .cms-template-coming-soon {
  background-color: #4a4f57;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.25) 35px, rgba(255, 255, 255, 0.25) 70px);
  opacity: 0.35;
}

/* Widgets (hoverfeltet) */
body.dark .cms-widget:hover .cms-widget-container {
  background-color: #151b23;
}

/* Overlay + preview */
body.dark .cms-big-preview .inner-full {
  background-color: #101418;
  color: #e6e9ef;
  border: 1px solid #2d3440;
}

/* Google places dropdown */
body.dark .pac-container {
  background-color: #1b222b;
  color: #e6e9ef;
  border: 1px solid #2d3440;
}

body.dark .pac-container .pac-item, body.dark .pac-item-query {
  color: #e6e9ef;
}

body.dark .pac-container .pac-item:hover {
  background-color: #2a313b;
}

/* Top pill + CodeMirror kant */
body.dark .cms-top-pill {
  border-bottom: 1px solid #2d3440;
}

body.dark .CodeMirror {
  border: 1px solid #2d3440;
}

/* Album select (liste til venstre) */
body.dark .cms-album-select {
  background-color: #101418;
  border: 1px solid #2d3440;
  color: #e6e9ef;
}

body.dark .cms-album-select label {
  color: inherit;
}

body.dark .cms-album-select label:hover {
  background-color: #151b23;
}

/* Download-liste – hover (hvis ikke allerede sat) */
body.dark .cms-download ul li:hover:not(.download-header) {
  background: #151b23 !important;
  border-color: #3a414b !important;
}

/* Kontaktkort (preview tiles) */
body.dark .contact-preview-item {
  background-color: #101418;
  border-color: #2d3440;
  color: #e6e9ef;
}

body.dark .contact-preview-item .contact-edit-link {
  border-left: 1px solid #2d3440;
  border-bottom: 1px solid #2d3440;
}

body.dark .contact-preview-item .upper .contact-image {
  background: #2a313b no-repeat center;
}

body.dark .contact-preview-item .upper div.function em {
  color: #9fb3cc;
}

body.dark .contact-preview-item .lower li {
  border-right: 1px solid #2d3440;
}

body.dark .contact-preview-item .lower li a {
  color: #9fb3cc;
}

body.dark .contact-preview-item hr {
  color: #2d3440;
}

/* Galleri – albumkort */
body.dark .cms-gallery .album .album-img {
  background-color: #0f141b;
}

body.dark .cms-gallery .album .album-hover {
  background: rgba(0, 0, 0, 0.6);
}

/* Event-liste – lysere dark og bredere match */
body.dark .event-list-page-headline {
  border-bottom: 1px dotted #3a414b;
}

/* Selve kortet (ram både .card, linket og body) */
body.dark .event-list-page .card,
body.dark .event-list-page .card > a,
body.dark .event-list-page .card .card-body,
body.dark .event-list-page .card > a .card-body {
  background-color: #181e27 !important; /* lysere end $mc-bg-3 */
  border: 1px solid #3a414b !important; /* lidt lysere kant */
  box-shadow: none !important;
}

/* Hover-løft – subtil */
body.dark .event-list-page .card:hover,
body.dark .event-list-page .card > a:hover {
  background-color: #1d2430 !important;
  border-color: #4a5361 !important;
}

/* Tekster og “tid”-pill */
body.dark .event-list-page .card .details {
  color: #e6e9ef;
}

body.dark .event-list-page .card .details a {
  color: #c9d2df;
}

body.dark .event-list-page .card .details .time {
  background-color: #20252c;
  color: #cfd6de;
  border: 1px solid #2d3440;
}

/* Billedtoppen må ikke få lys baggrund */
body.dark .event-list-page .card .card-img-top {
  background: transparent !important;
}

/* CodeMirror – dark gutter fix */
body.dark .CodeMirror-gutters,
body.dark .CodeMirror-gutter,
body.dark .CodeMirror-gutter-elt,
body.dark .CodeMirror-gutter-filler,
body.dark .CodeMirror-scrollbar-filler {
  background: #101418 !important;
  border-right: 1px solid #2d3440 !important;
}

/* Linjenumre */
body.dark .CodeMirror-linenumber,
body.dark .cm-s-default .CodeMirror-linenumber {
  color: #9fb3cc !important;
}

/* Settings – dark tweaks (små og præcise) */
/* Preview-området */
body.dark .layout-preview {
  background: #151b23 !important;
}

body.dark .layout-preview-wrapper {
  background: #0f141b !important;
  border: 1px solid #2d3440;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.dark .form-select option {
  background: #101418;
  color: #e6e9ef;
}

/* Info-bokse */
body.dark .alert-info {
  background: #101418;
  border-color: #2d3440;
  color: #c9d2df;
}

/* Dropzone */
body.dark .dropzone {
  background: #141a22;
  border: 2px dashed #2d3440;
  color: #c9d2df;
}

body.dark .dropzone .dz-message {
  color: #c9d2df;
}

/* noUiSlider (”Formørk video”-slider) */
body.dark .slider-snap.noUi-horizontal {
  background: #1b222b;
}

body.dark .slider-snap .noUi-connect {
  background: #3a414b;
}

body.dark .slider-snap.noUi-horizontal .noUi-handle {
  background: #e6e9ef;
  border: 1px solid #2d3440;
}

/* Pickr (farvevælger) */
body.dark .pcr-app {
  background: #1b222b;
  color: #e6e9ef;
  border: 1px solid #2d3440;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.dark .pcr-app .pcr-interaction input {
  background: #101418;
  color: #e6e9ef;
  border: 1px solid #2d3440;
}

/* Baggrunds-mønstre (vælgeren) */
body.dark .cms-background-wrapper .cms-background {
  background: #0f141b;
  border: 1px solid #2d3440;
  color: #676a6c !important;
}

/* Events – dark overrides */
body.dark .required-fields .required-field-inner,
body.dark .requirements .requirement,
body.dark .participation-requirements .participation-requirement,
body.dark .add-price,
body.dark .price,
body.dark .event-media,
body.dark .event_panel_v1,
body.dark .event-panel {
  background-color: #151b23;
  border: 1px solid #2d3440;
  color: #e6e9ef;
}

/* Små labels/”chips” på boksene */
body.dark .required-fields .required-field-inner .field-type,
body.dark .requirements .requirement .field-type,
body.dark .participation-requirements .participation-requirement .field-type {
  background: #1a2029;
  border-color: #2d3440;
}

/* Værktøjsbjælker i bokse */
body.dark .participation-requirements .participation-requirement .req-tools,
body.dark .price .price-tools {
  border-color: #2d3440;
}

body.dark .participation-requirements .participation-requirement .req-tools span,
body.dark .price .price-tools span {
  border-left-color: #2d3440;
}

/* Dæmpet tekst */
body.dark .event-static-details .datetime2,
body.dark .event-static-details .address,
body.dark .event-panel.attendees .attendees-desc {
  color: #9aa8b7;
}

/* “Læs mere”-fade */
body.dark .event-description-overflow {
  background-image: linear-gradient(to bottom, rgba(21, 27, 35, 0.1), rgb(21, 27, 35));
}

body.dark .event-description-overflow .fa {
  background-color: #1f262f;
  color: #cfd6de;
}

/* Rød “no-create” boks */
body.dark .no-create .ibox-title,
body.dark .no-create .ibox-content {
  background-color: #2a171b;
  border-color: #5b2a31;
  color: #f0b4b8;
}

body.dark .no-create .ibox-content label {
  color: #f0b4b8;
}

/* Grå panel i “umbrella-event-member-signup” */
body.dark .umbrella-event-member-signup {
  background-color: #1a2029;
  border-color: #2d3440;
}

/* Wizard step-titel (var #000) */
body.dark .wizard > .steps .title {
  color: #e6e9ef;
}

/* Den hårde højre-border (var #e7eaec) */
body.dark .border-right-xl {
  border-right: 1px solid #2d3440 !important;
}

body.dark .border-left-xl {
  border-left: 1px solid #2d3440 !important;
}

/* Dark: vis altid rød kant ved valideringsfejl */
body.dark .has-error .form-control,
body.dark .has-error .form-select,
body.dark .has-error .input-group-text,
body.dark .form-control.input-validation-error,
body.dark .form-select.input-validation-error,
body.dark input.input-validation-error,
body.dark select.input-validation-error,
body.dark textarea.input-validation-error {
  border-color: #ed5565 !important;
}

/* På fokus: bevar farven og giv let glow */
body.dark .has-error .form-control:focus,
body.dark .form-control.input-validation-error:focus,
body.dark .form-select.input-validation-error:focus {
  border-color: #f06a7a !important;
  box-shadow: 0 0 0 0.2rem rgba(237, 85, 101, 0.15);
}

/* Valideringstekst i mørkt tema */
body.dark .field-validation-error,
body.dark .has-error .help-block {
  color: #f08a98;
}

/* Datetimepicker – dark tema */
body.dark .datetimepicker {
  background: #171c22;
  border-color: #2d3440;
  color: #cfd6de;
}

body.dark .datetimepicker table tr td,
body.dark .datetimepicker table tr th {
  color: #cfd6de;
}

/* Hover på dage/timer/minutter/sekunder + måned/år spans */
body.dark .datetimepicker table tr td.day:hover,
body.dark .datetimepicker table tr td.hour:hover,
body.dark .datetimepicker table tr td.minute:hover,
body.dark .datetimepicker table tr td.second:hover,
body.dark .datetimepicker table tr td span:hover {
  background: #2a313b !important;
  color: #e6e9ef !important;
}

/* Valgt felt */
body.dark .datetimepicker table tr td.active,
body.dark .datetimepicker table tr td.active:hover,
body.dark .datetimepicker table tr td.selected,
body.dark .datetimepicker table tr td.selected:hover {
  background: #3a414b !important;
  color: #fff !important;
}

/* I dag */
body.dark .datetimepicker table tr td.today,
body.dark .datetimepicker table tr td.today:hover {
  background: #1f262f !important;
  color: #e6e9ef !important;
}

/* Pile og månedsskifter */
body.dark .datetimepicker table thead th.prev:hover,
body.dark .datetimepicker table thead th.next:hover,
body.dark .datetimepicker table thead th.switch:hover {
  background: #2a313b !important;
  color: #e6e9ef !important;
}

/* Deaktiverede dage */
body.dark .datetimepicker table tr td.disabled,
body.dark .datetimepicker table tr td.disabled:hover {
  color: #6c7683 !important;
  background: transparent !important;
  cursor: default;
}

/* Placeholder i dark (så den ikke “forsvinder”) */
body.dark .form-control::placeholder {
  color: #8b94a3;
  opacity: 1; /* Firefox */
}

/* Autofill (Chrome/Edge/Safari) – hold tekst SYNLIG */
body.dark input:-webkit-autofill,
body.dark input:-webkit-autofill:hover,
body.dark input:-webkit-autofill:focus,
body.dark textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #20252c inset !important; /* mørk bg */
  -webkit-text-fill-color: #e6e9ef !important; /* lys tekst */
  caret-color: #e6e9ef;
  border-color: #2d3440 !important;
}

/* Autofill (Firefox) */
body.dark input:-moz-autofill,
body.dark textarea:-moz-autofill {
  box-shadow: 0 0 0 1000px #0f141b inset !important;
  -moz-text-fill-color: #e6e9ef !important;
  caret-color: #e6e9ef;
  border-color: #2d3440 !important;
}

/* Tving UA til "light" palette for inputs, så ikonet starter mørkt */
body.dark input,
body.dark select,
body.dark textarea {
  color-scheme: light;
}

/* Gør kalender/ur-ikonet lyst – men ikke for lyst */
body.dark input[type=time]::-webkit-calendar-picker-indicator,
body.dark input[type=date]::-webkit-calendar-picker-indicator,
body.dark input[type=datetime-local]::-webkit-calendar-picker-indicator,
body.dark input[type=month]::-webkit-calendar-picker-indicator,
body.dark input[type=week]::-webkit-calendar-picker-indicator {
  filter: invert(78%) contrast(90%);
  opacity: 0.8;
}

body.dark input[type=time]:hover::-webkit-calendar-picker-indicator,
body.dark input[type=date]:hover::-webkit-calendar-picker-indicator,
body.dark input[type=datetime-local]:hover::-webkit-calendar-picker-indicator,
body.dark input[type=month]:hover::-webkit-calendar-picker-indicator,
body.dark input[type=week]:hover::-webkit-calendar-picker-indicator,
body.dark input[type=time]:focus::-webkit-calendar-picker-indicator,
body.dark input[type=date]:focus::-webkit-calendar-picker-indicator,
body.dark input[type=datetime-local]:focus::-webkit-calendar-picker-indicator,
body.dark input[type=month]:focus::-webkit-calendar-picker-indicator,
body.dark input[type=week]:focus::-webkit-calendar-picker-indicator {
  filter: invert(90%) contrast(100%);
  opacity: 1;
}

/* ===== Loader – dark tema (variabler) ===== */
html[data-theme=dark],
body.dark {
  --mc-overlay-bg: rgba(10,14,20,.82);
  --mc-overlay-border: $mc-border;
  --mc-text-color: $mc-text;
  --mc-spinner-ring: rgba(255,255,255,.15);
  --mc-spinner-top: $mc-link;
  --mc-inline-bar-border: rgba(255,255,255,.28);
  --mc-inline-bar-bg: $mc-bg-3;
  --mc-inline-stripe1: rgba(255,255,255,.22);
  --mc-inline-stripe2: rgba(255,255,255,.08);
}

/* ===== Highcharts context menu — Dark theme ===== */
/* Smid i _dark.scss (eller dit dark bundle) nederst */
html[data-theme=dark],
body.dark {
  /* Selve menu-containeren */
  /* Hver menu-linje */
  /* Hover/focus */
  /* Disabled punkter (f.eks. download hvis ikke mulig) */
  /* Separatorer */
}
html[data-theme=dark] .highcharts-contextmenu,
html[data-theme=dark] .highcharts-menu,
body.dark .highcharts-contextmenu,
body.dark .highcharts-menu {
  z-index: 2000 !important; /* sikre den ligger over charts */
  font: 0.9rem/1.4 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji" !important;
  background: #1b2129 !important; /* mørk baggrund */
  border: 1px solid #2d3440 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55) !important;
  border-radius: 8px !important;
  padding: 0.35rem !important;
}
html[data-theme=dark] .highcharts-menu-item,
body.dark .highcharts-menu-item {
  /* Highcharts sætter selv inline bg/text — vi nulstiller derfor */
  background: transparent !important;
  color: #e6e9ef !important;
  border-radius: 6px !important;
  padding: 0.5rem 0.8rem !important;
  margin: 0 !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
  cursor: pointer !important;
}
html[data-theme=dark] .highcharts-menu-item:hover,
html[data-theme=dark] .highcharts-menu-item:focus,
body.dark .highcharts-menu-item:hover,
body.dark .highcharts-menu-item:focus {
  background: rgba(86, 135, 208, 0.14) !important; /* blålig hover */
  color: #ffffff !important;
}
html[data-theme=dark] .highcharts-menu-item-disabled,
html[data-theme=dark] .highcharts-menu-item-disabled:hover,
body.dark .highcharts-menu-item-disabled,
body.dark .highcharts-menu-item-disabled:hover {
  color: #8b97a8 !important;
  background: transparent !important;
  cursor: default !important;
  opacity: 0.7 !important;
}
html[data-theme=dark] .highcharts-separator,
html[data-theme=dark] .highcharts-menu hr,
body.dark .highcharts-separator,
body.dark .highcharts-menu hr {
  height: 0 !important;
  border: 0 !important;
  border-top: 1px solid #2d3440 !important;
  margin: 0.35rem 0.25rem !important;
  opacity: 1 !important;
}

body.dark .dashboard-events-list .dashboard-events-item {
  background: #151a21; /* kort-baggrund */
  border-color: #2d3440; /* kant som resten af dark UI */
  color: #e6e9ef; /* basis-tekst */
  /* dæmpet sekundær tekst */
  /* let hover for bedre affordance */
}
body.dark .dashboard-events-list .dashboard-events-item h4,
body.dark .dashboard-events-list .dashboard-events-item h4 a {
  color: #e6e9ef;
}
body.dark .dashboard-events-list .dashboard-events-item .attendees,
body.dark .dashboard-events-list .dashboard-events-item .in-days {
  color: #9aa4b2;
}
body.dark .dashboard-events-list .dashboard-events-item .details-toggle {
  color: #cfd6e3;
}
body.dark .dashboard-events-list .dashboard-events-item:hover {
  border-color: #3a4452;
  background: #1a2029;
}

/* ===== Year-progress (DARK) – bedre blend med ibox ===== */
body.dark .year-progress-ibox,
html[data-theme=dark] .year-progress-ibox {
  /* Fallback til jeres kort/surface-baggrund */
  --_surface: var(--mc-surface, #12171f); /* ibox-content i dark */
  --_ink: var(--mc-ink, $mc-text); /* primær tekst i dark */
  --_accent: var(--mc-accent, $mc-link); /* jeres blå accent */
  /* Tekster */
  /* Divider – diskret mod baggrunden */
  /* Let hover uden at poppe */
}
body.dark .year-progress-ibox .ypw-big,
html[data-theme=dark] .year-progress-ibox .ypw-big {
  color: var(--_ink);
}
body.dark .year-progress-ibox .ypw-sub,
html[data-theme=dark] .year-progress-ibox .ypw-sub {
  color: color-mix(in srgb, var(--_ink), transparent 55%);
}
body.dark .year-progress-ibox .ypw-divider,
html[data-theme=dark] .year-progress-ibox .ypw-divider {
  --line: color-mix(in srgb, var(--_ink), transparent 72%);
  background: repeating-linear-gradient(to bottom, var(--line), var(--line) 2px, transparent 2px, transparent 4px);
}
body.dark .year-progress-ibox .ypw-cell,
html[data-theme=dark] .year-progress-ibox .ypw-cell {
  background: #1c232c;
}
body.dark .year-progress-ibox .ypw-cell.past,
html[data-theme=dark] .year-progress-ibox .ypw-cell.past {
  background: #252e39;
}
body.dark .year-progress-ibox .ypw-cell.padding,
html[data-theme=dark] .year-progress-ibox .ypw-cell.padding {
  background: #151b23;
}
body.dark .year-progress-ibox .ypw-cell.today,
html[data-theme=dark] .year-progress-ibox .ypw-cell.today {
  background: #5f90d9;
}
body.dark .year-progress-ibox .ypw-cell:hover,
html[data-theme=dark] .year-progress-ibox .ypw-cell:hover {
  outline: 1px solid rgba(255, 255, 255, 0.04);
}

/* (valgfrit) progress-bjælke lige under årskortet – matcher accent og surface */
body.dark .year-progress-ibox + .ibox .progress,
body.dark .progress.progress-year {
  background: color-mix(in srgb, var(--_surface, #12171f), #fff 6%);
}

body.dark .year-progress-ibox + .ibox .progress .progress-bar,
body.dark .progress.progress-year .progress-bar {
  background: var(--mc-accent, #5687d0);
}

body.dark .highcharts-column-series path {
  stroke: rgba(255, 255, 255, 0.3);
}

/* Icon-radiobuttons — dark only */
body.dark .mento-icon-radiobutton {
  /* fjern browserens blå fokus-kant på label/span */
  /* ikonet er ofte .text-black – tving til lys i dark */
  /* hover/focus */
  /* checked: blå accent og let ring */
  /* disabled */
}
body.dark .mento-icon-radiobutton, body.dark .mento-icon-radiobutton * {
  outline: 0 !important;
}
body.dark .mento-icon-radiobutton .mento-icon-radiobutton-border {
  background: #20252c; /* samme som inputs i dark */
  border-color: #2d3440; /* dæmpet kant */
}
body.dark .mento-icon-radiobutton .mento-icon-radiobutton-border i {
  color: #e6e9ef !important;
}
body.dark .mento-icon-radiobutton input:not(:disabled):hover + .mento-icon-radiobutton-border,
body.dark .mento-icon-radiobutton input:not(:disabled):focus + .mento-icon-radiobutton-border {
  border-color: #6b95de !important;
}
body.dark .mento-icon-radiobutton input:checked + .mento-icon-radiobutton-border {
  border-color: #5687d0 !important;
  box-shadow: 0 0 0 2px rgba(86, 135, 208, 0.25);
}
body.dark .mento-icon-radiobutton input:checked + .mento-icon-radiobutton-border i {
  color: #5687d0 !important; /* ikon følger accent */
}
body.dark .mento-icon-radiobutton input:disabled + .mento-icon-radiobutton-border {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* === Dark: tabel-head og kanter (bevarer light uændret) === */
body.dark .table thead th,
body.dark .table thead td {
  color: #e6e9ef !important;
  background-color: #11161d !important; /* mørk header */
  border-bottom: 1px solid #2d3440 !important;
}

/* Bordered/tabeller med særskilt thead-baggrund i Bootstrap */
body.dark .table-bordered > thead > tr > th,
body.dark .table-bordered > thead > tr > td {
  background-color: #11161d !important;
  border-color: #2d3440 !important;
}

/* Rækker/kanter – hold dem mørke og ensartede */
body.dark .table,
body.dark .table > :not(caption) > * > * {
  border-color: #2d3440;
}

/* Valgfrit: mere diskret stribe/hover i dark */
body.dark .table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #171d26;
}

body.dark .table-hover > tbody > tr:hover {
  background-color: #1d232d;
}

/* --- Dropbox-betingelser: dark tema --- */
html[data-theme=dark] .terms-text,
body.dark .terms-text {
  background-color: #0f141b; /* samme tone som øvrige paneler */
  border: 1px solid #2d3440;
  color: #e6e9ef;
}

/* Links og svag tekst inde i boksen */
html[data-theme=dark] .terms-text a {
  color: #6b95de;
}

html[data-theme=dark] .terms-text small,
html[data-theme=dark] .terms-text .muted {
  color: #a8b3c2;
}

/* Scrollbar (valgfrit – gør den mørk på moderne browsere) */
html[data-theme=dark] .terms-text {
  scrollbar-color: #3b4452 transparent; /* FF */
}

html[data-theme=dark] .terms-text::-webkit-scrollbar {
  width: 10px;
}

html[data-theme=dark] .terms-text::-webkit-scrollbar-thumb {
  background-color: #3b4452;
  border-radius: 8px;
  border: 2px solid #0f141b;
}

html[data-theme=dark] .terms-text::-webkit-scrollbar-track {
  background: transparent;
}

body.dark .supersearch-box,
html[data-theme=dark] .supersearch-box {
  background: #1e242c; /* mørk kort-baggrund */
  border-color: #2d3440; /* match resten af dark UI’en */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

/* (Valgfrit) Sørg for at inputs ser rigtige ud inde i boksen i dark */
body.dark .supersearch-box .form-control,
html[data-theme=dark] .supersearch-box .form-control {
  background: #151a21;
  border-color: #2d3440;
  color: #e6e9ef;
}

body.dark .supersearch-box .form-control::placeholder,
html[data-theme=dark] .supersearch-box .form-control::placeholder {
  color: #9aa3af;
}

/* (Valgfrit) Knappen må gerne have lidt mere kontrast i dark */
body.dark .supersearch-box .btn-primary,
html[data-theme=dark] .supersearch-box .btn-primary {
  background: #5b84d6;
  border-color: #5b84d6;
}

body.dark .supersearch-box .btn-primary:hover,
html[data-theme=dark] .supersearch-box .btn-primary:hover {
  background: #6b95de;
  border-color: #6b95de;
}

body.dark a.toolbox-item {
  color: #e6e9ef; /* læsbar tekst i dark */
  text-decoration: none;
}

/* Selve kortet */
body.dark .toolbox-item {
  background: #1f242c; /* card-baggrund */
  border: 1px solid #2d3440; /* card-kant */
  color: #e6e9ef; /* arver til titel */
}

/* Undertekst på kortet */
body.dark .toolbox-item .text-muted {
  color: #9aa4b2;
}

/* Ikonfarve i dark */
body.dark .toolbox-icon {
  color: #6b95de; /* samme accent som resten af dark temaet */
}

/* Hover/focus */
body.dark .toolbox-item:hover {
  background: #212933;
  border-color: #3a4556;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.25);
}

body.dark .toolbox-item:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(86, 135, 208, 0.45);
}

html[data-theme=dark] .dashboard-config-regions .ibox.dashboard-config-region .ibox-title,
body.dark .dashboard-config-regions .ibox.dashboard-config-region .ibox-title {
  border-color: #2d3440 #2d3440 #1c222b;
  background: transparent;
  color: #e6e9ef;
}
html[data-theme=dark] .dashboard-config-regions .ibox.dashboard-config-region .ibox-content,
body.dark .dashboard-config-regions .ibox.dashboard-config-region .ibox-content {
  border-color: #2d3440;
  background: transparent;
}
html[data-theme=dark] .dashboard-config-regions .ibox.dashboard-config-region .ibox-content > ul li .dashboard-config-region-widget,
body.dark .dashboard-config-regions .ibox.dashboard-config-region .ibox-content > ul li .dashboard-config-region-widget {
  background-color: #161b22; /* kort-baggrund */
  border-color: #2d3440; /* kort-kant     */
  color: #e6e9ef;
}
html[data-theme=dark] .dashboard-config-regions .ibox.dashboard-config-region .ibox-content > ul li .dashboard-config-region-widget:hover,
body.dark .dashboard-config-regions .ibox.dashboard-config-region .ibox-content > ul li .dashboard-config-region-widget:hover {
  background-color: #1b212b;
  border-color: #3a4351;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
html[data-theme=dark] .dashboard-config-regions .ibox.dashboard-config-region .ibox-content > ul li .dashboard-config-region-widget .name .widget-type-name,
body.dark .dashboard-config-regions .ibox.dashboard-config-region .ibox-content > ul li .dashboard-config-region-widget .name .widget-type-name {
  color: #9aa5b1;
}
html[data-theme=dark] .dashboard-config-regions .ibox.dashboard-config-region .ibox-content .widget-dummy.add-widget,
body.dark .dashboard-config-regions .ibox.dashboard-config-region .ibox-content .widget-dummy.add-widget {
  background: #12171f;
  border: 1px dashed #2d3440;
  color: #9aa5b1;
}
html[data-theme=dark] .dashboard-config-regions .ibox.dashboard-config-region .ibox-content .widget-dummy.add-widget:hover,
body.dark .dashboard-config-regions .ibox.dashboard-config-region .ibox-content .widget-dummy.add-widget:hover {
  background: #171d26;
  border-color: #3a4351;
  color: #cfd6df;
}

/* Dark: "Tilføj widget" tiles */
body.dark .widget-selector a,
html[data-theme=dark] .widget-selector a {
  background-color: #11171f;
  border: 1px solid #2a3442;
  color: #e6e9ef;
}

body.dark .widget-selector a:hover,
html[data-theme=dark] .widget-selector a:hover {
  background-color: #151d27;
  border-color: #3a4555;
  text-decoration: none;
}

body.dark .widget-selector a i,
html[data-theme=dark] .widget-selector a i {
  color: #7aa2ff; /* ikon-accent */
}

body.dark .widget-selector a:focus,
body.dark .widget-selector a:focus-visible,
html[data-theme=dark] .widget-selector a:focus,
html[data-theme=dark] .widget-selector a:focus-visible {
  outline: 2px solid rgba(86, 135, 208, 0.7);
  outline-offset: 2px;
  box-shadow: none;
}

/* Dark: sort-placeholder */
body.dark .dashboard-config-regions .ui-state-highlight .ui-state-highlight-inner,
html[data-theme=dark] .dashboard-config-regions .ui-state-highlight .ui-state-highlight-inner {
  background-color: #121a24;
  border: 1px dashed #2c3a4a;
}

body.dark .dashboard-config-regions .ui-state-highlight-region .ui-state-highlight-region-inner,
html[data-theme=dark] .dashboard-config-regions .ui-state-highlight-region .ui-state-highlight-region-inner {
  background-color: #121a24;
  border: 1px dashed #2c3a4a;
}

body.dark {
  --rs-surface: #121821; /* kort-baggrund */
  --rs-border: #2a3340; /* kant */
  --rs-muted: #2b3442; /* “fyldt” del i mørk */
  --rs-text: $mc-text;
  --rs-primary: #6ea0f2; /* let løftet i dark */
}

/* ========== CHAT (Dark) ========== */
body.dark .chatbox {
  background: #121821; /* mørk panel-baggrund */
  border: 1px solid #2a3441; /* diskret kant */
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

body.dark .chat-welcome {
  opacity: 0.88;
}

body.dark .bubble {
  background: #26313c; /* bot/neutral boble */
  color: #e2e8f0; /* lys tekst */
}

body.dark .timestamp {
  color: #8b97a6;
}

body.dark .chat-message.user .bubble {
  background: #3d6be0; /* bruger-boble (primary) */
  color: #fff;
}

body.dark .chat-message.user .bubble .timestamp {
  color: rgba(255, 255, 255, 0.85);
}

body.dark .bubble-thinking {
  background: #1c2530 !important; /* “tænker…” boble */
  color: #7aa2ff !important;
}

body.dark .dot-flashing {
  background-color: #7aa2ff;
}

body.dark .avatar {
  color: #a7b4c5;
}

/* Mentoclub Assistent – dark theme override (ingen markup/JS ændringer) */
html[data-theme=dark], body.dark {
  /* behold jeres brand-primary */
  --mc-primary: #5687d0;
  /* mørke farver der matcher jeres admin */
  --mc-bg: #0f141a; /* panel/bg */
  --mc-surface: #151c22; /* kort/bobler/sektioner */
  --mc-text: #e6edf7; /* hovedtekst */
  --mc-muted: #9aa3af; /* sekundær tekst */
  --mc-border: #263140; /* kanter/delere */
  --mc-shadow: 0 10px 30px rgba(0,0,0,.55);
}

/* små finpudsninger så det spiller på mørk baggrund */
body.dark .mc-chat-btn {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

body.dark .mc-chat-clear:hover,
body.dark .mc-chat-close:hover {
  background: #1b232e;
}

/* ===== Bootstrap .table – dark fix ===== */
body.dark {
  /* Brug jeres eksisterende mørke border-farve – justér hvis I vil */
  /* Alle celler (td/th) */
  /* Ydre border på .table-bordered */
  /* Header-linjen kan have egen regel i Bootstrap – tving samme farve */
  /* Diskret stribe i dark (valgfrit) */
}
body.dark .table > :not(caption) > * > * {
  border-color: #2d3440 !important;
  border-top-color: #2d3440 !important;
}
body.dark .table-bordered,
body.dark .table-bordered > :not(caption) > * {
  border-color: #2d3440 !important;
}
body.dark .table-bordered > :not(caption) > * > * {
  border-color: #2d3440 !important;
}
body.dark .table thead > tr > * {
  border-bottom-color: #2d3440 !important;
}
body.dark .table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: rgba(255,255,255,0.03);
}

/* ===== Dropzone – Dark (Mentoclub vars) ===== */
body.dark {
  /* Selve drop-området (valgfrit – hvis ikke allerede stylet) */
  /* Forhåndsvisning-kort var hvide i default */
  /* Tekster */
  /*    .dropzone .dz-details,
  .dropzone .dz-size,
  .dropzone .dz-filename {
      color: $mc-text;
  }*/
  /* Progressbar */
  /* Fejl/success (beholder diskret dark-look) */
  /* “Fjern” link */
}
body.dark .dropzone {
  background: #20252c;
  border: 2px dashed #2d3440;
  color: #a7b0bd;
}
body.dark .dropzone:hover {
  background: #2a313b;
}
body.dark .dropzone .dz-preview.dz-image-preview,
body.dark .dropzone .dz-preview.dz-file-preview {
  background: #1a1f26 !important;
  border: 1px solid #2d3440 !important;
  box-shadow: none !important;
}
body.dark .dropzone .dz-preview.dz-image-preview .dz-image,
body.dark .dropzone .dz-preview.dz-file-preview .dz-image {
  background: #101418 !important;
}
body.dark .dropzone .dz-message {
  color: #a7b0bd;
}
body.dark .dropzone .dz-progress {
  background: rgba(230, 233, 239, 0.08);
}
body.dark .dropzone .dz-progress .dz-upload {
  background: #5687d0;
}
body.dark .dropzone .dz-error-message {
  background: #1a1f26;
  color: #e6e9ef;
  border: 1px solid #2d3440;
}
body.dark .dropzone .dz-remove {
  color: #5687d0;
}
body.dark .dropzone .dz-remove:hover {
  color: #6b95de;
}

/* Bootstrap popover – Dark fix (ingen gennemsigtighed) */
body.dark .popover {
  /* vars til Bootstrap */
  --bs-popover-bg: #20252c;
  --bs-popover-body-color: #e6e9ef;
  --bs-popover-header-bg: #20252c;
  --bs-popover-header-color: #e6e9ef;
  --bs-popover-border-color: #2d3440;
  --bs-popover-box-shadow: 0 10px 24px rgba(0,0,0,.45);
  --bs-popover-arrow-color: #20252c;
  --bs-popover-arrow-border: #2d3440;
  /* vigtige – den her var forkert før */
  background-color: var(--bs-popover-bg) !important;
  color: var(--bs-popover-body-color) !important;
  border: 1px solid var(--bs-popover-border-color) !important;
  box-shadow: var(--bs-popover-box-shadow) !important;
}

body.dark .popover-header {
  background-color: var(--bs-popover-header-bg) !important;
  color: var(--bs-popover-header-color) !important;
  border-bottom-color: var(--bs-popover-border-color) !important;
}

/* Dark farver til list-group */
body.dark .list-group {
  --bs-list-group-bg: #1a1f26;
  --bs-list-group-color: #e6e9ef;
  --bs-list-group-border-color: #2d3440;
}

body.dark .list-group-item {
  background-color: var(--bs-list-group-bg) !important;
  color: var(--bs-list-group-color) !important;
  border-color: var(--bs-list-group-border-color) !important;
}

body.dark .list-group-item:hover {
  background-color: #2a313b;
}

/* active state */
body.dark .list-group-item.active {
  background-color: #5687d0;
  border-color: #5687d0;
  color: #fff;
}

/* flush-varianten: kun top/bund-kant, ingen radius */
body.dark .list-group-flush > .list-group-item {
  border-width: 1px 0;
  border-radius: 0;
}

/* ===== Footable – Dark fixes ===== */
body.dark table.footable,
body.dark .footable.table {
  --ft-text: #e6e9ef;
  --ft-border: #2d3440;
  --ft-row-bg: #1a1f26; /* almindelig række */
  --ft-row-alt: #161a20; /* zebra (odd) – samme nuance som jeres striped-bg */
  --ft-row-hover: #242a33; /* hover-baggrund */
  color: var(--ft-text);
  background: transparent;
}

body.dark table.footable > :not(caption) > * > * {
  border-color: var(--ft-border) !important;
}

/* Footable bruger .footable-odd til zebra – den var #f9f9f9 i deres CSS */
body.dark .footable-odd {
  background-color: var(--ft-row-alt) !important;
}

body.dark .footable-even {
  background-color: var(--ft-row-bg) !important;
}

/* Hover */
body.dark table.footable tbody tr:hover {
  background-color: var(--ft-row-hover) !important;
  color: var(--ft-text);
}

/* Detail-rækker (udfoldet række) */
body.dark table.footable .footable-detail-row > td,
body.dark table.footable .footable-row-detail {
  background-color: var(--ft-row-bg) !important;
  border-top: 1px solid var(--ft-border) !important;
}

/* Paginering (valgfrit – matcher resten af temaet) */
body.dark .footable-paging .pagination .page-link {
  background-color: #10151b;
  border-color: var(--ft-border);
  color: var(--ft-text);
}

body.dark .footable-paging .pagination .page-item.active .page-link,
body.dark .footable-paging .pagination .page-link:hover {
  background-color: #1b232d;
  color: #fff;
}

body.dark input[type=number] {
  color-scheme: dark;
}

/* Lidt pænere/dæmpede pile i Chromium/WebKit (kan kun style begrænset) */
body.dark input[type=number]::-webkit-inner-spin-button,
body.dark input[type=number]::-webkit-outer-spin-button {
  opacity: 0.55;
}

body.dark input[type=number]:hover::-webkit-inner-spin-button,
body.dark input[type=number]:hover::-webkit-outer-spin-button {
  opacity: 0.9;
}

/* Firefox har ikke stylebare spin buttons – brug 'textfield' hvis du vil skjule dem: */
body.dark input[type=number] {
  -moz-appearance: textfield; /* skjuler pile i Firefox */
}

body.dark .ts-control, body.dark .ts-control input, body.dark .ts-dropdown {
  color: #fff;
}

/* Sponsors – dark override */
html[data-theme=dark], body.dark {
  /* Hover/ fokus */
  /* Placeholder og “dragging” fra jQuery UI */
}
html[data-theme=dark] .sponsors-list li,
html[data-theme=dark] .sponsors-list .ui-sortable-handle, body.dark .sponsors-list li,
body.dark .sponsors-list .ui-sortable-handle {
  background: #1a1f26 !important;
  border: 1px solid #2d3440 !important;
  color: #e6e9ef !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
html[data-theme=dark] .sponsors-list li:hover, body.dark .sponsors-list li:hover {
  background: #1d2128 !important;
  border-color: #2d3440 !important;
}
html[data-theme=dark] .sponsors-list .ui-sortable-placeholder, body.dark .sponsors-list .ui-sortable-placeholder {
  visibility: visible !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px dashed #2d3440 !important;
}
html[data-theme=dark] .sponsors-list .ui-sortable-helper, body.dark .sponsors-list .ui-sortable-helper {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

body.dark .wizard > .steps .disabled .number {
  background-color: #b6bfcc;
  border: 1px solid #2d3440;
  color: #000;
}

@media (max-width: 767px) {
  body.dark .offcanvas-menu .offcanvas-body {
    background-color: #13161b !important;
  }
}
body.dark .ui.category.search > .results .category {
  background: #0f141c !important;
}

body.dark .trumbowyg-table-cell-selected {
  background-color: #171c22 !important;
}

/* Selve teksten skal se "slået fra" ud */
body.dark .mento-checkbox.disabled,
body.dark .mento-radiobutton.disabled {
  color: #a7b0bd !important;
  cursor: not-allowed;
}

/* Den lille boks for disabled checkbox/radio */
body.dark .mento-checkbox input[disabled] + i,
body.dark .mento-checkbox.disabled i,
body.dark .mento-radiobutton input[disabled] + i,
body.dark .mento-radiobutton.disabled i {
  background-color: #171c23 !important;
  border-color: #3a4554 !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

/* Ingen hover-effekt på disabled */
body.dark .mento-checkbox.disabled:hover,
body.dark .mento-radiobutton.disabled:hover {
  text-decoration: none;
}

body.dark .ts-wrapper .dropdown-header {
  background: #20252c !important;
  border-bottom: 1px solid #2d3440 !important;
}

body.dark .ts-wrapper .dropdown-header-close {
  color: #fff;
}
body.dark .ts-wrapper .dropdown-header-close:hover {
  color: #6b95de;
}

/*!
* metismenu https://github.com/onokumus/metismenu#readme
* A collapsible jQuery menu plugin
* @version 3.0.6
* @author Osman Nuri Okumus <onokumus@gmail.com> (https://github.com/onokumus)
* @license: MIT
*/.metismenu .arrow{float:right;line-height:1.42857}*[dir=rtl] .metismenu .arrow{float:left}.metismenu .glyphicon.arrow:before{content:""}.metismenu .mm-active>a>.glyphicon.arrow:before{content:""}.metismenu .fa.arrow:before{content:""}.metismenu .mm-active>a>.fa.arrow:before{content:""}.metismenu .ion.arrow:before{content:""}.metismenu .mm-active>a>.ion.arrow:before{content:""}.metismenu .plus-times{float:right}*[dir=rtl] .metismenu .plus-times{float:left}.metismenu .fa.plus-times:before{content:""}.metismenu .mm-active>a>.fa.plus-times{transform:rotate(45deg)}.metismenu .plus-minus{float:right}*[dir=rtl] .metismenu .plus-minus{float:left}.metismenu .fa.plus-minus:before{content:""}.metismenu .mm-active>a>.fa.plus-minus:before{content:""}.metismenu .mm-collapse:not(.mm-show){display:none}.metismenu .mm-collapsing{position:relative;height:0;overflow:hidden;transition-timing-function:ease;transition-duration:.35s;transition-property:height,visibility}.metismenu .has-arrow{position:relative}.metismenu .has-arrow::after{position:absolute;content:"";width:.5em;height:.5em;border-width:1px 0 0 1px;border-style:solid;border-color:initial;right:1em;transform:rotate(-45deg) translate(0, -50%);transform-origin:top;top:50%;transition:all .3s ease-out}*[dir=rtl] .metismenu .has-arrow::after{right:auto;left:1em;transform:rotate(135deg) translate(0, -50%)}.metismenu .mm-active>.has-arrow::after,.metismenu .has-arrow[aria-expanded=true]::after{transform:rotate(-135deg) translate(0, -50%)}*[dir=rtl] .metismenu .mm-active>.has-arrow::after,*[dir=rtl] .metismenu .has-arrow[aria-expanded=true]::after{transform:rotate(225deg) translate(0, -50%)}/*# sourceMappingURL=metisMenu.min.css.map */

