*, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
:root {
  --sans-serif: 'Montserrat', sans-serif;
  --fontawesome: "Font Awesome 5 Free";
  --black: #222222;
  --black_alt: #202020;
  --dark-gray: #4F4F4F;
  --gray: #666666;
  --light-gray: #EFEFEF80;
  --font-color: #202020;
  /* --red: #DB1E36; */
  --red: #D50037;
  --background: #FFFFFF;
  --ghost_img: url('../images/ghosted_image_six.jpg');
}
main {
  overflow: hidden;
}


/* Header, Menu */

#site_nav div.logo {
  width: 175px;
  height: 65px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 3rem 0 3rem 3rem;
  transition: all 500ms ease-out;
}

.outside-nav {
  -webkit-transition:-webkit-transform .3s ease;
   -moz-transition:   -moz-transform .3s ease;
    -ms-transition:    -ms-transform .3s ease;
        transition:        transform .3s ease;
  position: sticky;
  top: 0;
  z-index: 2101;
  background-color: var(--background);
  width: 100%;
  /* overflow: hidden; */

}

.scroll-up .outside-nav,
.scroll-down .outside-nav {
  box-shadow: 0px 0px 25px #e4e4e4;
}

.scroll-down .outside-nav {
   /* -webkit-transform: translate(0, -100%);
    -moz-transform: translate(0, -100%);
     -ms-transform: translate(0, -100%);
         transform: translate(0, -100%); */
  -webkit-transform: translate(0, 0%) !important;
  -moz-transform: translate(0, 0%) !important;
   -ms-transform: translate(0, 0%) !important;
       transform: translate(0, 0%) !important;
}

.scroll-up .outside-nav,
.menu-open.scroll-down .outside-nav {
   -webkit-transform: translate(0, 0%) !important;
      -moz-transform: translate(0, 0%) !important;
       -ms-transform: translate(0, 0%) !important;
           transform: translate(0, 0%) !important;
}

@media(min-width: 768px){
  #site_nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 3rem;
  }
  #site_nav h1 {
    margin:2rem 0;
  }

  .scroll-down #site_nav div.logo,
  .scroll-up #site_nav div.logo {
      height: 40px;
      margin: 2rem 0 2rem 0rem;
  }
}

@media(min-width: 1441px){
  #site_nav {
    padding-right: 0;
  }

  #site_nav div.logo {
    margin-left: 0;
  }

  .row.site-nav {
    max-width: 1440px;
    margin: auto;
  }
}

#site_nav li.contact a,
#site_nav li.contact a:visited {
  background-color: var(--red);
  color: var(--background);
  padding: 1.4rem 3rem;
  border-radius: 5rem;
  border: 0;
  text-decoration: none;
  font-size: 1.4rem;
}

#site_nav li.contact a:hover {
  background-color: var(--black_alt);
  color: var(--background);
  text-decoration: none;
}

@media(max-width: 768px) {
  #site_nav {
    padding-top: 5px;
  }
  #site_nav > a {
    display: block;
    width: calc(100% - 50px);
  }
  #site_nav div.logo {
    margin: 2rem 0 0 0;
  }
}

#search-menu {
  /* display:none; */
  opacity: 0;
  position: fixed;
  top: 50px;
  width: 100%;
  background-color: var(--background);

  -webkit-transition:-webkit-transform .3s ease;
   -moz-transition:   -moz-transform .3s ease;
    -ms-transition:    -ms-transform .3s ease;
        transition:        transform .3s ease;

        -webkit-transform: translate(0, -100%);
        -moz-transform: translate(0, -100%);
         -ms-transform: translate(0, -100%);
             transform: translate(0, -100%);
}

body:not(.search-active) #search-menu {
  z-index: -1;
}

#search-menu.active {
  /* display: block; */
  opacity: 1;
  position: fixed;
  top: 0;
  z-index: 2500;

  -webkit-transform: translate(0, 0%);
  -moz-transform: translate(0, 0%);
   -ms-transform: translate(0, 0%);
       transform: translate(0, 0%);
  margin-top: 12rem;
}

.inside-search-menu {
  margin: auto;
  max-width: 1440px;
  padding: 0 75px;
}

#search-menu form {
  display: flex;
  border-bottom: 1px solid #A4A3A4;
  margin: 0;
  padding: 0 3.5rem 0 3.5rem;
}

#search-menu input[type="text"] {
  height: unset;
  padding: 0 0 0 5px;
  background-color: var(--background);
  border: none;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  margin-bottom: 0;
  flex-grow:2;
}
#search-menu input[type="submit"] {
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
}

body.search-active nav {
  background-color: var(--background);
}

body.search-active.scroll-down nav {
  opacity: 1 !important;
  /* visible */
   -webkit-transform: translate(0, 0%);
      -moz-transform: translate(0, 0%);
       -ms-transform: translate(0, 0%);
           transform: translate(0, 0%);
}

body.search-active {
  overflow: hidden;
}

@media(min-width:1440px){
  .inside-search-menu {
    padding: 0;
  }
}
@media(max-width: 992px) {

  .outside-nav {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.search-active .main-navigation ul li:not(.active) {
    display: none;
  }

  body.search-active .main-navigation ul li.active {
    margin-top: 100px;
  }

  #search-menu.active {
    position: absolute;
    left: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  #search-menu.active .inside-search-menu {
    width: calc(100% - 4rem);
    padding: 0;
    overflow: hidden;
  }

  #search-menu.active form {
    padding-top: 40px;
    width: 100%;
    padding-bottom: 0px;
  }
  #search-menu.active {
    margin-top: 9rem;
  }
}

/* Front page */
/* .page-template-front-page .hero {
  height: calc(100vh - 125px);
} */
.hero .hero-video-iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
  display: block;
  background-color: #000;
}

.hero .hero-fallback-image {
  background-size: cover;
}

.home section#markets {
  width: 100%;
  background-image: var(--ghost_img);
  background-size: auto 100%;
  background-repeat: repeat;
}

.inside-cta {
  background-color: var(--red);
  padding: 4rem;
  border-radius: 20px;
  background-image: var(--ghost_img);
  background-size: auto 100%;
  background-repeat: repeat;
  text-align: center;
}

.inside-cta img {
  max-width: 350px;
}

/* .inside-cta p {
  color: var(--background);
} */

section#cta img {
  width: 94px;
  height: 94px;
}

.home section#real_estate {
  text-align: center;
}

section#real_estate .repeater .info-container img {
  max-width: 75px;
}

section#why_choose_us {
  background-image: var(--ghost_img);
  background-size: auto 100%;
  background-repeat: repeat;
  text-align: center;
}

section#why_choose_us .inside-section {
  padding: 4rem;
  background-color: var(--background);
}

section#why_choose_us .inside-section h2 {
  margin-top: 0;
  line-height: 1.2;
}

.quote-section {
  background-color: var(--red);
  padding: 2rem 4rem;
  position: relative;
}

.quo p {
  color: var(--background);
  font-style: italic;
}
.sig p {
  margin-bottom: 0;
  font-weight: bold;
}

.quote-section::after {
  content: '';
  width: 0px;
  height: 0px;
  border-left: 45px solid transparent;
  border-right: 0px solid transparent;
  border-top: 45px solid var(--red);
  position: absolute;
  bottom: -45px;
  right: 60px;
}

.info-container:last-child img {
  width: 46px;
  height: 64px;
}

.home h2 {
  font-size: 4rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 2.4rem;
}

.home h3 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 2.4rem;
  max-width: 70ch;
  margin: auto;
  line-height: 1.35;
}

section#real_estate .repeater {
  margin-top: 6rem;
}

@media(min-width: 768px) {
  .home section#mission,
  .inside-cta,
  .inside-cta .content-container,
  section#ibo_section .section-container {
    display: flex;
    gap: 6rem;
    align-items: center;
    width: 100%;
  }

  .inside-cta .home-content {
    margin: auto;
  }

  /* .home section#mission .button {
    margin: 3rem 0 0 0;
  } */

  section#ibo_section .section-container > div {
    flex: 1;
  }

  .home section#mission {
    align-items: center;
    padding: 7rem;
    max-width: 1440px;
    margin: auto;
  }

  .home section#mission h2 {
    margin-top: 0;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .home section#markets {
    padding: 3rem;
  }

  .home section#markets h2 {
    padding-left: 3rem;
    line-height: 1.2;
  }

  .home section#bus_info,
  .home section#cta,
  .home section#real_estate,
  section#why_choose_us,
  section#ibo_section {
    padding: 7rem;
  }

  .home section#bus_info .content-container {
    width: 100%;
    justify-content: space-around;
  }

  section#why_choose_us .content-container {
    max-width: 100ch;
    margin: auto;
  }

  .home section#bus_info .inside-cta .button {
    margin-left: auto;
  }

  section#real_estate .repeater {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    align-items: baseline;
  }

  section#real_estate .repeater .info-container {
    width: calc(33% - 3rem);
  }

}

@media(max-width: 768px) {
  .home h2 {
    font-size: 3.2rem;
    line-height: 1.2;
  }
  .home section#mission,
  .home section#markets,
  .home section#bus_info,
  .home section#cta,
  .home section#real_estate,
  section#why_choose_us,
  section#ibo_section {
    padding: 2rem;
  }
  .inside-cta img {
    width: 100%;
  }

}

/* Default Page */
.page-template-default h2.page-title,
.page-template-realestate-page h2.page-title,
.page-template-news-page h2.page-title,
.post-template-default h2.page-title,
.single-people h2.page-title,
.page-template-partner-page h2.page-title,
.page-template-team-page h2.page-title,
.page-template-centered-page h2.page-title,
.page-template-our-markets-page h2.page-title {
  width: 100%;
  background-image: var(--ghost_img);
  background-size: 30% auto;
  background-repeat: repeat;
  padding: 5rem 3.5rem;
  margin: 0 0 5rem 0;
  line-height: 1.2;
}

.page-template-realestate-page h2.page-title {
  margin-bottom:0;
  line-height: 1.2;
}

.page-template-default h2.page-title span,
.page-template-realestate-page h2.page-title span,
.page-template-news-page h2.page-title span,
.post-template-default h2.page-title span,
.single-people h2.page-title span,
.page-template-partner-page h2.page-title span,
.page-template-team-page h2.page-title span,
.page-template-centered-page h2.page-title span,
.page-template-our-markets-page h2.page-title span {
  display: block;
  font-size: 4rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  max-width: 1440px;
  margin: auto;
}

/* Default Single */
.post-template-default .gutenberg,
.page-template-centered-page .content {
  max-width: 850px !important;
  margin: auto !important;
}

.post-template-default .excerpt p {
  color: var(--red);
  font-size: 2.4rem;
  line-height: 1.35;
  font-weight: 600;
}

.post-template-default p.date {
  text-transform: uppercase;
  margin-bottom: 4.2rem;
}

.post-template-default p {
  line-height: 1.35;
}

/* Single People */
.single-people .person {
  display: flex;
  gap: 4rem;
  max-width: 850px;
  margin: auto;
}

.single-people .person p.name {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 0;
}

.single-people .person .person-content a {
  color: var(--red);
}

@media(min-width: 768px) {
  .single-people .person figure {
    flex: 0 0 250px;
  }
}

@media(max-width: 768px) {
  .single-people .person {
    flex-direction: column;
    gap: unset;
  }
  .single-people .person figure {
    width: 100%;
  }
}

/* News Page */
ul.news-posts {
  list-style: none;
  margin: auto;
  max-width: 850px;
}

ul.news-posts li {
  list-style: none;
  margin: 0 0 6rem 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  border: 1px solid var(--background);
}

ul.news-posts li:hover {
  border: 1px solid var(--red);
}

ul.news-posts li a {
  display: flex;
  gap: 2rem;
  align-items: center;
}

ul.news-posts li a .listing-image {
  width: 370px;
  height: 240px;
  flex: 0 0 372px;
  background-size: cover;
  background-position: center;
}

ul.news-posts li .excerpt {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.35;
}

.listing-content .cats {
  color: var(--red);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: uppercase;
  line-height: 1.35;
}

.listing-content .date {
  text-transform: uppercase;
}

/* .listing-content p.excerpt {
  font-size: 2.4rem;
  font-weight: 600;
} */

@media(max-width: 768px) {
  ul.news-posts li a {
    flex-direction: column;
    gap: unset;
  }
  ul.news-posts li a .listing-image {
    width: 100%;
  }
}

/* Team Page */
ul.team-posts, ul.team-posts li {
  list-style: none;
  margin:0;
}

ul.team-posts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
}

ul.team-posts li {
  aspect-ratio: 1;
  background-size: cover;
  position: relative;
}

ul.team-posts li.has-image .listing-content {
  opacity:0;
}
ul.team-posts li.has-image:hover .listing-content {
  opacity:1;
  background-color: rgba(230, 34, 34, 0.7);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  color: var(--background);
}

ul.team-posts li.no-image .listing-content {
  opacity:1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  color: var(--black);
}

ul.team-posts li.has-image .listing-content p {
  color: var(--background);
}

ul.team-posts li .listing-content .name {
  margin-top: auto;
  font-size: 2.4rem;
  font-weight: 600;
}

@media(max-width: 768px) {
  ul.team-posts {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
  }

  ul.team-posts li.has-image .listing-content {
    opacity:1;
    background-color: rgba(230, 34, 34, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    color: var(--background);
  }
}

/* Partners Page */
.partner-post .name {
  color: var(--red);
  font-size: 2.4rem;
  font-weight: 600;
}

li.partner-post {
  display: flex;
  gap: 4rem;
  margin: 0 0 4rem 0;
}

li.partner-post figure, .empty {
  flex: 0 0 300px;
  background-color: var(--light-gray);
  margin-bottom: 2rem;
}

li.partner-post .listing-content {
  max-width: 80ch;
}

@media(max-width: 768px) {
  .empty {
    display: none;
  }
  li.partner-post {
    flex-direction: column;
    gap: unset;
  }
  li.partner-post figure, li.partner-post .listing-content {
    width: 100%;
  }
}

/* Market Page */
.page-template-our-markets-page .outside-nav {
  box-shadow: 0px 0px 25px #e4e4e4;
}
.page-template-our-markets-page #content {
  /* background-image: var(--ghost_img); */
  padding-bottom: 18rem;
}
.page-template-our-markets-page .title-section h2 {
  font-size: 5.2rem;
  line-height: 1.2;
  color: var(--red);
  padding: 9rem 0 0;
  text-transform: uppercase;
}
.filter-nav-container .inside,
.listings-container .inside {
  max-width: 1440px;
  margin: auto;
  padding: 3rem;
}

.filter-nav-container .inside {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.filter-nav-container .inside .selector-container {
  flex: 1;
  position: relative;
}

button.combo-label {
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 4px solid var(--dark-gray);
  margin-bottom: 0;
  padding: 0 0 5px;
  background: transparent;
  border-radius: 0;
}

button.combo-label::after {
  content: '';
  background-image: url('../images/carot-down.png');
  display: block;
  width: 15px;
  height: 7.5px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

button.combo-label.active::after {
  content: '';
  background-image: url('../images/carot-up.png');
  display: block;
}

.selector-container .combo {
  background-color: rgba(0,0,0,0.8);
  display: none;
  z-index: 999;
}

.selector-container .combo.active {
  display: block;
  position: absolute;
  top: 34px;
  width: 100%;
}

ul.term-seclection, ul.term-seclection li {
  list-style: none;
  margin: 0;
}

 ul.term-seclection li {
   padding: 5px;
 }

a.term-select {
  display: flex;
  position: relative;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  line-height: 1.35;
  font-weight: 800;
  margin-left: 5px;
  color: var(--background);
}
a.term-select::before {
  content:'';
  width: 10px;
  height: 10px;
  outline: 2px solid var(--dark-gray);
  background-color: var(--background);
}
a.term-select.active::before {
  outline: 2px solid var(--red);
  background-color: var(--red);
}

a.term-select.active,
a.term-select:hover {
  color: var(--red);
}

.listings-container .inside {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}

.listings-container .listing a:hover {
  color: var(--red);
}
.listings-container .post-thumb {
  position: relative;
  background-color: var(--dark-gray);
  width: 100%;
  padding-bottom: 100%;
  /* padding-bottom: 66%; */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 1s;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    -moz-transition: all 1s;
}

.listings-container .listing a:hover .post-thumb.has-thumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.listings-container .listing a:hover .post-thumb.has-thumb::after {
  content: 'learn more';
  position: absolute;
  display: flex;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--background);
  color: var(--red);
  text-transform: uppercase;
  padding: 1rem;
  border-radius: 25px;
  border: 1px solid var(--red);
  font-weight: 600;
}

.listings-container .listing h3 {
  font-size: 2.4rem;
  line-height: 1.35;
  margin: 2rem 0 0;
}
.combo-label {
  font-size: 2.1rem;
  line-height: 1.35;
  font-weight: 500;
  text-transform: uppercase;
}

.listing p.address {
  font-size: 1.6rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--gray);
  margin-top: 0.5rem;
}

.tax-city_categories .listings-container .listing h3 {
  font-size: 2.4rem;
  line-height: 1.35;
  font-weight: 600;
  text-transform: uppercase;
}

@media(min-width: 1024px) {
  .listings-container .listing {
    width: calc(25% - 3rem);
  }
}

@media(min-width: 1441px) {
  .filter-nav-container .inside,
  .listings-container .inside {
    padding: 3rem 0;
  }
}

@media(min-width: 768px) and (max-width: 1024px) {
  .listings-container .listing {
    width: calc(50% - 2rem);
  }
}

@media(max-width: 768px) {
  .page-template-our-markets-page .title-section h2 {
    line-height: 1.2;
    margin: 0;
    padding: 0;
  }
  .listings-container .inside,
  .filter-nav-container .inside {
    flex-direction: column;
  }
  .filter-nav-container .inside {
    gap: 3rem;
  }
  .listings-container .listing {
    width: 100%;
  }
  .filter-nav-container .inside,
  .listings-container .inside {
    padding: 2rem;
  }
}

.tax-city_categories {}

.media-kit-download {
  width: 100%;
  background-image: var(--ghost_img);
  background-size: auto 100%;
  background-repeat: repeat;
  padding: 6rem;
  margin-top: 8rem;
}

.tax-city_categories .title-content {
  width: 100%;
  background-image: var(--ghost_img);
  background-size: 50%;
  background-repeat: repeat;
  padding: 6rem;
}

.tax-city_categories .title-content h1 {
  padding: 0;
  margin: 0;
  text-align: center;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
}

.inside-media-kit-download {
  background-color: var(--background);
  padding: 3rem;
}

.inside-media-kit-download p {
  text-transform: uppercase;
  color: var(--red);
}

@media(min-width: 768px) {
  .tax-city_categories .title-content h1 {font-size: 4rem;}
  .inside-media-kit-download {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
  }
  .inside-media-kit-download p, .inside-media-kit-download .button {margin-bottom:0;}
  .inside-media-kit-download p {font-size: 3.6rem; font-weight: 600;}
}

@media(max-width: 768px) {
  .tax-city_categories .title-content {
    padding: 2rem;
  }
  .listings-container .inside {
    gap: 2rem;
    padding: 2rem;
  }
}

/* Single Listing */
.featured-image {
  aspect-ratio: 16 / 9;
  /* aspect-ratio: 6 / 4; */
  width: 100%; /* change this to a fixed width, or create a container with a width. */
  height: 100%;
  background-repeat: no-repeat;
  /* background-size: cover; */
  background-size: contain;
  background-position: center;
  position: relative;
  /* background-color: black; */
}

.page-template-realestate-page .featured-image {
  aspect-ratio: unset;
  height: 600px;
}

.title-section h2 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark-gray);
}

.title-section span {
  font-size: 2.4rem;
  line-height: 1.35;
  color: var(--red);
  font-weight: 600;
}

.title-section span:not(:last-child)::after {
  content: '/';
  display: inline-flex;
  padding: 0 3px;
}

.outside-iframe {
  position: relative;
}
.single-location iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
}

.content-section {
  display: flex;
  justify-content: space-between;
  /* background-color: var(--light-gray); */
  padding: 2rem;
  margin-top: 3rem;
  gap: 2rem;
  /* border: 1px solid; */
}

.single-gallery .content-section {
  flex-direction: column;
}

.content-section h3 {
  margin: 0;
  color: var(--red);
  font-weight: 600;
}

.single-location .content-section h3 {
  font-size: 3.4rem;
  line-height: 1.35;
  font-weight: 600;
  text-transform: uppercase;
}

.place-description {
  background-image: var(--ghost_img);
  background-size: 45%;
  background-repeat: repeat;
}

.place-description p.dc {
  width: 100%;
  background-color: var(--red);
  margin:0;
  padding: 2rem 0;
  text-align: center;
  color: var(--background);
  font-size: 3.6rem;
  font-weight: 600;
}

.place-description ul {
  margin: 0;
  padding: 5rem;
}

.gallery-container:not(.active),
.gallery:not(.active),
.gallery-map:not(.active) {
  display: none;
}
.gallery-container:not(.active) {
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
}
.gallery-container.active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black);
  z-index: 999999;
  -webkit-animation: fadeIn 0.5s;
  animation: fadeIn 1s;
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

.inside-gallery-container {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  padding: 4rem 6rem;
}

.gallery {
  width: 100%;
  --gap: 2rem;
  --columns: 2;
  max-width: 100%;
  margin: 0 auto;
  flex-direction: column;
  columns: 2;
  gap: 4rem;
}

.inside-gallery-container > * {
  break-inside: avoid;
}

.gallery-container-navigation {
  display: flex;
  width: 100%;
  margin-bottom: 6rem;
  gap: 4rem;
}

.inside-gallery-container .gallery-image {
  max-width: 100%;
  display: block;
  height: fit-content;
  margin-bottom: 6rem;
}

.gallery-container-navigation button {
  border-radius: 50px;
  background-color: var(--light-gray);
  color: var(--background);
  min-width: 150px;
}

.gallery-container-navigation button.active {
  opacity: 0.5;
  cursor: default;
}

.gallery-container-navigation button#close_gallery {
  margin-left: auto;
  position: relative;
  background: none;
  min-width: 50px;
}

.gallery-container-navigation button#close_gallery::after {
    position: absolute;
    top: 15%;
    bottom: 0;
    left: 0;
    right: 0;
    content: "\d7";
    font-size: 50px;
    color: #FFF;
    /* line-height: 100px; */
    text-align: center;
    transform: translate(0, -50%);
}

@media(max-width: 768px) {

  .outside-iframe {
    position: unset;
  }

  button#gallery_btn {
    position: relative !important;
    bottom: unset !important;
    left: 0rem !important;
    margin-bottom: 0 !important;
  }

  .inside-gallery-container {
    padding: 2rem;
  }
  .gallery-container-navigation {
    gap: 5px;
  }
  .gallery-container-navigation button {
    min-width: 100px;
  }
}

button#gallery_btn {
  position: absolute;
  bottom: 4rem;
  left: 4rem;
  margin-bottom: 0;
}

@media(min-width: 768px) {

  .place-description ul {
    display: flex;
    flex-wrap: wrap;
  }

  .place-description ul li {
    width: 48%;
  }
}

@media(max-width: 768px) {
  .content-section {
    padding: unset;
    gap: unset;
  }
  .title-section h2, .single-location .content-section h3 {
    font-size: 2.4rem;
    line-height: 1.2;
  }
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section p.place {
  font-weight: 600;
  margin-top: 2rem;
}

.single-location .content-section p.place {
  font-size: 2.4rem;
  line-height: 1.35;
  font-weight: 600;
  text-transform: uppercase;
}

.placements section {
  position: relative;
}

.placements .placement {
  margin: 6rem 0;
}

.placement .placement-img {
  background-color: var(--light-gray);
  padding-bottom: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: sticky;
  top: 125px;
}

.placement-image {
  flex: 3;
}
.placement-content {
  text-transform: uppercase;
  flex: 2;
}
.placement-content h4 {
  font-size: 3.4rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--red);
  margin-top: 0;
  margin-bottom: 5rem;
}

.placement-content p {
  font-weight: 700;
}

.placement-content p span {
  font-weight: 400;
}

a.marker-content p {
  margin-bottom:0;
}

a.marker-content p.title {
  font-size: 2.4rem;
  font-weight: 500;
  max-width: 350px;
}

a.marker-content:hover p {
  color: var(--red);
}

.map-img {
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 4/3;
  width: 100%;
  height: 100%;
  margin-top: 5px;
}

.archive .title-section {
  padding: 2rem;
}

ul.markets-listing {
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 0;
}

ul.markets-listing li {
  margin: 0;
  padding:0;
  position: relative;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  /* background-color: var(--light-gray); */
}

ul.markets-listing li a {
  color: var(--red);
  /* position: absolute;
  left: 0;
  top: 0; */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* align-items: center;
  justify-content: center; */
}

ul.markets-listing li a {
  background-size: cover;
  /* filter: grayscale(100%); */
}

ul.markets-listing li a .market-thumb {
  width: 100%;
  /* height: 100%; */
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  aspect-ratio: 1 / 1;
  text-align: center;
}

ul.markets-listing li a:hover .market-thumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* height: calc(100% - 7rem); */
  aspect-ratio: 1 / 1;
  background-color: rgba(0,0,0,0.8);
}

.page-template-our-markets-page ul.markets-listing li a .market-thumb {}

ul.markets-listing li a:hover .market-thumb::after {
  content: 'learn more';
  position: absolute;
  display: flex;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--background);
  color: var(--red);
  text-transform: uppercase;
  padding: 1.9rem;
  border-radius: 5rem;
  border: 1px solid var(--red);
  font-weight: 600;
}

.page-template-front-page ul.markets-listing li a:hover .market-thumb::after {
  top: 44%;
}

.page-template-our-markets-page ul.markets-listing li a:hover .market-thumb::after {
  content: unset;
}

ul.markets-listing li a h3 {
  color: var(--font-color);
  font-size: 2.4rem;
  text-transform: uppercase;
  line-height: 1.35;
  text-align: left;
  font-weight: 600;
  margin-top: auto;
  z-index: 999;
  background-color: unset;
  width: 100%;
  padding: 2rem 0.5rem;
  margin-bottom: unset;
}

.page-template-our-markets-page ul.markets-listing li a h3.button {
  color: var(--background);
  background-color: var(--red);
  font-size: 1.9rem;
  text-transform: uppercase;
  line-height: 1.35;
  text-align: center;
  font-weight: 700;
  margin-top: unset;
  z-index: 999;
  width: fit-content;
  padding: 2.4rem 3rem;
  margin-bottom: unset;
  border-radius: 5rem;
}

ul.markets-listing li a:hover {
  background-size: cover;
  filter: grayscale(0%);
}
ul.markets-listing li a:hover h3 {
  color: var(--red);
}

h2.map-title {
  margin: 0 auto;
  padding: 10rem 0 0 3rem;
  font-size: 3.6rem;
  line-height: 1.2;
  text-transform: capitalize;
  max-width: 1440px;
}

h2.map-title a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* .gm-style .gm-style-iw-c,
.gm-style .gm-style-iw-d {
  padding:0 !important;
} */

@media(min-width:768px) {
  ul.markets-listing {
    gap: 4rem;
    justify-content: left;
  }
  ul.markets-listing li {
    width: 100%;
    /* min-height: 485px; */
    /* aspect-ratio: 1 / 1; */
  }
  .page-template-our-markets-page ul.markets-listing li {
      width: 100%;
      min-height: unset;
      aspect-ratio: 1 / 1;
  }
  .title-section {
    /* display: flex;
    justify-content: space-between;
    align-items: baseline; */
    margin-bottom: 2rem;
    gap: 2rem;
  }

  .single-location .title-section {
    display: flex;
    justify-content: space-between;
    align-items: baseline
  }

  .title-section h2 {
    margin: 0;
    font-size: 4rem;
    line-height: 1.2;
    /* max-width: 65%; */
  }

  .title-identifiers {
    flex: 1 0 auto;
    display: flex;
    justify-content: right;
  }

  .archive .title-section {
    padding: 3rem;
    gap: 5rem;
    align-items: stretch;
    justify-content: center;
  }

  .title-section .title-content {
    flex: 2;
  }
  .title-section .title-content h1 {
    margin-top: 0;
  }
  .title-section .flex-fill {
    flex: 3;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    /* height: 100%; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 4 / 3;
    width: 100%;
    height: 100%;
    position: sticky;
    top: 90px;
  }
  .title-section .title-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .content-section section:nth-child(1) {
    flex: 2;
  }
  .content-section section:nth-child(2) {
    flex: 3;
  }

  .placement-content > div {
    position: sticky;
    top: 200px;
  }

  .placements .inside .placement {
    display: flex;
    justify-content: space-between;
    gap: 7rem;
  }

  .placements .inside .placement:nth-child(even) {
    flex-direction: row-reverse;
  }
}

@media(min-width: 1441px) {
  h2.map-title {
    padding-left: 0;
  }

  .archive .title-section {
    padding-left: 0;
  }

  ul.markets-listing {
    padding: 3rem 0;
  }
}

@media(max-width: 768px) {

  .title-section h2 {
    font-size: 3.8rem;
  }

  .single-location .title-section h2 {
    margin-bottom: 0;
  }

  .title-identifiers {
    margin-bottom: 1rem;
  }

  .content-section h3 {
    font-size: 3.6rem;
  }

  .placement-content h4 {
    margin: 2rem 0;
  }

  ul.markets-listing {
    padding: 2rem;
    grid-template-columns: 1fr;
    gap: 3rem;
    flex-direction: column;
  }

  .featured-image {
    padding-bottom: 62.5%;
    height: auto;
  }
  .content-section {
    flex-direction: column;
  }

  ul.markets-listing li {
    width: 100%;
    /* aspect-ratio: 1 / 1; */
  }

  ul.markets-listing li a {
    position: relative;
  }

  h2.map-title {
    margin: 0;
    padding: 3rem 0 0 2rem;
    font-size: 2.6rem;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .gallery {
    width: 100%;
    --gap: 1rem;
    --columns: 1;
    max-width: 100%;
    margin: 0 auto;
    flex-direction: column;
    columns: 1;
    gap: 4rem;
  }

  ul.markets-listing li a:hover .market-thumb::after {
    padding: 1.9rem 1rem;
  }

}

.single-location .map {
  max-width: 1440px;
  margin: auto;
  padding-bottom: 3rem;
}

@media(max-width: 1440px) {
  .single-location .map {
    padding: 0 3rem 3rem;
  }
}

@media(max-width: 768px) {
  .single-location .map {
    padding: 0;
  }
}

.single-location .acf-map {
  margin-bottom: 0;
}

/* Gallery */
.gallery-image {
  margin-bottom: 3rem;
}

/* Footer */

#subfooter {
  background-color: var(--red);
  color: var(--background);
  padding: 7rem 3rem;
}

#subfooter .inside-subfooter {
  text-align: center;
}

#subfooter .contact-person {
  flex: 1;
}

#subfooter .inside-subfooter p.heading {
  font-size: 4.5rem;
  line-height: 1.35;
  font-weight: 600;
}

#subfooter .inside-subfooter p.sub-heading {
  font-size: 2rem;
}

.sub-footer-headings {
  margin-bottom: 2rem;
}

#subfooter a {
  color: var(--background);
}

#subfooter p {
  margin: 0;
}

#subfooter p.title {
  font-size: 4rem;
  line-height: 1.35;
  font-weight: 700;
}

#subfooter p.name, #subfooter p.email, #subfooter p.phone {
  font-size: 3rem;
  line-height: 1.35;
  font-weight: 600;
}

@media(min-width: 768px) {
  .inside-contacts {
    display: flex;
    justify-content: center;
    gap: 3rem;
  }
}

footer {
  box-shadow: 0px -4px 41px rgba(0, 0, 0, 0.10);
}

footer .inside-footer:first-child {
  color: #202020;
  background-color: var(--background);
  padding: 6rem 3rem;
}

footer .inside-footer:first-child ul,
footer .inside-footer:first-child .menu-container {
  color: #202020;
  border: 0;
}

footer .inside-footer li {
  margin-bottom: 1rem;
  /* padding-left: 1rem; */
  padding-left: 0;
  margin-left: 0;
}

footer .inside-footer:first-child a {
  color: #202020;
}

footer .inside-footer p.footer-title {
  font-weight: 500;
  font-size: 2.1rem;
  line-height: 1.35;
  margin-bottom: 2rem;
  /* text-transform: uppercase; */
  font-weight: 600;
}

footer .inside-footer:last-child {
  color: #202020;
  background-color: var(--background);
}

footer .inside-footer:last-child p {
  margin: 0;
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.35;
  padding: 5rem 0;
}

.inside-footer a:hover {
  font-weight: bold;
}

#menu-social-menu {
  list-style: none;
  display: flex;
  gap: 1.7rem;
  margin: 0;
}
#menu-social-menu li::before {
  position: relative;
  color: var(--background);
}
#menu-social-menu li {
  margin:0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  border-radius: 50%;
  margin-right: 0 !important;
}

#menu-social-menu li, #menu-social-menu li a {
  width: 45px;
  height: 45px;
}

#menu-social-menu li:hover {
  background: var(--black_alt) !important;;
}

#menu-main-menu-1 {
  /* list-style-image: url('../images/right-carot.svg'); */
  /* list-style-position: outside; */
  list-style: none;
}

#menu-footer-contact-menu {
  /* list-style-image: url('../images/footer-envelope.svg'); */
  /* list-style-position: outside; */
  list-style: none;
}

#menu-footer-contact-menu li {
  /* margin-left: 3rem; */
  list-style: none;
}

.footer-social-navigation a, .footer-social-navigation .menu li::before {
  color: var(--red);
}

@media(min-width: 768px) {
  footer .inside-footer:first-child .columns > div:last-child {
    flex: 2;
  }
}

@media(min-width: 1441px) {
  .inside-footer .row.columns{
    max-width: 1440px;
    margin: auto;
  }
}

@media(max-width: 768px) {
  footer .inside-footer:first-child {
    padding: 3rem 0rem;
  }
  footer .inside-footer:last-child p {
    padding: 3rem 0;
  }
  .inside-footer .column {
    margin-bottom: 3rem;
  }
  footer ul {
    margin-bottom: 0;
  }
  footer .inside-footer li {
    text-align: left;
  }
  footer .inside-footer li:last-child {
    margin-bottom: 0;
  }
  footer .menu-container {
    padding: 0;
    margin:0;
  }
  #subfooter p.name, #subfooter p.email, #subfooter p.phone {
    font-size: 1.8rem;
    line-height: 1.35;
    font-weight: 600;
  }
}

/* ***** STRUCTURE ***** */
/* Grid */
.container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 100px auto;
    padding: 0 35px;
    box-sizing: border-box;
}

.container.centered {
  margin: 6rem auto;
}

.page-template-default .container,
.page-template-news-page .container,
.post-template-default .container,
.single-people .container,
.page-template-partner-page .container,
.page-template-team-page .container {
  margin-top: 0;
}

.single-gallery .container,
.single-location .container {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media(max-width: 1078px) {
  .container {
    padding: 0 3rem;
  }
  .row {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  .single-post .container .row {
    padding: 0;
  }
}
@media(max-width: 768px) {
  .container {
    padding: 0 2rem;
  }
  .row {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media(min-width: 768px) {

  .container {
    min-height: 400px;
  }
  .columns {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
  }

  .columns > div {
    flex: 1;
    position: relative;
  }

  .column-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-template-our-markets-page #content {
    padding: 0 3.5rem;
  }

  .tax-city_categories .title-section {
    padding-left: 3.5rem;
  }
  .tax-city_categories .title-section:empty {
    display: none;
  }
}

@media(min-width: 1441px) {
  .content {
    max-width: 1440px;
    margin: auto;
  }
}

/* For devices larger than 400px */
@media (max-width: 768px) {
    .container {
      margin: 50px auto;
      padding: 0 2rem;
    }
}

/* Real Estate Page */
.page-template-realestate-page .container {
  margin-top: 0;
  margin-bottom:0;
  min-height: unset;
}

.page-template-realestate-page p.heading-lg {
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.35;
  max-width: 1080px;
  margin: auto;
  margin-top: 6rem;
  margin-bottom:0.5rem;
  text-align: center;
}

.page-template-realestate-page p.sub-heading {
  margin-bottom:3rem;
  font-size: 3rem;
  font-weight: bold;
  font-style: italic;
  color: var(--red);
  text-align: center;
}

.page-template-realestate-page .first-content {
  max-width: 1010px;
  margin: auto;
  padding: 2rem 4rem;
}

.page-template-realestate-page .first-content p {
  text-align: center;
  /* font-size: 2.8rem;
  line-height: 3.6rem; */
}

#red_background_content.container {
    max-width: unset;
    /* margin-left: -35px;
    width: calc(100% + 70px); */
    padding: 2rem;
}
#red_background_content p.red-content-heading {
  font-size: 4.8rem;
  line-height: 1.35;
  color: var(--background);
  margin: 2.8rem auto 2rem auto;
  font-weight: 700;
  text-align: center;
}
#red_background_content .red-content-section p {
  /* font-size: 2.8rem;
  line-height: 4rem; */
  font-weight: 500;
}
/* #red_background_content .red-content-section p strong {
  font-size: 3rem;
} */

#cards_section {
  padding: 2rem;
}
#cards_section p.cards-heading {
  font-size: 4.8rem;
  line-height: 1.35;
  font-weight: 500;
  text-align: center;
  margin: 5rem 0 4rem 0;
}

#cards_section .cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5.7rem;
}
#cards_section .card {
  background-color: #D9D9D933;
  padding: 4rem;
}

#cards_section .card .icon {
  width: 90px;
  height: 90px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: none;
}

#cards_section .card p.card-title {
  font-size: 2.4rem;
  line-height: 1.35;
  font-weight: 700;
  margin-top:0;
  margin-bottom:3rem;
}

#cards_section .card p.card-excerpt {
  font-size: 1.8rem;
  line-height: 1.35;
  font-weight: 500;
  margin-bottom: 0;
}

#connect_banner {
  background-color: var(--red);
  border-radius: 2rem;
  padding: 3rem;
  display: flex;
  justify-content: center;
  min-height: unset;
  margin-top: 8rem;
  margin-bottom: 13rem;
  align-items: center;
  gap: 4rem;
}

#connect_banner .icon {
  width: 118px;
  height: 118px;
  background-size: contain;
  background-repeat: no-repeat;
  display: none;
}

#connect_banner p.banner-title {
  font-size: 3.5rem;
  line-height: 1.35;
  font-weight: bold;
  color: var(--background);
}

#connect_banner p.banner-excerpt {
  font-size: 2.4rem;
  line-height: 1.35;
  color: var(--background);
  margin-bottom: 0;
  max-width: 60ch;
}

#connect_banner a.button {
  margin: 0;
  background-color: var(--background);
  color: var(--black);
}

#connect_banner a.button:hover {
  background-color: var(--font-color);
  color: var(--background);
}

@media(max-width: 768px) {
  .page-template-realestate-page .featured-image {
    aspect-ratio: unset;
    height: unset;
    padding-bottom: 42.5%;
  }
  .page-template-realestate-page .first-content {
    padding: 0 0 2rem 0;
  }
  .page-template-realestate-page p.sub-heading,
  #cards_section .card p.card-title {
    margin-bottom: 4rem;
  }
  .page-template-realestate-page .first-content p,
  #red_background_content .red-content-section p,
  #red_background_content .red-content-section p span,
  #red_background_content .red-content-section p strong {
    font-size: 1.8rem;
    line-height: 1.35;
  }
  #red_background_content.container {
    /* width: calc(100% + 4rem); */
    margin: unset;
    /* margin-left: -2rem; */
  }
  #cards_section p.cards-heading,
  .page-template-realestate-page p.heading-lg,
  #red_background_content p.red-content-heading {
    font-size: 3.5rem;
    line-height: 1.35;
    margin-bottom: 1.5rem;
  }

  #cards_section .cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #cards_section .card {
    padding: 2rem;
  }

  #connect_banner {
    flex-direction: column;
    border-radius: 0;
  }
  #cards_section .card .icon {
    margin: auto;
  }
  #cards_section .card p.card-title, #cards_section .card p.card-excerpt,
  #connect_banner p.banner-title, #connect_banner p.banner-excerpt {
    text-align: center;
  }
}
#red_background_content {
  background-color: var(--red);
  margin-top: 2rem;
}

#red_background_content .red-content-section {
  max-width: 865px;
  margin: auto;
}

#red_background_content .red-content-section p {
  color: var(--background);
}

/* Blocks */

.page-accordion {
  margin-bottom: 40px;
  /* border: 1px solid #c4c4c4; */
  box-sizing: border-box;
}

.page-accordion-title {
  color: #333333;
  font-size: 4rem;
  border-top: 2px solid #d8d8d8;
  margin: 0;
  padding: 2rem 0;
  position: relative;
  cursor: pointer;
  line-height: 1.35;
  display: block;
  align-items: center;
  vertical-align: middle;
}

.page-accordion-title span.header {
  display: inline-block;
  width: auto;
  padding-right: 20px;
}

.page-accordion-title:first-child {
  border-top: 0;
}

.page-accordion-title::after {
  font-family: "Font Awesome 5 Free";
  content: "\f078";
  font-weight: 900;
  position: absolute;
  color: var(--background);
  right: 20px;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #CCCCCC;
  border-radius: 50%;
  padding: 1rem 1.2rem;
}

.page-accordion-title:hover::after {
  color: #7f7f7f;
  transition: all 200ms;
}

.page-accordion-title.ui-state-active {
  transition: all 200ms;
}
.page-accordion-title.ui-state-active:focus {
  outline: none;
}
.page-accordion-title.ui-state-active::after {
  font-family: "Font Awesome 5 Free";
  content: "\f077";
  font-weight: 900;
  color: #FFFFFF;
  background-color: #333333;
}

.page-accordion-content {
  padding: 0 30px 10px 30px;
  display: inline-block;
}

.page-accordion-content ul,
.page-accordion-content ol {
  margin-left: 30px;
}

@media(max-width: 768px){
  .page-accordion-title span.header {
    padding-right: 10px;
  }
}

/* Base Styles */
/* NOTE ... html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
/* html, body {
  height:100%;
} */
html {
    font-size: 62.5%;
}

body {
    font-family: var(--sans-serif);
    font-size: 1.5em;
    line-height: 1.35;
    font-weight: 400;
    color: var(--font-color);
    /* max-width: 1580px; */
    margin: auto;
}

/* Typography */
h1,h2,h3,h4,h5,h6 {
  line-height: 1.2;
  font-weight: normal;
}

p {line-height: 1.35;}


h1 {
  font-size: 5.5rem;
}

h2, p.heading, p.about-location {
    font-size: 5.5rem;
}

h3 {
    font-size: 4.6rem;
}

h4 {
    font-size: 3.8rem;
}

p, li {
    font-size: 1.8rem;
    line-height: 1.35;
    margin-top: 0;
}

.gutenberg h2, .gutenberg h3, .gutenberg h4, .gutenberg h5 {
  margin-bottom: 2rem;
}

/* Links */

a {
    color: #000000;
}

a:hover {
    color: #000000;
}

/* Buttons */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    display: inline-block;
    height: auto;
    padding: 10px 20px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 2.1;
    /* letter-spacing: .1rem; */
    text-transform: uppercase;
    text-decoration: none;
    white-space: pre-wrap;
    border-radius: 5rem;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus
 {
    outline: 0;
}

.button {
  background-color: var(--red);
  color: var(--background);
  padding: 2rem 2.6rem 2.1rem 2.7rem;
  border-radius: 5rem;
  border: 0;
  text-decoration: none;
}

.button:hover {
  background-color: var(--black_alt);
  color: var(--background);
}

.button.black {
  background-color: var(--dark-gray);
  color: var(--background);
  border-radius: 25px;
  font-weight: bold;
}

.button.black:hover {
  background-color: var(--red);
}

.inside-cta .button {
  /* background-color: var(--background);
  color: var(--black); */
  margin-left: auto;
}

/* .inside-cta .button:hover {
  background-color: var(--light-gray);
  color: var(--black);
} */

#gallery_btn {
  position: relative;
  background-color: rgba(0,0,0,0.5);
  color: var(--background);
  display: flex;
  font-weight: 600;
}

#gallery_btn span.text {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

#gallery_btn span.text::before {
  content: '';
  display: inline-block;
  background-image: url('../images/photo-export.png');
  width: 60px;
  height: 60px;
  background-size: cover;
}

/* Forms */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
    height: 38px;
    padding: 6px 10px;
    /* The 6px vertically centers text on FF, ignored by Webkit */
    background-color: #fff;
    border: 1px solid #283179;
    border-radius: 5px;
    box-shadow: none;
    box-sizing: border-box;
    max-width: 100%;
}

/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

textarea {
    min-height: 65px;
    padding-top: 6px;
    padding-bottom: 6px;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border: 1px solid #283179;
    outline: 0;
}

label,
legend {
    display: block;
    margin-bottom: .5rem;
}

fieldset {
    padding: 0;
    border-width: 0;
}

input[type="checkbox"],
input[type="radio"] {
    display: inline;
}

label>.label-body {
    display: inline-block;
    margin-left: .5rem;
    font-weight: normal;
}

/* Lists */
ul {
    list-style: disc inside;
}

ol {
    list-style: decimal inside;
}

ol,
ul {
    padding-left: 0;
    margin-top: 0;
}

ul ul,
ul ol,
ol ol,
ol ul {
    margin: 1.5rem 0 1.5rem 3rem;
    font-size: 90%;
}

li {
    margin-bottom: 2rem;
    margin-left: 20px;
    list-style-position: outside;
}

/* Code */
code {
    padding: .2rem .5rem;
    margin: 0 .2rem;
    font-size: 90%;
    white-space: nowrap;
    background: #F1F1F1;
    border: 1px solid #E1E1E1;
    border-radius: 4px;
}

pre>code {
    display: block;
    padding: 1rem 1.5rem;
    white-space: pre;
}

/* Tables */
th,
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #E1E1E1;
}

th:first-child,
td:first-child {
    padding-left: 0;
}

th:last-child,
td:last-child {
    padding-right: 0;
}

/* Spacing */
button,
.button { margin-bottom: 1rem; }

input,textarea,select,fieldset { margin-bottom: 1rem; }

pre,blockquote,dl,figure,table,p,ul,ol,form { margin-bottom: 2rem; }

/* figure img {cursor: zoom-in;} */

/* Utilities */
.u-full-width {
    width: 100%;
    box-sizing: border-box;
}

.u-max-full-width {
    max-width: 100%;
    box-sizing: border-box;
}

.u-pull-right {
    float: right;
}

.u-pull-left {
    float: left;
}

.wp-block-button__link {border-radius: 2px;}
.additional-content a {text-decoration:underline;}

/* Accessibility */

.screen-reader-label, .screen-reader-text, .screen-reader-text span, .screen-reader-shortcut {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.off_screen {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    padding: .5em;
    margin: .5em;
}

/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr { background-color: #333133; }

iframe, img, .wp-caption.aligncenter { max-width: 100%; }

.fa-phone {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

/* Self Clearing */
.container:after,
.row:after,
.u-cf {
    content: "";
    display: table;
    clear: both;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

* html .clearfix {
    zoom: 1;
}

/* IE6 */
*:first-child+html .clearfix {
    zoom: 1;
}