html, body {
  position: relative;
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-y: auto;
	width: 100%;
}

body {
	height: 100%;
	width: 100%;
	margin: 0 auto;
	background-color: #fcbc1f;
	color: #222;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

*:focus {
    outline: none;
}

img {
	max-width: 100%;
	height: auto;
	border: none;
	outline: none;
}

input.text, input.action, button, textarea {
	-webkit-appearance: none;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	border-radius: 4px;
}

input.text {
	border: 1px solid #CCC;
	padding: 12px 12px;
	font-size: 14px;
	color: #dda51b;
	box-sizing: border-box;
}

textarea {
	border: 1px solid #CCC;
	border-radius: 4px;
	padding: 12px 12px;
	font-size: 14px;
	color: #dda51b;
	resize: vertical;
	box-sizing: border-box;
}

fieldset {
	padding: 0px;
	margin: 0px;
}

button, .button, input.action {
	display: inline-block;
	background-color: #fcbc1f;
  border-radius: 3px;
  border: 0 none !important;
	font-size: 16px;
  font-weight: bold;
	padding: 10px 26px 12px;
	color: #222 !important;
	transition: background-color 0.2s ease-in-out !important;
	cursor: pointer;
	text-shadow: none;
}

.button.small {
  padding: 5px 16px 7px;
  font-size: 13px;
}

button:hover,
.button:hover,
input.action:hover {
	background-color: #cf9c18;
}

.button__secondary:hover {
  background-color: #eee;
}

.button a {
  color: white;
}

p {
  margin: 0px;
  padding-bottom: 20px;
}

a {
	color: #fcbc1f;
	text-decoration: none;
	border: none;
	outline: none;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
  margin-top: 0px;
  margin-bottom: 20px;
}

h1 {
	font-size: 24px;
}

h2 {
	font-size: 20px;
}

h3 {
	font-size: 18px;
}

h4 {
	font-size: 16px;
}

h5, h6 {
	font-size: 14px;
}

ul {
  margin-top: 0px;
}

hr {
	border: 0 none;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	margin: 10px 0px 30px;
}

/* COMMON */
.clear {
	clear: both;
}

.paper-bg {
	background-image: url('../images/lightpaperfibers.png');
	background-repeat: repeat;
}

.black-paper-bg {
	background-image: url('../images/black_paper.png');
	background-repeat: repeat;
}

.kbf-logo {
	position: relative;
	display: inline-block;
	width: 170px;
	height: 103px;
	background-size: cover;
	background-image: url('../images/kbf-logo.png');
	z-index: 1;
}

.kbf-logo.small-logo {
	width: 140px;
	height: 84px;
}

.kbf-logo.big-logo {
	width: 280px;
	height: 169px;
}

.kbf-logo.black-logo {
	background-image: url('../images/kbf-logo-black.png');
}

.kbf-logo.dark-bg {
	background-image: url('../images/kbf-logo-dark-bg.png');
}

.max-div {
	position: relative;
	width: 100%;
	max-width: 1200px;
	box-sizing: border-box;
	padding: 0 20px;
	margin: 0 auto;
}

.max-div-forced {
	max-width: 1200px !important;
} 

.full-div {
	position: relative;
	width: 100%;
}

.light-color {
	color: #222;
}


/* PAGES */
#super-body {
	position: relative;
}

#front-page-hero {
	position: relative;
	overflow: hidden;
}

#front-page-hero video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	min-width: 100%;
	min-height: 100%;
}

#front-page-hero__overlay {
	position: absolute;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: #171103;
	opacity: 0.8;
	z-index: 1;
}

#front-page-hero__content {
	position: relative;
	z-index: 1;
	color: white;
	text-align: center;
	margin-top: 140px;
	margin-bottom: 100px;
	max-width: 540px;
	text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
}

#front-page-hero__content .kbf-logo {
	margin-bottom: 20px;
}

#page-highlights {
	padding: 40px 0px 0px;
}

#page-highlights .max-div {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
}

.page-highlight {
	position: relative;
	width: 31%;
	background-color: white;
	border-radius: 6px;
	margin-bottom: 4%;
	box-shadow: 1px 1px 10px rgba(0,0,0,0.2);
	overflow: hidden;
	text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
	z-index: 1;
}

.page-highlight__image {
	position: relative;
	top: 0px;
	width: 100%;
	height: 240px;
	background-size: cover;
	background-position: center;
	transition: transform 0.3s ease-in-out;
}

.page-highlight__overlay {
	position: absolute;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(23,17,3,0.5);
	transition: background-color 0.3s ease-in-out;
}

.page-highlight__content {
	position: absolute;
	width: 100%;
	padding: 15px 20px 25px;
	text-align: center;
	color: white;
	bottom: 0px;
	transform: translateY(60px);
	transition: transform 0.3s ease-in-out;
	box-sizing: border-box;
}

.page-highlight__content h2 {
	margin-bottom: 10px;
}

.page-highlight:hover .page-highlight__image {
	transform: scale(1.1, 1.1);
}

.page-highlight:hover .page-highlight__overlay {
	background-color: rgba(23,17,3,0.8);
}

.page-highlight:hover .page-highlight__content {
	transform: translateY(0px);
}

#partners {
	text-align: center;
	padding: 30px 0px 20px;
	background-color: rgba(0,0,0,0.05);
}

#partners h3 {
	margin-bottom: 30px;
}

#partners a {
	display: inline-block;
	max-width: 150px;
	max-height: 100px;
	vertical-align: middle;
	margin: 0px 25px 20px;
}

#some {
	padding: 0px;
}

#some .max-div {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
}

.some-item {
	position: relative;
	width: 48%;
	background-color: white;
	border-radius: 6px;
	margin-bottom: 4%;
	box-shadow: 1px 1px 10px rgba(0,0,0,0.2);
	overflow: hidden;
	z-index: 1;
	min-height: 200px;
}

.some-item__image {
	position: absolute;
	left: 0px;
	top: 0px;
	height: 100%;
	min-height: 200px;
	width: 200px;
	background-size: cover;
	background-position: center;
}

.some-item__content {
	padding: 20px 20px 20px 20px;
	font-size: 14px;
}

.some-item__content.content-with-picture {
	padding-left: 220px;
}

.some-item h5 {
	color: #888;
	font-weight: normal;
}

a.some-item__link {
	color: #dda51b;
	font-weight: bold;
}


#footer {
	background-color: #fcbc1f;
	padding: 30px 0px;
	text-align: center;
}

#footer p {
	font-size: 12px;
	padding-top: 20px;
	text-shadow: none;
	opacity: 0.4;
	text-transform: uppercase;
}

#footer .fb-like {
	display: block;
	margin-bottom: 20px;
}

#footer-links a {
	color: #222;
	font-size: 14px;
}

a.some-icon {
	display: inline-block;
	width: 30px;
	height: 30px;
	background-size: cover;
	margin: 10px;
	transition: all 0.3s ease 0s;
	opacity: 0.6;
}

a.some-icon:hover {
	transform: scale3d(1.2,1.2,1.2);
	opacity: 0.8;
}

a.some-icon.icon-facebook {
	background-image: url("../images/facebook-icon@2x.png");
}

a.some-icon.icon-instagram {
	background-image: url("../images/instagram-icon@2x.png");
}

a.some-icon.icon-youtube {
	background-image: url("../images/youtube-icon@2x.png");
}

#page-hero {
	position: relative;
	width: 100%;
	background-size: cover;
	background-position: center;
}

#page-hero__overlay {
	position: absolute;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: #171103;
	opacity: 0.8;
	z-index: 1;
}

#page-hero__content {
	position: relative;
	padding-top: 150px;
	padding: 15vw 20px 20px;
	color: white;
	text-align: center;
	z-index: 1;
}

#page-hero__content .kbf-logo {
	margin-bottom: 20px;
}

#content {
	padding: 40px 0px 20px;
}

#content .max-div {
	max-width: 700px;
}

#content a {
	color: #dda51b;
	border-bottom: 2px solid transparent;
	transition: border-color 0.15s ease-in-out;
}

#content a:hover {
	border-bottom: 2px solid #dda51b;
}

#navi-toggle{
  position: fixed;
  display: block;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 50px;
  background-color: #fcbc1f;
  z-index: 10;
  transition: all 0.4s ease 0s;
}

.navi-open #navi-toggle .navi-button-line{
  left: 10px;
}

.navi-button-line{
  position: absolute;
  height: 3px;
  background-color: #222;
  width: 24px;
  left: 10px;
  transition: all 0.4s ease 0s;
  border-radius: 2px;
}

.navi-button-line.line-1{
  margin-top: 13px;
}

.navi-button-line.line-2{
  margin-top: 21px;
}

.navi-button-line.line-3{
  margin-top: 29px;
}

.navi-open .navi-button-line.line-1{
  margin-top: 21px;
  transform: rotate(225deg);
  -webkit-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
}

.navi-open .navi-button-line.line-2{
  transform: rotate(-225deg);
  -webkit-transform: rotate(-225deg);
  -ms-transform: rotate(-225deg);
}

.navi-open .navi-button-line.line-3{
  margin-top: 21px;
  transform: rotate(225deg);
  -webkit-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
}

#slide-navi {
  position: fixed;
  transform: translateX(-100%);
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);

  top: 0px;
  left: 0px;
  width: 320px;
  max-width: 100%;
  height: 100%;
  transition: all 0.5s ease 0s;
  -ms-transition: all 0.5s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  text-align: center;
  z-index: 5;
  background-size: cover;
  text-align: center;
  box-sizing: border-box;
	background-color: #fcbc1f;
	color: #222;
	opacity: 0;
}

.navi-open #slide-navi {
	opacity: 1;
	transform: translateX(0);
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
}

#navi-fader {
	position: fixed;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: #171103;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	pointer-events: none;
	z-index: 3;
}

.navi-open #navi-fader{
	opacity: 0.7;
	pointer-events: all;
}

#navi-links {
	margin: 34px 20px;
}

#navi-links .navi-item a {
	display: inline-block;
	color: #222;
	font-weight: bold;
	margin-bottom: 20px;
	padding-bottom: 2px;
	transition: transform 0.15s ease-in-out;
}

#navi-links .navi-item a:hover {
	transform: scale(1.2, 1.2);
}

#navi-links .navi-item a.current {
	border-bottom: 2px solid #222;
}

#navi-links .kbf-logo {
	margin-bottom: 30px;
}

#brewery-list {
 margin-top: 20px;
}

.brewery-item {
	position: relative;
	width: 100%;
	background-color: white;
	border-radius: 6px;
	margin-bottom: 20px;
	box-shadow: 1px 1px 10px rgba(0,0,0,0.2);
	overflow: hidden;
	z-index: 1;
	min-height: 160px;
}

div.brewery-item__image {
	position: absolute;
	left: 30px;
	top: 50%;
	transform: translateY(-50%);
	height: 100px;
	width: 120px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

img.brewery-item__image {
	display: none;
}

.brewery-item__name {
	margin-bottom: 14px;
}

.brewery-item__content {
	padding: 20px 20px 10px 180px;
	font-size: 14px;
}

#food-list {
 margin-top: 20px;
}

.food-item {
	position: relative;
	width: 100%;
	background-color: white;
	border-radius: 6px;
	margin-bottom: 20px;
	box-shadow: 1px 1px 10px rgba(0,0,0,0.2);
	overflow: hidden;
	z-index: 1;
	min-height: 100px;
}

.food-item__image {
	position: absolute;
	left: 0px;
	top: 0px;
	height: 100%;
	width: 160px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.food-item__name {
	margin-bottom: 14px;
}

.food-item__content {
	padding: 20px 20px 10px 180px;
	font-size: 14px;
}

.program-list {
	text-align: left;
	font-size: 15px;
	padding: 0px 0px 0px;
	margin-top: 20px;
	margin-bottom: 40px;
	box-sizing: border-box;
	min-height: 100%;
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 6px;
	overflow: hidden;
	background-color: white;
	box-shadow: 1px 1px 10px rgba(0,0,0,0.2);
}

.program-list:last-child {
	margin-bottom: 20px;
}

#content .program-list h3 {
	text-align: center;
	background-color: #fcbc1f;
	color: #222;
	margin: 0px;
	padding: 8px 0px;
}

.program-item {
	padding: 14px 20px 2px;
	border-top: 1px solid rgba(0,0,0,0.1);
}

.program-item p {
	padding-bottom: 14px;
}

.program-image {
	display: inline-block;
	width: 100%;	
	padding-top: 60%;
	background-size: cover;
	border: 4px solid #FFF;
	background-color: #CCC;
	margin-top: 20px;
	box-sizing: border-box;
	box-shadow: 1px 1px 10px rgba(0,0,0,0.2);
}

.program-name {
	float: left;
	width: 20%;
	padding-right: 3%;
	font-weight: bold;
}

.program-description {
	text-align: left;
	float: left;
	width: 77%;
}

#drink-list {
	margin-top: 20px;
	margin-bottom: 10px;
}

.drink-item {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	display: inline-block;
	padding: 14px 0px 0px;
	background-color: #FFF;
	border-radius: 4px;
	margin-bottom: 10px;
	margin-left: 0px;
	margin-right: 0px;
	vertical-align: top;
	box-shadow: 1px 1px 10px rgba(0,0,0,0.2);
	
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

.drink-item-content {
	text-align: left;
	width: 100%;
	padding-left: 18px;
	padding-right: 18px;
	box-sizing: border-box;
}

.drink-item-bottom {
	padding-top: 14px;
}

.drink-name {
	font-weight: bold;
	font-size: 14px;
	line-height: 18px;
	padding-bottom: 4px;
	font-weight: bold;
}

.drink-description {
	font-weight: normal;
	opacity: 0.7;
}

.drink-available {
	color: #888;
	font-size: 12px;
	padding: 0px 18px 15px;
	box-sizing: border-box;
}

#event-ended-wrapper {
	position: fixed;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(23,17,3,0.9);
	transition: opacity 0.3s ease-in-out;
	z-index: 50;
	overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#event-ended-content {
	position: relative;
	margin: 20vh auto 0px;
	width: 90%;
	max-width: 360px;
	padding: 30px 20px 10px;
	background-color: white;
	box-shadow: 1px 1px 10px rgba(0,0,0,0.2);
	border-radius: 10px;
	box-sizing: border-box;
}

#event-ended-wrapper.remove-event-ended {
	opacity: 0;
}


/* MOBILE */

@media (max-width: 800px) {
  #front-page-hero__content {
		margin-top: 60px;
		margin-bottom: 60px;
		max-width: 540px;
	}

	#page-highlights {
		padding: 20px 0px 0px;
	}

	.page-highlight {
		width: 100%;
		margin-bottom: 20px;
	}

	.page-highlight__image {
		height: 300px;
	}

	.page-highlight__content {
		margin-top: 160px;
		transform: translateY(0);
		padding: 15px 15px 20px;
	}

	.some-item {
		width: 100%;
		min-height: 240px;
	}

	.some-item__image {
		position: relative;
		display: block;
		height: 240px;
		width: 100%;
	}

	.some-item__content {
		padding: 15px;
	}

	.some-item__content.content-with-picture {
		padding-left: 15px;
	}

	.brewery-item {
		text-align: center;
	}

	div.brewery-item__image {
		display: none;
	}

	img.brewery-item__image {
		display: inline-block;
		max-width: 150px;
		max-height: 100px;
		margin: 25px 0px 10px;
	}

	.brewery-item__name {
		margin-bottom: 14px;
	}

	.brewery-item__content {
		padding: 10px 20px 10px 20px;
		font-size: 14px;
	}

	.food-item__image {
		position: relative;
		width: 100%;
		height: 200px;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
	}

	.food-item__content {
		padding: 20px 20px 5px 20px;
		font-size: 14px;
	}

	#partners a {
		max-width: 100px;
		max-height: 50px;
	}

	#slide-navi {
		width: 100%;
	}
}