#resource-library #container .error-msg {
  color: red;
  font-weight: 400;
  text-align: center;
  margin-top: 2rem;
}

#resource-library #container .pw-protection {
  height: 100vh;
  position: relative;
  background: url(/i/resource-library-loginBG.jpg) no-repeat center/cover;
  z-index: 1;
}

#resource-library #container .pw-protection form {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
  text-align: center;
}

#resource-library #container .pw-protection input {
  display: block;
  min-width: 300px;
  font-family: "Montserrat", serif;
  font-style: normal;
  font-weight: 300;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8rem;
  color: #fff;
  background: transparent;
  border: none;
  border: solid 1px rgba(255, 255, 255, 0.7);
  -webkit-appearance: none;
  margin: 0 auto 2rem auto;
  padding: 10px;
}

#resource-library #container .pw-protection input:-webkit-autofill,
#resource-library #container .pw-protection input:-webkit-autofill:hover,
#resource-library #container .pw-protection input:-webkit-autofill:focus,
#resource-library #container .pw-protection textarea:-webkit-autofill,
#resource-library #container .pw-protection textarea:-webkit-autofill:hover,
#resource-library #container .pw-protection textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  transition: background-color 5000s ease-in-out 0s;
}

#resource-library #container .pw-protection ::placeholder {
  font-size: 14px;
  line-height: 18px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
}

#resource-library #container .pw-protection .btn-submit {
  display: inline-block;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 13px 26px 13px 26px;
  text-transform: uppercase;
  letter-spacing: 0.14rem;
  color: #fff;
  border-radius: 23px;
  cursor: pointer;
  border: none;
}

#resource-library #container .pw-protection .btn-submit span {
  display: inline-block;
  position: relative;
  background-image: url(/i/svg/play-btn-icon-cl.svg);
  color: #2E2826;
  background-repeat: no-repeat;
  background-size: 8px;
  background-position: 100%;
  padding-right: 21px;
}

#resource-library #container .pw-protection h3 {
  color: #fff;
  position: absolute;
  font-size: 1.6rem;
  line-height: 2.3rem;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
  max-width: 800px;
  text-align: center;
}

#resource-library #container .s2 {
  padding: 10rem 0;
}

#resource-library #container .s2 .container-inner {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 2rem;
}

#resource-library #container .s2 .container-inner h2 {
  width: 50%;
}

#resource-library #container .s2 .container-inner > div {
  width: 50%;
  max-width: 950px;
}

#resource-library #container .s2 .container-inner > div p {
  margin-bottom: 1rem;
}

#resource-library #container .s2 .container-inner > div p:last-of-type {
  margin-bottom: 0;
}

#resource-library #container .s3 {
  padding: 10rem 0;
  background: #F6F6F7;
}

#resource-library #container .s3 .custom-dropdown {
  position: relative;
  display: inline-block;
  min-width: 400px;
  margin-bottom: 4rem;
  cursor: pointer;
}

#resource-library #container .s3 .custom-dropdown .dropdown-header {
  font-family: "Roboto Serif", serif;
  font-style: normal;
  font-weight: 400;
  font-weight: 300;
  background-color: transparent;
  border-radius: 0;
  padding: 10px 50px 10px 20px;
  text-align: left;
  font-size: 2.23rem;
  color: #7E858B;
  background-image: url(/i/svg/drop-down-arrow.svg);
  background-repeat: no-repeat;
  background-position: 96%;
  background-size: 10px;
  border-bottom: solid 1px #7E858B;
}

#resource-library #container .s3 .custom-dropdown .dropdown-header.active {
  background-image: url(/i/drop-up-arrow.png);
  background-size: 9px;
  background-color: #fff;
  border-bottom: none;
}

#resource-library #container .s3 .custom-dropdown .dropdown-options {
  display: none;
  position: absolute;
  top: 125%;
  width: 100%;
  background-color: #fff;
  z-index: 10;
  padding: 0 20px;
  overflow-y: auto;
}

#resource-library #container .s3 .custom-dropdown .dropdown-option {
  font-family: "Roboto Serif", serif;
  font-style: normal;
  font-weight: 400;
  padding: 15px 0;
  font-size: 1.33rem;
  line-height: 2rem;
  color: #7E858B;
  text-align: left;
  cursor: pointer;
  border-bottom: solid 1px #7E858B;
}

#resource-library #container .s3 .custom-dropdown .dropdown-option:last-of-type {
  border-bottom: none;
}

#resource-library #container .s3 .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

#resource-library #container .s3 .wrap .article {
  display: block;
  min-height: 270px;
  padding-bottom: 2rem;
  padding-right: 1rem;
  border-bottom: solid 1px #7E858B;
}

#resource-library #container .s3 .wrap .article h4 {
  font-size: 1rem;
  line-height: 1.7rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #A4A9AC;
  margin-bottom: 1rem;
}

#resource-library #container .s3 .wrap .article h3 {
  font-size: 2.2rem;
  line-height: 2.9rem;
  color: #5C676F;
  margin-bottom: 1.2rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}

#resource-library #container .s3 .wrap .article .learn-more {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 3.6px;
  color: #2E2826;
  position: relative;
  background-image: url(/i/drop-down-arrow.png);
  background-repeat: no-repeat;
  background-position: 100% 45%;
  background-size: 8px;
  padding-right: 1rem;
}

/***** MEDIA *****/
@media screen and (max-width: 1200px) {
  #resource-library #container .s3 .custom-dropdown {
    min-width: 350px;
  }
  #resource-library #container .s3 .custom-dropdown .dropdown-header {
    font-size: 1.7rem;
  }
  #resource-library #container .s3 .wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 1100px) {
  #resource-library #container .s2 {
    padding: 8.34rem 0;
  }
  #resource-library #container .s2 .container-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #resource-library #container .s2 .container-inner > div, #resource-library #container .s2 .container-inner h3 {
    width: 100%;
  }
  #resource-library #container .s2 .container-inner h3 br {
    display: none;
  }
  #resource-library #container .s3 .wrap .article h3 {
    font-size: 1.3rem;
    line-height: 2rem;
  }
}

@media screen and (max-height: 900px) {
  #resource-library #container .pw-protection h3 {
    top: 75%;
  }
}

@media screen and (max-width: 767px) {
  #resource-library #container .pw-protection h3 {
    font-size: 1.1rem;
    line-height: 1.6rem;
    top: 70%;
  }
  #resource-library #container .s2 {
    padding: 6rem 0;
  }
  #resource-library #container .s2 .container-inner h3 {
    font-size: 1.8rem;
    line-height: 2.4rem;
  }
  #resource-library #container .s2 .container-inner h3 br {
    display: none;
  }
  #resource-library #container .s3 {
    padding: 6rem 0;
  }
  #resource-library #container .s3 .custom-dropdown {
    min-width: 270px;
  }
  #resource-library #container .s3 .custom-dropdown .dropdown-header {
    font-size: 1.3rem;
    background-size: 7px;
    padding: 10px 30px 10px 10px;
  }
  #resource-library #container .s3 .custom-dropdown .dropdown-options {
    padding: 0 10px;
  }
  #resource-library #container .s3 .custom-dropdown .dropdown-option {
    padding: 5px 0;
    font-size: 1rem;
    line-height: 1.6rem;
  }
  #resource-library #container .s3 .wrap {
    grid-template-columns: repeat(1, 1fr);
  }
  #resource-library #container .s3 .wrap .article {
    min-height: auto;
    padding-bottom: 5rem;
    padding-right: 0;
  }
  #resource-library #container .s3 .wrap .article .learn-more {
    font-size: 14px;
    line-height: 20px;
  }
}

@media screen and (max-height: 400px) {
  #resource-library #container .pw-protection h3 {
    font-size: 1.1rem;
    line-height: 1.6rem;
    top: 82%;
    max-width: 550px;
  }
}
