body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 10pt;
  font-family: 'Open Sans',sans-serif;
}

.flex {
  flex: 1
}

@media (min-width: 768px) {
  .container {
    max-width: 780px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 1000px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

.page-header {
  background-image: unset;
  border-bottom: 1px solid #eee;
  margin-bottom: 25px;
}
.designelement1{background-color:#93c356}
.designelement3{background-color:#349095}

/* Menu Level 1 */
.list-group-item{background-color:#349095}

/* Menu Level 2 */
.list-group-item.layer2{background-color:#93c356}
/* Menu active */
a.list-group-item.active{background-color:#0063a6}

a.list-group-item.active:hover{background-color:#0063a6}

.footer {background-color:#0063a6}

.cd-timeline-img.cd-picture{background:#93c356 !important}
#cd-timeline::before{background:#349095 !important}

/* position logo */
.logo {margin-top: 0}

.btn-primary{background-color:#0063a6}
.btn-primary:hover{background-color:#349095;border-color:#349095}

.btn-navbar {
  float: left;
  box-shadow: none !important;
}

.nav-link {
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar .nav-link {
  font-size: 9pt;
}

.nav-item div {
  display: inline-block;
  width: 100%;
}

table.members {
  border: 1px solid #666;
  padding: 0;
  margin: 0 0 15px 0;
  border-collapse: collapse;
}

table.members td {
  border: 1px solid #666;
  padding: 2px 10px;
}

table.members tr.group {
  background: #dedede;
  font-weight: 700;
  text-align: left;
}

table.members thead th {
  text-align: left;
  background-color: #0063a6;
  padding: 5px 10px;
  color: #fff;
}

.dropdown-menu li {
  position: relative;
}
.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
}
.dropdown-menu .dropdown-submenu-left {
  right: 100%;
  left: auto;
}
.dropdown-menu > li:hover > .dropdown-submenu {
  display: block;
}

.card-body p {
  margin: 0px;
}

.card {
  background-color: rgba(147, 195, 86,.1) !important;
}

.caption-table > tbody > tr > td > p {
  margin: 0px;
}

.search {
  height: 32px;
  width: 122px;
  border-radius: 25px;
  box-shadow: 0 0 0 0 #fff;
}

.navbar {
  font-size: 0.95rem;
}

.navbar-nav {
  margin-left: 25px;
}

.nav-link.active {
    font-weight: bold;
}

.nav li {
  color: #fff;
  border-radius: 5px;
  margin-bottom: 5px;
}

.nav button {
  color: #fff;
}

.sidebar {
    width: 25%;
    padding-top: 5px;
    min-height: calc(100vh - 350px);
    position: sticky;
    top: 0;
    overflow-y: auto;
}

.unilogo, .hide-sm {
  display: auto;
}

.unilogo img {
  width: 100%;
  object-fit: contain;
}

.glyphicon-search::before {
  content: "\e003";
}

@media (max-width: 575.98px) { /* sm breakpoint */
  .unilogo, .hide-sm {
    display: none;
  }
}

.show-md {
  display: none !important;
}

.hide-md {
  display: inline-block !important;
}

@media (min-width: 992px) and (max-width: 1199.98px) { /* sm breakpoint */
  .show-md {
    display: inline-block !important;
  }
  .hide-md {
    display: none !important;
  }
}

@media (max-width: 768px) { /* md breakpoint */
  .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    min-width: 70%;
    max-width: 70%;
    background: #fff;
    z-index: 1050;
    padding: 1rem;
    overflow-y: auto;
    transition: left 0.2s ease;
  }

  .sidebar.show {
    left: 0;
  }

  .sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  #sidebar.show + .sidebar-backdrop {
    opacity: 1;
    visibility: visible;
    user-select: none;       /* disable text selection */
    -webkit-user-drag: none; /* disable image dragging in Safari */
    touch-action: none;      /* disable touch scrolling/zooming */
  }

  .scroll {
    overflow: auto !important;
  }
}

.sidebar .nav .nav-item,
.sidebar .nav .sub li .sub li {
  background-color: #349095;
}

a {
  color: #0063a6;
  text-decoration: none;
}

.nav li a {
  color: #fff;
}

.sidebar .nav .sub li {
  background-color: #93c356;
  margin-left: 10px;
  margin-right: 10px;
}

.sidebar .nav .nav-active {
  background-color: #0063a6 !important;
}

.nav li button {
  margin-left: 10px;
  margin-right: 2px;
  padding: .5rem 2px;
  border: 0px;
  font-size: 9pt;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease;
}

.nav li button:hover, .nav li button:focus {
  text-decoration: none;
  color: #fff;
}

.nav li button[aria-expanded="true"] {
    transform: rotate(90deg);
}

.subsection {
  padding-left: 0px;
  flex-grow: 1;
}

.crossnavi {
  font-size: 9pt;
}

.crosslink {
  display: flex;
}

.crosslinkmenu {
  padding: 5px 10px;
}
.crosslinkmenu a {
  color: #555;
  text-decoration: none;
}
.crosslinkmenu a:hover {
  color: #3399CC;
}

.crosslinkmenu span {
  color: #000;
  text-decoration: none;
  font-weight: 700;
}

.page {
  display: flex;  /* Use flexbox to align aside and article side by side */
  justify-content: space-between;
}

.article {
  flex-grow: 1;  /* Makes the article take up the remaining space */
  margin-bottom: 20px;
  margin-left: 0px;
  padding-left: 0px;
}
.article div {
    overflow: hidden;
}

.footer {
  color: #fff;
  font-size: 8pt;
  padding: 20px 30px;
  min-height: 200px;
  height: auto;
  overflow: auto;
}

.imprint a {
  color: #fff;
}

.news-footer {
  float: right;
}

.news-list-item {
  font-size: 10pt;
}

.news-list-item.article {
  margin-left: 0px;
}

.news-list-item p {
  margin-bottom: 3px;
}

.news-list-item h2 {
  font-size: 11pt;
}

h2 img {
  height: 0.5em;
  vertical-align: baseline;
  float: right;
  margin-top: 5px;
}

.news-list-item time {
  float: right;
}

.carousel {
  margin-bottom: 30px;
}

.carousel-caption {
  left: 60%;
  right: 10%;
  padding-bottom: 0;
  margin-bottom: -10px;
  font-size: 12pt;
  font-weight: 700;
  text-shadow: #000 1px 1px 1px;
  text-align: right;
}

.carousel-caption h3 {
  font-size: 26pt;
  font-weight: bolder;
  text-shadow: #000 1px 1px 1px;
  top: 45%;
}

.carousel-caption a {
  color: #fff;
}

.langswitch {
  float: none;
  display: inline-block;
  border-color: #66ccff;
  color: #66ccff;
  margin-top: 5px;
}
.btn-group-xs > .btn, .btn-xs {
  padding: 1px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-color: #adadad;
  border-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.active-tab {
  color: #ddd;
  font-weight: bold;
  border-radius: 10px;
}

.active-tab {
  color: #3399CC !important;
}

.pull-right {
  float: right;
}

mark {
  padding: 0px;
  background-color: #93c356;
}

#lightboxCarousel {
  width: 100%;
  height: 75vh;
  background-color: #000;
  overflow: hidden;
  position: relative;
  margin-bottom: 5px;
}

.carousel-item {
  height: 100%;
}

.carousel-inner {
  height: 100%;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

#gallery {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding: 5px 0;
  margin: 0;
  white-space: nowrap;
}

#gallery img {
  width: auto;
  height: 10vh;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: border-color 0.3s;
}

#gallery img:hover {
  border-color: #007bff;
}

.gallery-thumb {
  overflow: visible !important;
}

.float-right img {
    display: block;
    padding-bottom: 10px;
    max-width: 100%;
}

.float-right p {
  margin-bottom: 0px;
}

.float-left img {
  margin-bottom: 10px;
}

.csc-textpic-caption {
  padding-top: 0px !important;
}

table {
  width: 100%;
}

.designelement1 {
  background-color: #93c356;
  min-height: 20px;
  margin-left: 15px;
  margin-right: 15px;
  border-radius: 4px;
}
.designelement3 {
  background-color: #349095;
  height: 10px;
  margin-top: 5px;
  border-radius: 4px;
}

.breadcrumb {
  font-family: Verdana,sans-serif;
  text-transform: uppercase;
  background-color: unset;
  padding: 0px;
  padding-bottom: 10px;
  padding-top: 4px;
  font-size: 0.7rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  float: left;
  padding-right: .5rem;
  color: #6c757d;
  content: "|";
}

.breadcrumb-item a {
  color: #777;
}

.breadcrumb-item.active {
  color: #000;
  font-weight: 700;
}

.lastchange {
  float: right;
  color: #777;
  font-family: Verdana,sans-serif;
  margin-left: auto;
  text-transform: none;
}

.csc-uploads-element {
  list-style: none outside none;
  margin: 0 0 1em 20px;
  float: none;
}

.csc-uploads-element a {
  float: left;
  margin-right: 1em;
}

.flexrow {
  display: flex;
}

.flexrow p, li p {
  margin-bottom: 0px;
}

.flexrow img {
  display: unset;
  margin-left: 1em;
}

iframe {
  border: none;
  position: absolute;
}

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.label {
  display: inline;
  padding: .2em .6em .3em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25em;
}

.hide-header th {
  display: none;
}

.pagination {
  display: inline-block;
}

.pagination > li {
  margin-left: -2px;
}

.pagination > li {
  float: left;
  display: inline;
  line-height: 2;
  margin-bottom: 10px;
}

.pagination > li > a {
  color: white;
  background: #0063a6;
  border: 2px solid white;
  padding: 6px 10px;
  white-space: nowrap;
}

.pagination > li > a.active {
  background-color: rgb(147, 195, 86);
  color: black;
}

.label-success {
  background-color:rgb(147, 195, 86);
  color:black;
  font-weight:600;
  font-size: 9.5pt;
  display: inline-block;
  margin-top: 5px;
}

#bgps tr,
#bgps2 tr {
  background-color: rgba(96, 169, 57, .15) !important;
}

#bgps tr:nth-child(1),
#bgps th,
#bgps2 th {
  background-color: white !important;
}

#bgps tr:nth-child(2),
#bgps tr:nth-child(4),
#bgps tr:nth-child(5),
#bgps tr:last-child,

#bgps2 tr:nth-child(1),
#bgps2 tr:nth-child(3),
#bgps2 tr:nth-child(4) {
  background-color: rgba(233, 128, 26, .3) !important;
}