.newsletter {
  --error-red: rgb(166, 5, 5);
}

.d {
  position: relative;
}

.display-maxWidth {
  max-width: 960px;
}

/* HEADER */

.section-title {
  font-weight: 600;
}

.newsletter-header-input {
  animation-duration: 3s;
  padding-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100px;
  z-index: 3 !important;
}

.section-title,
.header-description {
  padding-top: 10px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

.header-description {
  font-weight: 500;
  font-size: 16px;
}

.email-input {
  text-align: center;
  max-width: 50%;
  padding: 16px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  border: gray solid 1px;
  margin-bottom: 6px;
  color: black;
  font-size: 2rem;
}

.email-input:focus {
  background-color: #e7f1fe;
}

/* NEWSLETTERS */

#newsletters-container > section {
  width: 100vw;
}

.section-header {
  margin-left: 10px;
  margin-right: 10px;
  border-bottom: 2px solid black;
}

.newsletters-subscribe {
  max-width: 1710px;
  padding-top: 40px;
  display: flex;
  justify-content: center;
  /* align-items: center; */
  flex-wrap: wrap;
  padding: 30px 10px;
  padding-bottom: 0px;
}

.newsletter {
  height: 490px;
  max-height: 500px;
  max-width: 330px;
  border-style: lightgray solid;
  border-width: 1px;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  margin-right: 5px;
  margin-left: 5px;
  padding: 15px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  border-radius: 5px;
}

.newsletter-top-image-container {
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
  max-width: 310px;
}

.newsletter-top-image {
  min-height: 200px;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.newsletter-input-no-email {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  top: -20px;
  color: var(--error-red);
}

.newsLetter-bottom {
  position: relative;
}

.newsletter-bottom {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.newsletters-questions a {
  color: var(--btn-primary);
}

.newsletter-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}

.newsletter-desc {
  padding-top: 0px;
  font-size: 14px;
  width: 97%;
  word-wrap: break-word;
  margin: 3px;
  color: rgb(102, 102, 102);
}

.newsletter-bottom form {
  width: 100%;
}

.input-button-container {
  position: relative;
  display: flex;
  height: 50px;
  width: 100%;
  /* box-shadow: 0 3px 10px rgb(0 0 0 / 0.2); */
  margin-bottom: 2px;
  justify-content: center;
}

.btn-primary.disabled, .btn-primary[disabled]{
  background-color: var(--btn-primary);
}

.btn.disabled:hover {
  opacity: 0.65;
  background-color: var(--btn-primary) !important;
}

.btn-size[disabled]:hover {
  background-color: var(--btn-primary) !important;
}

.email-input {
  height: 100%;
  margin-bottom: 0;
}

.input-label {
  font-size: 15px;
  padding-top: -10px;
  color: rgb(102, 102, 102);
  margin-bottom: 2px;
  padding: 3px;
  border-radius: 5px;
  padding-left: 8px;
  padding-right: 8px;
}

.btn-size {
  width: 100%;
  border-radius: 5px !important;
  z-index: 2 !important;
  /* border-top-left-radius: 0px;
  border-bottom-left-radius: 0px; */
  background-color: var(--btn-primary);
  border-color: var(--btn-primary);
}

.btn-size:hover {
  background-color: var(--btn-focus) !important;
  border-style: none;
  opacity: 1;
}

.btn-size:focus,
.btn-size:focus-visible,
.btn-size:active {
  background-color: var(--btn-active) !important;
  border-style: none;
}

.btn-waiting:disabled {
  cursor: wait;
}

.btn-waiting:disabled {
  cursor: wait;
}

.btn-unsubscribe {
  background-color: #fff;
  color: var(--btn-primary);
  border: 1.5px solid var(--btn-primary);
}

.btn-unsubscribe:hover {
  background-color: var(--btn-primary) !important;
}

.btn-unsubscribe:active:hover {
  border-color: var(--btn-focus);
}

.validation-email {
  position: absolute;
  color: var(--error-red);
  font-style: italic;
  padding-left: 2%;
  top: -10;
  transition: 0.3s ease-in-out;
}

.validation-submit {
  color: var(--validation-submit);
  font-weight: 600;
  transition: 0.8 ease-in-out;
  padding-bottom: 1000px;
}

.glyphicon {
  top: 0 !important;
}

.glyphicon-exclamation-sign:before {
  font-size: 20px;
  padding: 6px 12px;
}

.input-error-validation {
  border-color: var(--error-red);
}

.input-error-validation:focus {
  border-color: var(--error-red);
}

.newsletters-questions {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

.recaptcha-policy {
  padding: 2px;
  margin-top: 5px;
  font-size: 16px;
  color: #939292;
  text-align: center;
  padding-bottom: 30px;
}

.newsletter_specialText {
  text-align: left;
  /* color: var(--btn-primary) !important; */
  padding: 0 4px;
}

.newsletter_specialText h4 {
  text-align: left;
  margin-bottom: 20px !important;
  color: #666 !important;
  padding-left: 0px;
  padding-right: 0px;
  margin-left: 0;
  margin-right: 0;
  font-size: 14px;
  line-height: 1.4;
  font-size: 14px;
  font-weight: normal;
}

.newsletter_specialText h4 a {
  color: var(--btn-primary);
  cursor: pointer;
}

.newsletter_specialText h4 a:hover{
  color: var(--btn-focus)
}

.scrolled-down {
  position: fixed;
  top: 58px;
  padding-top: 0px !important;
  transition: opacity 5s;
  left: 10px;
}

.scrolled-top {
  position: static;
  top: 0;
  transition: opacity 5s;
}

.loader {
  border: 4px solid rgba(255, 255, 255, 0.5); /* Light grey */
  border-top: 4px solid rgba(255, 255, 255, 0.8); /* Dark grey */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (min-width: 992px) and (max-width: 1554px) {
  .scrolled-down {
    top: 108px !important;
  }
}

/* TABLET */

@media screen and (max-width: 1379px) {
  .section-title {
    font-size: 34px;
  }

  .newsletter {
    height: 460px;
    max-height: 500px;
    max-width: 300px;
  }
  .newsletter_specialText h4 {
    text-align: left;
    margin-bottom: 5px !important;
    font-size: 14px;
    line-height: 1.4;
    font-size: 14px;
  }
}

@media screen and (max-width: 992px) {
  .section-title {
    font-size: 34px;
  }

  .newsletter {
    height: 460px;
    max-height: 500px;
    max-width: 270px;
  }

  .newsletter_specialText h4 {
    text-align: left;
    margin-bottom: 8px !important;
    font-size: 14px;
    line-height: 1.4;
    font-size: 14px;
  }
}

/* PHONE */

@media only screen and (max-width: 600px) {
  .section-title {
    font-size: 30px;
  }

  .header-description {
    font-weight: 400;
    font-size: 14px;
  }

  .section-title,
  .header-description {
    padding-top: 10px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .email-input {
    padding: 12px;
    font-size: 1.6rem;
    height: 65%;
    border-radius: 5px !important;
    max-width: 70%;
  }

  .newsletter-top-image-container {
    max-width: 100%;
  }

  .newsletter {
    height: 100%;
    align-items: unset !important;
    /* width: 100%; */
    max-width: 100%;
    max-height: unset;
  }

  .newsletter-bottom {
    margin-top: 1rem;
  }

  .newsletters-subscribe {
    padding-top: 30px;
  }

  .newsletter-title {
    font-size: 18px;
    font-weight: 600;
    width: 96%;
  }

  .newsletter-desc {
    padding-top: 4px;
    font-size: 13px;
    max-width: 90%;
  }

  .input-label {
    font-size: 10px;
  }

  .btn-size {
    font-size: 14px;
  }

  .input-button-container {
    /* position: relative; */
    display: flex;
    justify-content: center;
    height: 50px;
    /* box-shadow: 0 3px 10px rgb(0 0 0 / 0.2); */
    margin-bottom: 2px;
  }

  .newsletters-questions {
    text-align: center;
    font-size: 12px;
    font-weight: 400;
  }

  .recaptcha-policy {
    text-align: center;
    padding: 4px;
    margin-top: 5px;
    font-size: 15px;
    color: #939292;
    padding-bottom: 30px;
  }

  .newsletter_specialText h4 {
    text-align: left;
    margin-bottom: 8px !important;
    font-size: 13px;
    line-height: 1.4;
  }
}

@media only screen and (max-width: 480px) {
  .newsletters-subscribe {
    padding: 0;
  }
}
