.header img.logo-dark {
  display: none; 
}

.header img.logo-light {
  display: inherit; 
}

.dark-mode .header img.logo-dark {
  display: inherit; 
}

.dark-mode .header img.logo-light {
  display: none; 
}

.dark-mode .bg-secondary, .dark-mode .card.bg-light {
  background-color: rgba(255,255,255,0.1) !important;
}

.dark-mode .gbdlabel {
  color: #000;
}

.dark-mode .form-check-input:not(:checked):not(.is-invalid):not(:invalid) {
  border-color: rgba(0, 0, 0, 0.5);
}

.icon {
  flex-shrink: 0;
  width: auto;
  height: 1.5rem;
}

.typo3-messages {
  padding: 0;
}
.typo3-messages li {
  list-style: none;
}
.typo3-messages li .alert-message {
  margin: 0;
}

.btn.btn-primary:hover,
.btn.btn-danger:hover {
  background: #2b0a01 !important;
  border-color: #2b0a01 !important;
}

.comment-1lines {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.comment-2lines {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.comment-3lines {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.comment-4lines {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.comment-5lines {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
.comment-6lines {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

.news-list-view ul {
    list-style: none;
}

.news-list-view ul li {
    display: inline-block;
    margin: 0 10px;
    padding-left: 0px;
}

.news-list-view ul li::before {
    content: none;
}

.news-list-view ul li a {
    text-decoration: none;
    background-color: #fff;
    width: 40px;
    height: 40px;
    display: block;
    color: #576071;
    border-radius: 100%;
    font-weight: bold;
    text-align: center;
    line-height: 38px;
}

.news-list-view ul li a:hover {
    background-color: #ff3701;
    color: #fff;
}

.news-list-view ul li.current {
    text-decoration: none;
    background-color: #ff3701;
    color: #fff;
    text-decoration: none;
    width: 40px;
    height: 40px;
    display: inline-block;
    border-radius: 100%;
    font-weight: bold;
    text-align: center;
    line-height: 38px;
}

.news-list-view ul li.previous a, .news-list-view ul li.next a {
    text-decoration: none;
    background: none;
    width: auto;
    height: 40px;
    display: block;
    border-radius: 100%;
    color: inherit;
    font-weight: bold;
    text-align: center;
    line-height: 38px;
}

.tooltip-inner {
  padding: 14px;
  font-size: 14px;
  min-width: 350px;
}

.responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0px;
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
}

.expandable-text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  transition: max-height 1s ease-out; /* changed from 0.5s to 2s */
  max-height: 15em;
}

.expanded {
  -webkit-line-clamp: unset;
  max-height: 100%;
}

@media only screen and (max-width: 767px) {
  .nav .nav-item {
    width: 100%;
  }
}