* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Muli", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: rgb(59, 62, 70);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  margin: 0;
  padding: 0;
}

form .form_row {
  margin: 0 0 25px;
}

section {
  padding: 75px 0;
}

div.sep {
  display: block;
  width: 75px;
  height: 8px;
  margin: 30px auto;
  background-color: #00aeab;
}

div.section_sep {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #00aeab;
}

div.subheader {
  background-image: url("../img/sayagata.png");
  padding: 20px;
  margin: 30px 0;
  border: 2px solid #d8d8d8;
}

div.subheader h3 {
  font-weight: 500;
  font-size: 2.35rem;
  text-align: center;
}

div#spacer {
  display: none;
  background-color: transparent;
}

.video_wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video_wrapper .video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {
  border-color: #00aeab !important;
}

section#intro {
  padding: 0;
}

section#intro #intro_photo {
  background-image: url("https://upcdn.io/223k2J9/main_img/1535valley/gallery/01.jpg");
  background-size: cover;
  background-position: 50% 50%;
  height: 600px;
}

section#intro #intro_photo a {
  position: absolute;
  right: 30px;
  bottom: 30px;
  display: inline-block;
  background-color: #fff;
  padding: 16px;
}

section#intro #intro_photo a img {
  width: 80px;
  height: 80px;
}

section#intro #intro_info {
  padding: 20px;
  background-color: rgb(59, 62, 70);
  color: #f3f3f3;
  text-align: center;
}

section#intro #intro_info .outer {
  display: table;
  height: 100%;
  width: 100%;
}

section#intro #intro_info .middle {
  display: table-cell;
  vertical-align: middle;
}

section#intro #intro_info .inner {
  margin-left: auto;
  margin-right: auto;
}

section#intro #intro_info h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

section#intro #intro_info h2 {
  font-size: 1.75rem;
}
section#intro #intro_info h2.listed {
  font-size: 1.4rem;
  text-decoration: line-through;
}
section#intro #intro_info h2.sold {
  font-size: 2rem;
  margin-top: 2px;
}

section#intro #intro_info h3 {
  font-size: 1.35rem;
}

section#intro #intro_info #quick_stats {
  margin-top: 50px;
}

section#intro #intro_info #quick_stats img {
  display: block;
  width: 57px;
  height: 57px;
  margin: 0 auto 10px;
}

section#intro #intro_info #quick_stats span {
  text-transform: uppercase;
  font-weight: 700;
}

section#intro #intro_info a {
  display: block;
  margin: 30px 0;
  padding: 10px 0;
  text-decoration: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  background-color: #00aeab;
  letter-spacing: 1px;
}

section#intro #intro_info span {
  font-size: 1.2rem;
  text-transform: uppercase;
}

section#intro #intro_info span b {
  font-size: 1.4rem;
}

nav.navbar {
  padding: 20px 10px;
  background-color: #d8d8d8;
}

nav.navbar .navbar-nav {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 20px;
}

nav.navbar .navbar-nav a {
  display: block;
  padding: 5px 15px;
  letter-spacing: 1.25px;
  text-align: center;
  background-color: transparent;
  border: 3px solid rgb(59, 62, 70);
  border-radius: 0;
  color: rgb(59, 62, 70) !important;
  text-transform: uppercase;
  font-size: 1.25rem;
  font-weight: 700;
  -webkit-transition: background-color 300ms linear;
  -moz-transition: background-color 300ms linear;
  -o-transition: background-color 300ms linear;
  transition: background-color 300ms linear;
}

nav.navbar .navbar-nav a.active {
  border-radius: 0;
  background-color: rgb(59, 62, 70);
  color: #f3f3f3 !important;
}

section#twilight_tour {
  padding: 60px 0;
  background-color: rgb(59, 62, 70);
}

section#twilight_tour .container {
  width: 95%;
}

section#twilight_tour h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  color: #f3f3f3;
  text-align: center;
  margin-bottom: 25px;
}

section#twilight_tour h3 {
  font-family: "Muli", sans-serif;
  text-align: center;
  color: #eee;
  margin-top: 10px;
  font-weight: bold;
}

section#open_house {
  padding: 75px 0;
  background-color: rgba(59, 62, 70, 0.85);
}

section#open_house .container {
  width: 70%;
}

section#open_house h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  color: #f3f3f3;
  text-align: center;
  margin-bottom: 50px;
}

section#open_house #open_dates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 50px;
}

section#open_house #open_dates .open_date {
  border: 3px solid #d8d8d8;
  background-color: rgb(59, 62, 70);
  color: #f3f3f3;
  padding: 30px;
  text-align: center;
}

section#open_house #open_dates .open_date h3 {
  font-size: 1.5rem;
  font-family: "Muli", sans-serif;
  color: #f3f3f3;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.75px;
}

section#open_house #open_dates .open_date span.date_day {
  display: block;
  font-size: 2.65rem;
  text-transform: uppercase;
  font-weight: 800;
  margin: 20px 0;
  letter-spacing: 1.75px;
}

section#open_house #open_dates .open_date span.date_time {
  font-size: 1.25rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1.75px;
}

section#open_house form {
  width: 60%;
  margin: 50px auto 0;
}

section#open_house form p {
  padding: 0;
  margin: 0;
  color: #d8d8d8;
  font-size: 1.3rem;
  text-align: center;
}

section#open_house form button,
section#open_house form input,
section#open_house form select {
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 15px;
  font-weight: 600;
  background-color: #f3f3f3;
}

section#open_house form input,
section#open_house form select {
  font-size: 1.1rem;
  display: block;
  width: 100%;
  margin: 0 auto;
}

section#open_house form select {
  background-image: url(../img/dropdown-caret.png);
  background-position: 98% 50%;
  background-repeat: no-repeat;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 10px 15px 6px;
  letter-spacing: 1px;
  font-size: 1.15em;
  border: none;
  border-bottom: 3px solid #585b62;
  border-radius: 0;
}

section#open_house form select:invalid {
  color: #555;
  font-weight: 500;
}

section#open_house form select option[value=""][disabled] {
  display: none;
}

section#open_house form button {
  display: block;
  width: 80%;
  margin: 0 auto;
  font-weight: 800;
  font-size: 1.5rem;
  padding: 10px 20px;
  border: none;
  background-color: #00aeab;
  color: #f3f3f3;
}

section#open_house form button:hover {
  cursor: pointer;
}

section#deadline {
  padding: 75px 0;
  background-color: rgba(59, 62, 70, 0.15);
}

section#deadline h2 {
  text-align: center;
  font-weight: bold;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

section#deadline h3 {
  text-align: center;
  font-size: 2.65rem;
  font-family: "Muli", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

#reminder_success {
  display: none;
  text-align: center;
}

#reminder_success span {
  color: #f3f3f3;
  font-size: 1.25rem;
  font-weight: 700;
}

section#details {
  padding: 75px 0;
}

section#details h2 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 700;
}

section#details p {
  font-size: 1.075rem;
  line-height: 1.5;
}

section#details #amenities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}

section#details #amenities .amenity {
  text-align: center;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  background-color: #f3f3f3;
  padding: 10px;
}

section#details #news {
  margin-top: 50px;
}

section#details #news.news_mobile {
  display: none;
}

section#details #news h4 {
  font-family: "Muli", sans-serif;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

section#details #news a.news-item {
  display: inline-block;
  color: rgb(59, 62, 70);
  text-decoration: underline;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 10px;
  background-color: #ddd;
  margin: 7px 0;
  -webkit-transition: background-color 300ms linear;
  -moz-transition: background-color 300ms linear;
  -o-transition: background-color 300ms linear;
  transition: background-color 300ms linear;
}

section#details #news a.news-item:hover {
  background-color: rgb(190, 190, 190);
}

section#photos h3 {
  font-family: "Muli", sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

section#photos #before,
section#photos #after {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}

section#photos #before img.thumb,
section#photos #after img.thumb {
  display: block;
  width: 100%;
}

section#before_after {
  padding: 75px 0;
}

.before-after-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px; /* Compensate for padding in columns */
}

.before-after-item {
  padding: 0 15px;
  margin-bottom: 40px;
  width: 100%;
}

section#before_after h2 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

section#before_after p {
  font-size: 1.075rem;
  line-height: 1.5;
  margin-bottom: 40px;
}

.before_after_title {
  font-family: "Muli", sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.before-after-container {
  margin-bottom: 40px;
}

.twentytwenty-container {
  max-width: 100%;
  margin-bottom: 30px;
}

/* Customize the slider handle to match your site's color scheme */
.twentytwenty-handle {
  border-color: #00aeab;
  background-color: #00aeab;
}

.twentytwenty-left-arrow, .twentytwenty-right-arrow {
  border-color: transparent #ffffff transparent transparent;
}

.twentytwenty-before-label:before, 
.twentytwenty-after-label:before {
    font-weight: bold;
    background: rgba(0, 174, 171, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
}

section#location #map_embed {
  width: 100%;
}

section#contact .container {
  width: 40%;
}

section#contact #realtor_content {
  float: left;
  height: 175px;
  width: calc(100% - 125px);
  background-color: #ddd;
  padding: 30px;
}

section#contact #realtor_content h3 {
  font-size: 2rem;
  font-weight: 700;
}

section#contact #realtor_content h4 {
  font-family: "Muli", sans-serif;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 10px 0;
  letter-spacing: 1px;
}

section#contact #realtor_content a {
  color: #00aeab;
  text-decoration: underline;
}

section#contact #realtor_headshot {
  float: right;
  width: 125px;
  height: 175px;
  display: block;
  background-image: url("../img/headshot.jpg");
  background-size: cover;
  background-position: 50% 50%;
}

section#footer {
  padding: 40px;
  background-color: rgb(59, 62, 70);
  color: #f3f3f3;
  text-align: center;
}

section#footer a img {
  display: block;
  width: 300px;
  margin: 0 auto;
}

#banner {
  position: relative;
  width: 100%;
  background-color: #00aeab;
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 20px 0;
  z-index: 1000;
}
#banner h2 {
  font-size: 1.25rem;
  margin: 0;
  padding: 0;
  font-family: 'Muli', sans-serif !important;
}

  #banner a {
    border: #fff 2px solid;
    padding: 5px 18px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1.25px;
    text-transform: uppercase;;
    white-space: nowrap; /* Prevents text from breaking to new line */
    display: inline-block; /* Makes the link behave like a block element */
    margin-top: 5px; /* Adds some space if it appears below the text */
  }
    #banner a:hover {
      color: #f3f3f3;
      text-decoration: none;
    }
