/******************************************************************
Theme Name: David Enterprises
Theme URI: http://www.jointswp.com
Description:
Author: Your Name Here
Author URI: http://www.yoururlhere.com
Version: 5.0
License: GNU General Public License & MIT
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Sass
******************************************************************/
body {
font-family:'Source Sans Pro', sans-serif;
font-size: 1.2rem;
line-height: 2.8;
}
h1, h2, h3, h4, h5, h6 {
  font-family:'Source Sans Pro', sans-serif;
  width:100%;
  font-weight: 600;
}



.button {
  border-radius:5px;
  background:#FADF00;
  color:#000;
  border:2px solid #FADF00;
}
.button:hover, .button:focus {
  background:none;
  color:#FADF00;
}
.button.alternate {
  background:#000;
  color:#FADF00;
  border:2px solid #000;
  font-size:1.25em;
}
.button.alternate:hover, .button.alternate:focus {
  background: none;
  color: #000;

}
.button.btn-hero {
  color: #FADF00;
  border:1px solid #FADF00;
  background: rgba(0,0,0,0.23);
  padding:30px 40px;
}
.button.btn-hero:hover, .button.btn-hero:focus {
  border:1px solid #FADF00;
  background:  #FADF00;
  color: #000;
}
.header {
  -webkit-box-shadow: 0px 2px 2px 0px rgba(79,79,79,.51);
  -moz-box-shadow: 0px 2px 2px 0px rgba(79,79,79,0.51);
  box-shadow: 0px 2px 2px 0px rgba(79,79,79,0.51);

  width: 100%;
}
.info-bar {
  background-color: #000;
  color:#ddd;


}
.info-bar .cell:first-child {
  padding-left:3%;
}
.info-bar .cell:last-child {
  text-align: right;
  padding-right:3.3%;
}
.info-bar a {
  color:#aaa;
}
.info-bar i {

  font-size:1.5em;
  padding:11px 5px 11px 3px;
}
.info-bar-left a{
  display: flex;
  vertical-align: middle;
}
.off-canvas {
  background-color:#FADF00;
}
.top-bar {
  padding:0;
  padding-left:2%;
  padding-right:2%;
}
.top-bar, .top-bar ul {
  background-color: #FADF00;
  }
.top-bar a {
  color:#000;
  }

.logo-item {
  width:270px;
  height: auto;
  }
.menu-item {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size:14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-right:10px;
  }

.menu-item a {
  color:#444;
  }

.menu-item a:hover, .menu-item a:focus {
  color:#000;

}
.menu .active>a {
  border-bottom: 2px solid #000;
  background: none;
  color: #000;
 }

/* Home
************************************/
.home h2 {
  text-transform: uppercase;
  color:#000;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.75em;
}
.hero-banner {
  height:79vh;
  padding:0;
  padding-bottom:40px;
  width:100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items:flex-end;
  text-align: center;

}
.hero-section-text {
  color:#fff;
  width:100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content:space-around;

}
.hero-section-text h2 {
  font-family:'Oswald', sans-serif;
  font-size:4.55em;
  font-weight: 700;
  color:#FFF;
  letter-spacing: 1.5px;
  text-shadow: 1px 1px 2px #666;
  width:100%;
}
.hero-section-text p {
  font-size:1.25em;
  font-weight: 700;
  letter-spacing: 1.5px;
  width: 73%;


}
.hideme
{
    opacity:0;
}
.home-services .grid-container {
  max-width: 95%;
}
.home-services h2 {
  width:75%;
  border-bottom: 1px solid  #FADF00;
  padding-bottom: 15px;
  text-align: center;
}
.home-services h4 {
  font-weight: 700;
}
.home-services a {
  /* opacity: 0.575; */
  color:#000;
  /* transition: all 0.5s ease-out; */
}
.home-services a:hover, .home-services a:focus {
  /* opacity: 1.0; */
}
.home-services-grid {
  padding:10px 10px;
}
.home-services-grid-image-box {
  height:300px  ;
  min-height: 300px;
  width:auto;
  background-size: cover;
  background-repeat: no-repeat;
}

.home-projects .grid-container {
  max-width: 95%;
}
.home-projects h2 {
  width:75%;
  border-bottom: 1px solid  #FADF00;
  padding-bottom: 15px;
  text-align: center;
}
.home-projects h4 {
  font-weight: 700;
}
.home-projects .project-page-grid {
  opacity: 0.775;
  color:#000;
  transition: all 0.5s ease-out;
}
.home-projects .project-page-grid:hover, .home-projects .project-page-grid:focus {
  opacity: 1.0;
}
.home-projects-grid-image-box {
  height:300px  ;
  min-height: 300px;
  width:auto;
  background-size: cover;
  background-repeat: no-repeat;
}


.home-cta {
  min-height:200px;
  display: flex;
  justify-content: center;
  padding:4% 18%;
  text-align: center;
  font-size:2.0em;
  font-weight:200;
  font-family:'Source Sans Pro', sans-serif;
}

.home-cta-half, .home-cta-half-last {
  margin:30px 0;
  padding:0;
  margin:150px 0;
  width:100%;
  height:auto;
  display:flex;
  align-items: stretch;
}

.home-cta-half-last {
    margin: 150px 0 0 0;
}

.home-cta-half div, .home-cta-half-last div {
  float:left;
  width:50%;
  margin: 0;
  padding:50px 150px 70px;
}
.home-cta-half div:nth-child(2), .home-cta-half-last div:nth-child(2) {
  background-size: cover;
}
.home-cta-half h2, .home-cta-half-last h2 {
  font-weight:700;
  font-size:2.9em;
  text-transform: none;
}
.home-cta-half p, .home-cta-half-last p {
  font-size:1.2em;
}
/* Header
************************/
.page-banner {
  width:100%;
  height:450px;
  padding-bottom:30px;
  margin-bottom: 40px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: flex-end;

}
.page-banner div {
  font-weight:700;
  color:#fff;
}
.page-banner h1 {
  font-size: 3.0em;
}
.page-banner-contact {
  width:100%;
  height:450px;
  padding-bottom:30px;
  /* display: flex;
  justify-content: center;
  text-align: center;
  align-items: flex-end; */

}

.page-banner-contact header {
  z-index: 999;
  color:#fff;
  position: absolute;
}
.acf-map {
  height:100%;
  max-height: 450px;
  z-index: 3!important;
}
/* Page
*********************************/
.article-header h1{
  /* font-size:3.0em; */
  font-weight: 600;
  text-shadow: 2px 2px 2px rgba(0,0,0,0.6);
}
.page-banner h4 {
  text-shadow: 2px 2px 2px rgba(0,0,0,0.6);
}
/* Service page
*********************************/
.page-template .grid-container.fluid {
  padding-left: 0;
  padding-right: 0;
}
/* ACF Flexible Content
*********************************/
.grid-container.fluid .cell {

    min-height: 340px;
}
.one-column h2, .two-column h2 {
  font-size:1.8em;
}
.one-column div{
padding:10% 20%;

}
.two-column div {
  background-position: center;

}
.two-column div:first-child {
padding:5% 5%;


}
.two-column div:last-child {
  padding:5% 5%;

}
.cell-service {
  min-height:300px;
  background-size:cover;
  background-repeat:none;


}
.cell-service a, .cell-service span{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color:#FFF;
  height:100%;
  width:100%;
}
.cell-service h4 {
  color:#fff;
  font-weight: bold;
  font-size:1.5em;
  text-shadow: 2px 2px 2px rgba(0,0,0,0.6);
  width:auto;
}
.cell-service h5 {
  color:#fff;
  font-weight: bold;
  font-size:1.25em;
  text-shadow: 2px 2px 2px rgba(0,0,0,0.6);
}
.project-page-grid {
  min-height:350px;
  background-size:cover;
  background-repeat:none;

}
.project-page-grid a{
  display: flex;
  align-items: center;
  justify-content: center;
  color:#FFF;
  height:100%;
  width:100%;
  text-shadow: 2px 2px 2px rgba(0,0,0,0.6);
}
.project-page-grid h3 {
  font-size:1.40em;
  font-weight:700;
}


/* Page
*********************/
.page p {
  padding:30px 30px 30px 30px;
}
.page-template-page-contact p {
  padding:10px;
}

/* Gallery
*/
.gallery {
  margin-bottom: 7em;
}
.thumbnail {
  display: inline-flex;
  width: 32%;
  margin-bottom: 1rem;
  border: 4px solid #fefefe;
  border-radius: 0;
  line-height: 0;
  flex-direction: row;
  flex-flow: wrap;
  justify-content: space-around;
  box-shadow: none;
  }
/* Footer
*********************************/
#myBtn {
  display: none;
}
.top-of-page {
  bottom: 20px;
  right: 30px;
  z-index: 1000;
  position: fixed;
  transform: rotate(90deg);

}
.top-of-page a {
  box-shadow: 2px -2px 2px #444;
}
.button-top {
  padding: 1px 7px  7px  7px;
}
.before-footer {
  width:100%;
  padding:60px 15%;
  margin:0 0 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
   text-align: center;
  position: relative;
  background-image: url('assets/images/work-with-us-bg.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color:#FFF;
  }
.before-footer:before {
  background-color: rgba(4, 4, 4, 0.65);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  content: " ";
  display: block;
  z-index: 3;
}
.before-footer-text {
  width:50%;

  z-index: 444;
}
.before-footer-text h3 {
  font-size:2.8em;
  font-weight: 700;
  color:#fff;

}
.before-footer-text a {
  font-weight:700;
}
.footer {
  background-color: #FADF00;
  padding-top:1.2em;
  margin-top:0;
}
.footer .footer-container {
  padding:20px 0;
  max-width: 90%;
}
.footer .menu {
    width: 100%;
    height: auto;
    text-align: center;
    display: block;
}

.footer .menu-item {
  font-size: 0.65em;
  display: inline-block;
}
 .copyright-container {
  background:#323333;
  margin:0 auto;
  padding:0 6.0rem;
  text-align: center;
}
.copyright-cell {

}
.copyright-cell p{
  padding:13px 5px;
  font-size:0.758em;
  color:#cacaca;
}
.copyright-cell a {
  color:#cacaca;
  font-weight: bold;
}

/* Forms
*********************/
[type="color"],
[type="date"],
[type="datetime-local"],
[type="datetime"],
[type="email"],
[type="month"],
[type="number"],
[type="password"],
[type="search"],
[type="tel"],
[type="text"],
[type="time"],
[type="url"],
[type="week"],
textarea {
  box-shadow: none;
  background-color: #eff0f2;
  border-width: 0;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #847c7c;
  opacity: 1; /* Firefox */
  font-style: italic;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #847c7c;
  opacity: 1; /* Firefox */
  font-style: italic;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #847c7c;
  opacity: 1; /* Firefox */
  font-style: italic;
}
fieldset {
    padding: 1.35em 1.75em 1.625em;
    border: 1px solid #a1a1a1;
    border-radius: 5px;
    margin-bottom: 25px;
    color:#333;
  }
.wpcf7 p {
  line-height: 2;
  padding: 10px;
}
.wpcf7 div.form-wrapper label {
  margin:5px 20px 0 0;
  color:#333;
}
.wpcf7 div.form-wrapper, .wpcf7-field-groups div.form-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
  margin-right: 10px;


}

.wpcf7-field-group p {
    display:none;
}
.wpcf7-field-group:last-child p {
    display:block;
}

.wpcf7-field-group-remove, .wpcf7-field-group-add{

  font-size: 1.4em;
  font-weight: 700;
  padding: 7px;
  background: #FADF00;
  color: #FFF;
  margin-right:5px;
}

.page-template-page-contact .wpcf7 label {
  display:none;
}

/* Media Queries
*********************/
@media screen and (min-width: 40em) {
  .grid-padding-x>.cell {
    padding-right:0;
    padding-left:0;
  }

}
@media screen and (max-width: 74.9375em){
  .home-cta-half, .home-cta-half-last {
    flex-direction: column;
    flex-flow: column-reverse;
    margin: 70px 0;
  }

  .home-cta-half div, .home-cta-half-last div {
    width:100%;
    padding:15px;
    min-height: 340px;

  }
}
@media screen and (max-width: 63.9375em) {
  .info-bar .cell, .info-bar .cell:last-child {
    text-align: center;
  }
  .info-bar-left a{
    justify-content: center;
  }
  .top-bar {
    padding: 0 ;
  }
  .top-bar .top-bar-left {
    max-width: 65%;
  }
  .top-bar .top-bar-right {
    max-width: 10%;
  }
  .top-bar a {
    color:#000;
    font-weight:bold;
  }
  .menu-icon:after {
    background-color: #000;
    box-shadow: 0 7px 0 #000, 0 14px 0 #000;
  }
  .main-menu-mobile li {
    margin-right:10px;
  }
  .hero-banner {
    height:50vh;
  }
  .hero-section-text {

  }
  .hero-section-text h2 {
    font-size:2.55em;
  }
  .home-cta {
    padding: 1% 5%;
    font-size:1.5em;
  }


  .home-cta-half, .home-cta-half-last {
    flex-direction: column;
    flex-flow: column-reverse;
    margin: 70px 0;
  }

  .home-cta-half div, .home-cta-half-last div {
    width:100%;
    padding:15px;
    min-height: 340px;

  }

  .page p {
    padding:0;
  }
  .page-banner {
    height:250px;
  }
  .page-banner h1, .page-banner-contact h1 {
    font-size:2.1em;
  }

  .two-column div {
    min-height: 300px;
  }
  .gallery {
    margin-left:auto;
    margin-right: auto;

  }
  .thumbnail {
    display: inline-flex;
    width: 100%;
    margin-bottom: 1rem;
    border: 4px solid #fefefe;
    border-radius: 0;
    line-height: 0;
    flex-direction: row;
    flex-flow: wrap;
    justify-content: space-around;
    box-shadow: none;
    }
  .before-footer {
    padding:40px 0;
  }
  .before-footer-text {
    width:100%;
    margin: 0 6%;
  }
  .footer .menu {
      text-align: left;
      padding-bottom: 30px;
  }
  .footer .menu-item {
      width:100%;
  }
  .footer .menu-item a {
      padding-left:0;
  }
}
.one-half {
    margin:0;
    padding:0;
    width:50%;
    }
