/**
 * @file
 * Generic global styling
 */

/* fonts */
html {
  -webkit-font-smoothing:antialiased;
  margin-top:0!important;
  background: #fff;
  box-sizing: border-box;
}
*, *::after, *::before {
  box-sizing: inherit;
}
body {
  background: #f7f5f0;
  color: #1e1e1e;
  font-family: "Whitney A", "Whitney B", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.25;
  margin:0;
  padding:0;
  -webkit-font-smoothing:antialiased;
  text-rendering: optimizeLegibility;
}

#container {
  overflow: visible;
}
.path-frontpage #container,
.ajax-progress {
  display: none;
}

/* links */
#page a {
  color: inherit;
  text-decoration: none;
}

/*images*/
#page img {
  max-width: 100%;
  height: auto;
}

/* headings */
#page h1,
#page h2,
#page h3,
#page h4,
#page h5,
#page h6 {
  font-family: "Whitney A", "Whitney B", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 0.5em;
}
#page h1 {
  font-size: 4.5em;
}
#page h2 {
  font-size: 1.125em;
}
#page h3 {
  font-size: 2em;
}
#page h4 {
  font-size: 1.5em;
}
#page h5 {
  font-size: 1em;
  line-height: 1.25;
}
#page h6 {
  font-size: .9375em;
}
#page p {
  margin: 0 0 0.5em;
}
@media only screen and (max-width: 68em) {
  #page h1 {
    font-size: 4em;
  }
}
@media only screen and (max-width: 48em) {
  #page h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
  }
}
