/*
    - Name: "search.scss"
    - Description: "Add custom styles to search block"
*/
/* VARIABLES */
body.open {
  position: relative;
  overflow-y: visible;
}

body.open::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  background: #000000;
  background: rgba(0, 0, 0, 0.6);
}

body.open .header {
  position: relative;
  z-index: 1000;
}

.header__search {
  display: none;
}

.header__search.open {
  display: block;
}

.search__button, .search__button--mobile {
  padding: 0;
}

.search__button > .content, .search__button--mobile > .content {
  display: none;
}

.search__button .lens, .search__button--mobile .lens {
  padding: 9px;
  border: 1px solid #002855;
  border-radius: 8px;
  background-color: #002855;
  transition: all 0.5s ease-in-out;
  height: 50px;
}

@media (min-width: 992px) {
  .search__button .lens, .search__button--mobile .lens {
    padding: 10px;
  }
}
.search__button .lens:hover, .search__button .lens:active, .search__button .lens:visited, .search__button--mobile .lens:hover, .search__button--mobile .lens:active, .search__button--mobile .lens:visited {
  border-color: #002855;
  background-color: #002855;
}

.search__button .lens svg, .search__button--mobile .lens svg {
  width: 25px;
  height: 25px;
}

@media (min-width: 380px) {
  .search__button .lens svg, .search__button--mobile .lens svg {
    width: 30px;
    height: 30px;
  }
}
.search__button svg.close, .search__button--mobile svg.close {
  display: none;
}

.search__button.open .lens, .search__button--mobile.open .lens {
  background-color: #ffffff;
}

@media (min-width: 992px) {
  .search__button.open .lens, .search__button--mobile.open .lens {
    border-color: #ffffff;
  }
}
.search__button.open svg.close, .search__button--mobile.open svg.close {
  display: block;
}

.search__button.open svg.search, .search__button--mobile.open svg.search {
  display: none;
}

.header__bottom .search__button {
  display: none;
}

@media (min-width: 992px) {
  .header__bottom .search__button {
    display: block;
    padding-left: 40px;
  }
}
.header__middle .search__button--mobile {
  display: block;
  padding-left: 10px;
}

@media (min-width: 992px) {
  .header__middle .search__button--mobile {
    display: none;
  }
}
form {
  position: relative;
}

form .search__text h2 {
  margin-bottom: 15px;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  color: #002855;
  font-size: 1rem;
  line-height: 1.625rem;
}

form .search__text p {
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  color: #002855;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

form .form-row {
  position: relative;
}

form .form-row .form-item {
  width: 100%;
}

form .form-row fieldset {
  width: 100%;
  padding: 0;
}

form .form-row input[type=text] {
  padding: 10px;
  width: 100%;
  border: 1px solid;
  background: #002855;
  background: rgba(0, 40, 85, 0.6);
  border-radius: 12px;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  form .form-row input[type=text] {
    padding: 19px;
  }
}
form .form-row label {
  font-size: 0;
  position: absolute;
}

form .form-row input[type=submit] {
  position: absolute;
  top: 5px;
  right: 5px;
  display: block;
  width: auto;
  padding: 6px 18px;
  border: 0;
  border-radius: 8px;
  background-color: #00C1B6;
  background-image: url("../../../images/icons/icon-search.svg");
  background-position: center center;
  background-size: 25px;
  background-repeat: no-repeat;
  font-size: 0;
  transition: all 0.5s ease-in-out;
}

@media (min-width: 1200px) {
  form .form-row input[type=submit] {
    padding: 30px;
    background-size: auto;
    top: 6px;
    right: 25px;
  }
}
@media (max-width: 991.98px) {
  form .form-row input[type=submit] {
    padding: 20px;
    top: 7px;
  }
}
form .form-row input[type=submit]:hover, form .form-row input[type=submit]:active, form .form-row input[type=submit]:visited {
  background-color: #002855;
}

.search__page {
  padding-top: 50px;
  padding-bottom: 30px;
}

@media (min-width: 1200px) {
  .search__page {
    padding-top: 100px;
    padding-bottom: 50px;
  }
}
.search__page .view-header {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 25px;
  margin-bottom: 25px;
}

@media (min-width: 992px) {
  .search__page .view-header {
    padding-bottom: 45px;
  }
}
.search__page .view-header h2 {
  width: 100%;
}

.search__page .view-header .results {
  color: #002855;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.search__page .view-header .results + .results {
  padding-left: 5px;
}

.search__page .view-content .views-row {
  margin-bottom: 25px;
  padding: 0 0 12px;
  border-bottom: 1px solid #C4C4C5;
  width: 100%;
}

.search__page .view-content .views-row:last-child {
  border: 0;
}

.search__page .view-content .node--view-mode-search-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search__page .view-content .node--view-mode-search-index > .node__content {
  width: calc(100% - 80px);
}

.search__page .view-content .search__link {
  font-size: 0;
  text-decoration: none;
}

.search__page .view-content .search__link::after {
  content: "\e90b";
  margin-left: 20px;
  padding: 8px;
  font-weight: normal;
  font-style: normal;
  font-variant: normal;
  font-family: "icomoon";
  font-size: 0.9375rem;
  line-height: 1;
  text-transform: none;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border: 1px solid #002855;
  border-radius: 5px;
  color: #002855;
  transition: all 0.25s ease-in-out;
}

.search__page .view-content .search__link:hover::after {
  border-color: #002855;
  background-color: #002855;
  color: #ffffff;
}

.search__page .view-content .field--name-field-subtype {
  display: inline-block;
  margin-bottom: 20px;
  padding: 2px 12px;
  background-color: #DBFFFD;
  color: #002855;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.search__page .view-content .field--name-field-typology {
  display: flex;
}

.search__page .view-content .field--name-field-typology .field__item {
  display: inline-block;
  margin-bottom: 20px;
  padding: 2px 12px;
  margin-right: 10px;
  background-color: #DBFFFD;
  color: #002855;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.search__page .view-content .field--name-title h3 {
  margin-bottom: 4px;
  color: #002855;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  font-size: 1.125rem;
  line-height: 1.625rem;
}

.search__page .view-content .field--name-title a {
  text-decoration: none;
}

.search__page .view-content .field--name-title a h3 {
  margin-bottom: 4px;
  color: #002855;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  font-size: 1.125rem;
  line-height: 1.625rem;
}

.search__page .view-content .field--name-title a:hover h3 {
  text-decoration: underline;
}

.search__page .view-content .field--name-body * {
  margin: 0;
  color: #002855;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
}

.search__page .view-content .field--name-created {
  display: block;
  margin-top: 15px;
  color: gray;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-size: 0.875rem;
  line-height: 1.375rem;
}

.search__page .view-empty {
  padding: 30px;
  background-color: #DBFFFD;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  color: #002855;
  font-size: 1rem;
  line-height: 1.5rem;
}

.search__page .view-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: #002855;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.search__page .view-footer .results {
  padding-left: 5px;
}

.search__page .view-footer strong {
  padding-right: 5px;
}

@media (min-width: 992px) {
  .search__page .search__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
.block-views-exposed-filter-blockglobal-search-search-page {
  display: none;
}

.block-views-exposed-filter-blockglobal-search-search-page.open {
  display: block;
  z-index: 99999;
}
/*# sourceMappingURL=search.css.map */
