/*
    - 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: #B3DBF5;
  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: #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 #006FB7;
  border-radius: 8px;
  background-color: #006FB7;
  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: #10006B;
  background-color: #10006B;
}
.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: 5px;
  }
}

.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: #d4e9f7;
}
.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: #ffffff;
}
@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: #006FB7;
  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: #10006B;
}
.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 .container {
  padding: 0;
}
.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: #006FB7;
  background-color: #006FB7;
  color: #ffffff;
}
.search__page .view-content .field--name-field-subtype, .search__page .view-content .field--name-archive-type, .search__page .view-content .field--name-field-archivo-est, .search__page .view-content .field--name-topic {
  display: inline-block;
  margin-bottom: 20px;
  padding: 2px 12px;
  background-color: #B3DBF5;
  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: #B3DBF5;
  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, .search__page .view-content .field--type-text-with-summary {
  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-body *, .search__page .view-content .field--type-text-with-summary * {
  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, .search__page .view-content .field--name-field-fecha-est, .search__page .view-content .field--name-date, .search__page .view-content .field--name-dates, .search__page .view-content .field--name-session-date {
  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-content .field--name-place, .search__page .view-content .field--name-duration {
  display: flex;
  color: #002855;
  font-size: var(--font-16);
  line-height: 1.375rem;
}
.search__page .view-content .field--name-place .field__label, .search__page .view-content .field--name-duration .field__label {
  font-weight: 700;
  font-family: "Roboto", sans-serif;
}
.search__page .view-content .field--name-place .field__label::after, .search__page .view-content .field--name-duration .field__label::after {
  content: ":";
  padding-right: 5px;
}
.search__page .view-content .field__document--custom {
  margin: 12px 0;
}
.search__page .view-content .field__document--custom .file-download {
  border: 1px solid #002855;
}
.search__page .view-content .field--type-link {
  margin-top: 10px;
}
.search__page .view-content .field--type-link a {
  display: flex;
  align-items: center;
  color: #006FB7;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-size: var(--font-16);
  line-height: 1.5rem;
  transition: all 0.25s ease-in-out;
}
.search__page .view-content .field--type-link a::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002855' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-link'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'%3E%3C/path%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'%3E%3C/path%3E%3C/svg%3E");
  width: 20px;
  min-width: 20px;
  margin-right: 10px;
  line-height: 0.9375rem;
}
.search__page .view-content .field--type-link a:hover {
  font-weight: 700;
  font-family: "Roboto", sans-serif;
}
.search__page .view-empty {
  padding: 30px;
  background-color: #d4e9f7;
  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: #d4e9f7;
}
[class*=style-2] .search__page .view-content .search__link::after {
  content: none;
}
[class*=style-2] .bottom__search {
  background-color: #ffffff;
  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 */
