// Home styles

// HOME CONTENT
#home-about-pre {

	h3 {
		font-size: 18px;
		font-weight: $light;
		line-height: 1.5;
	}
}

#home-products {
	position: relative;

	> .row {
		height: 100%;
	}

	#home-products-info-wrapper {
	}
	#home-products-info {
		color: $grayBlue;
		margin-top: 0;
		overflow: hidden;
		text-align: center;

		.product-slide {
			float: left;
			padding-left: 15px;
			padding-right: 15px;
		}

		h2 {
			font-size: 24px;
			font-weight: $light;
			margin-top: 0;
		}
		p {
			color: $grayBlue;
			font-size: 12px;
			line-height: 20px;
			margin-bottom: 8px;

			&:last-of-type {
				margin-bottom: 32px;
			}
		}
	}

	#home-products-carousel {
		overflow: hidden;
		padding: 0;
		position: relative;
		
		.slick-list {
			height: 100%;
		}
		.slick-track {
			padding-top: 20vw;
			padding-bottom: 20vw;
		}
		.products-carousel-item {
			opacity: 0.6;
			position: relative;
			transform: scale(1.4);
			@include transition(1.5s);


			&.foreground-product {
				opacity: 1;
				transform: scale(2.75);
				z-index: 3;
			}
		}
		&:after, &:before {
			content: '';
			display: block;
			background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
			background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
			background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
			position: absolute;
			top: 0;
			width: 64px; height: 100%;
			z-index: 2;
		}
		&:before {
			left: 0;
		}
		&:after {
			right: 0;
			transform: rotate(180deg);
		}
	}

	#home-products-prev, #home-products-next {
		color: $grayBlue;
		cursor: pointer;
		font-size: 24px;
		opacity: 0.5;
		padding: 12px;
		position: absolute;
		bottom: 103vw;
		@include transition(0.6s);
		z-index: 999;

		&:hover {
			opacity: 1;
		}
	}
	#home-products-prev {
		left: 0;
	}
	#home-products-next {
		right: 0;
	}
}

// #home-values {

// 	.col-md-4 {
// 		padding-left: 30px;
// 		padding-right: 30px;
// 	}
// 	h4 {
// 		margin-top: 16px;
// 		margin-bottom: 16px;
// 	}
// 	img {

// 	}
// }

#home-gano {
	color: $grayBlue;
	margin-top: 0;
	padding-top: 0;

	h2 {
		font-weight: $light;
		margin-top: 40px;
	}
	p {
		color: $grayBlue;
		margin-bottom: 32px;
	}
}

#home-rewards {
	padding-top: 160px;
	padding-bottom: 160px;
	position: relative;
	overflow: visible;

	h2, p {
		color: $gray-700;
	}
	.btn-secondary {
		border-color: $gray-700;
		color: $gray-700;
	}
	&:before {
		content: '';
		display: block;
		background: rgb(255,255,255);
		background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 15%, rgba(255,255,255,0.7) 85%, rgba(255,255,255,0) 100%);
		position: absolute;
		top: 0; right: 0;
		width: 100%; height: 100%;
	}
}

#newsletter {

	p {
		font-size: 24px;
		font-weight: $light;
		text-align: center;
	}
	form {
		margin: 36px auto 0;
		position: relative;
		width: 480px;

		input {
			border: 2px solid #eee;
			border-radius: 20px;
			padding-left: 16px;
			width: 480px; height: 40px;
		}
		.btn {
			position: absolute;
			top: 0; right: 0;
		}
	}
}