@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

/* SeÃ§Ã£o 1 - Encontre sua soluÃ§Ã£o */

.typesearch {
  font-family: "Open Sans", sans-serif;
}

.typesearch-container {
  margin: 60px auto 20px auto;
  max-width: 950px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.typesearch-title {
  font-size: 50px;
  max-width: 375px;
  color: #00418c;
  font-weight: 700;
}

input#ajax-search-input::placeholder {
  color: #9fb2c1;
  font-size: 16px;
  font-weight: 500;
}

.typesearch-container label {
  border: solid 1px #00bec8;
  display: flex;
  align-items: center;
  border-radius: 100px;
  z-index: 3;
  position: relative;
}

input[type="search"].typesearch-input {
  border: none;
  width: 440px;
  padding: .5rem 1rem;
  padding-left: 10px;
  border-radius: 100px !important;
}

input[type="search"]{
    outline: none;
}
input[type="search"]:focus{
    outline: none;
}

.typesearch-label-input {
  display: flex;
  align-items: center;
  border-radius: 100px !important;
}

input[type="search"].typesearch-input::placeholder {
  color: #00325a;
  font-size: 17px;
  font-weight: 500;
}

.typesearch-svg-class {
  width: 20px;
  height: 21px;
  margin-left: 10px;
  color: #00bec8;
}

.typesearch input:focus,
.typesearch textarea:focus,
.typesearch select:focus {
  outline: none;
  box-shadow: none;
}

.typesearch hr {
  max-width: 890px;
  margin-top: 15px;
  border: none;
  height: 1px;
  background-color: #00bec8;
}

.type-search_no-results {
  color: #00bec8;
  font-weight: 600;
  text-decoration: none !important;
}

/* Mobile seÃ§Ã£o 1 - Encontre sua soluÃ§Ã£o */

@media (max-width: 768px) {
  .typesearch-container {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 30px;
  }

  .typesearch-title {
    font-size: 30px;
    max-width: 200px;
    margin-bottom: 20px;
  }

  input[type="search"].typesearch-input {
    border: none;
    width: 300px;
    padding-left: 10px;
    border-radius: 100px;
  }

  #custom-ajax-search-form {
    margin-bottom: 15px;
  }

  #ajax-search-results p {
    margin-left: 40px;
  }
}

/* SeÃ§Ã£o 2 - Qual o seu desafio */

.typesearch-your-challenge {
  max-width: 950px;
  margin: 0 auto;
}

.typesearch-your-challenge h3 {
  margin-top: 40px;
  font-size: 50px;
  text-align: center;
  color: #00325a;
  font-weight: 700;
}

.typesearch-your-challenge p {
  text-align: center;
  font-size: 22px;
  color: #00325a;
}

.typesearch-your-challenge-cards {
  display: flex;
  gap: 20px;
}

.typesearch-your-challenge-cards-card label {
  display: flex;
  margin-top: 10px;
  margin-right: 15px;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 10px;
}

.typesearch-your-challenge-cards-card {
  background: #f7f8fd;
  padding-left: 30px;
}

.typesearch-your-challenge-cards-card h6 {
  background: linear-gradient(96deg, #00bec8 0%, #0096db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 23px;
  font-weight: 700;
  margin-top: 20px;
}

.typesearch-your-challenge-cards-card p {
  font-size: 14px;
  font-weight: 500;
  color: #00325a;
  text-align: left;
  padding-bottom: 40px;
}

.typesearch-your-challenge .custom-checkbox-label {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #00c0d0;
  cursor: pointer;
  gap: 10px;
}

.typesearch-your-challenge .custom-checkbox {
  display: none;
}

.typesearch-your-challenge .custom-checkbox-label .checkmark {
  width: 24px;
  height: 24px;
  background-color: #fff;
  border: 2px solid #d9dce1;
  border-radius: 6px;
  display: inline-block;
  position: relative;
  transition: background-color 0.3s, border-color 0.3s;
  box-sizing: border-box;
}

.typesearch-your-challenge .custom-checkbox:checked + .checkmark {
  background-color: #00c0d0;
  border-color: #00c0d0;
}

.typesearch-your-challenge .custom-checkbox:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.typesearch-your-challenge-pagination {
  font-size: 30px;
  color: #dadfdf;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.typesearch-your-challenge-pagination b {
  color: #00bec8;
}

.typesearch #ajax-search-results {
  position: absolute;
  background: white;
  width: 99%;
  padding-bottom: 0px;
  border-radius: 0;
  border: none;
  border-top: none;
  margin-top: -25px;
  margin-left: 2px;
  z-index: 2;
}

.typesearch #ajax-search-results ul {
  list-style: none;
  margin:24px;
  margin-top: 34px;
}

.typesearch #ajax-search-results ul li a {
  color: #00325a;
  font-weight: 600;
  cursor: pointer;
}

.typesearch #ajax-search-results ul li a:hover {
  text-decoration: underline;
}

.typesearch #ajax-search-results ul li:last-child {
  padding-bottom: 15px;
}

#custom-ajax-search-form {
  position: relative;
}

.typesearch-your-challenge-group {
  display: flex;
}

.typesearch-your-challenge-tabs {
  display: flex;
  gap: 30px;
}

.typesearch-navigation-bar {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  align-items: center;
}

.typesearch-back-button {
  display: flex;
  gap: 5px;
  align-items: center;
  color: #00bec8;
  font-weight: 500;
  font-size: 18px;
  border: none;
}

.typesearch-back-button:hover {
  background: transparent;
  color: #00bec8;
  gap: 7px;
}

.typesearch-apply-button {
  background-color: #00418c;
  font-weight: 700;
  font-size: 18px;
  padding: 10px 50px;
  border-radius: 0;
  color: white;
  border: 1px solid transparent;
}

.typesearch-apply-button:hover {
  background-color: transparent;
  color: #00325a;
  border: 1px solid #00325a;
}

.typesearch-pretitle {
  font-size: 18px;
  font-weight: 600;
  color: #00bec8;
  padding-bottom: 20px;
  text-transform: uppercase;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 768px) {
  .typesearch-your-challenge {
    display: flex;
    flex-direction: column;
  }

  .typesearch-your-challenge h3 {
    font-size: 30px;
    max-width: 200px;
    text-align: left;
    margin-left: 30px;
    order: 0;
  }

  .typesearch-your-challenge p {
    font-size: 14px;
    max-width: 200px;
    margin-left: 30px;
    text-align: left;
    order: 1;
  }

  .typesearch-your-challenge-tabs {
    flex-direction: column;
    margin-top: 30px;
    order: 3;
  }

  .typesearch-your-challenge-cards-card {
    padding-left: 30px;
    margin-left: 30px;
    margin-right: 30px;
  }

  .typesearch-navigation-bar {
    order: 3;
    margin-right: 40px;
    margin-bottom: 40px;
  }

  .typesearch-your-challenge-cards.children-content {
    flex-direction: column;
  }

  .typesearch-your-challenge-cards-card p {
    margin-left: 0;
  }

  .typesearch-label-input {
    width: 100%;
  }

  #custom-ajax-search-form {
    width: 100%;
  }

  .typesearch-pretitle {
    text-align: center;  
  }
}

.typesearch-label-input {
  display: flex;
  align-items: center;
  border-radius:2px;
  background:white;
}
