#main-nav > li.menu-frame-on.act > a {
  padding: 14px 16px 14px;
  border-radius: 0px;
  vertical-align: top;
}
#main-nav > li.menu-frame-on > a, #main-nav.menu-material-style > li > a, .logo-classic #main-nav > li.menu-frame-on:first-child > a {padding: 14px 16px 14px ;
  border-radius: 0px;
  vertical-align: top !important;}
  #main-nav > li {
  margin: 0 -2px;
}
#main-nav.menu-material-style > li:not(.act):hover > a > span, #main-nav > li.menu-frame-on:not(.act) > a:hover span:not(.rippleAnimate) {color: #3a3a3a;}

.qbq-hero {
    height: 300px;
  }
 .headshot {
  background-repeat: no-repeat;
  background-image: url('images/qbq-john-without-button.png');
  background-size: 325px 262px;
  display: none;
  position: absolute;
  height: 275px;
  width: 350px;
}
.headshot {
  background-size: 325px 262px;
  height: 262px;
  left: -20px;
  top: -49px;
  width: 350px;

}
.qbq-hero blockquote {
  background-color: transparent;
  border: none;
  color: #fff;
  float: none;
  font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  left: 40px;
  line-height: 1.35em;
  margin: 20px 0;
  padding: 0;
  position: absolute;
  text-align: right;
  top: 26px;
  width: 325px;
}
.qbq-hero blockquote span {
  display: inline-block;
}
.books {
  height: 100%;
  margin-left: -160px;
  left: 50%;
  padding: 0;
  position: absolute;
  width: 320px;
}
 .books {
  bottom: -33px;
  right: 15px;
}



.qbq-hero {
  background-color: #1665A5;
  display: none;
  overflow: hidden;
  position: relative;
  z-index: 999;
}
.headshot {
  background-repeat: no-repeat;
  background-image: url('images/qbq-john-without-button.png');
  background-size: 325px 262px;
  display: none;
  position: absolute;
  height: 275px;
  width: 350px;
  z-index: 9999999999;
}
.container {
  position: relative;
  z-index: 999;
  margin: 0px auto;

}
.search .post .entry-title a {
  color: #428BCA;
  font-size: 20px;
}
.search .page-title {display: none;}
@media (-webkit-min-device-pixel-ratio: 1.5),(min--moz-device-pixel-ratio: 1.5),(-moz-min-device-pixel-ratio: 1.5),(-ms-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx) {
.headshot {
    background-image: url('images/qbq-john-without-button@2x.png');
  }
}
.container {
  z-index: 999;
}
.qbq-hero blockquote {
  background-color: transparent;
  border: none;
  color: #fff;
  float: none;
  font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  left: 40px;
  line-height: 1.35em;
  margin: 20px 0;
  padding: 0;
  position: absolute;
  text-align: right;
  top: 26px;
  width: 325px;
}
.qbq-hero blockquote span {
  display: block;
  white-space: nowrap;
}
.container {
  position: relative;
}
.books {
  height: 100%;
  margin-left: -160px;
  left: 50%;
  padding: 0;
  position: absolute;
  width: 320px;
}
.book {
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 100% 100%;
  display: inline-block;
  height: 228px;
  position: absolute;
  width: 169px;
  z-index: 9999;
  -webkit-transition: all 500ms ease-in-out;
  -o-transition: all 500ms ease-in-out;
  transition: all 500ms ease-in-out;

}
.book a {
  display: block;
  height: 100%;
}
.book.book-qbq {
  background-image: url('images/qbq.png');
  background-size: 100% 100%;
}
.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.btn-success {
  color: #ffffff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}

.btn-lg {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.33;
  border-radius: 6px;
}
.btn-success {
  border: 2px solid #fff;
  background-image: -webkit-linear-gradient(top,#97BD3C 0%,#789630 100%) !important;
  background-image: linear-gradient(to bottom,#97BD3C 0%,#789630 100%) !important;
  background-repeat: repeat-x !important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff97bd3c', endColorstr='#ff78962f', GradientType=0) !important;
}
.btn:hover, .btn:focus {
  color: #333333;
  text-decoration: none;
}
.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success {
  color: #ffffff;
  background-color: #47a447;
  border-color: #398439;
}
.btn-success:hover {
  border-color: #fff;
  background-image: -webkit-linear-gradient(top,#91b53a 0%,#69832a 100%) !important;
  background-image: linear-gradient(to bottom,#91b53a 0%,#69832a 100%) !important;
  background-repeat: repeat-x !important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff90b539', endColorstr='#ff688229', GradientType=0) !important;
}
.qbq-hero blockquote span {
  color: #ffffff
}


@media (-webkit-min-device-pixel-ratio: 1.5),(min--moz-device-pixel-ratio: 1.5),(-moz-min-device-pixel-ratio: 1.5),(-ms-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx) {
.book.book-qbq {
    background-image: url('images/qbq@2x.png');
  }
}
.book.book-outstanding {
  background-image: url('images/outstanding.png');
  background-size: 100% 100%;
}
@media (-webkit-min-device-pixel-ratio: 1.5),(min--moz-device-pixel-ratio: 1.5),(-moz-min-device-pixel-ratio: 1.5),(-ms-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx) {
.book.book-outstanding {
    background-image: url('images/outstanding@2x.png');
  }
}
.book.book-parenting {
  background-image: url('images/parenting.png');
  background-size: 100% 100%;
}
@media (-webkit-min-device-pixel-ratio: 1.5),(min--moz-device-pixel-ratio: 1.5),(-moz-min-device-pixel-ratio: 1.5),(-ms-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx) {
.book.book-parenting {
    background-image: url('images/parenting@2x.png');
  }
}
.book.book-position-0 {
  height: 331px;
  opacity: 0;
  transform: translate(-256px,-50px);
  -ms-transform: translate(-256px,-50px);
  -webkit-transform: translate(-256px,-50px);
  width: 294px;
  z-index: 666;
}
.book.book-position-1 {
  background-size: 100% 100%;
  opacity: 1;
  transform: translate(0px,0px);
  -ms-transform: translate(0px,0px);
  -webkit-transform: translate(0px,0px);
  z-index: 555;
}
.book.book-position-2 {
  background-size: 80% 80%;
  opacity: 1;
  transform: translate(114px,-21px);
  -ms-transform: translate(114px,-21px);
  -webkit-transform: translate(114px,-21px);
  z-index: 444;
}
.book.book-position-3 {
  background-size: 60% 60%;
  opacity: 1;
  transform: translate(215px,-38px);
  -ms-transform: translate(215px,-38px);
  -webkit-transform: translate(215px,-38px);
  z-index: 333;
}
.book.book-position-4 {
  background-size: 40% 40%;
  opacity: 0;
  transform: translate(310px,-60px);
  -ms-transform: translate(310px,-60px);
  -webkit-transform: translate(310px,-60px);
  z-index: 222;
}
.qbq-hero .footer {
  background-color: #104978;
  border-bottom: 1px solid #094d7a;
  bottom: 0;
  padding: 1px 0;
  position: absolute;
  min-height: 20px;
  width: 100%;
}
.qbq-hero .footer hr {
    border-color: #1665A5;
    margin: 0px;
    padding: 0px;
    position: absolute;
    top: 1px;
    width: 100%;
    background: #1665A5;
    border: 0px;
    height: 1px;
}
.btn-lg {
  box-shadow: 1px 1px 3px rgba(0,0,0,0.25);
  margin-top: 15px;
  display: block;
}

.navbar-nav > li > a {
  font-size: 14px;
}

@media (min-width: 768px) {
  .container {
  width: 750px;
}
  .navbar-brand {
    display: none;
  }
 .bn .buttons {
    margin-left: -15px;
    position: absolute;
    text-align: center;
    top: -61px;
    width: 100%;
    z-index: 2001;
  }
  .books {
    bottom: -20px;
    left: auto;
    margin-left: 0;
    right: 0;
    width: 100%;
  }
  .book {
    height: 156px;
    width: 116px;
  }
  .book.book-qbq {
    left: auto;
    right: 193px;
  }
  .book.book-outstanding {
    left: auto;
    right: 96px;
  }
  .book.book-parenting {
    left: auto;
    right: 0;
  }
  .book.book-position-1,
  .book.book-position-2,
  .book.book-position-3 {
    background-size: 100% 100%;
    transform: translate(0,0);
    -ms-transform: translate(0,0);
    -webkit-transform: translate(0,0);
    top: auto;
  }
  .headshot {
    background-size: 100% 100%;
    display: block;
    height: 145px;
    width: 180px;
    z-index: 99999999;
  }
  .navbar-nav > li > a {
    padding-left: 10px;
    padding-right: 10px;
  }
  nav .navbar-form {
    background-color: transparent;
    margin-top: 8px;
    padding-right: 0;
  }
  nav .navbar-form .form-control {
    width: 130px;
  }
  .qbq-hero {
    display: block;
    height: 145px;
    overflow: visible;
  }
  .qbq-hero .footer .container {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .btn-lg {
    display: inline-block;
    margin-left: 15px;
    margin-top: 0;
    width: 150px;
  }
  .btn-lg:first-child {
    margin-left: 0;
  }
  .btn-lg.subscribe {
    display: none;
  }
  blockquote {
    left: 92px;
  }
}

@media (min-width: 992px) {
  .container {
  width: 970px;
}
 .bn .buttons {
    margin-left: 0;
    text-align: left;
  }
  .headshot .john-miller {
    bottom: 0;
    margin-left: -40px;
    position: absolute;
    width: 325px;
    z-index: 1;
  }
  .navbar-nav > li > a {
    padding-left: 15px;
    padding-right: 15px;
  }
  nav .navbar-form .form-control {
    width: 150px;
  }
  nav .navbar a {
    font-size: 18px;
  }
  .navbar-nav > li > a {
    font-size: 18px;
  }
  .btn-lg {
    width: 125px;
    margin-left: 15px;
  }
  .books {
    right: 50px;
  }
  .book.book-qbq {
    right: 240px;
  }
  .book.book-outstanding {
    right: 117px;
  }
  blockquote {
    left: 140px;
  }
}
@media (min-width: 1200px) {
 .qbq-hero blockquote {
    left: 200px;
    top: 37px;
    width: 500px;
  }
 .qbq-hero blockquote span {
    display: inline;
  }
  .headshot {
    height: 185px;
    top: -40px;
    width: 230px;
  }
}
.qbq-hero,
.bn .buttons {
  display: block;
  z-index: 999;
}
.qbq-hero {
  height: 305px;
}
.qbq-hero blockquote {
  left: 0;
  text-align: center;
  top: 0;
  width: 100%;
}
.qbq-hero blockquote span {
  display: inline-block;
  color: #ffffff
}
.books {
  bottom: -70px;
}
.qbq-hero .footer {
  min-height: 65px;
}
@media (min-width: 768px) {

  header.line-decoration {
  position: relative !important;
  z-index: 99999 !important;
}
  .qbq-hero {
    display: block;
    height: 405px;
  }
  .books {
    bottom: -60px;
  }
  .book {
    height: 260px;
    width: 194px;
  }
  .book.book-qbq {
    left: 92px;
  }
  .book.book-outstanding {
    left: 275px;
  }
  .book.book-parenting {
    left: 457px;
  }
  .headshot {
    display: none;
  }
  .qbq-hero .footer {
    min-height: 75px;
  }
}
@media (min-width: 992px) {
  .headshot {
    background-size: 246px 197px;
    display: block;
    height: 197px;
    left: -30px;
    top: -13px;
    width: 260px;
  }
 .qbq-hero blockquote {
    font-size: 20px;
    left: 117px;
    text-align: right;
    top: 105px;
    width: 325px;
  }
  .books {
    bottom: -47px;
    width: 100%;
  }
  .book {
    height: 260px;
    width: 194px;
  }
  .book.book-qbq {
    left: auto;
    right: 283px;
  }
  .book.book-outstanding {
    left: auto;
    right: 122px;
  }
  .book.book-parenting {
    left: auto;
    right: -34px;
  }
  .qbq-hero {
    height: 265px;
  }
  .qbq-hero .footer {
    min-height: 78px;
    margin-top: 0;
  }
   .btn-lg {
  width: 99px;
  margin-left: 15px;
}
}
@media (min-width: 1200px) {
  .container {
  width: 1170px;
  margin: 0px auto;
  position: relative;
  z-index: 999;
}
.bn .buttons {
    top: -67px;
  }
  .headshot {
    background-size: 325px 262px;
    height: 262px;
    left: -52px;
    top: -28px;
    width: 350px;
  }
 .qbq-hero blockquote {
    font-size: 24px;
    left: 200px;
    top: 100px;
  }
  .books {
    bottom: -33px;
    right: 15px;
  }
  .book {
    height: 304px;
    width: 225px;
  }
  .book.book-qbq {
    right: 360px;
  }
  .book.book-outstanding {
    right: 175px;
  }
  .book.book-parenting {
    right: 0;
  }
  .book img {
    width: 225px;
  }
  .qbq-hero {
    height: 300px;
  }
  .btn-lg {
    width: 112px;
    margin-left: 20px;
  }
  .qbq-hero .footer {
    min-height: 87px;
  }
  .qbq-hero .footer .container {
    padding-top: 18px;
    padding-bottom: 19px;
  }
}
body.home #sidebar {margin-top: 40px;}
.blog .details.more-link:hover, .dt-blog-shortcode .details.more-link:hover {color: #ffffff; background: #4E94D0; text-decoration: none;}
.accent-gradient .fn a:hover, .accent-gradient .testimonial-vcard a.text-primary:hover, .accent-gradient .post .entry-title a:hover, .accent-gradient .custom-nav > li > a:hover span, .accent-gradient .custom-nav > li.act > a span, .accent-gradient .custom-nav > li > ul a:hover span, .accent-gradient .widget .custom-categories a:hover span.item-name, .accent-gradient .widget_categories a:hover, .accent-gradient .widget_meta a:hover, .accent-gradient .blogroll a:hover, .accent-gradient .widget_archive a:hover, .accent-gradient .widget_recent_entries a:hover, .accent-gradient .widget_links a:hover, .accent-gradient .widget_pages a:hover, .accent-gradient .details:hover, .accent-gradient .st-accordion li > a:hover, .accent-gradient .st-accordion > ul li > a:hover *, .accent-gradient #main .wpb_accordion .wpb_accordion_wrapper > a:hover span, .accent-gradient #main .wpb_content_element .wpb_accordion_header a:hover span, .accent-gradient .tp_recent_tweets li span a:hover, .accent-gradient .recent-posts a:hover, .accent-gradient .items-grid .post-content > a:hover, .accent-gradient #main .wpb_toggle:hover, .accent-gradient .shortcode-tabs .tab:hover, .accent-gradient .wpb_tabs.wpb_content_element .wpb_tabs_nav > li:not(.ui-state-active) > a:hover, .accent-gradient .wpb_tour.wpb_content_element .wpb_tabs_nav > li:not(.ui-state-active) > a:hover, .accent-gradient #wp-calendar td a:hover, .accent-gradient .items-grid a:hover, .accent-gradient .post-content a:hover, .accent-gradient .testimonial-item .testimonial-vcard a.text-primary:hover, .accent-gradient .testimonial-item .testimonial-vcard a.text-primary:hover *, .accent-gradient .testimonials .testimonial-vcard a.text-primary:hover, .accent-gradient .vc-item .vc_read_more, .accent-gradient .font-arrow .fa, .accent-gradient .wpb_content_element.tab-style-three .wpb_tabs_nav > li.ui-tabs-active > a, .accent-gradient .tagcloud a:hover, .accent-gradient .wpb_content_element.tab-style-two .wpb_tabs_nav > li.ui-tabs-active > a, .accent-gradient .benefit-title a:hover {
  background: -webkit-gradient(linear,left top,right top,color-stop(32%,#428bca),color-stop(100%,#104978));
  background: -webkit-linear-gradient(left,#428bca 32%,#104978 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: initial;
}
@media (max-width: 767px) {
#header.line-decoration {
  border-top: 6px solid #97bd3c;
  z-index: 9999;
  position: relative;
}
.books {
  bottom: -87px;
}
.rv-slider {display:none;}
}
