/* Screens no smaller than a tablet */

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

h1 {
  font-size: 44px;
}

h2 {
  font-size: 26px;
}

.billboard-inside p {
  font-size: 18px;
}

.banner p {
  font-size: 26px;
}

main .padding-adjustment {
  padding-bottom: 3rem;
}

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

.accent-4 {
  border-right: 1px solid #efefef;
  border-bottom: none;
}

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

header {
  padding-bottom: 0;
}

header > .flex {
  justify-content: space-between;
  margin: 0 auto;
  max-width: 770px;
  padding: 1rem;
}

@media(min-width: 900px) {
  header > .flex {
    max-width: 865px;
  }
}

header .flex {
  display: flex;
  flex-direction: row;
  align-items: center;
}

header .logo {
  margin: 0;
  padding: 0;
}

header .logo img {
  width: 350px;
  max-width: unset;
  height: 70px;
}

header .icons i {
  font-size: 25px;
}

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

nav {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  border: none;
  background-color: rgba(0, 0, 0, .3);
  width: auto;
  height: 100%;
  max-height: 100%;
  padding: 0 1rem;
  overflow-y: visible;
  z-index: 300;
}

nav ul {
  display: flex;
  margin: 0;
}

nav li {
  margin: 0;
  border-bottom: none;
  width: auto;
  padding: 0;
}

nav li + li {
  margin-top: 0;
}

nav li + li::before {
  display: none;
}

nav a {
  margin: auto 1rem;
  background-color: transparent;
  padding: 1rem 0;
  font-size: 12px;
}

@media(min-width: 820px) {
  nav a {
    font-size: 14px;
  }
}

@media(min-width: 900px) {
  nav a {
    font-size: 16px;
  }
}

nav .button {
  margin: 0;
  padding: .75rem 1rem;
}

/****************************************
* Phone dropdown
****************************************/

.phone-menu {
  position: relative;
  top: 0;
  right: 0;
  width: auto;
}

.phone-menu > button {
  width: auto;
}

.phone-menu > button::before {
  content: '';
  position: absolute;
  top: calc(100% - 7px);
  left: 50%;
  transform: translateX(-50%);
  border-width: 15px;
  border-style: solid;
  border-color: transparent transparent #ffffff transparent;
}

.phone-menu .dropdown {
  position: absolute;
  top: calc(100% + 20px);
  right: -10px;
  z-index: 999;
  width: 290px;
  max-height: unset;
}

.phone-menu .dropdown,
.phone-menu > button::before {
  opacity: 0;
  visibility: hidden;
  transition: all .4s ease;
}

.phone-menu:hover .dropdown,
.phone-menu:hover > button::before {
  opacity: 1;
  visibility: visible;
}

.phone-menu .content {
  margin: 0;
}

.phone-menu .content a:hover {
  background-color: #efefef;
}

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

.billboard {
  height: 500px;
}

.billboard .content {
  padding: 2rem;
}

.billboard .content {
    max-width: 600px;
}

.billboard h1 + form {
  margin-top: 1rem;
}

/****************************************
* Category cards
****************************************/

.categories .card {
  aspect-ratio: unset;
}

/****************************************
* Property Details
****************************************/

.info-list h2 {
  padding: 1rem 2rem;
  font-size: 24px;
}

/****************************************
* Agents/Staff
****************************************/

@media (max-width: 919px) {
  .agents.grid.col-3--tablet {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 920px) and (max-width: 1139px) {
  .agents.grid.col-3--tablet {
    grid-template-columns: repeat(3, 1fr);
  }
}

/****************************************
* Search Page
****************************************/

@media (min-width: 782px) {
  #search-modal,
  #save-search-modal {
    left: unset;
    right: 0;
    transform: none;
  }
}

/****************************************
* Property Page
****************************************/

.side-links {
  flex-direction: column;
  position: fixed;
  bottom: 136px;
  right: 0;
  padding: 0;
  background-color: transparent;
  box-shadow: none;
  align-items: end;
  z-index: 100;
}

.side-links a,
.side-links button {
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, .2);
  border-radius: 20px 0 0 20px;
  background-color: var(--fni-color-1);
  width: 100%;
  height: 40px;
  padding: .5rem 1rem;
  text-align: left;
  font-size: 14px;
  font-family: var(--fni-font-1);
  color: #ffffff;
  transition: all .4s ease;
  transform: translateX(100%);
  animation-name: slideInFromRight;
  animation-duration: .5s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  cursor: pointer;
}

.side-links .request-showing {
  border-radius: 20px 0 0 20px;
}

.side-links a span,
.side-links button span,
.side-links .request-showing i {
  display: block;
}

.side-links .button.saved {
  border: 1px solid var(--fni-color-1);
  background-color: #ffffff;
}

.side-links .button.saved,
.side-links .button.save:focus,
.side-links .button.save:hover {
  color: var(--fni-color-1);
}

.side-links > .button {
  margin-top: 0;
}

.side-links .save {
  order: 1;
}

.side-links .share {
  order: 2;
}

.side-links .request-showing {
  order: 3;
}

.side-links .contact-agent {
  order: 4;
}

.side-links > :nth-child(2) {
  animation-delay: .25s;
}

.side-links > :nth-child(3) {
  animation-delay: .5s;
}

.side-links > :nth-child(1) {
  animation-delay: .75s;
}

.side-links > :nth-child(4) {
  animation-delay: 1s;
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}

/****************************************
* Videos
****************************************/

.videos > button p {
  font-size: calc(16px + (20 - 16) * (100vw - 768px) / (1140 - 768));
}

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

footer {
  text-align: left;
}