*{
  margin:0px;
  padding:0px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-family: "graphie", sans-serif;
  color: #393939;
  background: #f6f6f6;
  font-size: 16px;
  line-height: 1.4em;
  margin: 0;
/*  letter-spacing: 1px;*/
}

/*h1, h2, h3, h4{
  font-family: 'Merriweather Sans', sans-serif;
}
*/
h1{
  margin-top: 0px;
  line-height: 1.3em;
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: 900;
  letter-spacing: 1px;
}

h1 span{
  color: #e6ae4a;
}

h2, h3, h4{
  letter-spacing: 1px;
}

p, h2, h3, h4 {
  margin-bottom: 20px;
  margin-top: 0px;
}

h2{
  font-weight: 200;
}

h3{
  font-size: 1.5em;
  font-weight: 900;
}

a{
  text-decoration: none;
  transition: .2s;
  color: inherit;
}

ul, ol{
  padding-left:40px;
}

ul li, ol li{
  margin-bottom: 5px;
}

.subpage-content p a,
.contact-form a{
  border-bottom: 1px solid #e6ae4a;
  font-weight: 500;
}

.subpage-content p a:hover,
.contact-form a:hover{
  color: #e6ae4a;
}

#thank-you-content {
  text-align: center;
  font-size: 1.15em;
  font-weight: 500;
}

#thank-you-content p{
  margin-bottom: 40px;
}

#thank-you-content img{
  width: 200px;
  height: auto;
}

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

.subpage-content h3{
  font-weight: bold;
}

p.justify{
  text-align: justify;
}

#where-we-started{
    display: none;
  }

  #stats-banner{
    background: #e6ae4a;
    padding:40px 20px;
    color: lightgray;
  }

  #stats-banner .container{
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: space-around;
  }

  #stats-banner span{
    display: block;
    font-size: 2em;
    color: #fff;
    font-weight: 900;
    margin: 10px 0;
  }
  
  #stats-banner p{
    margin-bottom: 0px;
    font-size: 1.25em;
  }

  .white-vertical-line{
    height: 50px;
    width: 2px;
    background: white;
  }

 /*SUBPAGE HERO STYLES*/ 

 #commercial-hero{
  background-image: linear-gradient(to bottom, rgb(0, 0, 0, .3), rgb(0, 0, 0, .3)), url(images/commercial-hero.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
 }
 #custom-hero{
  background-image: linear-gradient(to bottom, rgb(0, 0, 0, .3), rgb(0, 0, 0, .3)), url(images/custom-hero.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
 }
 #multi-unit-hero{
  background-image: linear-gradient(to bottom, rgb(0, 0, 0, .3), rgb(0, 0, 0, .3)), url(images/multi-unit-hero.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
 }
 #residential-hero{
  background-image: linear-gradient(to bottom, rgb(0, 0, 0, .3), rgb(0, 0, 0, .3)), url(images/residential-hero.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
 }
 #stone-hero{
  background-image: linear-gradient(to bottom, rgb(0, 0, 0, .3), rgb(0, 0, 0, .3)), url(images/stone-hero.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
 }
 #about-hero{
  background-image: linear-gradient(to bottom, rgb(0, 0, 0, .3), rgb(0, 0, 0, .3)), url(images/about-hero.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
 }
 #contact-hero{
  background-image: linear-gradient(to bottom, rgb(0, 0, 0, .3), rgb(0, 0, 0, .3)), url(images/contact-hero.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
 }
 #portfolio-hero{
  background-image: linear-gradient(to bottom, rgb(0, 0, 0, .3), rgb(0, 0, 0, .3)), url(images/portfolio-hero.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
 }
 #technical-hero{
  background-image: linear-gradient(to bottom, rgb(0, 0, 0, .3), rgb(0, 0, 0, .3)), url(images/technical-hero.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
 }
 #drywall-hero{
  background-image: linear-gradient(to bottom, rgb(0, 0, 0, .3), rgb(0, 0, 0, .3)), url(images/drywall-hero.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
 }
 #stucco-hero{
  background-image: linear-gradient(to bottom, rgb(0, 0, 0, .3), rgb(0, 0, 0, .3)), url(images/stucco-hero.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
 }

 /*PORTFOLIO PAGE STYLES*/

  #project-container{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 1rem;
  }

  .project-tile img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .project-tile{
    display: grid;
    position: relative;
  }

  .project-tile::after {
      content: "";
      display: block;
      position: absolute;
      inset: 0;
      height: 100%;
      width: 100%;
      background: rgba(0, 0, 0, 0.1);
      transition: all 0.2s ease-in-out;
    }

    .project-tile:hover::after {
      transition: all 0.2s ease-in-out;
      background: rgba(0, 0, 0, 0.6);
    }

  .project-tile h3{
    color: white;
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    padding: 10px;
    background: rgb(0, 0, 0, .3);
    height: fit-content;
    transition: .4s;
  }

  .project-tile:hover h3{
      color: #e6ae4a;
    }

    .project-tile:nth-child(1){
        grid-column: span 4;
        grid-row: span 2;
    }

    .project-tile:nth-child(2),
    .project-tile:nth-child(3){
        grid-column: span 2;
    }

    .project-tile:nth-child(4),
    .project-tile:nth-child(5){
        grid-column: span 3;
    }

    /*.project-tile:nth-child(6){
        grid-column: span 4;
        grid-row: span 2;
    }

    .project-tile:nth-child(7){
        grid-column: span 2;
        grid-row: span 2;
    }

    .project-tile:nth-child(8){
        grid-column: span 3;
        grid-row: span 2;
    }*/


/*** DESKTOP STYLES ***/
@media (width >= 1100px) {

  .container {
    width: 1100px;
    margin:0 auto;
  }

  .content{
    padding: 80px 0;
  }
  
  /*** HEADER DESKTOP STYLES ***/

  #navContainer{
    width: 100%;
    transition: .6s;
    position: fixed;
    top: 0;
    min-height: fit-content;
    z-index: 1000;
/*    padding: 10px 0;*/
  }

  #navContainer .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #navContainer img{
    width: 170px;
    height: auto;
    padding:10px 0 7px;
    transition: .5s;
  }

  a#logoWhite{
    display: none;
    transition: .4s;
   }

  .topnav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 650px;
  }

  .topnav a{
    color: white;
    text-transform: uppercase;
    font-size: .95em;
    padding:8px 16px;
    font-weight: 600;
    letter-spacing: 1px;
  }

  .topnav a:hover{
    background: #e6ae4a;
    color: white;
  }

  #myTopnav a.icon{
    display: none;
  }

  .hidden {
    display: none;
    position: absolute;
    background: rgba(57, 57, 57, .9);
    margin-top:10px;
    width: fit-content;
    min-width: 100px;
    z-index: 10;
    flex-direction: column;
    border-left:7px solid #e6ae4a;
    transition: .4s;
    margin-left:10px;
    box-shadow:0px 8px 16px 1px rgba(0,0,0,0.3)
  }

  .hidden a{
    display: block;
    font-size: .8em;
    font-weight: 500;
    padding:8px 16px 8px 10px;
    color: #fff;
/*    border-bottom: 1px solid transparent;*/
  }

  /*.hidden a:hover{
    color: #fff;
    background: transparent;
    border-bottom:1px solid #0054ff;
  }*/

  .dropdown:hover .hidden {
    display: flex;
  }

  .dropbtn{
    padding:16px !important;
  }

  a.dropbtn:hover{
    background: transparent;
    color: white;
    box-shadow: none;
    cursor: auto;
  }

  .hidden:hover{
      opacity: 1;
  }

  .hidden {
      animation: fadeIn .5s;
      -webkit-animation: fadeIn .5s;
      -moz-animation: fadeIn .5s;
      -o-animation: fadeIn .5s;
      -ms-animation: fadeIn .5s;
    }
    @keyframes fadeIn {
      0% {opacity:0;}
      100% {opacity:1;}
    }

    @-moz-keyframes fadeIn {
      0% {opacity:0;}
      100% {opacity:1;}
    }

    /***HERO DESKTOP STYLES***/

   #homepage-hero{
    /*background-image: linear-gradient(to bottom, rgb(0, 0, 0, .2), rgb(0, 0, 0, .2)), 
    url(images/homepage-hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;*/
    background: #393939;
    height: 600px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top:120px;
    position: relative;
   }

  #myVideo {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 400px;
    margin-top:93px;
    z-index: 1;
  }

  #homepage-hero:before {
    content:"";
    position: absolute;
    top:0;
    right:0;
    left:0;
    bottom:0;
    z-index:2;
    background:linear-gradient(to right,rgba(30, 30, 30, 0.4),rgba(30, 30, 30, 0.6));
  }

   .hero-text{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 900px;
    z-index: 3;
    position: relative;
   }

   .hero-text h1{
    margin-bottom: 20px;
    font-weight: 900;
    font-size: 3.5em;
   }

   .hero-text p{
    font-size: 1.5em;
   }

   .hero-btns{
    display: flex;
    align-items: flex-start;
   }

   .hero-text a{
    background: #e6ae4a;
    border:3px solid #e6ae4a;
    padding:10px 40px;
    color: white;
    display: inline-block;
    margin-top:20px;
    width: 120px;
    text-align: center;
    font-weight: bold;
   }

   .hero-text a:hover{
    background: #fff;
    color: #e6ae4a;
    border:3px solid white;
   }

   .hero-text a:last-of-type{
    background: transparent;
    color: white;
    margin-left: 20px;
   }

   .hero-text a:last-of-type:hover{
    background: #fff;
    color: #e6ae4a;
    border:3px solid white;
   }


  /***MAIN BODY DESKTOP STYLES***/

  #homepage-logos{
    background: #fff;
    padding:40px 0;
    border-bottom: 2px solid #e6ae4a;
  }

  #homepage-logos .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #homepage-logos img{
    width: 120px;
    height: auto;
  }

  #homepage-house-background{
    background: url(images/house-background.webp) no-repeat center;
    background-size: cover;
    padding:80px 0 60px;    
  }

  #homepage-house-background h3,
  #homepage-house-background p{
    width: 700px;
  }

  #homepage-house-background p{
    color: #a5a5a5;
  }

  .orange-line{
    background: #e6ae4a;
    width: 120px;
    height: 3px;
    margin: 40px 0;
  }

  .house-icon-container{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .house-icon{
    width: 300px;
    margin-right:40px;
  }

  .house-icon p{
    width: 100% !important;
  }

  .house-icon img{
    margin-bottom: 20px;
  }

  #homepage-projects{
    background: #393939;
    padding:0;
  }

  .full-width-row{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .project-title{
    width: 50%;
    background: url(images/stone-background.jpg) no-repeat center;
    background-size: cover;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding-right: 100px;
    color: white;
    text-align: right;
    font-size: 1.15em;
  }

  .project-title h3{
    color: #e6ae4a;
  }

  .project-title p{
    width: 300px;
  }

  .white-horizontal{
    background: white;
    width: 100px;
    height: 2px;
    margin-bottom: 20px;
  }

  .mobile-project-contact{
    display: none;
  }

  .project-contact{
    width: 50%;
    background: #e6ae4a;
    height: 400px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left:100px;
  }

  .project-contact img{
    margin-bottom: 20px;
    width: 70px;
    height: auto;
  }

  .project-contact span{
    color: #393939;
  }

  .project-contact a{
    font-weight: bold;
    border-bottom: 1px solid #393939;
  }

  .project-contact i{
    margin-left:5px;
    transition: .4s;
  }

  .project-contact a:hover{
    color: #393939;
  }

  .project-contact a:hover i{
    margin-left:35px;
    color: white;
  }

  a.homepage-project {
    width: 20%;
    display: inline-block;
  }

  .homepage-project-container{
    aspect-ratio: 1 / 1;
    width: 100%;
    max-height: 100%;
    color: #393939;
    background: #000;
    transition: .4s;
    position: relative;
  }

  .homepage-project-container img{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: .4s;
  }

  .homepage-project-container:hover img{
    opacity: .4;
    z-index: 0;
  }

  .project-text{
    position: relative;
    z-index: 2;
    padding: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .homepage-project-container:hover{
    color: white;
  }

  .gray-line{
    width: 100px;
    height: 2px;
    background: #393939;
    margin-bottom: 20px;
    transition: .4s;
  }

  .homepage-project-container:hover .gray-line{
    background: #e6ae4a;
  }

  .stucco-background{
    background: url(images/stucco-background.jpg) no-repeat center;
    background-size: cover;
  }

  .stucco-background .container{
    width: 740px;
  }

  .stucco-background ul li{
    list-style-type: none;
  }

  .stucco-background i{
    color: #e6ae4a;
    font-size:.8em;
  }

  .link-container {
    margin-top:40px;
  }

  .link-container a {
    padding:10px 20px;
    margin-right:20px;
    font-weight: bold;
  }

  .link-container a:first-of-type{
    background: #e6ae4a;
    color: #fff;
    border:2px solid #e6ae4a;
  }
  .link-container a:first-of-type:hover{
    background: #393939;
    color: #e6ae4a;
    border:2px solid #393939;
  }

  .link-container a:last-of-type{
    background: transparent;
    color: #393939;
    border:2px solid #393939;
  }
  .link-container a:last-of-type:hover{
    background: #393939;
    color: #fff;
  }

  /*SUBPAGE DESKTOP STYLES*/

  .subpage-hero{
    height: 300px;
    color: white;
    background-image: linear-gradient(to bottom, rgb(0, 0, 0, .3), rgb(0, 0, 0, .3)), 
    url(images/homepage-hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .subpage-hero .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
  }

  .subpage-hero h1{
    margin-bottom: 0px;
  }

  .subpage-content:last-of-type{
    border-bottom: 1px solid lightgray;
  }

  /*TECHNICAL LINKS DESKTOP STYLES*/

  .logo-link-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo-link-container img{
    width: 200px;
    height: auto;
    padding: 10px;
    border:1px solid transparent;
    transition: .4s;
  }

  .logo-link-container img:hover{
    border:1px solid #e6ae4a;
  }

  .gray-spacer{
    width: 2px;
    height: 140px;
    background: lightgray;
  }

  /*POPUP GALLERY DESKTOP*/

  .property-lightbox p{
    display: none;
  }

  .popup-gallery {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: center;
    margin-top: 40px;
    padding-top:60px;
    border-top: 1px solid #cdcdcd;
  }

  .popup-gallery h3{
    width: 100%;
    text-align: center;
  }

  .popup-gallery img{
    width: 340px;
    height: auto;
    margin:0 12px 20px;
    transition: .4s;
  }

  .popup-gallery img:hover{
    box-shadow: 5px 10px 16px #101010; 
    transform: scale(1.02);
  }

  /*CONTACT DESKTOP STYLES*/

  #contact-content .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /*.contact-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
    margin-bottom: 60px;
    width: 100%;
    border-bottom: 1px solid lightgray;
  } 

  .contact-text p{
    width: 245px;
  }*/

  #contact-content iframe{
    width: 450px;
    height: 300px;
  }

  /*FOOTER DESKTOP STYLES*/

  footer{
    padding:80px 20px 30px;
    color: #a3a3a3;
  }  

  footer .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  footer h3{
    color: #393939;
  }

  footer a{
    border-bottom: 1px solid #e6ae4a;
  }

  footer a:hover{
    color: #e6ae4a;
  }

  footer img{
    width: 170px;
    height: auto;
    margin-bottom: 20px;
  }

  a#footer-logo{
    border-bottom: none;
  }

  #sub-footer{
    width: 100%;
    margin-top:60px;
    padding-top:30px;
    border-top:1px solid #a3a3a3;
    font-size: .95em;
  }

  #sub-footer a{
    border-bottom: 1px solid #e6ae4a;
  }

  #sub-footer a:hover{
    color: #e6ae4a;
  }

}


/*** MOBILE STYLES ***/
@media (width <= 1099px) {

  .container {
    width:100%;
    margin: 0 auto;
  }

  .content{
    padding: 60px 20px;
  }

  h1{
    font-size: 2em;
  }

  /***** HEADER MOBILE STYLES *****/

  #navContainer{
    width: 100%;
    background-color: #393939 !important;
    transition: 0.4s;
    position: fixed;
    max-height: 100%;
    top: 0;
    z-index: 100;
    overflow-y: scroll;
    overflow-x: hidden;
  }

  #nav{
    margin-top:5px;
    height: fit-content;
  }

  #navContainer img{
   height:45px;
   width: auto !important;
    margin: 10px 0 2px 15px;
  }

  a#logoDark{
    display: none !important;
  }

  a#logoWhite{
    display: block !important;
  }

  /* Links inside the navbar */
  .topnav a { 
    float: left;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }

  /* Add a background color to navbar links on hover */
  .topnav a:hover{
    background: #e6ae4a;
    color:#fff;
  }

  /* When the screen is less than 1099 pixels wide, hide all links. 
  Show the link that should open and close the topnav (.icon) */
  .topnav a{
    display:none;
  }

  .topnav a.icon {
    display: block;
    position: absolute;
    font-size: 32px;
    top: 8px;
    right: 0;
    float: right;
    margin: 0px 10px 10px 0;
    color: #fff;
    transition: unset;
  }

  .topnav a.icon:hover{
    background-color:transparent;
  }

   /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. 
  This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
  .topnav.responsive {
    position: relative; 
    clear:both;
  }
    .topnav.responsive a.icon {
      position: absolute;
      top: -59px;
      border-bottom:none;
      transition: unset;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
      border-bottom:1px solid #cfd0d1;
    }
    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
      display: block;
      width: 100%;
      text-align: left;
    }

    /* DROPDOWN MENU */

    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
      display: block;
      text-align: left;
    }

    /* Dropdown Content */
    .hidden{
      display: none;
      padding: 10px 0;
      flex-direction: column;
    }

    .hidden a{
      padding:8px 16px 8px 24px;
      border-bottom: none !important;
      font-weight: normal;
/*      background: #707070;*/
    }

    /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
    .show {display:block;}

     .topnav.responsive,
    .hidden {
      animation: fadeIn .5s;
      -webkit-animation: fadeIn .5s;
      -moz-animation: fadeIn .5s;
      -o-animation: fadeIn .5s;
      -ms-animation: fadeIn .5s;
    }
    @keyframes fadeIn {
      0% {opacity:0;}
      100% {opacity:1;}
    }

    @-moz-keyframes fadeIn {
      0% {opacity:0;}
      100% {opacity:1;}
    }

    a.dropbtn{
      border-bottom:1px solid #0054ff;
    }

    /*a.dropbtn:hover{
      background: #e6ae4a;
      color: white;
    }*/

    a.header-tel i{
      margin-right:10px;
    }
    
  /*HERO MOBILE STYLES*/

   #homepage-hero{
    /*background-image: linear-gradient(to bottom, rgb(0, 0, 0, .2), rgb(0, 0, 0, .2)), 
    url(images/homepage-hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;*/
    background: #393939;
    min-height: 620px;
    color: white;
    padding:0 20px;
    margin-top:67px;
    display: flex;
    align-items: center;
    position: relative;
   }

   #myVideo {
    position: absolute;
    right: 0;
    top: 0;
    min-width: 100%;
    height: 620px;
    z-index: 1;
  }

  #homepage-hero:before {
    content:"";
    position: absolute;
    top:0;
    right:0;
    left:0;
    bottom:0;
    z-index:2;
    background:linear-gradient(to right,rgba(30, 30, 30, 0.4),rgba(30, 30, 30, 0.6));
  }
   
   #homepage-hero .container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
   }

   .hero-text{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    z-index: 3;
   }

   .hero-text h1{
    margin-bottom: 20px;
    font-weight: 900;
/*    font-size: 1.75em;*/
   }

   .hero-btns{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
   }

   .hero-text a{
    background: #e6ae4a;
    border:3px solid #e6ae4a;
    padding:10px 40px;
    color: white;
    display: inline-block;
    margin-top:20px;
    width: 120px;
    text-align: center;
    font-weight: bold;
    margin:10px;
   }

   .hero-text a:hover{
    background: #fff;
    color: #e6ae4a;
    border:3px solid white;
   }

   .hero-text a:last-of-type{
    background: transparent;
    color: white;
   }

   .hero-text a:last-of-type:hover{
    background: #fff;
    color: #e6ae4a;
    border:3px solid white;
   }

   .hero-text p{
    font-weight: bold;
    margin-bottom: 40px;
    font-size: 1.15em;
   }


   /*MAIN BODY MOBILE STYLES*/

   #homepage-logos{
    background: #fff;
    border-bottom: 2px solid #e6ae4a;
    padding:30px 20px 10px;
  }

  #homepage-logos .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
  }

  #homepage-logos img{
    width: 120px;
    height: auto;
    margin:20px;
  }

   #homepage-house-background{
    /*background: url(images/house-background.webp) no-repeat center;
    background-size: cover;*/
  }

  #homepage-house-background p{
    color: #a5a5a5;
  }

  .orange-line{
    background: #e6ae4a;
    width: 120px;
    height: 3px;
    margin:40px 0;
  }

  .house-icon-container{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .house-icon:first-of-type{
    margin-right: 20px;
  }

  .house-icon p{
    width: 100% !important;
  }

  .house-icon img{
    margin-bottom: 20px;
  }

  #homepage-projects{
    background: #393939;
    padding:0;
  }

  .full-width-row:first-of-type{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
    background: url(images/stone-background.jpg) no-repeat center;
    background-size: cover;
    color: white;
    padding: 60px 20px;
    font-size: 1.15em;
    text-align: center;
  }

  .project-title{
/*    width: 300px;*/
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
  }

  .project-title h3{
    color: #e6ae4a;
  }

  .full-width-row:last-of-type{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
  }

  .white-horizontal{
    background: white;
    width: 100px;
    height: 2px;
    margin-bottom: 20px;
  }

  .project-contact {
    display: none;
  }

  .mobile-project-contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
/*    background: #e6ae4a;*/
    color: white;
    aspect-ratio: 1 / 1;
    width: 49.9%;
    max-height: 100%;
  }

  .mobile-project-contact img{
    margin-bottom: 20px;
    width: 70px;
    height: auto;
  }

  .mobile-project-contact span{
    color: #393939;
  }

  .mobile-project-contact a{
    font-weight: bold;
    border-bottom: 1px solid #e6ae4a;
  }

  .mobile-project-contact i{
    margin-left:5px;
    transition: .4s;
  }

  .mobile-project-contact a:hover{
    color: #e6ae4a;
  }

  .mobile-project-contact a:hover i{
    margin-left:35px;
    color: white;
  }

  .mobile-project-contact p{
    margin:30px 0 0;
  }

  a.homepage-project {
    width: 49.9%;
    display: inline-block;
  }

  .homepage-project-container{
    aspect-ratio: 1 / 1;
    width: 100%;
    max-height: 100%;
    color: #393939;
    background: #000;
    transition: .4s;
    position: relative;
  }

  .homepage-project-container img{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: .4s;
  }

  .homepage-project-container:hover img{
    opacity: .4;
    z-index: 0;
  }

  .project-text{
    position: relative;
    z-index: 2;
    padding: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .homepage-project-container:hover{
    color: white;
  }

  .gray-line{
    width: 100px;
    height: 2px;
    background: #393939;
    margin-bottom: 20px;
    transition: .4s;
  }

  .homepage-project-container:hover .gray-line{
    background: #e6ae4a;
  }

  .stucco-background{
    background: url(images/stucco-background.jpg) no-repeat center;
    background-size: cover;
  }

  .stucco-background .container{
    max-width: 740px;
  }

  .stucco-background h3{
    text-align: center;
  }

  .stucco-background ul li{
    list-style-type: none;
  }

  .stucco-background i{
    color: #e6ae4a;
    font-size:.8em;
  }

  .link-container {
    margin-top:40px;
  }

  .link-container a {
    padding:10px 20px;
    margin-right:20px;
    font-weight: bold;
  }

  .link-container a:first-of-type{
    background: #e6ae4a;
    color: #fff;
    border:2px solid #e6ae4a;
  }
  .link-container a:first-of-type:hover{
    background: #393939;
    color: #e6ae4a;
    border:2px solid #393939;
  }

  .link-container a:last-of-type{
    background: transparent;
    color: #393939;
    border:2px solid #393939;
  }
  .link-container a:last-of-type:hover{
    background: #393939;
    color: #fff;
  }
  
  /*SUBPAGE MOBILE STYLES*/

  .subpage-hero{
    height: 300px;
    color: white;
    background-image: linear-gradient(to bottom, rgb(0, 0, 0, .3), rgb(0, 0, 0, .3)), 
    url(images/homepage-hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .subpage-hero .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
  }

  .subpage-hero h1{
    margin-bottom: 0px;
  }

  .subpage-content:last-of-type{
    border-bottom: 1px solid lightgray;
  }

  /*TECHNICAL LINKS MOBILE STYLES*/

  .logo-link-container{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
  }

  .logo-link-container img{
    width: 200px;
    height: auto;
    padding: 10px;
    margin:10px;
    border:1px solid transparent;
    transition: .4s;
  }

  .logo-link-container img:hover{
    border:1px solid #e6ae4a;
  }

  /*CONTACT MOBILE STYLES*/

  #contact-content .container{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
    margin-bottom: 60px;
    width: 100%;
    border-bottom: 1px solid lightgray;
  } 

  .contact-text p{
    width: 245px;
  }

  #contact-content iframe{
    width: 100%;
    max-width: 450px;
    height: 250px;
  }

  /*POPUP GALLERY MOBILE*/

  .property-lightbox p{
    display: none;
  }

  .popup-gallery {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: center;
    margin-top: 40px;
    padding-top:60px;
    border-top: 1px solid #cdcdcd;
  }

  .popup-gallery h3{
    width: 100%;
    text-align: center;
  }

  .popup-gallery img{
    width: 340px;
    height: auto;
    margin:0 12px 20px;
    transition: .4s;
  }

  .popup-gallery img:hover{
    box-shadow: 5px 10px 16px #101010; 
    transform: scale(1.02);
  }
   
  /*FOOTER MOBILE STYLES*/

  footer{
    padding:60px 20px 30px;
    color: #a3a3a3;
  }  

  footer .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
  }

  .footer-col{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #a3a3a3;
  }

  footer h3{
    color: #393939;
    width: 100%;
    text-align: center;
  }

  footer a{
    border-bottom: 1px solid #e6ae4a;
  }

  footer a:hover{
    color: #e6ae4a;
  }

  .footer-col p{
    margin:10px;
  }

  footer img{
    width: 170px;
    height: auto;
  }

  a#footer-logo{
    border-bottom: none;
  }

  #sub-footer{
    width: 100%;
/*    margin-top:40px;*/
/*    padding-top:30px;*/
/*    border-top:1px solid #a3a3a3;*/
    font-size: .9em;
    text-align: center;
  }

  #sub-footer a{
    border-bottom: 1px solid #e6ae4a;
  }

  #sub-footer a:hover{
    color: #e6ae4a;
  }

}

@media (width <= 650px){
      #project-container{
        display: block;
    }
    .project-tile{
        margin-bottom: 1rem;
    }
}

@media (width <= 500px) {
  .mobile-project-contact, a.homepage-project{
    width: 100%;
  }
}

