/**
 * @file
 * Layout Styling (DIV Positioning)
 *
 * Define CSS classes to create a table-free, 3-column, 2-column, or single
 * column layout depending on whether blocks are enabled in the left or right
 * columns.
 *
 * This layout is based on the Zen Columns layout method.
 *   http://drupal.org/node/201428
 *
 * Only CSS that affects the layout (positioning) of major elements should be
 * listed here.  Such as:
 *   display, position, float, clear, width, height, min-width, min-height
 *   margin, border, padding, overflow
 */

* {
  margin:0;
  padding:0;
}

html {
  height: 100%;
  background-color:#fff;
}

body {
  min-height: 100%;
}

/**
 * Clearfixes
 */
#page-footer .block-webform:after,
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

/*
 * Body
 */
body {
  background: url(../images/site-chrome/body-vertical-bg.png) repeat-x 0 50px #e2e2e2;
}

body a {
  color:#ff7800;
  text-decoration: none;
}
body a:hover {
  text-decoration: underline;
}

#page-wrapper,
.region-bottom {
  /*
   * If you want to make the page a fixed width and centered in the viewport,
   * this is the standards-compliant way to do that. See also the ie6.css file
   * for the necessary IE5/IE6quirks hack to center a div.
   */
  margin-left: auto;
  margin-right: auto;
  width: 982px;
}

.region-header {
}

/*
 * Main (container for everything else)
 */
#main-wrapper {
  position: relative;
}

#main {
  background-color: white;
  border: 1px solid #D6D6D6;
}

#main #page-footer {
  min-height: 195px;
  height: auto;
  background-color: #F1F1F1;
  clear: both;
  float: left;
  width: 100%;
  margin-top:20px;
  *float:none;/* IE7 only fix */
}

#bottom-footer {
  height: 68px;
  width: 982px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* Fixing Contextual Links for some views */
.view-press-release-list-view .contextual-links-wrapper.contextual-links-processed,
.views-field-contextual-links .contextual-links-wrapper.contextual-links-processed,
.view-blog-view .contextual-links-wrapper.contextual-links-processed,
.view-plant-list-view .contextual-links-wrapper.contextual-links-processed,
.view-adoptable-animals-list-views .contextual-links-wrapper.contextual-links-processed {
  top:30px;
}

.views-field-contextual-links .contextual-links-wrapper.contextual-links-processed {
  right:15px;
}

.view-faq-site-map-term .views-field-contextual-links .contextual-links-wrapper.contextual-links-processed {
  top:0px;
  right:40px;
}
.view-faq-site-map-term .views-row-even .views-field-contextual-links .contextual-links-wrapper.contextual-links-processed {
  right:72px;
}
.view-faq-site-map-term .expanded .views-field-contextual-links .contextual-links-wrapper.contextual-links-processed {
  top:30px;
}

.view-related-links .views-field-contextual-links .contextual-links-wrapper.contextual-links-processed,
.view-plant-related-links .views-field-contextual-links .contextual-links-wrapper.contextual-links-processed,
.view-related-blog-posts .views-field-contextual-links .contextual-links-wrapper.contextual-links-processed,
.view-display-id-focus_area .views-field-contextual-links .contextual-links-wrapper.contextual-links-processed,
.view-related-links-manual-nodequeues .views-field-contextual-links .contextual-links-wrapper.contextual-links-processed {
  right:30px;
  top:0;
}

/**
 * Messages
 */

span.mistake {
	color: #ff9d45 !important;
}

/*
 * Content
 */
.not-front #content.column {
  float: left;
  width: 629px;
  margin: 4px 0 0 0;
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #content .section. */
}

#content h1.title,
#content .feed-icons,
#content .page-content,
#content .below-content {
  margin:0 20px;
}

#content .section {
  margin: 0 0 0 0;
  padding: 0 0 20px 0;
}

.not-front #sidebar.column {
  float:left;
  width:330px;
  margin-left: 0;
  background: url(../images/site-chrome/body-sidebar-border.png) repeat-y 0 0 transparent;
  margin-top:10px;
}

.not-front #sidebar.column .section {
  padding-left:30px;
}

.not-front #sidebar.column .section fieldset {
  border:1px solid #626262;
}

/* Sidebar Styles */

.not-front #sidebar #month-list a {
  font-size:11px;
  line-height: normal;
  display: block;
}

.panel-2col-stacked-mixed .panel-col-last {
  background: url(../images/site-chrome/body-sidebar-border.png) repeat-y 0 0 transparent;
}

/**
 * Footer
 */
#main #page-footer .section {
  padding-bottom: 20px;
}

#main #page-footer .block-menu h2.block-title {
  display:none;
}

#main #page-footer ul.menu {
  padding:0;
  margin:0;
  float:left;
  clear:none;
}

#main #page-footer ul.menu li {
  list-style-type: none;
  list-style-image: none;
  line-height:12px;
  width:120px;
  margin-right:14px;
  float:left;
}

/* Footer sign-up block */

#page-footer .block-webform {
  background-color: #414141;
  color: #fff;
  padding: 10px 20px;
}

#page-footer .block-webform h2 {
  display: none;
}

#page-footer .block-webform p {
  color: #fff;
  margin: 3px 0;
  text-align: right;
}

#page-footer .webform-component {
  font-size: 0.833333em;
  color: #fff;
  font-weight: normal;
  float: left;
  width: 18%;
  margin: 0 1.5% 0 0;
  padding: 0;
}

#page-footer .webform-component-markup {
  width: auto;
}

#page-footer .webform-component-markup p {
  font-size: 1em;
}

#page-footer .form-actions {
  font-size: 0.83333em;
}

label.placeholder,
#page-footer .block-webform label {
  position: absolute;
  color: #000;
  padding-left: 0.5em;
  font-weight: normal;
  color: #666;
}

label.placeholder .form-required {
  color: #666;
}

label.hidden {
  display: none !important;
}

#page-footer .block-webform .form-actions {
  margin: 0;
}

#page-footer .block-webform input.form-text {
  max-width: 96%;
  padding: 4px;
  border: none;
}

#page-footer .block-webform input.form-submit {
  background: #ff7800;
  border: none;
  color: #fff;
  padding: 4px 6px;
  font-size: 1em;
}

#page-footer div.results {
	display: none;
	padding: 0.5em 0;
	line-height: 140%;
	font-size: 1em;
}

/* Footer menu block */

#page-footer .block-menu-block {
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 20px;
}

/* Footer Menu custom widths */
/* -- go here -- */
/* Some are wider than others */

#main #page-footer ul.menu li ul.menu li {
  float:none;
  margin-bottom:3px;
}

#main #page-footer ul.menu li.leaf {
  display:none;
}

#main #page-footer ul.menu li.leaf.expanded,
#main #page-footer ul.menu ul.menu li.leaf {
  display:block;
}

#main #page-footer ul.menu li a {
  font-family: Arial, Helvetica, sans-serif;
  font-size:10px;
  color:#626262;
  text-decoration: none;
}
#main #page-footer ul.menu li a:hover,
#main #page-footer ul.menu li.expanded a:hover,
#main #page-footer ul.menu li.expanded ul.menu li a:hover {
  text-decoration: underline;
}
#main #page-footer ul.menu li.expanded a {
  font-size:13px;
  color:#4978a1;
}
#main #page-footer ul.menu li.expanded ul.menu li a {
  font-family: Arial, Helvetica, sans-serif;
  font-size:10px;
  color:#626262;
  text-decoration: none;
  line-height: 9px;
}

#main #page-footer li.menu-mlid-746 {
  display: none;
}

/*
 * Page bottom
 */
.region-bottom /* See also the #page-wrapper declaration above that this div shares. */ {
}

/*
 * Prevent overflowing content
 */
#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
.region-footer,
.region-bottom {
  overflow: visible;
  word-wrap: break-word; /* A very nice CSS3 property */
}

.block ul.menu {
  margin:0;
  padding:0;
}

body div.contextual-links-wrapper {
  /*z-index:500;*/
}

/*
 * If a div.clearfix doesn't have any content after it and its bottom edge
 * touches the bottom of the viewport, Firefox and Safari will mistakenly
 * place several pixels worth of space between the bottom of the div and the
 * bottom of the viewport. Uncomment this CSS property to fix this.
 * Note: with some over-large content, this property might cause scrollbars
 * to appear on the #page-wrapper div.
 */
/*
#page-wrapper {
  overflow-y: hidden;
}
*/

/* Service and Social Links */

#block-service-links-service-links-not-node .block-title,
#block-service-links-service-links .block-title {
  display:none;
}

/*.addthis_toolbox .at16nc,
.addthis_toolbox .at300bs {
  width:auto;
}

.addthis_toolbox .at16nc .at_a11y {
  position: relative!important;
  left: 0!important;
  top: 0!important;
  width: auto!important;
  height: auto!important;
  overflow: hidden!important;
}

.addthis_toolbox .at16nc {
  padding-left:20px;
}*/

.views-field-service-links ul.links li {
  padding:0;
}

.service-links-google-plus-one span.gplus,
.views-field-service-links span.gplus,
.views-field-service-links a,
.service-links a,
.social_service_links a,
.addthis_toolbox .at300b {
  color:#000000;
  font-size:12px;
  font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue","open sans",arial,helvetica,sans-serif;
}

.service_links img,
.social_service_links img {
  display:none;
}

body #block-service-links-service-links-not-node,
body #block-service-links-service-links,
.social_service_links {
  width:100%;
  clear:both;
  float:left;
  display:block;
}

.region-highlighted #block-service-links-service-links-not-node,
.region-highlighted #block-service-links-service-links {
  margin-bottom:6px;
}
.page-parents.landing-level-one .region-highlighted #block-service-links-service-links-not-node {
  margin-top:6px;
}

body #block-service-links-service-links-not-node {
  margin-bottom:6px;
}

.views-field-service-links ul,
body .service-links ul {
  margin:0;
  padding:0;
}

.views-field-service-links li,
body .service-links li,
.social_service_links a {
  display:block;
  float:left;
  clear:none;
}

.views-field-service-links img,
body .print_mail img,
body .service-links img {
  display:none;
}

.service-links-google-plus-one span.gplus,
.views-field-service-links span.gplus,
.views-field-service-links a,
.service-links a,
body .social_service_links .service-links a {
  padding-left:22px;
  margin-right:8px;
  display: block;
  height:20px;
  line-height: 18px;
}
.service-links-google-plus-one {
  width:83px;
}
.service-links-google-plus-one span.gplus,
.views-field-service-links span.gplus {
  float: left;
  clear: none;
  padding-left: 6px;
  display: block;
  margin-right:0;
}
.service-links-google-plus-one div,
.views-field-service-links div {
  float: left !important;
  clear: none;
  display: block !important;
}
.service-links a.service-links-print,
.social_service_links .service-links-print a {
  background: url(../images/service_images/print.png) no-repeat 0 0 transparent;
  margin-top:-2px;
  line-height: 20px;
}

.views-field-service-links a.service-links-print {
  background: url(../images/service_images/print.png) no-repeat 0 0 transparent;
  margin-top:-2px;
  line-height:22px;
}

.views-field-service-links a.service-links-twitter,
.service-links a.service-links-twitter,
.social_service_links .service-links-twitter a {
  background: url(../images/service_images/twitter.png) no-repeat 0 0 transparent;
}

.views-field-service-links a.service-links-facebook,
.service-links a.service-links-facebook,
.social_service_links .service-links-facebook a {
  background: url(../images/service_images/facebook.png) no-repeat 0 0 transparent;
}

.views-field-service-links a.service-links-gplus,
.service-links a.service-links-gplus,
.social_service_links .service-links-gplus a {
  background: url(../images/service_images/google_plus.png) no-repeat 0 0 transparent;
}

.views-field-service-links a.service-links-pinterest,
.service-links a.service-links-pinterest,
.social_service_links .service-links-pinterest a {
  background: url(../images/service_images/pinterest.png) no-repeat 0 0 transparent;
}

  .views-field-service-links a.service-links-pinterest-button .element-invisible,
  .service-links a.service-links-pinterest-button .element-invisible,
  .social_service_links .service-links-pinterest-button a .element-invisible {
    position: relative !important;
  }

.views-field-service-links a.service-links-printmail,
.service-links a.service-links-printmail,
body .print_mail .print-mail {
  background: url(../images/service_images/email.png) no-repeat 0 0 transparent;
  padding-left:22px;
  margin-right:8px;
}

/* Donation form styles */
.node-type-donation-form .service-links a.service-links-pinterest,
.node-type-donation-form .service-links a.service-links-gplus,
.node-type-donation-form .service-links a.service-links-printmail,
.node-type-donation-form .service-links a.service-links-print {
  display: none;
}

.node-type-donation-form .service-links a.service-links-twitter {
  display: block;
  width: 60px;
  height: 60px;
  float: left;
  padding: 0;
  margin-left: 20px;
  text-indent: -9999px;
  text-transform: uppercase;
  font-size: 0;
  line-height: 0;
  background: url(../images/site-chrome/social-sprite.png) no-repeat -61px 0px transparent;
}

.node-type-donation-form .service-links a.service-links-facebook {
  display: block;
  width: 60px;
  height: 60px;
  float: left;
  padding: 0;
  margin-left: 00px;
  margin-right:0;
  text-indent: -9999px;
  text-transform: uppercase;
  font-size: 0;
  line-height: 0;
  background: url(../images/site-chrome/social-sprite.png) no-repeat 0px 0px transparent;
}

/* Printmail */

body.page-printmail .messages,
body.page-printmail #nav,
body.page-printmail #page-footer,
body.page-printmail #bottom-footer,
body.page-printmail #admin-menu,
body.page-printmail #header #header-blocks {
  display:none;
}

body.page-printmail #page-wrapper {
  width:614px
}

body.page-printmail {
  background: url(../images/site-chrome/body-vertical-bg.png) repeat-x 0 0 #E2E2E2;
}

body.page-printmail #header {
  height:50px;
}

body.page-printmail #header #logo,
body.page-printmail #header #logo img {
  width:120px;
  height:auto;
}

body.page-printmail #header #logo {
  margin-top:10px;
}

body.page-printmail #print-mail-form .form-type-textarea {
  margin-right:2em;
}
body.page-printmail #print-mail-form .form-type-textarea .form-textarea-wrapper {
  clear: both;
  display: block;
  width: 100%;
}
body.page-printmail #sidebar {
  display:none;
}
body.page-printmail #content .section {
  float:left;
  padding-bottom:20px;
}

/* Landing and Sub-landing Focus Area Styles */

.front .left-col .pane-aspca-homepage-content-aspca-professional h2.pane-title,
.front .left-col .pane-aspca-homepage-content-aspca-parents h2.pane-title {
  margin-top:0;
}

.view-focus-area .views-row .views-field-field-teaser-title a {
  font-size:15px;
  color:#ff7800;
  font-weight: normal;
  line-height: normal;
  margin-top:7px;
  display:block;
}

.landing-level-one .view-focus-area {
  margin-bottom: 14px;
  float: left;
  width: 100%;
}

.landing-level-one .view-focus-area .views-row {
  float:left;
  width:180px;
  display:block;
  margin-right: 20px;
}

.landing-level-one .view-focus-area .views-row-last {
  margin-right:0;
}

.landing-level-one .view-focus-area div.contextual-links-wrapper {
  right:6px;
}

.landing-level-two .view-focus-area .views-row,
.landing-level-three .view-focus-area .views-row {
  width:100%;
  clear:both;
  display:block;
  height:120px;
  margin-bottom:17px;
  position: relative;
}

.landing-level-two .view-focus-area .views-row .views-field-field-image,
.landing-level-three .view-focus-area .views-row .views-field-field-image {
  float:left;
  width:180px;
  height:120px;
  margin:0;
  padding:0;
}

.landing-level-two .view-focus-area .views-row .views-field-field-teaser-title,
.landing-level-two .view-focus-area .views-row .views-field-field-teaser-blurb,
.landing-level-three .view-focus-area .views-row .views-field-field-teaser-title,
.landing-level-three .view-focus-area .views-row .views-field-field-teaser-blurb {
  float:left;
  width:382px;
  margin-left:20px;
}

/* Google Custom Search */

#content .page-content .google-search table {
  margin:0;
}
#content .page-content .google-search table a {
  font-size: 15px;
  color: #ff7800;
  font-weight: normal;
  line-height: normal;
  display: block;
  text-decoration: none;
}
#content .page-content .google-search .gsc-above-wrapper-area {
  margin-bottom:10px;
}
#content .page-content .google-search .gs-result .gs-title *,
#content .page-content .google-search .gs-result .gs-title {
  text-decoration: none;
}
#content .page-content .google-search .gs-result .gs-title * {
  font-weight: bold;
  color: #ff7800;
}
#content .page-content .google-search table a:hover {
  text-decoration: underline;
}
#content .page-content .google-search .gsc-url-bottom .gs-visibleUrl,
#content .page-content .google-search .gs-snippet {
  font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
  font-size: 11px;
  line-height: normal;
  color: #626262;
}

/* Google Plant Search */

#block-system-main .pane-plant-search-form.google-plant-search {
  margin-bottom:0;
}

.google-plant-search form .form-type-textfield {
  width:474px;
  float:left;
  margin:0;
  padding:0;
  margin-right:20px;
  *margin-top:1em;
}

.google-plant-search form .form-type-textfield input {
  outline: none;
  background-image: url(https://www.google.com/cse/intl/en/images/google_custom_search_watermark.gif);
  background-color: rgb(255, 255, 255);
  background-position: 0% 50%;
  background-repeat: no-repeat;
  border-color: #D9D9D9;
  font-size: 13px;
  padding: 1px 6px;
  border: 1px solid #DDD;
  width: 99%;
}

.google-plant-search form .form-submit {
  font-family: inherit;
  font-size: 11px;
  font-weight: bold;
  color: #000;
  padding: 0 8px;
  height: 20px;
  min-width: 54px;
  background-color: #CECECE;
  border: 1px solid #666;
  *min-width:64px;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  cursor: pointer;
}

/* Wysywig accordion option. */

div.accordion-header-small a {
  color:#ff7800;
}

div.accordion-header-small,
div.accordion-header-small a,
div.accordion-header-small span {
  font-size:10px;
  line-height: normal;
}

.acc-head .collapsed {
  background-position: 0px center !important
}

.acc-head .expanded {
  background-position: 0px center !important
}
