/* Override Menu CSS */
html body h1 {
  line-height: normal;
}
/* End Override Menu CSS */

html,
body {
  background-color: #efefef;
  -webkit-font-smoothing: antialiased;
  font-family: 'Crete Round', serif;
}
a,
a:visited {
  color: #ee6609;
}
a:hover,
a:focus {
  color: #bd5107;
}
body {
  font-size: 150%;
  color: #2e2d2c;
}
@media screen and (max-width: 1000px) {
  body {
    font-size: 130%;
  }
}
@media screen and (max-width: 769px) {
  body {
    font-size: 110%;
  }
}
@media screen and (max-width: 641px) {
  body {
    font-size: 100%;
  }
}
.menu-link {
  position: fixed;
  display: inline-block;
  top: 1em;
  left: 1em;
  z-index: 10;
  height: 24px;
  width: 27px;
}
.menu-link .menu-icon {
  display: inline-block;
  background-color: #fff;
  width: 27px;
  height: 4px;
  border-radius: 2px;
  position: absolute;
}
.menu-link .menu-icon:before,
.menu-link .menu-icon:after {
  content: '';
  display: inline-block;
  background-color: #fff;
  position: absolute;
  width: 27px;
  height: 4px;
  border-radius: 2px;
  top: 8px;
}
.menu-link .menu-icon:after {
  top: 16px;
}
nav.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: calc(2em + 27px);
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: -ms-flex;
  display: flex;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  -webkit-align-content: center;
  -moz-align-content: center;
  -ms-align-content: center;
  align-content: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -webkit-transition: -webkit-transform 200ms ease;
  -moz-transition: -moz-transform 200ms ease;
  -ms-transition: -ms-transform 200ms ease;
  -o-transition: -o-transform 200ms ease;
  -webkit-transform: translate(-100%, 0);
  -moz-transform: translate(-100%, 0);
  -ms-transform: translate(-100%, 0);
  -o-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
}
body.nav-show nav.main-nav {
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
nav.main-nav .icons {
  display: inline-block;
}
nav.main-nav .icons .nav-icon {
  display: block;
  cursor: pointer;
  margin: 2em auto;
}
nav.main-nav .icons .nav-icon.selected {
  color: #ee6609;
  -webkit-filter: brightness(64%) sepia(100%);
}
nav.main-nav .icons .nav-icon:last-child {
  margin-top: 1.5em;
}
nav.main-nav .icons .nav-icon.icon-beer {
  right: -0.1em;
  position: relative;
}
@media screen and (max-width: 641px) {
  nav.main-nav .icons .nav-icon {
    margin: 1.3em auto;
  }
  nav.main-nav .icons .nav-icon:first-child {
    margin-top: 3em;
  }
  nav.main-nav .icons .nav-icon:last-child {
    margin-top: 1.5em;
  }
}
.hero {
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: -ms-flex;
  display: flex;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  -webkit-align-content: center;
  -moz-align-content: center;
  -ms-align-content: center;
  align-content: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
  height: 100vh;
}
.hero .hero-heading {
  color: #efefef;
  padding: 20px 40px 30px;
  padding: 0.9em 1.5em 1em;
  border: 2px solid #fff;
  display: inline-block;
  width: auto;
  cursor: pointer;
}
.hero .hero-heading h5 {
  font-family: 'Josefin Slab', serif;
  font-size: 1.35em;
  font-style: italic;
  letter-spacing: 0.1em;
  line-height: 1.75em;
  font-weight: 100;
}
.hero .hero-heading h1 {
  font-family: 'Fjalla One', sans-serif;
  font-size: 3.25em;
  text-transform: uppercase;
  text-shadow: -3px 3px 0px rgba(169, 169, 169, 0.5);
  letter-spacing: 0.1em;
  padding-left: 0.10em;
  line-height: 1.15em;
  font-weight: 100;
}
.hero .hero-heading h1,
.hero .hero-heading h2,
.hero .hero-heading h3,
.hero .hero-heading h4,
.hero .hero-heading h5,
.hero .hero-heading h6,
.hero .hero-heading p {
  margin: 0px;
}
.arrow {
  position: absolute;
  bottom: 3%;
  display: block;
  cursor: pointer;
  left: 50%;
  margin-left: -15px;
  height: 20px;
  width: 30px;
  background-image: url('../img/assets/arrow.png');
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.65;
}
.page-content {
  max-width: 30em;
  padding: 4em 3em;
  margin: 0 auto;
}
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  font-weight: 100;
  text-align: center;
}
.page-content h1 {
  font-size: 3em;
}
.page-content h1:first-child {
  margin-top: 0px;
}
.page-content h2:first-child {
  margin-top: 0px;
}
.page-content p {
  font-family: 'Roboto Slab', serif;
}
@media screen and (max-width: 480px) {
  .page-content p {
    text-align: justify;
  }
}
.site-footer {
  font-weight: 300;
  font-size: 0.8em;
  padding: 30px 50px;
  color: #fff;
  background: #ff8829;
  text-align: center;
}
.site-footer a,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active {
  color: #fff;
}
/*

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~  Specific Pages ~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

*/
.page-home .hero {
  background-image: url(../img/bg/bg-home.jpg);
  background-position: center;
}
.page-home .hamilton-logo {
  display: block;
  position: absolute;
  left: 3em;
  right: 3em;
  bottom: 2em;
  width: 75%;
  left: 12.5%;
}
.page-home .hamilton-logo img {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}
@media screen and (max-width: 1000px) {
  .page-home .hamilton-logo {
    bottom: 4em;
  }
}
@media screen and (max-width: 769px) {
  .page-home .hamilton-logo {
    bottom: 5em;
  }
}
@media screen and (max-width: 641px) {
  .page-home .hamilton-logo {
    bottom: 6em;
  }
}
.page-home .hours-wrapper {
  text-align: center;
}
.page-home .hours-wrapper table.hours {
  text-align: left;
  display: inline-block;
  margin: 0 auto;
}
.page-home .hours-wrapper table.hours tr td {
  font-weight: 400;
  font-family: 'Roboto Slab', serif;
  line-height: 1.7em;
}
@media screen and (max-width: 480px) {
  .page-home .hours-wrapper table.hours tr td {
    font-size: 90%;
  }
}
.page-home .hours-wrapper table.hours tr td:last-child {
  padding-left: 1em;
  white-space: nowrap;
  text-align: center;
}
.page-home .hours-wrapper table.hours tr td:last-child .open {
  float: left;
  margin-right: 4px;
}
.page-home .hours-wrapper table.hours tr td:last-child .close {
  float: right;
  margin-left: 4px;
}
.page-beers .hero {
  background-image: url(../img/bg/bg-beers.jpg);
}
.page-beers .page-content .beers {
  width: 40em;
  margin: 0 auto;
  max-width: 100%;
}
.page-beers .page-content .beers .beers-heading {
  margin: 1em 0 2em;
}
.page-beers .page-content .beers .beer {
  margin-bottom: 3em;
}
.page-beers .page-content .beers .beer img {
  float: left;
  border-radius: 100%;
  overflow: hidden;
  width: 20%;
  margin-right: 5%;
}
.page-beers .page-content .beers .beer h2 {
  text-align: left;
  margin-left: 25%;
  padding: 0;
  font-family: 'Roboto Slab', serif;
  font-weight: 300;
}
.page-beers .page-content .beers .beer h2 .metrics {
  font-size: 0.5em;
  line-height: 2em;
  font-weight: 300;
}
.page-beers .page-content .beers .beer p {
  margin-left: 25%;
}
@media screen and (max-width: 769px) {
  .page-beers .page-content .beers .beer img {
    float: none;
    display: block;
    margin: 0 auto 2em;
    width: 65%;
  }
  .page-beers .page-content .beers .beer h2 {
    text-align: center;
  }
  .page-beers .page-content .beers .beer h2,
  .page-beers .page-content .beers .beer p {
    margin-left: 0;
  }
}
@media screen and (max-width: 480px) {
  .page-beers .page-content .beers .beer img {
    width: 75%;
  }
  .page-beers .page-content .beers .beer h2 small {
    display: block;
  }
}

/* Third party menu */
.page-beers .page-content .menu-header,
.page-beers .page-content .menu-nav,
.page-beers .page-content .menu-info {
  display: none;
}

.page-location .hero {
  background-image: url(../img/bg/bg-location.jpg);
}
@media screen and (min-width: 481px) {
  .page-location .address,
  .page-location .address:visited,
  .page-location .address:hover,
  .page-location .address:active {
    color: #fff;
    cursor: text;
    color: #2e2d2c;
    text-decoration: none;
  }
}
.page-location .page-content {
  text-align: center;
}
@media screen and (max-width: 480px) {
  .page-location .page-content p {
    text-align: center;
  }
}
.page-location .page-content #map_canvas {
  width: 100%;
  height: 400px;
}
@media screen and (max-width: 480px) {
  .page-location .page-content #map_canvas {
    height: 200px;
    width: 100%;
    background-image: url('https://maps.googleapis.com/maps/api/staticmap?center=34.088292,-117.591936&zoom=14&size=320x200&markers=color:red%7C34.088039,-117.591893');
    background-position: 50% 50%;
    background-repeat: no-repeat;
  }
}
.page-about .hero {
  background-image: url(../img/bg/bg-about.jpg);
}
.page-about .page-content img {
  display: block;
  margin: 3em auto;
  border-radius: 100%;
  overflow: hidden;
  width: 75%;
}
.page-contact .hero {
  background-image: url(../img/bg/bg-contact.jpg);
}
.page-contact .page-content .email {
  display: block;
  text-align: center;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.slide-up {
  animation: slide-up 500ms ease;
}

@-webkit-keyframes slide-up {
    0% {top: 100%;}
    100% {top: 0;}
}

/* Standard syntax */
@keyframes slide-up {
    0% {top: 100%;}
    100% {top: 0;}
}
