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

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

.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 {
  padding: 20px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  border: gray solid 1px;
  margin-bottom: 6px;
  color: black;
  font-size: 2rem;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.email-input:focus {
  background-color: var(--background-color);
  filter: brightness(1.1);
  border-color: var(--submit-btn-color);
}

.newsletters-subscribe {
  max-width: 1710px;
  padding-top: 40px;
  display: flex;
  justify-content: center;
}

.newsletter {
  max-width: 890px;
  border-style: lightgray solid;
  border-width: 1px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  border-radius: 5px;
  position: relative;
}

.close-newsletter-signup-btn {
  border: none;
  background: none;
  position: absolute;
  top: 0px;
  right: 8px;
  font-size: 30px;
  opacity: 0.7;
}

.close-newsletter-signup-btn:hover {
  opacity: 1;
}

.newsletter-top-image-container {
  max-width: 320px;
}

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

.newsletter-bottom {
  margin-left: 30px;
}

.newsletter-title {
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1.3;
}

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

.input-button-container {
  position: relative;
  display: flex;
  height: 50px;
  width: 98%;
  margin-bottom: 2px;
}

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

.input-label {
  font-size: 12px;
  padding-left: 6px;
  padding-top: -10px;
  color: rgb(102, 102, 102);
  margin-bottom: 2px;
}

.btn-size {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  margin: 0px !important;
  width: unset !important;
}

.input-button-container button:hover {
  filter: brightness(0.95) contrast(1.1);
  opacity: 1;
}

.input-button-container button:active,
.input-button-container button:active:hover {
  filter: brightness(0.90) contrast(1.15);
  opacity: 1;
  box-shadow: none;
}

.validation-submit {
  display: table;
  margin: 0;
}

.validation-submit .linebreak {
  display: none;
}

.validation-submit a {
  color: unset;
  text-decoration: underline;
}

.newsletter-container .alert {
  border-radius: 3px;
  box-shadow: none;
}

.glyphicon {
  top: 0 !important;
}

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

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

.input-error-validation:focus {
  border-color: 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: 10px;
  color: rgba(0, 0, 0, 0.4);
}

.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 (max-width: 992px) {
  .newsletter-container {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .newsletter-title {
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.3;
  }

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

  .input-button-container {
    position: relative;
    display: flex;
    height: 40px;
    width: 98%;
    margin-bottom: 2px;
  }

  .btn-size {
    height: 42px;
  }
}

@media screen and (max-width: 728px) {
  .newsletter .alert {
    width: 100%;
  }
  
  .classic .validation-submit .linebreak {
    display: inline;
  }
}

/* PHONE */

@media only screen and (max-width: 448px) {
  #newsletter-container {
    padding-right: 5px !important;
    padding-left: 5px !important;
  }

  .newsletter-container {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .section-title {
    font-size: 30px;
  }

  .newsletter {
    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;
    max-height: auto;
    align-items: unset !important;
    max-width: 100%;
  }

  .newsletter-bottom {
    margin-left: 6px !important;
  }

  .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: 16px;
    font-size: 1.6rem;
  }

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

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

  .newsletter-title {
    font-size: 18px;
    font-weight: 600;
    width: 96%;
    display: inline-block;
    padding-top: 9px;
  }

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

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

  .btn-size {
    height: 50px;
  }

  .input-button-container {
    display: flex;
    justify-content: center;
    height: 50px;
    margin-bottom: 2px;
  }

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

  .recaptcha-policy {
    padding: 2px;
    font-size: 10px;
    color: rgba(0, 0, 0, 0.4);
  }

  .newsletter .validation-submit .linebreak {
    display: inline;
  }

  .newsletter .validation-submit.alert-success .linebreak {
    display: none;
  }

}
