#contact-cards .wrapper {
  width: 75%;
  margin-top: 70px;
}

#contact-cards .cards-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 89px;
}

#contact-cards .cards-container .card.connect {
  height: 273px;
}

#contact-cards .flex {
  grid-gap: 3rem;
  margin-top: 4rem;
  align-items: flex-start;
}
#contact-cards .left {
  width: 65%;
}
#contact-cards .right {
  background-color: var(--green);
  max-width: 480px;
  border-radius: 15px;
  padding: 3rem;
}

#contact-cards .right p {
  color: #fff;
  margin-bottom: 1rem;
}

#contact-cards .right .button {
  margin-top: 2rem;
  color: white;
  background-color: var(--orange);
}

#contact-cards .contact-form {
  align-items: flex-start;
}

#contact-cards .contact-form input,
#contact-cards .contact-form textarea {
  max-width: none;
}

#contact-cards .contact-form .button {
  margin-left: 0;
}

@media (max-width: 1000px) {
  #contact-cards .wrapper {
    width: 90%;
    margin-bottom: 8rem;
  }

  #contact-cards .cards-container .card {
    width: 100%;
    height: auto;
  }
  #contact-cards .cards-container .card .top {
    margin-bottom: 2rem;
  }

  #contact-cards .cards-container .card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  #contact-cards .cards-container {
    grid-gap: 10rem 0;
  }
}
@media (max-width: 800px) {
  #contact-cards .flex {
    flex-direction: column;
    margin-bottom: 4rem;
  }
  #contact-cards.flex-mb1 .flex {
    margin-bottom:1rem !important;
	grid-gap: 1rem !important;
  }
  #contact-cards .left {
    width: 100%;
  }
  #contact-cards .right {
    width: 100%;
  }
}
*/

#form-container {
  position: relative;
  max-width: 1500px;
  margin: auto;
}

#contact-cards .top-steps {
  position: sticky;
  top: 0;
  transition: all .5s;
}

#contact-cards .top-steps::before,
#contact-cards .top-steps::after {
  position: absolute;
  content: '';
}

/*Dashed line */
#contact-cards .top-steps::after {
  width: 89%;
  margin: auto;
  height: 1px;
  border-top: 2px dashed var(--blue);
  bottom: 6px;
  left: 7%;
  z-index: -1;
}

/*Progressing circle*/

#contact-cards .top-steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px 0;
}

#contact-cards .top-steps .step .circle {
  width: 16px;
  height: 16px;

  border-radius: 50%;

  background-color: var(--blue);
}

#contact-cards .body.wrapper {
  width: 80%;
}

@media(min-width: 1300px) {
  #form-container .marital-status {
    height: 63px;
  }
}

@media(max-width: 1299px) {
  #contact-cards form .status-selection label {
    max-width: none !important;
  }

  #contact-cards form .status-selection label.br {
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
  }

  #contact-cards form .status-selection label.br2:has(input[type="radio"]:checked) {
    border-radius: 0;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
  }
}

#contact-cards input,
#contact-cards textarea {
  border-radius: 15px;
  background: #d3f0ff;
  padding: 20px 40px;
  border: none;
  margin-bottom: 20px;
  width: 100%;
  color: black;
}

@media(max-width: 1299px) {
	#contact-cards input,
	#contact-cards textarea {
	  margin-bottom: unset;
	}	
}

#contact-cards input:focus,
#contact-cards textarea:focus {
  outline: var(--blue);
}

#contact-cards .w50p {
  width: 49%;
}


#contact-cards #form-container {
  padding-top: 135px;
}

#contact-cards form .top-steps {
  margin-bottom: 69px;
}

#contact-cards form .basic-information .marital-status,
#contact-cards form .title {
  margin-top: 20px;
  margin-bottom: 20px;
}

#contact-cards form button {
  margin-top: 55px;
  padding: 1rem 2rem;
  width: auto;
}

#contact-cards form .marital-status label {
  padding: 10px 0;
}

#contact-cards form .marital-status .status-selection {
  width: calc(100% - 15rem);
  border-radius: 15px;
  background-color: #DBF1F4;
  height: 100%;
}

#contact-cards form .status-selection label {
  width: 100%;
  max-width: 240px;
  height: 100%;
  cursor: pointer;
}

#contact-cards form .status-selection label.br,
#contact-cards form .contact-information label.br {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

#contact-cards form .status-selection label.br2,
#contact-cards form .contact-information label.br2 {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

#contact-cards form input[type="radio"] {
  margin: 0;
  width: 0;
  height: 0;
  position: absolute;
  opacity: 0;
}

#contact-cards form .status-selection label:has(input[type="radio"]:checked),
#contact-cards form .contact-information label:has(input[type="radio"]:checked) {
  background-color: #08374F;
  border: none;
}


#contact-cards input[type="radio"]:checked+p {
  color: #B4E1E8;
}

#contact-cards form .marital-status .status-selection label {
  gap: 0 6px;
}

/* ----------------------------- */

#contact-cards form .contact-information .options {
  width: 100%;
  max-width: calc(100% - 20rem);
  height: 62px;
  background-color: #DBF1F4;
  border-radius: 15px;
}
@media(max-width: 1000px) {
  #contact-cards form .contact-information .options {
    max-width: none;
    width: 100%;
  }
}

.mb20{margin-bottom:20px;}

#contact-cards form .option-input {
  /*width: 47%;*/
}

#contact-cards form .contact-information .options .option {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#contact-cards form .contact-information .options .option.opt50{width:50% !important;}

#contact-cards form .contact-information .options .option._1,
#contact-cards form .contact-information .options .option._2,
#contact-cards form .contact-information .options .option._3{
	height:100%;
	}

#contact-cards form .contact-information .options .option._1,
#contact-cards form .contact-information .options .option._3 {
  width: 30%;
}

#contact-cards form .contact-information .options .option._2 {
  width: 40%;
}

#contact-cards form .contact-information .options .option._2 {
  border-right: 1px solid #B4E1E8;
  border-left: 1px solid #B4E1E8;
}

#contact-cards form .form.inputs._2 .option._3:has(input[type="radio"]:checked) {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

#contact-cards form .contact-information .container-top {
  margin-bottom: 20px;
  gap: 20px 30px;
}

#contact-cards form .contact-information .container-bottom .top {
  gap: 0 35px;
}

#contact-cards form .contact-information .container-bottom textarea {
  height: 154px;
  max-height: 300px;
  max-width: 100%;
}

#contact-cards form .contact-information .container-bottom .textarea p {
  margin-bottom: 20px;
}

#contact-cards form .contact-information label {}

#contact-cards .input-wrapper.error input.dark-blue.p-18 {
  border: 1px solid red;
  margin-bottom: 4px;
}

#contact-cards .input-wrapper.error p {
  color: red;
}

@media(min-width: 1400px) {
  .two-input-container .input-wrapper {
    max-width: 49% !important;
  }
}

@media(max-width: 1280px) {
  #contact-cards .ai-c {
    align-items: flex-start;
  }
}

@media(max-width: 1000px) {
  #contact-cards form .option-input {
    width: 100%;
  }

  #contact-cards .two-input-container {
    flex-direction: column;
  }

  #contact-cards form .marital-status {
    height: auto;
  }

  #contact-cards form input {
    width: 100%;
    max-width: none !important;
  }

  #contact-cards form .w50p {
    width: 100%;
  }

  #contact-cards form .marital-status label {
    padding: 10px 0;
    width: 100%;
  }

  #contact-cards form .marital-status label:nth-child(2) {
    border-top: 1px solid #B4E1E8;
    border-bottom: 1px solid #B4E1E8;
  }

  #contact-cards form .marital-status label:nth-child(3) {
    border-bottom: 1px solid #B4E1E8;
  }

  #contact-cards form .marital-status .status-selection {
    max-width: none;
    width: 100%;
  }

  #contact-cards form .status-selection label.br,
  #contact-cards form .contact-information label.br {
    border-radius: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }

  #contact-cards form .status-selection label.br2,
  #contact-cards form .contact-information label.br2 {
    border-radius: 0;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
  }

  #contact-cards input,
  #contact-cards textarea {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media(max-width: 768px) {
  #contact textarea {
    max-width: none;
  }
  #contact-cards #form-container button {
    margin-top: 0;
  }
  #contact-cards #form-container {
    margin-bottom: 5rem;
  }
  #contact-cards form .basic-information .marital-status {
    margin-top: 0;
  }
  .input-wrapper.error {
    margin-bottom: 1rem;
  }
  #contact-cards form .contact-information .container-bottom .textarea p {
    margin-bottom: 0;
  }
}

@media(max-width: 480px) {
  #contact-cards form .contact-information .container-bottom .top {
    flex-direction: column;
  }

  #contact-cards form .contact-information .container-bottom .top .w50p {
    width: 100%;
  }
}


#contact-cards .contact-form .button {
  margin-top: 0;
}
#contact-cards .contact-form {
  grid-gap: 0;
}

.contact-form .flex{margin-top:unset !important;}