/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

/* HELPERS */
.noscroll {
  pointer-events: none;
}

.far {
  /* display: none; */
  position: relative;
  top: 0.1em;
  left: -0.7em;
  font-size: 3em;
  z-index: 1;
  background-color: white;
  border-radius: 100%;
  padding: 0.1em;
  color: #1d174f;
  -webkit-box-shadow: 0px 0px 40px -20px rgb(0 0 0 / 30%);
  box-shadow: 0px 0px 40px -20px rgb(0 0 0 / 30%);
}

.photo-divider {
  margin-top: 1em;
  margin-bottom: 8em;
  background: #c8a728;
  padding-block: 7%;
  padding-inline: 5%;
  background-image: url('../images/group 6.png');
  background-position: center;
  background-size: 140%;
}

/* =============== */
/* STYLES */
/* =============== */
.card-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
}

.fa-chevron-down {
  margin-left: auto;
  position: relative;
  bottom: -6px;
}

#content.home {
  background: url(../images/Swoop_BG.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

.infographics.container {
  margin-inline: 10%;
  width: auto;
  max-width: 1600px;
}

.infographics {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.infographic {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;

  -webkit-box-pack: justify;

  -ms-flex-pack: justify;

  justify-content: space-between;
  max-height: 600px;
  width: calc(33% + 3em);
  width: max(300px, calc(33% + 3em));
  max-width: 700px;

  margin-inline: 4em;
  margin-block: 4em;

  background: rgba(255, 255, 255, 0.5);
  padding: 2em;
  border-radius: 3px;
}

/* .infographic:nth-last-of-type(2) {
  margin-left: auto;
}

.infographic:last-of-type {
  margin-right: auto;
} */

.infographic-wrapper {
  height: 0;
  margin-bottom: -5%;

  /* for positioning with up and down icons */
  position: relative;
  left: -1.7em;
  width: 100%;
}

.infographic-icon {
  position: relative;
  top: -60%;
  left: -49%;

  width: 40%;
  padding: 1em;
  margin-top: -2em;
  margin-right: 1em;

  /* background: rgba(255, 255, 255, 0.5); */
  /* border-radius: 100%; */
  overflow: visible;

  border-top-left-radius: 100%;
  border-bottom-left-radius: 100%;
  -webkit-box-shadow: -30px 0px 40px -22px rgb(0 0 0 / 10%);
  box-shadow: -30px 0px 40px -22px rgb(0 0 0 / 10%);
}

.infographic-headline.primary,
.card-single .title {
  font-family: 'goldmanbold';
  font-weight: 900;
  font-size: calc(1.5vw + 0.4em);
  font-size: max(1.9em, calc(1.5vw + 0.4em));
  line-height: 1em;
  text-transform: uppercase;

  margin-top: 0;
  margin-bottom: 0.5em;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;

  width: 100%;
}

.card-single .title {
  width: unset;
}

.infographic-headline.primary > * {
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;
}

.infographic-headline.secondary {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-style: normal;
  font-size: calc(0.09em + 1vw);
  font-weight: 300;
  line-height: 1.2em;
  text-transform: uppercase;

  margin-top: 0.5em;
}

.infographic-headline.small {
  font-size: 0.7em;
  font-weight: 200;
  font-style: italic;
  text-transform: lowercase;

  padding-inline: 0.4em;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.infographic-wrapper-text {
  width: 100%;
}

.infographic-text {
  font-family: 'Barlow', sans-serif;
  max-width: 350px;
  height: 0;
  opacity: 1;
  border-left: 1px solid #354976;
  padding-left: 1em;
  width: 100%;
}

.infographic-text.wide {
  max-width: 600px;
}

.infographic-read-more {
  font-family: 'Barlow', sans-serif;
  font-weight: 200;
  height: 3.5em;
  overflow: hidden;
  margin-bottom: 1em;
}

.infographic-read-more.active {
  height: auto;
}

.infographic-button {
  text-transform: uppercase;
  font-weight: 500;
  -ms-flex-item-align: end;
  align-self: flex-end;

  padding-block: 0.5em;
  padding-inline: 1em;
  margin: 4px;

  border: none;
  border-radius: 3px;

  color: white;
  background-color: #354976;

  -webkit-transition: background 0.2s ease-out;

  -o-transition: background 0.2s ease-out;

  transition: background 0.2s ease-out;
  -webkit-transition-property: background, color, border, margin;
  -o-transition-property: background, color, border, margin;
  transition-property: background, color, border, margin;
}

.infographic-button:hover {
  color: #354976;
  background-color: white;
  border: 4px solid #354976;
  margin: 0;
}

/* ROUTE MAP */
.catskills-route-map > .row {
  margin-top: 2em;
}

.catskills-route-map li:not(ol > li) {
  text-indent: -1.3em;
  margin-left: 2em;
}

.route-icons {
  max-width: 80%;
  margin-left: 20%;
}

/* =============== */
/* FIXES */
/* =============== */

/* FIX NAVBAR */
.topnav.container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* FIX NAV DROPDOWN */
#topnavlinks {
  margin-top: 5em;
}

/* FIX LOGO PLACEMENT */
.topnav .logo {
  height: unset;
  padding-bottom: 14px;
}

.mobile-nav-dropdown-menu {
  background: grey;
}

/* FIX GAP BETWEEN HEADER AND NAV */
.site {
  padding-top: 0;
}

/* FIX SPACING ABOVE HEADLINES ON PAGES */
.centeredTextColumn h2 {
  margin-top: 0;
  font-weight: 600;
}

.centeredTextColumn div.row:not(:first-of-type) h2 {
  margin-top: 2em;
}

/* =============== */
/* TWEAKS */
/* =============== */

/* HEADER TWEAKS */
#homeHeader {
  height: 500px;
}

#homeHeaderBlueOverlay {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 1em;
}

#homeHeaderHeadline {
  font-size: 430%;
  margin-top: unset;
}

/* USING BG IMAGE INSTEAD OF IMAGE TAG */
#homeHeader #videoDiv {
  background-position: center center;
  background-size: cover;
}

/* BG IMAGES */
#videoDiv.voices {
  background: url(../images/Catskills_HERO_VoicesFPO.png);
}

#videoDiv.labor {
  background: url(../images/shutterstock_1772597144.jpg);
}

#videoDiv.environment {
  background-position: right 20% !important;
  background: url(../images/IMG_7943.jpg);
}

#videoDiv.faq {
  background-position: center 30% !important;
  background: url(../images/iStock-1186698222.jpg);
}

#videoDiv.project-timeline {
  background: url(../images/529705873-huge-bg-removal.jpg);
}

#videoDiv.route-map {
  background: url(../images/RISE_Catskills_Map.png);
  background-position: 72% 85% !important;
  background-size: 145% auto !important;
  background-color: #354976;
}

#videoDiv.community {
  background-position: center top !important;
  background: url(../images/IMG_7902.jpg);
}

#videoDiv.contact {
  background-position: center top !important;
  background: url(../images/Catskills_HERO_ContactUs.png);
}

#videoDiv.about {
  background-position: center top !important;
  background: url();
}

/* FIXES BACKGROUND IMAGES SIZING */
#videoDiv > div > img {
  max-width: unset;
}

/* FIXES HOMEPAGE ICONS */
#post-143 img {
  position: unset;
  top: 0;
  left: 0;
}

/* FIXES VOICES HEADLINE */
#post-351 h2 {
  visibility: visible;
}

/* ADDS PADDING TO HOMEPAGE ICONS */
#content.site-content {
  background-size: 100% auto;
  padding-top: 80px;
}

.catskills-sidebar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-right: 3em;
}

.catskills-sidebar img:not(.catskills-icon) {
  border-radius: 0.2em;
  -webkit-box-shadow: -30px 0px 40px -22px rgb(0 0 0 / 10%);
  box-shadow: -30px 0px 40px -22px rgb(0 0 0 / 10%);
  max-width: 80%;
  margin-left: auto;
}

.catskills-icon {
  width: 50%;
  margin-left: auto;
  margin-top: -2em;
  margin-bottom: 4em;
  padding: 1em;
  border-top-left-radius: 100%;
  border-bottom-left-radius: 100%;
  background: rgba(255, 255, 255, 0.4);
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(255, 255, 255, 0.4)),
    to(rgba(255, 255, 255, 0))
  );
  background: -o-linear-gradient(
    left,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-box-shadow: -30px 0px 40px -22px rgb(0 0 0 / 10%);
  box-shadow: -30px 0px 40px -22px rgb(0 0 0 / 10%);
}

/* FIXES SECTION SPACING */
.catskills-section:not(:nth-of-type(1)) {
  margin-top: 5em;
}

/* FIXES ACCORDIONS / FAQ */
.card-header {
  font-family: 'Barlow', sans-serif;
  font-size: 1.2em;
  cursor: pointer;
}

.card-header a {
  color: #354976;
  -webkit-transition: color 0.2s ease-out;
  -o-transition: color 0.2s ease-out;
  transition: color 0.2s ease-out;
}

.card-header:hover a {
  color: goldenrod;
}

.card-body p {
  font-weight: 200;
  line-height: 1.8em;
}

/* FIXES CAROUSEL SPACING */
.row.catskills-carousel {
  font-family: 'Barlow', sans-serif;
  color: white;
  /* background-color: #354976; */
  margin-top: unset;
}

.catskills-carousel i {
  color: white !important;
}

.catskills-carousel footer {
  color: white;
}

.catskills-carousel li {
  background-color: white;
}

.carousel-bg {
  background-color: #354976;
}

.catskills-carousel .carousel-control-next,
.catskills-carousel .carousel-control-prev {
  width: unset;
}

/* TIMELINE MOCKUP */
.catskills-timeline {
  border-right: #354976 0.2em solid;
  margin-top: 4em;
  margin-right: 2em;
  height: 90%;
}

.card-single {
  background: white;
  border-radius: 3px;
  padding-block: 1em;
  padding-inline: 4em;
  margin-block: 2em;
  -webkit-transition: -webkit-box-shadow 0.2s ease-out;
  transition: -webkit-box-shadow 0.2s ease-out;
  -o-transition: box-shadow 0.2s ease-out;
  transition: box-shadow 0.2s ease-out;
  transition: box-shadow 0.2s ease-out, -webkit-box-shadow 0.2s ease-out;
}

.card-single .title {
  -webkit-transition: color 0.2s ease-out;
  -o-transition: color 0.2s ease-out;
  transition: color 0.2s ease-out;
}

.card-single:hover {
  -webkit-box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.3);
}

.timeline-marker {
  font-size: 3em;
  color: #354976;
  position: absolute;
  left: -1.45em;
  -webkit-transition: color 0.2s ease-out;
  -o-transition: color 0.2s ease-out;
  transition: color 0.2s ease-out;
}

.card-single:hover .title,
.card-single:hover .timeline-marker {
  color: goldenrod;
}

@media only screen and (min-width: 1850px) {
  .infographics.container {
    margin-inline: auto;
  }
}

@media only screen and (max-width: 1382px) {
  .infographic,
  .infographic:last-of-type,
  .infographic:nth-last-of-type(2) {
    min-height: calc(300px + 10vw);
    max-height: calc(300px + 10vw);
    width: calc(50% - 4em);
    margin-inline: 2em;
  }

  .infographic-text {
    font-size: 1em;
  }

  .infographic-headline.secondary {
    font-size: 1.2em;
  }
}

@media only screen and (max-width: 1280px) {
  .infographic-headline.primary {
    margin-left: 0.6em;
  }

  .far {
    font-size: 2.8em;
    left: -0.4em;
  }
}

@media only screen and (max-width: 1200px) {
  .catskills-icon {
    margin-top: 0;
  }
}

@media only screen and (max-width: 991px) {
  .infographic-headline {
    font-size: calc(2.7vw + 1em);
    font-size: max(2em, calc(2.7vw + 1em));
  }

  .infographic-text {
    max-width: 600px;
  }

  .catskills-icon {
    width: 100%;
  }
}

@media only screen and (max-width: 920px) {
  .infographic,
  .infographic:last-of-type,
  .infographic:nth-last-of-type(2) {
    min-height: calc(150px + 25vw);
    max-height: calc(150px + 25vw);
    width: 70%;
    margin-left: 8em;
    margin-right: 2em;
  }

  .infographic-icon {
    top: -90%;
  }
}

@media only screen and (min-width: 767px) {
  .centeredTextColumn .row {
    margin-top: 0 !important;
  }
}

/* FIXES HEADER DISAPPEARING */
@media only screen and (max-width: 767px) {
  #homeHeader {
    height: 500px;
  }

  #homeHeader #videoDiv {
    background-position: center right;
  }

  .infographic,
  .infographic:last-of-type,
  .infographic:nth-last-of-type(2) {
    width: 90%;
    margin-left: unset !important;
    margin-right: unset !important;
  }

  .infographic-wrapper {
    left: 1em;
  }

  .infographic-headline {
    padding-left: 1em;
    font-size: calc(2.7vw + 1em);
    font-size: max(2em, calc(2.7vw + 1em));
  }

  .infographic-text {
    margin-left: 3.4em;
    max-width: 600px;
  }

  .infographic-wrapper-text {
    padding-left: 3.4em;
  }
}

@media only screen and (max-width: 576px) {
  .catskills-sidebar img:not(.catskills-icon) {
    display: none;
  }

  .catskills-sidebar img {
    margin-top: -4em;
    margin-bottom: 3em;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

  .infographic,
  .infographic:last-of-type,
  .infographic:nth-last-of-type(2) {
    margin-left: 7% !important;
    min-height: calc(350px + 25vw);
    max-height: calc(350px + 25vw);
  }

  .infographic-wrapper {
    height: 6em;
  }

  .infographic-icon {
    top: -5em;
    left: -60%;
    width: 70%;
    max-height: 150px;
  }

  .far {
    left: 1em;
    top: -1em;
    font-size: 3em;
  }

  .infographic-headline {
    padding-left: 0;
    margin-left: 0;
  }

  .infographic-text {
    margin-left: 0;
  }

  .infographic-wrapper-text {
    padding-left: 0;
  }

  .col-sm-4:first-of-type img {
    max-width: 80%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .centeredTextColumn .row {
    margin-top: none;
  }

  .centeredTextColumn div.row:first-of-type h2 {
    margin-top: 2em;
  }
}

@media only screen and (max-width: 338px) {
  .far {
    left: -0.3em;
  }
}

@media screen and (min-color-index: 0) and(-webkit-min-device-pixel-ratio:0) {
  @media {
    .infographic-icon {
      left: -65%;
      width: 80%;
      margin-top: -5.6em;
    }
  }
}

@media not all and (min-resolution: 0.001dpcm) {
  @media {
    .infographic-icon {
      left: -65%;
      width: 80%;
      margin-top: -5.6em;
    }
  }
}
