/*
Theme Name: Mikkeller
*/

@import url("normalize.css");
@import url("menu.css");
@import url("footer.css");


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Helvetica Neue', Helvetica, Arial, Sans-Serif;
	font-size: 16px;
	font-size: 1.2rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family:"Questrial",sans-serif;
	font-weight:300;
	text-transform:uppercase;	
	clear: both;
}

h1 {
	letter-spacing:.1em;
	font-size: 1.8em;
	text-align:center;
}

h2, h3 {
	text-align:center;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #005A5D;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
	width:90%;
	max-width:400px;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	text-decoration: none;
	transition: color 0.5s ease-out 0.2s;
	color: #005A5D;
}

a:visited {
	color: #005A5D;
}

a:hover,
a:focus,
a:active {
	transition: color 0.5s ease-out 0.2s;
	color: #ABECB1;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}


/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

#content {
	width:100%;
	max-width:1232px;
	margin:0px auto 30px;
}

#main {
    max-width: 1232px;
    margin-left: auto;
    margin-right: auto;	
	padding:0 16px;
}

body.single #main div.entry-content p {
	margin-left:auto;
	margin-right:auto;		
}

#main div.entry-content img.alignleft, #main div.entry-content img.alignright, #main div.entry-content img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;	
	margin-bottom:1.5em;	
}

.post-navigation .fa {
	font-size:.6em;
	height:1.2em;
	vertical-align:middle;
}

div.entry-meta p {
	margin:.5em 0;
}

@media screen and (min-width: 750px) {
	body.single.single-post #main {
		max-width:750px;
		margin-left: auto;
		margin-right: auto;
	}	
}

@media screen and (min-width: 1200px) {	
	#main div.entry-content img.alignleft {
		display: inline;
		float: left;
		margin-right: 1.5em;
	    margin-left: -32%;
		max-width:80%;
		clear:both;	
	}

	#main div.entry-content img.alignright {
		display: inline;
		float: right;
		margin-left: 1.5em;
	    margin-right: -32%;
		max-width:80%;
		clear:both;					
	}

	#main div.entry-content img.aligncenter {
		clear: both;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	
	#main div.entry-content img.alignnone {
		display: inline;
	}
}

img.aligncenter {
	margin:0px auto;
	display:block;
}

#pagination {
	text-align:center;
	font-size:1rem;
}

#pagination span, #pagination a {
	background: #ddd;
	border: 1px solid #ccc;
	color: #666;
	margin-right: 4px;
	padding: 3px 6px;
	text-align: center;
	text-decoration: none;	
}
#pagination a:hover {
	background: #ccc;
	color: #888;	
}


#pagination span.current { 
	color: #fff;
	background: #BAEEBF;	
}


/*--------------------------------------------------------------
## Masonry
--------------------------------------------------------------*/

body.masonry #page {
	background-color:#FFF;
}

body.masonry #posts {
	text-align:left;
	font-size:0;
	width:95%;
}

body.masonry #content {
	max-width:1200px;
	padding:0;
}

body.masonry #main {
	padding-left:0;
	padding-right:0;
}

body.masonry #main .post-wrapper {
	padding:0em .5em .1em .5em;
}

body.masonry #main .post {
	color:#FFF;
	font-size:1rem;
	width:100%;
	margin:0 auto 1em auto;
	display:block;
	vertical-align:top;	
	text-align:left;
	background-color:#fff;
	text-decoration:none;
	color:#005A5D;
}

body.masonry #main .post:hover {
	-webkit-transition: background .5s ease-out;
	-moz-transition: background .5s ease-out;
	-o-transition: background .5s ease-out;
	transition: background .5s ease-out;
	background: #aeecb4;
}


body.masonry #main .post img {
	width:100%;
	padding:.5em;
}

body.masonry #main .post h1 {
	font-size:1.5em;
	line-height:1.1em;
	margin-top:.1em;
	color:#000;	
	text-align:left;
	margin-bottom:0;
}

.post span.posted-on {
	text-decoration:none;
	color:#a1a1a1;
}

body.masonry span.posted-on {
	font-size:.8em;
	color:#a1a1a1;		
}

body.masonry #posts {
	margin-left:auto;
	margin-right:auto;
}

body.masonry .entry-content {
	margin-top:0;
}

@media screen and (min-width: 640px) {
	
	body.masonry #posts {
		width:600px;
	}
	
	body.masonry #main .post {
		margin:0 .5em 1em .5em;
		display:inline-block;
		width:17.75em;
	}
	
}

@media screen and (min-width: 990px) {
	body.masonry #posts {
		width:900px;
	}
	
}

@media screen and (min-width: 1290px) {
	body.masonry #posts {
		width:auto;
	}
	
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/* locations */


body.locations .entry-content {
	max-width:320px;
	margin-left:auto;
	margin-right:auto;	
}

@media screen and (min-width: 700px) {
	body.locations .entry-content {
		max-width:640px;
	}
}

@media screen and (min-width: 1060px) {
	body.locations .entry-content {
		max-width:960px;
	}
}

body.locations a.location-icon {
	display:inline-block;
	width:300px;
	height:450px;
	overflow:hidden;
	margin:10px;
	position:relative;
}

body.locations a.location-icon img, body.locations a.location-icon div.tone-overlay {
	position:absolute;
	left:0;
	top:0;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
	z-index:0;
}

body.locations a.location-icon img.toned {
    -webkit-filter: grayscale(1);
    filter: gray;
	filter: grayscale(1);
	
}

body.locations a.location-icon div.location-name {
	position:absolute;
	bottom:60px;
	left:0;
	padding:0px 8px;
	z-index:3;
	border-bottom: 19px solid rgba(255,255,255,0.6);
	border-top: 19px solid rgba(255,255,255,0.6);
	border-right: 20px solid transparent;
	line-height:0;
	height:0;
	font-family:"Questrial", sans-serif;
	text-transform:uppercase;
	font-size:.7em;
	letter-spacing:.1em;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

body.locations a.location-icon div.location-name.location-city {
	bottom:15px;	
	font-size:.6em;		
}

body.locations a.location-icon:hover div.location-name {
	border-bottom: 19px solid rgba(255,255,255,1);
	border-top: 19px solid rgba(255,255,255,1);
	color:#000;
}

body.locations a.location-icon img + img {
	left:300px;
}

body.locations a.location-icon div.tone-overlay {
	width:300px;
	height:450px;	
	background-color:rgba(250,195,210,.5);
	z-index:2;	
}

body.locations a.location-icon:hover img, body.locations a.location-icon:hover div.tone-overlay {
    -ms-transform: translate(-300px,0); /* IE 9 */
   	-webkit-transform: translate(-300px,0); /* Safari */
    transform: translate(-300px,0);
}

/* map */
#map {
	display:none;
}

@media screen and (min-width: 1060px) {
	#map {
		display:block;
	}
}

#page .leaflet-container h4 {
	text-align:center;
	font-size:13p;
}
#page .leaflet-container p {
	font-size:12px;
	line-height:14px;
	text-align:center;
}
#page .leaflet-container img {
	width:100px;
	height:auto;
/*	display:inline-block;*/
/*	margin-right:10px;*/
}

#page .leaflet-container div.map-address {
/*	display:inline-block;
	vertical-align:top;*/
}

#page .leaflet-container p a {
	text-decoration: none;
	transition: color 0.5s ease-out 0.2s;
	color: #005A5D;
}

#page .leaflet-container p a:visited {
	color: #005A5D;
}

#page .leaflet-container p a:hover,
#page .leaflet-container p a:focus,
#page .leaflet-container p a:active {
	transition: color 0.5s ease-out 0.2s;
	color: #ABECB1;
}

#page .leaflet-popup-content {
	text-align:center;
/*	white-space:nowrap;*/
}

#page .marker-cluster-small {
	background-color:rgba(0,0,0,.75);
	
}

#page .marker-cluster-small div {
	background-color:#ededed;
}

/* single location */


div.entry-content blockquote {
	font-family:'Georgia',serif;
	font-style:italic;
	color:#005A5D;
	max-width:600px;
	margin:0px auto;
}

@media screen and (min-width: 750px) {
	div.entry-content blockquote {	
		font-size:1.2em;
	}
}

div.locations-top {
	max-width:1080px;
	margin:30px auto;
	border-top: 2px solid rgba(0, 90, 93, 0.3);
	border-bottom: 2px solid rgba(0, 90, 93, 0.3);	
	padding:30px 0;
	overflow:auto;
}

div.locations-top img {
	margin:0px auto;
	height:auto;
	display:block;
	max-width:100%;
	margin-bottom:1em;
}

div.locations-top div.locations-info {
	width:280px;
	margin:0px auto;	
	color:#FFF;
	font-family:"Questrial", sans-serif;
	text-transform:uppercase;
	font-size:.8em;
}

div.locations-top div.locations-info div.locations-circle {
	width:280px;
	height:280px;
	background: rgba(0, 90, 93, 0.5) none repeat scroll 0% 0%;
	border-radius: 200px;
	transition: background 5s ease-out 0s;
    display: table;
    float: right;
    text-align: center;
    position: relative;	
}

@media screen and (min-width: 420px) {
	div.locations-top div.locations-info {
		width:400px;
		font-size:1em;		
	}
	
	div.locations-top div.locations-info div.locations-circle {
		width:400px;
		height:400px;
	}	
}

@media screen and (min-width: 1200px) {
	
	div.locations-top img {
		float:left;
		width:640px;
		margin-bottom:0;
	}
	
	div.locations-top div.locations-info {
		float:left;		
		margin-left:40px;
		margin-right:0;
	}
}

div.locations-top div.locations-info div.locations-circle div.locations-data {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

div.locations-top div.locations-info div.locations-circle div.locations-data p {
	margin:0;
}

div.locations-top div.locations-info div.locations-circle div.locations-data div.margin-bottom {
	margin-bottom:1em;
}

body.single-location div.entry-content h2:first-child {
	margin-top:0;
}

.location-description {
	    padding-bottom: 60px;
		margin:30px auto;
	    border-bottom: 2px solid rgba(0, 90, 93, 0.3);
		max-width:1080px;
		position:relative;
}

.location-description p {
	max-width:750px;
}

.location-description .peek {
    width: 300px;
    height: 114px;
    background: transparent url("img/dude.png") no-repeat scroll 0% 0%;
    position: absolute;
	right:0px;
	bottom:-23px;
}

div.location-smallimages {
	max-width:320px;
	margin-left:auto;
	margin-right:auto;	
}

div.location-smallimages img {
	display:inline-block;
	margin:10px;
}

@media screen and (min-width: 700px) {
	div.location-smallimages {
		max-width:640px;
	}
}

@media screen and (min-width: 1060px) {
	div.location-smallimages {
		max-width:960px;
	}
}

/*div.locations-top div.locations-info div.locations-circle {
	padding:50%;
	background: rgba(0, 90, 93, 0.5) none repeat scroll 0% 0%;
	border-radius: 50%;
	transition: background 5s ease-out 0s;
    display: block;
    float: right;
    text-align: center;
    position: relative;
}

div.locations-top div.locations-info div.locations-circle div.locations-data {
	position:absolute;
	margin: auto;
	left: 0;
	right: 0;
	top:0;
	bottom:0;
	height:100%;
	display:table-cell;
	vertical-align:middle;
}

div.locations-top div.locations-info div.locations-circle div.locations-data p {
	margin-top:0;
	margin-bottom:1em;
}*/

table#on-tap {
	background-image:url('/wp-content/themes/mikkeller/img/chalkboardbg.jpg');
	color:#FFF;
	font-family:"Questrial", sans-serif;
	text-transform:uppercase;
	font-size:.8em;	
	text-align:center;
	margin:0px auto;
}

table#on-tap td {
	border:2px solid #FFF;
	padding:.5em;

}

table#on-tap td {
	width:23%;
}

table#on-tap td.tap-number {
	width:2%;
}

table#on-tap.colcount-2, table#on-tap.colcount-3, table#on-tap.colcount-4 {
	display:none;
}

@media screen and (min-width: 640px) {
	table#on-tap.colcount-1, table#on-tap.colcount-3, table#on-tap.colcount-4 {
		display:none;
	}	
	
	table#on-tap.colcount-2 {
		display:table;
	}	
}

@media screen and (min-width: 750px) {
	table#on-tap.colcount-1, table#on-tap.colcount-2, table#on-tap.colcount-4 {
		display:none;
	}	
	
	table#on-tap.colcount-3 {
		width:90%;
		display:table;
	}
}

@media screen and (min-width: 1200px) {
	table#on-tap.colcount-1, table#on-tap.colcount-2, table#on-tap.colcount-3 {
		display:none;
	}	
	
	table#on-tap.colcount-4 {
		width:1160px;
		display:table;
	}	
}

/* brewery */

body.brewery #main {
	background-image:url('/wp-content/themes/mikkeller/img/brewery-bg-w.jpg');
	background-position:top center;
	background-repeat:no-repeat;
	background-size:100%;
}

body.brewery #main div.entry-content p, body.brewery #main div.entry-content h3 {
	max-width:750px;
	margin-left:auto;
	margin-right:auto;	
/*	text-shadow: 1px 0px 2px rgba(255, 255, 255, 1), -1px 0px 2px rgba(255, 255, 255, 1), 0px 1px 2px rgba(255, 255, 255, 1), 0px -1px 2px rgba(255, 255, 255, 1);*/
}

body.brewery blockquote {
	margin:0em auto 2em;
	padding:1em 2em;	
    background-color: rgba(255,255,255,.8);	
}

body.brewery blockquote p:first-child {
	margin-top:0;
}

/*body.brewery blockquote {
	color:#005A5D;
	font-family:Questrial, sans-serif;
	width:90%;
	max-width:600px;
	margin:1em auto 4em;
	padding:2em;
}

body.brewery blockquote p:first-child:before {
	content: "";
	font-family:FontAwesome;
	color:#ABECB1;
	margin-right:.3em;
	font-size:1em;
}

body.brewery blockquote p:last-child:after {
	content: "";
	font-family:FontAwesome;
	color:#ABECB1;
	margin-left:.3em;
	font-size:1em;
}*/



/*div.locations-top div.locations-info div.locations-circle {
	padding:50%;
	background: rgba(0, 90, 93, 0.5) none repeat scroll 0% 0%;
	border-radius: 50%;
	transition: background 5s ease-out 0s;
    display: block;
    float: right;
    text-align: center;
    position: relative;
}

div.locations-top div.locations-info div.locations-circle div.locations-data {
	position:absolute;
	margin: auto;
	left: 0;
	right: 0;
	top:0;
	bottom:0;
	height:100%;
	display:table-cell;
	vertical-align:middle;
}

div.locations-top div.locations-info div.locations-circle div.locations-data p {
	margin-top:0;
	margin-bottom:1em;
}*/

/* distributors */
@media screen and (min-width: 1060px) {
	#distributor-list {
		display:none;
	}
}

@media screen and (min-width: 640px) {
	#distributor-list p {
		-webkit-columns:2;
		-moz-columns:2;
		columns: 2;
	}
}


/* other */

span.edit-link {
	margin-left:1em;
}