body.has-sidebar>#middle>.uk-container {
  max-width: none;
}

.uk-button {
  font-size: 0.7rem;
}

body {
  display: none;
}

#footer {
  position: relative;
}

.uk-totop {
  position: absolute;
  bottom: 10px;
  right: 10px;
  line-height: 30px;
}

.uk-notification {
  width: 450px;
}

.custom-datetime-picker {
  position: relative;
  width: 300px;
  margin: 20px 0;
}

.datetimepicker {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s;
}

.datetimepicker:focus {
  border-color: #4a90e2;
}

.flatpickr-calendar {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
}

.flatpickr-time {
  background-color: #f0f0f0;
  border-radius: 4px;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background-color: #4a90e2;
  color: white;
}

.navBarList li {
  /* margin-left: 20px;  */
  padding-left: 5%;
  padding-right: 10%;
  padding-left: 10%;
  word-wrap: break-word;
  /* Ensures long words break and wrap onto the next line */
  white-space: normal;
  /* Allows text to wrap normally, preventing overflow */
  overflow-wrap: break-word;
  /* Alternative to word-wrap for better browser support */
}

.navBarList li a {
  display: block;
  /* Ensures the anchor tag takes up full width and wraps text properly */
}

.navBarList li a:hover {
  color: white;
}

.navBarList li:hover {
  background-color: #ffffff27;
  /* margin: 20; */
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Sliding in (move it from the left) */
.slide-in {
  transform: translateX(0);
  opacity: 1;
}

/* Sliding out (move it to the left) */
.slide-out {
  transform: translateX(-100%);
  opacity: 0;
}

.ex-btn-tooltip {
  width: 30px;
  padding: 0;
  box-sizing: border-box;
}

/* Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  margin: 0 10px;
}

.switch.faded {
  filter: grayscale(100%);
}

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

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

.uk-invert>.slider {
  background-color: #20bd0f;
}

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

input:checked+.slider {
  background-color: #20bd0f;
}

.uk-invert>input:checked+.slider {
  background-color: #e61c1c;
}

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

.uk-invert>input:focus+.slider {
  box-shadow: 0 0 1px #e61c1c;
}

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

.uk-page-active a {
  color: #04b !important;
}

/* Schema */
.tag {
  background-color: #e4e4e4;
  border: 1px solid #aaa;
  border-radius: 4px;
  cursor: default;
  float: left;
  margin-right: 5px;
  margin-top: 5px;
  padding: 0 5px;
  font-size: 0.8em;
}

.tag>.tag-decorator {
  color: #fff;
  display: inline-block;
  font-weight: bold;
  margin-right: 2px;
  text-shadow: 0 0 2px #222;
}

.select2-container {
  width: 100% !important;
}

.select2-container>.selection>.select2-selection {
  border: 1px solid #e5e5e5;
  border-radius: 0;
  min-height: 150px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  font-size: 0.8em;
}

.field-wrapper {
  margin-top: 0 !important;
  padding: 5px;
}

.field-wrapper.odd {
  background-color: #fafafa;
}

.field-wrapper.even {
  background-color: white;
}

.field-icon {
  text-align: center;
  text-decoration: none;
  cursor: help;
}

.field-label>.field-icon {
  width: 14px;
}

.field-value>.field-icon {
  width: 20px;
}

.field-icon.required {
  color: #b40;
}

.field-icon.readonly {
  color: #04b;
}

.field-icon.protected {
  color: #04b;
}

.field-icon.edit {
  color: #4b4;
  cursor: pointer;
}

.field-label {
  position: relative;
  padding-right: 18px;
  font-size: 14px;
  color: #888;
  font-weight: 300;
  display: flex;
  align-items: center;
}

.field-label .field-icon {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.field-value {
  position: relative;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.field-value .field-icon {
  position: absolute;
  top: 0;
  right: 0;
}

.field-value.uk-width-1-1,
.field-edit.uk-width-1-1 {
  margin-top: 5px;
}

.block-actions .uk-button-small {
  margin-bottom: 10px;
}

/*
.field-value.uk-width-1-1,
.field-edit.uk-width-1-1 { margin-top: 0 !important; }
*/

/* Views */
.view-user-edit .uk-card-small .uk-card-body {
  position: relative;
  padding: 0 10px;
}

.view-user-edit .uk-card-small .uk-card-body:before,
.view-user-edit .uk-card-small .uk-card-body:after {
  content: "";
  position: absolute;
  height: 20px;
  width: 100%;
  left: 0;
}

.view-user-edit .uk-card-small .uk-card-body:before {
  top: 0;
  background-image: linear-gradient(#fff, #fff, transparent);
}

.view-user-edit .uk-card-small .uk-card-body:after {
  bottom: 0;
  background-image: linear-gradient(transparent, #fff, #fff);
}

.view-user-edit .uk-card-body>div {
  height: calc(100vh - 150px);
  overflow-y: scroll;
  padding: 20px 0;
}

.uk-button-success {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}



.uk-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

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

.uk-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  /* OFF color */
  transition: .4s;
  border-radius: 34px;
}

.uk-switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.uk-switch input:checked+.uk-switch-slider {
  background-color: #32d296;
  /* ON color (UIkit success green) */
}

.uk-switch input:checked+.uk-switch-slider:before {
  transform: translateX(22px);
}