/* All screen sizes */

/****************************************
* Root variables
****************************************/

:root {
  --fni-font-1: 'Roboto';
  --fni-font-2: 'Gotcha Standup';
  --fni-font-3: 'Roboto Condensed';
  --fni-font-4: 'BebasNeuePro';
  --fni-font-5: 'Source Sans Pro';

  --fni-color-1: #5f6062;  /* dark gray */
  --fni-color-2: #c41230;  /* red */
  --fni-color-3: #757575;  /* light gray */
  --fni-color-4: #ebebeb;  /* lighter gray */
  --fni-color-5: #e7e7e7;  /* darker white */
}

/****************************************
* Typography
****************************************/

h1 {
  font: normal normal 28px/1.3em var(--fni-font-2);
  color: var(--fni-color-2);
}

h2 {
  font: normal 300 24px/1.3em var(--fni-font-1);
  color: var(--fni-color-2);
}

h3 {
  font: normal 300 18px/1.3em var(--fni-font-1);
  color: var(--fni-color-1);
}

h4 {
  font: normal bold 18px/1.5em var(--fni-font-1);
  color: #58595b;
}

hr {
  border-top: 1px solid var(--fni-color-4);
}

p + h2,
ul + h2,
p + h3,
ol + h3,
ul + h3,
h3 + h3,
img + h1,
img + h2,
h3 + a.button,
p + a.button,
p + blockquote,
p:not(.close-overlay) + form,
ul + a.button {
  margin-top: 2rem;
}

h1 + h2,
.table + .table,
h1 + p,
h2 + p,
h2 + ul,
h2 + .grid,
h2 + button,
h2 + .button,
h2 + .styled-select,
h3 + p,
h3 + ul,
h3 + ol,
img + p,
p + p,
p + ul,
p + ol,
p + .video,
p + .flex-row,
.video + p,
.button + .button,
.icon-button + .icon-button,
.video + blockquote {
  margin-top: 1rem;
}

.category + .grid,
li + li,
h2 + h3 {
  margin-top: .5rem;
}

p,
li,
label,
legend {
  font: normal normal 16px/1.5em var(--fni-font-1);
  color: #000000;
}

label,
legend {
  font-size: 15px;
}

a {
  color: var(--fni-color-2);
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color: var(--fni-color-1);
}

.bulleted {
  margin: 1rem 0 1rem .5rem;
}

.inline {
  display: inline-block;
  width: auto;
}

/****************************************
* Blockquote
****************************************/

blockquote {
  margin-left: 2rem;
  border-left: 2px solid var(--fni-color-2);
  padding: 1rem 2rem;
}

blockquote p {
  font-size: 16px;
  font-style: italic;
  color: var(--fni-color-1);
}

/****************************************
* Header
****************************************/

header {
  position: relative;
  background-color: #ffffff;
  min-height: 79px;
}

header > .flex {
  flex-direction: column;
}

@media(max-width: 767.99px) {
  header .padding {
    padding: 0;
  }
}

header .logo {
  margin: 0 auto 0 0;
  padding: 1rem;
}

header .logo img {
  max-width: 90px;
}

/****************************************
* Top Bar
****************************************/

.top-bar {
  background-color: var(--fni-color-4);
  border-top: 1px solid #c6c6c6;
  border-bottom: 1px solid #c6c6c6;
}

.top-bar .flex {
  display: flex;
  justify-content: flex-start;
}

.top-bar a,
.top-bar em {
  display: flex;
  align-items: center;
  padding: .5rem .75rem;
  font: normal 400 14px/1.2em var(--fni-font-5);
  border-right: 1px solid #c6c6c6;
  color: var(--fni-color-2);
}

.top-bar em {
  color: #000000;
  font-style: italic;
}

.top-bar a:hover {
  background-color: var(--fni-color-2);
  color: #ffffff;
}

.top-bar a svg,
.top-bar em svg {
  margin-right: .5rem;
  width: 15.74px;
  height: 15.74px;
  fill: var(--fni-color-2);
}

.top-bar a:hover svg {
  fill: #FFFFFF;
}

.top-bar a:last-of-type svg {
  margin-right: 0;
}

.top-bar em svg {
  width: 40px;
  margin-right: 1rem;
  fill: #003256;
}

/****************************************
* Navigation
****************************************/

.nav-toggle {
  position: absolute;
  top: 1.25rem;
  right: 1rem;
  height: 35px;
  width: 35px;
  z-index: 400;
}

.nav-toggle svg {
  fill: var(--fni-color-2);
  max-height: 35px;
  max-width: 35px;
}

.nav-toggle div {
  display: none;
}

.nav-toggle div.on {
  display: block;
}

nav {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-in;
}

nav.on {
  max-height: none;
}

nav ul {
  margin: 1rem 0 0 0;
}

nav li {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
}

nav li + li:before {
  content: '';
  margin: 1rem auto 0;
  padding-top: .5rem;
}

nav li:not(.on) + li:before {
  border-top: 4px dotted #efefef;
  width: calc(100% - 24px);
  padding-top: calc(1rem + 4px);
}

nav li a,
nav li button {
  color: var(--fni-color-2);
}

nav li > button {
  position: relative;
  background-color: #ffffff;
  padding: 0;
  text-align: left;
}

nav li button,
nav li a.button,
nav li:not(.mega-menu) > a {
  width: 100%;
  font: normal normal 16px/1em var(--fni-font-1);
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
}

nav li:last-of-type {
  display: block;
  padding: 0 1rem 1rem 1rem;
}

nav li:last-of-type a.button {
  display: inline-block;
  width: auto;
  padding: 1rem;
}

nav li:not(.on):last-of-type:before {
  display: block;
  width: 100%;
}

nav .mega-menu button {
  position: relative;
}

@media(max-width: 1140px) {
  nav .mega-menu button {
    margin: 0 auto 0 1rem;
    outline: none;
    width: auto;
  }
}

nav .mega-menu button.on:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent var(--fni-color-1) transparent;
  margin-top: .5rem;
}

nav .drop-down {
  position: relative;
  display: block;
  height: auto;
  max-height: 0;
  overflow: hidden;
  z-index: 10;
}

nav .mega-menu.on .drop-down {
  margin-bottom: -4px;
  max-height: none;
}

nav li:hover > .drop-down {
  visibility: visible;
  opacity: 1;
  text-align: left;
}

nav .drop-down-content {
  margin-top: 10px;
  background-color: var(--fni-color-1);
  max-height: 100%;
  padding: 1rem;
}

nav .drop-down-content h2 {
  font-weight: 200;
  color: #ffffff;
}

nav .drop-down-content hr {
  border-color: var(--fni-color-3);
}

nav .drop-down-content .links {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

nav .drop-down-content .links a {
  display: flex;
  align-items: center;
  position: relative;
  margin: 0;
  font-weight: 300;
  padding: .5rem 1rem .5rem 2.25rem;
  color:#ffffff;
}

nav .drop-down-content .links a:before {
  content: '';
  position: absolute;
  top: 50%;
  left: .75rem;
  transform: translateY(-50%) rotate(-45deg);
  border: solid #ffffff;
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 4px;
  color:#ffffff;
}

nav .drop-down-content a:focus,
nav .drop-down-content a:hover,
nav .drop-down-content a.active {
  background-color:#ffffff;
  color: var(--fni-color-2);
}

nav .drop-down-content a:focus:before,
nav .drop-down-content a:hover:before,
nav .drop-down-content a.active:before {
  border-color: var(--fni-color-2);
}

nav .drop-down-content .button,
nav .drop-down-content .button:hover {
  color: #ffffff;
}

nav .drop-down-content .button:hover {
  background-color: var(--fni-color-3);
}

nav .multi-links {
  display: flex;
  gap: 1rem;
  margin-left: 1rem;
}

nav .multi-links a,
nav .multi-links button {
  background-color: transparent;
  width: auto;
  padding: 0;
  font-weight: 400;
  font-size: 15px;
  cursor: pointer;
  text-transform: none;
}

/****************************************
* Buttons
****************************************/

.button {
  background-color: var(--fni-color-2);
  border-radius: 4px;
  padding: 1rem;
  font: normal normal 16px/1em var(--fni-font-1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.button:disabled,
.button:hover {
  background-color: var(--fni-color-1);
  color: #ffffff;
}

.button-text {
  background-color: transparent;
  padding: 0;
  color: var(--fni-color-2);
}

.button-text:hover {
  color: var(--fni-color-1);
}

.icon-button {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background-color: transparent;
  padding: 1rem;
  line-height: 1.3em;
}

.icon-button:hover {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 1);
  background-color: #FFFFFF;
  color: var(--fni-color-2);
  padding: 1rem;
}

.icon-button svg {
  flex: 0 0 20px;
  margin-right: .5rem;
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.icon-button:hover svg {
  fill: var(--fni-color-2);
}

.view-more {
  margin: 2rem auto 0;
}

/****************************************
* Accents
****************************************/

.accent-1 {
  background: #f5f5f5 url('/images/layout/background_accent.png');
}

.accent-2 {
  background-color: var(--fni-color-2);
}

.accent-3 {
  background-color: var(--fni-color-5);
}

.accent-4 {
  background-color: #efefef;
}

.disclaimer p {
  margin: 0 auto;
  max-width: 1000px;
  text-align: center;
  color: var(--fni-color-1);;
}

/****************************************
* Ribbon
****************************************/

.ribbon .alert {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ribbon .alert + .alert {
  margin-top: 1rem;
  border-top: 1px solid #aeaeae;
  padding-top: 1rem;
}

.ribbon .alert svg {
  flex: 0 0 30px;
  margin-right: 1rem;
  width: 30px;
  height: 30px;
  fill: var(--fni-color-2);
}

.ribbon p + p {
  margin-top: 0;
}

/****************************************
* Card
****************************************/

.card {
  display: flex;
  flex-direction: column;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
  border-radius: 5px;
  overflow: hidden;
  padding: 0;
}

.card.no-overflow {
  overflow: visible;
}

.card > a:first-of-type:not(.button) {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card [data-video-overlay] {
  background-color: transparent;
  padding: 0;
  text-align: left;
}

.card .image-wrapper {
  position: relative;
  height: 0;
  padding-top: calc(350 / 900 * 100%);
  overflow: hidden;
}

.card .image-wrapper img {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .4s ease;
}

.card > a:hover img,
.card > button:hover img {
  transform: translateY(-50%) scale(1.1);
}

.card .details {
  flex-grow: 1;
  padding: 1.5rem;
}

.card .details li {
  margin-left: 1.5rem;
  margin-right: .5rem;
}

.card .details .flex-row {
  margin-bottom: .5rem;
}

.card .details .category {
  display: inline-block;
  margin-right: .5rem;
  background-color: var(--fni-color-1);
  border-radius: 4px;
  padding: .25rem .4rem;
}

.card .details .category p {
  font-size: 12px;
  color: #ffffff;
}

.card .details .date {
  align-self: center;
  font-size: 12px;
  color: var(--fni-color-3);
}

.card .details .grid {
  display: grid;
  grid-template-columns: 1fr 35px;
  align-items: center;
  grid-gap: 0 1rem;
}

.card .details .grid p {
  font-weight: 300;
  color: var(--fni-color-2);
}

.card .circle,
.card .arrow {
  position: relative;
  border: 1px solid #efefef;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  padding: 0;
}

.card button:hover .circle,
.card a:hover .arrow {
  background-color: var(--fni-color-2);
  border: none;
}

.card .arrow:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-75%, -50%) rotate(-45deg);
  border: solid var(--fni-color-2);
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 4px;
}

.card a:hover .arrow:before {
  border-color: #ffffff;
}

.card .circle svg {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  fill: var(--fni-color-2);
}

.card:hover .circle svg {
  fill: #ffffff;
}

.card .details + .button,
.card > a + .button {
  margin: 0;
  border-radius: 0;
}

/****************************************
* Newsletter Card
****************************************/

.newsletter.card {
  background-color: var(--fni-color-2);
}

.newsletter.card h2 {
  color: #ffffff
}

/****************************************
* Billboard
****************************************/

.billboard {
  min-height: 500px;
  background-color: #efefef;
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
}

.billboard .slide .photo {
  position: relative;
  height: 0;
  padding-top: calc(700 / 1200 * 100%);
}

.billboard .slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.billboard .slide .content {
  background-color: var(--fni-color-2);
  text-align: center;
}

@media(max-width: 999px) {
  .billboard .slide .padding {
    padding: 2rem 2rem 4rem 2rem;
  }
}

.billboard .title h1 {
  text-shadow: 2px 2px 1.5px rgba(0, 0, 0, 0.9);
  color: #FFFFFF;
}

.billboard .title p {
  color: var(--fni-color-4);
  font-weight: 300;
  padding-bottom: 1rem;
}

.billboard a {
  display: inline-block;
}

.billboard .button {
  background-color: #ffffff;
  color: var(--fni-color-2);
}

.billboard .slip-n-slide.pagination .control {
  margin: 0 .75rem 1rem;
  background-color: rgba(255, 255, 255, .5);
  width: 20px;
  height: 20px;
}

/****************************************
* Inside billboard
****************************************/

.billboard-inside {
  overflow: hidden;
}

.billboard-inside .background-image {
  background-size: cover;
  background-position: center;
  height: calc(200px + (400 - 200) * (100vw - 320px) / (1140 - 320));
}

.billboard-inside .image-wrapper {
  position: relative;
  height: 0;
  padding-top: calc(450 / 2000 * 180%);
  overflow: hidden;
}

.billboard-inside .image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
  transition: all .4s ease;
}

.inside-billboard img {
  width: 100%;
}

.inside-billboard h1,
.billboard-inside .title h1 {
  text-transform: uppercase;
  line-height: 1em;
  font-family: var(--fni-font-4);
  font-weight: bold;
}

.inside-billboard p,
.billboard-inside .title p {
  font-weight: 300;
}

.billboard-inside .wrapper {
  margin: 0 auto;
}

.billboard-inside .button {
  display: inline-block;
  width: auto;
}

@media(max-width: 1139px) {
  .billboard-inside .wrapper {
    padding-bottom: 0;
  }
}

/****************************************
* Billboard accent
****************************************/

.billboard-accent {
  background-color: var(--fni-color-2);
}

.billboard-accent h1 {
  color: #ffffff;
}

/****************************************
* Billboard image
****************************************/

.billboard-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.billboard-image h1 {
  color: #ffffff;
  text-shadow: 3px 4px 10px rgba(0, 0, 0, .2);
}

/****************************************
* Title
****************************************/

.title {
  margin: 0 auto;
  max-width: 1030px;
  text-align: center;
}

.resources .title {
  max-width: unset;
}

.title h1 {
  font-size: 40px;
}

.title h2 {
  font: normal normal 18px/1.5em var(--fni-font-1);
  color: var(--fni-color-1);
}

.bankers-who-believe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bankers-who-believe .title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bankers-who-believe h1 {
  color: #000000;
  line-height: .6em;
}

.bankers-who-believe h1 span {
  font: normal bold 67px/1.4em var(--fni-font-4);
  color: var(--fni-color-2);
  text-transform: uppercase;
}

.bankers-who-believe h1 span.end {
  font: normal normal 42px/1.2em var(--fni-font-4);
  color: var(--fni-color-1);
}

/****************************************
* Cross grid
****************************************/

.cross.grid {
  margin-top: 2rem;
}

.cross.grid a {
  background-color: var(--fni-color-2);
  padding: 2rem;
  border-radius: 5px;
}

.cross.grid a:hover {
  background-color: var(--fni-color-1);
}

.cross.grid a + a {
  margin-top: 1rem;
  border-top: 1px solid #efefef;
}

.cross.grid h3 {
  font-weight: bold;
  font-family: var(--fni-font-4);
  font-size: 30px;
  text-transform: uppercase;
  line-height: 1em;
}

.cross.grid h3,
.cross.grid p {
  text-align: center;
  color: #FFFFFF;
}

.cross.grid p {
  font-size: 18px;
}

.cross.grid h3 + p {
  margin-top: .5rem;
}

/****************************************
* Latest Post
****************************************/

.latest-post {
  padding: 1rem;
}

.social-buttons {
  padding: .5rem 0;
}

.social-buttons > div {
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
}

.latest-post p > a {
  word-wrap: anywhere;
}

/****************************************
* Overlay
****************************************/

.overlay {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 400;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, .8);
  width: 100%;
  height: 100%;
  padding: 1rem;
  overflow: auto;
}

.overlay .wrapper {
  position: relative;
  margin: auto;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, .9);
  width: calc(100% - 1rem);
  max-width: 600px;
  padding: 21px;
}

#home-buying-overlay .wrapper,
#agency-buying-overlay .wrapper {
  max-width: 645px;
}

.overlay.tall .wrapper {
  top: 1rem;
  transform: none;
}

.overlay.large .wrapper {
  max-width: 700px;
}

.overlay .close-overlay {
  position: absolute;
  top: .5rem;
  right: .5rem;
  z-index: 1;
  margin: 0;
  background: transparent;
  height: 23px;
  padding: 0;
  font-size: 30px;
  line-height: 20px;
  color: var(--fni-color-1);
  cursor: pointer;
}

.overlay .close-overlay,
.overlay .close-overlay svg {
  width: 25px;
  height: 25px;
  fill: var(--fni-color-2);
}

.overlay .close-overlay:hover {
  color: var(--fni-color-2);
}

.overlay h2 {
  margin-top: 0;
}

.overlay.large img {
  margin-top: 8px;
}

#request-appt .wrapper {
  max-width: 525px;
}

#feedback .wrapper {
  max-width: 457px;
  padding: 0;
}

#home-buying-overlay .wrapper,
#agency-buying-overlay .wrapper {
  max-width: 660px;
  padding: 3rem;
}

#home-buying-overlay img,
#agency-buying-overlay img {
  margin: auto;
  max-width: 260px;
}

/****************************************
* Forms
****************************************/

.error-message:empty + h2 {
  margin-top: 0;
}

.name-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  grid-gap: 1rem;
}

.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 80px;
  grid-gap: 1rem;
}

fieldset .flex-row > div + div {
  margin-left: .5rem;
}

/****************************************
* Google reCAPTCHA
****************************************/

.recaptcha-wrapper {
  margin-bottom: 1rem;
}

.recaptcha-wrapper > div {
  transform: scale(0.86);
}

.recaptcha-wrapper > div.invalid {
  outline: 1px solid #D00;
}

/****************************************
* Image block
****************************************/

.image-block {
  position: relative;
  padding-top: 89%;
  overflow: hidden;
}

.image-block .image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transition: all .4s ease;
}

.image-block .image:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: .4s ease;
}

.image-block:hover .image {
  transform: scale(1.1);
}

.image-block:hover .image:before {
  background-color: var(--fni-color-2);
  opacity: .7;
}

.image-block .icon-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  background-color: var(--fni-color-2);
  width: max-content;
  max-width: calc(100% - 2rem);
  color: #ffffff;
}

.image-block .icon-button svg {
  fill: #ffffff;
}

.image-block:hover .icon-button {
  background-color: #ffffff;
  color: var(--fni-color-2);
}

.image-block:hover .icon-button svg {
  fill: var(--fni-color-2);
}

.image-block + div:not(.image-block) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

/****************************************
* Team
****************************************/

.team {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.team .staff {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(100% - 1rem);
  margin: .5rem 0;
}

.team .location {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--fni-color-3);
  width: 100%;
  padding: .5rem 1rem;
  text-align: center;
}

.team .location p {
  color: #ffffff;
}

.team .details {
  text-align: center;
}

.team .details p {
  line-height: 1.2em;
}

.team .details p + p {
  margin-top: .5rem;
}

.team .details p:last-of-type {
  font-size: 15px;
}

.team .title {
  font-size: 14px;
  color: var(--fni-font-1);
}

/****************************************
* Logos
****************************************/

.logos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.logos img {
  max-height: 70px;
}

.logos > a + a {
  margin-left: 2rem;
}

/****************************************
* Testimonial
****************************************/

.testimonial .image {
  background-size: cover;
  background-position: left;
  padding-top: 100%;
}

.testimonial .wrapper {
  position: relative;
  top: -5.5rem;
  left: 1rem;
  z-index: 1;
  margin-bottom: -5.5rem; /* remove extra spacing at the bottom from shifting up */
}

.testimonial .box {
  position: relative;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, .2);
  background-color: rgba(196, 18, 48, .85);
  padding: 1rem;
}

.testimonial .box:before {
  content: '\201C';
  position: absolute;
  top: 0;
  left: -10px;
  font: normal bold 80px/15px 'Times New Roman';
  color: #ffffff;
}

.testimonial p {
  color: #ffffff;
}

.testimonial .author {
  font-size: 12px;
}

.testimonial .title {
  display: block;
  margin-left: 12px;
  text-align: left;
}

/****************************************
* Helpful links
****************************************/

h2 + .helpful-links {
  margin-top: 1rem;
}

.helpful-links {
  flex-direction: column;
  gap: 1rem;
}

.helpful-links .button + .button {
  margin-top: 0;
}

/****************************************
* Resource article
****************************************/

.resource-article > img {
  width: 100%;
}

.resource-article img + img {
  margin-top: 1rem;
}

.resource-article h1 {
  font-family: var(--fni-font-1);
  font-weight: 300;
}

/****************************************
* Offices
****************************************/

.offices .card .image-wrapper {
  padding-top: calc(297 / 434 * 100%);
}

/****************************************
* Map
****************************************/

#map {
  z-index: 1;
}

/****************************************
* Side links
****************************************/

.side-links {
  display: none;
}

/****************************************
* Search page
****************************************/

form.search .grid {
  grid-template-columns: 1fr 100px;
  grid-gap: 1rem;
}

form.search input {
  margin: 0;
  height: 100%;
  font-size: 16px;
}

form.search input[type="submit"] {
  height: auto;
  padding: .75rem 1rem;
  text-transform: none;
}

.search-result + .search-result {
  margin-top: 1rem;
  border-top: 1px solid #efefef;
  padding-top: 1rem;
}

.search-result h3 {
  color: var(--fni-color-2);
}

.search-result h3 + p {
  margin-top: 0;
}

.search-result b {
  font-weight: 700;
}

/****************************************
* Styled select
****************************************/

.styled-select {
  position: relative;
  background-color: #ffffff;
}

.arrow-down {
  display: inline-block;
  position: absolute;
  top: 12px;
  right: 9px;
  transform: rotate(45deg);
  border: solid var(--fni-color-2);
  border-width: 0 3px 3px 0;
  padding: 3px;
  pointer-events: none;
}

.styled-select select {
  margin: 0;
  padding-right: 24px;
}

/****************************************
* Styled dropdown
****************************************/

.styled-dropdown {
  position: relative;
}

.styled-dropdown + .styled-dropdown {
  margin-top: 1rem;
}

.styled-dropdown button {
  display: block;
  position: relative;
  border-radius: 3px;
  border: 1px solid #efefef;
  background-color: #ffffff;
  width: 100%;
  padding: .5rem;
  font-size: 16px;
  font-weight: normal;
  color: #000000;
  text-align: left;
}

.styled-dropdown button::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: calc(50% - 1.5px);
  right: 9px;
  transform: translateY(-50%) rotate(45deg);
  border: solid var(--fni-color-2);
  border-width: 0 3px 3px 0;
  padding: 3px;
  pointer-events: none;
}

.styled-dropdown .content {
  display: none;
  position: absolute;
  top: calc(100% - 1px);
  z-index: 1;
  border: 1px solid #efefef;
  background-color: #f7f7f7;
  width: 100%;
  padding: 1rem 1.25rem;
}

.styled-dropdown:hover .content,
.styled-dropdown:focus .content,
.styled-dropdown button:hover .content,
.styled-dropdown button:focus .content {
  display: block;
}

.styled-dropdown .content a {
  display: block;
}

.styled-dropdown .content a + a {
  margin-top: .5rem;
}

/****************************************
* Footer
****************************************/

footer {
  background-color: var(--fni-color-1);
}

footer > .grid {
  grid-template-columns: 1fr;
}

footer .padding {
  grid-gap: 1rem;
}

footer h2 {
  font-size: 30px;
  font-weight: 200;
  color: #ffffff;
}

footer hr,
footer .alt {
  border-color: var(--fni-color-3);
  margin: 1.55rem 0;
}

footer .alt {
  margin: .75rem 0;
}

footer a:hover {
  color: rgba(255, 255, 255, 0.4);
}

footer .button {
  width: 100%;
}

footer .button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

footer a.button + a.button {
  margin-top: 1rem;
}

footer .icon svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  margin-right: 1rem;
}

footer .icon:hover svg {
  fill: rgba(255, 255, 255, 0.4);
}

footer p,
footer a {
  margin-bottom: 0;
  color: #FFFFFF;
}

footer img {
  margin: auto;
  width: 100%;
  max-width: 350px;
  text-align: center;
}

/****************************************
* Attribution
****************************************/

.attribution {
  background-color: rgba(0, 0, 0, 0.25);
  padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom));
}

.attribution a {
  color: rgba(255, 255, 255, 0.4);
  font-weight: normal;
  text-transform: none;
}

.attribution p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.attribution img {
  display: inline-block;
  width: auto;
}

/****************************************
* Disclaimer
****************************************/

.disclaimer-box {
  margin: 2rem auto 0;
  max-width: 500px;
  padding: 1rem;
}

.disclaimer-box img {
  margin: 0 auto 1rem auto;
}

/****************************************
* Disclosures
****************************************/

.one-column {
  margin: auto;
  width: 100%;
  max-width: 1200px;
}

.one-column details summary + div {
  background-color: transparent;
  padding: 0;
}

.one-column details .toggle {
  background-color: var(--fni-color-2);
}

.table {
  border: 1px solid #000;
}

.table ul {
  margin: 0;
  list-style-type: "-";
}

.table li {
  margin: 0 0 0 2rem;
  padding-left: 1rem;
}

.table.personal-info,
.table.questions {
  grid-template-columns: 1fr 8fr;
}

.table.info-sharing {
  grid-template-columns: 2fr 1fr 1fr;
}

.table.one-column-header {
  grid-template-columns: 1fr 2fr;
}

.table .cell {
  padding: .5rem;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
}

.table .cell > div {
  width: 100%;
}

/* Two columns */

.table.personal-info .cell:nth-child(odd),
.table.personal-info .cell:nth-child(-n + 2),
.table.questions .cell:first-child,
.table.one-column-header .cell:first-child {
  background-color: #cecece;
}

.table.personal-info .cell:nth-child(2n),
.table.questions .cell:nth-child(2n),
.table.one-column-header .cell:nth-child(odd) {
  border-right: none;
}

.table.personal-info .cell:nth-last-child(-n + 2),
.table.questions .cell:nth-last-child(-n + 2),
.table.one-column-header .cell:nth-last-child(-n + 2) {
  border-bottom: none;
}

/* Three columns */

.table.info-sharing .cell:nth-child(-n + 3) {
  background-color: #cecece;
}

.table.info-sharing .cell:nth-child(3n) {
  border-right: none;
}

.table.info-sharing .cell:nth-last-child(-n + 3) {
  border-bottom: none;
}

.table.info-sharing .cell p {
  text-align: center;
}

.table.info-sharing .cell:nth-child(3n + 1) {
  justify-content: flex-start;
}

.table.info-sharing .cell:nth-child(3n + 1) p {
  text-align: left;
}

/****************************************
* Filter articles
****************************************/

.filter-flex {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.filter-flex .search {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.filter-flex .search svg {
  position: absolute;
  top: 50%;
  left: .5rem;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  fill: #6a6a6a;
  pointer-events: none;
}

.filter-flex .search input {
  margin: 0;
  padding-left: calc(20px + 1rem);
}

.filter-flex .styled-select {
  margin: 0;
}

/****************************************
* Photo Gallery
****************************************/

.gallery img {
  width: 100%;
}