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

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

/**
 * Custom Work
 */

.header {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 450 1300'%3E%3Crect fill='%23ffffff' x='-50' y='-130' width='550' height='390'/%3E%3Cpolygon fill='%23fcfcfc' points='75 -130 0 0 75 130 150 0'/%3E%3Crect fill='%23fafafa' x='-50' y='130' width='550' height='260'/%3E%3Cpolygon fill='%23f7f7f7' points='300 0 225 130 300 260 375 130'/%3E%3Crect fill='%23f5f5f5' x='-50' y='260' width='550' height='260'/%3E%3Cpolygon fill='%23f2f2f2' points='75 130 0 260 75 390 150 260'/%3E%3Crect fill='%23efefef' x='-50' y='390' width='550' height='260'/%3E%3Cpolygon fill='%23ededed' points='300 260 225 390 300 520 375 390'/%3E%3Crect fill='%23eaeaea' x='-50' y='520' width='550' height='260'/%3E%3Cpolygon fill='%23e8e8e8' points='75 390 0 520 75 650 150 520'/%3E%3Crect fill='%23e5e5e5' x='-50' y='650' width='550' height='260'/%3E%3Cpolygon fill='%23e2e2e2' points='300 520 225 650 300 780 375 650'/%3E%3Crect fill='%23e0e0e0' x='-50' y='780' width='550' height='260'/%3E%3Cpolygon fill='%23dddddd' points='75 650 0 780 75 910 150 780'/%3E%3Crect fill='%23dbdbdb' x='-50' y='910' width='550' height='260'/%3E%3Cpolygon fill='%23d8d8d8' points='300 780 225 910 300 1040 375 910'/%3E%3Crect fill='%23d6d6d6' x='-50' y='1040' width='550' height='260'/%3E%3Cpolygon fill='%23d3d3d3' points='75 910 0 1040 75 1170 150 1040'/%3E%3Crect fill='%23d1d1d1' x='-50' y='1170' width='550' height='260'/%3E%3Cpolygon fill='%23cecece' points='300 1040 225 1170 300 1300 375 1170'/%3E%3Crect fill='%23cccccc' x='-50' y='1300' width='550' height='260'/%3E%3Cpolygon fill='%23c9c9c9' points='75 1170 0 1300 75 1430 150 1300'/%3E%3C/svg%3E");
  background-size: 25%;
  background-position: 50% 0%;
}

.header .inner {
  padding: 0.5em 2em 1em;
}

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

.header .inner,
.nav {
  border-bottom: solid 5px #be940e;
}

.nav {
  background: #052e82;
}

.nav > ul > li > a {
  color: #fff;
}

.nav > ul > li:hover > a,
.nav > ul > li > a:hover,
.nav > ul > li.active > a {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav ul ul li {
  border-color: rgba(190, 148, 15, 0.4);
}

.nav ul ul li:hover {
  background: rgba(255, 255, 255, 0.1);
}

.listing-feature .icon {
  color: #052e82;
}

.footer nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer h3 {
  font-weight: bold;
}

.snap-drawer-nav ul li > a:hover,
.snap-drawer-nav ul li:hover > a,
.snap-drawer-nav ul li.on > a,
.snap-drawer-nav ul li a.on,
.snap-drawer-nav .children-toggle:hover,
.snap-drawer-nav .children-toggle.active {
  background: rgba(255, 255, 255, 0.1);
}

/**
 * Backgrounds
 */
body,
.snap-content {
  background-color: #cecece;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3ClinearGradient id='a' x1='0' y1='0' x2='1' y2='0' gradientTransform='rotate(71,0.5,0.5)' gradientUnits='objectBoundingBox'%3E%3Cstop offset='0' stop-color='%23cecece'/%3E%3Cstop offset='1' stop-color='%23969696'/%3E%3C/linearGradient%3E%3Crect fill='url(%23a)' width='2000' height='1500'/%3E%3Cg transform='translate(800 0) rotate(-90 0 0)'%3E%3Ccircle fill='%23cecece' fill-opacity='0.3' cx='0' cy='-640' r='1400'/%3E%3Ccircle fill='%23969696' fill-opacity='0.3' cx='2000' cy='-640' r='1400'/%3E%3Ccircle fill='%23c3c3c3' fill-opacity='0.3' cx='200' cy='-400' r='1400'/%3E%3Ccircle fill='%23a1a1a1' fill-opacity='0.3' cx='1800' cy='-400' r='1400'/%3E%3Ccircle fill='%23b7b7b7' fill-opacity='0.3' cx='400' cy='-160' r='1400'/%3E%3Ccircle fill='%23acacac' fill-opacity='0.3' cx='1600' cy='-160' r='1400'/%3E%3Ccircle fill='%23acacac' fill-opacity='0.3' cx='600' cy='80' r='1400'/%3E%3Ccircle fill='%23b7b7b7' fill-opacity='0.3' cx='1400' cy='80' r='1400'/%3E%3Ccircle fill='%23a1a1a1' fill-opacity='0.3' cx='800' cy='320' r='1400'/%3E%3Ccircle fill='%23c3c3c3' fill-opacity='0.3' cx='1200' cy='320' r='1400'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
}

.snap-drawers {
  background: #042160;
}

.topbar,
.mobile-topbar {
  background: #052e82;
}
.pattern {
  background: rgba(255, 255, 255, 0.1);
}

.nav ul ul {
  background: #042160;
}

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

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

.footer {
  background: #042160;
}

/**
 * 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: #8e700b;
  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: #be940e;
  color: #fff;
}

.header .links .button {
  background-color: #8e700b;
  color: #fff;
}
.header .links .button:hover {
  background-color: #be940e;
  color: #fff;
}

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

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

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

a,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.main .block-listing a {
  color: #8e700b;
}
a:hover,
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover,
.main .block-listing a:hover {
  color: #be940e;
}

.mobile-topbar a {
  color: rgba(255, 255, 255, 1);
}
.mobile-topbar a:hover {
  color: rgba(255, 255, 255, 0.5);
}

.feature .featured-item h2 {
  color: #8e700b;
}
.feature .featured-item:hover h2 {
  color: #be940e;
}

.listing-feature .featured-item h2 {
  color: #8e700b;
}
.listing-feature .featured-item:hover h2 {
  color: #be940e;
}
