.box-gallery .dak_photos--main {
  background-color: #333!important;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 20000;
}
.box-gallery .dak_photos--large-image{
  display: flex!important;
  height: 100vh;
  justify-content: center;
  align-items: center;
}
.box-gallery .dak_photos--info-bar{
  position: fixed!important;
  z-index: 30000!important;
}
.box-gallery .dak_photos--thumb{
  cursor: pointer;
}
.box-gallery .dak_photos--thumb:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-size: 20%;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("https://www.joellennash.com/lib/realestate_solution/layouts_page/enlarge.svg");
  background-color: rgba(0,0,0,.15);
  opacity: 0;
  z-index: 1;
  cursor: pointer;
  transition: opacity .33s ease-out;
}
.box-gallery .tns-slide-active .dak_photos--thumb:hover:before {
  opacity: 1; 
}
.box-gallery .tns-slide-active .dak_photos--watermark {
  opacity: .7; 
}
.box-gallery .dak_photos--enlarge{
  width: 50px;
  height: 50px;
  opacity: 1;
  background: rgba(255, 255, 255, .95);
}
.box-gallery .dak_photos--enlarge img{
  display: block;
  width: 50px;
  height: 50px;
}




.fancy-headline{
  position: relative;
  display: inline-block;
}
.fancy-headline::after{
  content: "";
  position: absolute;
  height: 2px;
  left: 50%;
  bottom: -1rem;
  transform: translateX(-50%);
  width: calc(100% - 1rem);
  margin: 0 auto;
  background: #346598;
}
.box-pintro{
  min-height: clamp(380px, 55vw, 1100px);
}
.pintro__text{
  z-index: 10;
  position: relative;
}
.box-pintro.dak-overlay-light-b::after{
  background: linear-gradient(to bottom, rgba(255,255,255,0) 40%,rgba(255,255,255,0.9) 100%);
}

/* Gallery */
.box-gallery .gallery-slide .dak-bg-fit{
  padding-top: 65.8%;
}
.box-gallery .tns-outer{
  position: relative;
}
.box-gallery .tns-controls button {
  background: none;
  -webkit-appearance: none;
  border: none;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  margin: 0.25rem;
  height: 3rem;
  width: 3rem;
  text-indent: -9999px;
  border-radius: 50%;
  /* background-size: 50px; */
  background-repeat: no-repeat;
  background-position: center;
  background-color: #346598;
}
.box-gallery .tns-controls button {
  position: absolute;
}
.box-gallery .tns-controls [data-controls="next"] {
  right: 1rem;
  top: calc(50% - 40px);
}
.box-gallery .tns-controls [data-controls="prev"] {
  left: 1rem;
  top: calc(50% - 40px);
}

.box-gallery .tns-controls [data-controls="prev"] {
  background-image: url('/icons/material/chevron-left/fff');
}
.box-gallery .tns-controls [data-controls="next"] {
  background-image: url('/icons/material/chevron-right/fff');
}

.c-halftone__shift {
  margin-bottom: -4rem;
}
.c-halftone__bottom {
  padding-top: 6rem;
}

.p-map #d5m_map.dak_map {
  height: 36.66vw;
  min-height: 16rem;
  max-height: calc(100vh - 10rem);
}
.p-map__holder {
  position: relative;
}
.p-map__directions {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgba(255,255,255,.75);
  padding: .25rem;
  z-index: 10;
}

.p-features__list {
  margin: 0;
  padding: 2rem 1rem;
  list-style: none;
  border: 5px solid #346598;
}
.p-features__list li {
  line-height: 1.2;
  margin-bottom: .75em;
}
.ma__resources .dak-buttons a{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ma__resources .dak-buttons svg{
  display: inline;
  margin: 0 .5rem;
}



/* Media queries */
@media (hover: none) and (pointer: coarse) {
  .p-map__holder {
      max-width: calc(100% - 4rem);
      margin: 0 auto 3rem;
  }
}

@media screen and (min-width: 552px) {
  .p-features__list {
    column-count: 2;
    column-gap: 2rem;
    position: relative;
    font-size: 1.125rem;
  }
}
@media screen and (min-width: 768px) {
  .p-features__list {
      padding: 4.5rem;
      column-count: 3;
      column-gap: 3rem;
  }
}
@media screen and (min-width: 992px) {
  .box-gallery .gallery-slide{
    padding: 0 7rem 2rem 7rem;
  }
  .box-gallery .tns-controls [data-controls="next"] {
    top: calc(50% - 80px);
    background-size: contain;
  }
  .box-gallery .tns-controls [data-controls="prev"] {
    top: calc(50% - 80px);
    background-size: contain;
  }
  .c-halftone__shift {
    margin-bottom: -8rem;
  }
  .c-halftone__bottom {
    padding-top: 12rem;
  }
  .p-features__list {
    column-gap: 5rem;
  }
}
@media screen and (min-width: 1200px) {
  .c-halftone__shift {
    margin-bottom: -16rem;
  }
  .c-halftone__bottom {
    padding-top: 18rem;
  }
}