/*
 Theme Name:   Balfour Theme
 Description:  Balfour Child Theme
 Author:       Brandon Tutmarc
 Template:     blankslate
 Version:      1.0.0
 Text Domain:  blankslate-child
*/


/* ------------------------------------ SITEWIDE GENERAL STYLES ------------------------------------ */

body {
font-family: "proxima-nova", helvetica, sans-serif;
font-size:1rem;
background-color:#ffffff;
}

p {
  margin-bottom:20px;
      line-height: 1.4rem;
      font-size:1.1rem;
}

.footer-bottom a {
  color:#ffffff;

}
.footer-bottom {
  line-height:1.5rem;
}


 .slider-workshop img {
margin:0 auto;
    max-width:100%;
}

.workshop-outer-container {
  max-width:1250px;
}

.workshop-gallery-container {
  max-width:100%;
}

.workshop-caption {
margin: 0 auto;
text-align:center;
display:block;
margin:25px 0px 25px 0px;
line-height:1.5rem;
}


strong {
  font-weight:bold;
}

a {
  color: #8b613b;
  text-decoration:none;
}

.about-right-column a:hover {
text-decoration:underline;
}

.about-right-column p {
  margin-bottom:30px;
}

html {
     margin-top: 0px !important;
}


.services-bar p {
margin-bottom:0px;
}
.footer-bottom{
  background-color: #50341c;color:#fff; padding: 10px 0px; text-align:center; font-size:.8rem;
}

.cta {
    height: 250px;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}






#header {
height:112px;
clear:both;
}

button {
margin-top:4px;
  float: right;
  border: 0px;
  font-size: 30px;
  color: #50341c;
}

.hero_button {
  background-color: #0c498e;
  color:#ffffff;
  padding: 13px 23px;
  display: inline-block;
  text-decoration: none;
  font-size: 1.3rem;
  margin-top: 20px;
}

.hero_button:hover {
background-color:rgba(12, 73, 142, 0.9);
cursor:pointer;
}

.availability-status {
  background-color: #e6dad0;
      color: #50351d;
      padding: 8px 12px;
      display: inline-block;
      text-decoration: none;
      border-radius: 0px;
      font-size: .8rem;
      font-weight: 700;
      margin-top: 0px;
      margin-bottom:20px;
    }


.slide-content {
width:40%;
background-color:#ffffff;
padding:50px;
vertical-align: middle;
}

.slide-content p {
line-height:1.6rem;
font-size:1.2rem;
}

.slide-content-wrapper {
padding:6% 0%;
vertical-align:middle;
}

@media (min-width: 768px) {
.slide-content {

}
}

.hero-inner {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: auto;

}

#site-branding {
    float: left;
    margin-top: 8px;
    margin-bottom: 15px;
    max-width: 110px;
}

@media (min-width: 768px) {
#site-branding {
    max-width: 450px;
    margin-top: 34px;
    margin-bottom: 12px;
}
}

.site-logo {
vertical-align: middle;
display: block;
max-width: 100%;
width: auto;
height: auto;
}

.cta-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    padding: 20px 30px 25px 30px;
}

.cta-content h2 {
font-size:1.3rem;
color:#ffffff;
font-weight:600;
margin-bottom:5px;
}

.cta-content p {
  line-height:1.5rem;

}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.02) 33%, rgba(0, 0, 0, 0.56) 64%, rgba(0, 0, 0, 0.58) 65%, rgba(0, 0, 0, 0.96) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.02) 33%, rgba(0, 0, 0, 0.56) 64%, rgba(0, 0, 0, 0.58) 65%, rgba(0, 0, 0, 0.96) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.02) 33%, rgba(0, 0, 0, 0.56) 64%, rgba(0, 0, 0, 0.58) 65%, rgba(0, 0, 0, 0.96) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#f5000000',GradientType=0 );
}

.cell {
    float: left;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    cursor:pointer;
}

.cell a span {
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left: 0;
  transition-duration: .2s;
  /* edit: added z-index */
  z-index: 1;

}

.cell a span:hover {
background-color: rgba(255, 255, 255, 0.15)
}

.cell:last-of-type {
padding-right:0px;
}


.subheros {
padding:50px 0px;
}

h1, h2, h3, h4, h5, h6 {
color: #50341c;
}

h1 {
font-size: 2rem;
font-weight: 700;
margin-bottom: 20px;
line-height: 2.3rem;
}



.contact-bar p {
  font-size:1.2rem;
  color: #50341c;
}

.blue-button {
background-color: #50341c;
color:#ffffff;
padding: 13px 23px;
display: inline-block;
text-decoration: none;
font-size: 1.3rem;
margin-top: 20px;
clear:both;
}

.about-left-column .blue-button {
margin-top:0px;
}

.about-left-column {
  width: 65%;
  margin-right: 5%;
  float: left;
}

.about-right-column {
width:30%;
float:left;
}

.home-page-right-column {
  width: 27%;
  margin-left: 3%;
float:left;
}

.about-right-column img {
max-width:100%;
}

.blue-button:hover {
  background-color:#8b613b;
  cursor:pointer;
}

h2 {
font-size: 1.7rem;
font-weight: 700;
margin-bottom: 10px;
line-height: 2rem;
}

h3 {
font-size:1.5em;
font-weight:600;
margin-bottom:15px;
}

.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1200px;
}

.home-row .slick-slide img {
  max-height:400px;
}

.home-row .slick-prev:before, .home-row .slick-next:before {
    color: #ffffff;
    opacity: 1;
    font-size:30px;
}





/* ----------------------------------------- NAV STYLES -------------------------------------------- */

#menu-menu-1 .current-menu-item {
  border-bottom: 4px #e8e0d9 solid;
  padding-bottom:2px;
}



ul#menu-menu-2 {
margin-top:10px;
}

ul#menu-menu-1 li a {
text-decoration:none;
color:#8b613b;
}

ul#menu-menu-1 li a:hover {
text-decoration:none;
color:#50341c;
}

ul#menu-menu-2 li a {
text-decoration:none;
color:#fff;
line-height:2rem;
display: block;
padding: 5px 0px 5px 20px;
}

ul#menu-menu-2 li a:hover {
text-decoration:none;
background-color: #352313;
}

#desktop-menu {
    display: none;
    float: right;
}


@media (min-width: 768px) {
#desktop-menu {
    display: block;
    margin-top:33px;
}}

ul#menu-menu-1 li {
  float: left;
  position: relative;
  margin-right: 40px;
  font-size: 1.3rem;
  margin-top: 15px;
}



ul#menu-menu-1 li:last-of-type {
margin-right:0px;
}


/* ------------------------------------- SUBPAGE STRUCTURE STYLES ------------------------------------- */


.service-row {
  padding:40px 0px;
}

.home-row {
  padding:0px 0px;
  margin-bottom:40px;
}

.home-two-col {
padding-bottom:20px;
}

.about-row {
  padding:40px 0px;
      display: flex;
}

.contact-row {
  padding:40px 0px;
}

.about_page_role {
font-style:italic;
margin-bottom: 15px;
    font-size: 1.2rem;
    color: #666;
}

.about-left-column p, .service-content p {
  line-height: 1.8rem;
  margin-bottom:20px;
}

.service-row:nth-child(odd) {
    background: #f4f0eb;
}

.project-content {
  width:50%;
  margin-right:5%;
  float:left;
}

.project-images {
  width:45%;
  float:left;
}

.project-images img {
  max-width:100%;
}


.service-icon {
width:10%;
float:left;
margin-right:4%;
}



.service-icon img {
  max-width:100%;
}

.service-content {
float:left;
}



.contact-column {
width:60%;
padding: 0px 0px;
}

.contact-bar {
background-color: #e1e8f0;
background: url(https://www.balfourwoodworking.com/wp-content/uploads/2018/03/cta-bg-pattern.jpg);
background-position: center;
background-size:cover;
background-repeat: no-repeat;
padding:50px 0px;
text-align:center;
}

.services-bar {
background-color: #e1e8f0;
background: url(https://www.balfourwoodworking.com/wp-content/uploads/2018/03/page-title-bg.jpg);
background-position: center;
background-size:cover;
background-repeat: no-repeat;
padding:35px 0px;
text-align:left;
}

.services-bar h2 {
  color: #ffffff;
margin-bottom:5px;
}

.services-bar p {
  color:#c6b29a;
  font-size:1.2rem;
}

.gform_footer input[type=submit] {
width: auto;
margin: 0 16px 0 0;
background-color: #50341c;
color: #ffffff;
padding: 13px 23px;
display: inline-block;
text-decoration: none;
font-size: 1.3rem;
margin-top: 0px;
cursor: pointer;
font-family: "proxima-nova", helvetica, sans-serif;
border: 0px;
}

.gform_wrapper textarea, .gform_wrapper input {
    border-color: #ccc;
    border-width:1px;
    border-style:solid;
}

li#field_1_1 {
  margin-top:0px;
}

.gform_wrapper {
    margin: 0px 0px 30px 0px !important;
  }

@media (max-width: 767px) {
  .gform_wrapper {
      margin: 30px 0px 0px 0px !important;
    }
  }

.home-page-right-column ul {
list-style-type: disc;
list-style-position: inside;
margin-bottom:30px;
}

.home-page-right-column ul li {
      line-height: 1.5rem;
      margin-bottom: 6px;
}

.project-content ul {
list-style-type: disc;
list-style-position: inside;
margin-bottom:20px;
}

.project-content ul li {
  line-height: 1.9rem;
margin-bottom: 6px;
font-size: 1.1rem;
}

/* -------------------------------------- SLICK SLIDER STYLES -------------------------------------- */

.slick-track .slick-slide {
  padding:5px 0px 5px 5px;

}

.slick-prev {
  left:25px;
}

.slick-next {
  right:25px;
}

.slider-nav .slick-track .slick-current  img {
  opacity:.6;
  transition:all .3s ease;
}


/* ----------------------------------------- SLIDEOUT NAV STYLES ----------------------------------------- */



body {
  width: 100%;
  height: 100%;
}

.slideout-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 256px;
  min-height: 100vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 0;
  display: none;
  background:#50341c;
}

.slideout-menu-left {
  left: 0;
}

.slideout-menu-right {
  right: 0;
}

.slideout-panel {
  position: relative;
  z-index: 1;
  will-change: transform;
  background-color: #FFF; /* A background-color is required */
  min-height: 100vh;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
  overflow: hidden;
}

.slideout-open .slideout-menu {
  display: block;
}

.panel:before {
  content: '';
  display: block;
  background-color: rgba(0,0,0,0);
  transition: background-color 0.5s ease-in-out;
}

.panel-open:before {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(0,0,0,.0);
  z-index: 99;
}






@media (min-width: 768px) {
.section-grid .cell {
    width: 31%;
}
}

.section-grid {
   margin-left: -15px;
   margin-right: -15px;
}

@media (min-width: 768px) {
.section-grid {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: initial;
}
}


@media (min-width: 992px) {
.container {
    padding-left: 30px;
    padding-right: 30px;
    max-width: 1230px;
}
}

@media (min-width: 768px) {
.container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1210px;
}
}


@media (min-width: 1200px) {
.container {
    padding-left: 40px;
    padding-right: 40px;
    max-width: 1250px;
}
}

/* SLIDEOUT CSS STYLES */


.project-content p {
  line-height:1.6rem;
}

@media (min-width: 768px) {
  .toggle-button {
display:none;

  }

  .mobile-slider-image {
    display:none;
  }
}

@media (max-width: 767px) {
.contact-column {
  width:100%;
}

.mobile-slider-image {
  display:inline;
}

#site-branding {
  max-width:250px;
}

.contact-column, .contact-row {
  padding:10px 0px;
}

#header {
  height:46px;
      padding: 20px 0px 14px 0px;
}

h2 {
  font-size:1.7rem;
}

button {
  font-size:27px;
  background-color: #ffffff;
}

.services-bar {
  padding:20px 0px;
}

.services-bar .container p {
line-height:1.5rem;
}

.service-row {
  padding:30px 0px;
}

.about-left-column {
  width:100%;
}

.about-right-column {
  margin-top:20px;
  width:100%;
}

.home-page-right-column {
  margin-top:40px;
  width:100%;
  margin-left:0;
}

.contact-bar {
  padding:30px 0px;
}

.contact-bar p {
  font-size:1.0rem;
}

.slide-content-wrapper {
  max-width:100%;
  padding:0;
}

.slide-content {
  text-align:center;
  padding:15px;
width:inherit;
}

.section-grid {
  max-width:100%;
}

.cell {
  margin-bottom:20px;
}

.hero-inner {
  background-image: none !important;
  height:auto;
}

.hero-inner .container {
  padding:0px;
}

.hero-inner .container img {
 max-width:100%;
}

.subheros {
  padding:30px 0px;
}

.service-icon {
  display:none;
}

.project-content {
  width:100%;
  margin-bottom:15px;
}

h3 {
      line-height: 1.9rem;
}

.project-images {
  width:100%;
}

textarea,
input.text,
input[type="text"],
input[type="button"],
input[type="submit"] {
-webkit-appearance: none;
border-radius: 0;
}

}

@media only screen and (max-width: 1000px) and (min-width: 768px)  {
#site-branding {
  padding-bottom: 20px;
border-bottom: 1px solid #0c498e;
margin-top:23px;
margin-bottom:8px;
}

#desktop-menu {
  margin-top:0px;
  margin-bottom:30px;
  float:left;
  clear:both;
}



}


@media only screen and (max-width: 1250px) and (min-width: 320px) {
  .cell:last-of-type {
  padding-right:15px;
  }
}

@media only screen and (max-width: 360px) and (min-width: 100px) {
  #site-branding {
      max-width: 200px;
  }
}

@media (max-width: 767px) {
  .home-row .slick-slide img {
    max-height:300px;
  }

  .home-row .slick-prev:before, .home-row .slick-next:before {
      color: #ffffff;
      opacity: 1;
      font-size:20px;
  }

  .home-row {
    padding:0px 0px;
    margin-bottom:25px;
  }
}

.slider-home .slick-track .slick-slide {
  padding:0px 0px 5px 5px;
}
