* {
  box-sizing: inherit;
  transition: all 400ms;
}
html {
  box-sizing: border-box;
}
body {
  font-family: Helvetica, Arial, Sans-serif;
}
.clear {clear:both;}

.search-wrapper {
  position: relative;
  font-size: 1.5rem;
  line-height: 3rem;
}
.search-wrapper label {
  position: absolute;
  left: 2rem;
  display: inline-block;
  line-height: 3rem;
}
.search-wrapper input {
  padding: .5rem;
  padding-left: 3rem;
  padding-right: 3rem;
  border-radius: 1.5rem;
  height: 3rem;
  font-size: 1.25rem;
  line-height: 3rem;
  display: block;
  width: 100%;
  background-image: none;
  border: 1px solid currentColor;
  outline: 0;
  -moz-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
      user-select: none;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}
#courseList > li {
  padding: 0.75em;
  font-size: .8rem;
}
#courseList li:nth-child(odd) {
  background-color: rgba(0, 0, 0, .05);
}
#courseList > li:hover {
  background-color: rgba(250,250,250,.9);
  cursor: pointer;
}
#courseList p,
.head p {
  margin-top: 0;
  margin-bottom: 0;
}

/** flexbox holygrail layout? **/
/**
 * 1. Avoid the IE 10-11 `min-height` bug.
 * 2. Set `flex-shrink` to `0` to prevent some browsers from
 *    letting these items shrink to smaller than their content's default
 *    minimum size. See http://bit.ly/1Mn35US for details.
 * 3. Use `%` instead of `vh` since `vh` is buggy in older mobile Safari.
 */

.HolyGrail {
  display: flex;
  height: 100%; /* 1, 3 */
  flex-direction: column;
}

.HolyGrail-header,
.HolyGrail-footer {
  flex: none; /* 2 */
}

.HolyGrail-body {
  display: flex;
  flex: 1 0 auto; /* 2 */
  flex-direction: column;
}

.HolyGrail-filters {
  order: -1;
}

@media ( min-width: 768px ) {
  .HolyGrail-body {
    flex-direction: row;
    min-height: 100vh;
  }
  .HolyGrail-content {
    flex: 1;
    min-height: 100vh;
  }
  .HolyGrail-filters {
    flex: 0 0 20%;
    order: -1;
  }
}

/** fancy styling of the courses themselves **/
h2.courseTitle {
  font-size: 1.1rem;
  margin-top: .5rem;
  margin-bottom: 0;
}
.courseCode.btn {
  min-width: 100px;
  text-align: center;
  margin-right: 1rem;
}

.btn.UGRD {
  color: forestgreen;
}
.btn.GRAD {
  color: darkcyan;
}
.btn.POST {
  color: goldenrod;
}
.btn.MPS {
  color: crimson;
}
