/*
Theme Name: Nomad
Theme URI: http://www.nomadbrewingco.com.au/
Author: #FAB10 - Fabio Folgori
Author URI: http://fabiofolgori.it/
Version: 1.0
*/

/* @override http://www.nomadbrewingco.com.au/wp-content/themes/nomad/style.css?ver=4.5.3 */

@import url(https://fonts.googleapis.com/css?family=Lato:400,700,300);

@font-face {
    font-family: 'canterlight';
    src: url('font/canter_light-webfont.eot');
    src: url('font/canter_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/canter_light-webfont.woff2') format('woff2'),
         url('font/canter_light-webfont.woff') format('woff'),
         url('font/canter_light-webfont.ttf') format('truetype'),
         url('font/canter_light-webfont.svg#canterlight') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* @group structure */

* {
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Lato', sans-serif;
	background: #f6f5ee;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'canterlight';
}

a {
	color: #000;
	text-decoration: none;
}

a:active,
a:focus {
	text-decoration: none;
	outline: none;
}

ul {
	list-style: none;
}

.clearfix:after,
.wrapper:after {
	clear: both;
	content: '';
	display: block;
}

.wrapper {
	clear: both;
	margin: 0 auto;
	width: 1200px;
}

.img-responsive {
	height: auto;
	width: 100%;
}

.parallax-mobile {
	display: none;
}

/* @end */

/* @group header */

#header {
	background: #1a171b;
}

#header #logo {
	float: left;
}

#header #logo img {
	height: 80px;
}

#header ul,
#header li {
	margin: 0;
	padding: 0;
}

#header .nav-menu {
	float: right;
	text-align: right;
	margin-top: 35px;
	width: 80%;
}

#header .nav-menu li {
	display: inline-block;
	position: relative;
}

#header .nav-menu li + li {
	margin-left: 15px;
}

#header .nav-menu li ul {
	border: solid 1px #1a171b;
	border-top: solid 5px #1a171b;
	display: none;
	background: #f6f5ee;
	position: absolute;
	top: 40px;
	left: -1px;
	text-align: left;
	z-index: 200;
	min-width: 120px;
}

#header .nav-menu li:hover ul {
	display: block;
}

#header .nav-menu > li.current-menu-ancestor a,
#header .nav-menu > li:hover a {
	background: #f6f5ee;
	color: #1a171b;	
}

#header .nav-menu li ul li {
	display: block;
	text-align: left;
}

#header .nav-menu li ul li + li {
	margin-left: 0;
}

#header .nav-menu li ul li a {
	color: #1a171b;
	display: block;
	padding: 3px 6px;
	text-transform: none;
	white-space: nowrap;
}

#header .nav-menu li ul li a:hover {
	color: #f6f5ee;
	background: #1a171b;	
}

#header .nav-menu li a {
	color: #f6f5ee;
	display: inline-block;
	padding: 10px 5px;
	text-transform: uppercase;
}

#header .nav-menu li.current_page_item a {
	background: #f6f5ee;
	color: #1a171b;
}

#header .nav-menu li a:hover {
	background: #f6f5ee;
	color: #1a171b;
	text-decoration: none;
}

.mobile-toggle {
	cursor: pointer;
	display: none;
	font-size: 1.1em;
	font-weight: bold;
	position: absolute;
	top: 0;
	height: 60px;
	right: 20px;
	width: 30px;
	z-index: 21;
	text-decoration: none;
}

.mobile-toggle .relative {
	position: relative;
}

.mobile-toggle .line {
	background: #fff;
	border-radius: 2px;
	height: 2px;
	left: 0;
	width: 100%;
	position: absolute;
	-webkit-transition: all linear 0.15s;
	-moz-transition: all linear 0.15s;
	-ms-transition: all linear 0.15s;
	-o-transition: all linear 0.15s;
}

.mobile-toggle .line-1 {
	top: 0px;	
}

.mobile-toggle .line-2 {
	top: 10px;	
}

.mobile-toggle .line-3 {
	top: 20px;	
}

body.menu-open .mobile-toggle .line-1 {
	top: 9px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

body.menu-open .mobile-toggle .line-3 {
	top: 9px;
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

body.menu-open .mobile-toggle .line-2 {
	opacity: 0;
}

/* @end */

/* @group home */

.owl * {
	backface-visibility: hidden;
}

.owl .slide:nth-child(n+2) {
	display: none;
}

.owl-nav > div {
	position: absolute;
	top: 50%;
	margin-top: -20px;
	text-indent: -200px;
	overflow: hidden;
	height: 40px;
	width: 40px;
}

.page-template-page-beer .owl-carousel .owl-item {
	padding: 0 60px;
}

.owl-prev {
	background: url('images/arrow-left.png') no-repeat center;
	left: 20px;
}

.owl-next {
	background: url('images/arrow-right.png') no-repeat center;
	right: 20px;
}

.line {
	background: #1a171b;	
	height: 3px;
	margin: 30px auto;
	max-width: 250px;
}

.intro {
    font-family: 'canterlight';
	font-variant: small-caps;
	font-size: 4em;
}


.parallax {
	height: 300px;
	width: 100%;
	margin: 30px 0;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
	color: #fff;
	position: relative;
	background-size: cover;
}

.gray {
	background: #e4e3dd;
	padding: 30px 0;
}

.title {
	margin-top: 0;
}

#newsfeed {
	text-align: center;
}

.more-collapse {
	display: none;
}

.more {
	font-weight: bold;
	font-size: 1.2em;
}

.more-collapse,
.more {
	cursor: pointer;
}

.more-collapse {
	background: #1a171b;
	margin-top: 30px;
	padding-top: 30px;
	padding-bottom: 30px;
	margin-bottom: -30px;
}

.more-close {
	background: #e4e3dd;
	display: inline-block;
	height: 30px;
	float: right;
	font-size: 1.3em;
	line-height: 30px;
	text-align: center;
	border-radius: 50%;
	width: 30px;
}

.more-close i {
	color: #1a171b;
}

.more-collapse * {
	color: #e4e3dd;
}

.more-collapse h2 {
	font-size: 3.5em;
	text-align: center;
}

.more-collapse .two-col {
	font-size: 1.2em;
	text-align: justify !important;
	line-height: 1.6em;
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
	  -webkit-column-gap: 50px; /* Chrome, Safari, Opera */
    -moz-column-gap: 50px; /* Firefox */
    column-gap: 50px;
}

/* @end */

/* @group footer */

footer {
	padding: 30px 0;
}

footer .line {
	margin:  15px 0;
	max-width: none;
}

footer .top {
	cursor: pointer;
	display: block;
	margin: 0 auto;
}

.credits {
	font-size: 0.8em;
}

.credits a {
	text-decoration: underline;
}

/* @end */

/* @group page */

#page {
	padding-top: 30px;
}

.page-template-single-php #page,
.page-template-page-contacts #page {
	margin-top: -30px;
	padding-top: 0;
}

.page h1 {
	font-size: 4em;
	margin-bottom: 30px;
	text-transform: uppercase;
}

.page h2 {
	font-size: 3em;
}

.entry-content {
	margin: 30px 0 30px;
}

.entry-content.col2 {
	text-align: justify;
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
    -webkit-column-gap: 40px; /* Chrome, Safari, Opera */
    -moz-column-gap: 40px; /* Firefox */
    column-gap: 40px;
}

.social li {
	display: inline-block;
	margin-right: 10px;
}

.social li a i {
	background: #000;
	text-align: center;
	font-size: 1.2em;
	color: #f6f5ee;
	border-radius: 50%;
	line-height: 30px;
	height: 30px;
	width: 30px;
}

/* @end */

/* @group beers */

.page-id-13 .beer-head {
	background: #1a171b;
	color: #f6f5ee;
	margin-top: -30px;
	padding-top: 30px;
}

.owl-beer {
	background: #1a171b;
	color: #fff;
	padding: 40px 0;
}

.owl-beer img {
	max-width: 450px;
	max-height: 500px;
	width: auto !important;
	display: block;
	margin: 0 auto; 
}

.owl-beer h2 {
	border-bottom: solid 4px #fff;
	display: inline-block;
	font-size: 4em;
	margin: 0 0 20px;
}

.beer-container h2 {
	font-size: 1.8em;
}

.owl-beer .text {
	font-size: 1.2em;
}

.beer-container {
	padding-top: 50px;
	text-align: center;
}

.beer-item {
	cursor: pointer;
	padding-top: 15px;
	display: inline-block;
	width: 25%;
}

.beer-item.active {
	background: #ccc;
}

.beer .show-xs {
	display: none;
}

.page-id-15 .owl-carousel .owl-item img,
.page-id-15 .beer img {
	max-width: 70%;
}

.beer img {
	max-width: 70px;
	margin: 0 auto;
}

.box {
	margin-bottom: 30px;
}

.box h2 {
	font-size: 2.4em;
	margin: 10px 0;
}

/* @end */

/* @group stockist */

.toggle-container {
	display: none;
}

.toggle-container.open {
	display: block;
}

.toggle-button {
	cursor: pointer;
}

.continent {
    font-family: 'canterlight';
    font-size: 1.8em;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.6em;
}

.country {
	color: #000;
	font-size: 2em;
	line-height: 0.9em;
}

.country > .toggle-button {
	margin-bottom: 10px;
}

.state > .toggle-button {
	background: #1a171b;
	color: #f6f5ee;
	padding: 5px 10px;
	font-size: 0.6em;
	line-height: 1em;
	margin-bottom: 10px;
}

.state > .toggle-container:last-child {
	margin-bottom: 10px;
}

.city {
	margin-left: 30px;
	font-size: 0.7em;
	text-transform: uppercase;
	line-height: 1em;
}

.city .toggle-button {
	border-bottom: solid 1px #000;
	padding-bottom: 5px;
	margin-bottom: 5px;
}

.shop-img {
	float: left;
	margin-right: 20px;
	max-width: 200px;
}

.shop:after {
	clear: both;
	content: '';
	display: block;
}

.shop-img img {
	width: 100%;
}

.shop .title {
	text-decoration: underline;
}

.shop h3 {
	margin: 0;
}

.shop p {
	margin: 0;
}

.shop {
	margin-bottom: 15px;
}

.shop-data * {
	font-weight: normal !important;
	font-size: 0.6em !important;
	line-height: 1.4em;
	font-family: 'Lato', sans-serif;
}

/* @end */

/* @group block */

.block {
	background: #f6f5ee;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 3000;
	text-align: center;
	justify-content: center;
	align-items: center;
	display: flex;
}

.block .button {
	cursor: pointer;
	display: inline-block;
	margin-bottom: 30px;
	color: #f6f5ee;
	text-transform: uppercase;
	padding: 10px 20px;
	background: #000;
}

.block p {
	font-size: 0.8em;
	margin: 0 auto;
	padding: 0 50px;
	max-width: 800px;
}

.block h2 {
	font-size: 3em;
	font-weight: bold;
}

.block img {
	width: 300px;
}

.block .answer-no {
	display: none;
}

.page-id-215 .beer-container img {
	width: 80%;
	max-width: inherit;
}

/* @end */

@media (max-width: 998px) {
	
	#header #logo {
		margin: 0 auto;
		display: block;
		float: left;
		text-align: center;
	}
	
	#header #menu-principale {
		clear: both;
		display: none;
		float: none !important;
		margin: 10px 0 !important;
		text-align: center;
		width: 100%;
	}
	
	#header .nav-menu li ul {
		top: 30px;
	}

	.mobile-toggle {
		display: block;
	}

	.entry-content.col2 {
		text-align: justify;
		-webkit-column-count: 1; /* Chrome, Safari, Opera */
	    -moz-column-count: 1; /* Firefox */
	    column-count: 1;
	    -webkit-column-gap: 0; /* Chrome, Safari, Opera */
	    -moz-column-gap: 0; /* Firefox */
	    column-gap: 0;
	}

	#header #menu-principale li,
	#header #menu-principale li a {
		display: block;
		padding: 3px;
	}
	
	#header #menu-principale li ul {
		display: block;
		position: relative;
		top: inherit;
	}
	
	#header #menu-principale li ul li a {
		text-align: center;
	}
	
	#header .nav-menu li + li {
		margin-left: 0;
	}
	
	#header #menu-principale li a {
		font-size: 0.8em !important;
	}
	
	.page-template-single-php #page,
	.page-template-page-contacts #page {
		margin-top: 0 !important;
	}
	
	.parallax {
		display: none;
	}
	
	.parallax-mobile {
		display: block;
		width: 100%;
	}

	.intro {
		font-size: 3em;		
	}
	
	footer {
		text-align: center;
	}
	
	.shop-img {
		width: 100%;
		max-width: none;
		margin: 0 0 10px;
	}

}

@media (max-width: 750px) {

	.owl-carousel .owl-item {
		padding: 0;
	}

	.beer-container  {
		display: block;
	}

	.beer-item.active {
		background: inherit !important;
	}

	.beer-item {
		margin-bottom: 80px;
		width: 100%;
	}

	.beer .show-xs {
		display: block;
	}
	
	.more-collapse .two-col {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
		text-align: left !important;
}


}