/*
Theme Name: Almanac Beer v3
Author: Chris Mears
Author URI: http://www.chrisjmears.com
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: foundation
Description: Theme for Almanac Beer Company. Design by Damian Fagan. Utilizes the Foundation framework by Zurb. Implemented November 30, 2013.
*/

/* Artfully masterminded by ZURB  */

/* --------------------------------------------------
   Table of Contents
-----------------------------------------------------
:: Images
:: Posts
:: Typography
:: Header
:: Shared Styles
:: Page Name 1
:: Page Name 2
*/

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

html,
body {
  font-size: 100%; }

body {
  padding: 0;
  margin: 0;
  position: relative;
  -webkit-font-smoothing: antialiased; }

a:hover {
  cursor: pointer; }

img,
object,
embed {
  max-width: 100%;
  height: auto; }

object,
embed {
  height: 100%; }

img {
  -ms-interpolation-mode: bicubic; }

.text-left {
  text-align: left !important; }

.text-right {
  text-align: right !important; }

.text-center {
  text-align: center !important; }

.text-justify {
  text-align: justify !important; }

.hide {
  display: none; }

.antialiased {
  -webkit-font-smoothing: antialiased; }

a {
  color: black;
}
a:visited { color: #333; }

img {
  display: inline-block;
  vertical-align: middle; }

img.leftalign{
  padding-right:20px;
}
img.rightalign{
  padding-left:20px;
}
textarea {
  height: auto;
  min-height: 50px; }

select {
  width: 100%; }

/* Need to override the default */
@media screen and (max-width: 600px) {

  #wpadminbar {
    position: fixed !important;
  }

}

/* -----------------------------------------
   Images
----------------------------------------- */

.widget img {
    max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"] {
    height: auto; /* Make sure images with WordPress-added height and width >attributes are scaled correctly */
}
img.size-full {
    max-width: 97.5%;
    width: auto; /* Prevent stretching of full-size images with height and >>width attributes in IE8 */
}

.wp-caption { max-width: 100%; }

/* -----------------------------------------
   Posts
----------------------------------------- */

.author-box h5 {margin-top:0px;}
.author-box .author_gravatar {margin-right:10px;}
.author-box p {font-size:14px; font-size:1.4em;}

article .th {margin-bottom:10px; margin-bottom:1em;}

.alignleft {float:left;}
.alignright {float:right;}
.aligncenter {margin:0 auto;text-align:center;}

/* -----------------------------------------
   Typography
----------------------------------------- */

body,h1,h2,h3,h4,h5,h6,p {font-family: "museo-slab", sans-serif;}
h1,h2,h3,h4,h5,h6,a:link {font-weight:700;}

.site-title .subheader {margin-bottom:0;}

/* -----------------------------------------
   Header
----------------------------------------- */

.site-header {border-bottom:1px solid #ddd;padding:1.5rem 0 1rem 0;margin:-1.875em 0 1.875em 0;}
.sidebar ul li {list-style:none;}
.top-bar-section ul li>a {border-left:1px solid #333;border-right:none;}

/* -----------------------------------------
   Shared Styles
----------------------------------------- */
fieldset { border: 0; margin: 0; padding: 0; }

ul {
  line-height: 1.25;
}

body {
  background-color: #000;
  background: #000 url(img/barrel-background.jpg) no-repeat top center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.container.row {
  margin-top: 100px;
}

.container .columns .row {
  padding: 0 20px;
}

.content {
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.6);
  padding-top: 20px;
}

.supplemental {
  color: #fff;
}

.supplemental a {
  color: #fff;
  text-decoration: none;
}

.supplemental .logo-stamp {
  position: relative;
  left: -30px;
}

.supplemental .logo-stamp img {
  max-width: 180px;
}

.main-menu .menu-list .menu-item a {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
}

.main-menu .menu-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.content .page,
.content .post {
  padding: 0 15px;
}

.page-content {
  border: 15px solid #6f5743;
  background-color: #fff;
  overflow: hidden;
  padding: 15px;
}

.footer .columns {
  margin-top: 40px;
}

.proudly-brewed-in-ca,
.social,
.social-container,
.newsletter,
.almanac-beer-logo {
  float: left;
}

.proudly-brewed-in-ca {
  margin-left: 15px;
}

.social,
.almanac-beer-logo {
  margin-left: 30px;
}

.social-container {
  margin: 0 auto;
}

.newsletter,
.social-container {
  margin-top: 20px;
}

.social .icon {
  display: block;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: center center;
  text-indent: -9999em;
  float: left;
  margin-right: 5px;
}

.social .icon.facebook {
  background-image: url(img/facebook-icon.png);
  margin-right: 20px;
}
.social .icon.twitter { background-image: url(img/twitter-icon.png); }

.social #mc_embed_signup {
  width: 260px;
  float: left;
}

#mce-responses .response {
  background-color:white;
  margin-top: 10px;
  border-radius: 3px;
  padding: 5px;
}

.comment-form textarea,
.comment-form input {
  width: 100%;
}

.social #mc_embed_signup .mc-field-group input[type=text] {
  background-image: url(img/input-text-bg.gif);
  border: none;
  border-radius: 5px 0 0 5px;
  outline: 0;
  padding: 0 10px;
  width: 215px;
  height: 32px;
  text-align: right;
  font-size: 16px;
  float:left;
}

.social #mc_embed_signup .mc-field-group input[type=submit] {
  background-image: url(img/send-button-sprite.png);
  background-position: 0 0;
  border-radius: 0 5px 5px 0;
  width: 41px;
  height: 32px;
  outline: 0;
  border: 0;
  display: block;
  text-indent: -9999em;
  float: left;
}
.ie7 .social #mc_embed_signup .mc-field-group input[type=submit] {
	font-size: 0;
	line-height: 0;
}
.social #mc_embed_signup .mc-field-group input[type=submit]:hover {
  background-position: 0 -32px;
}

.wp-caption-text {text-align: center;}
.sticky { }
.gallery-caption { }
.bypostauthor{ }
.site-content .gallery {
  margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-content .gallery a img {
  border: none;
  height: auto;
  max-width: 90%;
}
.site-content .gallery dd {
  margin: 0;
}
.site-content .gallery-columns-4 .gallery-item {
}
.site-content .gallery-columns-4 .gallery-item img {
}

embed,
iframe,
object {
  max-width: 100%;
}

/* -----------------------------------------
   Home page
----------------------------------------- */

h2.slogan {
  margin-bottom: 0px;
}
.slogan img {
  width: 100%;
}

.mission-statement {
  color: #6e6965;
  font-size: 38px;
  font-weight: 300;
  margin-bottom: 40px;
}

/* -----------------------------------------
   Page Specific Styles
----------------------------------------- */

.page-title {
  background-position: top left;
  background-repeat: no-repeat;
  display: block;
  height: 65px;
  text-indent: -9999em;
  width: 100%;
}

/* Our Beer */
.page-child .page-title,
.page-id-178 .page-title,
.parent-pageid-178 .page-title { background-image: url(img/our-beer-heading.png); }
.page-item-178 a, .menu-item-2017 a:hover { color: #f07d01; }

/* Blog */
.single .page-title,
.page-id-23 .page-title,
.parent-pageid-23 .page-title { background-image: url(img/blog-heading.png); }
.page-item-23 a,
.menu-item-2015 a:hover { color: #24b1c5; }

/* About Us */
.page-id-58 .page-title,
.parent-pageid-58 .page-title { background-image: url(img/about-us-heading.png); }
.page-item-58 a,
.menu-item-59 a:hover { color: #e6583c }

/* Events */
.page-id-1061 .page-title,
.parent-pageid-1061 .page-title { background-image: url(img/events-heading.png); }
.page-item-1061 a,
.menu-item-2023 a:hover { color: #b6a880; }

/* Where to Buy */
.page-id-1855 .page-title,
.parent-pageid-1855 .page-title { background-image: url(img/where-to-buy-heading.png); }
.page-item-1855 a,
.menu-item-2026 a:hover { color: #e2a81b; }

/* Gear */
.page-gear .page-title { background-image: url(img/gear-heading.png); }
.page-item-gear a,
.menu-item-839 a:hover { color: #83b13c; }

/* Contact */
.page-id-16 .page-title,
.parent-pageid-16 .page-title { background-image: url(img/about-us-heading.png); }
.page-item-16 a,
.menu-item-2016 a:hover { color: #e6583c; }

/* Taproom */
.page-id-4326 .page-title,
.parent-pageid-4326 .page-title { background-image: url(http://www.almanacbeer.com/wp-content/uploads/2016/12/taproom-heading.png); }
.page-item-16 a,
.menu-item-2016 a:hover { color: #e6583c; }

.page-id-4113 .page-content,
.page-id-4186 .page-content,
.page-id-4106 .page-content {
    background-color: black;
    color: white;
}

.page-id-4106 .wp-image-4162,
.page-id-4113 .wp-image-4163 {
    padding-bottom: 1em;
}

.menu-title {
  display: none;
}

.content .logo-stamp { display: none; }

/* -----------------------------------------
   Tablet
----------------------------------------- */

@media only screen and (max-width : 1023px) {
  .container.row {
    margin-top: 20px;
  }

  .supplemental .logo-stamp img {
    max-width: 130px;
  }

  .supplemental .logo-stamp {
    left: -20px;
  }

  .social {
    margin-left: 10px;
  }

  .social-container {
    height: 32px;
    width: 90px;
    margin: 10px auto;
  }

  .newsletter,
  .social-container {
    margin: 0 auto 10px auto;
    float: none;
  }

  .social #mc_embed_signup {
    float: none;
    margin: 0 auto;
  }

  .footer {
    margin-top: 10px;
  }

  .footer .columns {
    margin: 0;
  }

  .proudly-brewed-in-ca {
    display: none;
  }

  .almanac-beer-logo,
  .social {
    margin: 10px;
    float: none;
    text-align: center;
  }

  .supplemental .logo-stamp { display: block; }
}

/* -----------------------------------------
   Smartphone
----------------------------------------- */

@media only screen and (max-width : 767px) {
  .container.row {
    margin-top: 0;
  }

  .supplemental .logo-stamp,
  .logo-stamp { display: none; }

  .home .content .logo-stamp {
    display: block;
    position: absolute;
    top: 0;
    text-align: center;
    width: 100%;
    margin-left: -20px;
  }

  .home .logo-stamp img {
    width: auto;
    height: 150px;
  }

  .content {
    padding: 0;
  }

  .content .page {
    padding: 0;
  }

  .home .content .page {
    padding: 0 10px;
    margin-top: 150px;
  }

  .page-content {
    border: none;
    padding: 10px;
    margin-bottom: 15px;
  }

  .page-title {
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    background-position: center center;
    height: 40px;
    margin: 10px auto;
  }

  .main-menu {
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    z-index: 3;
  }

  .main-menu .menu {
    -webkit-transition: all 250ms ease-out;
    -moz-transition: all 250ms ease-out;
    -o-transition: all 250ms ease-out;
    transition: all 250ms ease-out;

    height: 0px;
    overflow: hidden;
  }

  .main-menu .menu.open {
    height: 384px;
  }

  .menu-title,
  .menu-item {
    font-size: 16px;
    display: block;
    color: #fff;
    padding: 10px;
    margin: 0;
  }

  .menu-title {
    background-color: #1d893b;
  }

  .menu-item {
    background-color: #3ba859;
  }

  .mission-statement {
    margin-bottom: 10px;
  }

  .supplemental {
    padding: 0 !important;
    margin: 0 !important;
  }

  .mission-statement {
    font-size: 32px;
  }

  .CleanContact {
    width: auto !important;
  }

  /* Override Foundation */

  .row .row {
    margin: 0 !important;
  }

  .column, .columns {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* -----------------------------------------
   Helper Classes
----------------------------------------- */

.group:before,
.group:after {
  content: " ";
  display: table;
}
.group:after { clear: both; }
.group { *zoom: 1; }

/* -----------------------------------------
   Zerb's Foundation Responsive Grid
----------------------------------------- */

/* Grid HTML Classes */
.row {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  max-width: 62.5em;
  *zoom: 1; }
  .row:before, .row:after {
    content: " ";
    display: table; }
  .row:after {
    clear: both; }
  .row.collapse > .column,
  .row.collapse > .columns {
    position: relative;
    padding-left: 0;
    padding-right: 0;
    float: left; }
  .row.collapse .row {
    margin-left: 0;
    margin-right: 0; }
  .row .row {
    width: auto;
    margin-left: -0.9375em;
    margin-right: -0.9375em;
    margin-top: 0;
    margin-bottom: 0;
    max-width: none;
    *zoom: 1; }
    .row .row:before, .row .row:after {
      content: " ";
      display: table; }
    .row .row:after {
      clear: both; }
    .row .row.collapse {
      width: auto;
      margin: 0;
      max-width: none;
      *zoom: 1; }
      .row .row.collapse:before, .row .row.collapse:after {
        content: " ";
        display: table; }
      .row .row.collapse:after {
        clear: both; }

.column,
.columns {
  position: relative;
  padding-left: 0.9375em;
  padding-right: 0.9375em;
  width: 100%;
  float: left; }

@media only screen {
  .column,
  .columns {
    position: relative;
    padding-left: 0.9375em;
    padding-right: 0.9375em;
    float: left; }

  .small-1 {
    position: relative;
    width: 8.33333%; }

  .small-2 {
    position: relative;
    width: 16.66667%; }

  .small-3 {
    position: relative;
    width: 25%; }

  .small-4 {
    position: relative;
    width: 33.33333%; }

  .small-5 {
    position: relative;
    width: 41.66667%; }

  .small-6 {
    position: relative;
    width: 50%; }

  .small-7 {
    position: relative;
    width: 58.33333%; }

  .small-8 {
    position: relative;
    width: 66.66667%; }

  .small-9 {
    position: relative;
    width: 75%; }

  .small-10 {
    position: relative;
    width: 83.33333%; }

  .small-11 {
    position: relative;
    width: 91.66667%; }

  .small-12 {
    position: relative;
    width: 100%; }

  .small-offset-0 {
    position: relative;
    margin-left: 0; }

  .small-offset-1 {
    position: relative;
    margin-left: 8.33333%; }

  .small-offset-2 {
    position: relative;
    margin-left: 16.66667%; }

  .small-offset-3 {
    position: relative;
    margin-left: 25%; }

  .small-offset-4 {
    position: relative;
    margin-left: 33.33333%; }

  .small-offset-5 {
    position: relative;
    margin-left: 41.66667%; }

  .small-offset-6 {
    position: relative;
    margin-left: 50%; }

  .small-offset-7 {
    position: relative;
    margin-left: 58.33333%; }

  .small-offset-8 {
    position: relative;
    margin-left: 66.66667%; }

  .small-offset-9 {
    position: relative;
    margin-left: 75%; }

  .small-offset-10 {
    position: relative;
    margin-left: 83.33333%; }

  [class*="column"] + [class*="column"]:last-child {
    float: right; }

  [class*="column"] + [class*="column"].end {
    float: left; }

  .column.small-centered,
  .columns.small-centered {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    float: none !important; }
}

/* Styles for screens that are atleast 768px; */
@media only screen and (min-width: 768px) {
  .large-1 {
    position: relative;
    width: 8.33333%; }

  .large-2 {
    position: relative;
    width: 16.66667%; }

  .large-3 {
    position: relative;
    width: 25%; }

  .large-4 {
    position: relative;
    width: 33.33333%; }

  .large-5 {
    position: relative;
    width: 41.66667%; }

  .large-6 {
    position: relative;
    width: 50%; }

  .large-7 {
    position: relative;
    width: 58.33333%; }

  .large-8 {
    position: relative;
    width: 66.66667%; }

  .large-9 {
    position: relative;
    width: 75%; }

  .large-10 {
    position: relative;
    width: 83.33333%; }

  .large-11 {
    position: relative;
    width: 91.66667%; }

  .large-12 {
    position: relative;
    width: 100%; }

  .row .large-offset-0 {
    position: relative;
    margin-left: 0; }

  .row .large-offset-1 {
    position: relative;
    margin-left: 8.33333%; }

  .row .large-offset-2 {
    position: relative;
    margin-left: 16.66667%; }

  .row .large-offset-3 {
    position: relative;
    margin-left: 25%; }

  .row .large-offset-4 {
    position: relative;
    margin-left: 33.33333%; }

  .row .large-offset-5 {
    position: relative;
    margin-left: 41.66667%; }

  .row .large-offset-6 {
    position: relative;
    margin-left: 50%; }

  .row .large-offset-7 {
    position: relative;
    margin-left: 58.33333%; }

  .row .large-offset-8 {
    position: relative;
    margin-left: 66.66667%; }

  .row .large-offset-9 {
    position: relative;
    margin-left: 75%; }

  .row .large-offset-10 {
    position: relative;
    margin-left: 83.33333%; }

  .row .large-offset-11 {
    position: relative;
    margin-left: 91.66667%; }

  .push-1 {
    position: relative;
    left: 8.33333%;
    right: auto; }

  .pull-1 {
    position: relative;
    right: 8.33333%;
    left: auto; }

  .push-2 {
    position: relative;
    left: 16.66667%;
    right: auto; }

  .pull-2 {
    position: relative;
    right: 16.66667%;
    left: auto; }

  .push-3 {
    position: relative;
    left: 25%;
    right: auto; }

  .pull-3 {
    position: relative;
    right: 25%;
    left: auto; }

  .push-4 {
    position: relative;
    left: 33.33333%;
    right: auto; }

  .pull-4 {
    position: relative;
    right: 33.33333%;
    left: auto; }

  .push-5 {
    position: relative;
    left: 41.66667%;
    right: auto; }

  .pull-5 {
    position: relative;
    right: 41.66667%;
    left: auto; }

  .push-6 {
    position: relative;
    left: 50%;
    right: auto; }

  .pull-6 {
    position: relative;
    right: 50%;
    left: auto; }

  .push-7 {
    position: relative;
    left: 58.33333%;
    right: auto; }

  .pull-7 {
    position: relative;
    right: 58.33333%;
    left: auto; }

  .push-8 {
    position: relative;
    left: 66.66667%;
    right: auto; }

  .pull-8 {
    position: relative;
    right: 66.66667%;
    left: auto; }

  .push-9 {
    position: relative;
    left: 75%;
    right: auto; }

  .pull-9 {
    position: relative;
    right: 75%;
    left: auto; }

  .push-10 {
    position: relative;
    left: 83.33333%;
    right: auto; }

  .pull-10 {
    position: relative;
    right: 83.33333%;
    left: auto; }

  .push-11 {
    position: relative;
    left: 91.66667%;
    right: auto; }

  .pull-11 {
    position: relative;
    right: 91.66667%;
    left: auto; }

  .column.large-centered,
  .columns.large-centered {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    float: none !important; }

  .column.large-uncentered,
  .columns.large-uncentered {
    margin-left: 0;
    margin-right: 0;
    float: left !important; }

  .column.large-uncentered.opposite,
  .columns.large-uncentered.opposite {
    float: right !important; }

  /* Overrides */

  .large-2 {
    width: 18%;
  }

  .large-10 {
    width: 80%;
  }
}