/*
 Theme Name:   Robert Rice Agency
 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: 395px; /* width of logo */
  height: 98px; /* 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: #ad2626
 }

 .nav {
  background: #fff
 }

 /*.topbar .pattern {
  display: none;
 }*/

 .banner h1 {
  font-weight: bold;
 }

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

 .footer h3,
 .footer {
  color: #404040
 }

 .footer a {
  color: #404040;
  border-color: rgba(0,0,0,.1)
 }

 .footer a:hover {
  color: rgba(0,0,0,.45);
  border-color: rgba(0,0,0,.15);
 }

 .footer ul:not(.social) li:before {
  color: rgba(0,0,0,.25)
 }

 .footer nav a {
  color: #404040
 }

 .footer nav a:hover {
  color: #404040
 }

 /**
  * Social Header hide
  */

  .topbar .social {
    display: none;
  }

/**
 * Backgrounds
 */
 body,
 .snap-content {
   background: #9ebabb;
   background-color: #9ebabb;
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='250' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='0.02'%3E%3Cpolygon fill='%23444' points='90 150 0 300 180 300'/%3E%3Cpolygon points='90 150 180 0 0 0'/%3E%3Cpolygon fill='%23AAA' points='270 150 360 0 180 0'/%3E%3Cpolygon fill='%23DDD' points='450 150 360 300 540 300'/%3E%3Cpolygon fill='%23999' points='450 150 540 0 360 0'/%3E%3Cpolygon points='630 150 540 300 720 300'/%3E%3Cpolygon fill='%23DDD' points='630 150 720 0 540 0'/%3E%3Cpolygon fill='%23444' points='810 150 720 300 900 300'/%3E%3Cpolygon fill='%23FFF' points='810 150 900 0 720 0'/%3E%3Cpolygon fill='%23DDD' points='990 150 900 300 1080 300'/%3E%3Cpolygon fill='%23444' points='990 150 1080 0 900 0'/%3E%3Cpolygon fill='%23DDD' points='90 450 0 600 180 600'/%3E%3Cpolygon points='90 450 180 300 0 300'/%3E%3Cpolygon fill='%23666' points='270 450 180 600 360 600'/%3E%3Cpolygon fill='%23AAA' points='270 450 360 300 180 300'/%3E%3Cpolygon fill='%23DDD' points='450 450 360 600 540 600'/%3E%3Cpolygon fill='%23999' points='450 450 540 300 360 300'/%3E%3Cpolygon fill='%23999' points='630 450 540 600 720 600'/%3E%3Cpolygon fill='%23FFF' points='630 450 720 300 540 300'/%3E%3Cpolygon points='810 450 720 600 900 600'/%3E%3Cpolygon fill='%23DDD' points='810 450 900 300 720 300'/%3E%3Cpolygon fill='%23AAA' points='990 450 900 600 1080 600'/%3E%3Cpolygon fill='%23444' points='990 450 1080 300 900 300'/%3E%3Cpolygon fill='%23222' points='90 750 0 900 180 900'/%3E%3Cpolygon points='270 750 180 900 360 900'/%3E%3Cpolygon fill='%23DDD' points='270 750 360 600 180 600'/%3E%3Cpolygon points='450 750 540 600 360 600'/%3E%3Cpolygon points='630 750 540 900 720 900'/%3E%3Cpolygon fill='%23444' points='630 750 720 600 540 600'/%3E%3Cpolygon fill='%23AAA' points='810 750 720 900 900 900'/%3E%3Cpolygon fill='%23666' points='810 750 900 600 720 600'/%3E%3Cpolygon fill='%23999' points='990 750 900 900 1080 900'/%3E%3Cpolygon fill='%23999' points='180 0 90 150 270 150'/%3E%3Cpolygon fill='%23444' points='360 0 270 150 450 150'/%3E%3Cpolygon fill='%23FFF' points='540 0 450 150 630 150'/%3E%3Cpolygon points='900 0 810 150 990 150'/%3E%3Cpolygon fill='%23222' points='0 300 -90 450 90 450'/%3E%3Cpolygon fill='%23FFF' points='0 300 90 150 -90 150'/%3E%3Cpolygon fill='%23FFF' points='180 300 90 450 270 450'/%3E%3Cpolygon fill='%23666' points='180 300 270 150 90 150'/%3E%3Cpolygon fill='%23222' points='360 300 270 450 450 450'/%3E%3Cpolygon fill='%23FFF' points='360 300 450 150 270 150'/%3E%3Cpolygon fill='%23444' points='540 300 450 450 630 450'/%3E%3Cpolygon fill='%23222' points='540 300 630 150 450 150'/%3E%3Cpolygon fill='%23AAA' points='720 300 630 450 810 450'/%3E%3Cpolygon fill='%23666' points='720 300 810 150 630 150'/%3E%3Cpolygon fill='%23FFF' points='900 300 810 450 990 450'/%3E%3Cpolygon fill='%23999' points='900 300 990 150 810 150'/%3E%3Cpolygon points='0 600 -90 750 90 750'/%3E%3Cpolygon fill='%23666' points='0 600 90 450 -90 450'/%3E%3Cpolygon fill='%23AAA' points='180 600 90 750 270 750'/%3E%3Cpolygon fill='%23444' points='180 600 270 450 90 450'/%3E%3Cpolygon fill='%23444' points='360 600 270 750 450 750'/%3E%3Cpolygon fill='%23999' points='360 600 450 450 270 450'/%3E%3Cpolygon fill='%23666' points='540 600 630 450 450 450'/%3E%3Cpolygon fill='%23222' points='720 600 630 750 810 750'/%3E%3Cpolygon fill='%23FFF' points='900 600 810 750 990 750'/%3E%3Cpolygon fill='%23222' points='900 600 990 450 810 450'/%3E%3Cpolygon fill='%23DDD' points='0 900 90 750 -90 750'/%3E%3Cpolygon fill='%23444' points='180 900 270 750 90 750'/%3E%3Cpolygon fill='%23FFF' points='360 900 450 750 270 750'/%3E%3Cpolygon fill='%23AAA' points='540 900 630 750 450 750'/%3E%3Cpolygon fill='%23FFF' points='720 900 810 750 630 750'/%3E%3Cpolygon fill='%23222' points='900 900 990 750 810 750'/%3E%3Cpolygon fill='%23222' points='1080 300 990 450 1170 450'/%3E%3Cpolygon fill='%23FFF' points='1080 300 1170 150 990 150'/%3E%3Cpolygon points='1080 600 990 750 1170 750'/%3E%3Cpolygon fill='%23666' points='1080 600 1170 450 990 450'/%3E%3Cpolygon fill='%23DDD' points='1080 900 1170 750 990 750'/%3E%3C/g%3E%3C/svg%3E");
 }

.snap-drawers {
  background: #2b63af;
}

.topbar, .mobile-topbar {
  background: #a22424;
  background-image: linear-gradient(to bottom, #ad2626, #8a1e1e)
}
.pattern {
  background: rgba(255,255,255, 0.1);
}

.nav ul ul {
  background: #404040;
}

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

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

.footer {
  background: #cdcdcd;
}

/**
 * Buttons
 */
.banner .button,
.banner .button.red {
  background-color: #7e7e7e;
  color: #fff
}

.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: #fff;
  color: #404040;
}

.banner .button:hover,
.banner .button.red:hover {
  background-color: #585858;
  color: #fff;
}

.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: #d2d2d2;
  color: #404040
}

.header .links .button {
  background-color: #fff;
  color: #404040;
}
.header .links .button:hover {
  background-color: #e0e0e0;
  color: #404040;
}

/**
 * Pagination
 */
.pagination a {
  background: #7e7e7e;
  color: #fff;
}
.pagination a:hover {
  background: #585858;
  color: #fff;
}

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

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

a,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.main .block-listing a {
  color: #9b2222;
}
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: #8AA3A5;
}

.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: #9b2222;
}
.feature .featured-item:hover h2 {
  color: #8AA3A5;
}

.listing-feature .featured-item h2 {
  color: #9b2222;
}
.listing-feature .featured-item:hover h2 {
  color: #8AA3A5;
}
