.custom-communication{
  padding: 3rem;
  font-family: "Poppins";
}
.custom-communication__title{
  font-size: 25px;
  font-weight: 900;
  line-height: 37.5px;
  margin-bottom: 2rem;
}
.custom-communication__subtitle{
  font-size: 20px;
  font-weight: 900;
  line-height: 30px;
}
.custom-communication button{
  background-color: #858585;
  color: white;
  padding: 2rem 3.4rem;
  font-family: "Poppins";
  cursor: pointer;
  border: 2px solid #858585;
  transition: background-color .3s; color .3s;
  font-size: 1.6rem;
}

.custom-communication button:disabled {
  background-color: #000;
  border-color: white;
}
.custom-communication button:hover{
  background-color: white;
  color: #000;
}
.custom-communication__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3.6rem;
  margin-bottom: 7.6rem;
  margin-top: 3.6rem;
}


.communication-checkbox {
  display: none;
}

.custom-communication__wrapper label {
  border-radius: 20px;
  border: 2px solid #858585;
  background: #FFF;
  padding: 4.8rem 3.6rem;
  width: calc(100% / 3 - 2 * 3.6rem / 3);
  cursor: pointer;
  color: #000;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  color: #858585;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  transition: opacity .3s;
  position: relative;
  line-height: 27px;
  padding-left: 8.5rem;
}
@media (max-width: 1279px){
  .custom-communication__wrapper label {
    width: calc(100% / 2 - 3.6rem / 2);
  }
}
@media (max-width: 879px){
  .custom-communication__wrapper label {
    /*width: 100%;*/
    padding: 2rem;
    padding-top: 6rem;
    font-size: 2rem;
  }
  .communication-checkbox + label:before {
    top: 2rem;
    left: 2rem !important;
  }
  .custom-communication .label-description{
    margin-left: 0 !important;
    margin-top: 1rem !important;
  }
  .custom-communication  .preference-checkbox:checked + label:after{
    transform: scale(.9) !important;
  }
  .preference-checkbox + label:after{
    left: 6rem !important;
  }
}
.custom-communication__wrapper label:hover {
  opacity: .7 !important;
  text-decoration: underline;
}
.communication-checkbox + label:before {
  content: "";
  display: inline-block;
  width: 30px;
  min-width: 30px;
  height: 30px;
  border: 1px solid #858585;
  border-radius: 5px;
  margin-right: 2rem;
  background-color: #fff;
  cursor: pointer;
  position: absolute;
  left: 3.5rem;
}

.communication-checkbox:checked + label:before {
  border-color: #000;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='14' fill='none'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23D30C14' d='M0 7.023c.089-.074.181-.144.266-.221L2.71 4.546l4.094 4.306L16.483 0l.825.88 1.56 1.666c.04.044.088.082.132.123v.037q-.767.688-1.53 1.381L6.71 13.918c-.027.025-.056.048-.097.082l-.217-.223L.094 7.145Q.05 7.1 0 7.059z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h19v14H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 70%;
  background-position: center;
}

.communication-checkbox:checked + label {
  color: #000;
  border: 2px solid #000;
}
.custom-communication .label-description{
  margin-bottom: 0;
  margin-top: 2rem;
  font-size: 1.2rem;
  line-height: 1.8rem;
  font-weight: 500;
  text-transform: none;
  margin-left: -5rem;
}
.communication0{
  border-color: #E80000 !important;
}