/*
Theme Name: ultimator
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ultimator
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

ultimator is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Alignments
# Clearings
# Widgets
# Content
    ## Posts and pages
	## Asides
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	font-family: "arial",sans-serif;
	margin: 0;		
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

a {
	background-color: transparent;
}

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

b,
strong {
	font-weight: bold;
}

h1,h2{
	font-family: "brim-narrow-combined-1",sans-serif;
	font-weight: 400;
	letter-spacing: 0 !important;
	margin-bottom: 0px;
	font-family: 'Crete Round', serif;
}

h1 {
	font-size: 115px;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 150px;
	line-height: 100px;
}

h1.beer-title{
	margin: 0;
	text-align: left;
	margin-bottom: 15px;
}

h2{
	font-size: 28px;
	margin: 20px ;
}

.float-left{float: left;}
.float-right{float:right;}

.tel:hover,.tel:focus { 
	color:#000; 
} 

.single #contact a.tel{
		color: #fff;
	}

.site-header{
	position: relative;
}

.tri-column h5{
	font-size: 1em;
	margin: 0;
	text-transform: uppercase;
	color: #fff;
}
.tri-column p{
	letter-spacing: 2px;
	text-align: left;
    font-size: 0.85em;
    line-height: 0.75em;
    color: #fff;
}
.tri-column a, .tri-column a:visited {
    color: #fff;
    font-weight: 500;
    font-size: 15px;
}
.nav-contents{
	background-color: #000;
	padding: 20px;
	float: left;
	width: 100%;
} 

#masthead{
	background: #363636 url('images/bgBlackW2.jpg');
	background-size: cover;	
	margin-bottom: 0px;
	background-position: center center;
}

#masthead-inner{
	max-width: 1060px;
	width: 100%;
	margin: 0 auto;
}

#masthead-inner img#logo{
	margin: 20px 0 10px 0;
	max-width: 130px;
	float: left;
	z-index: 1000;
}

#masthead img{
	margin: 0px auto;
	display: block;
	pad;
	padding: 50px 50px 20px 50px;
	webkit-filter: drop-shadow(0px 0px 1px #222);
	filter: drop-shadow(0px 0px 1px #222);
	max-width: 267px;
}

#masthead p {
    /*font-family: "brim-narrow-combined-1",sans-serif;*/
    color: #fff;
    letter-spacing: 0px !important;
    font-size: 40px;
    text-align: center;
    max-width: 40%;
    margin: 0 auto;
    padding-bottom: 30px;
    line-height: 40px;
    /* text-shadow: 0px 0px 20px rgba(0, 0, 0, 1); */
    font-weight: 600;
    text-transform: initial;
    max-width: 60%;
    font-size: 60px;
    line-height: 60px;
    text-transform: inherit;
    letter-spacing: -4px !important;
}

#content{
	clear:both;
	max-width: 100%;
	margin: 0 20px;
}

.home #page {
	background: none;
}

#page{
	/* background: url('images/ultibgTest.jpg') no-repeat fixed; */
	background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	-webkit-background-size: cover;
	display: none;
}

.news-content,
.home .entry-content,
#pabst-ribbon,
.pricelist{
	letter-spacing: 1px;
	font-size: 15px;
	line-height: 22px;
	padding-bottom: 0px;
	max-width: 780px;
	margin: 0 auto;
}

.news-content{
	width: 100%;
    height: auto;
    position: relative;
    max-width: 100%;
    padding-bottom:70px;
}

.home .entry-content{
	max-width: 70%;
	margin-top: 20px;
}


article .entry-content{
	padding-bottom: 0;
}

#pabst-ribbon,
.pricelist{
	text-transform: uppercase;
}

.tri-column {
    width: 25%;
    float: left;
}

.tri-column h5 {
	letter-spacing: 2px;
	font-size: 16px;
	line-height: 20px;
	margin: 0 auto;
	text-transform: uppercase;
	padding: 10px 0;
}

#pabst-ribbon,
.archive #pabst-ribbon,
.archive #pabst-ribbon a{
	/* background-color: #000; */
	/* color: #fff; */
	max-width: 100%;
	margin: 0 auto;
	margin-bottom: 0px;
	padding-bottom: 10px;
}
.home #pabst-ribbon{
	background-color: rgba(255, 255, 255, 0.7);
	color: #282828;
	/* position: fixed; */
	width: 100%;
	z-index: 100;
	/* margin-top: 10px; */
}

#pabst-ribbon p{
	display: inline-block;
	margin-top: 10px;
}

#contact{
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
}

#contact ul {
    list-style-type: none;
    display: inline-block;
    margin: 0;
    padding: 0 0 0 5px;
}
.home li.lang-item a {
    color: #282828;
}
.logoContainer {
	position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.logoContainer img {
    max-height: 110px;
    max-width: 110px;
}

h2.news-title, h2.portfolio{
    text-align: center;
    line-height: 30px;
    margin: 0 auto;
    margin: 20px 0 20px 0;
    font-size: 24px;
    /*letter-spacing: 3px !important;
    text-transform:uppercase;*/
    letter-spacing: 0px !important;
    text-transform: initial;
    color: #363636;
}

.news-content h2{
	color:#fff;
}
.entry-content p{
	font-weight: 400;
	margin-top: 8px;
}

#news{
	text-align: center;
	/*background-color: #BBAE90;*/
	background: #363636 url('images/bg.jpg');
	color: #fff;
	display: inline-block;
	width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
	background-position: center; 
}

.news-content{
	display: inline-block;
}

.n-block{
	width: 50%;
	margin: 0 auto;
	padding: 40px 20px;
	position: relative;
}

.n-block h3,
.n-block p{
	letter-spacing: 1px;
    line-height: 30px;
    font-size: 24px;
}

.single .entry-content > p:nth-child(2){
    margin: 40px 0;
    font-weight: 400 !important;
}

.entry-footer p{
	text-transform: initial;
	font-weight: 300;	
}

h3{
	text-align: center;
	max-width: 55%;
	display:block;
	margin: 0 auto;
	text-transform: uppercase;
}

.preline{
	text-align: center;
    width: 100%;
    display: inline-block;
    margin-bottom: 20px;
}

.button-container{
	width: 100%;
	display: block;
	text-align: center;
	padding-bottom: 40px;
}

#masonry{
	margin-top: 50px;
}

.block{
	width: 12%;
	float: left;
	margin: 1%;
	min-height: 120px;
	text-align: center;
	position: relative;
}

/*---product-page---*/

.product-header{
	width: 60%;
	float: left;
	border-bottom: 1px dotted #BBAE90;
	margin-bottom: 20px;
}

.product-image{
	max-width: 38%;
	float: right;
	height: 100%;
	padding-left: 2%;
}

.product-image img{
	float: left;
}

.product-single .entry-content p{
	text-align: left;
	max-width: 500px;
	clear: left;
	/* color: #fff; */
	margin-left: 20px;
	margin-right: 20px;
}

.product-single{
	max-width: 1060px;
	margin: 0 auto 20px auto;
	/* background: rgba(0,0,0,0.5); */
	/* margin-bottom: 0px; */
	position: relative;
	height: 100%;
	padding-bottom: 0px;
}
.product-single:nth-child(even){
	/* background: rgba(40,40,40,0.7); */
}

.product-single:last-child{
	margin-bottom:0;
}
.brewery-description, .products {
    max-width: 1100px;
    margin: 0px auto;
    padding: 20px 0;
    /* background: rgba(80,80,80,0.5); */
    /* padding-top: 20px; */
}
.brewery-description{
	background: #FFF;
	padding: 0;
	max-width: 1060px;
	margin-bottom: 20px;
	margin-top:20px;
}

.brewery-description .entry-content {
    padding: 20px;
}

.brewery-description article {
    max-width: 66%;
    float: left;
    /* margin-left: 20px; */
    /* margin-right: 20px; */
}
.brewery-description .ttI {
	/*font-family: 'georgia',serif;*/
	font-size: 0.9em;
}  
.brewery-header h2 {
	/* font-family: 'georgia',serif; */
	margin-left: 0;
	font-size: 1.5em;
	margin-top: 0;
}    
.brewery-description .ttI img {
    width: 100%;
}
.brewery-info{
	padding: 20px;
	border: 3px solid #363636;
	float: right;
	margin: 20px;
	width: 30%;
}
.external-links {
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    font-size: 25px;
}
img.untappd{
	max-height: 30px;
}
.address {
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    font-size: 1em;
    margin-bottom: 10px;
}
.more-beers a{
	color: #333 !important;
}
p.more-beers{
	display: inline-block;
	border: #333 1px solid;
	background-color: #f3f3f3;
	color: #333;
	font-size: 14px;
	padding: 3px 5px;
	border-radius: 5px;
}
.entry-meta{
	max-width: 700px;
	float: left;
}
.entry-meta h4{
	margin-bottom: 0;
}

/*---end product-page---*/

img {
	border: 0;
}

img.ornament{
	display: block;
	margin: 30px auto 20px auto;
	max-width: 150px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

textarea {
	overflow: auto;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #4b4b4b;
	font-family: "news-gothic-std",sans-serif;
	font-family: 'arial', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color: #BBAE90;
}

.news-content h3{
	max-width: 100%;

}

p {
	margin-bottom: 0;
}

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

/*--------------------------------------------------------------
# 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. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

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;
}

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: 3px solid;
	/* border-color: #fff; */
	background: transparent;
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 1.2em;
	line-height: 1;
	padding: .4em 1.5em .4em;
	text-transform: lowercase;
}

.home button,
.home input[type="button"]
{
	border-color: #fff;
}
.home a#go, .home a#go:visited {
    color: #fff;
}

.no-results button {
    border: 3px solid #333;
}

#signup{
	 position: fixed; 
	 opacity: 1; 
	 z-index: 11000; 
	 left: 50%; 
	 margin-left: -202px; 
	 top: 50px;
}

#signup input[type="submit"]{
	border-color:#363636;
	border:0;
	background: #BBAE90;
	color:#fff;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

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;
}	
	

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;
	max-width: 100% !important;
}

form p{
	margin: 10px 0;
}

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

button.c2a{
	padding: 10px;
    border: 0px solid;
    border-radius: 20px;
    background: #D0AF61;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0);
    padding: 10px 20px;
    letter-spacing: 1px;
    font-size: 17px;
    text-transform: uppercase;
}
.button-hinnasto{
	position: absolute;
	right: 170px;
	top: -70px;
}
.c2a a,
.c2a a:visited,
.c2a a:hover{
	color: #fff;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #333;
	text-decoration: none;
	text-align: center;
}

a:visited {
	color: #363636;
}

a#go,
a#go:visited{
	font-weight: 500;
	/* color: #fff; */
}

#masthead-inner a.mia{
	display:block;
	float:left;
	z-index:10000;
}

a:hover,
a:focus,
a:active {
	color: #808080;
}

a:focus {
	outline: thin dotted;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {

	display: block;
	float: right;
	width: 100%;
	position: relative;
	z-index: 2;
	margin-bottom: 20px;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.t{
	margin: 0;
}

.menu-toggle img,
.menu-toggle p.t{
	float: left;
	font-weight: 500;
	/* color: #fff; */
}

@media  {
	.menu-toggle {
		display: none;
		position: absolute;
		right: 0;
		top: -70px;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# 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
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

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

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

.site-footer{
	background-color: #F3F3F3;
	text-align: center;
	margin: 20px 20px 0 20px;
}

#footer-wrap{
	max-width: 1060px;
	margin: 0 auto;
	width: 100%;
	padding-top: 30px;
	display: inline-block;
}

.footer-logo{
	max-width: 140px;
}

.tri-footer{
	width: 30%;
	margin: 1.66%;
	float: left;
	text-align: center;
	min-height: 100px;
}

.tri-footer h4{
	text-transform: uppercase;
	margin: 0;
}

.tri-footer p,
.tri-footer a {
    font-size: 0.85rem;
}

p.copyright{
	text-align: center;
	padding: 20px;
	background-color: #fff;
}

/*--------------------------------------------------------------
# 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;
}


.main-navigation ul,
.nav-contents{
	display:none;
}

.menu-toggle,
.toggled,
.main-navigation.toggled .nav-menu {
	display: block;
	outline: 0;
}

.main-navigation :hover ul {
display: block;
}  	

/*modal*/
#lean_overlay {
    position: fixed;
    z-index: 10000;
    top: 0px;
    left: 0px;
    height:100%;
    width:100%;
    background: #000;
    display: none;
}

#signup {
	width: 500px;
	padding: 20px;
	display:none;
	background: #fff;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;	
}

#signup-header {
    border-bottom: 1px solid #CCC;
    padding-bottom: 10px;
}

#signup .txt-fld {
    position: relative;
    width: 364px;
    padding: 14px 20px;
    border-bottom: 1px solid #EEE;
    text-align: right;
}

#signup .btn-fld {
    width: 254px;
    overflow: hidden;
    padding: 12px 20px 12px 130px;
}

.modal_close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: block;
    width: 14px;
    height: 14px;
    background: url('images/modal_close.png');
    z-index: 2;
}

/*allProducts*/
.rTable {display: table;border-collapse: collapse;}
.rTableRow {display: table-row;border-bottom: 1px solid #ccc;/* padding-bottom: 10px; */}
.rTableHeading { display: table-header-group; }
.rTableBody { display: table-row-group; }
.rTableFoot { display: table-footer-group; }
.rTableCell, .rTableHead {display: table-cell;border: 1px solid #f9f9f9;padding: 2px 5px;}
.rTableHead { font-weight: bold;}
.firstCell{width: 20%;}
.cell2{width: 5%;}
.cell3{width: 12%;}
.cell4{width: 7%;}
.cell5{width: 15%;}
.cell6{width: 8%;}
.cell7{width: 13%;}

.rTable.tuotedetaljit p {
    margin: 0;
    padding: 2px 5px;
}

/* smart iPhone plus*/   	

@media (max-width: 767px){

	.hideOnMobile{
		display: none !important;
	}

	.rTable.tuotedetaljit {
    font-size: 12px;
	}

	.rTable.tuotedetaljit p {
    margin: 0;
    padding: 0px;
}

.cell2{width: 5%;}
.cell3{width: 10%;}
.cell4{width: 8%;}
.cell5{width: 15%;}
.cell6{width: 10%;}
.cell7{width: 13%;}

	#page{
		background: none;
		/* background-color: #3c3c3c */
	}

	h1{
		font-size: 56px;
		font-size: 3.5rem;
		line-height: 1em;
	}
	h2{
		margin-top: 20px;
		font-size: 28px;
		font-size: 1.75rem;
	}

	#pabst-ribbon p,
	#pabst-ribbon a {
    	font-size: 11px;
	}

	#pabst-ribbon, .archive #pabst-ribbon, .archive #pabst-ribbon a {
	    background-color: #fff;
	    color: #4b4b4b;
	}

	.tel,.tel:visited { 
		text-decoration:underline; 
	} 

    #masthead img {
	    max-width: 200px;
	    padding: 40px 0 20px 0;
	}
#masthead p {
    margin: 0 auto;
    font-size: 25px;
    line-height: 35px;
    max-width: 90%;
    letter-spacing: -1px !important;
}
   	#masthead-inner img {
    	max-width: 100px;
    	float: left;
	}
	#masthead-inner{
		padding: 0 10px;
    	display: inline-block;
	}
	#masthead-inner img#logo {
	    margin: 10px;
	    max-width: 120px;
	    float: none;
	    z-index: 1000;
	}

	#masthead-inner a.mia {
	    width: 100%;
	    margin-top: 20px;
	}

	#shorty p{
		font-size: 15px !important;
    /*font-family: "news-gothic-std",sans-serif !important;*/
    line-height: 20px !important;
    letter-spacing: 1px !important;
	}

	button.c2a{
		max-width: 60%;
	    font-size: 15px;
	    padding: 10px 20px;
	    border-radius: 100px;
	}

	#content{
		margin: 0;
	}

	#news {
	    margin : 0px;
	}

	#news .n-block {
	    width: 77%;
	    padding-bottom: 20px;
	}

	#masonryx{
	    max-width: 100%;
	    display: inline-block;
	    margin: 5% 0;
	}

	.block{
		width: 50%;
		padding: 0px;
		min-height: 50px;
		float: left;
		margin: 0;
	}

	.logoContainer{
		position: relative;
	}

	.product-header{
		width: 100%;
	}

	/*smartproduct*/
	.product-image {
	    max-width: 100%;
	    float: none;
	    padding-left: 0;
	}
	.product-image img{
		width: 100%;
	}

	.single .entry-content > p:first-child()  {
	    font-size: 1.1em;
	    line-height: 1.3em;
	    margin: 40px 0;
	    font-weight: 400;
	}

	.product-single .entry-content p{
		margin: 0;
	}

	.brewery-description, .products {
	    margin: 0px auto;
	    padding: 0px;
	}

	.brewery-description article {
	    max-width: 100%;	    
	}

	.brewery-description .entry-content{
		padding: 20px;
		width: 100%;
		margin-bottom: 20px;
	}

	.brewery-info {
	    float: left;
	    margin: 20px 5%;
	    width: 90%;
	    max-width: 100%;
	}

	article .entry-content {
	    padding-bottom: 0;
	    padding: 20px;
	}

	/*smartnavi*/

	.nav-contents {
	    margin-top: 20px;
	}
	
	.main-navigation,
	#signup{
		width: 92%;
		margin: 0 4% 4% 4%;
	}
	.main-navigation li{
		width: 100% !important;
	}
	.button-hinnasto,
	.menu-toggle{
		position: relative;
		float: left;
	    right: 0;
	    top: 0;		
	}
	.menu-toggle{
		float: right;
	}
	button, input[type="button"], input[type="reset"], input[type="submit"] {
	    font-size: 1.1em;
	}
	.read2 p{
		margin: 3px 0px;
	}
	h2.portfolio{
		margin: 30px 0 0px 0;
		font-size: 20px;
		text-decoration: underline;
	}
	#masonry{
		margin-top: 30px;
	}
	/*smartfooter*/
	.tri-column{
		display: inline-block !important;
		width: 100% !important;
		margin-bottom: 10px !important;
	}
	.tri-column h5{
		font-size: 1.2em;
	}
	.tri-column p {
	    font-size: 1.1em;
	    line-height: 1.5em;
	}
	.tri-footer {
	    width: 94%;
	    margin: 3%;
	    float: left;
	    text-align: center;
	}
}

@media (min-width: 769px) { 

	#masthead p{
		max-width: 80%;
	}

	.tel,.tel:visited { 
		cursor:default; 
	} 
		
	.tel,.tel:focus { 
		color:#000; 
	} 
	.home .tel, .home .tel:focus {
		color: #282828;
	} 
	.tri-column li{
		width: 25%;
	    padding-right: 2%;
	    padding-left: 2%;
	    margin: 10px 0;
	}
	.tri-column:nth-child(4n+1) li{
		padding-left: 0;
	}
	.tri-column:nth-child(4) li{
		padding-right: 0;
	}
	.tri-column:nth-child(4) li{
		border-right: 0;
	}
}

	

/* for larger screens */ 
@media (min-width: 1366px) { 

	.hideOnDesktop{
		display: none !important;
	}

	h2 {
	    margin: 20px 40px;
	}

	#masthead {
	    max-width: 100%;
	}

	#masthead{
		padding: 60px 0 50px 0;
		margin: 0 20px 20px 20px;
	}
	#masthead p{
		max-width: 60%;
		font-size: 70px;
		line-height: 80px;
		letter-spacing: 0px !important;
	}
	#masthead img{
		padding: 30px 50px 30px 50px;
		max-width: 300px;
	}
	#shorty p{
		font-size: 30px !important;
		/*font-family: "news-gothic-std",sans-serif !important;*/
		line-height: 30px !important;
		letter-spacing: -1px !important;
	}
	.button-container{
		padding-bottom: 0;
	}
	.product-image img{
		float: left;
		width: auto;
	}

	article .entry-content{
		margin-left: 40px;
		max-width: 41%;
	}

	#news {
	    margin-top: 0px;
	}

}

/* mid */ 
@media only screen and (min-width: 1025px) and (max-width: 1280px){

	.hideOnDesktop{
		display: none !important;
	}

	#masthead p{
		max-width: 70%;
		font-size: 60px;
		line-height: 48px;
		letter-spacing: 0px !important;
	}	

	#masthead{
		margin: 0 20px;
	}

	#shorty p{
		font-size: 24px !important;
		/*font-family: "news-gothic-std",sans-serif !important;*/
		line-height: 27px !important;
		letter-spacing: 0px !important;
	}
	
}

/* fall between */ 
@media only screen and (min-width: 1281px) and (max-width: 1366px){

	#masthead p {
    font-size: 50px;
    line-height: 58px;
    letter-spacing: -1px !important;
}

	#shorty p{
		font-size: 25px !important;
    /*font-family: "news-gothic-std",sans-serif !important;*/
    line-height: 27px !important;
    letter-spacing: 0px !important;
	}
	
}



/*tablet*/

@media screen and (min-width: 768px) and (max-width: 1024px) { 

	.hideOnTablet{
		display: none !important;
	}

	#pabst-ribbon{
		line-height: 20px;
	}

	#pabst-ribbon p, #pabst-ribbon a {
	    font-size: 14px;
	}

	#masthead{
		margin: 0 20px;
	}

	#masthead img {	  
	    padding: 60px 0 40px 0;
	    max-width: 300px;
	}

	#masthead p {
		text-align: center;
		margin: 0 auto;
		padding-bottom: 40px;
		line-height: 45px;
		font-weight: 600;
		max-width: 80%;
		text-transform: uppercase;
		letter-spacing: 0px !important;
		font-size: 40px;
	}

	#shorty p{
		font-size: 15px !important;
    /*font-family: "news-gothic-std",sans-serif !important;*/
    line-height: 20px !important;
    letter-spacing: 1px !important;
	}

	.brewery-info {
    padding: 20px;
    border: 3px solid #363636;
    float: right;
    margin: 0;
    width: 30%;
	}

	#masthead-inner {
	    padding: 0 40px;
	}

	h2.news-title, h2.portfolio {
	    line-height: 30px;	    
	    margin: 30px 0 0px 0;
	    font-size: 30px;	    
	}

	#content{
		margin: 0 20px;
	}
	.brewery-description .entry-content {
		padding: 20px 40px;
	}

	#masonryx{
		max-width: 90%;
	    margin: 0% 5%;
	}

	.block{
		width: 18%;
		margin: 1% !important;
	}
	.logoContainer img {
	    max-height: 100%;
	    max-width: 100%;
	}

	.product-single .entry-content p{
		margin-left: 20px;
		margin-right: 20px;
	}

}

.row-header-wrapper{
	display: none;
}

.page-id-60 .entry-content div:last-of-type,
.page-id-60 .entry-content div:first-of-type{
	display: none;

}

.lisatiedot p{
	padding-top: 10px;
	border-top: 1px solid #ccc;
	font-size:0.8em;
	text-transform: none; 
	padding-bottom: 20px;
}

.lisatiedot{
	display: inline-block;
}

.ttI{
	text-transform: initial;
	/* width: 100%; */
}

.mW600{
	/* max-width: 600px; */
	float: left;
}
.fL{
	float: left;
}

.fR{
	float: right;
}

/* fall between*/
@media only screen and (min-width: 1200px) and (max-width: 1366px){

	.hideOnDesktop{
		display: none !important;
	}
	#content {
	    margin: 0 20px;
	}

}	

#loading {
    background-color: #3c3c3c;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 200;
    margin-top: 0px;
    top: 0px;
    animation-fill-mode: both
}

#loading-center {
    width: 100%;
    height: 100%;
    position: relative
}

#loading-center-absolute {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 200px;
    width: 200px;
    margin-top: -100px;
    margin-left: -100px;
    -ms-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg)
}

.object {
    -moz-border-radius: 50% 50% 50% 50%;
    -webkit-border-radius: 50% 50% 50% 50%;
    border-radius: 50% 50% 50% 50%;
    position: absolute;
    border-top: 20px solid rgba(230, 230, 230, 1);
    border-bottom: 20px solid transparent;
    border-left: 20px solid rgba(230, 230, 230, 1);
    border-right: 20px solid transparent;
    -webkit-animation: animate 2s infinite;
    animation: animate 2s infinite
}


#object_one {
    left: 45px;
    top: 45px;
    width: 80px;
    height: 80px
}

#object_two {
    left: 55px;
    top: 55px;
    width: 60px;
    height: 60px;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s
}

#object_three {
    left: 55px;
    top: 55px;
    width: 60px;
    height: 60px;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s
}

#object_four {
    left: 45px;
    top: 45px;
    width: 80px;
    height: 80px;
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s
}

@-webkit-keyframes "animate" {
    50% {
        -ms-transform: rotate(360deg) scale(0.8);
        -webkit-transform: rotate(360deg) scale(0.8);
        transform: rotate(360deg) scale(0.8);
    }
}

@keyframes "animate" {
    50% {
        -ms-transform: rotate(360deg) scale(0.8);
        -webkit-transform: rotate(360deg) scale(0.8);
        transform: rotate(360deg) scale(0.8);
    }
}

.ei-tuotteita{
	text-align: center;
	max-width: 1060px;
	background: #fff;
	margin: 0 auto 20px auto;
	padding: 20px;
}

.ei-tuotteita h3.page-title {
    color: #333;
    /* text-align: right; */
    font-family: arial;
    text-transform: none;
    /*font-family: "news-gothic-std",sans-serif;*/
    font-weight: 100;
}

.wpcf7-form-control-wrap,
input.wpcf7-form-control {	
	max-width: 100% !important;
}

.archive p.copyright {
    text-align: center;
    padding: 10px;
    /* background-color: #3c3c3c; */
    /* color: #fff; */
    font-size: 10px;
}

div.wpcf7-mail-sent-ok {
    border: 0px solid #398f14;
    position: absolute;
    width: 100%;
    /* height: 100%; */
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #fff;
    padding: 100px;
    margin: 0;
    z-index: 3;
}

.overlayColor{
    background: rgba(138, 114, 58, 0.4);
    width: 100%;
    text-align: center;
    padding: 10px 0;
    position: absolute;
    /* z-index: 10000; */
    top: 0;
    bottom: 0px;
}    

span.highlight {
    /* background-color: #fff; */
    /* box-shadow: 7px 0 0 #fff, -7px 0 0 #fff; */
    box-decoration-break: clone;
    color: #fff;
    font-family: 'Crete Round', serif;
}

/* fall between*/
@media only screen and (min-width: 1025px) and (max-width: 1366px){

	.products{
		width: 85%;
	}
	#masthead-inner { 
    width: 80%; 
	}

}