/* SUBCRIBE FORM */
.form-container {
  padding: 30px;
}

/*iframe styling*/
.form-container-iframe {
 padding-top: 15px;
}

.form-wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  margin: auto;
}

.form-wrap.type1 {
  justify-content: space-around;
}

.form-wrap.type2 {
  justify-content: flex-start;
  margin-top: 35px;
  text-align: left;
}

.form-item {
  border-bottom: 1px solid #757575;
  color: #383838;
  margin-top: 10px;
  padding-top: 25px;
}

input {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  outline: none;
  box-shadow: none;
  /*input font-size is set within typography css*/
  /*font-size: 15px;*/
  color: #383838;
  width:100%;
}

.input-margin-top {
   margin-top: 15px;
}

input::placeholder {
  color: #757575;
  /*input font-size is set within typography css*/
  /*font-size: 14px;*/
}

.form-wrap.type1 .form-item {
  width: 45%;
}

.form-text {
  display: block;
  width: 100%;
  outline: 0;
  color: #383838;
}

.country-select-wrap {
  position: relative;
  /*transform: translate(0, 1px);*/
}

.country-select-wrap::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid #383838;
  border-right: 2px solid #383838;
  position: absolute;
  display: block;
  right: 0;
  /*top: 50%;*/
  bottom: 10%;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.country-select {
  display: block;
  width: 100%;
  outline: 0;
  color: #1b1b1b;
}

.country-select:invalid {
  color: #757575;
}

.form-label-check {
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding: 3px 3px 3px 22px;
}

.form-label-check::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #949494;
}

.form-label-check .form-checkbox[type="checkbox"]:checked::after {
  position: absolute;
  content: "";
  top: 10px;
  left: 3px;
  width: 13px;
  height: 5px;
  border-left: 2px solid #383838;
  border-bottom: 2px solid #383838;
  transform: rotate(-45deg);
}

/*set focus for chrome, firefox and safari*/
input[type="email"]:focus, input[type="number"]:focus, input[type="text"]:focus, input[type="submit"]:focus, {
    border: 1px solid #33c3f0;
    outline: 0; }

.form-label-check:has(input[type="checkbox"]:focus)::before {
  border: 1px solid #33c3f0;
  outline: 0;
}

.form-checkbox {
  display: block;
}


button:disabled,
button[disabled]{
    background: #757575;
     cursor: default;
}

/* SUBSCRIBE FORM CSS VALIDATION */
.error.form-item {
  position: relative;
}

.error-type2.form-item {
  border-color: #b7172a;
}

/*.error-type2.form-item::after {
  color: #b7172a;
  content: "Please enter in the correct format";
  font-size: 14px;
  display: block;
  position: absolute;
  bottom: -22.5px;
}*/
.error-type2-messages {
  color: #b7172a;
  font-size: 14px;
  display: block;
  position: absolute;
  bottom: -22.5px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* UNSUBSCRIBE FORM */
.form-column {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.btn-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.label {
  font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /*margin-right: 20px;*/
  width: 20%;
}

.input-field {
  border-radius: 4px;
  padding: 7px;
  height: 32px;
  border: 1px solid #e9e9e9;
  background-color: #e9e9e9;
  color: #666666;
  width: 80%;
}

/*form button*/
.form-btn {
  background: #018463;
  /*opacity: 0.6;*/
  color: #fff;
  border: none;
  font-weight: 600;
  /*margin: 30px 0;*/
  margin: 20px 0;
  padding: 10px 35px;
  font-size: 13px;
  text-transform: uppercase;
}

/*iframe styling*/
.form-btn-iframe {
 background: #018463;
  /*opacity: 0.6;*/
  color: #fff;
  border: none;
  font-weight: 600;
 /*reduced margin around btn*/
  margin: 10px 0;
  padding: 10px 35px;
  font-size: 13px;
  text-transform: uppercase;
}

.mailing-link {
  /*border-bottom: 1px solid #bfbfbf;*/
  text-decoration: underline;
}
/*loading animation*/
  .loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #018463; /* green */
    border-radius: 50%;
    width: 65px;
    height: 65px;
    margin: 20px 0;
    animation: spin 2s linear infinite;
  }
  /* Safari */
    @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  } 
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
    @media (prefers-reduced-motion: reduce) {
        .loader {
            display: none;
        }
    }
  .hide {
    display: none;
  }

/* show form label for screenreader only */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* MEDIA QUERIES */

@media only screen and (max-width: 767px) {
  /*SUBSCRIBE FORM*/
  .form-container {
    padding: 0;
  }
  /*SUBSCRIBE FORM CSS VALIDATION*/
  /*.error-type2.form-item::after {
    font-size: 12px;
  }*/
  .error-type2-messages {
  font-size: 12px;
}
  /*UNSUBSCRIBE FORM*/
  .label {
    width: 100%;
    margin-bottom: 10px;
  }

  .input-field {
    width: 100%;
  }
}