/*
Theme Name: Condo Wines
*/




/* fonts */

@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 300;
	src: local('Open Sans Light'), url(fonts/roboto/Roboto-Light.ttf) format('ttf');
}
@font-face {
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 300;
	src: local('Open Sans Light Italic'), url(fonts/roboto/Roboto-LightItalic.ttf) format('ttf');
}
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: local('Open Sans Regular'), url(fonts/roboto/Roboto-Regular.ttf) format('ttf');
}
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	src: local('Open Sans Bold'), url(fonts/roboto/Roboto-Bold.ttf) format('ttf');
}
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 900;
	src: local('Open Sans Black'), url(fonts/roboto/Roboto-Black.ttf) format('ttf');
}

body {
	font-family: 'Roboto', sans-serif;
	color: #f1e9df;
	background: #7c7c7b;
	background: -webkit-linear-gradient(to bottom, #7c7c7b , #bcbcbc);
	background: linear-gradient(to bottom, #7c7c7b , #bcbcbc);
	position: relative;
}

h1 {
	font-weight: 900;
	font-size: 5.8em;
	line-height: 1.2;
	margin: 0;
}

.info-text-wrap .info-margin {
	position: absolute;
	width: 170%;
	top: 4em;
	right: 0;
}

.info-item h1 {
	text-shadow: 0 3px 6px rgba(150,150,150,.6);
}

h2 {
	font-size: 1.7em;
	font-weight: 400;
	margin: 0;
	line-height: 1.2;
	text-transform: uppercase;
	color: #a41f35;
}

.highlight-link a {
	/*color: #00FF48;*/
	font-weight: 400;
}

.highlight-link a:hover {
	/*color: #00FF48;*/
}

.red-link a {
	color: inherit;
	font-weight: 800;
	cursor: pointer;
	font-style: italic;
}

.red-link a:hover {
	color: #a41f35;
}

.red-link a:hover, .red-link a:active, .red-link a:focus, .red-link a:visited {
	text-decoration: none;
}

.new-link a {
	font-weight: 700;
	cursor: pointer;
	font-style: italic;
	color: inherit;
	font-size: 1.4em;
}



h3 {
	font-size: 1.6em;
}

p {
	font-size: 1.6em;
	line-height: 1.4;
	font-weight: 300;
	margin: 0 0 1em 0;
}

.intro-text {
	display: block;
	font-size: 2.4em;
	line-height: 1.2;
	font-weight: 700;
	color: #a41f35;
}

.address-wrap > p {
	font-size: 2.4em;
	line-height: 1.2;
	font-weight: 700;
	margin: 0;
	color: #a41f35;
}

.inline-product {
	display: inline-block;
	vertical-align: bottom;
	font-size: 3em;
	line-height: 1;
	font-weight: 900;
}

.inline-year {
	display: inline-block;
	vertical-align: bottom;
	line-height: 1;
	margin-right: .7em;
	margin-bottom: .3em;
	font-size: 1.2em;
}

.wine-type-icon {
	display: inline-block;
	vertical-align: bottom;
	margin-bottom: .5em;
	margin-right: 1em;
	max-width: 1.5em;
}

.product-list > a {
	display: block;
	margin: 1.7em 0;
	color: inherit;
}

.product-list > a:hover {
	text-decoration: none;
	color: #a41f35;
}

.detail-name {
	display: block;
	font-size: 1em;
	font-weight: 300;
}

.detail-value {
	display: block;
	font-size: 1.1em;
	font-weight: 700;
	color: #a41f35;
}

.title-menu > span {
	display: block;
	font-size: 2em;
	font-weight: 900;
	margin: .5em 0;
	/*border-left: 3px solid transparent;*/
	padding-left: .8em;
	line-height: 1.2;
}

.title-menu span:hover {
	/*border-left: 3px solid #a41f35;*/
}

.title-menu a {
	color: inherit;
}

.title-menu a:hover {
	text-decoration: none;
	color: #a41f35;
}

.title-wrap {
	display: inline-block;
}



/* elements */

.spacer-lg {
	height: 4em;
}

.spacer-md {
	height: 3em;
}

.spacer-sm {
	height: 2em;
}

.spacer-xs {
	height: 1em;
}




/* sections */

.info-table {
	display: table;
	width: 100%;
	min-height: 100%;
}

.info-table-inner {
	display: table-cell;
	vertical-align: middle;
}

.watermark-wrap {
	z-index: 1;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

.watermark {
	position: absolute;
	bottom: -25%;
	right: -10%;
	top: 10%;
	left: 0px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom right;
	opacity: .03;
}

.fullpage-container {
	z-index: 2;
}

.section > div {
	/*border-top: 1px solid rgba(0,0,0,.2);
	border-bottom: 1px solid rgba(0,0,0,.2);*/
}

.text-layer {
	position: relative;
	z-index: 3;
	padding: 4em 0;
}

/*.map-layer {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.fp-slide, .fp-tableCell {
	position: relative;
}*/

.bottle-wrap {
	height: 100vh;
	position: relative;
}

.bottle-wrap.info-image-wrap {
	height: 100%;
}

.image-holder {
	position: absolute;
	top: -7%;
	left: 0px;
	right: 0px;
	bottom: -10%;
/*	background-color: gray;*/
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.image-holder.info-holder {
	top: 0px;
	bottom: 0px;
	background-size: cover;
}

.info-wrap {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}

.flex-container {
	padding: 0;
	margin: 0 auto;
	list-style: none;
	position: relative;
	max-width: 1300px;

	-ms-box-orient: horizontal;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;

	-webkit-justify-content: space-around;
	justify-content: space-around;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-align-items: center;
	align-items: center;
}

.flex-item:nth-of-type(1) { flex-grow: .5; flex-basis: 0; }
.flex-item:nth-of-type(2) { flex-grow: 7; flex-basis: 0; }
.flex-item:nth-of-type(3) { flex-grow: .5; flex-basis: 0; }
.flex-item:nth-of-type(4) { flex-grow: 5; flex-basis: 0; }
.flex-item:nth-of-type(5) { flex-grow: .5; flex-basis: 0; }

.flex-item.product-item:nth-of-type(1) { flex-grow: .5; flex-basis: 0; }
.flex-item.product-item:nth-of-type(2) { flex-grow: 4; flex-basis: 0; }
.flex-item.product-item:nth-of-type(3) { flex-grow: .5; flex-basis: 0; }
.flex-item.product-item:nth-of-type(4) { flex-grow: 8; flex-basis: 0; }
.flex-item.product-item:nth-of-type(5) { flex-grow: .5; flex-basis: 0; }

.flex-item.map-item:nth-of-type(1) { flex-grow: .5; flex-basis: 0; }
.flex-item.map-item:nth-of-type(2) { flex-grow: 5; flex-basis: 0; }
.flex-item.map-item:nth-of-type(3) { flex-grow: .5; flex-basis: 0; }
.flex-item.map-item:nth-of-type(4) { flex-grow: 7; flex-basis: 0; }
.flex-item.map-item:nth-of-type(5) { flex-grow: .5; flex-basis: 0; }

.flex-item.award-item:nth-of-type(1) { flex-grow: .5; flex-basis: 0; }
.flex-item.award-item:nth-of-type(2) { flex-grow: 5; flex-basis: 0; }
.flex-item.award-item:nth-of-type(3) { flex-grow: .5; flex-basis: 0; }
.flex-item.award-item:nth-of-type(4) { flex-grow: 7; flex-basis: 0; }
.flex-item.award-item:nth-of-type(5) { flex-grow: .5; flex-basis: 0; }

.flex-item.home-item:nth-of-type(1) { flex-grow: .5; flex-basis: 0; }
.flex-item.home-item:nth-of-type(2) { flex-grow: 6; flex-basis: 0; }
.flex-item.home-item:nth-of-type(3) { flex-grow: .5; flex-basis: 0; }
.flex-item.home-item:nth-of-type(4) { flex-grow: 6; flex-basis: 0; }
.flex-item.home-item:nth-of-type(5) { flex-grow: .5; flex-basis: 0; }

.flex-item.info-item:nth-of-type(1) { flex-grow: .5; flex-basis: 0; }
.flex-item.info-item:nth-of-type(2) { flex-grow: 6; flex-basis: 0; }
.flex-item.info-item:nth-of-type(3) { flex-grow: .5; flex-basis: 0; }
.flex-item.info-item:nth-of-type(4) { flex-grow: 6; flex-basis: 0; }
.flex-item.info-item:nth-of-type(5) { flex-grow: .5; flex-basis: 0; }

.flex-item {
	min-height: 10px;
	padding: 0 5px;
}

.flex-container.info-container {
	-webkit-align-items: stretch;
	align-items: stretch;
	min-height: 100vh;
}







/* site title */

.bold-title {
	display: block;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 10em;
	line-height: .85;
}

.italic-title {
	display: block;
	font-weight: 300;
	font-style: italic;
	text-transform: lowercase;
	font-size: 8em;
	line-height: .85;
}




/* features */

#home {
	position: fixed;
	top: 0px;
	right: 0px;
	z-index: 999;
	font-size: 2em;
	padding: .4em .6em;
	cursor: pointer;
	color: inherit;
}

#lang {
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 999;
	font-size: 2em;
	cursor: pointer;
	color: inherit;
}

#lang > span {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	padding: .8em .95em;
	font-size: .8em;
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
}

#lang > span:nth-of-type(2) {
	display: none;
}

#lang:hover {
	text-decoration: none;
	color: #a41f35;
}

#lang:active, #lang:focus {
	text-decoration: none;
}

#back {
	position: fixed;
	bottom: 0px;
	right: 0px;
	z-index: 999;
	font-size: 2em;
	padding: .4em .6em;
	cursor: pointer;
	color: inherit;
}

#back .fa {
	transition: transform 300ms;
}

#home:hover {
	text-decoration: none;
	color: #a41f35;
}

#back:hover {
	text-decoration: none;
	color: #a41f35;
}



/* contact slide */

.card-wrapper {
	height: 70vh;
	position: relative;
	/*border: 1px solid rgba(0,0,0,.2);*/
	overflow: hidden;
	display: inline-block;
	vertical-align: bottom;
	width: 86%;
	box-shadow: 0 0 10px rgba(0,0,0,.3);
}

.card-button {
	display: inline-block;
	vertical-align: bottom;
	width: 14%;
	min-height: 10px;
	background-color: gray;
	position: relative;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	cursor: pointer;
}

.icon-holder {
	height: 0;
	padding-bottom: 100%;
	background-size: 50%;
	background-repeat: no-repeat;
	background-position: center;
}

.mail-icon {
	background-image: url('img/mail.png');
}

.map-icon {
	background-image: url('img/map.png');
}

.card-wrapper .box {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	transition: top 300ms;
}

.card-wrapper .box:nth-of-type(1) {
	top: 0;
}

.card-wrapper .box:nth-of-type(1).box-minus {
	top: -100%;
}

.card-wrapper .box:nth-of-type(2) {
	background-color: #f1e9df;
	top: 100%;
}

.card-wrapper .box:nth-of-type(2).box-zero {
	top: 0;
}

#leafmap {
	height: 100%;
}

.form-wrap {
	display: table;
	width: 100%;
	height: 100%;
}

.form-inner {
	display: table-cell;
	vertical-align: middle;
	padding: 0 4em;
	color: #333;
}

.form-inner > span {
	display: block;
	text-align: center;
	font-size: 2em;
	margin: 0 0 1.5em 0;
}

.btn-condo {
	display: block;
	margin: 4em auto 0 auto;
	border: none;
	border-radius: 5px;
	background-color: #a41f35;
	color: white;
	font-weight: 900;
	font-size: 1.2em;
	box-shadow: none;
	padding: .7em 3em;
}



.fp-controlArrow.fp-next {
    right: 15px;
    border-width: 23px 0 23px 20px;
    border-color: transparent transparent transparent #f1e9df;
}

.fp-controlArrow.fp-prev {
    left: 15px;
    width: 0;
    border-width: 23px 20px 23px 0;
    border-color: transparent #f1e9df transparent transparent;
}

/* leaflet map styles */

.map-cover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: table;
	/*background-color: rgba(0,0,0,.66);*/
	opacity: 0;
	transition: opacity 150ms;
	cursor: pointer;
}

.map-cover:hover {
	opacity: 1;
}

.map-hover {
	position: relative;
	color: white;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	font-size: 3em;
	font-weight: 800;
	cursor: pointer;
	padding: 0 1.5em;
}

.map-hover span {
	display: block;
}

.leaflet-control-attribution, .leaflet-control-zoom {
	display: none;
}

/* hidden menu */

.hidden-menu span a {
	color: inherit;
	padding: 1.2em .9em .85em .9em;
	display: inline-block;
	font-size: 1.3em;
	font-weight: 800;
}

.hidden-menu span a:hover, .hidden-menu span a:active, .hidden-menu span a:focus, .hidden-menu span a:visited {
	text-decoration: none;
}

.hidden-menu span a:hover {
	color: #a41f35;
}

.hidden-menu {
	position: fixed;
	top: 0;
	right: 5em;
	z-index: 888;
	overflow: hidden;
}

.hidden-menu .items {
	position: relative;
	left: 100%;
	transition: left 450ms ease;
}

.hidden-menu .items.item-align {
	left: 0;
}

/* past products */

.past-toggle {
	display: none;
}

.past-product {
	font-size: 2em;
	font-weight: 800;
}

.past-product .fa {
	margin-right: 1em;
}

.print-download {
	text-align: center;
}

.print-download a {
	display: inline-block;
	margin-top: .7em;
	margin-right: 15%;
	color: inherit;
	font-size: 1.2em;
	font-weight: 700;
}

.print-download a:hover {
	text-decoration: none;
	color: #a41f35;
}

.print-download a span, .print-download a .fa {
	display: inline-block;
	vertical-align: middle;
	line-height: 1;
}


/* awards page */


.award-display-box {
	height: 30em;
	background-color: rgba(241,233,223,.2);
	border: 6px dashed rgb(241,233,223);
	border-radius: 1em;
	display: table;
	position: relative;
	width: 100%;
}

.award-display-box > div {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.award-display-box > div > span {
	font-style: italic;
	font-size: 1.5em;
}

.award-image {
	width: 100%;
	display: none;
}

.award-active {

}

.award-selector {
	cursor: pointer;
}

.award-selector span.award-event {
	display: block;
	font-size: 1.1em;
	font-weight: 300;
}

.award-selector span.award-year {
	display: block;
	font-size: 1.1em;
	font-weight: 700;
}

.award-selector span.award-title {
	display: block;
	font-size: 2em;
	text-transform: uppercase;
	font-weight: 700;
}

.award-selector:hover span.award-title {
	color: #a41f35;
}

/* lang toggle */

.zh-text {
	display: none;
}



/* media queries */

@media screen and (max-width: 991px) {
	body {
		font-size: 12px;
	}
	.flex-container {
		-webkit-flex-direction: column; 
		flex-direction: column;
	}
	.flex-container.list-container {
		-webkit-flex-direction: column-reverse; 
		flex-direction: column-reverse;
	}
	.flex-container.contact-container {
		-webkit-flex-direction: column-reverse; 
		flex-direction: column-reverse;
	}
	.flex-item {
		flex-basis: auto !important;
		width: 100%;
		padding: 0;
		min-height: 4em;
		background-color: transparent;
	}
	.bottle-wrap {
		height: auto;
		width: 100%;
		margin: 0 auto;
	}

	.image-holder {
		position: relative;
		height: 30em;
		top: 0;
		bottom: 0;
	}
	.info-text-spacer {
		display: none;
	}
	.info-text-wrap .info-margin {
		position: relative;
		width: auto;
		top: 0;
		right: 0;
	}
	/*.fullpage-container > .section {
		padding: 0;
		min-height: 100vh;
	}*/
	.text-layer {
		padding: 0 5em;
	}
	.card-wrapper {
		height: 40em;
		display: block;
		width: 100%;
	}
	.card-button {
		display: block;
		width: 100%;
		border-top-right-radius: 0;
		border-bottom-left-radius: 5px;
	}
	.print-download a {
		margin-right: 0;
	}
	.icon-holder {
		height: 5em;
		padding-bottom: 0;
		background-size: auto 50%;
	}
	.flex-item.info-item:nth-of-type(1) {
		min-height: 0;
		flex-grow: 0;
	}
}

@media screen and (max-width: 767px) {
	body {
		font-size: 11px;
	}
	.bold-title {
		font-size: 7em;
	}
	.italic-title {
		font-size: 6em;
	}
	h1 {
		font-size: 3.2em;
	}
	.text-layer {
		padding: 0 5em;
	}
	
	.intro-text {
		font-size: 1.8em;
	}
	.flex-item {
		min-height: 3em;
	}
	.inline-product {
		font-size: 2em;
	}
	.past-product {
		font-size: 1.6em;
	}
	.detail-name {
		font-size: 1.2em;
		margin-top: 1em;
	}
	.detail-value {
		font-size: 1.3em;
	}
	.details-wrap {
		/*height: 0;
		overflow: hidden;*/
	}
}

@media screen and (max-width: 413px) {
	.bold-title {
		font-size: 6em;
	}
	.italic-title {
		font-size: 4em;
	}
	.title-menu > span {
		font-size: 1.8em;
	}
	.text-layer {
		padding: 0 4em;
	}
	.image-holder {
		height: 35em;
	}
	.home-item .image-holder {
		height: 24em;
	}
	.card-wrapper {
		height: 44em;
	}
	.form-inner {
		padding: 0 2em;
	}
}

