/* CSS for NYC Poverty landing page */

/* Intro */
.page-node--3913 #lp-content>div.paragraph:nth-child(1) {
  background-color: #eeeeee;
  h2 {
    color: #0085ca;
    text-align: left;
    margin-top: 0px;
    font-size: 3em;
  }  
}

/* Stats */
.page-node--3890 #lp-content>div.paragraph:nth-child(1),
.page-node--3899 #lp-content>div.paragraph:nth-child(1),
.page-node--3913 #lp-content>div.paragraph:nth-child(2) {
  background-color: #eeeeee;
  section#block-visibilitynegativestatblock {
    padding-bottom: 40px;

    h2.title {
      color: #0085ca;
      text-align: left;
      margin-top: 0px;
      font-size: 3em;
      margin-bottom: 100px;
    }
    @media (min-width: 62em) {
       h2.title {
        margin-top: -60px;
       }
    }

    .card__body {
      color: #0085ca;
    }
  }
}
.page-node--3890 #lp-content>div.paragraph:nth-child(2),
.page-node--3899 #lp-content>div.paragraph:nth-child(2),
.page-node--3913 #lp-content>div.paragraph:nth-child(3) {
  background-color: #eeeeee;
  padding-bottom: 100px;

  .field--name-field-paragraph-text p:first-of-type {
    margin-top: 0;
  }
}

/* Stories */
.page-node--3890 #lp-content>div.paragraph:nth-child(3),
.page-node--3899 #lp-content>div.paragraph:nth-child(3),
.page-node--3913 #lp-content>div.paragraph:nth-child(4) {
  background-color: #004b87;
  section#block-everystepoftheway {
    color: #cccccc;
    padding-bottom: 50px;
    h2.title {
      color: #ffffff;
    }
    div.subtitle {
      display: none;
    }
    h3.card__title a {
      color: #ffffff;
    }
    .list--slides .slick-arrow path {
      fill: #ffffff;
    }
    .list--slides .slick-arrow.slick-disabled path {
      fill: #666666;
    }
    .slick-dots button {
      border-color: #ffffff;
    }
    .slick-dots .slick-active button {
      background-color: #ffffff;
    }
  }
}

.page-node--3890 #lp-content>div.paragraph:nth-child(3) {
  section#block-everystepoftheway {
    .slick-track div.slick-slide:nth-child(3) {
      .card__image {
        margin-bottom: 11px;
        img {
          clip-path:inset(0px 0px 19.5px 0px);
        }
      }
    }
  }
}

/* Email Signup */
.page-node--3890 #lp-content>div.paragraph:nth-child(4),
.page-node--3899 #lp-content>div.paragraph:nth-child(4),
.page-node--3913 #lp-content>div.paragraph:nth-child(5) {
  background-image: url('/themes/custom/cas/images/nycpoverty/signup_bkgd.jpg');
  background-size: cover;
  color: #ffffff;

  h2.title {
    text-align: center;
  }

  section {
    padding: 50px 0;
  }

  form#contact-message-email-signup-form {
    display: flex;
    justify-content: center;

    div#edit-field-email-address-wrapper {
      width: 60%;
      padding-right: 1em;
    }

    div#edit-actions {
      align-self: flex-end;
      padding-left: 1em;
    }
  }
}

/* Call to Action */
.page-node--3890 #lp-content>div.paragraph:nth-child(5),
.page-node--3899 #lp-content>div.paragraph:nth-child(5),
.page-node--3913 #lp-content>div.paragraph:nth-child(6) {
  padding: 50px 0;
  background-color: #eeeeee;
  section {
    padding: 50px 0;
  }
  .section--intro {
    color: #004b87;
  }
  .list--slides .slick-arrow path {
    fill: #004b87;
  }
  .list--slides .slick-arrow.slick-disabled path {
    fill: #666666;
  }
  .slick-dots button {
    border-color: #004b87;
  }
  .slick-dots .slick-active button {
    background-color: #004b87;
  }
  div.slick-track {
    img {
      border: 3px solid #ffffff;
      border-radius: 5px;
    }
    div:nth-child(1) {
      article {
        background-color: #8b84d7;
    
        ul {
          justify-content: center;
          li {
            padding:0.5rem;

            a:hover {
              background-color: #8b84d7;
            }
            span.fa-lg {
              font-size: 1.8rem;
              color: #fff;
            }
          }
        }
      }
    }
    div:nth-child(2) {
      article {
        background-color: #41b6e6;
      }
    }
    div:nth-child(3) {
      article {
        background-color: #009933;
      }
    }
  }
}

/* Questions and Answers */
.page-node--3890 #lp-content>div.paragraph:nth-child(6),
.page-node--3899 #lp-content>div.paragraph:nth-child(6),
.page-node--3913 #lp-content>div.paragraph:nth-child(7) {
  padding: 50px 0 0;
}
.page-node--3890 #lp-content>div.paragraph:nth-child(7) .l--constrained::before,
.page-node--3899 #lp-content>div.paragraph:nth-child(7) .l--constrained::before,
.page-node--3913 #lp-content>div.paragraph:nth-child(8) .l--constrained::before {
  content: "1";
}
.page-node--3890 #lp-content>div.paragraph:nth-child(8) .l--constrained::before,
.page-node--3899 #lp-content>div.paragraph:nth-child(8) .l--constrained::before,
.page-node--3913 #lp-content>div.paragraph:nth-child(9) .l--constrained::before {
  content: "2";
}
.page-node--3890 #lp-content>div.paragraph:nth-child(9) .l--constrained::before,
.page-node--3899 #lp-content>div.paragraph:nth-child(9) .l--constrained::before,
.page-node--3913 #lp-content>div.paragraph:nth-child(10) .l--constrained::before {
  content: "3";
}
.page-node--3890 #lp-content>div.paragraph:nth-child(10) .l--constrained::before,
.page-node--3899 #lp-content>div.paragraph:nth-child(10) .l--constrained::before,
.page-node--3913 #lp-content>div.paragraph:nth-child(11) .l--constrained::before {
  content: "4";
}
#lp-content .paragraph--type--collapsible-text {
  margin-top: 3em;

  .l--constrained::before {
    position: relative;
    top: -1em;
    font-size: 3em;
    font-weight: bold;
    margin-left: .5em;
    padding: 0 .2em;
    background-color: #ffffff;
    color: #004b87;
  }
  .l--constrained {
    border: solid 3px #ff9e1b;
    padding: .5em 0 1em;
    color: #004b87;
    max-width: 90%;

    h2.collapsible-field-paragraph-text-title {
      font-size: 1.2rem;
      font-weight: bold;
      margin: -2em 1em 1em;
      padding-right: 2em;
      background-size: 1em;
    }
    .collapsible-content .field {
      strong:first-of-type {
        font-size: 1.5em;
        color: #ff9e1b;
      }
      margin: 0 2em 0;
      padding-top: 1em;
      color: #0085ca;
    }
  }
}
.page-node--3890 #lp-content>div.paragraph:nth-child(11),
.page-node--3899 #lp-content>div.paragraph:nth-child(11),
.page-node--3913 #lp-content>div.paragraph:nth-child(12) {
  padding-bottom: 100px;
}
