#carouselArea.loaded > div {
  opacity: 1;
}

#sliderWrap .front-meta-slider .slides {
  position: relative;
  height: 100%;
}

#sliderWrap .front-meta-slider .front-hero-slide {
  position: absolute;
  inset: 0;
  height: 100%;
}

#sliderWrap .front-meta-slider .front-hero-slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

#galleryHolder.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  overflow: visible;
}

#galleryHolder.gallery-grid::before,
#galleryHolder.gallery-grid::after {
  display: none;
  content: none;
}

#galleryHolder.gallery-grid .gallery-item {
  float: none;
  width: auto;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0;
  list-style: none;
}

#galleryHolder.gallery-grid .gallery-item > a {
  height: 100%;
}

#galleryHolder.gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  max-width: none;
}

#galleryHolder.gallery-grid .gallery-item .gallery-title {
  color: #fff;
}

#footer .span3 > a#logo img,
#footer .legacy-logo-widget img,
#footer .widget_media_image img,
#footer .textwidget img,
#footer .wp-block-image img {
  width: auto;
  max-width: 150px;
  max-height: 58px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

#footer #footer-text {
  margin-top: 10px;
  color: #686868;
  font-size: 12px;
  line-height: 18px;
}

#footer #footer-text a {
  color: #06cc58;
}

#footer {
  background: #fff;
  color: #686868;
  padding: 12px 0 10px;
}

#footer .footer-content-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-left: 0;
}

#footer .footer-content-row:before,
#footer .footer-content-row:after {
  display: none;
  content: none;
}

#footer .footer-content-row > [class*="span"] {
  float: none;
  margin-left: 0;
}

#footer .footer-brand-widget {
  flex: 0 0 220px;
  width: 220px;
}

#footer .footer-fallback-logo {
  flex: 0 0 165px;
  width: 165px;
}

#footer .footer-contact-widget {
  flex: 1 1 280px;
  min-width: 240px;
  width: auto;
}

#footer .footer-partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 67px;
  overflow: hidden;
  background: #fff;
}

#footer .footer-partner-logo img {
  display: block;
  width: 140px;
  height: 67px;
  object-fit: contain;
}

#footer h2 {
  color: #404040;
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 20px;
}

#footer p,
#footer #footer-text {
  color: #686868;
}

#footer .footer-contact-widget p {
  margin: 0;
  line-height: 18px;
}

#footer a,
#footer #footer-text a {
  color: #404040;
}

@media only screen and (max-width: 767px) {
  #footer .footer-content-row {
    align-items: flex-start;
    gap: 14px 18px;
  }

  #footer .footer-content-row > [class*="span"] {
    margin-bottom: 0;
  }

  #footer .footer-brand-widget,
  #footer .footer-fallback-logo {
    flex: 0 1 calc(50% - 9px);
    width: calc(50% - 9px);
  }

  #footer .footer-contact-widget {
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
  }

  #footer .span3 > a#logo img,
  #footer .legacy-logo-widget img,
  #footer .widget_media_image img,
  #footer .textwidget img,
  #footer .wp-block-image img {
    max-width: 140px;
    max-height: 52px;
  }

  #footer .footer-partner-logo,
  #footer .footer-partner-logo img {
    width: 132px;
    height: 64px;
  }
}

@media only screen and (max-width: 420px) {
  #footer {
    padding: 14px 0 12px;
  }

  #footer .footer-brand-widget,
  #footer .footer-fallback-logo {
    flex-basis: 100%;
    width: 100%;
  }

  #footer #footer-text {
    margin-top: 8px;
  }
}

#topnav.is-open {
  display: block;
}

.header-tools {
  position: relative;
}

.header-search-toggle {
  display: none;
}

#carouselArea {
  height: auto;
  min-height: 520px;
}

.list_carousel li {
  flex-basis: 235px;
  min-height: 375px;
  padding: 10px;
}

.list_carousel li img {
  width: 215px;
  height: 145px;
  object-fit: cover;
}

#header .logo img {
  width: auto;
  max-width: 150px;
  max-height: 132px;
}

@media only screen and (min-width: 768px) and (max-width: 979px) {
  #header .wrapWalkingText .search-form-wrap {
    width: 270px;
  }

  #header .wrapWalkingText .search-field {
    font-size: 15px;
  }

  #header .wrapWalkingText .search-submit {
    padding: 0 9px;
    font-size: 12px;
  }

  .list_carousel li {
    flex-basis: 215px;
    min-height: 352px;
    margin-right: 24px;
  }

  .list_carousel li img {
    width: 195px;
    height: 132px;
  }
}

@media only screen and (max-width: 767px) {
  #header {
    height: auto;
    min-height: 0;
  }

  #header .container,
  #header .row {
    position: relative;
  }

  #header .logo {
    float: none;
    width: 100%;
    text-align: center;
    padding-top: 16px;
  }

  #header .logo #logo,
  #header .logo h2 {
    display: inline-block;
  }

  #header .logo img {
    max-width: 118px;
    max-height: 104px;
  }

  #header .header-tools {
    position: static;
    float: none;
    width: 100%;
    min-height: 0;
    margin-left: 0;
  }

  #header .header-search-toggle {
    display: block;
    position: absolute;
    right: 12px;
    top: 19px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 2px solid #06cc58;
    border-radius: 5px;
    background: #000;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(6, 204, 88, 0.65), inset 0 0 9px rgba(6, 204, 88, 0.16);
    z-index: 20;
  }

  #header .header-search-toggle:before {
    content: "";
    position: absolute;
    left: 11px;
    top: 9px;
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  }

  #header .header-search-toggle:after {
    content: "";
    position: absolute;
    left: 25px;
    top: 25px;
    width: 12px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transform: rotate(45deg);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  }

  #header .header-search-toggle:hover,
  #header .header-search-toggle:focus,
  #header .header-tools.is-search-open .header-search-toggle {
    background: rgba(6, 204, 88, 0.18);
    outline: 0;
  }

  #header .wrapWalkingText {
    display: none;
    margin: 10px auto;
    width: 260px;
    height: 40px;
    padding: 0;
    background: none;
  }

  #header .header-tools.is-search-open .wrapWalkingText {
    display: block;
  }

  #header .wrapWalkingText:after {
    display: none;
  }

  #header .wrapWalkingText .search-form-wrap {
    width: 256px;
    height: 36px;
  }

  #header .wrapWalkingText .search-field {
    height: 32px;
    font-size: 14px;
    line-height: 32px;
  }

  #header .wrapWalkingText .search-submit {
    width: 42px;
    padding: 0;
    text-indent: -9999px;
    position: relative;
  }

  #header .wrapWalkingText .search-submit:before {
    content: "";
    position: absolute;
    left: 12px;
    top: 8px;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
  }

  #header .wrapWalkingText .search-submit:after {
    content: "";
    position: absolute;
    left: 24px;
    top: 22px;
    width: 10px;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
  }

  #carouselArea {
    min-height: 430px;
  }

  .list_carousel li {
    flex-basis: 190px;
    min-height: 315px;
    margin-right: 14px;
    padding: 9px;
  }

  .list_carousel li img {
    width: 172px;
    height: 116px;
    margin-bottom: 12px;
  }
}

@media only screen and (max-width: 580px) {
  #sliderWrap .metaslider.front-meta-slider {
    width: min(392px, calc(100vw - 100px)) !important;
  }

  #main #sliderWrap .metaslider .caption-wrap p {
    font-size: 12px;
    line-height: 16px;
  }

  #main #sliderWrap .metaslider .caption-wrap p.white {
    font-size: 14px;
    line-height: 16px;
  }
}

@media only screen and (max-width: 479px) {
  #carouselArea {
    min-height: 385px;
  }

  .list_carousel li {
    flex-basis: 160px;
    min-height: 286px;
    margin-right: 12px;
    padding: 8px;
  }

  .list_carousel li img {
    width: 144px;
    height: 98px;
    margin-bottom: 10px;
  }

  #sliderWrap .metaslider.front-meta-slider {
    width: 290px !important;
    height: 105px !important;
  }

  #sliderWrap .metaslider .caption-wrap {
    right: 0;
    width: 60%;
  }

  #main #sliderWrap .metaslider .caption-wrap p.white {
    font-size: 12px;
    line-height: 14px;
  }
}

/* Front page carousel: large image slider */
#carouselArea {
  height: auto;
  min-height: 0;
  padding: 36px 0 30px;
  background: #f4f4f4;
}

#carouselArea .front-carousel-widget > h2,
#carouselArea .front-carousel-widget > .title_descr {
  display: none;
}

#carouselArea .front-carousel-viewport {
  width: min(1170px, calc(100vw - 40px));
  height: 416px;
  margin: 0 auto;
  overflow: hidden;
  background: #111;
}

#carouselArea .front-carousel-track {
  display: flex;
  height: 100%;
}

#carouselArea .list_carousel li {
  flex: 0 0 100% !important;
  width: 100% !important;
  height: 416px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #111;
}

#carouselArea .list_carousel li a.imgHolder {
  display: block;
  width: 100%;
  height: 100%;
}

#carouselArea .list_carousel li img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

#carouselArea .list_carousel li .slidertitle {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: auto;
  margin: 0;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.68);
  text-align: left;
}

#carouselArea .list_carousel .slidertitle a {
  margin: 0;
  color: #fff;
  font: 12px/18px Arial, Helvetica, sans-serif;
  text-align: left;
  text-transform: none;
}

#carouselArea .list_carousel li .excerpt,
#carouselArea .list_carousel li .details {
  display: none;
}

#carouselArea .front-carousel-widget,
#carouselArea div[id*="my_fredcarouselwidget"] {
  position: relative;
}

#carouselArea .caroNav {
  display: block !important;
  position: static;
}

#carouselArea .caroNav a {
  display: block !important;
  top: 50%;
  bottom: auto;
  width: 30px;
  height: 30px;
  margin: -15px 0 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0.9;
  transform: none;
  z-index: 8;
  pointer-events: auto;
}

#carouselArea .caroNav a.prev {
  left: 8px;
  right: auto;
}

#carouselArea .caroNav a.next {
  right: 8px;
  left: auto;
}

#carouselArea .caroNav a span {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 1;
  background: none;
}

#carouselArea .caroNav a span:before {
  content: "";
  position: absolute;
  top: 9px;
  width: 10px;
  height: 10px;
  border-top: 4px solid #d8d8d8;
  border-left: 4px solid #d8d8d8;
}

#carouselArea .caroNav a.prev span:before {
  left: 11px;
  transform: rotate(-45deg);
}

#carouselArea .caroNav a.next span:before {
  right: 11px;
  transform: rotate(135deg);
}

#carouselArea .caroNav a:hover {
  background: rgba(0, 0, 0, 0.82);
}

#carouselArea .front-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: min(1170px, calc(100vw - 40px));
  margin: 12px auto 0;
}

#carouselArea .front-carousel-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #7e7e7e;
  cursor: pointer;
}

#carouselArea .front-carousel-dots button.is-active,
#carouselArea .front-carousel-dots button:hover,
#carouselArea .front-carousel-dots button:focus {
  background: #1b1b1b;
  outline: 0;
}

@media only screen and (max-width: 767px) {
  #carouselArea {
    padding: 24px 0;
  }

  #carouselArea .front-carousel-viewport,
  #carouselArea .list_carousel li {
    height: 300px;
  }
}

@media only screen and (max-width: 479px) {
  #carouselArea .front-carousel-viewport,
  #carouselArea .list_carousel li {
    width: calc(100vw - 24px);
    height: 220px;
  }

  #carouselArea .list_carousel li .slidertitle {
    padding: 7px 10px;
  }

  #carouselArea .caroNav a {
    width: 28px;
    height: 28px;
  }

  #carouselArea .caroNav a.prev {
    left: 6px;
  }

  #carouselArea .caroNav a.next {
    right: 6px;
  }

  #carouselArea .front-carousel-dots {
    gap: 8px;
  }

  #carouselArea .front-carousel-dots button {
    width: 10px;
    height: 10px;
  }
}

@media only screen and (max-width: 900px) {
  #galleryHolder.gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 560px) {
  #galleryHolder.gallery-grid {
    grid-template-columns: 1fr;
  }
}
