.search-form,
.search-form.annual-event {
  position: relative;
}

@media (min-width: 50em) {
  .search-form,
  .search-form.annual-event {
    width: auto;
    height: auto;
    border-bottom: 0;
    clear: both;
  }
}

.search-form .form-submit,
.search-form .form-item__label,
.search-form.annual-event .form-submit,
.search-form.annual-event .form-item__label {
  position: relative;
  top: -999rem;
  height: 1px;
}

.search-form__form {
  position: absolute;
  top: 50px;
  float: right;
  width: 100%;
  height: 60px;
  z-index: 100;
  display: none;
  /* IE10+ specific styles go here */
}

@media (min-width: 50em) {
  .search-form__form {
    position: relative;
    top: 0;
    width: 16rem;
    height: 35px;
    display: block;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .search-form__form {
    height: 0;
    top: -55px;
  }
}

.search-form__form .form-item {
  margin: 0;
  width: 100%;
}

@media (min-width: 50em) {
  .search-form__form .form-item {
    width: 16rem;
  }
}

.search-form__form .form-actions {
  display: none;
}

.search-form__form .form-text {
  position: relative;
  top: 9px;
  width: 100%;
  height: 60px;
  padding: 0 10px;
  z-index: 10;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background-color: #27415f;
  color: #e4e5ec;
}

@media (min-width: 50em) {
  .search-form__form .form-text {
    position: absolute;
    top: -5px;
    right: 0;
    width: 0;
    height: 35px;
    padding-right: 1rem;
    border: 0;
    border-bottom: 2px solid #173353;
    color: #6f7586;
    background-color: transparent;
  }
  .path-frontpage .search-form__form .form-text,
  .annual-event .search-form__form .form-text {
    border-bottom: 2px solid #fff;
    color: #fff;
  }
  .annual-event .search-form__form .form-text {
    top: 10px;
  }
}

.search-form__form .form-text.open {
  padding-left: .3rem;
  padding-right: 1.5rem;
}

@media (min-width: 50em) {
  .search-form__form .form-text.open {
    width: 16rem;
  }
}

.search-form__form .form-text:focus {
  border-width: 0 0 2px;
}

.search-form__trigger {
  float: left;
  height: 60px;
  width: 20%;
  padding: 1rem 1.5rem;
  z-index: 101;
  cursor: pointer;
  /* IE10+ specific styles go here */
}

@media (min-width: 50em) {
  .search-form__trigger {
    position: absolute;
    top: -5px;
    right: 0;
    float: none;
    height: 1.9rem;
    width: auto;
    padding: 0;
  }
  .annual-event .search-form__trigger {
    top: 10px;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .search-form__trigger {
    top: -55px;
  }
}

.search-form__trigger:hover, .search-form__trigger:focus, .search-form__trigger--opened {
  background-color: #1764e2;
  color: #fff;
}

@media (min-width: 50em) {
  .search-form__trigger:hover, .search-form__trigger:focus, .search-form__trigger--opened {
    background-color: transparent;
    color: #1764e2;
  }
}

.search-form__trigger:hover .search-form__svg > *, .search-form__trigger:focus .search-form__svg > *, .search-form__trigger--opened .search-form__svg > * {
  stroke: #173353;
  opacity: .7;
  transition: opacity 0.2s;
}

.annual-event .search-form__trigger:hover .search-form__svg > *, .annual-event .search-form__trigger:focus .search-form__svg > *, .annual-event .search-form__trigger--opened .search-form__svg > * {
  stroke: #1764e2;
}

.path-frontpage .search-form__trigger:hover .search-form__svg > *, .path-frontpage .search-form__trigger:focus .search-form__svg > *, .path-frontpage .search-form__trigger--opened .search-form__svg > * {
  opacity: 1;
  transition: opacity 0.2s;
}

.search-form__svg {
  height: 30px;
  /* IE10+ specific styles go here */
}

@media (min-width: 50em) {
  .search-form__svg {
    height: 27px;
    margin-left: 11px;
  }
  .ie .search-form__svg {
    margin-left: 12px;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .search-form__svg {
    position: absolute;
    right: 0;
  }
}

.search-form.open .search-form__svg {
  height: 0;
}

.search-form__svg > * {
  stroke: #fff;
}

@media (min-width: 50em) {
  .search-form__svg > * {
    stroke: #173353;
  }
  .annual-event .search-form__svg > * {
    stroke: #fff;
  }
}

.path-frontpage .search-form__svg > * {
  stroke: #fff;
}

.search-form__cross {
  position: relative;
  left: .5rem;
  width: 2rem;
  height: 2rem;
  overflow: hidden;
  /* IE10+ specific styles go here */
}

@media (min-width: 50em) {
  .search-form__cross {
    top: -34px;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .search-form__cross {
    top: -15px;
    right: 0;
  }
}

.search-form__line {
  display: block;
  position: absolute;
  left: 0;
  height: 3px;
  width: 3px;
  margin-right: 1rem;
  opacity: 1;
  background: #173353;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  transition: height .3s, opacity .2s;
}

.path-frontpage .search-form__line,
.annual-event .search-form__line {
  background: #fff;
}

.search-form.open .search-form__line {
  height: 1.4rem;
}

.search-form__line--top {
  top: 20px;
  left: 13px;
  opacity: 0;
  -webkit-transform-origin: center center;
          transform-origin: center center;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.search-form.open .search-form__line--top {
  top: 12px;
  left: 13px;
  opacity: 1;
}

.search-form__line--bottom {
  top: 20px;
  left: 13px;
  opacity: 0;
  -webkit-transform-origin: center center;
          transform-origin: center center;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.search-form.open .search-form__line--bottom {
  top: 12px;
  left: 13px;
  opacity: 1;
}

.search-form.annual-event,
.annual-event.search-form {
  width: 16rem;
  height: 50px;
  display: none;
}

.search-form.annual-event .search-form__svg > *,
.annual-event.search-form .search-form__svg > * {
  stroke: #ffffff;
}

@media (min-width: 50em) {
  .search-form.annual-event,
  .annual-event.search-form {
    display: block;
  }
}
