/*
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. Implemented November 30, 2013.
*/

/* --------------------------------------------------
   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;

  -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;
  width: 100%;
}

.page-content {
  border: 15px solid #6f5743;
  background-color: #fff;
  overflow: hidden;
  padding: 15px;
}

.footer {
  margin-top: 40px !important;
}

.footer .columns {
  flex-direction: row;
  justify-content: space-around;
}

.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-icon {
  display: inline-block;
  margin-right: 10px;
  transition: all 0.5s;
}

.social-icon svg {
  fill: rgba(255, 255, 255, 0.8);
  width: 32px;
  height: 32px;
}

.social-icon:hover svg {
  fill: rgba(255, 255, 255, 1.0);
}

.newsletter .mc-field-group {
  display: flex;
}

.social {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.social-container {
  width: 150px;
}

.newsletter {
  width: 300px;
}

.proudly-brewed-in-ca,
.almanac-beer-logo {
  color: #6e6965;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.proudly-brewed-in-ca,
.almanac-beer-logo,
.social {
  margin-bottom: 30px;
  line-height: 36px;
}

.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: 260px;
  height: 32px;
  font-size: 16px;
}

.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;
}

.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;
  text-align: center;
}

/* -----------------------------------------
   Page Specific Styles
----------------------------------------- */

.page-title {
  background-position: top left;
  background-repeat: no-repeat;
  display: block;
  height: 65px;
  text-indent: -9999em;
  width: 100%;
}

/* Our Beer / Beer Store */
.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-180 a:hover,
.page-item-4673 a,
.menu-item-4733 a:hover {
  color: #f07d01;
}

/* Blog & Partner Login */
.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-3516 a:hover,
.menu-item-107 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-109 a:hover {
  color: #e6583c
}

/* Events, Venue Rental */
.page-id-1061 .page-title,
.parent-pageid-1061 .page-title {
  background-image: url(img/events-heading.png);
}

.page-item-1061 a,
.page-item-5509 a,
.menu-item-5517 a:hover,
.menu-item-1068 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-6796 a:hover {
  color: #e2a81b;
}

/* Jobs */
.page-id-4985 .page-title,
.parent-pageid-4985 .page-title {
  background-image: url(img/jobs-heading.png);
}

.page-item-4985 a,
.menu-item-4989 a:hover {
  color: #efd14f;
}

/* Gear */
.page-gear .page-title {
  background-image: url(img/gear-heading.png);
}

.page-item-gear a,
.menu-item-2105 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-108 a:hover {
  color: #e6583c;
}

/* Taproom, Donations */
.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-4326 a,
.page-item-5163 a,
.menu-item-5166 a:hover,
.menu-item-4365 a:hover {
  color: #95a0b3;
}

.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: 40px;
    padding: 1rem;
  }

  .supplemental .logo-stamp img {
    max-width: 130px;
  }

  .supplemental .logo-stamp {
    left: 0;
  }

  .social {
    margin-left: 10px;
    flex-direction: column;
  }

  .social-container {
    height: 32px;
    width: 100%;
    margin: 10px auto;
    margin-right: 20px;
  }

  .newsletter,
  .social-container {
    margin: 0 auto 10px auto;
  }

  .social #mc_embed_signup {
    /* float: none; */
    margin: 0 auto;
  }

  .footer {
    margin-top: 10px;
  }

  /* .footer .columns {
    margin: 0;
  } */

  .almanac-beer-logo,
  .proudly-brewed-in-ca,
  .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;
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .supplemental .logo-stamp,
  .logo-stamp {
    display: none;
  }

  .home .content .logo-stamp {
    display: block;
    text-align: center;
  }

  .home .logo-stamp img {
    width: auto;
    height: 150px;
  }

  .content {
    padding: 0;
  }

  .content>.row {
    flex-direction: column;
  }

  .content .page {
    padding: 0;
  }

  .home .content .page {
    padding: 0 10px;
  }

  .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: 528px;
  }

  .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;
  }

  .footer .columns {
    flex-direction: column;
  }
}

/* -----------------------------------------
   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: 75rem;
  display: flex;
  *zoom: 1;
}

/* .row:before,
.row:after {
  content: " ";
  display: table;
}

.row:after {
  clear: both;
} */

.row.collapse>.column,
.row.collapse>.columns {

  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;
  display: flex;
  *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 {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 0.9375em;
  padding-right: 0.9375em;
}

@media only screen {
  .small-1 {

    width: 8.33333%;
  }

  .small-2 {

    width: 16.66667%;
  }

  .small-3 {

    width: 25%;
  }

  .small-4 {

    width: 33.33333%;
  }

  .small-5 {

    width: 41.66667%;
  }

  .small-6 {

    width: 50%;
  }

  .small-7 {

    width: 58.33333%;
  }

  .small-8 {

    width: 66.66667%;
  }

  .small-9 {

    width: 75%;
  }

  .small-10 {

    width: 83.33333%;
  }

  .small-11 {

    width: 91.66667%;
  }

  .small-12 {

    width: 100%;
  }

  .small-offset-0 {

    margin-left: 0;
  }

  .small-offset-1 {

    margin-left: 8.33333%;
  }

  .small-offset-2 {

    margin-left: 16.66667%;
  }

  .small-offset-3 {

    margin-left: 25%;
  }

  .small-offset-4 {

    margin-left: 33.33333%;
  }

  .small-offset-5 {

    margin-left: 41.66667%;
  }

  .small-offset-6 {

    margin-left: 50%;
  }

  .small-offset-7 {

    margin-left: 58.33333%;
  }

  .small-offset-8 {

    margin-left: 66.66667%;
  }

  .small-offset-9 {

    margin-left: 75%;
  }

  .small-offset-10 {

    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 {

    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 {

    width: 8.33333%;
  }

  .large-2 {

    width: 16.66667%;
  }

  .large-3 {

    width: 25%;
  }

  .large-4 {

    width: 33.33333%;
  }

  .large-5 {

    width: 41.66667%;
  }

  .large-6 {

    width: 50%;
  }

  .large-7 {

    width: 58.33333%;
  }

  .large-8 {

    width: 66.66667%;
  }

  .large-9 {

    width: 75%;
  }

  .large-10 {

    width: 83.33333%;
  }

  .large-11 {

    width: 91.66667%;
  }

  .large-12 {

    width: 100%;
  }

  .row .large-offset-0 {

    margin-left: 0;
  }

  .row .large-offset-1 {

    margin-left: 8.33333%;
  }

  .row .large-offset-2 {

    margin-left: 16.66667%;
  }

  .row .large-offset-3 {

    margin-left: 25%;
  }

  .row .large-offset-4 {

    margin-left: 33.33333%;
  }

  .row .large-offset-5 {

    margin-left: 41.66667%;
  }

  .row .large-offset-6 {

    margin-left: 50%;
  }

  .row .large-offset-7 {

    margin-left: 58.33333%;
  }

  .row .large-offset-8 {

    margin-left: 66.66667%;
  }

  .row .large-offset-9 {

    margin-left: 75%;
  }

  .row .large-offset-10 {

    margin-left: 83.33333%;
  }

  .row .large-offset-11 {

    margin-left: 91.66667%;
  }

  .push-1 {

    left: 8.33333%;
    right: auto;
  }

  .pull-1 {

    right: 8.33333%;
    left: auto;
  }

  .push-2 {

    left: 16.66667%;
    right: auto;
  }

  .pull-2 {

    right: 16.66667%;
    left: auto;
  }

  .push-3 {

    left: 25%;
    right: auto;
  }

  .pull-3 {

    right: 25%;
    left: auto;
  }

  .push-4 {

    left: 33.33333%;
    right: auto;
  }

  .pull-4 {

    right: 33.33333%;
    left: auto;
  }

  .push-5 {

    left: 41.66667%;
    right: auto;
  }

  .pull-5 {

    right: 41.66667%;
    left: auto;
  }

  .push-6 {

    left: 50%;
    right: auto;
  }

  .pull-6 {

    right: 50%;
    left: auto;
  }

  .push-7 {

    left: 58.33333%;
    right: auto;
  }

  .pull-7 {

    right: 58.33333%;
    left: auto;
  }

  .push-8 {

    left: 66.66667%;
    right: auto;
  }

  .pull-8 {

    right: 66.66667%;
    left: auto;
  }

  .push-9 {

    left: 75%;
    right: auto;
  }

  .pull-9 {

    right: 75%;
    left: auto;
  }

  .push-10 {

    left: 83.33333%;
    right: auto;
  }

  .pull-10 {

    right: 83.33333%;
    left: auto;
  }

  .push-11 {

    left: 91.66667%;
    right: auto;
  }

  .pull-11 {

    right: 91.66667%;
    left: auto;
  }

  .column.large-centered,
  .columns.large-centered {

    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%;
  }
}
