/*
Theme Name: Adelaide Pool Mart 2020
Author: Commuserv
Version: 1.0
*/

:root {
	--main-bg-color: #3a7bd5;
	--main-bg-highlight: #fff820;
	--main-border-color: #007bff;
}

body,
html {
	font-family: 'Lato', sans-serif;
}

img {
	max-width: 100%;
}

.product-image {
	height: 0;
	padding-bottom: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.std-width {
	max-width: 1400px;
	margin: 0 auto;
}

.landscape-background {
	height: 0;
	padding-bottom: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 50%;
}

.brand-image {
	height: 0;
	padding-bottom: 56%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.banner {
	height: 28rem;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.woocommerce header {
	display: block;
}

.menu,
.cart-menu {
	display: flex;
	list-style-type: none;
	padding-left: 0;
	margin-bottom: 0;
}

ul.menu > li,
ul.cart-menu > li {
	margin: 0 1rem;
}

.cart-menu {
	justify-content: flex-end;
}

a:hover {
	text-decoration: none;
}

a {
	color: var(--main-bg-color);
}

a.highlight {
	color: var(--main-bg-highlight);
}

.main-color {
	color: var(--main-bg-color);
}

.main-border-color {
	border-color: var(--main-border-color);
}

.display-4 {
	color: var(--main-bg-color);
}

.tesimonial-image {
	height: 0;
	padding-bottom: 100%;
	background-size: contain;
}

.gradient {
	background: #00d2ff;
	background: -webkit-linear-gradient(to right, #3a7bd5, #00d2ff);
	background: linear-gradient(to right, #3a7bd5, #00d2ff);
}

.map-wrap {
	height: 30rem;
	position: relative;
}

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

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
	flex: none;
	max-width: none;
}

.woocommerce .col-1 {
	flex: none;
	max-width: none;
}

.woocommerce .form-row {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

/* .grid-item {
	width: 25%;
	padding-left: 15px;
	padding-right: 15px;
} */

#content-wrapper {
	min-height: 550px;
}

.woocommerce .product .woocommerce-tabs {
	float: right;
	width: 48%;
	clear: none !important;
}

.woocommerce .product .related {
	clear: both;
	padding-top: 4rem;
}

.logo {
	max-width: 350px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
	padding: 0.5rem;
}

.woocommerce form .form-row select {
	padding: 0.5rem;
}

.woocommerce .select2 {
	display: none;
}

.woocommerce form .form-row label {
	line-height: 1;
	padding-top: 0.5rem;
}

#order_review_heading {
	margin-top: 3rem;
	padding-left: 15px;
	padding-right: 15px;
}

#order_review {
	padding-left: 15px;
	padding-right: 15px;
}

.wpcf7-textarea,
.wpcf7-text {
	width: 100%;
	padding: 0.5rem;
	border-radius: 5px;
	border: 1px solid #b9b9b9;
}

#coupon_code {
	width: auto !important;
}

ul.menu > li h5 {
	margin-bottom: 2rem;
}

.woocommerce #content table.cart img,
.woocommerce table.cart img,
.woocommerce-page #content table.cart img,
.woocommerce-page table.cart img {
	max-height: 150px;
	width: auto;
}

@media screen and (max-width: 1200px) {
	header {
		flex-direction: column;
		align-items: center;
	}
}

@media screen and (max-width: 768px) {
	.woocommerce .product .woocommerce-tabs {
		float: none;
		width: auto;
	}

	.even-service {
		display: block !important;
	}
	.odd-service {
		display: none;
	}

	#fixedHeader {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		background: white;
		z-index: 99;
		box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
	}

	header .menu {
		flex-direction: column;
		height: 0px;
		overflow: hidden;
		transition: height 0.26s ease-in;
	}

	header .zero-height {
		height: 175px;
	}

	.logo {
		max-width: 220px;
	}

	ul.menu > li h5 {
		margin-bottom: 0;
		line-height: 1;
		padding: 0.5rem;
	}

	.full-width-lg {
		width: 100%;
	}

	.header-height-when-fixed {
		padding-top: 151.28px;
	}
}
