/*
 Theme Name:   E. A. Stevens Company Inc
 Theme URI:    http://getflexsite.com
 Description:  Custom theme alteration created for the SiteBuilder network
 Author:       Avelient
 Author URI:   http://avelient.co
 Template:     sb6
 Version:      1.0
 Tags:         custom-logo, custom-brand-colors
 Text Domain:  sb6-child
*/

@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');

/**
 * Custom logo
 */
.header .custom-logo {
  background: url("img/logo.png") no-repeat center center;
  background-size: 100% auto;
  width: 340px; /* width of logo */
  height: 61px; /* height of logo */
  max-width: 100%;
  padding: 0;
  /* hide text */
  text-indent: -9999px;
  font-size: 0;
  border: 0 none;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .header .custom-logo {
    background: url("img/logo@2x.png") no-repeat center center;
    background-size: 100% auto;
  }
}

/**
 * Banner Image
 */
.image-wrap {
  background-image: url("img/banner-image.jpg");
  background-color: #404040;
  background-position: 50% 80%
}

/**
 * Custom Work
 */

@media (min-width: 760px) {
  .banner {
    padding: 10em 4em
  }
  .header .inner {
    padding: 1em 0;
  }
}

.banner h1 {
  font-weight: bold;
  font-family: 'Playfair Display', serif;
}

.banner .text-lead {
  font-weight: 400;
}

h2 {
  font-family: 'Playfair Display', serif;
}

.feature .featured-item:hover {
  color: #303030
}

.nav ul ul li:hover>a {
  color: #ec1d25
}

.feature.inline .featured-item h2 {
  color: #B30F14
}

.feature.inline .featured-item .icon {
  color: #a4893d
}

.feature-blog .featured-item .date,
.text-soften {
  color: #595959
}

.gform_wrapper ul.gform_fields:not(.top_label) li ul.gfield_checkbox {
  width: calc(90% + 16px) !important;
}

/**
 * Backgrounds
 */
 body,
 .snap-content {
   background: #404040;
 }

.snap-drawers {
  background: #303030;
}

.header {
  background: #424242;
}

.nav-wrap,
.mobile-topbar {
  background: #303030;
}

.action {
  background: #404040;
}
.action.inline .content-action {
  background: rgba(0,0,0, 0.25);
}

.sidebar .sidebar-item-action {
  background: #404040;
}
.sidebar .sidebar-item-action .content-action {
  background: rgba(0,0,0, 0.25);
}

.footer,
.footer .copyright {
  background: #404040;
}

/**
 * Buttons
 */
.banner .button,
.button.red,
.sidebar-item-action .content-action .button,
.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=image],
.gform_wrapper .gform_footer input[type=submit],
.sidebar .sidebar-item-action .content-action .button {
  background-color: #B30F14;
  color: #fff;
}
.banner .button:hover,
.button.red:hover,
.sidebar-item-action .content-action .button:hover,
.gform_wrapper .gform_footer input.button:hover,
.gform_wrapper .gform_footer input[type=image]:hover,
.gform_wrapper .gform_footer input[type=submit]:hover,
.sidebar .sidebar-item-action .content-action .button:hover {
  background-color: #840e13;
  color: #fff;
}

.header .links .button {
  background-color: #B30F14;
  color: #fff;
}
.header .links .button:hover {
  background-color: #202020;
  color: #fff;
}

/**
 * Pagination
 */
.pagination a {
  background: transparent;
  color: #B21015;
}
.pagination a:hover {
  background: transparent;
  color: #770d11;
}

/**
 * Typography
 */
body,
.text-lead {
  color: #303030;
}

h1, h2, h3, h4, h5, h6 {
  color: #303030;
}
h2 {
  color: #685027;
}

a,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.feature-blog .featured-item h3 {
  color: #B21015;
}
a:hover,
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover,
.feature-blog .featured-item:hover h3 {
  color: #770d11;
}

.feature,
.feature .featured-item,
.feature h2 {
  color: #404040;
}

.feature .featured-item p {
  color: #A20B10;
}
.feature .featured-item:hover p {
  color: #770d11;
}

.main .block-listing a:hover {
  color: #bb141b;
}
