html {
  scroll-behavior: smooth;
}

.sf-menu .current-menu-item > a {
  color: #fff;
}

#imageSlider {
  position: relative;
  width: 940px;
  max-width: 100%;
  height: 390px;
  margin: 0 auto;
  overflow: hidden;
  padding: 3px;
  background: #9c9c9c;
  border-radius: 5px;
  box-shadow: 0 1px 5px #1a1a1a;
  box-sizing: border-box;
}

#imageSlider img {
  position: absolute;
  inset: 3px;
  display: block !important;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  object-fit: cover;
  opacity: 0;
  transition: opacity 600ms ease;
  left: 3px !important;
  top: 3px !important;
  overflow: hidden;
}

#imageSlider img.active {
  opacity: 1;
}

.slider-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  max-width: 420px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 4px;
}

.slider-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 34px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 34px;
  line-height: 44px;
  text-align: center;
}

.slider-control:hover {
  background: rgba(0, 0, 0, 0.78);
}

.slider-prev {
  left: 14px;
}

.slider-next {
  right: 14px;
}

.slider-dots {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
}

.slider-dot {
  display: block;
  float: left;
  width: 10px;
  height: 10px;
  margin-left: 7px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  text-indent: -9999px;
}

.slider-dot.active {
  background: #71ad09;
}

.slider-caption h3,
.slider-caption p {
  margin: 0;
}

.slider-caption h3 {
  margin-bottom: 6px;
}

.workPanelContent {
  display: none;
}

#workPanel {
  display: none;
  height: auto;
  min-height: 575px;
  opacity: 1;
}

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

.pics img {
  display: none;
}

.pics img.active {
  display: block;
}

.buttons button,
.workPanelLink.close {
  border: 0;
  cursor: pointer;
}

.buttons button {
  background: none;
  color: #d1d1d1;
  font: inherit;
  margin-right: 12px;
  padding: 0;
}

.map-frame {
  width: 235px;
  height: 300px;
  border: 0;
}

.static-note {
  color: #a1a1a1;
  font-size: 12px;
}

.static-map {
  width: 205px;
  min-height: 240px;
  padding: 30px 15px;
  background: #2f3031;
  border: 3px solid #9c9c9c;
  border-radius: 5px;
  color: #d1d1d1;
  line-height: 1.6;
}

@media (max-width: 980px) {
  body {
    padding: 20px 10px 50px;
  }

  #wrapper,
  #footer_full,
  #fsb,
  .content_wrapper_sbr,
  .content_wrapper_sbl,
  .content_wrapper_gallery {
    width: auto;
    max-width: 940px;
  }

  .content_wrapper_sbr #content,
  .content_wrapper_sbl #content,
  #sidebar,
  .nav-menu,
  .logo,
  .info_call,
  #fsb .widget-container {
    float: none;
  }

  .content_wrapper_sbr #content,
  .content_wrapper_sbl #content,
  #sidebar {
    width: auto;
  }

  .nav-menu {
    height: auto;
    margin: 0 13px 20px;
  }

  ul.sf-menu > li {
    display: inline-block;
    float: none;
  }

  #imageSlider,
  #slider {
    height: auto;
    aspect-ratio: 940 / 390;
  }

  .gallery-bar,
  .welcome-bar {
    width: auto;
  }

  #fsb .widget-container {
    width: auto;
    margin-bottom: 24px;
  }
}
