/**
 * @file
 * Visual styles for Search API search block.
 */
.block-search-api-page form {
  position: relative;
}
.block-search-api-page input.form-search {
  width: 100%;
  margin: 0;
  padding: 12px 15px;
  color: #424242;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  font-size: 16px;
}
.block-search-api-page .form-actions {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  font-size: 16px;
}
.block-search-api-page .form-actions:after {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 15px;
  display: block;
  content: "\f002";
  -webkit-transition: color 0.2s ease-in-out;
  -moz-transition: color 0.2s ease-in-out;
  -ms-transition: color 0.2s ease-in-out;
  -o-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
  text-align: center;
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 900;
  line-height: 52px;
}
.region--light-typography .block-search-api-page input.form-search {
  color: #fff;
}
.region--light-typography .block-search-api-page .form-actions:after {
  color: #fff;
}
.block-search-api-page input.form-submit {
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 50px;
  margin: 0;
  padding: 0 20px;
  text-indent: -9999px;
  border: none;
  background: transparent;
  box-shadow: none;
}
.block-search-api-page input.form-submit:focus,
.block-search-api-page input.form-submit:hover {
  outline: none;
  background: transparent;
}

/* Search blocks @colored-regions */
.region--black-background .block-search-api-page input.form-submit,
.region--black-background .block-search-api-page input.form-submit:hover {
  background-color: transparent;
}

/* Header top highlighted search bar */
.header-top-highlighted__section .block-search-api-page {
  margin: 10px 0 0;
}
.header-top-highlighted__section .block-search-api-page form {
  position: relative;
  padding-left: 35px;
}
.header-top-highlighted__section input.form-search {
  margin: 0;
  padding: 5px 0;
  border-width: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}
.region--light-typography .header-top-highlighted__section input.form-search {
  color: #fff;
}
.header-top-highlighted__section input.form-search:focus,
.header-top-highlighted__section input.form-search:hover {
  box-shadow: none;
}
.header-top-highlighted__section .block-search-api-page .form-actions {
  left: 0;
  width: 35px;
  text-align: center;
}
.header-top-highlighted__section .block-search-api-page .form-actions:after {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 8px;
  display: block;
  height: 100%;
  content: "\f002";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 900;
  line-height: 35px;
}
.header-top-highlighted__section .block-search-api-page input.form-submit {
  width: 35px;
  height: 35px;
  box-shadow: none;
}
.region--light-typography .header-top-highlighted__section .block-search-api-page .form-actions:after {
  color: #fff;
}
.region--light-typography .header-top-highlighted__section ::-webkit-input-placeholder {
  color: #fff;
}
.region--light-typography .header-top-highlighted__section :-moz-placeholder {
  color: #fff;
}
.region--light-typography .header-top-highlighted__section ::-moz-placeholder {
  color: #fff;
}
.region--light-typography .header-top-highlighted__section :-ms-input-placeholder {
  color: #fff;
}

@media (max-width: 767px) {
  .header-top-highlighted__section .block-search-api-page {
    margin-bottom: 10px;
  }
}

/* Header top search bar */
.header-top__section input.form-search {
  border-width: 1px;
  background-color: transparent;
}
.header-top__section .block-search-api-page input.form-submit {
  padding: 0 30px;
  background-color: transparent;
}
.header-top__section .block.block-search-api-page .form-actions:after {
  right: 0;
  width: 60px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #fff;
  line-height: 50px;
}
.region--light-typography .header-top__section .block.block-search-api-page .form-actions:after {
  background-color: #fff;
}
.region--dark-typography .header-top__section input.form-search {
  border-color: #ccc;
}
.region--light-typography .header-top__section ::-webkit-input-placeholder {
  color: #fff;
}
.region--light-typography .header-top__section :-moz-placeholder {
  color: #fff;
}
.region--light-typography .header-top__section ::-moz-placeholder {
  color: #fff;
}
.region--light-typography .header-top__section :-ms-input-placeholder {
  color: #fff;
}

@media (max-width: 767px) {
  .slideout-mobile-menu-enabled .header-top__section .block-search-api-page {
    display: none;
  }
}

/* Navigation search bar */
.header__section .block-search-api-page {
  padding-top: 8px;
}

/* footer search bar */
.region-footer-first .block-search-api-page {
  display: none;
}

@media (max-width: 767px) {
  .region-footer-first .block-search-api-page {
    display: block;
    margin-bottom: 20px;
  }
  .region-footer-first .block-search-api-page form {
    width: 80%;
    margin: 0 auto;
  }
}
