/*
 Theme Name:   Alpha Financial & Insurance Services
 Theme URI:    http://afisagency.com
 Description:  Custom theme alteration created for the SiteBuilder network
 Author:       Avelient
 Author URI:   http://avelient.co
 Template:     sb1
 Version:      1.0
 Tags:         custom-logo, custom-brand-colors
 Text Domain:  sb1-child
*/

/**
 * Custom logo
 */
.header .custom-logo {
  background: url("img/logo.png") no-repeat center center;
  background-size: 100% auto;
  width: 225px; /* width of logo */
  height: 90px; /* height of logo */
  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;
  }
}

/**
 * Custom Work
 */

@media (min-width: 760px) {
  .header .logo {
    text-align: center;
  }
}

/**
 * Banner Image
 */
.banner {
  background: #051563 url("img/banner-image.jpg") no-repeat top center;
  background-size: cover;
}
.banner .content {
  background: rgba(5, 21, 99, 0.75);
}

/**
 * Structure
 */
body,
.snap-content {
  background: #051563;
}

/**
  * Top bar
  */
.topbar,
.mobile-topbar {
  background: #051563;
}
.topbar a:hover,
.mobile-topbar a:hover {
  color: #1a87eb;
}

/**
  * Nav Bar
  */
.header .nav > ul > li > a {
  color: #0f439b;
}

.header .nav > ul > li > a:hover {
  color: #1a87eb;
}

/**
  * banner
  */

@media (min-width: 760px) {
  .banner .content {
    background: rgba(0, 0, 0, 0.6);
    background: url("img/banner-content-shape.png") no-repeat center center;
    background-size: 100% 100%;
    margin: 0;
    padding: 2em 4em;
  }
}

/**
  * Action
  */
.feature .featured-item h2 {
  color: #0f439b;
}
.feature .featured-item:hover h2 {
  color: #1a87eb;
}
.action {
  background: #1a87eb;
}
.action .col:last-child .content,
.action.inline .content-action {
  background: #0f5698;
}

.sidebar-item-action {
  background: #1a87eb;
}

.sidebar-item-action .content-action {
  background: #0f5698;
}

@media (min-width: 760px) {
  .action .col:last-child .content:before {
    content: "";
    background: url("img/action-shape.png") no-repeat center center;
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    right: 100%;
    width: 60px;
    height: 100%;
  }
}

/**
  * Feature Blog
  */
.feature-blog .featured-item .thumbnail.thumbnail-default {
  background: #0f439b;
}
.feature-blog .featured-item h3 {
  color: #0f439b;
}
.feature-blog .featured-item:hover h3 {
  color: #1a87eb;
}

/**
  * Type
  */
h1,
h3,
h4,
h5 {
  color: #051563;
}
h2 {
  color: #0f439b;
}
a,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #0f439b;
}
a:hover,
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  color: #1a87eb;
}

.pagination a {
  background: #efefef;
  color: #0f439b;
}
.pagination a:hover,
.pagination ul li.MarkupPagerNavOn a,
.pagination .current {
  background: #0f439b;
  color: #fff;
}

/**
  * Buttons
  */
.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type="image"],
.gform_wrapper .gform_footer input[type="submit"] {
  background-color: #0f439b;
}
.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: #1a87eb;
}

/**
  * Footer
  */
.footer h3,
.footer a {
  color: #fff;
}
.footer a:hover {
  color: #1a87eb;
}
