/*
 Theme Name:   Tekulve-Vankirk Agency
 Theme URI:    http://getflexsite.com
 Description:  Custom theme alteration created for the SiteBuilder network
 Author:       Avelient
 Author URI:   http://avelient.co
 Template:     sb4
 Version:      1.0
 Tags:         custom-logo, custom-brand-colors
 Text Domain:  sb4-child
*/

/**
 * Custom logo
 */
.header {
  background-color: #153E64;
}

.header .custom-logo {
  background: url("img/Tekulve Insurance.svg") no-repeat center center;
  background-size: contain;
  width: 202px; /* width of logo — 82 * 330/134 to match SVG aspect ratio */
  height: 82px; /* height of logo */
  max-width: 100%;
  padding: 0;
  /* hide text */
  text-indent: -9999px;
  font-size: 0;
  border: 0 none;
}

/**
 * Banner Image
 */
.image-wrap {
  background-image: url("img/banner-image.jpg");
  background-color: #153E64;
  background-position: 50% 90%;
}
.image-wrap:after {
  background: #212121;
  opacity: 0.5;
}

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

.snap-drawers {
  background: #58595b;
}

.nav ul ul {
  background: #404040;
}

/**
 * Fix: sub-nav dropdown renders without text until the mouse moves over it
 * (Safari/WebKit). The parent theme shows/hides dropdowns via an
 * opacity + visibility + 3D-transform transition, which hits a
 * long-standing WebKit bug where text fails to paint in the newly-visible
 * layer until something else forces a repaint. Neither disabling the
 * transition nor flattening the transform to 2D fixed it (ruling out
 * transition timing and 3D-layer promotion as the cause), so the show/hide
 * is switched to a plain display:none/block toggle instead - the classic
 * CSS-only dropdown pattern, immune to this bug because the element is
 * either fully in the render tree or not, with no partial-paint state.
 */
.nav ul li ul {
  display: none;
}
.nav ul li:hover > ul {
  display: block;
}

.action {
  background: #383838;
}

.feature .featured-item {
  background: #efefef;
}

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

.banner h1 {
  font-weight: bold;
  font-size: 2.3em;
}

.header {
  padding: 0 0 1em
}

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

/**
 * Custom Work
 */

 .mobile-topbar,
 .nav {
  background: #153E64;
  background-image: linear-gradient(to bottom, #d4a017, #b8860b);
 }

 .footer {
  background: #58595b;
 }

 body:not(.home) .header {
    background: #153E64;
  }

 @media (min-width: 760px) {
   body:not(.home) .header {
    background: #153E64;
    background-position: 50% 50%;
    background-size: 120px !important;
   }

 }

 .footer hr {
  border-color: rgba(0,0,0,.05)
 }

 .footer ul:not(.social) li:before {
  color: rgba(255,255,255,.1)
 }

 .footer a {
  border-color: rgba(255,255,255,.1)
 }

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

/**
 * Buttons
 */
.banner .button {
  background-color: rgba(212,160,23,.25);
  border: 1px solid #d4a017;
  color: #fff
}
.button.blue-green,
.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=image],
.gform_wrapper .gform_footer input[type=submit] {
  background-color: #d4a017;
  color: #fff;
}
.sidebar-item-action .content-action .button {
  background-color: #fff;
  color: #212121;
}

.banner .button:hover {
 background-color: #d4a017;
 border: 1px solid #d4a017;
 color: #fff
}
.button.blue-green:hover,
.gform_wrapper .gform_footer input.button:hover,
.gform_wrapper .gform_footer input[type=image]:hover,
.gform_wrapper .gform_footer input[type=submit]:hover {
  background-color: #b8860b;
  color: #fff;
}
.sidebar-item-action .content-action .button:hover {
  background-color: #d0d0d0;
  color: #212121;
}

.header .links .button {
  background-color: #fff;
  color: #212121;
}
.header .links .button:hover {
  background-color: #d0d0d0;
  color: #212121;
}

/**
 * Pagination
 */
.pagination a {
  background: #efefef;
  color: #404040;
}
.pagination a:hover {
  background: #d2d2d2;
  color: #404040;
}

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

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

a,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #d4a017;
}
a:hover,
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  color: #b8860b;
}

.feature .featured-item h2 {
  color: #d4a017;
}
.feature .featured-item:hover h2 {
  color: #b8860b;
}

.feature-blog .featured-item h3 {
  color: #d4a017;
}
.feature-blog .featured-item:hover h3 {
  color: #b8860b;
}

.footer h3,
.footer a {
  color: #fff;
}
.footer a:hover {
  color: rgba(255,255,255,.75);
}
