/*
    - Name: "search.scss"
    - Description: "Add custom styles to search block"
*/
/* VARIABLES */
/* TYPOGRAPHY */
/* Google Fonts */
.ui-autocomplete {
  border-color: #002855;
  border-color: rgba(0, 40, 85, 0.5);
  background-clip: padding-box;
}

.ui-autocomplete li a {
  display: block;
  color: #002855;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-size: var(--font-16);
  text-decoration: none;
}

.ui-autocomplete li a.ui-state-active, .ui-autocomplete li a:hover {
  border-color: #002855;
  background-color: #CCD5E2;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  color: #002855;
}

body.open {
  position: relative;
  overflow-y: visible;
}

body.open::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 999;
  background: #000;
  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 #405D8F;
  border-radius: 8px;
  background-color: #405D8F;
  transition: all 0.5s ease-in-out;
}

@media (min-width: 992px) {
  .search__button .lens, .search__button--mobile .lens {
    padding: 12px;
  }
}
.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: #091D31;
  background-color: #091D31;
}

.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: #fff;
}

@media (min-width: 992px) {
  .search__button.open .lens, .search__button--mobile.open .lens {
    border-color: #fff;
  }
}
.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;
  }
}
.bottom__search {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 9;
  padding: 20px;
  border-top: 1px solid #002855;
  background-color: #F5F7F9;
}

.bottom__search .container {
  padding: 0;
}

@media (min-width: 480px) {
  .bottom__search {
    padding: 40px 20px;
  }
}
@media (min-width: 992px) {
  .bottom__search {
    padding: 70px 20px;
  }
}
.bottom__search .block-views {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
}

.bottom__search .block-views .search__text h2 {
  margin-bottom: 15px;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  color: #002855;
  font-size: var(--font-18);
  line-height: 1.625rem;
}

.bottom__search .block-views .search__text p {
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  color: #002855;
  font-size: var(--font-16);
  line-height: 1.5rem;
}

.bottom__search .block-views .form-row {
  position: relative;
}

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

.bottom__search .block-views .form-row input[type=text] {
  padding: 10px;
  border: 1px solid;
  border-color: #002855;
  border-color: rgba(0, 40, 85, 0.5);
  background-clip: padding-box;
  border-radius: 12px;
  background-color: #fff;
}

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

.bottom__search .block-views .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: #405D8F;
  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: 768px) {
  .bottom__search .block-views .form-row input[type=submit] {
    padding: 15px 27px;
    background-size: auto;
  }
}
.bottom__search .block-views .form-row input[type=submit]:hover, .bottom__search .block-views .form-row input[type=submit]:active, .bottom__search .block-views .form-row input[type=submit]:visited {
  background-color: #091D31;
}

.bottom__search .mb-3 {
  margin-bottom: 0 !important;
  padding: 0;
}

.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;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #f5f5f5;
}

@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: var(--font-14);
  line-height: 1.375rem;
}

.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 #f5f5f5;
}

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

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

.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: #405D8F;
  background-color: #405D8F;
  color: #fff;
}

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

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

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

.search__page .view-content .field--name-title h3 {
  margin-bottom: 4px;
  color: #002855;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  font-size: var(--font-18);
  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: var(--font-18);
  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: var(--font-16);
  line-height: 1.5rem;
}

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

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

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

.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;
  }
}
[class*=style-2] .search__page .view-content .field--name-field-subtype {
  background-color: #F5F7F9;
}

[class*=style-2] .search__page .view-content .search__link::after {
  content: none;
}

[class*=style-2] .bottom__search {
  background-color: #fff;
  box-shadow: 2px 2px 2px #f5f5f5;
}

[class*=style-2] .bottom__search .block-views .form-row input[type=submit] {
  background-color: transparent;
  background-image: url("../../../images/icons/search-blue.svg");
}

[class*=style-2] .bottom__search .block-views .form-row fieldset input[type=text] {
  padding: 10px;
  border: 0;
  border-bottom: 1px solid;
  border-radius: 0;
  border-color: #002855;
  border-color: rgba(0, 40, 85, 0.5);
  background-clip: padding-box;
  background-color: transparent;
}

@media (min-width: 768px) {
  [class*=style-2] .bottom__search .block-views .form-row fieldset input[type=text] {
    padding: 14px;
  }
}
[class*=style-2] .search__button .lens, [class*=style-2] .search__button--mobile .lens {
  border: 0;
  background-color: transparent;
}

@media (min-width: 992px) {
  [class*=style-2] .search__button .lens svg path, [class*=style-2] .search__button--mobile .lens svg path {
    stroke: #091d31;
  }
}
[class*=style-3] .search__page .view-content .field--name-field-subtype {
  padding-left: 0;
  background-color: transparent;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
}

[class*=style-3] .search__page .view-content .search__link::after {
  border-radius: 0;
}

[class*=style-3] .search__button .lens, [class*=style-3] .search__button--mobile .lens {
  border-radius: 0;
}

[class*=style-3] .bottom__search .block-views .form-row input[type=submit] {
  border-radius: 0;
}

[class*=style-3] .bottom__search .block-views .form-row fieldset input[type=text] {
  border-radius: 0;
}
/*# sourceMappingURL=search.css.map */
