html {
  /* fix fat fonts in Chrome */
  -webkit-font-smoothing: antialiased;
}
body {
  padding: 0;
  font-family: Vaud, sans-serif;
  font-size: 14px;
}
body a,
body a:visited {
  color: #ff6e1e;
  text-decoration: none;
}

body a:hover {
  text-decoration: underline;
}
/********************************
 RIBBON
*********************************/
div#ribbon {
  height: 30px;
  background-color: #696b73;
}
div#ribbon-content {
  height: 100%;
  width: 1000px;
  margin: auto;
  position: relative;
}

#ribbon #search-control {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translatey(-50%);
  -webkit-transform: translatey(-50%);
  height: 100%;
  cursor: pointer;
  line-height: 30px;
  color: white;
}
#ribbon #search-control .search-icon {
  width: 15px;
}

#breadcrumbs {
  padding-top: 6px;
  color: #ccc;
  font-family: VaudMedium, sans-serif;
  font-size: 11px;
  line-height: 18px;
}
#breadcrumbs a,
#breadcrumbs a:visited {
  color: #ccc;
}
#breadcrumbs a:hover {
  text-decoration: underline;
}
#breadcrumbs > span {
  color: #ffffff;
}

div#skip {
  position: absolute;
  top: 33px;
  left: 0;
  /* hide the link skip to main content stuff */
}
div#skip a,
div#skip a:hover,
div#skip a:visited {
  position: absolute;
  left: 0px;
  top: -500px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
div#skip a:active,
div#skip a:focus {
  position: static;
  width: auto;
  height: auto;
}


/********************************
 HEADER
*********************************/
#container,
#breadcrumbs {
  width: 1000px;
  margin: auto;
}
header {
  height: 105px;
  position: relative;
}
#logo {
  position: absolute;
  bottom: 35px;
}
#caltech_homepage {
  position: absolute;
  bottom: 35px;
  left: 0;
  display: block;
  width: 170px;
}
#caltech_homepage img {
  width: 100%;
}

#sitename {
  position: absolute;
  left: 190px;
  bottom: 29px;
  width: 360px;
}

#sitename a {
  font-family: LTCCaslonLong, serif;
  font-size: 22px;
  color: black;
  letter-spacing: 0.5px;
}

div.message {
  color: red;
}
form.search {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #696b73;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  padding: 0 10px 10px 10px;
  opacity: 0;
  display: none;
  z-index: 500;
}
form.search.visible {
  display: block;
}
form.search input {
  box-sizing: border-box;
}
form.search .search-keys {
  height: 30px;
  width: 225px;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: -1px;
  border: 2px solid #cfcfcf;
}
form.search .search-submit {
  height: 31px;
  border-radius: 0;
  background-color: buttonface;
}

/********************************
 CONTENT
*********************************/
#content {
  background: #ffffff;
  padding-bottom: 25px;
  font-size: 14px;
}
footer {
  width: 100%;
  font-size: 13px;
  color: #EEE;
  line-height: 1.4em;
  background-color: #696b73;
  /* position: fixed; */
  bottom: 0;
  height: 55px;
  font-family: VaudMedium, sans-serif;
  z-index: 500;
}
footer #footer-content {
  width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}
footer a,
footer a:visited {
  color: #BBB;
  text-decoration: underline;
}
#contact-boilerplate {
    padding-top: 20px;
    text-align: center;
}
#boilerplate-content #cb-name {
  position: absolute;
  top: 10px;
  left: 0;
  color: #ff8f51;
  text-decoration: none;
}
#boilerplate-content #cb-address {
  position: absolute;
  top: 10px;
  right: 0;
}
#boilerplate-content #cb-copyright {
  position: absolute;
  top: 28px;
  left: 0;
}
/*** clearfix ***/
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
/* navigation */
.menu ul {
  padding: 0;
  margin: 0;
}
.menu ul#primary {
  font-family: KievitSlabMedium, Times, serif;
  font-size: 0;
}
.menu ul#primary li.nav_1 {
  display: inline-block;
  line-height: 38px;
  font-size: 20px;
  background-image: url('../images/menu-pointer-1px.png');
  background-repeat: repeat-x;
  background-position: bottom;
  padding: 0 10px 9px 10px;
}
.menu ul#primary li.nav_1:first-child {
  padding-left: 0;
}
.menu ul#primary li.nav_1 a,
.menu ul#primary li.nav_1 a:visited,
.menu ul#primary li.nav_1 a:hover {
  color: #696b73;
  white-space: nowrap;
}
.menu ul#primary li.nav_1.active {
  color: #ffffff;
  background-image: url('../images/menu-pointer-tall.png');
  background-repeat: no-repeat;
}
.menu ul#secondary {
  font-size: 1em;
  padding-left: 20px;
  background-color: #76777b;
  color: #ffffff;
}
.menu ul#secondary li.nav_2 {
  display: inline-block;
  white-space: nowrap;
  line-height: 34px;
  padding-right: 0.7em;
  padding-left: 0.4em;
  background: transparent url('../images/submenu-spacer.png') no-repeat right center;
}
.menu ul#secondary li.nav_2:last-child {
  background: none;
}
.menu ul#secondary li.nav_2 a,
.menu ul#secondary li.nav_2:visited {
  color: #ffffff;
}
.menu ul#secondary li.nav_2 span.active {
  font-weight: bold;
}
.menu ul#secondary li.nav_2 a:hover {
  border-bottom: 10px #76777b solid;
  border-radius: 3px;
  text-decoration: none;
}
.menu ul#tertiary {
  font-size: 1em;
  padding-left: 20px;
  background-color: #c8c8c8;
  color: #000000;
}
.menu ul#tertiary li.nav_3 {
  display: inline-block;
  white-space: nowrap;
  line-height: 34px;
  padding-right: 0.7em;
  padding-left: 0.4em;
  background: transparent url('../images/submenu-spacer-dark.png') no-repeat right center;
}
.menu ul#tertiary li.nav_3:last-child {
  background: none;
}
.menu ul#tertiary li.nav_3 a,
.menu ul#tertiary li.nav_3 a:visited {
  color: #000000;
}
.menu ul#tertiary li.nav_3 span.active {
  font-weight: bold;
}
.menu ul#tertiary li.nav_3 a:hover {
  border-bottom: 10px #c8c8c8 solid;
  border-radius: 3px;
  text-decoration: none;
}
