/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

body {
  background-color: #fff;
}

.text-red {
  color: #98002e;
}

.content-wrap {
  padding: 20px 0;
}

.file-icon {
  max-width: 24px;
  margin-bottom: 1rem;
}

.enlarge-poster {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 3px 5px 5px;
  background-color: rgba(30, 56, 83, 0.8);
  color: white;
  text-align: center;
  font-size: 11px;
  border-radius: 0 0 3px 3px;
}

#content .content-text a,
#ecoSections .es-content a {
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(30, 56, 83, 0.935);
  font-weight: bold;
  color: rgba(30, 56, 83, 0.935);
}

blockquote p:last-child {
  margin-bottom: 0;
}

/* HEADINGS*/
.heading-block-alt h1 {
  margin-bottom: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  font-size: 30px;
}

#logo img {
  max-height: 135px !important;
  height: 135px !important;
}

.border-dark-grey {
  border-color: #a3a3a3 !important;
}

/* BUTTONS */
.button-hc-alt:not(.button-border) {
  background-color: #1e3853 !important;
}

/* NAVIGATION */
.primary-menu {
  height: auto;
}

.menu-item .menu-link:not(.sub-menu-container .menu-item .menu-link) {
  color: #fff !important;
  cursor: pointer;
}

.sub-menu-container {
  border-top: 0 !important;
}

#primary-menu-trigger .svg-trigger path {
  stroke: #fff;
}

#primary-menu-trigger {
  height: 60px;
}

.menu-item .sub-menu-trigger {
  color: #fff;
}

.header-misc-icon > a {
  color: #fff;
}

.top-search-form input {
  color: #fff !important;
  font-size: 1rem;
}

.top-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  text-transform: capitalize;
}

.device-xs .sub-menu-container .menu-item > .menu-link,
.device-sm .sub-menu-container .menu-item > .menu-link,
.device-md .sub-menu-container .menu-item > .menu-link {
  color: #fff;
}

.device-xs .sub-menu-container,
.device-sm .sub-menu-container,
.device-md .sub-menu-container {
  margin-bottom: 20px;
}

.device-xs .sub-menu-container .menu-item:not(:first-child),
.device-sm .sub-menu-container .menu-item:not(:first-child),
.device-md .sub-menu-container .menu-item:not(:first-child) {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.device-xs .menu-item:not(:first-child),
.device-sm .menu-item:not(:first-child),
.device-md .menu-item:not(:first-child) {
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.sticky-header #header-wrap {
  border-bottom: 0;
}

/* SUB PAGE NAVIGATION */
#subpage-nav {
  background-color: #f1f1f1;
  border: 1px solid #e5e5e5;
}

#subpage-nav li a {
  color: #666;
}

#subpage-nav li a.active {
  background-color: #1e3853;
  color: #fff;
}

/* SIDE NAVIGATION */

#side-navigation .list-group-item:first-of-type {
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
}

#side-navigation .list-group-item i {
  margin-right: 2px;
}

#side-navigation .list-group-item.active {
  background-color: #eee;
  color: #333;
  border-color: rgba(0, 0, 0, 0.125);
  font-weight: bold;
}

#side-navigation .list-group-item + .list-group-item.active {
  border-top: 0;
}

#side-navigation .list-group-item.list-group-item-header {
  font-weight: 700;
  font-size: 1.2rem;
}

/* PAGE NAVIGATION */
#page-menu-wrap {
  background-color: #aaa;
}

#header {
  border-bottom: 0 !important;
}

.section.light-grey {
  background-color: #e5e5e5 !important;
}

.section.welcome {
  padding: 20px 0 !important;
}

#page-title {
  background-color: #e5e5e5;
  border-bottom-color: #ddd;
}

#page-title span {
  color: #666;
  margin-top: 1rem;
}

#page-title .breadcrumb {
  position: relative !important;
  font-size: 0.875rem;
}

/* FOOTER / COPYRIGHTS */
#footer .footer-widgets-wrap {
  padding: 40px 0 !important;
}

.footer-logo {
  max-width: 90px;
  display: inline;
}
#footer a,
.copyright-links a {
  transition: 0.3s;
}

#footer a,
#footer .entry-title h2 a,
#footer .entry-title h3 a,
#footer .entry-title h4 a {
  color: rgba(255, 255, 255, 1);
}

#footer a:hover,
#footer .entry-title h2 a:hover,
#footer .entry-title h3 a:hover,
#footer .entry-title h4 a:hover {
  color: rgba(255, 255, 255, 0.8);
}

#footer .widget > h4,
#footer h4,
#footer .widget > h5,
#footer h5 {
  color: #fff;
}

.copyright-links a {
  color: rgba(255, 255, 255, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.copyright-links a:hover {
  color: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

#footer .social-icon {
  display: inline-block !important;
  float: none;
}

.table > :not(:first-child) {
  border-top: 0 !important;
}

.table thead.bg-teal {
  background-color: #53777a !important;
}

.entry-meta li {
  display: flex;
}

/* X-Small devices (portrait phones, less than 576px)
No media query for `xs` since this is the default in Bootstrap
Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
  .primary-menu {
    height: auto;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .primary-menu {
    height: 80px;
  }
  .menu-item .menu-link:not(.sub-menu-container .menu-item .menu-link) {
    padding: 29px 15px;
  }

  #footer .footer-widgets-wrap {
    padding: 80px 0 !important;
  }

  .content-wrap {
    padding: 80px 0;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}

.blur {
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
  pointer-events: none;
}

figcaption {
  font-size: 14px;
  margin-top: 1rem;
  font-style: italic;
}

.content-text ol,
.content-text ul {
  padding-left: 30px !important;
}

.content-text li {
  line-height: 1.6;
}

.content-text h4,
.content-text h3 {
  margin-bottom: 15px;
}

.entry-meta li:last-child {
  margin-right: 0;
}

.news-meta {
  display: flex;
  list-style: none;
  gap: 25px;
  justify-items: center;
  margin-top: 2rem;
  margin-bottom: 0;
}

.news-meta li {
  display: flex;
  align-items: center;
}

.news-meta .svg-icon {
  margin-right: 0.2rem;
}

.entry-image img {
  border: 1px solid #eee;
}

@media (max-width: 992px) {
  .heading-block-alt h1 {
    font-size: 24px;
  }

  #page-title {
    padding: 2rem 0px;
    text-align: center;
  }

  .news-meta.entry-meta {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #page-title .breadcrumb {
    justify-content: center;
  }

  #page-title .news-meta {
    justify-content: center;
    font-size: 0.875rem;
  }

  #page-title span {
    font-size: 1rem;
  }
}

/* SOCIAL SHARE ICONS */
#share .social-icon {
  border-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

#share .social-icon svg {
  height: 25px;
  width: 25px;
}

.bg-facebook {
  background-color: #1877f2;
}
.bg-x-twitter {
  background-color: #000;
}
.bg-whatsapp {
  background-color: #25d366;
}
.bg-share {
  background-color: #f74425;
}

.gdpr-settings {
  left: 1rem;
  right: 1rem;
  padding: 2rem;
}

.safeguarding-text a:not(.button) {
  color: black !important;
  text-decoration: underline !important;
}

#ecoSections .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#ecoSections .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#ecoSections .title-bottom-border h6 {
  border-bottom-color: rgba(30, 56, 83, 0.47);
}

#ecoSections .accordion-button:focus {
  box-shadow: none;
  border-color: inherit;
}

#ecoSections .accordion-button:not(.collapsed) {
  background-color: var(--primary-rgb);
}

#ecoSections .accordion-button {
  background-color: var(--primary-light);
  font-size: clamp(
    1.1rem,
    2vw,
    1.5rem
  ); /* Adjusts between 1.1rem and 2rem based on viewport */
  font-weight: bold;
}

#ecoSections .es-content *:last-child {
  margin-bottom: 0 !important;
}

#ecoSections .es-content ul {
  list-style-type: none; /* Remove default bullets */
  padding-left: 0;
  margin: 10px 0;
}

#ecoSections .es-content ul li {
  position: relative;
  padding-left: 20px; /* Space for the icon */
  margin-bottom: 8px;
}

#ecoSections .es-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="%2353777A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><line x1="5" y1="12" x2="19" y2="12"/><line x1="12" y1="5" x2="19" y2="12" /><line x1="12" y1="19" x2="19" y2="12" /></svg>');
  background-repeat: no-repeat;
  background-size: contain;
}

#ecoSections .es-content ul li a {
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom-width: 0;
  text-decoration: none;
}

#ecoSections .es-content ul li a:hover,
#ecoSections .es-content ul li a:focus {
  text-decoration: underline !important;
}
