.contactForm-second {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px 35px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}
.indexForm {
    background: #fff;
    border-radius: 40px;
    max-width: 400px;
}
.indexFormTit p {
    font-size: 32px;
    font-weight: bold;
    color: var(--blue);
}
.home-popup .contactForm-second {
  box-shadow: unset;
}

.contactForm-second label {
    display: block;
    font-size: 16px;
    color: #555;
    margin-top: 15px;
    text-align: left;
}

.contactForm-second input[type="text"],
.contactForm-second input[type="tel"],
.contactForm-second select,
.contactForm-second textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contactForm-second input[type="radio"],

/*.contactForm-second input[type="submit"] {
    display: block;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.contactForm-second input[type="submit"]:hover {
    background-color: #0056b3;
}*/
.contactForm-second .contactFormFull{
    margin: 15px auto 0;
    text-align: center;
}

.contactForm-second textarea {
    height: 80px;
    resize: vertical;
}

.radio {
  margin: 0.5rem;
}
.radio input[type=radio] {
  position: absolute;
  opacity: 0;
}
.radio input[type=radio] + .radio-label:before {
  content: "";
  background: #f4f4f4;
  border-radius: 100%;
  border: 1px solid #b4b4b4;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: -0.2em;
  margin-right: 1em;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
}
.radio input[type=radio]:checked + .radio-label:before {
  background-color: #3197EE;
  box-shadow: inset 0 0 0 4px #f4f4f4;
}
.radio input[type=radio]:focus + .radio-label:before {
  outline: none;
  border-color: #3197EE;
}
.radio input[type=radio]:disabled + .radio-label:before {
  box-shadow: inset 0 0 0 4px #f4f4f4;
  border-color: #b4b4b4;
  background: #b4b4b4;
}
.radio input[type=radio] + .radio-label:empty:before {
  margin-right: 0;
}

.check-box-wrap{
  text-align: left;
  font-size: 16px;
  margin: 0.5rem;
}

.my-checkbox {
  transform: scale(1.8);
  margin-right: 11px;
  margin-top:15px;
}

.checkbox {
  display: flex;
  flex-direction: column;
}

.checkbox input[type="checkbox"] {
  margin-right: 5px;
}

.checkbox label {
  display: inline-block;
  margin-bottom: 10px;
}

.checkbox input[type="checkbox"] + label {
  display: inline-block;
  vertical-align: middle;
}
label.smsCommunication{
  width: 80%;
  font-size: 14px;
}
.smsCommunication a{
  color: var(--orange);
}

.success-label, .warning-label {
    display: block;
    background-color: #4CAF50;  /* Green background */
    color: #fff;  /* White text color */
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}
.warning-label {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.success-label .icon {
    font-weight: bold;
    margin-right: 5px;
}

.pt-0{padding-top: 0 !important;}
.font-bold{font-weight: bold !important;}

.contactFormFull input[type="submit"] {
    background: var(--blue);
    border-radius: 30px;
    color: var(--white);
    cursor: pointer;
    display: inline-block;
    padding: 18px 35px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    border: none;
    width: 100%;
}

.float-none{float: none !important;}

.text-center{text-align: center;}
.popup-form-desc{
  margin-top: 15px;
  margin-bottom: -20px;
}
.popup-form-desc p{
  font-size: 14px;
  /* text-align: justify; */
}
.max-w-991{max-width: 991px;}

/* popup css*/
.custom-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 10;
}
.custom-overlay:target, .custom-overlay-success, .custom-overlay-opened {
  visibility: visible;
  overflow-y: scroll;
  opacity: 1;
  z-index: 9999;
}

.custom-popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 40%;
  position: relative;
  transition: all 1s ease-in-out;
}

.custom-popup .custom-close {
  position: absolute;
  top: 10px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.custom-popup .custom-close:hover {
  color: #06D85F;
}
.custom-popup .custom-content {
  max-height: 30%;
  overflow: auto;
}
/*** INDEX RADIO BUTTONS ***/
/* The container */
.containerRadio {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  user-select: none;
}
/* Hide the browser's default radio button */
.containerRadio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #f4f4f4;
    border: 1px solid #b4b4b4;
  border-radius: 50%;
}
/* On mouse-over, add a grey background color */
.containerRadio:hover input ~ .checkmark {
  background-color: #f4f4f4;
    border: 1px solid #b4b4b4;
}

/* When the radio button is checked, add a blue background */
.containerRadio input:checked ~ .checkmark {
  background-color: #0d8ba2;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.containerRadio input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.containerRadio .checkmark:after {
 	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}
/*** end index radio buttons ***/
@media screen and (max-width: 1024px){
  .custom-popup{width: 50%;}
}
@media screen and (max-width: 1023px){
  .custom-overlay {
  	z-index: 10000;
  }
  .custom-popup {
    z-index: 10001!important;
  }

}
@media only screen and (min-width: 1301px) and (max-width: 1919px) {
    .contactForm-second label {
        font-size: 14px;
        margin: 10px 0;
    }
    .indexFormTit p {
        font-size: 24px;
    }
    #name, #email, #phone, #websiteurl, #zip, #emailp {
        height: 30px;
    }
    .contactForm-second textarea {
        height: 50px;
    }
    .contactFormFull input[type="submit"] {
        padding: 10px 30px;
        font-size: 16px;
    }
    .contactForm-second input[type="text"],
    .contactForm-second input[type="tel"],
    .contactForm-second select,
    .contactForm-second textarea {
        padding: 5px;
    }
    .checkmark {
        height: 16px;
        width: 16px;
    }
    .containerRadio .checkmark::after {
        width: 4px;
        height: 4px;
        top: 5px;
        left: 5px;
    }
}
@media only screen and (min-width: 1024px) and (max-width: 1300px) {
    .contactForm-second label {
        font-size: 14px;
        margin: 10px 0;
    }
    .indexFormTit p {
        font-size: 24px;
    }
    #name, #email, #phone, #websiteurl, #zip, #emailp {
        height: 35px;
    }
    .contactForm-second textarea {
        height: 60px;
    }
    .contactFormFull input[type="submit"] {
        padding: 10px 30px;
        font-size: 16px;
    }
    .checkmark {
        height: 16px;
        width: 16px;
    }
    .containerRadio .checkmark::after {
        width: 4px;
        height: 4px;
        top: 5px;
        left: 5px;
    }

}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .contactForm-second label {
        font-size: 14px;
        margin: 8px 0;
    }
    .indexFormTit p {
        font-size: 24px;
    }
    #name, #email, #phone, #websiteurl, #zip, #emailp {
        height: 35px;
    }
    .contactForm-second textarea {
        height: 60px;
    }
    .contactFormFull input[type="submit"] {
        padding: 10px 30px;
        font-size: 16px;
    }
    .indexForm {
        padding: 20px!important;
        max-width: 320px;
    }
    .checkmark {
        height: 16px;
        width: 16px;
    }
    .containerRadio .checkmark::after {
        width: 4px;
        height: 4px;
        top: 5px;
        left: 5px;
    }
}

@media screen and (max-width: 768px){
    .indexForm {
        padding: 25px!important;
        margin: 10px auto;
        box-shadow: none;
    }
    .contactForm-second label {
        font-size: 14px;
        margin: 8px 0;
    }
    .indexFormTit p {
        font-size: 26px;
    }
    #name, #email, #phone, #websiteurl, #zip, #emailp {
        height: 35px;
    }
    .contactForm-second textarea {
        height: 60px;
    }
    .contactFormFull input[type="submit"] {
        padding: 10px 30px;
        font-size: 16px;
    }
    .indexForm {
        padding: 20px 20px 60px 20px!important;
        border-bottom: 1px solid #000;
        border-radius: 0;
    }
  .custom-popup{width: 70%;}
  .contactForm-second {padding: 10px;}
}
.checkmark {
        height: 16px;
        width: 16px;
    }
    .containerRadio .checkmark::after {
        width: 4px;
        height: 4px;
        top: 5px;
        left: 5px;
    }

@media only screen and (max-width: 767px) {
    .contactFormFull input[type="submit"] {
        padding: 15px 35px;
        font-size: 18px;
    }
}

@media screen and (max-width: 700px){
  .custom-popup{width: 85%;}
}
@media screen and (max-width: 479px){
    .indexFormTit p {
        font-size: 26px;
    }
    .indexForm {
        width: 100%;
    }
    #name, #email, #phone, #websiteurl, #zip, #emailp {
        height: 30px;
    }
    .contactForm-second input[type="text"], .contactForm-second input[type="tel"], .contactForm-second select, .contactForm-second textarea {
        padding: 5px;
    }
    .contactFormFull input[type="submit"] {
        padding: 14px 20px;
        font-size: 18px;
    }
    .contactForm-second label {
        margin-top: 5px;
    }
}
