#block-mahi-facelift-views-block-home-servicos-block-1 {
  padding: 50px 0;
  background: var(--verde-facelift-1);
}

#block-mahi-facelift-views-block-home-servicos-block-1 * {
  transition: all .5s ease-in;
}

#block-mahi-facelift-views-block-home-servicos-block-1 .block-content {
  max-width: 1100px;
  margin: auto;
  /* background: red; */
}

#block-mahi-facelift-views-block-home-servicos-block-1 .view-home-servicos>.view-content {
  display: none;
}

.view-home-servicos .view-footer {
  display: flex;
}

.view-home-servicos .view-footer>div:not(:last-child) {
  margin-right: 25px;
}

.container-servicos-header * {
  padding: 0;
  margin: 0;
}

.container-servicos-header {
  /* padding: 0; */
  margin-bottom: 20px;
}

#block-mahi-facelift-views-block-home-servicos-block-1 h1 {
  font-family: Raleway;
  font-weight: 700;
  font-style: Bold;
  font-size: 20px !important;
  leading-trim: NONE;
  line-height: normal;
  letter-spacing: 0%;
  vertical-align: middle;
  color: rgba(54, 57, 64, 1) !important;

}

#block-mahi-facelift-views-block-home-servicos-block-1 h2 {
  font-family: Raleway;
  font-weight: 700;
  font-style: Bold;
  font-size: 32px !important;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: var(--verde-nobre) !important;

}


.custom-select-wrapper {
  position: relative;
  display: inline-block;
  width: 200px;
  /* background: white; */
  outline: none;
  border: none;
  width: auto;
}

.custom-select-trigger {
  cursor: pointer;
  position: relative;
  outline: none;
  width: 250px;
  font-size: 14px;
  height: 72px;
  gap: 10px;
  padding-top: 8px;
  padding-right: 20px;
  padding-bottom: 8px;
  padding-left: 20px;
  border-radius: 80px;
  background: white;
  display: flex;
  justify-content: start;
  align-items: center;
  font-family: Raleway;
  font-weight: 400;
  font-style: Regular;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: rgba(14, 82, 54, 1);
  border: solid 1px transparent;
  font-size: 18px;
}

.custom-select-trigger:hover {
  background: rgba(247, 247, 247, 1);
  font-weight: 700;
}

.custom-select-wrapper .open {
  border: 1px solid rgba(215, 249, 211, 1);
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.15);
  font-weight: 700;
  background: rgba(247, 247, 247, 1);
}


/* seta padrÃ£o */
.custom-select-trigger::after {
  content: "â–¼";
  /* seta para baixo */
  position: absolute;
  right: 20px;
  /* top: 30px; */
  font-size: 12px;
  transition: all 0.5s ease;
  background-image: url('/themes/custom/mahi_facelift/images/home/assets/arrow/arrow.png');
  background-size: contain;
  background-repeat: no-repeat;
  color: transparent;
  transform: rotate(180deg);
  width: 13px;
  height: 9px;
}


.custom-select-wrapper .open::after {
  transition: all 0.5s ease;
  transform: rotate(0deg);
  /* top: 20px; */
}

/* seta para cima quando hover */
.custom-select-trigger:hover::after {
  transition: all 0.5s ease;
  transform: rotate(0deg);
  /* top: 20px; */
}


/* seta para cima quando aberto */
.custom-select-wrapper .open::after {
  content: "â–²";
  transition: all 0.5s ease;
}

.custom-options {
  display: none;
  /* sempre inicia fechado */
  padding-top: 60px;
  background: white;
  margin-top: -44px;
  padding: 60px 20px;
  padding-bottom: 20px;
  border: 1px solid rgba(215, 249, 211, 1);
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  width: 100%;
}

.custom-options p {
  display: none;
  /* sempre inicia fechado */
}

.custom-options ul li {
  list-style: none;
}

.custom-options ul li a {
  font-family: Raleway;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  display: flex;
  /* justify-content: center; */
  align-items: center;
  margin-bottom: 3px;
}

.custom-options ul li a:before {
  content: '';
  width: 1px;
  height: 6px;
  border-radius: 50px;
  background: #6861F2;
  display: inline-block;
  opacity: 1;
  transition: all .5s ease;
  margin-right: 7px;
}

.custom-options ul li:hover a::before {
  width: 15px;
}

.custom-options ul li:hover a {
  font-weight: 700;
}



/* --------- tipos de cancer ----------- */

.home-query-title-servicos {
  display: none;
}


.js-searchable-view .item-list:before {
  /* content: 'teste';
  background: red;
  width: 100px;
  height: 100px; */
}

.js-searchable-view .item-list ul {
  display: none;
  max-height: 400px;
  overflow-y: scroll;
  padding-bottom: 20px;
  width: 100%;
}



.button-custom-1::after {
  content: "â–¼";
  position: absolute;
  right: 20px;
  /* top: 30px; */
  font-size: 12px;
  transition: all 0.5s ease;
  background-image: url(/themes/custom/mahi_facelift/images/home/assets/arrow/arrow.png);
  background-size: contain;
  background-repeat: no-repeat;
  color: transparent;
  transform: rotate(180deg);
  width: 13px;
  height: 9px;
}

.button-custom-1 {
  cursor: pointer;
  position: relative;
  outline: none;
  width: 258px;
  height: 72px;
  gap: 10px;
  padding-top: 8px;
  padding-right: 20px;
  padding-bottom: 8px;
  padding-left: 20px;
  border-radius: 80px;
  background: white;
  display: flex;
  justify-content: start;
  align-items: center;
  font-family: Raleway;
  font-weight: 400;
  font-style: Regular;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: rgba(14, 82, 54, 1);
  border: solid 1px transparent;
  font-size: 18px;
  z-index: 1;
}

.button-custom-1:hover {
  background: rgba(247, 247, 247, 1);
  font-weight: 700;
}

.button-custom-1.open {
  border: 1px solid rgba(215, 249, 211, 1);
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.15);
  font-weight: 700;
  background: rgba(247, 247, 247, 1);
}

.button-custom-1.open::after {
  transition: all 0.5s ease;
  transform: rotate(0deg) !important;
  /* top: 20px; */
}

/* seta para cima quando hover */
.button-custom-1:hover::after {
  transition: all 0.5s ease;
  transform: rotate(0deg);
  /* top: 20px; */
}


ul.opened {
  display: block !important;
  background: white;
  margin-top: -44px;
  padding: 40px 0px;
  border: 1px solid rgba(215, 249, 211, 1);
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  padding-top: 0;
}

ul.opened li {
  list-style: none;
  padding: 6px 0;
  padding: 6px 20px;
  padding-right: 0;
  padding-left: 26px;
  max-width: 80%;
}

ul.opened li a {
  font-family: Raleway;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  display: flex;
  /* justify-content: center; */
  align-items: center;
  margin-bottom: 3px;
}

ul.opened li a::before {
  content: '';
  width: 0px;
  height: 6px;
  border-radius: 50px;
  background: #6861F2;
  display: inline-block;
  opacity: 1;
  transition: all .5s ease;
  margin-right: 7px;
}

ul.opened li:hover a::before {
  width: 15px;
}

input.custom-search-tipos {
  margin-bottom: 10px;
}

input.custom-search-tipos {
  width: 100%;
  justify-content: space-between;
  opacity: 1;
  border-top-left-radius: 30px;
  border-top-right-radius: 32px;
  border-bottom-right-radius: 32px;
  border-bottom-left-radius: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 22px;
  border: none;
  font-family: Raleway;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: start;
  color: rgba(3, 57, 54, 1);
  padding-left: 20px !important;
}

input.custom-search-tipos::placeholder {
  font-family: Raleway;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0%;
  color: rgba(3, 57, 54, 1);
}

.area-input-tipos-cancer {
  width: 100%;
  background: none;
  color: grey;
  background: var(--cinza-neve);
  font-family: Raleway;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: rgba(3, 57, 54, 1);
  text-align: start;
  display: flex;
  justify-content: center;
  padding: 20px;
  padding-top: 65px;
  margin-bottom: 20px;
}

/* ------ convenios select ----------- */

.convenios-select p {
  display: flex;
  flex-direction: column;
}

.convenios-select p #convenios {
  cursor: pointer;
  position: relative;
  outline: none;
  width: 330px;
  height: 72px;
  gap: 10px;
  padding-top: 8px;
  padding-right: 20px;
  padding-bottom: 8px;
  padding-left: 20px;
  border-radius: 80px;
  background: white;
  display: flex;
  justify-content: start;
  align-items: center;
  font-family: Raleway;
  font-weight: 400;
  font-style: Regular;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: rgba(14, 82, 54, 1);
  border: solid 1px transparent
}



.ac-list {
  list-style: none;
  margin: 0;
  padding: 0
}

.ac-list li {
  cursor: pointer;
  padding: 8px 12px
}

.ac-list li.placeholder {
  cursor: default;
  opacity: .7
}

.ac-list li.active {
  font-weight: 600;
  outline: 1px solid #ddd
}

.is-hidden {
  display: none
}

.disabled {
  opacity: .5;
  pointer-events: none
}

.ac-list {
  display: none;
}

.bloco-convenios-container {
  display: flex;
  flex-direction: column;
}

.container-convenios {
  display: none;
  background: white;
  margin-top: -50px;
  padding-top: 29px;
  max-width: 330px;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
}

.container-convenios p {
  margin: 0;
}

.bloco-convenios p {
  margin: 0;
}

.bloco-convenios button {
  width: 100%;
  background: none;
  color: grey;
  background: var(--cinza-neve);
  font-family: Raleway;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: rgba(3, 57, 54, 1);
  text-align: start;
  padding: 0;
  padding: 10px 30px;
  border-radius: 0;
  transition: none !important;
}

.bloco-convenios .ac-list {
  padding: 0 20px;
}

.area-input-convenios {
  width: 100%;
  background: none;
  color: grey;
  background: var(--cinza-neve);
  font-family: Raleway;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: rgba(3, 57, 54, 1);
  text-align: start;
  display: flex;
  justify-content: center;
  padding: 20px;
  padding-top: 40px;
}

.area-input-convenios p {
  width: 100%;
}

.area-input-convenios input {
  width: 100%;
  width: 290;
  height: 32;
  justify-content: space-between;
  angle: 0 deg;
  opacity: 1;
  border-top-left-radius: 30px;
  border-top-right-radius: 32px;
  border-bottom-right-radius: 32px;
  border-bottom-left-radius: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 22px;
  border: none;
  font-family: Raleway;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: start;
  color: rgba(3, 57, 54, 1);
  padding-left: 20px !important;
}

.lupa-convenios {
  background: var(--verde-facelift-2);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 34px;
  margin-left: -34px;
}


.area-input-convenios input::placeholder {
  font-family: Raleway;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(3, 57, 54, 1);
}

.toggle-btn[disabled] {
  display: none;
}

.bloco-convenios--convenios .ac-list,
.bloco-convenios--planos .ac-list {
  max-height: 350px;
  overflow-y: scroll;
  /* padding: 0; */
}

.bloco-convenios--convenios,
.bloco-convenios--convenios * {
  transition: none !important;
}

.bloco-convenios .populed-conv {
  font-weight: 400;
}

.populed-conv {
  background: var(--cinza-neve) !important;
  font-weight: 400;
  display: flex;
  align-items: center;
}

.populed-conv:before {
  content: '';
  width: 0px;
  height: 6px;
  border-radius: 50px;
  background: #6861F2;
  display: inline-block;
  opacity: 1;
  transition: all .5s ease;
  margin-right: 7px;
  position: relative;
}

.populed-conv:hover:before {
  width: 0px;
}

.bloco-convenios--convenios .ac-list {
  margin-top: 10px;
}

.bloco-convenios--convenios .populed-conv {
  display: none;
}

.bloco-convenios--convenios .toggle-btn-actived {
  margin-top: 50px;
  display: block;
}

.bloco-convenios {
  padding: 0 30px;
  padding: 0;
}



.toggle-btn-actived {
  background: white !important;
  font-weight: 700 !important;
}

.toggle-btn-actived::after {
  content: '';
  background-image: url(/themes/custom/mahi_facelift/images/home/servicos/seta-convenios.png);
  width: 14px;
  height: 13px;
  display: flex;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 31px;
  top: 10px;
}

.toggle-btn-actived:before {
  content: '';
  width: 15px;
  height: 6px;
  border-radius: 50px;
  background: #6861F2;
  display: inline-block;
  opacity: 1;
  transition: all .5s ease;
  margin-right: 7px;
  position: relative;
}

.toggle-btn-actived:hover::before {
  width: 15px;
}


.bloco-convenios--convenios .toggle-btn-actived:before,
.bloco-convenios--convenios .toggle-btn-actived:hover::before {
  width: 15px;
}

.bloco-convenios--planos .toggle-btn-actived,
.bloco-convenios--categorias .toggle-btn-actived {
  font-size: 13px;
  transition: none !important;
}

.bloco-convenios--planos .toggle-btn,
.bloco-convenios--categorias .toggle-btn {
  margin-top: 20px;
}

.bloco-convenios--planos .toggle-btn-actived,
.bloco-convenios--categorias .toggle-btn-actived {
  margin-top: 5px !important;
}

.ac-list li {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  font-family: Raleway;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(14, 82, 54, 1);
  padding: 10px 20px0;
}

.ac-list li:hover {
  font-weight: 700;
}

.ac-list li:before {
  content: '';
  width: 0px;
  height: 6px;
  border-radius: 50px;
  background: #6861F2;
  display: inline-block;
  opacity: 1;
  transition: all .5s ease;
  margin-right: 7px;
}

.ac-list li:hover::before {
  width: 15px;
}

.bloco-convenios--resultado .total {
  background: var(--verde-facelift-2);
  color: white;
  padding: 40px 20px;
  margin-top: 30px;
}

.bloco-convenios--resultado .parcial {
  background: #cf4900;
  color: white;
  padding: 40px 20px;
  margin-top: 30px;
}





/* --------------------------- MEDIA QUERY ------------------------------------- */



@media only screen and (max-width: 1100px) {

  .view-home-servicos .view-footer {
    flex-wrap: wrap;
  }
}

@media only screen and (max-width: 767px) {

  .view-home-servicos {
    max-width: 90%;
    margin: auto;
  }

  .view-home-servicos .view-footer .field--name-body {
    width: 100%;
    margin-bottom: 20px;
  }

  .custom-select-wrapper {
    width: 100%;
    /* margin-bottom: 20px; */
  }

  .custom-select-trigger {
    width: 100%;
  }

  .view-home-servicos .view-footer>div:not(:last-child) {
    margin-right: 0px;
    margin-bottom: 20px;
  }

  .view-home-servicos .button-custom-1 {
    width: 100%;
  }

  .view-home-servicos .container-convenios,
  .view-home-servicos .js-searchable-view,
  .view-home-servicos .js-searchable-view .view-content,
  .view-home-servicos .js-searchable-view .view-content .item-list {
    width: 100%;
    max-width: 100%;
  }

}
