/*
  Page URI:    heartmath.org/research/science-of-the-heart
  Description: Custom styling for Science of the Heart category
*/

/*
 * CSS DIRECTORY
   - GLOBAL   
   - LAYOUT
   - PAGE
   - ELEMENTS
   - FOOTER
   - @MEDIA
*/



/* GLOBAL
================================= */
#hm-soh ul.breadcrumb {
  padding-left: 0;
  padding-right: 0;
}

#hm-soh .h2-primary {
  font-weight: 300;
}



/* LAYOUT
================================= */
#hm-soh .hm-tier:not(.hm-tier-header):not(.hm-tier-soh-footer) .row.wrapper {
  width: 100%;
  padding: 30px 0;
}

#hm-soh .hm-tier.hm-tier-soh-footer .row.wrapper {
  padding: 0 0 20px;
}

#hm-soh .hm-tier.hm-tier-soh-page-heading .row.wrapper {
  padding-bottom: 0 !important;
}

#hm-soh .hm-tier-header .label {
  position: relative; 
  font-size: 15px;
  font-weight: 500;
  padding: 2px 6px;
  line-height: 17px;
  top: -16px;
  right: -8px;
}



/* PAGE (INDEX)
================================= */
#hm-soh .hm-tier-soh-page-header {
  padding-bottom: 0;
  margin: 0;
}

#hm-soh .hm-tier-toc ol > li.menu-item.active {
  font-weight: bold;
}

#hm-soh .hm-tier-soh-page ol#hm-soh-bibliography {
  position: relative;
  padding: 0;
  margin: 0 0 0 25px;
}

#hm-soh .hm-tier-soh-page ol#hm-soh-bibliography li {
  padding: 16px;
}

#hm-soh .hm-tier-soh-page ol#hm-soh-bibliography li .auth {
  font-weight: 500;
}

#hm-soh .hm-tier-soh-page ol#hm-soh-bibliography li:nth-child(odd) {
  background: #f3f3f3;
}



/* ELEMENTS
================================= */
#hm-soh .hm-figure {
  position: relative;
  display: block; 
  clear: both; 
  margin: 30px auto;
}

#hm-soh .hm-figure figcaption {
  border: none;
  border-radius: 6px;
}

#hm-soh .hm-figure img {
  margin: 0 auto;
}

#hm-soh .hm-tier.hm-tier-soh-info {
  background: #f4f4f4;
}

#hm-soh .hm-tier.hm-tier-soh-info.style-b {
  background: #fbf9ea;
}

#hm-soh .hm-soh-info-container {
  position: relative;
  display: block;
  clear: both;
  text-align: center;
}

#hm-soh .hm-soh-info {
  position: relative;
  display: inline-block;
  text-align: left;
}

#hm-soh .hm-tier.hm-tier-soh-info h6 {
  margin-bottom: 12px;
  line-height: 24px;
  color: #b1005d;
  font-weight: 500;
  text-align: center;
}

#hm-soh .hm-tier.hm-tier-soh-info .hm-soh-info-container > h6 {
  text-align: center;
}

#hm-soh .hm-tier.hm-tier-soh-info .hm-soh-info-container .hm-soh-info > h6 {
  text-align: left;
}

#hm-soh .hm-tier.hm-tier-soh-info .hm-soh-info ul {
  padding: 0 20px;
}

#hm-soh .hm-tier.hm-tier-soh-info .hm-soh-info ol {
  padding: 0 25px;
}

#hm-soh .hm-tier.hm-tier-soh-quote {
  background: #f6efe3;
}



/* FOOTER
================================= */
#hm-soh .hm-tier-soh-footer .hm-pagination {
  display: inline-block; 
  float: none; 
  width: 100%; 
  text-align: center;
}

body.hm-app-bv #hm-soh .hm-tier-soh-footer .hm-pagination {
  margin-bottom: 25px;
}

#hm-soh .hm-tier-soh-footer .hm-pagination > nav {
  display: inline-block;
}

#hm-soh .hm-tier-soh-footer .hm-pagination > p {
  font-size: 17px; 
  font-weight: 500;
  margin-bottom: 2px;
}

#hm-soh .hm-tier-soh-footer .hm-pagination ul {
  margin: 0 auto;
  text-align: center;
}



/* @MEDIA
================================= */

/* Small (*-sm) - Custom Queries, Bootstrap extended */
@media only screen and (max-width : 991px) {

  #hm-soh .hm-inline-container {
    position: relative;
    display: block;
    clear: both;
    text-align: center;
  }
  
  #hm-soh .hm-inline {
    position: relative;
    display: inline-block;
    text-align: left;
  }

}


/* @Media - (md) Landscape Phone, Portrait Tablet */
@media only screen and (min-width : 992px) {

  #hm-soh .hm-tier-soh-page h2 {
    width: 80%;
  }

  #hm-soh .hm-tier-soh-page h3, 
  #hm-soh .hm-tier-soh-page h4 {
    width: 70%;
  }

}