/**
Theme Name:     Home Pest Control
Theme URI:      http://example.com/
Description:    Child theme for the Zapp
Author:         Rob Flynn
Author URI:
Template:       zapp
Version:        0.1.0
*/

@import url("../zapp/style.css");

.white-bg {
  background-image: url('images/bg-test.png');
  background-repeat: repeat-y;
  background-position-x: 50%;
}

.bs {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.pad-left {
  padding-left: 20px;
}

.pad-right {
  padding-right: 20px;
}

/* Custom CSS Below  */
.navbar {
  z-index: 5 !important;
}

.leadgen-form {
  width: 369px;
  height: 325px;
  background-image: -moz-linear-gradient(bottom, #f1f1f1 0%, #bbbdbf 100%); /* gradient overlay */
  background-image: -o-linear-gradient(bottom, #f1f1f1 0%, #bbbdbf 100%); /* gradient overlay */
  background-image: -webkit-linear-gradient(bottom, #f1f1f1 0%, #bbbdbf 100%); /* gradient overlay */
  background-image: linear-gradient(bottom, #f1f1f1 0%, #bbbdbf 100%); /* gradient overlay */
  background-color: transparent !important;
}

.leadgen-form input[type=text] {
  height: 42px;
  opacity: 0.63; /* layer alpha */
  border: 3px solid #000; /* stroke */
  border-radius: 6px;
}

.leadgen-form fieldset {
  padding-top: 0px;
}

.leadgen-form select {
  width: 160px !important;
  height: 62px;
  opacity: .63; /* layer alpha */
  border: 3px solid #000; /* stroke */
  -moz-box-shadow: 0 0 21px rgba(62,62,62,.64); /* outer glow */
  -webkit-box-shadow: 0 0 21px rgba(62,62,62,.64); /* outer glow */
  box-shadow: 0 0 21px rgba(62,62,62,.64); /* outer glow */
}

.leadgen-form input:focus, .leadgen-form textarea:focus, .leadgen-form select:focus  { outline: none; box-shadow: none; -moz-box-shadow: none;}

.span12.legal {
	font-size:9px;
	line-height:10px;
	color:black;
}

@font-face {
    /* 77 Medium Condensed */
    font-family: 'Helvetica Neue Condensed Bold';
    src: url('fonts/helveticaneuecond_bold-webfont.eot');
    src: url('fonts/helveticaneuecond_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/helveticaneuecond_bold-webfont.woff') format('woff'),
         url('fonts/helveticaneuecond_bold-webfont.ttf') format('truetype'),
         url('fonts/helveticaneuecond_bold-webfont.svg#helveticaneuecondbold') format('svg');
    font-weight: normal;
    font-style: normal;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    /* 67 Medium Condensed */
    font-family: 'Helvetica Neue Medium Condensed';
    src: url('fonts/helveticaneue-mediumcond-webfont.eot');
    src: url('fonts/helveticaneue-mediumcond-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/helveticaneue-mediumcond-webfont.woff') format('woff'),
         url('fonts/helveticaneue-mediumcond-webfont.ttf') format('truetype'),
         url('fonts/helveticaneue-mediumcond-webfont.svg#helvetica_neue67MdCn') format('svg');
    font-weight: normal;
    font-style: normal;
     -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Univers Light Condensed';
    src: url('fonts/universltstd-lightcn-webfont.eot');
    src: url('fonts/universltstd-lightcn-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/universltstd-lightcn-webfont.woff') format('woff'),
         url('fonts/universltstd-lightcn-webfont.ttf') format('truetype'),
         url('fonts/universltstd-lightcn-webfont.svg#univers_lt_std47LtCn') format('svg');
    font-weight: normal;
    font-style: normal;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Univers Light Condensed Bold';
    src: url('fonts/universltstd-boldcn-webfont.eot');
    src: url('fonts/universltstd-boldcn-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/universltstd-boldcn-webfont.woff') format('woff'),
         url('fonts/universltstd-boldcn-webfont.ttf') format('truetype'),
         url('fonts/universltstd-boldcn-webfont.svg#univers_lt_std67BdCn') format('svg');
    font-weight: normal;
    font-style: normal;
    -moz-osx-font-smoothing: grayscale;
}

/* Hack for Chrome because it is weird about web fonts sometimes */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    /* 67 Medium Condensed */
    font-family: 'Helvetica Neue Medium Condensed';
    src: url('fonts/helveticaneue-mediumcond-webfont.svg#helvetica_neue67MdCn') format('svg');
  }

  @font-face {
      font-family: 'Univers Light Condensed';
      src: url('fonts/universltstd-lightcn-webfont.svg#univers_lt_std47LtCn') format('svg');
  }

  @font-face {
      font-family: 'Univers Light Condensed Bold';
      src: url('fonts/universltstd-boldcn-webfont.svg#univers_lt_std67BdCn') format('svg');
  }

  @font-face {
      font-family: 'Helvetica Neue Condensed Bold';
      src: url('fonts/helveticaneuecond_bold-webfont.svg#helveticaneuecondbold') format('svg');
  }
}

body {
  background-color: #f2f2f3;
}

  .span12 {
    width: 1000px;
  }
  .span11 {
    width: 915px;
  }
  .span10 {
    width: 830px;
  }
  .span9 {
    width: 745px;
  }
  .span8 {
    width: 660px;
  }
  .span7 {
    width: 575px;
  }
  .span6 {
    width: 490px;
  }
  .span5 {
    width: 405px;
  }
  .span4 {
    width: 320px;
  }
  .span3 {
    width: 235px;
  }
  .span2 {
    width: 150px;
  }
  .span1 {
    width: 65px;
  }
  .offset12 {
    margin-left: 1040px;
  }
  .offset11 {
    margin-left: 955px;
  }
  .offset10 {
    margin-left: 870px;
  }
  .offset9 {
    margin-left: 785px;
  }
  .offset8 {
    margin-left: 700px;
  }
  .offset7 {
    margin-left: 615px;
  }
  .offset6 {
    margin-left: 530px;
  }
  .offset5 {
    margin-left: 445px;
  }
  .offset4 {
    margin-left: 360px;
  }
  .offset3 {
    margin-left: 275px;
  }
  .offset2 {
    margin-left: 190px;
  }
  .offset1 {
    margin-left: 105px;
  }

  .page {
    background: #f2f2f3;
  }

  .container {
    width: 1024px !important;
  }

  .main-content .container {
    background-color: #fff;
  }

  .leadgen-form {
          width: 359px !important;
          height: 295px;
          background-image: url('images/leadgen-form-bg.png');
          background-repeat: no-repeat;
          background-color: transparent;
          padding-top: 15px;
          padding-bottom: 15px;
          padding-left: 5px;
          padding-right: 5px;
  }

  .landing-page .leadgen-form {
      position: absolute !important;
      right: 10px !important;
      top: 140px !important;
    }

    .landing-page .aim-box .right-column h1 {
      font-size: 65px !important;
      line-height: 65px;
    }

    .landing-page .aim-box .right-column h2 {
      font-size: 22px !important;
      line-height: 25px;
    }

    .landing-page .aim-box .right-column p {
      font-size: 16px !important;
      line-height: 30px !important;
    }

    .landing-page .aim-box .right-column {
      font-size: 25px !important;
    }


  /* Custom CSS Below  */
  .leadgen-form input[type=text],
  .leadgen-form input[type=tel],
  .leadgen-form input[type=email] {
          height: 32px;
          opacity: 0.63; /* layer alpha */
          border: 3px solid rgba(0, 0, 0, 0.6); /* stroke */
          border-radius: 6px;
          font-family: 'Helvetica Neue Medium Condensed';
          font-weight: normal;
          font-size: 14px;
  }

  .leadgen-form select {
    width: 160px !important;
    height: 32px;
    opacity: .63; /* layer alpha */
    border: 3px solid rgba(0, 0, 0, 0.6); /* stroke */
    -moz-box-shadow: 0 0 21px rgba(62,62,62,.64); /* outer glow */
    -webkit-box-shadow: 0 0 21px rgba(62,62,62,.64); /* outer glow */
    box-shadow: 0 0 21px rgba(62,62,62,.64); /* outer glow */
  }

  .leadgen-form h2 {
    color: #e81b2c;
    font-size: 32.29px;
    line-height: 20px;
    text-align: center;
    font-weight: normal;
    font-family: 'Helvetica Neue Medium Condensed';
  }

  .leadgen-form h2.red {
    color: #e81b2c !important;
    font-family: 'Univers Light Condensed Bold';
    font-size: 23.79px;
  }

  .leadgen-form h3 {
    color: #e81b2c;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    font-weight: normal;
    font-family: 'Helvetica Neue Medium Condensed';
    margin-top: 15px;
  }

  .leadgen-form h3.red {
    font-family: 'Univers Light Condensed';
    font-size: 16px;
  }

  .leadgen-form .callme {
    display: block;
    text-align: center;
    margin: 0 auto;
    width: 145px;
    height: 48px;
  }

  .header-contact {
    color: #8f8c8c;
    font-family: 'Helvetica Neue Medium Condensed';
    font-size: 19.75px;
    text-align: right;
    line-height: 40px;
    height: 40px;
  }

  .hero {
    height: 521px;
    position: relative;
  }

  .hero > .hero-image {
    width: 1024px;
    height: 521px;
  }

  .hero-text {
    position: absolute;
    top: 140px;
    left: 35px;
  }

  .hero-text h1, .hero-text h2, .hero-text li, .hero-text ul {
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 1.0);
  }

  .hero-text h1 {
    font-size: 52.82px;
    color: #fff;
    font-family: 'Helvetica Neue Medium Condensed';
  }

  .hero-text h2 {
    font-size: 38.72px;
    color: #fff;
    font-family: 'Helvetica Neue Medium Condensed';
  }

  .hero-text h1.phone {
    color: #e81b2c;
  }

  .hero-text ul {
    margin-top: 20px;
    list-style-image:url('images/white-square.png');
  }

  .hero-text li {
    font-size: 19.93px;
    color: #fff;
    font-family: 'Helvetica Neue Medium Condensed';
    margin-bottom: 10px;
    margin-left: 75px;
  }

  .geo-map img {
    width: 90%;
  }

  .main-content {
    margin: 0;
  }

  .main-content .post, .main-content .image-column {
    padding-top: 25px;
  }
  .main-content .post h1,.main-content .post h2, .carousel-container h1, .why-city h1 {
    color: #e81b2c;
    font-family: 'Helvetica Neue Condensed Bold';
  }

  .main-content .post h1 {
    font-size: 46.42px;
  }

  .main-content .post h2 {
    font-size: 32px;
  }

  .main-content .post p, .main-content .post li {
    color: #110202;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 18px;
    font-family: 'Univers Light Condensed';
  }

  .main-content .post b {
    font-weight: bold;
    font-size: 18px;
    font-family: 'Helvetica Neue Medium Condensed';
  }

  .main-content .post li {
    line-height: 1em;
    margin-bottom: 2px;
  }

  .main-content .image-column img {
    margin-top: 20px;
    text-align: center;
  }

  .main-content .image-column img:first-child {
    margin-top: 0;
  }

  .redbar {
    -moz-box-shadow: 7px 12px 20px 1px rgba(4,4,4,.35); /* drop shadow */
    -webkit-box-shadow: 7px 12px 20px 1px rgba(4,4,4,.35); /* drop shadow */
    box-shadow: 0px 12px 20px 1px rgba(4,4,4,.35); /* drop shadow */
    height: 109px;
    background-color: #e81b2c;
    color: #fdfcfc;
    font-size: 43px;
    font-family: 'Helvetica Neue Medium Condensed';
    line-height: 119px;
    text-align: left;
    padding-left: 100px;
    background-image: url('images/phone-icon.png');
    background-repeat: no-repeat;
    background-position: 40px 50%;
    z-index: 10;
    margin-bottom: 20px;
    margin-top: -15px;
    letter-spacing: 0.025em;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    position: relative;
  }

  .redbar.shadowed {
    -moz-box-shadow: 7px 12px 20px 1px rgba(4,4,4,.35) !important;
    -webkit-box-shadow: 7px 12px 20px 1px rgba(4,4,4,.35)  !important;
    box-shadow: 0px 12px 20px 1px rgba(4,4,4,.35)  !important;
    margin-bottom: 10px !important;
  }

  .small-red-bar.shadowed {
    -moz-box-shadow: 7px 12px 20px 1px rgba(4,4,4,.35) !important;
    -webkit-box-shadow: 7px 12px 20px 1px rgba(4,4,4,.35)  !important;
    box-shadow: 0px 12px 20px 1px rgba(4,4,4,.35)  !important;
    margin-bottom: 10px !important;
  }

  .redbar span.text {
    position: absolute;
    left: 100px;
    line-height: 111px;
  }

.redbar.no-icon {
    background-image: none;
 }

 .redbar .rb-left {
   float: left;
   width: 60%;
 }

 .redbar .phone-number {
   display: block;
   font-size: 34px;
   line-height: 40px;
 }

 .redbar .rb-right {
   font-size: 20.66px;
 }

 .force-984 {
  margin-left: 0px !important;
  width: 984px !important;
 }

 .redbar .current-time {
   display: block;
   font-size: 33.06px;
   line-height: 40px;
 }

 .redbar.no-top-margin {
   margin-top: 0 !important;
 }

  .container.greybar-container {
    height: 109px;
  }

  .dynamic-content {
    border-top: solid 1px #b1acac;
    border-bottom: solid 1px #b1acac;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .greybar {
    -moz-box-shadow: 7px 12px 20px 1px rgba(4,4,4,.35); /* drop shadow */
    -webkit-box-shadow: 7px 12px 20px 1px rgba(4,4,4,.35); /* drop shadow */
    box-shadow: 0px 12px 20px 1px rgba(4,4,4,.35); /* drop shadow */
    height: 109px;
    background-color: #757070;
    position: relative;
    background-image: url('/wp-content/themes/homepestcontrol-child/images/grey-bar-dashes-full.png');
    background-repeat: repeat-x;
    background-position: 1% 50%;
    /* width: 1024px; */
  }

  .bar-dashes {
    height: 100%;
  }

  .bar-content {
    color: #fdfcfc;
    font-family: 'Helvetica Neue Condensed Bold';
    font-size: 33px;
    line-height: 34px;
    text-align: center;
    padding-top: 20px;
    background-color: #757070;
}

.redbar.multi-line {
  padding-top: 30px;
  line-height: 30px;
  font-size: 30px;
  font-family: 'Helvetica Neue Medium Condensed';
  height: 80px;
  text-align: center;
}

.city-page .redbar.multi-line .phone-number {
  font-size: 48px;
}

.city-page .serving-area {
  display: block;
  font-family: 'Univers Light Condensed';
  font-size: 16px;
  margin-bottom: 10px;
  margin-top: 85px;
}

.city-page .geo-map {
  margin-top: -20px;
}

.serviceable-city .map-section #map_canvas {
  margin-top: -20px;
}

  .pests-box {
    padding-top: 25px;
  }

  .pests-box h1 {
    color: #e81b2c;
    font-family: 'Helvetica Neue';
    text-transform: uppercase;
    font-size: 45px;
    text-align: center;
  }

  .city-page .aim-box h1 {
    font-size: 65px;
    line-height: 65px;

  }

  .city-page .aim-box h2 {
    font-size: 27px;
    line-height: 27px;
    margin-top: -10px;
  }

  .aim-box li {
    color: #464646 !important;
  }

  .aim-box ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-top: -20px;
    border-top: solid 1px #b1acac;
    border-bottom: solid 1px #b1acac;
  }

  .aim-box li {
    line-height: 17px;
    font-size: 12px;
    vertical-align: top;
    margin-top: 10px;
  }
  .aim-box li:before {
      content: "• ";
      color: red; /* or whatever color you prefer */
      font-size: 20px;
  }

  .city-page .aim-box .right-column p {
    font-size: 18px;
    line-height: 26px;
  }

.aim-box .image-column {
  color: #020200;
  font-family: 'Univers Light Condensed';
  font-size: 18px;
}

.aim-box .image-column b {
  font-size: 24px;
  /*font-family: 'Helvetica Neue Condensed Bold';*/
  font-family: 'Alegreya Sans', sans-serif;
}

.aim-box .image-column p {
  margin-bottom: 20px;
  line-height: 24px;
  margin-left: 10px;
}

.aim-box .image-column .learn-more {
  color: #807f7c;
  font-size: 14px;
  line-height: 16px;
}

.aim-box .right-column .post {
  padding-left: 30px;
  padding-top: 45px;
}

.landing-page .top-content-sidebar {
  text-align: center;
}


  .hanging-box {
    background-color: #fff;
    height: 165px;
    -moz-box-shadow: 0 0 21px rgba(125,125,125,.4); /* outer glow */
    -webkit-box-shadow: 0 0 21px rgba(125,125,125,.4); /* outer glow */
    box-shadow: 0 0 21px rgba(125,125,125,.4); /* outer glow */
    /*margin-top: 110px;*/
    font-family: 'Helvetica Neue Medium Condensed';
    font-size: 19.75px;
  }

  .final {
    padding-bottom: 60px;
  }

  .hanging-box.left-box, .hanging-box.right-box {
    color: #e81b2c !important;
    font-family: 'Helvetica Neue Medium Condensed';
    font-size: 19.75px;
    line-height: 23px;
    text-align: center;
  }

  .hanging-box.right-box {
    font-size: 24px;
  }

  .find-zip-button {
    color: #fff;
    background: transparent;
    margin: 0;
    padding: 5px;
    border: 0;
    font-size: 12px;
    line-height: 15px;
    font-family: 'Helvetica Neue Condensed Bold';
    bottom: 15px;
    left: 50%;
    border-top: solid 1px rgba(255, 255, 255, 0.3);
    border-left: solid 1px rgba(255, 255, 255, 0.3);
    border-right: solid 1px rgba(0, 0, 0, 0.3);
    border-bottom: solid 1px rgba(0, 0, 0, 0.3);
    cursor: pointer;
  }

  .hanging-box.right-box .find-now-btn {
    border: 0;
    background: #e81b2c;
    color: #fff;
    padding: 5px;
    font-size: 15px;
    display: block;
    margin: 0 auto;

  }


  .hanging-box.left-box .number {
    display: block;
    font-size: 30px;
    line-height: 40px;
    font-family: 'Helvetica Neue Condensed Bold';
    font-size: 30.67px;
  }

  .inner-box {
    padding: 30px;
  }

  .inner-box input {
    height: 30px;
    width: 123px;
    background-image: url('images/input-background.png');
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 20px;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
  }

  .logo {
    position: absolute;
    top: -30px;
    left: 35px;
  }

  .carousel-container {
    position: relative;
    margin-bottom: 30px;
    margin-top: 30px;
  }

  .carousel-container h1 {
    color: #e81b2c;
    text-align: center;
  }


  .post {
    margin-bottom: 20px;
  }

  .wrapper .breadcrumbs {
    margin-bottom: 10px;
    list-style-type: none;
    text-indent: 0;
    margin: 0;
  }

  .wrapper .breadcrumbs li {
    display: inline-block;
  }

  .wrapper .breadcrumbs li:after {
    content: ">";
    padding-left: 10px;
    padding-right: 10px;
  }

  .wrapper .breadcrumbs li:last-child:after {
    content: "";
  }

  .wrapper > p {
    display: none;
  }

  .navbar {
    display: inline-block !important;
    width: auto !important;
    position: absolute;
    top: 0px;
    right: -10px;
  }

  .navbar ul li {
    background-image: url('images/menu-middle.png');
    background-repeat: repeat-x;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    border-left: solid 1px rgb(255, 255, 255);
  }

  header .navbar .menu-item a {
    color: #ffffff;
    font-size: 15px !important;
    text-shadow: none !important;
    font-family: 'Helvetica Neue Medium Condensed';
    font-weight: normal;
    display: inline-block;
    height: 18px;
  }

  header .navbar .menu-item.current-menu-item a {
    color: #444;
    font-weight: bold;
  }

  .navbar ul li:first-child {
    background-image: url('images/menu-left.png');
    background-repeat: no-repeat;
    border-left: solid 1px transparent;
  }

  .navbar ul li:last-child {
    background-image: url('images/menu-right.png');
    background-repeat: no-repeat;
  }

  .hero.city-hero {
    height: 447px;
    position: relative;
  }

  .hero.city-hero > .hero-image {
    width: 1024px;
    height: 447px;
  }

  .hero.city-hero .leadgen-form {
    position: absolute !important;
    right: 24px !important;
    top: 165px !important;
  }

  .hero.city-hero .hero-text h2:first-child {
    margin-bottom: 20px;
  }

  .hero.city-hero .hero-text h2:last-child {
    margin-top: 20px;
  }


  .hero.city-hero .hero-text {
   top: 170px !important;
  }

  .why-city {
    padding: 40px;
  }

  .why-city h1 {
    font-size: 46.42px;
    font-family: 'Helvetica Neue Condensed Bold';
    color: #e81b2c;
  }

  .why-city h2 {
    font-size: 30px;
    font-family: 'Helvetica Neue Condensed Bold';
    color: #464646;
  }

  .why-city p {
    font-family: 'Univers Light Condensed';
    font-size: 16px;
    color: #0c0000;
    line-height: 18px;
  }

  .city-page .left-column {
    font-family: 'Univers Light Condensed' !important;
  }

  .city-page .left-column ul {
    list-style-type: none;
    text-indent: 0;
    margin: 0;
    font-family: 'Univers Light Condensed' !important;
  }

  .city-page .city-address, .city-page .city-address li {
    line-height: 25px;
    font-size: 22px !important;
    font-family: 'Univers Light Condensed' !important;
  }

  .city-page .city-address h4 {
    font-size: 22px !important;
    font-family: 'Univers Light Condensed Bold' !important;
    line-height: 25px;
  }

  .pest {
    width: 160px;
    height: 220px;
    padding: 10px;
    position: relative;
    border: solid 1px #ccc;
    background-position: 50% 30% !important;
  }

  .pest.critical {
    background: #f52d2d;
    height: 260px;
    margin-top: -20px;
    background-position-y: 60px !important;
  }

  .pest.critical .pest-description {
    top: 162px !important;
  }

  .pest.cockroaches {
    background-image: url('images/pests/roach.jpg');
        background-repeat: no-repeat;
    background-size: 160px 95px;

  }

  .pest.termites {
    background-image: url('images/pests/termite.jpg');
        background-repeat: no-repeat;
    background-size: 160px 95px;

  }

  .pest.european_earwig,
  .pest.earwig {
    background-image: url('images/pests/earwhig.jpg');
        background-repeat: no-repeat;
    background-size: 160px 95px;

  }

  .pest.kudzu_bug {
    background-image: url('images/pests/kudzu.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.ants {
    background-image: url('images/pests/ant.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.cat_flea,
  .pest.flea {
    background-image: url('images/pests/flea.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.clothes_moth,
  .pest.indian_meal_moth,
  .pest.moth {
    background-image: url('images/pests/moth.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }


  .pest.indian_house_cricket,
  .pest.cricket {
    background-image: url('images/pests/cricket.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }


  .pest.bed_bug,
  .pest.bed_bugs {
    background-image: url('images/pests/bedbug.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }


  .pest.boxelder_bug {
    background-image: url('images/pests/boxelderbug.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }


  .pest.brown_marmorated_stink_bug {
    background-image: url('images/pests/stinkbug.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.clover_mite {
  }

  .pest.elm_root_borer {
  }


  .pest.flies {
    background-image: url('images/pests/fly.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }


  .pest.mealworm {
    background-image: url('images/pests/mealworm.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.mosquito {
    background-image: url('images/pests/mosquito.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.rodents {
    background-image: url('images/pests/mouse.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.bark_scorpion,
  .pest.scorpion {
    background-image: url('images/pests/scorpion.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.silverfish {
    background-image: url('images/pests/silverfish.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.spiders {
    background-image: url('images/pests/spider.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.western_conifer_seed_bug,
  .pest.seed_bug {
    background-image: url('images/pests/westernconfiger.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }


  .pest.wheat_weevil {
    background-image: url('images/pests/weevil.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.wood_tick,
  .pest.tick {
    background-image: url('images/pests/tick.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.beetle, .pest.beetles {
    background-image: url('images/pests/carpetbeetle.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.elm_root_borer {
	  background-image: url('images/pests/elmrootborer.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.clover_mite {
  background-image: url('images/pests/clovermite.jpg');
    background-repeat: no-repeat;
    background-size: 160px 95px;
  }

  .pest.other {
    background: #fff;
    background-size: 160px 95px;
  }

  .pest.critical .pest-name {
    color: #fcfbfb;
  }

  .pest.critical .pest-name:before {
    content: "Critical Pest Alert";
    display: block;
    font-size: 16px;
    text-align: center;
    margin-left: -10px;
  }

  .pest.critical .pest-description {
    color: #fcfbfb;
  }

  .pest-name {
   font-size: 16px;
   line-height: 17px;
   display: block;
   position: relative;
   top: 10px;
   color: #867e7e;
   font-family: 'Helvetica Neue Condensed Bold';
   text-align: center;
  }

  .pest-description {
   display: block;
   font-size: 11px;
   line-height: 12px;
   position: absolute;
   color: #867e7e;
   top: 140px;
   text-align: center;
   padding-left: 20px;
   padding-right: 35px;
  }

  .carousel_wrapper {
    display: inline-block !important;
    width: 875px;
    position: absolute;
    top: 0;
    left: 25px !important;
    margin: 0;
    background: #fff;
    -moz-box-shadow: 0 0 8px rgba(125,125,125,.26); /* outer glow */
    -webkit-box-shadow: 0 0 8px rgba(125,125,125,.26); /* outer glow */
    box-shadow: 0 0 8px rgba(125,125,125,.26); /* outer glow */
  }

  .carousel_wrapper li {
    width: 176px !important;
    height: 229px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .carousel_wrapper li img {
    border-right: solid 1px #eee;
  }


  .carousel_wrapper_prev {
    position: absolute;
    top: 190px;
    left: 30px;
    border: 0;
    background-image: url('images/prev.png');
    background-color: transparent;
    width: 26px;
    height: 37px;

    }

    .carousel_wrapper_next {
     position: absolute;
     border: 0;
     background-image: url('images/next.png');
     background-color: transparent;
     width: 26px;
     height: 37px;
     right: 30px;
     top: 190px;
    }

    .carousel_outer {
     width: 1000px;
     position: relative;
    }

  .pest {
    background: #fff;
  }

  .pests_wrapper ul {
    list-style-type: none !important;
    position: relative;
  }

  .pests_wrapper.has_critical {
    margin-top: 30px;
  }

  .pests_wrapper li {
    float: left;
  }

  .pests_wrapper:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
  }

.city-page .serviceable-cities,
.service-page .serviceable-zipcodes {
  list-style-type: none;
  text-indent: 0;
  margin: 0;
  height: 240px;
  overflow: auto;
  font-family: 'Univers Light Condensed';
  font-size: 16px;
}

.city-page .serviceable-cities a {
  color: #968f8f;
  text-decoration: none;
}

.city-page .serviceable-cities a:hover {
  color: #08c;
  text-decoration: underline;
}

.service-page .serviceable-zipcodes {
  height: 140px !important;
}

.city-page .serviceable-cities:after,
.service-page .serviceable-zipcodes:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.city-page .serviceable-cities li,
.service-page .serviceable-zipcodes li {
  font-size: 16px;
  color: #968f8f !important;
  display: block !important;
  float: left;
  width: 32%;
}

.city-page #left-sidebar {
  color: #020200;
  font-family: 'Univers Light Condensed';
  font-size: 18px;
  padding-top: 35px;
}

.city-page .aim-logo {
  margin-bottom: 15px;
}

.city-page #left-sidebar b {
  font-size: 24px;
  font-family: 'Helvetica Neue Condensed Bold';
}

.city-page #left-sidebar p {
  margin-bottom: 20px;
  line-height: 24px;
}

.city-page #left-sidebar .learn-more {
  color: #807f7c;
  font-size: 14px;
  line-height: 16px;
}

/* Serviceable City Page */
  .service-page .serving-area-box ul {
    list-style-type: none;
    margin: 0;
    text-indent: 0;
  }

  .service-page .serving-area {
    display: block;
    font-family: 'Univers Light Condensed';
    font-size: 16px;
    margin-bottom: 10px;
    /* margin-top: 50px; */
  }

  .service-page .city-services,
  .city-page .city-services {
    margin-bottom: 15px !important;
  }

  .service-page .redbar.call-bar,
  .city-page .redbar.call-bar {
    -moz-box-shadow: none;
    -webkit-box-shadow:  none;
    box-shadow:  none;
    background: url('images/call-bar-bg.png') repeat-x !important;
    height: 111px;
    /*margin: 0 !important;*/
    padding: 0 !important;
    font-family: 'Helvetica Neue Medium Condensed' !important;
    font-size: 30px;
    letter-spacing: 1px;
  }

  .redbar.call-bar .rb-left {

  }

  .service-page .call-bar .phone-number {
    font-size: 48px;
    line-height: 50px;
  }

  .service-page .call-bar .current-time {
    font-size: 48px;
    line-height: 50px;
  }
  .service-page .call-bar .rb-left,
  .service-page .call-bar .rb-right {
    padding-top: 22px;
  }

  .service-page .redbar.location-bar {
    font-family: 'Helvetica Neue Medium Condensed';
    position: relative;
  }

  .service-page .redbar.location-bar .rb-left {
    font-size: 30px;
    line-height: 30px;
    margin-top: -10px !important;
    margin-left: -70px !important;
  }

  .service-page .redbar.location-bar .rb-right {
    font-size: 20.66px !important;
    line-height: 22px;
  }

  .service-page .redbar.location-bar .current-city {
    font-size: 33.06px;
    line-height: 34px;
  }

  .service-page .redbar.location-bar .phone-number {
    font-size: 48px;
    line-height: 52px;
  }


  .service-page .redbar.service-bar {
    font-family: 'Helvetica Neue Medium Condensed';
    position: relative;
  }

  .service-page .redbar.service-bar .rb-left {
    font-size: 30px;
    line-height: 30px;
    margin-top:  -10px !important;
    margin-left: -20px !important;
    width: 70%;
  }

  .service-page .redbar.service-bar .rb-right {
    width: 300px;
    float: left;
    margin-left: -60px;
  }

  .service-page .service-bar .phone-number {
    font-size: 48px;
    line-height: 52px;
  }

  .service-page .redbar.service-bar .rb-right {
    font-size: 20.66px !important;
    line-height: 22px;
    margin-top: 5px !important;
  }

  .inner-pad {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-page .edit-city-button {
    background: #7b6c6c;
    border: none;
    text-decoration: none;
    color: #fff;
    font-family: 'Helvetica Neue Medium Condensed';
    font-size: 16px;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
    border-radius: 5px;
    border: solid 3px rgba(0, 0, 0, 0.1);
    height: 25px;
    position: absolute;
    right: 20px;
    top: 45px;
  }

  .service-page .edit-city-button a {
    line-height: 25px;
    color: #fff;
    margin-top: 3px !important;
    display: inline-block;
  }

  .service-page .leadgen_form {
    position: static !important;
    margin: 0 !important;
    top: 0 !important;
    right: 0 !important;
  }

  .service-page .redbar {
    margin-top: 0 !important;
/*    margin-bottom: 0 !important; */
  }

  .service-page .hanging-box {
    margin-top: 0 !important;
    height: 345px !important;
    text-align: left !important;
    height: auto !important;
  }

  .service-page .hanging-box h1 {
    font-size: 28px;
    color: #464646;
    font-family: 'Helvetica Neue Medium Condensed';
  }

  .service-page .hanging-box p {
    font-size: 18px;
    color: #060000;
    font-family: 'Univers Light Condensed';
  }


/* Directory Page */

.directory-page .font-modify h1 {
  font-size: 42px !important;
}

.directory-page .redbar {
  line-height: 120px !important;
  font-size: 30px !important;
}

.directory-page .redbar .phone-number {
  font-size: 40px;
  display: inline-block !important;
  margin-left: 20px;
}

.directory-page .estimate-box {
  margin-left: 25px !important;
  margin-right: -25px;
}

.directory-page .estimate-box p {
  color: #db2c3b;
  font-size: 24px;
}

.directory-page .estimate-box p b {
  color: #db2c3b;
  font-size: 26px;
}

.small-red-bar {
  height: 23px;
  background-image: url('/wp-content/themes/homepestcontrol-child/images/small-red-bar.png') !important;
  background-color: red !important;
  background-repeat: no-repeat !important;
  width: 1024px;
  margin: 0 auto;
}

.directory-page header {
  height: auto !important;
}

.directory-page .states-list {
  background-color: #e6e4e4;

}

.directory-page .states-list ul {
  list-style-type: none;
  margin: 0;
  text-indent: 0;
  margin-left: 150px;
}

.directory-page .states-list ul:after {
  content: "";
  display: block;
  clear: both;
}

.directory-page .states-list li {
  font-size: 17.13px;
  font-family: 'Helvetica Neue Medium Condensed' !important;
  width: 24%;
  float: left;
  height: 20px;
  line-height: 20px;
}

.directory-page .states-list li a {
  text-decoration: none;
  color: #180202;
}

.directory-page .right-column {
  margin-top: 30px;
}

.directory-page .right-column .orkin-man {
}

.directory-page .zip-code-box {
  width: 296px;
  height: 190px;
  background-image: url('images/red-zip-box.png');
  background-repeat: no-repeat;
  background-color: transparent;
  position: relative;
  margin-top: 15px;
}

.directory-page .zip-code-box h1 {
  color: #fff;
  font-size: 33.95px;
  font-family: 'Helvetica Neue Condensed Bold';
  text-align: center;
  line-height: 33.95px;
  padding-top: 20px;
}

.directory-page .zip-code-box button[type=submit] {
  color: #fff;
  background: transparent;
  margin: 0;
  padding: 5px;
  border: 0;
  font-size: 12px;
  line-height: 15px;
  font-family: 'Helvetica Neue Condensed Bold';
  position: absolute;
  bottom: 15px;
  left: 50%;
  margin-left: -35px;
  border-top: solid 1px rgba(255, 255, 255, 0.3);
  border-left: solid 1px rgba(255, 255, 255, 0.3);
  border-right: solid 1px rgba(0, 0, 0, 0.3);
  border-bottom: solid 1px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.directory-page .zip-code-box button[type=submit]:hover {
  border-bottom: solid 1px rgba(255, 255, 255, 0.3);
  border-right: solid 1px rgba(255, 255, 255, 0.3);
  border-left: solid 1px rgba(0, 0, 0, 0.3);
  border-top: solid 1px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
}

.directory-page .zip-code-box #zipcode-field {
  padding: 5px;
  background-image: url('images/input-background.png');
  background-repeat: no-repeat;
  height: 30px;
  width: 133px;
  border-radius: 3px;
  margin: 0 auto;
  display: block;
  font-size: 20px;
}

.directory-page .estimate-container {
  padding-bottom: 30px;
  padding-top: 20px;
}

/* INterior pages */
    .interior-page header .container {
      background: #fff;
    }

    .interior-page .header-contact span {
      padding-right: 10px;
    }

    .interior-page .hero {
      height: 249px !important;
    }

    .interior-page .hero-image {
      height: 249px;
    }

    .interior-page .hero-text {
      top: 0px;
      left: 0px;
      display: block;
      width: 100%;
    }

    .interior-page .hero-text .hero-text-inner {
      display: relative;
    }


    .interior-page .hero-text .hero-left {
      position: absolute;
      top: 180px;
      left: 60px;
    }

    .interior-page .hero-left,
    .interior-page .hero-left h1 {
      font-family: 'Univers Light Condensed';
      color: #fff;
      font-size: 37.88px;
      color: #fff;
    }

    .interior-page .hero-text .hero-right {
      position: absolute;
      top: 60px;
      right: 30px;
    }

    .interior-page .hero-text .hero-right,
    .interior-page .hero-text .hero-right h1 {
      font-family: 'Univers Light Condensed Bold';
      font-size: 30px !important;
      line-height: 25px;
      color: #fff;
      text-align: right;
    }

    .interior-page .redbar {
      margin-top: 0px !important;
    }

    .interior-page .redbar.multi-line .rb-left {
      width: 70%;
      margin-left: -70px;
    }

    .interior-page .find-zip-bar .rb-left {
      margin-top: -10px;
    }

    .interior-page .single-double.find-zip-bar .rb-left {
      margin-top: 0px !important;
    }

    .interior-page .find-zip-bar .phone-number {
      font-size: 48px;
      line-height: 48px;
    }

    .interior-page .find-zip-bar .rb-right {
      float: left;
      font-size: 27.75px;
    }

    .interior-page .single-double .rb-right {
      line-height: 27px;
      padding-top: 30px;
    }

    .interior-page .single-double .input-block {

      float: right;
      margin-right: 20px;
      position: relative;
      line-height: 0px;
      text-align: center;
      margin-top: 10px;
    }

    .redbar.multi-line.find-zip-bar .input-block {
      margin-top: -20px;
    }


    .interior-page .find-zip-bar .input-block input[type=text] {
    height: 30px;
    width: 123px;
    background-image: url('/wp-content/themes/homepestcontrol-child/images/input-background.png');
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 20px;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    border-radius: 5px;
    border: solid 2px rgba(180, 0, 0, 0.9);

    }

    .interior-page .content-container {
      padding-bottom: 30px;
    }

    .interior-page .content-container .right-column {
      border-top: solid 1px #b1acac;
      border-bottom: solid 1px #b1acac;
      padding-top: 10px;
      padding-bottom: 10px;
      margin-left: 8px;
      margin-right: 0px;
    }

    .interior-page .content-container .left-column img {
      width: 211px;
      height: 211px;
      /* border: solid 3px #e0e0dd; */
    }

    .interior-page .content-container h2 {
      font-family: 'Univers Light Condensed Bold';
      font-size: 30px;
      color: #464646;
    }

    .interior-page .content-container p {
      font-size: 16px;
      line-height: 19px;
      font-family: 'Univers Light Condensed';
      margin-top: 20px;
    }

    .interior-page .content-container p:first-child {
      margin-top: 0px;
    }

    .interior-page .content-container p b {
      font-family: 'Univers Light Condensed Bold';
      font-size: 18px;
    }

    .pest-ident h2 {
      color: #464646 !important;
      font-size: 30px;
    }

    .interior-page .shadowed-list {
      width: 750px;
      margin: 0 auto;
      box-shadow: 0px 0px 20px #7d7d7d;
      padding-left: 20px;
      padding-right: 20px;
      padding-top: 30px;
      padding-bottom: 10px;
      margin-bottom: 20px;
    }

    .interior-page .shadowed-list ol {
      margin: 0px;
      margin-left: 20px;
      width: 690px;
    }

    .interior-page .shadowed-list li {
      margin-bottom: 15px;
      color: #e81b2c;
      font-size: 19px;
      line-height: 21px;
      font-family: 'Univers Light Condensed Bold';
    }

    .interior-page .shadowed-list li span {
      color: #000;
      font-family: 'Univers Light Condensed';
    }

    .pest-ident .carousel_wrapper_prev,
    .pest-ident .carousel_wrapper_next {
      top: 100px !important;
    }

    .bed-bugs-page .hero h1,
    .bed-bugs-page .hero h2 {
      color: #e81b2c !important;
      text-shadow: none !important;
    }

    .bed-bugs-page .content-container {
      margin-bottom: 20px;
    }

    .interior-page .redbar .thin {
      font-family: 'Univers Light Condensed';
      font-size: 37px;
    }

    .interior-page .post h2 {
      color: #464646 !important;
      font-size: 32px;
    }


    /* Tab Nav */
[data-person-name] {
  display: none;
}

/* state page */
  .state-page header {
    height: auto !important;
  }

  .state-page #map_canvas {
    margin-top: 94px;
  }

  .state-page .redbar.call-bar {
    padding-top: 22px !important;
    font-size: 26.82px;
    font-family: 'Univers Light Condensed' !important;
    text-align: left;
    padding-left: 40px !important;
  }

  .state-page .redbar.call-bar b {
    font-size: 33.96px;
    font-family: 'Univers Light Condensed Bold' !important;
  }

  .state-page .redbar.call-bar .phone-number {
    display: block;
    font-size: 40px;
    font-family: 'Univers Light Condensed' !important;
  }

  .state-page h1 {
    font-family: 'Univers Light Condensed';
    font-size: 30px;
    color: #e81b2c;
  }

  .state-page h1 .state-name {
    display: block;
    font-family: 'Univers Light Condensed Bold';
    font-size: 40px;
  }


.state-page .well {
  background: #fff;
}

  .state-page .well:hover .span6 > h4 {
    color: #e81b2c;
  }

  .state-page #map_canvas {
    display: inline-block;
    border: solid 5px #9e9999;
  }

  .state-page #hpc-text {
    margin-left: 40px;
  }

  .state-page .well h4 {
    font-family: 'Univers Light Condensed Bold';
    font-size: 18px;
    color: #110202;
  }

  .state-page .well li {
    font-family: 'Univers Light Condensed';
    font-size: 16px;
    color: #110202;
  }

  .state-page .well li h4 {
    font-size: 16px;
  }

  .state-page .services-offered {
    padding-top: 45px;
    padding-left: 50px;
  }

  .state-page .well li .phone-number {
    font-family: 'Univers Light Condensed Bold';
  }

  .state-page .left-column b {
    font-weight: bold;
    font-size: 18px;
    font-family: 'Helvetica Neue Medium Condensed';
  }

  .state-page .leadgen-form {
    margin-top: 15px;
  }

  .state-page .left-column ul {
    list-style-type: none;
    text-indent: 0;
    margin: 0;
    font-family: 'Univers Light Condensed' !important;
  }


    .container {
    background: transparent !important;
  }

  .container.guttered {
    width: 984px !important;
    border-left: solid 24px #f2f2f3;
    border-right: solid 24px #f2f2f3;
    background: #fff !important;
  }

  .container.guttered.transparent {
    background: transparent !important;
  }

  .container.shadowed {
    margin-top: -20px !important;
  }

  .container.header-container {
    position: relative;
    height: 100px;
  }

  .container.header-container .logo {
    top: 0px !important;
  }

  .container.header-container .navbar {
    top: 40px !important;
  }

  .header-contact {
    padding-right: 20px !important;
  }

  .navbar {
    right: 10px !important;
  }

  .fancybox-inner {
  overflow: visible !important;
}

#leadgen-full-form-wrapper {
  width: 446px;
  height: 620px;

  background-color: #c2c2c1;
  border: solid 3px #565252;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 20px;

  display: none;
}

#leadgen-full-form-wrapper.termite_control {
  width: 426px;
  height: 630px;
}

#leadgen-full-form-wrapper.pest_control {
  width: 426px;
  height: 432px;
}

#leadgen-full-form-wrapper.termite_control.errors {
  height: 800px;
}

#leadgen-full-form-wrapper.pest_control.errors {
  height: 600px;
}

#leadgen-full-form-wrapper.pest_control #lower-form-pieces {
  display: none !important;
}

#leadgen-full-form-wrapper h1 {
  color: #e81b2c;
  font-size: 25.9px;
  font-family: 'Helvetica Neue Medium Condensed';
  text-align: center;
}

#leadgen-full-form-wrapper h2 {
  color: #e81b2c;
  font-size: 24px;
  font-family: 'Helvetica Neue Medium Condensed';
  text-align: left;
}

#leadgen-full-form-wrapper fieldset {
  padding-top: 0px;
}


#leadgen-full-form-wrapper input[type=text] {
  height: 42px;
  opacity: 0.63; /* layer alpha */
  border: 3px solid #000; /* stroke */
  border-radius: 6px;
}


#leadgen-full-form-wrapper select {
  height: 42px;
  width: 100% !important;
  opacity: .63; /* layer alpha */
  border: 3px solid #000; /* stroke */
  -moz-box-shadow: 0 0 21px rgba(62,62,62,.64); /* outer glow */
  -webkit-box-shadow: 0 0 21px rgba(62,62,62,.64); /* outer glow */
  box-shadow: 0 0 21px rgba(62,62,62,.64); /* outer glow */
}

#leadgen-full-form select[id=State] {
    width: 57px !important;
}

#leadgen-full-form label {
  color: #333331;
  font-size: 19.5px;
  font-family: 'Univers Light Condensed Bold';
  line-height: 42px;
}

#leadgen-full-form label.check {
  font-size: 16px;
}

#leadgen-full-form label.check.special {
  font-size: 14px;
  font-family: 'Univers Light Condensed';
}

#leadgen-full-form label.check > input {
   visibility: hidden;
   display: none;
}

#leadgen-full-form label.check > img {
    display: inline-block;
    padding: 0px;
    height: 20px;
    width: 23px;
    margin-bottom: 3px;
    background: url("images/check-box-empty.png");
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

#leadgen-full-form label.check > input:checked + img {
    display: inline-block;
    padding: 0px;
    height: 20px;
    width: 23px;
    margin-bottom: 6px;
    background: url("images/check-box-checked.png");
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

#leadgen-full-form label.check.special img {
  float: left;
  margin-top: 8px;
  margin-right: 10px;
}

#leadgen-full-form input:focus, #leadgen-full-form textarea:focus, #leadgen-full-form select:focus { outline: none; box-shadow: none; -moz-box-shadow: none;}

#leadgen-full-form-wrapper .error-msg {
  font-weight: bold;
  position: static;
}

/* pest control */
.pest-control .aim-block {
  background: #fff;
  box-shadow: 0px 0px 20px #7d7d7d;
  height: 282px;
  padding: 20px;
}

.pest-control #aim-arrow-wrapper {
  height: auto;
  margin-left: 20px;
  margin-right: 20px;
  position: relative;

}

.pest-control .letter {
  color: #e81b2c;
  display: block !important;
  text-align: center;
  font-size: 55px;
  line-height: 55px;
  font-family: 'Univers Light Condensed Bold';
}

.pest-control .word {
  color: #464646;
  display: block;
  text-align: center;
  font-size: 28px;
  line-height: 28px;
  font-family: 'Univers Light Condensed';
  margin-bottom: 20px;
}

.pest-control .aim-block p {
  color: #060000;
  font-size: 18px;
  font-family: 'Univers Light Condensed';
  text-align: center;
  line-height: 22px;
}

.pest-control .aim-arrow {
  background-image: url('/wp-content/themes/homepestcontrol-child/images/aim-arrow.png');
  background-repeat: no-repeat;
  width: 107px;
  height: 63px;
  background-color: transparent;
}

.pest-control .aim-arrow#arrow-1 {
  z-index: 5;
  position: absolute;
  left: 250px;
  top: 23px;
}

.pest-control .aim-arrow#arrow-2 {
  z-index: 5;
  position: absolute;
  left: 550px;
  top: 23px;
}

.pest-control .tabbed-nav .tabs {
  border-bottom: solid 1px #b1acac;
}

.pest-control .tabbed-nav .tabs .tab {
  font-family: 'Univers Light Condensed Bold';
  font-size: 18px;
  color: #585252;
  padding-left: 15px;
  padding-right: 15px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  display: inline-block;


background: #dcdad8; /* Old browsers */
background: -moz-linear-gradient(left, #dcdad8 0%, #eeedec 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#dcdad8), color-stop(100%,#eeedec)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, #dcdad8 0%,#eeedec 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, #dcdad8 0%,#eeedec 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, #dcdad8 0%,#eeedec 100%); /* IE10+ */
background: linear-gradient(to right, #dcdad8 0%,#eeedec 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dcdad8', endColorstr='#eeedec',GradientType=1 ); /* IE6-8 */
}

.pest-control .tabbed-nav .tabs .tab.active {
  color: #000;
}

.pest-control .tabbed-nav .tab-pane-content {
  padding-top: 20px;
  border-bottom: solid 1px #b1acac;
}

.pest-control .tabbed-nav .tab-pane-content p {
  font-family: 'Univers Light Condensed';
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 20px;
}

/* responsive tweaks */
.new-style.wrapper {
  width: auto;
  max-width: 1024px !important;
  margin: 0 auto;
}

.new-style .wrap-inner .leadgen-form {
  height: auto !important;
}

.new-style .wrap-inner {
  margin: 0 auto;
  width: 100%;
  padding-left: 48px;
  padding-right: 48px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.new-style .bottom-spacing {
  margin-bottom: 25px !important;
}

.new-style .bottom-margin {
  height: 30px;
}

.new-style header {
  background: transparent !important;
}

.new-style .small-red-bar {
  width: 100% !important;
}

/* Pest Ident */
.pest-ident .pest-grid {
  width: auto;
  margin-left: 40px;
  margin-right: -10px;
  margin-bottom: 20px;
}

.pest-ident .pest {
  display: inline-block;
  margin: 5px;
  height: 160px;
  background-position: 50% 50% !important;
  cursor: pointer;
  text-decoration: none;
  float: left;
  margin-top: 15px;
  text-align: center;
  color: #444;
  text-decoration: none;
  font-family: 'Univers Light Condensed';
  font-size: 18px;
}

.pest-ident .pest.other {
  color: #000;
  font-family: 'Univers Light Condensed';
  font-size: 18px;
  line-height: 1.1em;
  padding-top: 40px;
  text-align: center;
}


.no-hero-page .header-container {
  height: 130px;
}

.no-hero-page .header-contact {
  padding-right: 0px !important;
  top: 40px;
  right: -5px;
  position: absolute;
}

.no-hero-page header .logo {
  top: 15px;
}

.no-hero-page .navbar {
  top: 80px;
  margin-right: -48px;
}


/* Desktop */
@media only screen and (min-width: 1024px) {
  .new-style .wrap-inner {
    margin: 0 auto;
  }

  .directory-page .states-list {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* Mobile */
@media only screen and (max-width: 1000px) {
  .new-style #leadgen-form {
    display: none;
  }

  .new-style .redbar {
    display: none;
  }

  .pest-control .aim-arrow {
    display: none;
  }

  .pest-ident .shadowed-list {
    box-shadow: none !important;
    width: auto !important;
  }

  .pest-ident .shadowed-list ol {
    width: auto !important;
  }

  .pest-ident .pest-grid {
    width: auto;
  }

  .greybar {
    display: none;
  }

  .directory-page .states-list {
    padding: 10px;
    margin-top: 15px;
  }

  .directory-page .states {
    margin-left: 0px !important;
  }

  .directory-page .states-list .state {
    width: 49%;
  }

  .carousel-container {
    display: none;
  }

  .hanging-box {
    margin: 5px;
    height: auto;
  }

  .hanging-box.right-box {
    margin-top: 20px;
  }

  .new-style .wrap-inner {
    padding-left: 5px;
    padding-right: 5px;
  }

  .post {
    padding-left: 5px;
    padding-right: 5px;
  }

  .aim-box .right-column .post {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
  }

  .hero .logo {
    top: 60px;
    left: 50%;
    margin-left: -98px;
    display: block;
  }


  .header-contact {
    display: none;
  }

  .hero {
    height: auto;
  }

/*
  header .wrap-inner {
    display: none;
  }
*/
  .hero-image {
    display: none;
  }

  .hero-text {
    position: static;
    background: #444;
    padding: 10px;
    padding-top: 120px;
    width: auto;
  }

  .hero-text h1 {
    font-size: 40px;
    font-family: 'Helvetica Neue Medium Condensed';
    line-height: 1.0em;
    text-align: center;
    text-shadow: none;
  }

  .hero-text h2 {
    color: #444;
    text-shadow: none;
    font-size: 25px;
    text-align: center;
  }

  .hero-text ul {
    margin-left: 0;
  }

  .btn.btn-navbar {
    color: #444;
  }

  .hero {
    background: #444;
    padding-top: 30px;
  }

  .interior-page .hero-left {
    display: none;
  }

  .interior-page .hero {
    height: auto !important;
  }

  .interior-page .hero-text {
    width: auto !important;
    padding-top: 40px;
  }

  .interior-page .hero-text .hero-right {
    position: static !important;
    padding-top: 100px;
  }

  .interior-page .hero-text .hero-right,
  .interior-page .hero-text .hero-right h1 {
    text-align: center;
    margin-left: 0;
    font-size: 23px !important;
    line-height: 25px;
  }

  .interior-page header .wrap-inner {
    display: none;
  }

  .landing-page .top-content-sidebar {
    display: none;
  }

  .landing-page .list-center-wrap {
    text-align: center;
  }

  .landing-page .list-center-wrap ul {
    display: inline-block;
    text-align: left;
    margin: 0;
    padding: 0;
    zoom:1;
    *display: inline;
  }


.landing-page .list-center-wrap ul li {
  margin-left: 30px;
}

  .pest-control #aim-arrow-wrapper {
    margin-left: 5px;
    margin-right: 5px;
  }

  .pest-control #aim-arrow-wrapper .aim-block {
    margin: 0;
    margin-bottom: 10px;
    height: auto;
  }

  .content-container .left-column {
    text-align: center;
  }

  .content-container .left-column img {
    padding-bottom: 20px;
  }

  .content-container-header {
    text-align: center;
  }

  .interior-page .shadowed-list {
    width: auto;
  }

  #map_canvas {
    width: 100% !important;
    box-sizing: border-box;
  }

  .hero-city-blurb {
    display: none;
  }

  .why-city {
    padding: 5px;
  }

  /* Serviceable Area Page */
  .serviceable-city .hero-left {
    display: none;
  }

  .serviceable-city .hero-text .hero-right {
    position: static !important;
  }

  .serviceable-city .hero-text {
    width: auto !important;
    position: static !important;
    height: auto !important;

  }

  .serviceable-city .hero-text h1 {
    text-align: center !important;
    line-height: 1.1em !important;
  }

  .serviceable-city .hero-text h2 {
    text-align: center !important;
    line-height: 1.1em !important;
  }

  .serviceable-city .hero-text .hero-right h1.phone {
    margin-top: 0 !important;
  }

  .serviceable-city .service-area-hero {
    height: auto !important;
  }

  .serviceable-city #map_canvas {
    margin-top: 25px;
  }

  .serviceable-city .map-wrapper {
    height: auto !important;
  }

  .serviceable-city #map_canvas {
    margin-left: 0;
  }

  .no-hero-page .logo-container {
    text-align: center;
    padding-top: 60px;
  }

  .no-hero-page .logo-container .logo {
    position: static;
  }

  .no-hero-page .navbar {
    top: 0;
    margin-right: 0;
  }

  .directory-page .estimate-box {
    margin-left: 0 !important;
    margin-right: 0 !important;
    line-height: 1.1em;
  }

  .state-page header {
    height: 180px !important;
  }

  .contact-us .leadgen-form {
  width: 100% !important;
  height: auto;
  background-image: none !important;
  background-color: #f0f0f0 !important;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 5px;
  padding-right: 5px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: block !important;
  }

  .contact-us .main-content ul {
    padding-left: 10px !important;
  }

  .contact-us .main-content  ul li {
    padding-left: 5px !important;
  }

  .contact-us header .wrap-inner,
  .city-page header .wrap-inner,
  .serviceable-city header .wrap-inner {
    display: none;
  }

  .city-page .hero-text h2 {
    color: #fff;
  }

  .city-page .hero.city-hero {
    height: auto !important;
  }
}

@media only screen and (max-width: 400px) {
  .pest-grid {
    width: 170px !important;
    margin: 0 auto !important;
  }
}

a.red {
    text-decoration: none;
    color: #e81b2c;
}
a.red:hover {
    text-decoration: underline;
    color: #e81b2c;
}

a.grey {
    text-decoration: none;
    color: #8f8c8c;
}
a.grey:hover {
    text-decoration: underline;
    color: #8f8c8c;
}

a.white {
    text-decoration: none;
    color: #fff;
}
a.white:hover {
    text-decoration: underline;
    color: #fff;
}

a.black {
    text-decoration: none;
    color: #000;
}
a.black:hover {
    text-decoration: underline;
    color: #000;
}

/* ==========================================================================
   Part 2 (2026-11): "Featured Provider" reskin (Figma: Pest Control Plans Redesign).
   Main pages: muted blue, full PestControlPlans logo. Marketplace (/orkin/ pages,
   body.geomapper and the directory): Orkin red, condensed PCP logo.
   Orkin's logo and red stay inside the Featured Provider boxes everywhere.
   ========================================================================== */

/* ---------- header (desktop): white band, site logo left, Featured Provider box right.
   Phones keep the theme's layout (header line hidden, logo centred), as on the live site. */
@media only screen and (min-width: 1001px) {
  header > .wrap-inner { position: relative; height: 104px; }
  .header-contact.fp-box {
    position: absolute; top: 14px; right: 10px; left: auto;
    display: flex; align-items: center; gap: 14px;
    width: auto; max-width: 560px; height: auto; padding: 8px 18px 8px 12px !important;
    border: 3px solid #e81b2c; border-radius: 10px; background: #fff;
    text-align: left; line-height: 1.15;
  }
  .header-contact.fp-box > span { display: contents; }
  .fp-box .fp-orkin { width: 104px; height: auto; flex: none; }
  .fp-box .fp-text { color: #152a37; font-size: 19px; font-family: 'Helvetica Neue Medium Condensed'; }
  .fp-box .fp-text a, .fp-box .fp-text a.grey { color: #e81b2c; }
  .hero .logo { top: -86px !important; left: 25px; width: auto; height: 62px; }
  /* pages without a photo header (locations directory, state pages) */
  .no-hero-page .header-container { height: 140px; }
  .no-hero-page header > .wrap-inner { height: auto; }
  .no-hero-page .header-contact.fp-box { top: 10px !important; right: 10px !important; width: auto !important; }
  .no-hero-page .navbar { top: 100px; }
  .fp-box .fp-text a { white-space: nowrap; }
  .no-hero-page header .logo, .no-hero-page .logo-container .logo { top: 26px; width: auto; height: 50px; }
  .geomapper .hero .logo { height: 50px; top: -78px !important; }
}
@media only screen and (max-width: 1000px) {
  .hero .logo { width: auto; height: 46px; left: 50%; margin-left: 0; transform: translateX(-50%); background: #fff; padding: 6px 10px; border-radius: 6px; }
  .no-hero-page header .logo, .no-hero-page .logo-container .logo { width: auto; height: 46px; }
  .landing-page .hero::after { display: none; }
  /* compact Featured Provider box at the top, as in the Figma's iPad and iPhone frames */
  .header-contact.fp-box {
    display: flex !important; position: static !important; align-items: center; justify-content: center; gap: 10px;
    width: auto !important; height: auto; margin: 6px; padding: 6px 10px !important;
    border: 2px solid #e81b2c; border-radius: 8px; background: #fff; text-align: left; line-height: 1.15;
  }
  .header-contact.fp-box > span { display: contents; }
  .fp-box .fp-orkin { width: 70px; height: auto; flex: none; }
  .fp-box .fp-text { color: #152a37; font-size: 15px; font-family: 'Helvetica Neue Medium Condensed', Arial, sans-serif; }
  .fp-box .fp-text a { color: #e81b2c; white-space: nowrap; }
  .no-hero-page .header-container { height: auto; }
  .no-hero-page header { height: auto !important; }
  /* state pages and the directory: box first, then logo and menu, as on the other pages */
  .no-hero-page .header-container { display: flex; flex-direction: column; }
  .no-hero-page .header-container > .span10 { order: -1; width: auto; margin: 0; float: none; }
  .no-hero-page .header-container > .logo-container { width: auto; float: none; text-align: center; }
  .no-hero-page .navbar { position: static !important; margin: 0 6px !important; }
  .no-hero-page .header-contact.fp-box { top: auto !important; right: auto !important; }
  header > .wrap-inner { display: block !important; }
}

/* ---------- lead form: Featured Provider box (Orkin logo, red border) */
#leadgen-form.leadgen-form {
  background: #f1f1f1 none !important; border: 3px solid #e81b2c; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25); height: auto; padding-bottom: 12px;
}
#leadgen-form .fp-form-logo { display: block; width: 96px; height: auto; margin: 8px auto 2px; }
#leadgen-form h2.red, #leadgen-form h3.red { color: #152a37 !important; line-height: 1.1; }
#leadgen-form h2.red { margin-top: 0 !important; }
#leadgen-form h2.red a.red { color: #e81b2c !important; display: block; margin-top: 4px; }

/* ---------- labels */
.fp-tag {
  display: inline-block; vertical-align: middle; margin: 0 0 6px; padding: 3px 12px;
  background: #152a37; color: #fff; border-radius: 2px;
  font: 15px/1.3 'Helvetica Neue Medium Condensed', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0; text-transform: none; text-shadow: none;
}
.redbar.fp-tagged { position: relative; }
.redbar.fp-tagged > .fp-tag { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.redbar.fp-tagged > .fp-tag.fp-tag-from { left: 22px; transform: none; }
.redbar.fp-tagged { padding-top: 18px; }
.redbar.call-bar.fp-tagged > .fp-tag { top: -13px; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.redbar.call-bar.fp-tagged { overflow: visible; }

.fp-about {
  margin: 26px 20px 18px; border-bottom: 3px solid #e81b2c; line-height: 0;
}
.fp-about span {
  display: inline-block; margin-left: 30px; padding: 7px 16px 5px; line-height: 1.2;
  background: #e81b2c; color: #fff; border-radius: 6px 6px 0 0;
  font: 15px 'Helvetica Neue', Helvetica, Arial, sans-serif; text-transform: uppercase;
}
.post .fp-about { margin: 6px 0 18px; }
.post .fp-about span { margin-left: 0; }

.fp-badge {
  display: inline-block; margin-bottom: 8px; padding: 6px 10px 8px; background: #fff;
  border-radius: 4px; box-shadow: 0 1px 6px rgba(0, 0, 0, .3); text-align: center; line-height: 1;
}
.fp-badge span { display: block; margin-bottom: 4px; color: #e81b2c; font: 15px 'Helvetica Neue Medium Condensed', Arial, sans-serif; text-shadow: none; }
.fp-badge img { display: block; width: 92px; height: auto; margin: 0 auto; }

/* light grey section bars, as in the Figma */
.greybar { background-color: #e1e1e1; }
.greybar .bar-content { background: #e1e1e1 !important; }
.greybar .bar-content, .greybar h1, .greybar h2 { color: #152a37; }

/* ---------- main pages: muted blue instead of Orkin red */
body:not(.geomapper):not(.page-template-page-geomapper-directory) .redbar { background-color: #152a37; }
body:not(.geomapper):not(.page-template-page-geomapper-directory) .redbar > .fp-tag { background: #ffb700; color: #152a37; }
body:not(.geomapper):not(.page-template-page-geomapper-directory) .small-red-bar { background: #152a37 none !important; }
body:not(.geomapper):not(.page-template-page-geomapper-directory) .hero h1,
body:not(.geomapper):not(.page-template-page-geomapper-directory) .hero h2 { color: #fff; }
body:not(.geomapper):not(.page-template-page-geomapper-directory) h1,
body:not(.geomapper):not(.page-template-page-geomapper-directory) h2,
body:not(.geomapper):not(.page-template-page-geomapper-directory) .post h1,
body:not(.geomapper):not(.page-template-page-geomapper-directory) .main-content h1 { color: #144b6a; }
body:not(.geomapper):not(.page-template-page-geomapper-directory) .main-content span[style*="#e81b2c"],
body:not(.geomapper):not(.page-template-page-geomapper-directory) .main-content span[style*="#56a500"] { color: #144b6a !important; }
body:not(.geomapper):not(.page-template-page-geomapper-directory) .hero-text span[style*="#e81b2c"],
body:not(.geomapper):not(.page-template-page-geomapper-directory) .hero-text a.red { color: #ffb700 !important; }
body:not(.geomapper):not(.page-template-page-geomapper-directory) .hanging-box .inner-box,
body:not(.geomapper):not(.page-template-page-geomapper-directory) .hanging-box .inner-box a.red { color: #152a37; }
body:not(.geomapper):not(.page-template-page-geomapper-directory) .find-now-btn { background-color: #144b6a; }
body:not(.geomapper):not(.page-template-page-geomapper-directory) .redbar,
body:not(.geomapper):not(.page-template-page-geomapper-directory) .redbar h1,
body:not(.geomapper):not(.page-template-page-geomapper-directory) .redbar h2 { color: #fff; }

/* hero line added under "on home pest control" */
.hero-text h2.fp-hero-line { margin-top: 0; }

/* branch pages: the added hero line needs room above the service-area line and the taller form */
.hero.city-hero .hero-text { top: 112px !important; }
.hero.city-hero #leadgen-form { top: 58px !important; }
.city-hero #leadgen-form h3.red { margin-bottom: 4px; }

/* homepage: the "same day" tab was painted into the old photo; drawn here so it stays out of the page text */
.landing-page .hero::after {
  content: "Get same day service when you call before 12 p.m.!";
  position: absolute; top: 58px; right: 0; padding: 6px 18px 6px 16px;
  background: #e81b2c; color: #fff; border-radius: 22px 0 0 22px; box-shadow: 0 2px 4px rgba(0,0,0,.35);
  font: 20px 'Helvetica Neue Medium Condensed', Arial, sans-serif;
}
.landing-page #leadgen-form { top: 120px; }

/* main pages: remaining Orkin-red text from the theme */
body:not(.geomapper):not(.page-template-page-geomapper-directory) .bed-bugs-page .hero h1, body:not(.geomapper):not(.page-template-page-geomapper-directory) .bed-bugs-page .hero h2 { color: #144b6a !important; }
body:not(.geomapper):not(.page-template-page-geomapper-directory) .interior-page .shadowed-list li, body:not(.geomapper):not(.page-template-page-geomapper-directory) .pest-control .letter { color: #144b6a; }
body:not(.geomapper):not(.page-template-page-geomapper-directory) .aim-box li:before { color: #144b6a; }
body:not(.geomapper):not(.page-template-page-geomapper-directory) .hanging-box.left-box, body:not(.geomapper):not(.page-template-page-geomapper-directory) .hanging-box.right-box { color: #152a37 !important; }
/* branch pages: room between the service-area line and the tag on the bar below */
.hero.city-hero .hero-city-blurb { bottom: 22px !important; }

/* ==========================================================================
   Part 2b (2026-11): Points of Service title box (replaces the A.I.M. logo image).
   ========================================================================== */
.pos-title {
  display: inline-block; margin: 0 0 14px; padding: 8px 14px;
  border: 3px solid #e81b2c; border-radius: 8px; background: #fff; color: #e81b2c;
  font: 26px/1.1 'Helvetica Neue Condensed Bold', 'Helvetica Neue', Arial, sans-serif;
}
body:not(.geomapper):not(.page-template-page-geomapper-directory) .pos-title { border-color: #144b6a; color: #144b6a; }
.pest-control .aim-block .letter { white-space: nowrap; }

/* Readable hero text (2b): the town hero's "Serving the greater X Area" was black on a dark,
   busy photo. White with a dark shadow, like the rest of the hero text; lifted clear of the tag
   on the bar below. Other page types were checked and are already readable. */
.serviceable-city .hero-text .hero-left h2 {
  color: #fff !important; text-shadow: 0 0 8px #000, 0 1px 3px #000 !important;
}
@media only screen and (min-width: 1001px) {
  .serviceable-city .hero-text .hero-left { padding-bottom: 14px; }
}

/* Homepage hero photo on phones and tablets (2b, owner's choice). The theme hides the photo at
   1000px and narrower and shows the hero text on plain gray; now the photo sits behind the text,
   darkened so the white text stays readable. The text block keeps its size and place. */
@media only screen and (max-width: 1000px) {
  .home .hero { position: relative; z-index: 0; overflow: hidden; }
  .home .hero > .hero-image {
    display: block; position: absolute; z-index: -1; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: 25% 40%; filter: brightness(.42);
  }
  .home .hero-text { background: transparent; }
}

/* Same on city pages (town, town-area and branch pages): their hero photo shows behind the hero
   text on phones and tablets, darkened, covering the whole text block. */
@media only screen and (max-width: 1000px) {
  .geomapper .hero.city-hero, .geomapper .serviceable-city .service-area-hero {
    position: relative; z-index: 0; overflow: hidden; height: auto !important;
  }
  .geomapper .hero.city-hero > .hero-image, .geomapper .serviceable-city .service-area-hero .hero-image {
    display: block !important; position: absolute; z-index: -1; top: 0; left: 0;
    width: 100% !important; height: 100% !important;
    object-fit: cover; object-position: 30% 30%; filter: brightness(.42);
  }
  .geomapper .hero.city-hero .hero-text, .geomapper .serviceable-city .service-area-hero .hero-text {
    background: transparent !important;
  }
}

/* Phones and tablets: small PCP logo top left, level with the MENU button, so the hero leads with
   the Featured Provider message (owner, 2026-11-16). Was a large logo centred in the hero. */
@media only screen and (max-width: 1000px) {
  .hero .logo, .geomapper .hero .logo {
    top: 5px !important; left: 8px !important; transform: none !important;
    height: 36px !important; padding: 4px 8px !important; box-sizing: border-box;
  }
  /* the room the big logo took above the hero text */
  .home .hero-text, .geomapper .hero .hero-text { padding-top: 62px !important; }
  .interior-page .hero, .interior-page .hero-text { height: auto !important; }
  .interior-page .hero-text { padding-top: 52px !important; }
  .interior-page .hero-text .hero-right { padding-top: 0 !important; height: auto !important; }
  /* pages without a hero (state pages, the directory): Featured Provider box, then logo left and
     MENU right on one line; the open menu spans the full width */
  .no-hero-page .header-container { flex-direction: row !important; flex-wrap: wrap; align-items: flex-start; }
  .no-hero-page .header-container > .span10 { display: contents; }
  .no-hero-page .header-contact.fp-box { order: -1; flex: 0 0 calc(100% - 12px); box-sizing: border-box; }
  .no-hero-page .header-container > .logo-container {
    order: 0; flex: 0 0 auto; height: auto !important; min-height: 0 !important;
    margin: 0 0 8px 8px !important; padding: 0 !important; text-align: left !important;
  }
  .no-hero-page .header-container .logo-container .logo {
    position: static !important; display: block; top: auto !important;
    height: 36px !important; width: auto !important; margin: 0 !important;
  }
  .no-hero-page .header-container .navbar { order: 1; flex: 1 0 100%; margin: -44px 0 8px !important; pointer-events: none; }
  .no-hero-page .header-container .navbar .navbar-inner > * { pointer-events: auto; }
  .no-hero-page .navbar .btn-navbar { float: right; margin-right: 6px; }
}

/* Same on the other pages with a hero photo (pest pages, Why Orkin and similar): the photo shows
   behind the hero text on phones and tablets. Their photos are already dark, so less tint. */
@media only screen and (max-width: 1000px) {
  .interior-page .hero { position: relative; z-index: 0; overflow: hidden; }
  .interior-page .hero > .hero-image {
    display: block !important; position: absolute; z-index: -1; top: 0; left: 0;
    width: 100% !important; height: 100% !important;
    object-fit: cover; object-position: 15% 50%; filter: brightness(.65);
  }
  .interior-page .hero-text { background: transparent !important; }
}
/* The bed bug page has dark blue hero text on a light photo (as on desktop): lighten, not darken. */
@media only screen and (max-width: 1000px) {
  .interior-page.bed-bugs-page .hero > .hero-image { filter: brightness(1.25) contrast(.7) saturate(.8); }
}

/* Plain pages (thank-you, sorry, legal disclaimer: wrapper .blank-page) have their own header markup,
   which the Featured Provider header rules above did not cover. Size the new logo and place the box
   and menu as on the other pages without a photo header; on phones, fit the page to the screen. */
@media only screen and (min-width: 1001px) {
  .blank-page .container.header-container { position: relative; height: 140px; }
  .blank-page .container.header-container .logo { position: absolute; top: 26px !important; left: 60px; width: auto; height: 50px; }
  .blank-page .header-contact.fp-box { top: 10px !important; right: 10px !important; width: auto !important; }
  .blank-page .container.header-container .navbar { position: absolute; top: 100px !important; right: 0; }
}
@media only screen and (max-width: 1000px) {
  .blank-page .container, .blank-page .small-red-bar { width: auto !important; max-width: 100%; box-sizing: border-box; }
  .blank-page header, .blank-page .container.header-container { height: auto !important; }
  .blank-page .container.header-container > .row-fluid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
  .blank-page .container.header-container .span10 { display: contents; }
  .blank-page .header-contact.fp-box { order: -1; flex: 0 0 calc(100% - 12px); box-sizing: border-box; top: auto !important; right: auto !important; }
  .blank-page .container.header-container .span2 { width: auto; float: none; margin: 0; }
  .blank-page .container.header-container .logo { position: static; width: auto; height: 40px; margin: 6px 12px; }
  .blank-page .container.header-container .navbar { order: 1; position: static !important; margin: 8px 12px 0 !important; }
  .blank-page .main-content .container .span12 { width: auto; float: none; margin: 0; padding: 0 12px; }
}
