@charset "UTF-8";
/*      Mobile Header
        ·············

        Chris
        June 12 2013

        Fits together the search and nav buttons, a link to the
        Vassar homepage, and the site title in a way that looks nice
        on mobile devices.

        ========================== */
.u-Search {
  overflow: hidden;
}

.u-Search__form {
  height: 3em;
  right: 3em;
  width: 100%;
  max-height: 3em;
  overflow: hidden;
}

.u-Search__form input {
  display: none;
}

.u-Search__field {
  background: #fff;
  border-radius: 0;
  color: #5d5956;
  padding: 0 1em;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.u-Search__submit {
  background: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
  right: 0;
  width: auto;
}

.ac-NavAnchor--menu,
.u-Search__button {
  position: absolute;
  right: 4%;
  top: 7px;
  z-index: 2;
  padding: 0 2%;
}

.ac-NavAnchor--menu {
  font-size: 1.6em;
  right: 12%;
}

.ac-NavAnchor--menu:hover {
  border-bottom: none;
}

#search:target {
  padding: 0;
}

#search:target.u-Search__form {
  background: #292828;
  border-bottom: 1em solid #292828;
  border-top: 1em solid #292828;
  height: 75px;
  left: 0;
  max-height: 75px;
  position: fixed;
  top: 0;
  visibility: visible;
  width: 100%;
  z-index: 999;
}

#search:target.u-Search__form input {
  display: block;
}

#search:target.u-Search__form .u-Search__field {
  background: #fff;
  -webkit-border-radius: 0;
  border-radius: 0;
  color: #5d5956;
  font-size: 1.3em;
  font-style: italic;
  margin-left: 5%;
  width: 65%;
}

#search:target.u-Search__form .u-Search__submit {
  background: #c60751;
  border-left: .2em solid #292828;
  -webkit-border-radius: 0;
  border-radius: 0;
  font-size: 1.6em;
  height: 100%;
  right: 15%;
  width: auto;
}

#search:target.u-Search__form .u-Search__cancel {
  display: block;
  color: #fff;
}

@media all and (min-width: 42em) {
  .ac-NavAnchor {
    display: none;
    visibility: hidden;
  }

  #search,
  .u-Search__form {
    padding: 0;
  }
}
@media all and (min-width: 50em) {
  .u-Search {
    right: 4%;
    top: 0;
    position: absolute;
    width: 32%;
  }

  #search:target {
    position: static;
    width: auto;
    *position: absolute;
  }

  #search:target.u-Search__form {
    max-height: 0;
  }

  .u-Search__button,
  .u-Search__cancel {
    display: none;
    visibility: hidden;
  }

  .u-Search__form input {
    display: block;
  }

  .u-Search__field {
    box-shadow: none;
    border: 0;
    font-size: 1.1em;
    height: 100%;
    width: 70%;
  }

  .u-Search__submit {
    background: #feffff;
    /* Old browsers */
    background: -moz-linear-gradient(top, #feffff 0%, #d2d2d2 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #feffff), color-stop(100%, #d2d2d2));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #feffff 0%, #d2d2d2 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #feffff 0%, #d2d2d2 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #feffff 0%, #d2d2d2 100%);
    /* IE10+ */
    background: linear-gradient(to bottom, #feffff 0%, #d2d2d2 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#feffff', endColorstr='#d2d2d2',GradientType=0 );
    /* IE6-9 */
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #c60751;
    font-size: 1.3em;
    height: 1.8em;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-weight: bold;
    height: auto !important;
    padding: .35em .45em;
    position: absolute;
    right: 1.5%;
    text-shadow: 1px 1px 0 #fff;
    top: .3em;
    background: none;
    border: none !important;
  }

  .u-Search__submit:focus {
    position: absolute;
  }

  .u-Search__form:hover {
    border-bottom-color: #000;
    border-bottom-color: #ccc;
  }

  .u-Search__form:hover .u-Search__field {
    box-shadow: none;
  }

  .u-Search__field:active,
  .u-Search__field:focus {
    box-shadow: none !important;
  }

  .u-Search__form .u-Search__submit:hover {
    opacity: 1;
  }

  .u-Search__form {
    width: 30%;
    height: 2.6em;
  }

  .u-Search__form .u-Search__field {
    width: 78%;
  }

  #search,
  .u-Search__form {
    border: none;
    margin-top: .4em;
    background: #eee;
  }

  .u-Search__field,
  .u-Search__field:hover,
  .u-Search__field:focus {
    background: none;
  }

  /* xxxxx */
}
@media all and (min-width: 66em) {
  .u-Search__form .u-Search__field {
    width: 80%;
  }

  .u-Search__submit {
    font-size: 1.5em;
    right: 0;
    top: 0;
    bottom: 0;
    line-height: 1.5em;
  }

  .u-Search__submit:hover {
    background: none;
    color: #000;
  }
}
@media screen and (min-width: 70em) {
  #search {
    background-color: transparent;
    /*			margin-top:1px; */
    margin-top: 0;
    max-height: 100%;
    overflow: visible;
    position: static;
  }

  .u-Search__form {
    background: #fff;
    /*			border-top:1px solid #cacaca;
    			border-bottom:4px solid #242424; */
    background: #eee;
    height: 2.5em;
    max-height: 2.75em;
    position: absolute;
    /*			margin: .5em;
    			margin-left: 0;
    			top:1px;*/
    top: 0;
    visibility: visible;
    width: 40%;
  }

  .u-Search__form {
    height: 53px;
    max-height: 53px;
    padding: .75em 0 0;
    top: 166px;
    width: 27.55%;
  }

  #search,
  .u-Search {
    top: 146px;
  }

  .u-Search {
    background: #fff;
    width: 27.55%;
  }

  .u-Search__form .u-Search__field {
    width: 77%;
  }

  .u-Search__submit {
    font-size: 1.5em;
    right: 1em;
  }

  #search,
  .u-Search__form {
    border: 6px solid #ddd;
  }
}
