@charset "UTF-8";

/**
 * FernUniversität in Hagen – Admin theme overrides.
 *
 * Keep this file separate from sea_green.css. When LimeSurvey is updated,
 * sea_green.css can be replaced with the matching upstream version without
 * losing the FeU-specific rules below.
 */

:root {
  --feu-blue: #004c97;
  --feu-blue-dark: #003b75;
  --feu-green: #14ae5c;
  --bs-primary: #004c97;
  --bs-primary-rgb: 0, 76, 151;
  --bs-info: #004c97;
  --bs-info-rgb: 0, 76, 151;
}

a {
  color: var(--feu-blue);
  font-weight: 500;
}

a:hover {
  color: #000;
}

.btn-primary,
.btn-info,
.btn-secondary {
  color: #fff;
  background-color: var(--feu-blue);
  border-color: var(--feu-blue);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary:active:focus,
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.btn-info:active:focus,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.btn-secondary:active:focus {
  color: #fff;
  background-color: var(--feu-blue-dark);
  border-color: var(--feu-blue-dark);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.btn-primary:disabled,
.btn-primary.disabled,
.btn-info:disabled,
.btn-info.disabled,
.btn-secondary:disabled,
.btn-secondary.disabled {
  color: #fff;
  background-color: var(--feu-blue);
  border-color: var(--feu-blue);
}

.btn-warning {
  color: #fff;
  background-color: #a15426;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected,
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected="true"]:not(.select2-results__option--highlighted),
.dropdown-menu > li > a:focus {
  color: #fff;
  background-color: var(--feu-blue);
}

.login .sidebar-l,
.navbar,
#in_survey_common_action .card-header {
  background-color: var(--feu-blue);
}

.logo-alt-1 {
  background: url("../images/logo_fernuni_hagen_riesig_weiss.png") no-repeat center !important;
  background-size: contain !important;
}

.table thead tr th .sort-link::before,
.grid-view .action-list a i::before,
.grid-view-ls .action-list a i::before,
.survey-actionbar .survey-actionbar-switch i[active] {
  color: var(--feu-blue);
}

.navbar {
  color: #fff;
  border-bottom: 0;
  border-radius: 0;
  padding: 0;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: #1e1e1e;
  background-color: #fff;
  border-top-color: var(--feu-blue);
}

#in_survey_common_action .card-title {
  color: #fff;
}

#in_survey_common_action .ls-panelboxes .card.card-primary .card-header {
  padding: 10px;
}

#in_survey_common_action .ls-panelboxes .card.card-primary .card-header + .card-body {
  margin-top: 0;
}

#update-alert a {
  color: #fff;
  text-decoration: underline;
}

ol.breadcrumb.title-bar-breadcrumb a {
  color: var(--feu-blue);
}

ol.breadcrumb.title-bar-breadcrumb a:hover {
  color: #000;
}

#sidebar .subpanel .list-group-item:hover .wrapper .title,
#sidebar a:not(.btn, .nav-tabs .nav-link):hover {
  color: #fff !important;
}

#sidebar .questiongroup-list-group a:not(.btn, .nav-tabs .nav-link):hover {
  color: #212529 !important;
}

#sidebar .subpanel .list-group-item.selected .wrapper .title,
#sidebar .subpanel .list-group-item.selected:hover .wrapper .title {
  color: var(--feu-blue) !important;
}

#sidebar .subpanel.level-0 .wrapper .icon {
  color: #fff;
}

#sidebar .subpanel.level-0 .selected .wrapper .icon {
  color: var(--feu-green) !important;
  font-weight: 600;
}

#sidebar .subpanel.level-0 .selected {
  background: linear-gradient(to right, var(--feu-blue) 0, var(--feu-blue) 8px, #fff 8px, #fff 100%) !important;
}

.card.card-primary:has(.facebook-button),
.card.card-primary:has(.twitter-button) {
  display: none;
}

/* nach 6.17.16. */

.navbar .nav-link:hover {
  color: #aaa;
}

.navbar .nav-link {
  border: 1px solid #004c97 !important;
}
#sidebar .subpanel .wrapper .icon {
  color: #333 !important;
}
#sidebar .subpanel .list-group-item:hover .wrapper .icon {
  color: #fff !important;
}

#help-button-dropup {
  display: none;
}

#createMenuButton {
  border: 1px solid;
}
a.list-group-item:hover {
  background-color: #004c97 !important;
}

footer div {
  display: none;
}
