/* Custom CSS */

/* NAVIGATION */
header {
  width: 100%;
  overflow: visible;
  z-index: 999;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0));
  position: absolute;
}

nav.grid-container .nav li a, nav.grid-container .nav li button  {
  color: #fff;
  margin-left: 50px;
  transition: all ease 0.2s;
}

nav.grid-container .nav li a:hover, nav.grid-container .nav li a:focus, nav.grid-container .nav li a:active {
  opacity: 0.7;
}

nav img {
  max-width: 170px;
}

h4, .h4 {
  font-size: 1.1rem;
  font-weight: 500;
}

.mobile-nav {
  margin-left: 0px;
}

.mobile-nav li {
  margin-bottom: 20px;
}

.mobile-nav li a, .mobile-nav li button {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all ease 0.2s;
}

.mobile-nav li a:hover, .mobile-nav li a:active, .mobile-nav li a:focus, .mobile-nav li button:hover, .mobile-nav li button:active, .mobile-nav li button:focus {
  opacity: 0.7;
}


.dropdown {
  overflow: hidden;
}

.dropdown .dropbtn {
  color: white;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown .dropbtn svg {
  position: absolute;
  margin-top:-4px;
  margin-left:2px;
  width: 20px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(0,0,0,0.8);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.mobile-nav .dropdown-content {
  display: none;
  position: relative;
  background-color: rgba(0,0,0,0.8);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  margin-top: 10px;
}

.dropdown-content a {
  float: none;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
  margin-left: 0px !important;
}

.dropdown-content a:hover {
  background-color: rgba(0,0,0,1);
}

.dropdown:hover .dropdown-content {
  display: block;
}



/* The Modal (background) */
#myBtn {
  color: #fff;
}

#myBtn:hover, #myBtn:active, #myBtn:focus {
  opacity: 0.7;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0, 0.9); /* Black w/ opacity */
  padding: 10vh 20px 20px 20px;
}

/* The Close Button */
.close {
  color: #999 !important;
  font-weight: 400 !important;
  font-size: 2.5rem !important;
}

li #close-button {
  margin-top:20px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


/* body {
  background-color: #000 !important;
} */

/* FONTS */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-family: Open Sans, sans-serif;
}

h1, .h1, h2, .h2 {
font-weight: 800;
text-transform: uppercase;
}

h3, .h3 {
  font-weight: 600;
  text-transform: uppercase;
}

h1#homePageHeading {
  font-size: 2.5rem;
}


/* IMAGE OVERLAY SECTION */
.image-overlay {
  height: 75vh;
  max-height: 1200px;
  min-height: 400px;
  position: relative;
  z-index: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  /* background-attachment: fixed; */
}

.short-image-overlay {
  max-height: 500px !important;
  height: 50vh;
  position: relative;
  z-index: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.short-image-overlay .overlay-content {
  padding-top: 50px;
}

.image-overlay .overlay {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1));
  width: 100%;
  height: 25%;
  position: absolute;
  bottom: 0px;
  left: 0;
  z-index: 1;
}

.short-image-overlay .overlay {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1));
  width: 100%;
  height: 80%;
  position: absolute;
  bottom: 0px;
  left: 0;
  z-index: 1;
}

.image-overlay .overlay-contents, .short-image-overlay .overlay-contents {
  z-index: 2;
  position:relative;
  height: 100%;
}

.image-overlay .overlay-contents .align-middle, .short-image-overlay .overlay-contents .align-middle {
  height: 100%;
  color: #fff;
}

.short-image-overlay h1 {
  font-weight: 800;
  text-shadow: 2px 2px 13px rgba(0,0,0,0.3);
}

.image-overlay h1 {
  font-weight: 800;
}

.image-overlay h1 span.text-shadow {
  font-weight: 800;
  text-shadow: 2px 2px 13px rgba(0,0,0,0.3);
}

.image-overlay h1 span.red {
  background: linear-gradient(to bottom, #ED1C24, #770E12);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* HOMES SECTION */
.homes-section.section {
  background-color: #111;
}

.homes-section span, .homes-page span {
  margin-right: 15px;
}

.homes-section span i, .homes-page span i {
  margin-right: 7px;
}

.homes-section img {
  margin-bottom: 15px;
}


/* GLOBAL SECTIONS */
.section {
background-color: #000;
color: #fff;
padding-top: 50px;
padding-bottom: 50px;
margin-bottom: 50px;
margin-top: 50px;
}

@media print, screen and (min-width: 40em) {
  .grid-container {
    padding-right: 2rem;
    padding-left: 2rem;
  }
}



/* TEXT SECTION */
.text-section h3 {
  margin: 0px 0px 20px 0px;
  padding: 0px;
}

.text-section p {
  margin: 0px 0px 40px 0px;
  padding: 0px;
}


/* SERVICES SECTION */
.services-section {
  background-image: url("/assets/images/Group-19.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.services-section img {
/* width: 100%; */
max-height: 60px;
margin-bottom: 30px;
/* background: #ddd; */
/* object-fit: cover; */
}

.service-page .service-page-feature-image {
  margin-bottom: 50px;
}

.service-page ul {
  line-height: 2;
}

.services-section h5 {
  color: #fff;
}

.service-page {
  margin-bottom: 80px;
}

.service-listing a {
  opacity: 1;
  transition: all ease 0.2s;
}

.service-listing a:hover {
  opacity: 0.7;
}


/* GALLERY */

.modal .gallery-image {
  padding-top: 20px;
}

#gallery-modal h5 {
  padding-top: 40px;
}

#gallery-button {
  opacity: 1;
  transition: all ease 0.2s;
  cursor:pointer;
}

#gallery-button:hover {
  opacity: 0.7;
}


.no-image-header {
  padding-top:120px;
  padding-bottom: 20px;
}


/* TESTIMONALS SECTION */
.testimonials-section {
  padding-top: 0px;
}

.cell .testimonial-card {
  color: #000;
  background-color: #fff;
  border-radius: 40px;
  padding: 50px;
}

.testimonial-card #testimonial-author {
  color: #999;
  margin-bottom: 0px;
}

.testimonials-section .primary-cta {
  margin-top:40px;
}

img.quote-graphic {
  margin-bottom: 20px;
  max-width: 30px;
}


/* CONTACT PAGE */
.contact-page form label {
  color: #fff;
}

ul.errors {
  color: #ED1C24;
}



/* BUTTONS */
.primary-cta {
  background: linear-gradient(to bottom, #ED1C24, #770E12);
  color: #fff;
  font-weight: 600;
  padding: 20px 40px;
  display: inline-block;
  transition: all ease 0.2s;
}

.primary-cta:hover, .primary-cta:focus, .primary-cta:active {
  background: linear-gradient(to bottom, #ED1C24, #ED1C24);
  color: #fff;
}

.secondary-cta {
  color: #ED1C24;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  transition: all ease 0.2s;
}

.secondary-cta .feather {
  max-height: 20px;
  margin-bottom: -4px;
}

.secondary-cta:hover, .secondary-cta:focus, .secondary-cta:active {
  color: #fff;
}





/* FOOTER */
footer {
  background-color: #000;
}
  
footer, footer a {
  color: #fff;
}

footer a {
  transition: all ease 0.2s;
}

footer a:hover, footer a:focus, footer a:active {
  color: #999;
}
  
.nav li {
  float: right;
  list-style-type: none;
}

footer ul, nav ul {
  list-style-type: none !important;
}

footer #footer-logo {
  max-width: 170px;
  margin-bottom: 30px;
}

footer li {
  margin-bottom: 10px;
}

footer li.h4 {
  margin-bottom: 20px;
  font-weight: 700;
}

footer li svg {
  width: 20px;
  margin-right:15px;
  margin-bottom: -6px;
}

footer #copyright {
  color: #999;
  font-size: 0.8rem;
}
/* End Custom CSS */