@font-face {
	font-family:'Montserrat'; /* Regular */
	src: url('webfont/Montserrat-Regular_gdi.eot');
	src: url('webfont/Montserrat-Regular_gdi.eot?#iefix') format('embedded-opentype'),
		url('webfont/Montserrat-Regular_gdi.woff') format('woff'),
		url('webfont/Montserrat-Regular_gdi.ttf') format('truetype'),
		url('webfont/Montserrat-Regular_gdi.svg#Montserrat-Regular') format('svg');
	font-weight: 400;
	font-style: normal;
	font-stretch: normal;
	unicode-range: U+0020-25CA;
}

@font-face {
	font-family:'Montserrat'; /* Thin */
	src: url('webfont/Montserrat-Thin_gdi.eot');
	src: url('webfont/Montserrat-Thin_gdi.eot?#iefix') format('embedded-opentype'),
		url('webfont/Montserrat-Thin_gdi.woff') format('woff'),
		url('webfont/Montserrat-Thin_gdi.ttf') format('truetype'),
		url('webfont/Montserrat-Thin_gdi.svg#Montserrat-Thin') format('svg');
	font-weight: 200;
	font-style: normal;
	font-stretch: normal;
	unicode-range: U+0020-25CA;
}

@font-face {
	font-family:'Montserrat'; /* Light */
	src: url('webfont/Montserrat-Light_gdi.eot');
	src: url('webfont/Montserrat-Light_gdi.eot?#iefix') format('embedded-opentype'),
		url('webfont/Montserrat-Light_gdi.woff') format('woff'),
		url('webfont/Montserrat-Light_gdi.ttf') format('truetype'),
		url('webfont/Montserrat-Light_gdi.svg#Montserrat-Light') format('svg');
	font-weight: 300;
	font-style: normal;
	font-stretch: normal;
	unicode-range: U+0020-25CA;
}

@font-face {
	font-family:'Montserrat'; /* Bold */
	src: url('webfont/Montserrat-Bold_gdi.eot');
	src: url('webfont/Montserrat-Bold_gdi.eot?#iefix') format('embedded-opentype'),
		url('webfont/Montserrat-Bold_gdi.woff') format('woff'),
		url('webfont/Montserrat-Bold_gdi.ttf') format('truetype'),
		url('webfont/Montserrat-Bold_gdi.svg#Montserrat-Bold') format('svg');
	font-weight: 700;
	font-style: normal;
	font-stretch: normal;
	unicode-range: U+0020-25CA;
}

@font-face {
	font-family:'Montserrat'; /* Black */
	src: url('webfont/Montserrat-Black_gdi.eot');
	src: url('webfont/Montserrat-Black_gdi.eot?#iefix') format('embedded-opentype'),
		url('webfont/Montserrat-Black_gdi.woff') format('woff'),
		url('webfont/Montserrat-Black_gdi.ttf') format('truetype'),
		url('webfont/Montserrat-Black_gdi.svg#Montserrat-Black') format('svg');
	font-weight: 900;
	font-style: normal;
	font-stretch: normal;
	unicode-range: U+0020-25CA;
}


body {
	font-family: 'Montserrat';
	padding: 0;
	margin: 0;
	font-size: 16px;
	background: #0b0b0b;
	color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

.container {
	margin: 0 auto;
	width: 100%;
	position: relative;
}

.container:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.container { display: inline-block; }
/* start commented backslash hack \*/
* html .container { height: 1%; }
.container { display: block; }
/* close commented backslash hack */

header {
	position: relative;
	overflow: hidden;
	height: 100%;
	height: 100vh;
	min-height: 650px;
	background: url('../images/header-screenshot.png') no-repeat center center;
	-webkit-background-size: cover;
	background-size: cover;
}
.header-over .container {
	height: 680px;
}

#header-video {
	display:none;
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: 0;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.header-over {
	background: url('../images/pattern.png') top left;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	box-shadow: inset 0px 0px 200px rgba(0,0,0,0.5);
}

.header-bar {
	z-index: 100000;
	position: fixed;
	width: 100%;
	height: 90px;
	display: block;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.logo img {
	width: 120px;
	margin: 25px 0 0 30px;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.boca {
	display: block;
	position: absolute;
	width: 220px;
	height: 820px;
	background: url('../images/bottle.png') no-repeat;
	-webkit-background-size: contain;
	background-size: contain;
}

.header-text {
	color: #FFF;
	text-shadow: 3px 3px 3px rgba(0,0,0,0.5);
	font-family: 'Montserrat';
	position: absolute;
	top: 100px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: default;
	width: 100%;
	padding: 0 !important;
}

.header-txt-1 {
	display: block;
	font-weight: 700;
	font-size: 60px;
	font-size: 17vw;
	text-transform: uppercase;
	line-height: 1;
	text-align: center;
}

.header-txt-2 {
	display: block;
	font-weight: 300;
	font-size: 23px;
	font-size: 6.6vw;
	text-transform: uppercase;
	text-align: center;
}

.header-txt-3 {
	display: block;
	font-weight: 200;
    font-size: 24px;
    font-size: 8vw;
	margin-top: 20px;
	text-align: center;
}

h1 {
	font-size: 2rem;
	margin: 50px 0px 30px;
	font-family: 'Kaushan Script';
	font-weight: normal;
	line-height: 1;
	padding: 0 30px;
	text-align: center;
}

p {
	margin: 0px;
	font-weight: 300;
	font-size: 14px;
	line-height: 1.5;
	color: #CCC;
	padding: 0 30px 15px;
}

.wrapper {
	position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-bottom:56.25%;
    display: block;
    margin: 30px auto 50px;
}

.wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left:0px;
    overflow: hidden;
}

#quote {
	min-height: 380px;
	width: 100%;
	background: url('../images/pattern.png'), url('../images/bg_winery.jpg');
	background-position: top left, left center;
	background-repeat: repeat, no-repeat;
	background-attachment: fixed, fixed;
	-webkit-background-size: auto, 100%;
	background-size: auto, 100%;
	-webkit-background-size: auto, cover;
	background-size: auto, cover;
	text-shadow: 3px 3px 3px rgba(0,0,0,0.5);
}

#quote .container {
	min-height: 380px;
}

#quote .container p {
	font-size: 36px;
	font-size: 7vw;
	font-weight: 200;
	color: #FFF;
	line-height: 1.2;
	text-align: center;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

#quote .container p strong {
	font-weight: 400;
}

#quote .container p span {
	display: block;
	text-align: right;
	font-family: 'Kaushan Script';
	margin-top: 15px;
}

.members {
	position: relative;
	width: 100%;
	height: auto;
	margin-top: 30px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;    

}

.members a[class^="person-"] {
	display: block;
	width: 50%;
	float: left;
	height: 0;
	padding-bottom: 50%;
	-webkit-transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
	-o-transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
	transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
	-webkit-background-size: 110%;
	background-size: 110%;
	-webkit-background-size: cover;
	background-size: cover;
	background-position: top center;
	-webkit-filter: grayscale(1);
	filter: grayscale(1);
	cursor: pointer;
}


.members a[class^="person-"]:hover {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
}

.members div[class*="info-person-"] {
	/*opacity: 0;*/
	display: none;
	visibility: hidden;
	left: 30px;
	right: 30px;
	top: 30px;
	padding-top: 15px;
	/*position: absolute;*/
	-webkit-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;
}


.members div[class*="info-person-"] a {
	color: #715c83;
	font-weight: 300;
	font-size: 15px;
	text-decoration: none;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.members div[class*="info-person-"] a:hover {
	color: #FFF;
}

.members div[class*="info-person-"] a:first-of-type {
	margin-right: 15px;
}

.members div[class*="info-person-"] span.close {
	position: absolute;
	top: -40px;
    left: 0;
    font-size: 36px;
    font-weight: 700;
    background: #715c83;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1;
	cursor: pointer;
}

.members div[class*="info-person-"] h1 {
    margin-top: 0;
}

.members .person-1 {
	background-image: url('../images/andrija.jpg');
}
.members .person-2 {
	background-image: url('../images/silvija.jpg');
}
.members .person-3 {
	background-image: url('../images/kristijan.jpg');
}
.members .person-4 {
	background-image: url('../images/toni.jpg');
}

.members.active-person-1 .info-person-1, .members.active-person-2 .info-person-2, .members.active-person-3 .info-person-3, .members.active-person-4 .info-person-4 {
	/*opacity: 1;*/
	display: block;
	visibility: visible;
}

.members.active-person-1 .person-2,
.members.active-person-1 .person-3,
.members.active-person-1 .person-4,
.members.active-person-2 .person-1,
.members.active-person-2 .person-3,
.members.active-person-2 .person-4,
.members.active-person-3 .person-1,
.members.active-person-3 .person-2,
.members.active-person-3 .person-4,
.members.active-person-4 .person-1,
.members.active-person-4 .person-2,
.members.active-person-4 .person-3
 {
	/*opacity: 0;*/
	display: none;
	visibility: hidden;
}

.members.active-person-1 .person-1, .members.active-person-2 .person-2, .members.active-person-3 .person-3, .members.active-person-4 .person-4 {
	/*opacity: 0;*/
	display: none;
}

.menu-toggle {
	position: absolute;
	top: 30px;
	right: 30px;
	background: url('../images/menu.png') no-repeat top left;
	-webkit-background-size: 200%;
	background-size: 200%;
	width: 30px;
	height: 30px;
	color: transparent;
	text-indent: -9999px;
}

.close {
	top: 0;
	left: 0px;
}

#navigation {
	position: fixed;
	z-index: 999999;
	visibility: hidden;
	top: 0;
	right: -100%;
	width: 100%;
	height: 100%;
	height: 100vh;
	overflow-y: auto;
	background: #715c83;
	padding-top: 100px;
	-webkit-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

#navigation.opened-navigation {
	right: 0%;
	opacity: 1;
	visibility: visible;
}

#navigation a:nth-child(n+2) {
	display: block;
	text-align: right;
	font-size: 24px;
	font-weight: 700;
	padding: 20px 50px;
	color: #FFF;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

#navigation:hover a:nth-child(n+2) {
	opacity: 0.5;
}

#navigation a:nth-child(n+2):hover {
	opacity: 1;
}

#winery {
	padding: 1px 0;
}

#aboutus {
	margin-bottom: 50px;
}

.opened-navigation .menu-toggle {
	background-position: -30px 0;
	-webkit-background-size: 200%;
	background-size: 200%;
}

.boca-1 {
	right: -10px;
	width: 130px;
	height: 450px;
	bottom: -50px;
	top: auto;
	z-index: 2;
}

.boca-2 {
	width: 110px;
	bottom: 15px;
	right: 70px;
	height: 350px;
	z-index: 1;
}


footer {
	background: #111;
	text-align: center;
	font-weight: 300;
}

footer a {
	color: #777;
	text-decoration: none;
	padding: 30px;
	display: block;
}

footer a:hover {
	color: #FFF;
}

.header-bar {
	background-color: rgba(0,0,0,0.8);
	height: 90px;
}

.members div[class*="info-person-"] p a {
	display: block;
	margin-bottom: 5px;
}

.members div[class*="info-person-"] p a.fb, .members div[class*="info-person-"] p a.insta, .members div[class*="info-person-"] p a.linked {
	width: 25px;
	height: 25px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
	color: transparent;
	text-indent: -9999px;
	background: url('../images/socials.png') 0 0 no-repeat;
	-webkit-background-size: 300%;
	background-size: 300%;
	opacity: 0.6;
	margin-top: 5px;
}

.members div[class*="info-person-"] p a.fb:hover, .members div[class*="info-person-"] p a.insta:hover, .members div[class*="info-person-"] p a.linked:hover {
	transform: scale(1.2);
	opacity: 1;
}

.members div[class*="info-person-"] p a.insta {
	background-position: 50% 0px;
}

.members div[class*="info-person-"] p a.linked {
	background-position: 100% 0px;
}


/* Medium Tablet 640px */
@media screen and (min-width: 40em) {


	.members div[class*="info-person-"] p a {
		display: inline-block;
		margin-bottom: 0;
	}

	.header-txt-1 {
		font-size: 78px;
		text-align: left;
	}
	.header-txt-2 {
		font-size: 30px;
		text-align: left;
	}
	.container {
		width: 620px;
	}

	.header-txt-3 {
		margin-top: 50px;
		text-align: left;
		font-size: 24px;
	}

	p {
		padding: 0 0 15px 0;
		max-width: 620px;
		margin: 0 auto;
	}

	header, .header-over .container {
		height: 680px;
	}

	.logo {
		position: absolute;
		top: 30px;
		left: 50px;
	}

	.header-text {
		top: 250px;
		width: auto;
	}

	#header-video {
		display: block;
	}

	.members {
		height: 300px;
	}

	.members a[class^="person-"] {
		width: 25%;
		height: 300px;
		position: absolute;
		float: none;
		height: 300px;
		padding-bottom: 0%;
	}

	.members.active-person-1 .person-1, .members.active-person-2 .person-2, .members.active-person-3 .person-3, .members.active-person-4 .person-4 {
		opacity: 0;
		display: block;
	}

	.members.active-person-1 .person-2,
	.members.active-person-1 .person-3,
	.members.active-person-1 .person-4,
	.members.active-person-2 .person-1,
	.members.active-person-2 .person-3,
	.members.active-person-2 .person-4,
	.members.active-person-3 .person-1,
	.members.active-person-3 .person-2,
	.members.active-person-3 .person-4,
	.members.active-person-4 .person-1,
	.members.active-person-4 .person-2,
	.members.active-person-4 .person-3
	 {
		opacity: 0;
		display: block;
	}

	.members div[class*="info-person-"] {
		opacity: 0;
		display: block;
		visibility: hidden;
		left: 25%;
		padding-left: 30px;
		top: 0;
		padding-top: 0;
		position: absolute;
		-webkit-transition: opacity 0.3s ease-in-out;
		-o-transition: opacity 0.3s ease-in-out;
		transition: opacity 0.3s ease-in-out;
	}

	h1 {
		padding: 0;
	}

	.members .person-1 {
		left: 0;
	}
	.members .person-2 {
		left: 25%;
	}
	.members .person-3 {
		left: 50%;
	}
	.members .person-4 {
		left: 75%;
	}

	.members.active-person-3 .person-3, .members.active-person-4 .person-4 {
		left: 0%;
		-webkit-filter: grayscale(0) !important;
		filter: grayscale(0) !important;
		opacity: 1;
	}

	.members.active-person-1 .person-1, .members.active-person-2 .person-2 {
		left: 75%;
		-webkit-filter: grayscale(0) !important;
		filter: grayscale(0) !important;
		opacity: 1;
	}

	.members .info-person-1, .members .info-person-2 {
		left: 0% !important;
		right: 25% !important;
		padding-right: 30px;
		padding-left: 0 !important;
	}

	.members .info-person-1 span.close, .members .info-person-2 span.close {
		right: -40px !important;
		left: auto !important;
	}

	.members div[class*="info-person-"] span.close {
		position: absolute;
		top: 0;
	    left: -40px;
	    font-size: 36px;
	    font-weight: 700;
	    background: #715c83;
	    width: 40px;
	    height: 40px;
	    box-sizing: border-box;
	    text-align: center;
	    line-height: 1;
		cursor: pointer;
	}

	.members.active-person-1 .info-person-1, .members.active-person-2 .info-person-2, .members.active-person-3 .info-person-3, .members.active-person-4 .info-person-4 {
		opacity: 1;
	}

	#navigation a:nth-child(n+2) {
		display: block;
		font-size: 48px;
	}

	.boca-1	{
		bottom: -77px;
		width: 150px;
		height: 465px;
		right: -10px;
		background-position: bottom;
		z-index: 1;
	}

	.boca-2 {
		bottom: -56px;
		width: 140px;
		height: 410px;
		right: 70px;
		background-position: bottom;
		z-index: 0;
	}

	.header-bar {
		background: transparent;
	}

	.header-bar.fixed-bar {
		background-color: rgba(0,0,0,0.5);
		height: 90px;
	}

	.header-bar.fixed-bar .logo img {
		width: 100px;
		margin: 0;
	}

	#quote .container p {
		font-size: 36px;
	}

	#quote, #quote .container {
		max-width: 100%;
		height: 580px;
	}

	#quote .container p {
		max-width: 100%;
	}

}





/* Desktop 1024px */

@media screen and (min-width: 64em) {
	.container {
		width: 960px;
	}

	.menu-toggle {
		position: absolute;
		top: 30px;
		right: 50px;
	}

	.logo img {
		width: 160px;
		height: auto;
		margin: 0;
	}

	.boca-1 {
		width: 282px;
		height: 882px;
		z-index: 2;
		top: -25px;
		right: 0;
	}

	.boca-2 {
		width: 200px;
		height: 700px;
		z-index: 1;
		top: 150px;
		right: 170px;
	}

}