.footer-logo a {
  max-width: 160px;
  display: block;
  margin-bottom: 25px;
  background: none;
}

.footer-top h3 {
  font-size: 17px;
  color: #003c71;
  font-weight: 700;
  display: block;
  margin: 0 0 18px 0;
}

.footer-address p,
.footer-address a {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 17px;
  color: #3b3b3b;
  font-weight: 400;
  margin: 0 0 15px 0;
  background: none;
}

.footer-address p i,
.footer-address a i {
  position: relative;
  top: 4px;
  font-size: 17px;
  color: #ff6720;
  margin-right: 10px;
}

.footer-links ul {
  padding: 0;
  margin: 0;
  column-count: 2;
}

.footer-links ul li {
  padding: 0;
  margin: 0 0 10px 0;
}

.footer-links ul li:before {
  display: none;
}

.footer-links ul li a {
  font-size: 17px;
  color: #ff6720;
  font-weight: 600;
  display: block;
  background: none;
}

.footer-address {
  margin-top: 20px;
}

.footer-bottom-wrapper ul {
  padding: 0;
  margin: 0;
}

.footer-bottom-wrapper ul li {
  padding: 0;
  margin: 0 0 5px 0;
}

.footer-bottom-wrapper ul li:before {
  display: none;
}

.footer-bottom-wrapper ul li a {
  font-size: 17px;
  color: #3b3b3b;
  font-weight: 400;
  display: block;
  background: none;
}

.footer-bottom-wrapper ul li.ot-sdk-show-settings {
  cursor: pointer;
}

.footer-bottom {
  padding: 30px 0 25px;
}

.footer-top-right {
  margin-top: 30px;
}

.back-to-top {
  margin-top: 28px;
}

.back-to-top button {
  border: 1px solid #003c71;
  color: #003c71;
  background-color: transparent;
}

.back-to-top button::after {
  transform: translate(0, -50%) rotate(-90deg);
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.footer-social-links--tablet {
  display: none;
}

@media (min-width: 768px) {
  .footer-social-links--tablet {
      display: flex;
  }
}

@media (min-width: 1200px) {
  .footer-social-links--tablet {
      display: none;
  }

  .footer-social-links {
      justify-content: center;
  }
}

.footer-social-link,
.footer-social-link:hover {
  background: unset;
  color: unset;
}

.footer-social-icon {
  width: 40px;
  height: auto;
}

.footer-social-icon path {
  fill: #ff6720;
  transition: all 0.3s ease;
}

.footer-social-link:hover .footer-social-icon path {
  fill: #003c71;
}

.footer-top {
  padding-top: 30px;
}

a.footer-address-pin {
  margin-bottom: 0;
}

.container + footer {
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .footer-top-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .back-to-top {
    margin-top: 0;
  }

  .footer-logo a {
    max-width: 142px;
    margin-bottom: 0;
  }

  .footer-top-right {
    margin-top: 36px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-address {
    margin-top: 0;
    width: 50%;
    padding-left: 16px;
  }

  .footer-links {
    width: 50%;
    padding-right: 16px;
  }

  .footer-bottom-wrapper ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 12px;
    width: calc(100% + 30px);
  }

  .footer-bottom-wrapper ul li {
    padding: 0;
    margin: 0 15px 5px 15px;
  }

  .footer-bottom {
    padding: 30px 0 62px;
  }

  .footer-top {
    padding-top: 50px;
  }

  .footer-top-left .btn-primary {
    margin-left: 35px;
  }
}

@media (min-width: 1200px) {
  .footer-top-left {
    display: block;
    width: 272px;
  }

  .footer-top-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-top-right {
    width: calc(100% - 272px);
    padding: 0 18.5% 0 7.5%;
    position: relative;
    margin: 0;
    flex-direction: row-reverse;
  }

  .footer-top-left .btn-primary {
    margin-left: 0;
  }

  .footer-bottom {
    padding: 10px 0 3px;
    background-color: #efefef;
    margin-top: 55px;
  }

  .footer-bottom-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-bottom-wrapper ul {
    max-width: 880px;
    margin-bottom: 0;
  }

  .back-to-top {
    position: absolute;
    right: 0;
    top: 0;
  }

  .footer-logo a {
    max-width: 194px;
    margin-bottom: 30px;
  }

  .footer-top {
    padding-top: 70px;
  }

  .back-to-top button:hover {
    background-color: #003c71;
    color: #fff;
    border-color: #003c71;
    padding-right: 49px;
  }

  .footer-address a:hover {
    text-decoration: underline;
    text-decoration-color: #ff6720;
  }

  .footer-bottom-wrapper ul li a:hover,
  .footer-bottom-wrapper ul li.ot-sdk-show-settings:hover {
    text-decoration: underline;
    text-decoration-color: #ff6720;
  }

  .footer-links ul li a {
    color: #ff6720;
  }

  .footer-links ul li a:hover {
    text-decoration: underline;
  }

  .footer-top-left .btn-primary:hover {
    padding-right: 49px;
  }

  .footer-address p i,
  .footer-address a i {
    color: #ff6720;
  }
}


/* Specific Custom Styles */

#Specialty {
  padding-top: 50px;
}

.globa-toc-container {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background-color: #ffffff;
  z-index: 1000;
  padding: 20px;
  max-width: 350px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 1px 1px 5px 2px #00000029;
  max-height: 500px;

  &:has(.active) {
      overflow-y: scroll;
  }

  & > a {
      text-decoration: none!important;
      font-weight: 500!important;
      display: flex;
      width: 100%;
      justify-content: space-between;
      color: #003e75 !important;

      &:hover {
          color: #ff6720;
      }

      &.active {

          & i.icon-plus-minus:before {
              content: "-";
              position: absolute;
              top: 3px;
              font-size: 35px;
              right: 15px;
          }
      }


      & i {
          font-size: 25px;
          font-weight: 900;
          transition: all 0.3s ease-in-out;
      }
  }

  & ul {
      display: none;
      margin-top: 10px;

      & li a {
          color: #003e75 !important;
      }
  }
}

p:has(img.zoom-on-hover-image) {
  position: relative;
  z-index: 20;
}

/* Floating Table of Contents */

.globa-toc-container .toc-heading {
	background-color: #fff!important;
  position: sticky;
  top: 0;
  z-index: 1;
}

.globa-toc-container .toc-heading.active i.icon-plus-minus::before {
	top: -10px;
	right: 0;
}

.globa-toc-container .toc-heading.active::before {
	content: '';
	background-color: #fff;
	position: absolute;
	height: 20px;
	width: 100%;
	top: -20px;
	left: 0;
}

.globa-toc-container .toc-heading.active::after {
    content: '';
    background-color: #fff;
    position: absolute;
    height: 10px;
    width: 100%;
    bottom: -9px;
		left: 0;
}

.globa-toc-container .toc-scroll-to-top {
	display: none;
  color: #789d4a!important;
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  background: none;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.globa-toc-container .toc-scroll-to-top.active {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.globa-toc-container .toc-scroll-to-top i {
  font-size: 12px!important;
}

@media (min-width: 1200px) {
  .globa-toc-container .toc-scroll-to-top:hover {
    opacity: 0.8;
  }
}

@media (max-width: 600px) {
  body.body-lock {
      overflow: hidden;
      position: fixed;
      width: 100%;
  }

  .toc-overlay:has( + .globa-toc-container .active)  {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 100;
      display: flex;
      justify-content: center;
      align-items: center;
  }
}