/* Popup Form: */
#custpopup {
  top: 50%;
  left: 50%;
  min-height: 590px;
  width: 100%;
  max-width: 640px;
  background-color: #fff;
  border: 1px solid #CCD0D9;
  z-index: 99;
  transform: translate(-50%,-50%);
  padding: 75px 45px 50px 45px;
  opacity:0;
  visibility:hidden;
  transition: var(--trans);
}

#custpopup.active {
  opacity:1;
  visibility:visible;
}

#gform_wrapper_2 {
  width: 100%; 
}

#custpopup textarea,
#custpopup input {
  height: 45px;
  line-height: normal;
  padding: 2px 10px 0 10px !important;
  border-radius: 10px;
  font-size: 12px !important;
  overflow: hidden;
  font-family: 'bentonsans-regular';
  
}
#custpopup textarea {
  box-sizing:border-box;
  padding-top:15px !important
}

/* Safari Only */
@supports (background: -webkit-named-image(i)) {
  #custpopup textarea {
    padding-top:18px !important
  }
  #custpopup input {
    padding: 5px 10px 0 10px !important;
  }
}

#custpopup textarea::placeholder,
#custpopup input::placeholder {
  font-size: 12px !important;
  font-family: 'bentonsans-regular';
  color: #272727;
}

#custpopup textarea:active,
#custpopup textarea:focus,
#custpopup input:focus,
#custpopup input:active {
  border-color: #3F87FF;
} 

#custpopup .gform_description {
  font-size: 40px;
  line-height: 48px;
  font-family: "Benton Sans Bla";
  color: #000;
  text-align: center;
  max-width: 375px;
  margin: 0 auto 3px auto;
}

#custpopup .button {
  background: #000;
  color: #fff;
  width: 131px;
  position: relative;
  font-family: "Benton Sans Bla";
  font-size: 16px;
  padding: 0 20px 0 0px;
}

#custpopup .button:hover {
  background: #fff;
  color: var(--orange);
  border-color: var(--orange);
}

#custpopup .button:hover::after {
  filter: brightness(0) saturate(100%) invert(32%) sepia(85%) saturate(1988%) hue-rotate(350deg) brightness(105%) contrast(98%);
}

#field_2_8 .button {
  display: block;
  margin: 16px auto 19px auto;
}

#custpopup .button::after {
  position: absolute;
  top: 50%; 
  transform: translateY(-50%);
}

#custpopup .button:hover::after {
  transform: translateY(-50%) rotate(45deg);
}

#custpopup .gform_wrapper.gravity-theme .gform_fields {
  grid-column-gap: 18px;
  grid-row-gap: 14px !important;
}

#field_2_7 {
  text-align: center;
}

#field_2_7 .gfield_label {
  font-family: "Benton Sans Bd";
  font-size: 14px !important;
  line-height: 26px;
  color: #272727;
  margin-bottom: 14px;
  font-weight:400;
  width: 100%;
}

#field_2_7 label {
  border-radius: 19px;
  border: 1px solid #E1E6F2;
  width: 100%;
  color: #303B3C;
  max-width: 100% !important;
  width: auto;
  min-height: 30px;
  padding: 5px 10px 2px 10px;
  font-size: 12px;
  cursor: pointer;
}

#field_2_7 input:checked ~ label {
  border-color: #3F87FF;
  background-color: #3F87FF;
  color: #fff;
}

#choice_2_7_1,
#choice_2_7_0 {
  display: none;
}

#validation_message_2_7 {
  text-align:center;
}

#input_2_7 {
  display: flex;
  justify-content: center; 
  gap: 10px;
}
 
#custpopup .gform_wrapper.gravity-theme .gform_footer {
  padding: 20px 0;
}

#custpopup .gfield_required {
  display:none;
}

#field_2_8 {
  font-size: 12px;
  text-align: center;
}

#field_2_8 a:not(.button) {
  color: #3F87FF;
  text-decoration: underline;
}

#custpopup img.close {
  position: absolute;
  top: 20px;
  right: 16px;
  cursor: pointer;
}

#custpopup .gform_confirmation_message {
  border: none;
  color: #000000;
  font-size: 14px;
  line-height: 20px;
  margin: auto;
}

#custpopup .gform_confirmation_message h3 {
  font-size: 40px;
  font-family: "Benton Sans Bla";
}

#custpopup .gform_confirmation_message a:not(.button) {
  color: #3F87FF;
}

#custpopup .gform_confirmation_message .button {
  margin-top: -5px;
  padding:0;
  width:98px;
}
#custpopup .gform_confirmation_message .button::after{
  display:none;
}

#custpopup .gform_wrapper.gravity-theme .gfield_validation_message,
#custpopup .gform_wrapper.gravity-theme .validation_message {
  padding: 0;
  border: none;
  font-size: 12px;
  background:transparent;
}

@media screen and (max-width: 640px ) {
  #custpopup {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: auto;
    transform: none;
    padding: 0 20px;
  }
  #field_2_7 label {
    font-size:11px;
  }
}
@media screen and (max-width: 500px ) {
  #field_2_7 label {
    padding: 5px 6px 2px 6px;
  }
}

@media screen and (min-width: 401px ) and (max-width: 440px ) {
  #input_2_7 > div:nth-child(1){
    width:50%;
  }
  #input_2_7 > div:nth-child(2){
    width:47%;
  }
  #field_2_7 label {
    width:100%;
  }
}

@media screen and (max-width: 400px ) {
  #custpopup { 
    padding:0 10px;
  }
  #input_2_7  {
    gap:0;
    justify-content: space-between;
  }

  #input_2_7 > div:nth-child(1){
    width:51%;
  }
  #input_2_7 > div:nth-child(2){
    width:47%;
  }
  #field_2_7 label {
    width:100%;
  }

}

@media screen and (max-width: 375px ) {
  #field_2_7 label {
    font-size: 10px;
  }
}