/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.search-loading {
  position: relative;
  overflow-y: hidden;
}

.search-loading::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0.5;
  z-index: 999;
}

.search-loading::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 80px;
  height: 80px;
  z-index: 999999;
  margin: auto;
  background-image: url("../img/loading.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#container-form-search {
  position: absolute;
  bottom: 50px;
  z-index: 99;
}

.form-search {
  width: 100%;
  height: auto;
  padding-top: 35px;
  padding-bottom: 35px;
  padding-left: 30px;
  padding-right: 30px;
  background: #ffffff;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 4px;
  border: none;
}

.form-search .form {
  display: flex;
  justify-content: space-between;
  justify-items: center;
  align-items: center;
}

.form-search .form .field_input {
  height: 46px;
  background: #f3f3f3;
  border-radius: 4px;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 20px;
  padding-right: 20px;
  border: none;
  font-family: "Alegreya Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  color: #8d97a5;
}

.container-descripiton {
  position: relative;
}

.container-descripiton:before {
  content: "";
  top: 0;
  left: 20px;
  bottom: 0;
  width: 14px;
  height: 14px;
  margin: auto;
  background-image: url("../img/search.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
}

.form-search .field_input--descripiton {
  width: 338px;
  max-width: 338px;
  text-indent: 22px;
}

.form-search .field_input--descripiton::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #8d97a5;
  opacity: 1; /* Firefox */
}

.form-search .field_input--descripiton:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #8d97a5;
}

.form-search .field_input--descripiton::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #8d97a5;
}

.form-search .field_input--category {
  width: 268px;
  max-width: 268px;
}

.form-search .field_input--subcategory {
  width: 268px;
  max-width: 268px;
}

.form-search .field_input--category,
.form-search .field_input--subcategory {
  -webkit-appearance: none;
  -moz-appearance: none;
  /* background: transparent; */
  background-image: url("../img/arrow.svg") !important;
  background-repeat: no-repeat !important;
  background-position-x: 95% !important;
  background-position-y: 20px !important;
  /* border: 1px solid #dfdfdf;
  border-radius: 2px;
  margin-right: 2rem;
  padding: 1rem;
  padding-right: 2rem; */
}

.form-search .field_input--submit {
  width: 140px;
  height: 46px;
  background: #3b4aff;
  border-radius: 4px;
  font-family: "Alegreya Sans";
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #ffffff;
  border: none;
}

/* .btn-form-search {
	display: none;
} */

.select2.select2-container {
  max-width: 258px !important;
}

.select2.select2-container .select2-selection {
  height: 46px;
  background: #f3f3f3;
  /*! background-position-x: 0%; */
  /*! background-position-y: 0%; */
  /*! background-repeat: repeat; */
  /*! background-image: none; */
  border-radius: 4px;
  /*! padding-top: 12px; */
  /*! padding-bottom: 12px; */
  /*! padding-left: 20px; */
  /*! padding-right: 20px; */
  border: none;
  font-family: "Alegreya Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  color: red;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
	/* color: #8d97a5; */
	color: #8d97a5 !important;
}

.select2.select2-container .select2-selection .select2-selection__rendered {
  color: #8d97a5;
  line-height: 46px;
  /* padding-right: 46px; */
}

.select2.select2-container .select2-selection .select2-selection__arrow {
	background-image: url("../img/arrow.svg") !important;
	background-color: transparent;
	background-repeat: no-repeat !important;
	background-position: center !important;
	height: 46px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
	display: none;
}

/* .select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
  background: #f8f8f8;
} */

/* .select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
  -webkit-border-radius: 0 3px 0 0;
  -moz-border-radius: 0 3px 0 0;
  border-radius: 0 3px 0 0;
} */

/* .select2.select2-container.select2-container--open .select2-selection.select2-selection--multiple {
  border: 1px solid #34495e;
} */

/* .select2.select2-container .select2-selection--multiple {
  height: auto;
  min-height: 34px;
} */

/* .select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
  margin-top: 0;
  height: 32px;
} */

/* .select2.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: block;
  padding: 0 4px;
  line-height: 29px;
} */

.select2.select2-container
  .select2-selection--multiple
  .select2-selection__choice {
  /*   background-color: #f8f8f8; */
  /*   border: 1px solid #ccc; */
  /*   -webkit-border-radius: 3px; */
  /*   -moz-border-radius: 3px; */
  /*   border-radius: 3px; */
  /*   margin: 4px 4px 0 0; */
  /*   padding: 0 6px 0 22px; */
  /*   height: 24px; */
  /*   line-height: 24px; */
  /*   font-size: 12px; */
  /*   position: relative; */
}

.select2.select2-container
  .select2-selection--multiple
  .select2-selection__choice
  .select2-selection__choice__remove {
  /*   position: absolute; */
  /*   top: 0; */
  /*   left: 0; */
  /*   height: 22px; */
  /*   width: 22px; */
  /*   margin: 0; */
  /*   text-align: center; */
  /*   color: #e74c3c; */
  /*   font-weight: bold; */
  /*   font-size: 16px; */
}

.select2-container .select2-dropdown {
  /*   background-color: #f7f7f7; */
  /* border: none; */
}

.select2-container .select2-dropdown .select2-search {
  /* padding: 0; */
}

.select2-container .select2-dropdown .select2-search input {
  /* outline: none !important; */
  /* border: 1px solid #34495e !important; */
  /* border-bottom: none !important; */
  /* padding: 4px 6px !important; */
}

.select2-container .select2-dropdown .select2-results {
  padding: 0;
}

.select2-container .select2-dropdown .select2-results ul {
  /*   background: #fff; */
  /*   border: 1px solid #34495e; */
}

.select2-container--default .select2-selection--single .select2-selection__clear {
	display: none !important;
}

.select2-container
  .select2-dropdown
  .select2-results
  ul
  .select2-results__option--highlighted[aria-selected] {
  /*   background-color: #3498db; */
}

/* // Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  #container-form-search {
    position: relative;
  }

  .form-search .form {
    /* display: none; */
    /* grid-template-columns: 1fr; */
    gap: 10px;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .form-search .container-descripiton,
  .form-search .field_input--descripiton,
  .form-search .field_input--category,
  .form-search .field_input--subcategory,
  .form-search .field_input--submit {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .select2.select2-container {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* // Small devices (landscape phones, less than 768px) */
@media (min-width: 576px) and (max-width: 798.98px) {
  #container-form-search {
    position: relative;
    bottom: 16px;
  }

  .form {
    gap: 10px;
    flex-wrap: wrap;
  }

  .form-search .field_input--descripiton {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .form-search .container-descripiton,
  .form-search .field_input--category,
  .form-search .field_input--subcategory {
    gap: 0 10px;
    max-width: 100%;
    width: 100%;
    min-width: 100%;
  }

  .form-search .field_input--submit {
    max-width: 100%;
    width: 100%;
    min-width: 100%;
  }

  .select2.select2-container {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* // Medium devices (tablets, less than 992px) */
@media (min-width: 780px) and (max-width: 919.98px) {
  #container-form-search {
    bottom: 16px;
  }

  .form {
    gap: 10px;
    flex-wrap: wrap;
  }

  .form-search .field_input--descripiton {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .form-search .container-descripiton,
  .form-search .field_input--category,
  .form-search .field_input--subcategory,
  .form-search .field_input--submit {
    gap: 0 10px;
    max-width: 23%;
    width: 23%;
    min-width: 23%;
  }
}

@media (min-width: 920px) and (max-width: 1199.98px) {
  #container-form-search {
    bottom: 16px;
  }

  .form {
    gap: 10px;
    flex-wrap: wrap;
  }

  .form-search .field_input--descripiton {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .form-search .container-descripiton,
  .form-search .field_input--category,
  .form-search .field_input--subcategory,
  .form-search .field_input--submit {
    gap: 0 10px;
    max-width: 24%;
    width: 24%;
    min-width: 24%;
  }
}

/* @media(max-width: 780px) {
	.btn-form-search {
		display: block;
		border: none;
		width: 100%;
	}

	.form {
		display: none;
	}

	.form.show-form-search {
		display: flex
	}
} */
