/*
 * Breakpoint mixin. See: http://css-tricks.com/conditional-media-query-mixins/
 *
 * Use:
 * .row {
 *  @include bp(mobile, min) {
 *    //mobile styles
 *  };
 * }
 *
 * Breakpoints are set in _config.scss e.g. $bp1
 */
.mobile-only {
  display: none;
}
@media (max-width: 37.625em) {
  .mobile-only {
    display: block;
  }
}

@media (max-width: 37.625em) {
  .hidden-on-mobile {
    display: none !important;
  }
}

/**
 * Mixins for doing CSS3 cross-browser stuff:
 */
/**
 * Special grayscale mixin to support IE rather than using
 *	@include filter(grayscale(100%)) 
 * which IE does not support
*/
#doc {
  overflow: hidden;
}

#top-nav-container li,
#ft li,
#secondary-nav li,
#hd-right li,
.optionset li,
#primary .optionset li,
.feature-items-container li,
#primary ul#staff-list > li {
  list-style: none;
  padding-left: 0px;
}

/* NOTE: The 'height:auto' needs to be applied to all images in order to 
	ensure they maintain the correct aspect ratio when scaled on mobiles, but
	images in newsletter archives (also anything not stretched maintaining 
	aspect ratio, such as sprites/BJM-style backgrounds) must NOT have this
	applied, hence the not selector
*/
body:not(.newsletter-content) img {
  max-width: 100%;
  height: auto;
}

.slide img {
  max-width: none;
}

/* google map infowindow override */
#google_map_1 img {
  max-width: none;
}

ol, ul, dl {
  margin-left: 0;
  padding-left: 0;
}

ul li, ol li {
  margin: 0;
}

/**
 * Clearfix
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.cf:after {
  clear: both;
}

/**
 * Clearfix
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
  *zoom: 1;
}

.clearing {
  float: none !important;
  clear: both;
}

.hidden {
  display: none;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.typography #pet-timeline-assistant,
.typography #pet-timeline-assistant p {
  line-height: 1em;
}

#hd {
  overflow: hidden;
  position: relative;
}

@media (min-width: 37.625em) {
  #hd-left {
    float: left;
  }
}

@media (min-width: 37.625em) {
  #hd-right {
    float: right;
  }
}

#hd-right > .first {
  margin-right: 35px;
}

#cn {
  margin: 0 auto;
  background-color: #000;
}

@media (min-width: 37.625em) {
  div#hd-container {
    padding: 0px;
  }
}

.bd-width {
  max-width: 1000.0px;
  margin-left: auto;
  margin-right: auto;
  margin: 0 auto;
  position: relative;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
}
.bd-width:after {
  content: " ";
  display: block;
  clear: both;
}
@media (min-width: 30.125em) {
  .bd-width#banner-container {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }
}
@media (min-width: 37.625em) {
  .bd-width {
    padding-left: 0;
    padding-right: 0;
  }
}

#sidebar-search-form {
  margin-top: 0;
  padding: 0;
  text-align: left;
}
@media (min-width: 30.125em) {
  #sidebar-search-form {
    margin: 20px;
  }
}

#sidebar-search-form .action {
  background-color: #666666;
  color: #FFFFFF;
  border: #555555 1px solid;
  width: 60px;
  cursor: pointer;
}

#search-results .result-entry {
  padding-bottom: 20px;
  list-style: none;
}

#search-results .read-more-link {
  padding-bottom: 20px;
}

#search-results .result-entry {
  padding-bottom: 20px;
}

#top-nav > ul {
  margin: 0;
}

#top-nav li {
  list-style: none;
}
@media (min-width: 37.625em) {
  #top-nav li {
    display: block;
    float: left;
  }
}

#top-nav li a {
  line-height: 40px;
  padding: 0 10px;
  display: block;
  font-weight: bold;
}
@media (min-width: 37.625em) {
  #top-nav li a {
    padding: 0 12px;
  }
}
@media (min-width: 62.5em) {
  #top-nav li a {
    padding: 0 15px;
  }
}

#primary {
  background: #efefef;
  padding-left: 2.0%;
  padding-right: 2.0%;
}
@media (min-width: 50.0625em) {
  #primary {
    float: right;
    padding: 15px 3.0% 2em;
    width: 67.0%;
  }
}

div#primary ul.wrapfix,
div#primary ol.wrapfix {
  overflow: hidden;
                  /* this makes the ul behave more like a block-level element when next to a floated element, see
						https://github.com/petpack/petpack/issues/231#issuecomment-220884278 */
  padding-left: 30px;
}

div#primary ul.wrapfix li {
  list-style: outside disc;
}

div#primary ol.wrapfix li {
  list-style-position: outside;
}

.hd-title {
  font-weight: bold;
}

.hd-text {
  font-size: 0.833333em;
  /* 10px / 12px = 83.3333% */
}

.hd-phone {
  font-size: 1.166667em;
  /* 14px / 12px = 116.6667% */
  font-weight: bold;
}

.hd-phone-number a {
  color: #666;
}

@media (min-width: 50.0625em) {
  #secondary {
    float: left;
    padding: 15px 0 2em;
    width: 25.5%;
  }
}
@media (min-width: 62.5em) {
  #secondary {
    margin-left: 3.0%;
    width: 22.5%;
  }
}

#secondary-nav {
  margin: 20px;
}

#secondary-nav li a {
  color: #666666;
}

#secondary-nav li a.current {
  color: #E76100;
}

#cn-left,
#cn-right {
  float: left;
  clear: both;
  width: 100%;
}
@media (min-width: 37.625em) {
  #cn-left,
  #cn-right {
    margin: 0;
    width: 43%;
    clear: none;
  }
}

#cn-left {
  padding: 1em 0 2em;
}
@media (min-width: 37.625em) {
  #cn-left {
    padding: 1em 0 2em 5%;
  }
}

#cn-right {
  padding: 1em 0 2em;
}
@media (min-width: 37.625em) {
  #cn-right {
    padding: 1em 5% 2em 4%;
  }
}

.ie7 #cn-right {
  padding-left: 3.5%;
}

.type_TwoColumnLayoutPage #cn-left {
  padding: 15px 15px 30px 0px;
}

.type_TwoColumnLayoutPage #cn-right {
  padding: 15px 0px 30px 15px;
}

#newsletter {
  background: #D7D7D7;
  padding: 10px;
}
@media (min-width: 37.625em) {
  #newsletter {
    background: transparent;
    margin: 15px auto;
    padding: 15px;
  }
}

#locations {
  margin: 15px 0;
  color: #666666;
}
@media (min-width: 30.125em) {
  #locations {
    margin: 15px 14px;
  }
}

#locations .location {
  /* display: none; */
}
@media (min-width: 30.125em) {
  #locations .location {
    margin: 1em 0;
    display: block;
  }
}

#locations .addressMap {
  margin-bottom: 1.25em;
  position: absolute;
}

#locations #container.map {
  height: 200px;
}

#locations .addressMap img {
  border: 5px solid #b9b9b9;
}

#locations .location .text {
  margin: 0 5px;
}

#locations .location .text,
#locations .location .text p {
  line-height: 1.4em;
}

.location-title {
  color: #000000;
  font-weight: bold;
}

#locations p.address {
  margin-bottom: 0.1em;
}

#locations dt {
  font-weight: bold;
}

#locations dl {
  margin: 0;
}

#locations dd {
  margin-left: 0.25em;
}

#locations dl,
#locations dd.phone {
  position: relative;
}

#secondary .show-phone {
  background: #e5e5e5;
}

#secondary dt, #secondary dd {
  float: left;
}

#secondary dt {
  clear: left;
}

#secondary dd.phone {
  min-width: 60%;
}

.ie7 #secondary dd {
  padding-left: 1em;
}

#locations dd.phone a {
  color: #666;
}

#locations .show-location-on-map {
  /* display: none; DM: why was this here??? */
  font-weight: bold;
  margin: 0 0 0.2em;
}

#locations .addressMap,
#locations .addressMap > a {
  display: block;
}

.contact-us-button {
  padding-top: 1em;
  display: block;
}

#heading {
  font-size: 2.5em;
  /* 30px / 12px = 250% */
  color: #6FCE0F;
  margin-bottom: 25px;
}

#bd {
  height: 100%;
}

#banner {
  height: 350px;
}

.text-strong {
  font-weight: bold;
}

.links-list {
  position: relative;
}

.links-image {
  float: left;
  width: 100px;
  margin-right: 10px;
}

.links-title {
  font-weight: bold;
  margin-left: 10px;
}

.links-teaser {
  color: #666666;
  margin-left: 10px;
}

.links-readmore {
  color: #E76100;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 10px;
}

.blog-title {
  font-weight: bold;
}

.blog-timestamp {
  color: #e76100;
  font-size: 0.833333em;
  /* 10px / 12px = 83.3333% */
  padding-bottom: 0.25em;
}

.blog-readmore {
  color: #e76100;
  font-weight: bold;
  padding-bottom: 10px;
}

ul.subNav {
  list-style-type: none;
  margin-top: 0;
}

ul.subNav li.current > a {
  color: #66CC00;
}

ul.subNav li a {
  color: #CCC;
  list-style-type: none;
  text-decoration: none;
  line-height: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

ul.subNav li li {
  list-style-type: none;
  text-decoration: none;
  padding: 0;
}

ul.subNav li li a {
  color: #666;
  list-style-type: none;
  text-transform: none;
  font-weight: normal;
  display: block;
  line-height: 16.5px;
}

ul.subNav li li a:hover {
  color: #ccc;
}

ul.subNav li li a.current {
  color: #66cc00;
}

ul.subNav ul {
  margin: 5px 0 20px;
  display: none;
}

#slider-holder {
  padding-bottom: 10px;
}

.content-heading {
  color: #333333;
  font-size: 2.5em;
  /* 30px / 12px = 250% */
}

#ft {
  clear: both;
  width: 100%;
  background-color: #000;
  padding: 2em 0 4em;
  border-top: 1px solid #333;
}

#map {
  background-color: #EEE;
  padding: 10px;
  margin: 0 auto;
}

.thumb {
  min-height: 105px;
}

.cufon-ready .introText {
  line-height: 30px;
}

.js-enabled h1,
.js-enabled .introText {
  visibility: hidden;
}

.js-enabled .ready h1,
.js-enabled .ready .introText {
  visibility: visible;
}

ul.hd-social {
  margin: 0;
  margin-bottom: 10px;
  min-height: 25px;
}

.hd-social li {
  float: right;
  list-style-type: none;
}

.hd-social li a.hd-social-icon {
  height: 23px;
  width: 20px;
  padding-left: 0px;
  margin: 2px;
}

.hd-social-fb-like {
  padding: 2px 0 0 2px;
}

.invisible {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
}

.button a {
  display: block;
}

.button a:hover {
  background: url("/pet-pack/images/buttons-sprite.png") no-repeat 0 0;
}

#button-read-our-blog a {
  width: 144px;
}

#button-blog-posts a {
  width: 144px;
  background-position: 0 -26px;
  float: left;
}

#sidebar-search-form input.action {
  background-position: 0 -104px;
  height: 22px;
  padding-bottom: 2px;
  width: 43px;
}

#blog-content {
  clear: both;
  margin-top: 50px;
}

#blog-previous-next a {
  line-height: 25px;
  margin-left: 16px;
}

.pet-timeline-assististant-assist #pet-timeline-assistant-container {
  float: right;
  margin-left: 10px;
}

#pet-timeline-assistant-container {
  height: 225px;
  margin-bottom: 1em;
}

#pet-timeline-assistant {
  margin-bottom: 1em;
  width: 325px;
}

#pet-timeline-assistant .hd {
  height: 25px;
}

#pet-timeline-assistant .hd h3 {
  color: #FFF;
  font-size: 1.166667em;
  /* 14px / 12px = 116.666667% */
  line-height: 25px;
  padding: 0 0 0 1.25em;
}

#pet-timeline-assistant .controls .background,
#pet-timeline-assistant .knob,
#pet-timeline-assistant .selection,
#pet-timeline-assistant .slider .bd-container,
#pet-timeline-assistant .slider .bd a,
#pet-timeline-assistant .slider .lt a,
#pet-timeline-assistant .slider .rt a,
#pet-timeline-assistant .information,
#pet-timeline-assistant .information .species {
  background: url("/pet-pack/images/pet-timeline-assistant-sprite.png");
}

#pet-timeline-assistant .bd {
  height: 200px;
  position: relative;
}

#pet-timeline-assistant .controls {
  height: 200px;
  overflow: hidden;
}

#pet-timeline-assistant .controls .background {
  height: 200px;
  left: 0;
  position: absolute;
  top: 0;
  width: 325px;
  z-index: 10;
}

#pet-timeline-assistant .radial {
  height: 150px;
  left: 15px;
  overflow: hidden;
  position: relative;
  top: 9px;
  width: 150px;
}

#pet-timeline-assistant .knob-container {
  left: 0;
  height: 150px;
  position: absolute;
  top: 0;
  width: 150px;
}

#pet-timeline-assistant .knob-background {
  height: 146px;
  left: 2px;
  position: absolute;
  top: 2px;
  width: 146px;
  z-index: 0;
}

.ie7 #pet-timeline-assistant .knob-background,
.ie8 #pet-timeline-assistant .knob-background {
  background-color: #000;
}

#pet-timeline-assistant .knob {
  background-position: -326px -30px;
  height: 150px;
  left: 0;
  position: absolute;
  top: 0;
  width: 150px;
  z-index: 1;
}

#pet-timeline-assistant .selection {
  height: 27px;
  position: absolute;
  width: 25px;
  z-index: 2;
}

#pet-timeline-assistant .selection a {
  display: block;
  text-indent: -999em;
}

#pet-timeline-assistant .selection-6 {
  background-position: -520px -36px;
  left: 45px;
  top: 6px;
}

#pet-timeline-assistant .selection-6.current {
  background-position: -660px -36px;
  /* 660 = 520 + 140 */
}

#pet-timeline-assistant .selection-8 {
  background-position: -556px -36px;
  left: 81px;
  top: 6px;
}

#pet-timeline-assistant .selection-8.current {
  background-position: -696px -36px;
  /* 696 = 556 + 140 */
}

#pet-timeline-assistant .selection-10 {
  background-position: -581px -57px;
  left: 107px;
  top: 26px;
}

#pet-timeline-assistant .selection-10.current {
  background-position: -721px -57px;
  /* 721 = 581 + 140 */
}

#pet-timeline-assistant .selection-12 {
  background-position: -597px -91px;
  left: 122px;
  top: 60px;
}

#pet-timeline-assistant .selection-12.current {
  background-position: -737px -91px;
  /* 737 = 597 + 140 */
}

#pet-timeline-assistant .selection-14 {
  background-position: -586px -127px;
  left: 112px;
  top: 96px;
}

#pet-timeline-assistant .selection-14.current {
  background-position: -726px -127px;
  /* 726 = 586 + 140 */
}

#pet-timeline-assistant .selection-16 {
  background-position: -555px -146px;
  left: 81px;
  top: 116px;
}

#pet-timeline-assistant .selection-16.current {
  background-position: -695px -146px;
  /* 695 = 555 + 140 */
}

#pet-timeline-assistant .selection-18 {
  background-position: -519px -146px;
  left: 45px;
  top: 116px;
}

#pet-timeline-assistant .selection-18.current {
  background-position: -659px -146px;
  /* 659 = 519 + 140 */
}

#pet-timeline-assistant .selection-20 {
  background-position: -491px -126px;
  left: 16px;
  top: 96px;
}

#pet-timeline-assistant .selection-20.current {
  background-position: -631px -126px;
  /* 631 = 491 + 140 */
}

#pet-timeline-assistant .selection-22 {
  background-position: -480px -91px;
  left: 5px;
  top: 60px;
}

#pet-timeline-assistant .selection-22.current {
  background-position: -620px -91px;
  /* 620 = 480 + 140 */
}

#pet-timeline-assistant .selection-24 {
  background-position: -490px -57px;
  left: 15px;
  top: 26px;
}

#pet-timeline-assistant .selection-24.current {
  background-position: -630px -57px;
  /* 630 = 490 + 140 */
}

#pet-timeline-assistant .current-selection {
  color: #6D6E71;
  font-weight: bold;
  left: 50px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 60px;
  width: 50px;
  z-index: 1;
}

#pet-timeline-assistant .current-selection.select-pet {
  top: 63px;
}

#pet-timeline-assistant .current-selection .letters {
  font-size: 0.8575em;
  /* 10.29 / 12px = 85.75% */
}

#pet-timeline-assistant .current-selection .numbers {
  font-size: 1.405em;
  /* 16.86px / 12px = 140.5% */
}

#pet-timeline-assistant .slider {
  left: 21px;
  position: absolute;
  top: 169px;
  z-index: 11;
}

#pet-timeline-assistant .slider > div {
  float: left;
  position: relative;
  z-index: 15;
}

#pet-timeline-assistant .slider .bd-container {
  background-position: -347px 0;
  height: 14px;
  width: 98px;
}

#pet-timeline-assistant .slider .bd {
  width: 85px;
  height: 15px;
}

#pet-timeline-assistant .slider a {
  display: block;
  height: 14px;
  width: 21px;
}

#pet-timeline-assistant .slider .lt a {
  background-position: -326px 0;
}

#pet-timeline-assistant .slider .lt a:hover {
  background-position: -326px -15px;
}

#pet-timeline-assistant .slider .bd a {
  background-position: -349px -15px;
  height: 8px;
  position: absolute;
  top: 3px;
  width: 12px;
}

#pet-timeline-assistant .slider .rt a {
  background-position: -445px 0;
}

#pet-timeline-assistant .slider .rt a:hover {
  background-position: -445px -15px;
}

#pet-timeline-assistant .information {
  background-position: -763px 0;
  height: 174px;
  position: absolute;
  right: 0;
  top: 0;
  width: 161px;
  z-index: 10;
}

#pet-timeline-assistant .information .cn {
  margin: 30px 0 0 30px;
  overflow: hidden;
  width: 100px;
}

.ie7 #pet-timeline-assistant .information .cn {
  margin: 30px 0 0 19px;
  overflow: hidden;
  width: 118px;
}

#pet-timeline-assistant .information .cn h4,
#pet-timeline-assistant .information .cn p {
  font-size: 10px;
  font-style: normal;
}

#pet-timeline-assistant .information .cn h4 {
  margin-bottom: 0.5em;
}

#pet-timeline-assistant .information .cn p,
#pet-timeline-assistant .information .species {
  margin-bottom: 0.75em;
}

#pet-timeline-assistant .information .species {
  background-position: -763px -175px;
  border: none;
  color: #58595B;
  font-size: 0.75em;
  /* 9px / 12px = 75% */
  font-weight: bold;
  height: 18px;
  padding: 2px 0 0 2px;
  width: 120px;
}

#pet-timeline-assistant .information .submit {
  background-image: url("/pet-pack/images/pet-timeline-assistant-sprite.png");
  background-position: -478px 0;
  border: none;
  color: #FFF;
  font-size: 0.833333em;
  /* 10px / 12px = 83.3333% */
  font-weight: bold;
  height: 22px;
  padding: 0 19px 0 0;
  width: 100px;
}

#pet-timeline-assistant .information .submit:hover {
  cursor: pointer;
  background-color: #808285;
  background-position: -581px 0;
}

.toc-container {
  min-height: 225px;
}

.age-related-content-entry {
  margin-bottom: 10px;
}

/* Feature Items */
.feature-item-image {
  float: left;
  margin-right: 15px;
}

.feature-item-title, .feature-item-link {
  font-weight: bold;
}

/* END Feature Items */
.twitter-share-button {
  float: right;
}

.facebook-share-button {
  float: left;
}

/* Vet Locator */
UL.nearest-results {
  float: right;
  overflow-y: auto;
  width: 200px;
}

UL.nearest-results li {
  margin-bottom: 5px;
  list-style: none;
}

#primary .vet-locator-form input[type="text"] {
  width: 4em;
}

#primary .vet-locator-form select {
  width: 4em;
}

#primary .vet-locator-form input.action {
  background: #666 url("/pet-pack/images/buttons-sprite.png") no-repeat 0 -104px;
  width: 43px;
  height: 20px;
  text-indent: -999em;
  border: none;
  cursor: pointer;
}

/* END Vet Locator */
.bad {
  color: red;
  font-size: 1.5em;
}

#Captcha input[type="text"]#recaptcha_response_field {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border: 1px solid #000;
  height: 15px;
}

#PageComments > li {
  border-bottom: 1px solid #666666;
  list-style: none inside none;
}

#PageComments > li.first {
  border-top: 1px solid #666666;
}

#PageComments > li p:first-child {
  margin-top: 1em;
}

#primary #cn-left img {
  margin: 1em;
}
@media (min-width: 30.125em) {
  #primary #cn-left img {
    margin: 1em;
  }
}

#primary #cn-right img.left {
  margin-left: 0;
}

#primary #cn-right img.right {
  margin-right: 0;
}

/** Mobile Styles for Pet Timeline Assistant: **/
@media (max-width: 37.625em) {
  .pet-timeline-assististant-assist #pet-timeline-assistant-container {
    float: left;
    clear: both;
    margin: 0px;
    margin-right: 20px;
    margin-bottom: 20px;
  }
}
@media (max-width: 37.625em) and (max-width: 400px) {
  .pet-timeline-assististant-assist #pet-timeline-assistant-container {
    /* hard-coded nastiness */
    float: none;
  }
}

@media (max-width: 37.625em) {
  .pet-timeline-assististant-assist .toc-container {
    min-height: 0px;
  }

  #pet-timeline-assistant {
    width: 182px;
    margin-bottom: 0px;
    box-shadow: 5px 5px 10px;
    border-radius: 5px;
  }

  #pet-timeline-assistant-container {
    height: auto;
  }

  #pet-timeline-assistant .bd {
    height: auto;
  }

  #pet-timeline-assistant .hd {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  #pet-timeline-assistant .controls .background {
    width: 100%;
  }

  #pet-timeline-assistant .information {
    position: static;
    background: none;
    width: 100%;
    height: auto;
  }

  #pet-timeline-assistant .information .cn {
    margin: 0px;
    width: 100%;
    background: #fff;
    padding-bottom: 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  #pet-timeline-assistant .controls .background {
    background: url("/pet-pack/images/pet-timeline-assistant-sprite-mobile.png");
  }

  #pet-timeline-assistant .information .cn h4,
  #pet-timeline-assistant .information .cn p {
    font-size: 14px;
    margin-left: 5px;
  }

  #pet-timeline-assistant .information .species,
  #pet-timeline-assistant .information .submit {
    background-image: none;
    margin-left: 5px;
    border: 1px solid #777;
    color: #fff;
    width: 95%;
    height: auto;
    font-size: 1em;
    height: 25px;
    border-radius: 5px;
  }

  #pet-timeline-assistant .information .species {
    color: #333;
  }

  /** other mobile-only hacks: **/
  div.feature-items-container {
    clear: both;
  }
}
