.tx-sy-newsletter {
  margin-top: 100px;
  max-width: 1320px;
  width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

@media screen and (max-width: 546px) {
  .tx-sy-newsletter{
    padding-bottom: 40px;
  }
}

.tx-sy-newsletter form {
max-width: 500px;
margin: auto;
text-align: center;
}


.tx-sy-newsletter input[type="text"], input[type="email"] {
  width: 100%;
  font-family: "EB Garamond", serif;
  color: #747679;
  font-size: 1.3rem;
  text-align: center;
  margin-top: 5px;
  border: none;
  border-bottom: 2px dotted #747679;
  font-style: italic;
  padding: 0.5rem 1rem;
  display: block;
  font-weight: 400;
  line-height: 1.5;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
  background-clip: padding-box;
}

.tx-sy-newsletter input[type="text"]::placeholder, 
input[type="email"]::placeholder { 
  color: #747679;
  opacity: 0.8;
}

.tx-sy-newsletter input[type="text"]:active, 
input[type="email"]:active { 
  border: none;
  border-bottom: 2px dotted #747679;
}

.tx-sy-newsletter .form-group {
  text-align: center;
  margin-bottom: 30px;
}

/* container */
.tx-sy-newsletter label {
  font-family: "EB Garamond", serif;
  font-style: italic;
  color: #747679;
  font-size: 1.3rem;
  font-weight: 100;
  position: relative;
  padding-left: 40px;
  text-align: center;
  display: inline-block;
}
.tx-sy-newsletter label a {
  font-family: "EB Garamond", serif;
  font-style: italic;
  color: #747679;
  font-size: 1.3rem;
  font-weight: 100;
  text-decoration: underline;
}


/* hide default checkbox  */
.tx-sy-newsletter label input[type=checkbox] {
  /* cross-browser hidingg */
  position:absolute; opacity: 0; display: inline-block; width: 1px; height: 1px; left:0;
}
/* custom checkbox */
.tx-sy-newsletter label span {
  position: absolute;
  /* position to the free space in <label> */
  top:0;
  left:0;
  border: 1px solid #000;
  width: 27px;
  height: 27px;
  padding: 0;
  margin-right: 10px;
  transition: .3s background-color; /* slight transition */
}
/* the check icon */
.tx-sy-newsletter label span:after {
  content: "";
  position: absolute;
  display: none;
  
  /* check icon */
  left: 8px;
  top: 4px;
  width: 4px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.tx-sy-newsletter label:hover span {
  background-color: #ccc;
}

/**** Here's the trick ***/
.tx-sy-newsletter label input:checked ~ span {
  background-color: #B4182A;
}
.tx-sy-newsletter label input:checked ~ span:after {
  display:block;
}

.tx-sy-newsletter button {
  font-size: 20px;
  padding: 10px 40px;
  text-align: center;
  background-color: #222222;
  color: white;
  margin-top: 20px;
  border-radius: 40px;
}

.tx-sy-newsletter .newsletter-error .newsletter-error-line {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
}
