/** WARNING: These styles are also in use in the search results page side bar filters **/

div.heritage-section {
  /*min-height: 500px;*/
  font-family: "Roboto", sans-serif;
  margin-top: -1px;
  padding-bottom: 30px;
  padding-top: 30px;
}

div#heritage-header-content {
  margin-left: auto;
  padding: 0 30px;
  z-index: 100;
  background-repeat: no-repeat;
  /* background-size: inherit; */
  margin-right: 70px;
}

div.heritage-section.featured-businesses{
  padding-top: 0;
}

div#holiday-header {
  min-height: 400px;
  position: relative;
  padding-top: 0;
}

div#holiday-header div.heritage-bckgd {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

div.heritage-section-headers {
  font-family: "Roboto Slab", serif;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
  line-height: normal;
  letter-spacing: 4px;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.heritage-flex-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

img#heritage-header-text-img {
  max-width: 85%;
  margin-top: 60px;
}


div#heritage-header-content div#holiday-header-blurb {
  font-family: 'Roboto', sans-serif;
  margin-bottom: 40px;
  margin-top: .5rem;
  max-width: inherit;
  font-size: small;
}

div#heritage-header-content div#holiday-header-blurb p {
line-height: 1.4;
margin-bottom: .5rem;
}

div#holiday-header div#heritage-header-content h1 {
  font-family: 'Roboto Slab', serif;
  text-transform: uppercase;
  font-style: normal;
  letter-spacing: 0.03em;
  font-size: 2rem;
}

div.feature-card .feature-card-header {
  font-size: 21px;
}

.home-header-text {
  font-size: 12px;
}

@media screen and (min-width: 40em) {
  div.heritage-section div.entry-cover {
    padding: 7em 0 6em 0;
  }
  div#heritage-header-content {
    max-width: 370px;
}

  div.videos-slider .single-video {
    width: 52%;
  }
  div.videos-slider .slick-prev {
    left: 6px;
  }
  div.videos-slider .slick-prev:before,
  div.videos-slider .slick-next:before {
    font-size: 40px;
  }
  div.videos-slider .slick-next {
    right: 6px;
  }
}
/* screen width: 320 * iPhone5/SE,  */
@media only screen and (min-width: 319px) and (max-width: 321px) {
  div#mobile-hero-header {
    height: 125px;
  }

  img#heritage-header-text-img {
    max-width: 88%;
    margin-top: 50px;
  }

   div#heritage-header-content div#holiday-header-blurb {
    /* padding-bottom: 0px;  */
    margin-bottom:32px;
   }


  /* 320 * videos */
  div#intentionalist-heritage-month div.heritage-section-headers {
    padding-top: 28px;
    padding-bottom: 27px;
    margin-top: 0;
  }
  div#intentionalist-heritage-month div.heritage-slider .slick-dots {
    bottom: -30px;
  }

  div#intentionalist-heritage-month div.videos-slider div.description {
    padding-top: 40px;
  }

  div#intentionalist-heritage-month div.videos-slider div.description div {
    padding: 0 40px;
}

  div#intentionalist-heritage-month div.videos-slider div.description div p {
    line-height: 1.4rem;
    font-size: 16px;
    padding-bottom: 20px;
  }
  /* 320 ** businesses  */
  /* div#intentionalist-heritage-month div.heritage-section p {
    font-size: 16.5px;
  } */


}

/* screen width: 360-375 * GalaxyS5, iPhone 6/7/8 */

@media only screen and (min-width: 350px) and (max-width: 380px) {
  div#mobile-hero-header {
    height: 141px;
  }

  div#holiday-header {
    min-height: 0px;
  }

  div#intentionalist-heritage-month div#heritage-header-content div#holiday-header-blurb {
    font-size: 12.5px;
}

  /* 360-375 * videos */
  div.heritage-section-headers {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 5px;  }
  div#intentionalist-heritage-month div.heritage-slider .slick-dots {
    bottom: -30px;
  }
  div.videos-slider div.description div p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    max-width: 268px;
  }

  div.videos-slider div.description {
    padding-bottom: 0;
  }

}

/* Pixel2, Pixel2XL, iPhone 6/7/8/Plus */

@media only screen and (min-width: 411px) and (max-width: 414px) {
  div#mobile-hero-header {
    height: 162px;
  }

  img#heritage-header-text-img {
    margin-top: 18%;
  }

  div#heritage-header-content div#holiday-header-blurb {
    margin-bottom: 13%;
  }

  div#heritage-header-content div#holiday-header-blurb p {
    font-size: 15px;
  }

  div.heritage-section-headers {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 5px;
  }

  div.videos-slider div.description div p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 2rem;
    max-width: 310px;
  }
}

/* iPad iPad iPad iPad iPad iPad iPad iPad iPad iPad iPad iPad*/

 @media only screen and (max-width: 768px) {
  div#holiday-header div.heritage-bckgd {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
  }
 }

div.videos-slider {
  color: #eff0f7;
  font-size: 14px;
}

div.videos-slider div.description {
  padding-top: 50px;
  padding-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

div.videos-slider div.description div {
  max-width: 800px;
  padding: 0 30px;
}

div.videos-slider div.description p {
  font-family: "Roboto";
  text-align: center;
  font-size: 12.75px;
}

div.videos-slider .slick-prev,
div.videos-slider .slick-next {
  top: 50%;
}

div.videos-slider .slick-prev:before,
div.videos-slider .slick-next:before {
  color: #c5258f;
}

div.videos-slider .flex-video.widescreen {
  margin-bottom: 0 !important;
}

div.videos-slider .single-video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  float: right;
}

div.videos-slider .single-video-wrapper .single-video {
  max-width: 800px;
  min-width: 400px;
}

div.heritage-slider .slick-dotted.slick-slider {
  margin-bottom: 0;
}

div.heritage-slider .slick-dots {
  bottom: -40px;
}

div.heritage-slider ul.slick-dots li button:before {
  color: #c5258f;
}

div.heritage-slider ul.slick-dots li.slick-active button:before {
  color: #891e5f;
}

div.heritage-slider ul.slick-dots li button:before {
  font-size: 15px;
}

/* overrides for featured businesses card */
div.heritage-section.featured-businesses div.column .listing-item {
  margin-bottom: 0 !important;
}

/* overrides for featured businesses card: rounded edges */
div.heritage-section.featured-businesses .content-wrap {
  border-radius: 0 !important;
}

div.heritage-section.featured-businesses .listing-wrap .item-cover {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

div#heritage-month-loader {
  text-align: center;
  margin-top: 7rem;
}

div#heritage-month-loader div.lds-default {
  margin-left: auto;
  margin-right: auto;
}

li.list-refiner {
  padding: 2px 0 !important;
}

/* headlines with lines, credit http://jsfiddle.net/gKve7/*/
h1#featured-business-header {
  text-align: center;
  overflow: hidden;
    margin:16px;
    font-family: "Roboto Slab", serif;
}
h1#featured-business-header div#featured-business-header-text p {
  font-family: "Roboto Slab", serif;
  position: relative;
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 4px;
  text-transform: uppercase;
}

div.heritage-section div.owl-controls {
  display: none !important;
}

/*div.heritage-section p {*/
/*  font-family: "Roboto Slab";*/
/*  font-size: 13.5px;*/
/*  font-weight: inherit;*/
/*  line-height: 24px;*/
/*}*/

div.heritage-section div.social-section {
  display: flex;
  align-items: center;
  justify-content: center;
    text-align: center;
}

div.heritage-section div.social-section img {
  border: 2px solid black; /*filter will turn it and svg icon to proper color*/
  border-radius: 50px;
  background-color: transparent;
  height: 85px;
  width: 85px;
  padding: 5px;
  filter: invert(90%) sepia(10%) saturate(767%) hue-rotate(286deg) brightness(101%) contrast(91%);
}

div.heritage-section div.social-section a {
  color: #f3d3e9;
  text-decoration: underline;
  font-size: 18px;
}


div.heritage-section div.social-section div {
  padding: 30px;
}

div.heritage-section div.social-section {
  background-color: rgba(39, 46, 94, 0.95);
  min-height: 175px;
  z-index: 2;
  position: relative;
  bottom: 425px;
}

div.heritage-section div.social-section.show-for-small-only {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  z-index: 0;
  bottom: 0;
}

div.heritage-section div.social-section.show-for-small-only div a img {
  border: 2px solid #c5258f;
  border-radius: 50px;
  height: 50px;
  width: 50px;
  padding: 0;
}

div.heritage-section:nth-child(odd) {
  background-color: #eff0f7;
}


div.heritage-section.heritage-social-share .post-item-wrapper:last-child {
  margin-bottom: 0;
}

div.heritage-section.heritage-social-share .post-item-wrapper div.item-cover.entry-cover.has-image{
  height: 230px;
}

div.heritage-section div.social-section.show-for-small-only{
  min-height: 0;
}

div.heritage-section h2.heritage-header {
  font-family: "Roboto Slab";
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding-bottom: 8px;
}

div.heritage-section div.listing-wrap {
  margin-bottom: 0px;
  margin-top: -10px;
}

div.heritage-section a.heritage-button {
  text-transform: capitalize;
  background-color: transparent;
  border-radius: 0px;
  /* font-size: 1.1rem; */
  font-weight: normal;
  white-space: nowrap;
}

div.heritage-section a.heritage-button.white-button {
  color: white;
  border: 1px solid white;
}

div.heritage-section a.heritage-button.pink-button {
  color: #c5258f;
  border: 1px solid #c5258f;
}

div.heritage-section a.heritage-button.pink-button.white-background {
  background-color: white;
}

div.heritage-section a.heritage-button.pink-button:hover,
div.heritage-section a.heritage-button.white-button:hover {
  background-color: #c5258f;
  color: white !important;
  border: 1px solid white !important;
}

div.heritage-section div.text-center h1 {
  margin-bottom: 30px;
  font-family: "Roboto Slab";
  font-size: 21px;
}

div.heritage-section div.row div.column {
  padding: 0px;
}

div #swipebox-top-bar div#swipebox-title {
  visibility: hidden;
}

div.heritage-insta {
  background-color: white;
  border: 1px solid lightgrey;
}

div.heritage-insta div.header {
  padding: 10px;
  flex-direction: row;
}

div.heritage-insta div.header div.avatar-container {
  flex-direction: column;
}

div.heritage-insta div.header div.avatar-container img.avatar {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: 2px solid pink;
}

div.heritage-insta div.header div.header-text {
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-flex-shrink: 1;
  /*-ms-flex-negative: 1;*/
  flex-shrink: 1;
  margin: 0 10px;
  overflow: hidden;
}

div.heritage-insta div.header div.header-text span.username-text {
  font-size: 14px;
  font-weight: 500;
  /*letter-spacing: 1px;*/
  color: black;
  font-family: "Roboto";
}

div.heritage-insta div.header div.header-text span.username-text:hover {
  text-decoration: underline;
}

div.heritage-insta div.header div.header-text div.location-text {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  color: #999;
  line-height: 14px;
  font-size: 12px;
}

div.heritage-insta div.header a.ViewProfileButton {
  margin-top: 3px;
  background-color: #3897f0;
  border-radius: 3px;
  color: #fff;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  font-weight: 600;
  margin-left: auto;
  padding: 5px 12px;
  text-decoration: none;
  font-size: 16px;
  height: 34px;
}

div.heritage-insta div.view-more-container {
  background-color: #fff;
  border-bottom: 1px solid #efefef;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  /*height: 60px;*/
  margin-left: 12px;
  margin-right: 12px;
}

div.heritage-insta div.view-more-container a.view-more {
  margin-top: 10px;
  font-weight: 500;
  color: #3897f0;
  font-size: 14px;
  font-family: "Roboto";
}

div.heritage-insta div.view-more-container a.view-more:hover {
  text-decoration: underline;
}

div.heritage-insta div.view-more-container span.hashtags {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 12px;
}

div.heritage-insta div.view-more-container span.hashtags b {
  margin-right: 2px;
}

div.heritage-insta div.view-more-container span.hashtags p {
  font-family: "Roboto";
  word-break: break-all;
}

/*force wordpress wysiwg  editor into submission*/
 div.heritage-insta div.view-more-container span.hashtags p:first-of-type {
  display: inline;
}

div.heritage-insta div.view-more-container span.hashtags p a {
  color: #003569;
}

div.heritage-insta div.view-more-container span.hashtags p a:hover {
  text-decoration: underline;
}

div.heritage-section.heritage-social-share {
  background-color: #eeeff3;
  padding-top: 0;
}
div.heritage-section.heritage-social-share div.row {
  padding-left: 20px;
}

div.heritage-section.heritage-social-share div.feature-card {
  height: 560px;
  resize: both;
  overflow: hidden;
}

div.heritage-section.heritage-social-share div.image-section {
  display: flex;
  width: 100%;
  height: 100%;
}

img.social-image {
  object-fit: cover;
  width: 100%;
}

div.heritage-section.heritage-social-share div.archive-posts.post-item-wrapper article {
  margin: 0;
  min-height: 490px;
}

div.heritage-section.heritage-social-share div.feature-card div.archive-posts.post-item-wrapper div.content-inner.blog-content {
  padding-top: 1.5em;
  padding-right: 1.5em;
  padding-left: 1.5em;
  padding-bottom: 0;
}

div.heritage-section.heritage-social-share div.archive-posts.post-item-wrapper div.read-more.content-inner {
  position: relative;
  text-align: center;
  padding-top: 0;
  bottom: 0;
}

div.heritage-section.heritage-social-share div.archive-posts.post-item-wrapper div.read-more.content-inner a {
  border: solid 1px #c5258f;
  border-radius: 0px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: normal;
  text-align: center;
  color: #c5258f;
}

div.heritage-section.heritage-social-share div.archive-posts.post-item-wrapper div.read-more.content-inner a:hover,
div.heritage-section.heritage-social-share div.archive-posts.post-item-wrapper div.read-more.content-inner a:focus {
  background-color: #891e5f;
  color: white;
}

div.heritage-section.heritage-social-share div.content-inner.blog-content h4.entry-title a {
  font-family: "Roboto", sans-serif;
  text-decoration: underline;
  font-size: 18px;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #c5258f;
}

div.heritage-section.heritage-social-share div.content-inner.blog-content h4.entry-title a:hover,
div.heritage-section.heritage-social-share div.content-inner.blog-content h4.entry-title a:focus {
  color: #891e5f;
}

div.heritage-section.heritage-social-share div.content-inner.blog-content div.entry-content.subheader {
  max-height: 96px;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #272e5e;
}

div.heritage-section.heritage-social-share div.archive-posts.post-item-wrapper footer.entry-footer {
  display: none;
}

div.follow-us-image {
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: scroll;
  /* webkit-background-size: cover; */
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 550px;
}

div.follow-us-section {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 1rem;
}

div#heritage-results div#sidebar aside.widget {
  margin-top: 0;
}

div#heritage-results div.landing-page-item {
  padding-right: 0 !important;
  padding-left: 15px !important;
}

div#heritage-results div#sidebar {
  position: static;
  top: -50px;
}

div#heritage-results main#main {
  position: static;
}

div#heritage-results div.landing-page-item div.content-inner {
  padding: 1.2em 1.5em;
}

div.refine-neighborhoods-list-wrap ul.neighborhood li input[id^="in-neighborhood"] {
  display: inline-block !important;
}

span.results-filter-text {
  cursor: pointer;
}

i.parent-collapse-icon {
  color: #c5258f;
  padding-left: 5px;
  cursor: pointer;
}

.heritage-partners-title {
  font-size: 12px;
  font-family: "Roboto Slab", serif;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #5c628f;
}

div#heritage-partner-logos div.slick-track {
  margin: auto;
}

#heritage-special-events{
  height: auto;
  padding-bottom: 0;
  padding-top: 0;
  min-height: 0;
}

#heritage-special-events div.row{
  display: flex;
  justify-content: center;
  align-items: center;
}

#heritage-special-events div.event-image-wrapper{
  flex: 25%;
}

#heritage-special-events div.small-12.medium-9.columns{
  flex: 70%
}

#heritage-special-events div.text-center{
  padding-bottom: 20px;
}

/* edited from https://stackoverflow.com/questions/26173376/rotate-font-awesome-icon-on-click/26173496*/

.rotate {
  -moz-transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

.rotate.down {
  -ms-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.rotate.up {
  -ms-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}


/***
NEW STYLES FOR WOMEN'S HISTORY MONTH Amplify/Recommend/Support sections *
**/
div.part-heritage-cta {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-evenly;
  color: white;
  max-width: 1200px;
  margin: 0 auto;
}

div.part-heritage-cta > div {
  width: 50%;
  min-width: 380px;
  max-width: 600px;
  margin: 0 50px;
}

div.part-heritage-cta-subtitle {
  font-size: 24px;
  font-family: 'Roboto Slab', serif;
  margin: 20px 0;
  line-height: 1.4;
}

div.part-heritage-cta-body > p {
  margin-bottom: 10px;
}

div.cta-list,
div.cta-image {
  padding-top: 100px;
}

div.cta-list div.list-item {
  display: flex;
  margin-bottom: 30px;
}

div.cta-list div.list-item > img {
  margin-right: 30px;
  align-self: center;
}

div.cta-list div.list-item > div {
  display: flex;
  justify-content: center;
  align-items: center;
}

div.part-heritage-cta-img div {
  padding-top: 30px;
}


div.part-heritage-cta a.button.heritage.big {
  background-color: #c5258f;
  margin-left: 0;
}

.mobile-only {
  display: none;
}

@media only screen and (max-width: 768px) {

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: unset;
  }

  div.part-heritage-cta {
    flex-flow: row wrap;
    margin: 20px 10px 0;
  }

  div.heritage-section.part-heritage-cta-image {
    margin-top: 20px;
  }


  div.part-heritage-cta > div {
    width: 100%;
    padding: 0 20px;
  }

  div.part-heritage-cta h4,
  div.part-heritage-cta-subtitle {
    font-size: 24px;
    font-family: 'Roboto Slab', serif;
  }

  div.part-heritage-cta-subtitle {
    margin: 20px 0;
    display: inline-block;
  }

  div.part-heritage-cta > div > div {
    white-space: normal;
  }

  div.cta-list,
  div.cta-list div {
    display: inline-block;
  }


}

/***
END NEW STYLES FOR WOMEN'S HISTORY MONTH Amplify/Recommend/Support sections *
**/


/* styles for mobile only */

@media only screen and (min-width: 319px) and (max-width: 40em) {
  div.heritage-section {
    margin-top: -6px;
    padding-bottom: 0;
    padding-top: 10px;
  }

  div#holiday-header {
    min-height: 0;
  }

  div.heritage-section div.listing-wrap div.columns {
    padding: 0px;
  }

  div#mobile-hero-header {
    background-repeat: no-repeat;
    /* background-color: white; */
    background-size: cover;
  }


  /* div#intentionalist-heritage-month h1#featured-business-header div#featured-business-header-text p {
    font-size: 11px;
  } */

  /* div.heritage-section-headesr {
    font-size: 11px;
  } */


  div.heritage-section h2.heritage-header {
    margin-bottom: 0;
  }

  div.heritage-section-headers h1#featured-business-header div#featured-business-header-text {
    font-size: 11px;
    line-height: 1rem;
    margin-top: 0;
  }

  div.heritage-section a.pink-button {
    font-size: 15px;
  }

  div.heritage-section div.p-x-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  div.heritage-section.heritage-social-share{
    padding-right: 0;
    padding-left: 0;
  }

  div.heritage-section div.social-section div {
    padding: 15px;
  }

  div.heritage-section.heritage-social-share div.row{
    padding-left: 0;
  }

  div.heritage-section.heritage-social-share div.columns{
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 20px;
  }

  div.heritage-section.heritage-social-share div.feature-card{
    height: auto;
  }

  div.heritage-section div.social-section img {
    height: 100px;
    width: 100px;
      filter: invert(23%) sepia(100%) saturate(1839%) hue-rotate(297deg) brightness(88%) contrast(97%);
  }

  img.event-image {
    height: 130px;
  }
  div#heritage-header-content {
  margin-right: 0;
  background-color:white;
  border-top: solid white 10px;
  border-bottom: solid white 10px;
  }

  div#heritage-header-content div#holiday-header-blurb {
    font-size: 11.5px;
  }


  div#heritage-results div.landing-page-item {
    padding-right: 0px !important;
    padding-left: 0px !important;
  }

  div.videos-slider {
    min-height: 300px;
  }

  div#intentionalist-heritage-month div.heritage-slider .slick-dots {
    bottom: -30px;
  }

  div.videos-slider .slick-prev {
    left: -2px;
  }
  div.videos-slider .slick-prev:before,
  div.videos-slider .slick-next:before {
    font-size: 35px;
  }
  div.videos-slider .slick-next {
    right: -2px;
  }

  div.videos-slider .single-video-wrapper {
    float: left;
  }
  div.videos-slider .single-video-wrapper .single-video {
    min-width: 0;
    width: 100%;
  }


}
