/* ******************************************************************* */
/* ******************************************************************* */
/* Frontpage layout elements */
/* ******************************************************************* */
/* ******************************************************************* */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,800');


p {
	font-size: 1.4em;
	font-weight: 300;
	line-height: 1.5; 
}

.intro {
	background: top left url(../img/bg/frontpage/bg_intro2.jpg) no-repeat;
	background-size: cover;
	margin: 0px 0px 0px 0px;
	padding: 0px 0 0 0;
	min-height: 1000px;
}
	.intro_txt h2 {
		font-weight: 300;
		line-height: 1.3;
	}


.berries {
	background: bottom left url(../img/bg/frontpage/bg_berries.jpg) no-repeat;
	background-size: cover;
	min-height: 768px;
}
	.berries_txt h2 {
		font-weight: 300;
		line-height: 1.3;
		text-shadow: 1px 1px 5px  #333;
	}

.allproducts {
	background: #FFF;
	position: relative;
	clear: both;
	margin-top: 10px;	
	overflow: hidden;
}

.allproducts .row {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	flex-wrap: wrap;
  }
.allproducts  .row > [class*='col-'] {
	display: flex;
	flex-direction: column;
}

.allproducts .video-container {
	position: absolute;
	right: 0;
	top: 0px;
	min-width: 100%;
	min-height: 100%;
	overflow: hidden;
}
.allproducts .video-container video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: 0;
	-ms-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}
.allproducts .overlay {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: bottom center url(../img/bg/frontpage/gradient_overlay_white.png) repeat-x;
	z-index: 1;
}
.productsbg {
	background: #fcfcfc;
}
.productsimg {
	margin: 0 auto 5% auto;
	width: 80%;
}
.allinone img {
	width: 20%;
	margin: 0 auto 10px auto;
}
.allinone {
	color: #000;
	padding: 20px;
	display: block;
	width: 90%;
	max-width: 700px;
	margin: 25% auto 0 auto;
	z-index: 2;
}
.allinone h1 {
	font-weight: 800; 
	font-size: 28px;
	text-transform: uppercase; 
	line-height: 1.2; 
	margin: 0px 0px 10px 0px;
	padding: 0;
}
.allinone h2 {
	font-size: 24px;
	font-weight: 400;
	line-height: 1.5; 
	margin: 0px 0px 5px 0px;
	padding: 0;
}

.allinone .btn-intro {
	background-color: transparent;
	border: 1px solid #2c2c38;
	color: #58585a;
	text-transform: uppercase;
}

#productCarousel h1 {
	color: #7b7b7f;
	font-weight: 300;
	font-size: 1.8em;
	margin: 0px 0px 8px 0px;
	padding: 0;
	line-height: 1.5;
}
#productCarousel .elixir h1 {
	font-size: 1.4vw;
}
#productCarousel h1 b {
	color: #7b7b7f;
	font-weight: 400;
}
#productCarousel h2 {
	color: #58585a;
	font-style: italic;
	font-size: 1.4em;
	margin: 0;
	padding: 0;
}
#productCarousel .elixir h2 {
	font-size: 1vw;
}
#productCarousel ul { 
	list-style-type: none; 
	margin: 10px auto;
	text-align: center;
	padding: 0;
}
#productCarousel ul li {
	display: inline-block;
	font-size: 16px; 
	color: #a5a4a2;
	font-weight: 300;
	padding: 0;
	width: auto;
	margin: 0;
}
.berryimg { 
	height: 20px; 
	margin-left: 5px;
	margin-right: 5px;
}
#productCarousel .carousel-indicators, #productCarousel .carousel-control-prev {
	clear: both;
	position: absolute;
	margin-bottom: -50px;
	color: #000;
}
#productCarousel .carousel-item .productimg {
	width: 60%;
	margin: 40px auto 0px auto;
	bottom: 0;
}
.elixir {
	position: absolute;
	top: 10%;
	width: 45%;
	margin: 0;	
	left: 10%;
	height: auto;
	text-shadow: none;
	padding-right: 20px;
	z-index: 1;
}
.elixir ul {
	clear: both;
	margin: 0 auto;
}
#productCarousel .productimg_elixir {
	width: 70%;
	float: left;
	margin-top: 10%;
	margin-left: 20%;
	z-index: 1;
}

#productCarousel .premiumlogo {
	width: 10%;
	margin: 20px auto 40px auto;
}
#productCarousel .elixir .premiumlogo {
	width: 20%;
	margin: 0px auto 5% auto;
}


	.basket_txt h3 {
		font-weight: 300;
		line-height: 1.3;
	}

.location {
	background: center right url(../img/bg/frontpage/bg_location.jpg) no-repeat;
	background-size: cover;
	min-height: 1000px;
}
	.location img { width: 75%; }
	.location_txt h2 {
		font-weight: 300;
		line-height: 1.3;
		text-shadow: 1px 1px 1px  #000;
	}

	.lifestyle h2 {
		font-weight: 300;
		line-height: 1.5; 
		margin: 0px 0px 5px 0px;
		padding: 0;
	}
	
	.lifestyle h3, .lifestyle h5, .lifestyle h4 {
		font-weight: 300;
		line-height: 1.5; 
	}
	
	.together {
		background: top center url(../img/bg/frontpage/bg_together.jpg) no-repeat;
		background-size: cover;
	}
		.together_txt h2 {
			font-weight: 400;
			line-height: 1.5; 
		}
		.together_txt h3 {
			font-weight: 300;
			line-height: 1.5; 
		}


	.premium_intro {
		position: relative;
		clear: both;
		margin: 10px 0px 0px 0px;	
		padding: 0;
		overflow: hidden;
	}
	.premium_intro_txt hr {
		margin: 40px auto;
		width: 75%;
	}
	.premium_img_welcome { 
		display: block;
		width: 50%; 
		margin: 10px auto;
	}
	.premium_intro_img {
		text-align: right;
	}
	.premium_intro_txt h3 {
		text-transform: uppercase;
		font-size: 3rem;
	}
	.premium_intro_txt h5 {
		font-size: 24px;
	}


@media (max-width: 992px) { 

	.intro {
		background: center center url(../img/frontpage/intro_mobile.jpg) no-repeat;
		background-size: 100%;
		padding: 0;
		margin: 0;
	}
	body { overflow-x: hidden; }
	.allinone {
		margin-top: 5%;
		margin-bottom: 5%;
	}
	#productCarousel .elixir h1 { font-size: 1.8em; }
	#productCarousel .elixir h2 { font-size: 1.4em; }			
}

@media (max-width: 768px) {  
	.location img { width: 100%; }
}

@media (max-width: 660px) {  
	.intro{
		background: center center url(../img/frontpage/intro_mobile.jpg) no-repeat;
		background-size: cover;
		padding: 0;
		margin: 0;
	}
	.intro h2, .flow h2, .berries h2, .allinone h2, .location h2, .together h2, .lifestyle h2 { font-size: 20px; }
	.location h2 {
		font-weight: 400;
	}
	.premium_intro h3 { font-size: 24px; }
	.together {
		background-position: center center;
	}
	.together .d-lg-flex {
		height: 75vh!important;
	}
	.basket_intro h3, .allinone h3, .together h3 { font-size: 18px; }
	.lifestyle h4 { font-size: 18px; }
	.flow p, .allinone p, .premium_intro p { font-size: 16px; }
	.productsbg {
		background: #FFF;
	}

	.allproducts .row {
		display: block;
	  }
	.allproducts  .row > [class*='col-'] {
		display: block;
	}
	#productCarousel .carousel-inner{
		overflow: hidden!important;
	}
	#productCarousel .left { margin-left: 10px; }
	#productCarousel .right { margin-right: 10px; }	
	 .elixir {
		position: absolute;
		top: 0;
		left: auto;
		right: auto;
		width: 60%;
		margin: 0 auto;
		padding: 0!important;
	}
	#productCarousel .item .productimg_elixir, #productCarousel .item .productimg {
		width: 90%;
		float: none;
		margin: 0px auto 10px auto;
		z-index: 1;
		height: auto;
	}
	.carousel { margin: 20px 0; }
	#productCarousel .premiumlogo {
		width: 15%;
		margin: 20px auto 20px auto;
	}
	#productCarousel ul li { 
		word-wrap: break-word;
		font-size: 12px; 
	}
	#productCarousel h1, #productCarousel .elixir h1 { font-size: 18px; padding-left: 20px; padding-right: 20px;}
	#productCarousel h2, #productCarousel .elixir h2 { font-size: 16px; padding-left: 20px; padding-right: 20px;}			
}


/* VIDEO MODAL */
#videoModal .modal-dialog {
	margin: 30px auto;
}
#videoModal .modal-body {
	position:relative;
	padding:0px;
}
.modal_btn {
	z-index: 999;
}
