html{
   background-color: #000;
   z-index: 1;
}
body{
    max-width: 1500px;
    background-color: #f5f5f5; 
    margin: 0px auto !important;
    padding: 0px !important; 
}

.txtGreen{
    color: #27ae60;
}
.txtDarkGreen{
    color:   #0b5345 ;
}
.bgGreen{
    background-color: #27ae60;
}

p, li{
   font-size: 18px;
   line-height: 1.7em;
}
.p-sm{
    font-size: 16px;
   line-height: 1.5em;
}
.p-xsm{
    font-size: 14px;
   line-height: 1.5em;
}

nav{
    z-index: 20;
}
.navbar{
    background-color: rgba(0,0,0,1);
}
.navbar-brand{
    background-color: #fff;
}
.navbar-brand img{
    width: 200px;
    padding: 0px 15px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

/*********** TOP NAVBAR *************/
.top_nav{
    width: 100%;
    background-color: #fdbc00;
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
}
.top_nav a{
    color: #17202a  !important;
    font-size: 14px;
}
.top_nav .phone{
    padding-right: 10px;
}
.top_nav .phone:before{
    content: "\f095";
    color: #000;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin: 0 10px;
}
.top_nav .email{
    border-left: 2px solid #fff;
}

.top_nav .email:before{
    content: "\f2b6";
    color: #000;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 20px;
    margin-right: 10px;
}
.fab{
    margin: 0 5px;
}

@media (max-width: 400px){
    .top_nav .email{
        display: none;
    }  
}

@media (min-width: 401px) and (max-width: 576px){
    .top_nav .email{
        display: none;
    }    
}

/************************* HOME PAGE STARTS **********************************/

#d_main_header{
    height: 450px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../images/foam.png");
    /* background-size: cover;
    overflow: hidden; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

#img_guarantee{
    position: absolute;
    right: 10px;
    bottom: 0px;
    width: 150px;
    z-index: 100;
}
#d_main_header_parent{
    width: 60%;
    height: 450px;
    background-color:#fdbc00;
    -webkit-transform: skewX(15deg);
    -moz-transform: skewX(15deg);
    -ms-transform: skewX(15deg);
    -o-transform: skewX(15deg);
    transform: skewX(15deg);
    margin-left: -100px;

    -webkit-box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
    -moz-box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
    box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
    z-index: 0;
    
}
#d_main_header_text{
    width: 100%;
    height: 450px;
    -webkit-transform: skewX(-15deg);
    -moz-transform: skewX(-15deg);
    -ms-transform: skewX(-15deg);
    -o-transform: skewX(-15deg);
    transform: skewX(-15deg);
    margin-left: 100px;
    padding-left: 50px;
}

.screenh1{
    font-size: 50px;
    padding-bottom: 30px;
    font-family: 'Raleway', sans-serif;
}

.main_header_benefits img{
    width: 30px;
    padding-bottom: 6px;
}

.btnhref{
    color: #000;
    
}

.btnhref:hover{
    text-decoration: none;
    color: #000;
}

hr {
    width: 80px;
    background-color: #FFD200;
    border-color: #FFD200;
    color: #FFD200;
    border: 1px solid #FFD200;
}

#d_main_aboutus{
    background-color: #fff;
}

.imgshadow{
    -webkit-box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
    -moz-box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
    box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
}

#d_main_logos{
    min-height: 200px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#d_main_logos .row{
    margin: 0px !important;
}

.logos{
    height: 100px;
    padding: 10px;
}

#d_main_callout{
    height: 200px;
    /* background-color: #FFD200; */
    background-color: #fdbc00;
    
}
#d_main_callout button{
    background-color: #000;
    color: #f2f2f2;
}

#d_main_callout .row{
    margin: 0px !important;
}

.copyright {
  background-color: #000;
  color: #bebebe;
  padding: 0px 30px 5px 30px;
}

.headernav{
    font-size: 20px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    margin: 0px 5px !important;
}

.headernav:hover{
    /* border-bottom: 4px solid #fdbc00;
    margin-bottom: -4px; */
    background-color: #FFD200;
    color: #000;
}

.headernav.active{
    /* border-bottom: 4px solid #fdbc00;
    margin-bottom: -4px; */
    background-color: #FFD200;
    color: #000;
}

.footernav{
    color: #fff;
}

.footernav:hover{
    color: #FFD200;
}

.footernav.active{
    color: #FFD200;
    border-bottom: 2px solid #fdbc00;
}


/******* Home page Slide Show *******/
.main_header{
	height: 700px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
    position: relative;
    overflow: hidden;
    
}
.overlay{
    /* background-color: rgba(0, 0, 0,0.4); */
    background-color: rgba(28, 40, 51,0.6);
    z-index: 10;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.home_hero{
    z-index: 11;
    position: absolute;
    width: 70%;
    height: 100%;
    display: flex;
    align-items: left;
    justify-content: center;
    flex-direction: column;
    padding: 10px 40px;
}
.hero-text{
    color: #fff;
    font-size: 70px;
    text-align: left;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    line-height: 1em;
}
.hero-text .bold{
    font-weight: bold;
}
.hero-subtext{
    color: #fff;
    font-size: 28px;
    margin-top: 25px;
    font-family: 'Poppins', sans-serif;
}
.hero-subheader{
    color: #ccc;
    font-size: 18px;
    font-weight: bold;
}
.home_btns{
    margin-top: 20px;
}
.btns{    
    padding: 10px 30px;
    color: #000;
    border-radius: 30px;
    margin-right: 10px;
}
.btns:hover{
    color: #fff;
    background-color:#27ae60;
    text-decoration: none;
}
.btn-full{
    background-color: #fdbc00;
}
.btn-outline{
    border: 2px solid #fff;
    background-color: rgba(0,0,0,0.5);
}

.certify_logos{
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 11;
}
.certify_logos img{
    height: 60px;
    width: auto;
}

@media (max-width: 400px){
    .main_header{
        height: 550px; 
    }
    .home_hero{
        width: 100%;
        padding: 10px 10px;
    }
    .hero-text{
        font-size: 36px;
    }
    .hero-subtext{        
        font-size: 16px;
        margin-top: 10px;
    }
    .hero-subheader{
        font-size: 16px;
    }
    .btns{    
        padding: 10px 20px;
    }
    .certify_logos img{
        height: 40px;
    }
}

@media (min-width: 401px) and (max-width: 576px){
    .main_header{
        height: 550px; 
    }
    .home_hero{
        width: 100%;
        padding: 10px 20px;
    }
    .hero-text{
        font-size: 40px;
    }
    .hero-subtext{        
        font-size: 18px;
        margin-top: 10px;
    }
    .hero-subheader{
        font-size: 16px;
    }
    .btns{    
        padding: 10px 20px;
    }
    .certify_logos img{
        height: 50px;
    }
}
@media (min-width: 577px) and (max-width: 767px){
    .main_header{
        height: 600px; 
    }
    .home_hero{
        width: 100%;
        padding: 10px 30px;
    }
    .hero-text{
        font-size: 50px;
    }
    .hero-subtext{        
        font-size: 22px;
        margin-top: 15px;
    }
}
@media (min-width: 768px) and (max-width: 991px){
    .home_hero{
        width: 90%;
    }
    .hero-text{
        font-size: 60px;
    }
    .hero-subtext{        
        font-size: 24px;
        margin-top: 20px;
    }
}



/*************** FOOTER ********************/

footer{
    padding: 30px 20px;
    background-color: #f2f2f2;
}

.para-footer{
   
    padding-top: 20px;
}
.social-icons a{
    color: #1c2833 !important;
}
.footer_nav{
    list-style-type: none;
    margin:0 !important;
    padding: 0px !important;
}
.footer_nav li a{
    text-decoration: none;
    color: #1c2833;
    font-family: Poppins;
}
.footer_nav li{
    padding: 5px 0px !important;
}
.footer_nav .active a{
    font-weight: bold;
}
.footer_contact{
    margin: 15px 0px;
}
.footer_contact a{
    margin-left: 10px;
    color: #2B0946;
}
.footer_contact i{
    font-size: 20px;
    color: #1c2833;
}
.footer_bottom{
    background-color: #000;
    padding: 5px 20px;
    text-align: right;

}
.footer_bottom span{
    color: #8a99c0;
}
.footer_bottom a{
    color: #fdbc00;
}

@media (max-width: 400px){
   .heading2{
       font-size: 24px;
   }
   .footer_contact_div{
       text-align: center;
   }
   footer{
    padding: 30px 10px;
    }
}
@media (min-width: 401px) and (max-width: 576px){
    .heading2{
        font-size: 26px;
    }
    .footer_contact_div{
        text-align: center;
    }
    footer{
        padding: 30px 10px;
    }
}
@media (min-width: 577px) and (max-width: 767px){
    .heading2{
        font-size: 28px;
    }
    .footer_contact_div{
        text-align: center;
    }
    footer{
        padding: 30px 10px;
    }
}
@media (min-width: 768px) and (max-width: 991px){
    .heading2{
        font-size: 30px;
    }

}


/************************* HOME PAGE ENDS **********************************/

/************************* CONTACT US PAGE STARTS **********************************/
.pages_header_img{
    height: 300px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../images/about.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;

    -webkit-box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
    -moz-box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
    box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
}

.contact_header_img{
    height: 300px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("../images/contact.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;

    -webkit-box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
    -moz-box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
    box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
}


.emaillink{
    color: #000;
}

label {
    color: #333;
}

.btn-send {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}

.help-block.with-errors {
    color: #ff5050;
    margin-top: 5px;
}

/************************* CONTACT US PAGE ENDS **********************************/

/************************* ABOUT US PAGE STARTS **********************************/
#d_about_images{
    /* height: 300px; */
    background-color: #fff;
    
}

#d_about_images .row{
    margin: 0px !important;
}

#d_about_images img{
    height: 280px;
}

.portfolio{
    height: 260px;
    border-radius: 10px;
    -webkit-box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
    -moz-box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
    box-shadow: 10px 10px 25px -15px rgba(0,0,0,0.66);
}
/************************* ABOUT US PAGE ENDS **********************************/

@media only screen and (max-width : 880px) {
    .logos{
        height: 70px;
    }
    #d_main_header_parent{
        width: 70%;
    }
    .screenh1{
        font-size: 40px;
    }
    .screenh4{
        font-size: 22px;
    }
   
}

@media only screen and (max-width : 580px) {
    .logos{
        height: 60px;
        padding: 5px;
    }

    #d_main_header_parent{
        width: 80%;
    }
    .screenh1{
        font-size: 36px;
    }
    .screenh4{
        font-size: 18px;
    }
    
}

@media (max-width: 400px){
    .navbar-brand img{
        width: 170px;
        padding: 0px 5px;
    }
    #d_main_header_text{
        padding-left:20px;
        height: 350px;
    }
    .main_header_benefits img{
        width: 24px;
        padding-bottom: 2px;
    }
    .screenh1{
        font-size: 30px;
        padding-bottom: 10px;
    }
    .screenh4{
        font-size: 16px;   
    }
    #d_main_header{
        height: 350px;
    }
    #d_main_header_parent{
        height: 350px;
    }
    #img_guarantee{
        width: 90px;
    }
    .main_callout_h1{
        font-size: 30px;
    }
    .contact_address h4{
        font-size: 18px;
    }
    .contact_phone h4{
        font-size: 22px;
    }
    .contact_email h4{
        font-size: 18px;
    }
    #d_about_images img{
        max-width: 300px;
        height: auto;
    }
}

@media (min-width: 401px) and (max-width: 600px){
    .navbar-brand img{
        width: 170px;
        padding: 0px 5px;
    }
    #d_main_header_text{
        padding-left: 30px;
        height: 350px;
    }
    .main_header_benefits img{
        width: 24px;
        padding-bottom: 4px;
    }
    .screenh1{
        font-size: 32px;
        padding-bottom: 15px;
    }
    .screenh4{
        font-size: 18px;   
    }
    #d_main_header{
        height: 350px;
    }
    #d_main_header_parent{
        height: 350px;
    }
    #img_guarantee{
        width: 100px;
    }
    .main_callout_h1{
        font-size: 32px;
    }
    .contact_address h4{
        font-size: 20px;
    }
    .contact_phone h4{
        font-size: 24px;
    }
    .contact_email h4{
        font-size: 21px;
    }
    #d_about_images img{
        max-width: 380px;
        height: auto;
    }
}

@media (min-width: 601px) and (max-width: 768px){
    .navbar-brand img{
        width: 180px;
        padding: 0px 5px;
    }

    #d_main_header_text{
        padding-left: 50px;
        height: 400px;
    }
    .main_header_benefits img{
        width: 26px;
        padding-bottom: 6px;
    }
    .screenh1{
        font-size: 40px;
        padding-bottom: 15px;
    }
    .screenh4{
        font-size: 20px;   
    }
    #d_main_header{
        height: 400px;
    }
    #d_main_header_parent{
        height: 400px;
    }
    #img_guarantee{
        width: 120px;
    }
    #d_about_images img{
        max-width: 380px;
        height: auto;
    }
}
@media (min-width: 769px) and (max-width: 900px) {
    #d_about_images img{
        height: 190px;
    }
}

@media (min-width: 851px) {
    #d_about_images img{
        height: 245px;
    }
    .screenh4{
        font-family: 'Lato', sans-serif;
        font-weight: bold;
    }
}


/*************** GALLERY PAGE *************/
.galleryrow {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 40px 30px;
    
  }
  
  /* Create four equal columns that sits next to each other */
  .gallerycolumn {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
  }
  
  .gallerycolumn img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
  }
  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 800px) {
    .gallerycolumn {
      -ms-flex: 50%;
      flex: 50%;
      max-width: 50%;
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .gallerycolumn {
      -ms-flex: 100%;
      flex: 100%;
      max-width: 100%;
    }
  }


  /********************* PAGE GREEN HOMES GRANT *************************/
  .header-ghg{
      background-image: url("../images/greenHomeGrant.jpg");
      background-position: top;
      background-repeat: no-repeat;
      background-size: cover;
      width: 100%;
      height: 300px;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .header-ghg h1{
    z-index: 11;
    font-size: 60px;
  }

   /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
   @media screen and (max-width: 600px) {
    .header-ghg h1{
        font-size: 45px;
      }
  }

