/*!
Theme Name: Homebrew 2U
Author: Lee @ Azizi
Author URI: https://azizi.co.uk
*/
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600&display=swap');

body {
	font-family: 'Rubik', serif;
	font-size: 16px;
	color: #111;
	font-weight: 300;
}

/* HEADER */
.topbar {
	padding: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
	background: -moz-linear-gradient(-45deg, #111 0%, #1c496b 100%);
	background: -webkit-linear-gradient(-45deg, #111 0%, #1c496b 100%);
	background: linear-gradient(135deg, #111 0%, #1c496b 100%);
	background-color: #1c496b;
	color: #fff;
	text-align: center;
	font-weight: 600;
}

.topbar a {
	color: #fff;
}

.topbar a:hover {
	color: #fff;
}

.header {
	padding: 30px;
}

.header a {
	color: #111;
}

.header a:hover {
	color: #1c496b;
}

.header h3 {
	font-size: 17px;
	font-weight: 600;
	text-transform: uppercase;
}

/* NAV */
.nav-light {
	background-color: #fff;
}

.nav-item a {
	color: #111;
	font-weight: 400;
}

.nav-item a:hover {
	color: #1c496b;
}

.dropdown-menu {
	background-color: #fff;
	border: none;
	border-radius: 0;
	padding: 20px;
}

.dropdown-menu .dropdown-item a:hover {
	background: #fff;
	color: #111 !important;
}

.navbar-toggler {
	border: none;
}

/* CONTENT */
.white {
	padding-top: 60px;
	padding-right: 30px;
	padding-bottom: 60px;
	padding-left: 30px;
}

.white a {
	color: #1c496b;
	text-decoration: none;
	font-weight: 400;
}

.white a:hover {
	color: #111;
	text-decoration: none;
	font-weight: 400;
}

.white h1 {
	font-size: 30px;
}

.white h1.h6 {
	font-size: 18px !important;
}

.white h2 {
	font-size: 25px;
	letter-spacing: 1px;
}

.white h3,
.lightgrey h3 {
	font-size: 20px;
	letter-spacing: 1px;
	color: #1c496b;
}

.lightgrey {
	background-color: #f5f5f5;
	padding: 60px;
}

.lightgrey h2 {
	font-size: 25px;
	font-weight: 400;
}

.pageheader {
	background: -moz-linear-gradient(-45deg, #111 0%, #1c496b 100%);
	background: -webkit-linear-gradient(-45deg, #111 0%, #1c496b 100%);
	background: linear-gradient(135deg, #111 0%, #1c496b 100%);
	background-color: #1c496b;
	padding: 20px;
	color: #fff;
	font-size: 27px;
	text-align: center;
	font-weight: 400;
}

.gradientbg {
	background: -moz-linear-gradient(-45deg, #111 0%, #1c496b 100%);
	background: -webkit-linear-gradient(-45deg, #111 0%, #1c496b 100%);
	background: linear-gradient(135deg, #111 0%, #1c496b 100%);
	background-color: #1c496b;
	padding-top: 60px;
	padding-right: 30px;
	padding-bottom: 60px;
	padding-left: 30px;
	color: #fff;
}

.gradientbg h1 {
	font-size: 30px;
	color: #fff;
}

.borderline {
	position: relative;
	width: 25%;
	height: 1px;
	background-color: #eaeaea;
}

.btn-outline-primary {
	color: #1c496b !important;
	border: #1c496b 1px solid;
	text-transform: uppercase;
}

.btn-outline-primary:hover {
	color: #fff !important;
	border: #1c496b 1px solid;
	background-color: #1c496b;
	text-transform: uppercase;
}

.btn-primary {
	color: #fff !important;
	background: -moz-linear-gradient(-45deg, #111 0%, #1c496b 100%);
	background: -webkit-linear-gradient(-45deg, #111 0%, #1c496b 100%);
	background: linear-gradient(135deg, #111 0%, #1c496b 100%);
	background-color: #1c496b;
	border: #1c496b 1px solid;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.btn-primary:hover {
	color: #fff !important;
	background: -moz-linear-gradient(-45deg, #1c496b 0%, #111 100%);
	background: -webkit-linear-gradient(-45deg, #1c496b 0%, #111 100%);
	background: linear-gradient(135deg, #1c496b 0%, #111 100%);
	background-color: #111;
	border: #111 1px solid;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.btn-warning {
	color: #003087 !important;
	background-color: #ffd140;
	border: #ffd140 1px solid;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.btn-warning:hover {
	color: #fff !important;
	background-color: #003087;
	border: #003087 1px solid;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.white hr {
	color: #ddd;
}

.product-features {
	position: relative;
	display: inline-block;
	zoom: 1;
	* display: inline;
	vertical-align: top;
	width: 100%;
	padding: 0;
	list-style: none;
	line-height: 30px;
}

.product-features ul li {
	width: 100%;
	font-size: 12px;
}

.product-features span {
	width: 50%;
	float: left;
}

/* CARD */
.card {
	border: none;
}

.card h5 {
	font-size: 17px;
}

/* BOXES */
.box_area {
	display: block;
	margin: 0;
	padding-top: 0px;
	padding-right: 0;
	padding-bottom: 60px;
	padding-left: 0;
}

.box_area.small {
	padding: 75px 0;
}

.box_area.tiny {
	padding: 40px 0;
}

.box_area.nospace {
	padding: 0 !important;
}

.box_area .images {
	position: relative;
}

.box_area .images:after {
	display: block;
	content: ' ';
	width: auto;
	height: auto;
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	background: rgba(0, 0, 0, 0.4);
	z-index: 5;
}

.box_area .text {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	width: 100%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	color: #fff;
	z-index: 10;
	padding: 50px;
}

.box_area h2 {
	color: #fff;
	font-size: 23px;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
	text-transform: uppercase;
	font-weight: 600;
}

/* PARALLAX */
.parallax {
	background-image: url(images/parallax.jpg);
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	padding-top: 130px;
	padding-bottom: 130px;
	padding-left: 50px;
	padding-right: 50px;
}

.parallax h1,
.parallax-wine h1 {
	color: #FFF;
	font-size: 30px;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
	font-weight: 700;
	text-align: center;
}

.parallax-wine {
	background-image: url(images/parallax-wine.jpg);
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	padding-top: 100px;
	padding-bottom: 100px;
	padding-left: 50px;
	padding-right: 50px;
}

@media all and (max-width:768px) {

	.parallax {
		background-attachment: unset;
		background-size: auto 100%;
		padding-top: 100px;
		padding-bottom: 100px;
		padding-left: 30px;
		padding-right: 30px;
	}

	.parallax-wine {
		background-attachment: unset;
		background-size: auto 100%;
		padding-top: 100px;
		padding-bottom: 100px;
		padding-left: 30px;
		padding-right: 30px;
	}

	.parallax h1,
	.parallax-wine h1 {
		color: #FFF;
		font-size: 25px;
		text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
		text-align: center;
	}
}

/* REVIEWS */
.reviews {
	color: #fff;
}

.reviews .carousel-item {
	min-height: 100px;
}

.reviews p {
	font-style: italic;
}

.reviews h5 {
	font-size: 20px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.reviews h6 {
	color: #fff;
}

.reviews .carousel-control-prev {
	left: -100px;
}

.reviews .carousel-control-next {
	right: -100px;
}

.reviews .carousel-indicators {
	margin-top: 20px;
	margin-bottom: 0px;
	position: inherit !important;
}

.reviews .carousel-indicators li {
	background-color: #fff;
}

.reviews .carousel-indicators .active {
	background-color: #111;
}

.yellowicon {
	color: #ffd43b;
}

@media (min-width: 320px) and (max-width: 640px) {
	.reviews .carousel-inner .carousel-item p {
		font-size: 18px;
	}

	.reviews .carousel-control-prev {
		left: -40px;
	}

	.reviews .carousel-control-next {
		right: -40px;
	}
}

/* FOOTER */
.footer {
	padding-top: 60px;
	padding-right: 30px;
	padding-bottom: 60px;
	padding-left: 30px;
	font-size: 14px;
}

.footer a {
	color: #273e51;
	text-decoration: none;
}

.footer a:hover {
	color: #0087c1;
	text-decoration: none;
}

.footer h2 {
	font-size: 18px;
	letter-spacing: 1px;
	font-weight: 600;
}

.footer h3 {
	font-size: 17px;
	letter-spacing: 1px;
}

.footer a {
	color: #111;
	text-decoration: none;
}

.footer a:hover {
	color: #1c496b;
	text-decoration: none;
}

.footer hr {
	border-top: #ccc solid;
}

.metascroller {
	max-height: 45px;
	overflow-y: auto;
}

.icon-colour {
	color: #1c496b;
}

.red-text {
	color: #1c496b;
}


ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
	padding: .5em 0 !important;
	margin: 0 !important;
	font-size: 1.3em !important;
	font-weight: 700 !important;
	min-height: 68px !important;
}

.woocommerce ul.products li.product img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	/* Maintains a square area */
	object-fit: contain;
	object-position: center;
	background-color: #fff;
	/* Optional */
	padding: 10px;
	/* Optional for spacing */
	display: block;
}

p.price,
span.price {
	background: transparent !important;
	border: 1px solid rgb(28, 73, 107) !important;
	border-radius: 20px !important;
	box-sizing: border-box !important;
	color: rgb(28, 73, 107) !important;

	font: bold 24px/30px 'Rubik', serif !important;
	height: auto !important;

	padding: 8px 16px !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: uppercase !important;

	min-height: 65px;
	align-items: center;
	display: inline-flex !important;
}

.woocommerce div.product div.images img {
	max-height: 80vh;
	/* Limits height to 80% of the viewport */
	width: auto;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	margin: 0 auto;
}

.brand-img {
	display: block;
	background-size: contain;
	background-position: center center;
	overflow: hidden;
	background-repeat: no-repeat;
}

.container.sm {
	max-width: 1000px;
}

.bg-delivery {
	background: #fdfaf4 !important;
}

.woocommerce ul.products li.product .onsale {
	position: absolute !important;
	background: #dc3545 !important;
	color: #fff !important;
	font-size: 1rem;
	font-weight: bold;
	z-index: 2;
	top: -10px !important;
	left: -70px !important;
	right: auto !important;
	padding: 40px 80px 20px 80px !important;
	border-radius: 0 !important;
	line-height: normal !important;
	min-height: auto !important;
	height: auto !important;
	margin: 0 !important;
	transform: rotate(-45deg) !important;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
	display: block;
	overflow: hidden !important;
	position: relative;
}

.woocommerce ul.products li.product .price small.small {
	font-size: 14px !important;
}

.row.wasnowsave {
	line-height: 24px !important;
	margin-top: -5px;
}