body {
  font-family: 'Roboto', sans-serif;
}

:root {
	--bs-primary: #EBA645;
	--bs-secondary: #5291FB;
  --bs-darkblue: #004568;
}

h1, h3 {
  font-family: 'Raleway', sans-serif;
}

h1 {
  color: #004568;
  font-size: 50px;
  line-height: 48px;
}
.navbar__logo {
  width:175px;
}

.main-content {
  min-height: calc(100vh - 63px);
  margin-top: 30px;
}

.theme-bg-blue {
  background: #004568;
}

.theme-text-light {
  color: #fff;
}

.sold-date {
  font-size: 28px;
  color: #ce0a0a;
}

a {
  color: #fff;
  text-decoration: none;
}

.disclaimer {
  font-size: 12px;
  line-height: 16px;
  color: #CBD1D5;
  margin-bottom: 0;
  padding: 2rem 4rem 4rem;
}

.margin-top-40 {
  margin-top: 40px;
}

/* Buttons and inputs */
.btn {
  font-weight: 700;
  color: #fff;
  border-radius: 4px;
}
.primary {
  background: var(--bs-primary) !important;
  border: 1px solid var(--bs-primary);
  padding: 16px 36px;
}
.secondary {
  background: var(--bs-secondary) !important;
  border: 1px solid var(--bs-secondary);
  padding: 16px 24px;
}
.pagination {
  background: var(--bs-secondary) !important;
  border: 1px solid var(--bs-secondary);
  padding: 10px 24px;
  margin: 0 6px;
}
.disabled {
  opacity: 0.4;
}
.text-primary {
  color: var(--bs-primary) !important;
}
.text-secondary {
  color: var(--bs-secondary) !important;
}

input[type=search] {
  padding: 16px 20px;
  border: 2px solid #C4C3C3;
  width: 628px;
  max-width: 100%;
  margin-right: 16px;
  font-size: 1rem;
  border-radius: 4px;
}
input[type="text"], input[type="phone"], input[type="email"] {
  padding: 16px 20px;
  border: 2px solid #C4C3C3;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 12px;
}
input[type="date"] {
  padding: 16px 20px;
  border: 2px solid #C4C3C3;
  border-radius: 4px;
  width: 100%;
}

/* Nav styles */
.nav-menu {
  box-shadow: 0px 6px 12px rgb(93, 93, 93, 0.12);
  background: #fff;
  z-index: 5000;
}
.nav-menu__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1366px;
  margin: 0 4rem;
}

/* Home page styles */
.home__bg {
  min-height: calc(100vh - 63px);
}
.home {
  margin: 0 auto;
}
.home__header {
  font-size: 60px;
  line-height: 56px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin: 0 auto 6px;
  max-width: 678px;
}
.home__hero-subtext {
  text-align: center;
  font-size: 20px;
  line-height: 26px;
  color: #fff;
}
.home__search-section {
  display: flex;
  justify-content: center;
  align-items: center;
}
.home__agents-section {
  background: #EDEDED;
  padding-top: 40px;
}
.home__agents-section h1 {
  text-align: center;
}
.home__agents-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  max-width: 1083px;
  width: 1083px;
  max-width: 100%;
  margin: 0 auto;
}
.home__agents-wrapper a {
  text-decoration: none;
}
.home__buttons-wrapper {
  max-width: 1083px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.home__buttons-wrapper p {
  margin-right: 16px;
  margin-bottom: 0;
}
.section__empty {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}
.home__hero {
  background: url('../assets/images/home-hero-desktop.png') no-repeat;
  background-size: cover;
  height: 482px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
}
.home__info {
  background: #EDEDED;
  text-align: center;
  padding: 60px 0;
}
.home__info .content {
  max-width: 600px;
  margin: 0 auto;
}
.home__info .content h1 {
  font-size: 50px;
  margin: 0 auto 6px;
}
.home__info .content p {
  font-size: 16px;
  line-height: 22px;
}
.home__difference {
  margin: 60px 0 80px;
}
.home__difference .content h1 {
  text-align: center;
}
.home__difference .content .diff-row {
  display: flex;
  max-width: 1366px;
  margin: 0 auto;
  justify-content: center;
  padding-top: 30px;
}
.home__difference .diff-item {
  width: calc(33%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 60px;
  text-align: center;
}
.home__difference .content .diff-row .diff-item h3 {
  font-size: 20px;
  line-height: 24px;
}
.home__difference .content .diff-row .diff-item .diff-img {
  width: 120px;
  height: 120px;
  display: block;
  padding: 5px;
  margin-bottom: 16px;
}

/* Agent Card */
.agent__card {
  background: #fff;
  width: 321px;
  max-width: 100%;
  border-radius: 3px;
  box-shadow: 6px 6px 12px rgb(87, 87, 87, 0.16);
  margin: 20px;
}
.agent__row {
  display: flex;
}
.agent__user-info {
  color: #004568;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding-left: 30px;
}
.agent__user-info .name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0;
}
.agent__user-info .info {
  margin-bottom: 0;
}

.agent__contact {
  background: #004568;
  border-radius: 0 0 3px 3px;
}
.agent__contact a {
  color: #fff;
}
.agent__contact .email {
  padding: 20px 30px;
}
.agent__contact .phone {
  padding: 20px 14px;
}
.agent__contact .divider {
  border-right: 1.4px solid #fff;
  min-height: 100%;
}
.agent__contact {
  color: #fff;
  display: flex;
}
.agent__contact .email .icon, .agent__contact .phone .icon {
  color: var(--bs-primary);
  margin-right: 6px;
}

.agent_photo {
    display: block;
    height: 150px;
    width: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}
/* Agent Detail */

.agent-detail__wrapper {
  min-height: 100vh;
}
.agent-detail__loading-state {
  min-height: 614px;
  padding: 60px 0;
}
.agent-detail__locations-section h1 {
  font-size: 40px;
  color: #004568;
  margin-bottom: 16px;
  margin-top: 30px;
}
.agent-detail__locations-section {
  max-width: 1366px;
  margin: 0 auto;
  padding: 50px 40px;
}
.agent-detail__cities {
  list-style-type: none;
  padding-left: 0;
}
.agent-detail__cities li {
  color: var(--bs-secondary);
  text-decoration: underline;
}
.agent-detail__cities li a {
  cursor: pointer;
}

/* Agent Form */
.agent-form__form-wrapper {
  background: #fff;
  padding: 40px 30px;
  width: 432px;
  max-width: 100%;
  border-radius: 8px;
}
.agent-form__form-title {
  color: #004568;
  font-size: 28px;
  line-height: 30px;
  font-weight: bold;
}
.agent-form__form-section-bg {
  background-color: #004568;
}
.agent-form__form-section {
  display: flex;
  justify-content: center;
  max-width: 1366px;
  margin: 0 auto;
  padding: 60px 0;
  color: #fff;
}
.agent-form__agent-info {
  display: flex;
  align-items: center;
  margin: 0 40px;
}
.agent-form__agent-info .photo {
  background: #fff;
  height: 363px;
  width: 271px;
}
.agent-form__agent-info .photo img {
  width: 100%;
  height: 100%;
}
.agent-form__agent-info .info {
  margin-left: 40px;
}
.agent-form__agent-info .info .name h1 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 6px;
  color:#fff;
}
.agent-form__agent-info .info .name {
  padding-bottom: 20px;
}
.agent-form__agent-info .info .name p {
  font-size: 20px;
  margin-bottom: 6px;
}
.agent-form__agent-info .info .contact .icon {
  color: var(--bs-primary);
  margin-right: 6px;
}
.agent-form__agent-info .info .contact p {
  margin-bottom: 8px;
}

/* Property Styles */
.property-detail__wrapper {
  padding: 50px 0;
  margin: 0 auto;
  width: 100%;
}
.property-detail__property-info {
  max-width: 804px;
  margin: 0 auto;
}
.property-image {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
.property-detail__price {
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  color: var(--bs-darkblue);
  margin-top: 30px;
}
.property-detail__address {
  font-size: 20px;
  margin-bottom: 0;
  color: var(--bs-darkblue);
}
.property-detail__house-info {
  padding: 16px 0;
  display: flex;
}
.property-icon__wrapper {
  background: #f6f6f6;
  width: 90px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 10px;
}
.property-icon__wrapper img {
  width: 25px;
  height: 25px;
  margin: 0 auto;
  display: block;
}
.property-icon__wrapper .label {
  font-size: 12px;
  padding-top: 6px;
  margin-bottom: 0;
  color: #000;
}
.property-detail__other-info {
  margin-top: 16px;
}
.property-detail__other-info h3 {
  font-size: 20px;
  font-weight: bold;
}
.property-detail__other-info p {
  margin-bottom: 4px;
}
.property-detail__long-desc {
  margin-top: 16px;
  margin-bottom: 50px;
}
.property-detail__appointment-section {
  display: flex;
  justify-content: center;
  padding: 50px 0;
}

/* Property Card */
.property-card__wrapper {
  background: #fff;
  border-radius: 6px;
  max-width: 320px;
  box-shadow: 8px 8px 12px rgb(87, 87, 87, 0.12);
  margin-bottom: 20px;
  position: relative;
}
.property-card__banner-wrap {
  position: absolute;
  width: fit-content;
}
.property-card__banner {
  min-height: 40px;
  min-width: 130px;
  border-bottom-right-radius: 6px;
  border-top-left-radius: 6px;
  background-color: var(--bs-darkblue);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.property-card__banner .icon {
  color: var(--bs-primary);
  margin-right: 6px;
}
.property-card__wrapper .property-card__image {
  width: 100%;
  border-radius: 6px 6px 0 0;
}
.property-card__wrapper .content {
  padding: 20px;
}
.property-card__wrapper .attributes {
  display: flex;
  align-items: center;
}
.property-card__wrapper .attribute img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
.property-card__wrapper .attribute {
  display: flex;
  align-items: center;
  margin-right: 16px;
}
.property-card__wrapper .attribute .value {
  margin-bottom: 0;
  font-size: 14px;
}
.property-card__wrapper .price {
  font-size: 26px;
  color: var(--bs-darkblue);
  font-weight: bold;
  margin-bottom: 0;
  font-family: 'Roboto', sans-serif;
}

/* Property Features */
.property-feature__wrapper {
  margin-right: 26px;
}
.property-detail__info-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.property-feature__wrapper p {
  font-size: 16px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.property-feature__wrapper p span {
  display:flex;
  align-items: center;
}
.property-feature__wrapper img {
  height: 20px;
  margin-right: 6px;
}

/* Property Open House */
.property-openhouse__wrapper {
  max-width: 1366px;
  margin: 0 50px;
}
.property-openhouse__wrapper h1 {
  font-size: 40px;
  font-weight: bold;
  color: var(--bs-darkblue);
  margin-top: 50px;
  margin-bottom: 6px;
}
.property-openhouse__date {
  font-weight: bold;
}
.property-openhouse__time, .property-openhouse__date {
  margin-bottom: 4px;
}

/* Property Appointment */
.property-appointment__wrapper {
  background: #EDEDED;
  border-radius: 8px;
  width: 600px;
  max-width: 100%;
  margin-left: 20px;
}
.property-appointment__header {
  background: var(--bs-darkblue);
  border-radius: 8px 8px 0 0; 
}
.property-appointment__header h1 {
  color: #fff;
  font-size: 28px;
  text-align: center;
  padding: 30px 0 6px;
}
.property-appointment__input-row {
  display: flex;
  align-items: center;
  padding: 0 40px 16px;
}
.property-appointment__times {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 16px 0 26px;
}
.property-appointment__time {
  font-size: 18px;
  color: #000;
  padding: 10px 40px;
  box-shadow: 6px 6px 12px rgb(98, 97, 97, 0.1);
  border-radius: 4px;
  background: #fff;
  margin: 8px 16px;
  min-width: 150px;
  cursor: pointer;
}
.property-appointment__time--active {
  background: var(--bs-secondary);
  color: #fff;
  font-weight: bold;
}
.property-appointment__input-row input[type="date"] {
  margin-right: 16px;
}

/* Cities Page */
.cities__wrapper {
  min-height: calc(100vh - 63px);
  display: flex;
  width: 100%;
  margin-top: 63px;
}
.cities__sidebar {
  padding: 2rem 3rem;
}
.cities__map {
  width: calc(100% - 416px);
  height: 100%;
}

/* Modal */
.appointment-modal {
  padding: 30px 20px;
}
.appointment-modal h1 {
  color: var(--bs-darkblue);
  font-size: 28px;
  line-height: 30px;
}
textarea {
  padding: 16px 20px;
  border: 2px solid #C4C3C3;
  font-size: 1rem;
  border-radius: 4px;
  width: 100%;
}
.appointment-modal button {
  margin-top: 16px;
}

/* Footer */
.footer-main__bg {
  background: #001B2F;
  width: 100%;
}
.footer-main__bg ul {
	list-style: none;
	padding: 0;
	flex-direction: column;
}
.footer-main__bg li {
  text-decoration: none;
}
.footer-main__wrapper {
  max-width: 1366px;
  margin: 0 auto;
  padding: 4rem 4rem 0;
  display: flex;
  color: #fff;
}
.footer-main__wrapper p {
  margin-bottom: 6px;
  font-size: 16px;
}
.footer-main__image {
  width:175px;
  margin-bottom: 20px;
}
.footer-main__group {
  width: calc(50% - 10px)
}
.footer-main__group h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
  font-family: 'Roboto', sans-serif;
  padding-left: 1rem;
}
.footer-main__group a {
  color: #fff;
  text-decoration: none;
}

/* Carousel */
#carouselContainer {
  max-width: 1200px;
}

/* 404 Page */
.notfound__wrapper {
  width: 100%;
}

/* Privacy Page */
.privacy__wrapper {
  margin: 5rem 4rem;
}

/* Tablet */
@media (max-width:899px) {
  .home__agents-wrapper {
    justify-content: center;
  }
  .agent-form__form-section {
    flex-wrap: wrap;
  }
  .agent-form__agent-info {
    margin-bottom: 60px;
  }
  .property-detail__appointment-section {
    flex-wrap: wrap;
  }
  .property-appointment__wrapper {
    margin-left: 0;
    margin-top: 20px;
  }
  .property-detail__property-info {
    margin: 0 20px;
  }
  .home__difference .diff-item {
    margin: 0 20px;
  }
  .home__header,
  .home__info .content h1,
  .home__agents-section h1,
  .home__difference .content h1 {
    font-size: 40px;
    line-height: 42px;
  }
  .home__header {
    width: 430px;
  }
}

/* Mobile */
@media (max-width: 499px) {
  input[type=search] {
    width: 100%;
  }
  /* Mobile Nav */
  .nav-menu__wrapper {
    margin: 0 20px;
  }
  .navbar__logo {
    width: 140px;
  }
  /* Mobile Home */
  .home__hero {
    background: url('../assets/images/home-hero-mobile.png') no-repeat;
    background-size: cover;
  }
  .home__header,
  .home__info .content h1,
  .home__agents-section h1,
  .home__difference .content h1 {
    font-size: 35px;
    line-height: 36px;
  }
  .home__header {
    margin: 0 auto 6px;
    width: 100%;
  }
  .home__hero-subtext {
    font-size: 18px;
    line-height: 22px;
  }
  .home__agents-wrapper {
    margin: 0;
  }
  .home__info .content {
    padding: 0 20px;
  }
  .home__hero-content {
    padding: 0 20px;
  }
  .home__difference .content .diff-row {
    flex-wrap: wrap;
  }
  .home__difference .diff-item {
    width: 100%;
    margin: 0 20px;
  }
  /* Mobile Agents */
  .agent__card {
    margin: 20px 0;
  }
  /* Agent Detail */
  .agent-form__form-section {
    padding: 0;
  }
  .agent-form__agent-info {
    margin: 40px 20px;
  }
  .agent-form__agent-info .info {
    margin-left: 20px;
  }
  .agent-form__agent-info .photo {
    width: 136px;
    height: 182px;
  }
  .agent-form__agent-info .info .name h1 {
    font-size: 22px;
    margin-bottom: 4px;
  }
  .agent-form__agent-info .info .name p {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .agent-form__agent-info .info .contact p {
    font-size: 12px;
  }
  /* Mobile Property Detail */
  .property-appointment__wrapper {
    margin-top: 0;
  }
  .property-appointment__times {
    margin: 8px;
  }
  .property-feature__wrapper p {
    margin-bottom: 8px;
  }
  
  /* Mobile Cities */
  .cities__wrapper {
    flex-wrap: wrap;
  }
  .cities__map {
    width: 100%;
  }
  
  /* Mobile Footer */
  .footer-main__wrapper {
    padding: 30px 20px;
  }
  .footer-main__image {
    width: 130px;
  }

  /* Mobile Privacy */
  .privacy__wrapper {
    margin: 80px 20px;
  }
}