/* ====== CSS Variables ====== */
/* TODO: use css variables to define our core colours
:root {
  --blue: #1e90ff;
  --white: #ffffff;
}

usage: var(--white)
*/

/* ====== Global Styles ====== */
.container{
	background-color:#FFFFFF;
}
.content-container{
	margin-top:1rem;
	margin-bottom:1rem;
}
a, .page-link{
	color: #69bce6;
	transition: all 0.25s ease-in-out;
}

a:hover, .page-link:hover{
	color: #69bce6;
}

b, strong, th {
	font-weight: 500;
}

hr {
	width:100%;
	margin-top:0.5rem;
	margin-bottom:0.75rem; /*matches table header spacing*/
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-weight:400;
	font-family: 'Average Sans', sans-serif;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ------ Buttons ------ */
.btn-primary {
	background-color: #69bce6;
    border-color: #69bce6;
	color: #fff;
}
.btn-primary:hover {
	background-color: #fff;
    border-color: #69bce6;
	color: #69bce6;
}

.btn-secondary {

}
.btn-secondary:hover {

}

.btn-light {
	background-color: #fff;
	border-color: #ced4da;
}

.btn-am {
	background-color: #69bce6;
	border-color: #69bce6;
	color: #ffffff;
}
.btn-am:hover {
	background-color: #0085a7;
	border-color: #69bce6;
	color: #ffffff;
}

/* Active classes */
.list-group-item.active, .page-item.active .page-link, .dropdown-item.active, .dropdown-item:active {
	background-color: #efefef;
	border-color: #dfdfdf;
	color: inherit;
}

/* ------ Messaging ------ */
.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* ------ Misc ------- */
.list-group-item{
	border: 1px dotted #dfdfdf;	
}
.breadcrumb {
	font-size: 0.9rem;
	padding-left: 0px;
	background: transparent;
}
#captcha {
    text-transform: uppercase;
}


/* ====== Location Specific Styles ====== */

/* ------ Container Styling ------ */

.fluid-restricted{
	max-width:1500px;
}
.form-restricted{
	max-width:1000px;
	margin:auto;
}

/* ------ Header Common & Mobile Styling ------ */

@media (max-width: 991px) {
	.header-content {
		text-align: center;
	}
	
	/* Remove padding for mobile menu */
	div.container-fluid-sm.nav-menu > div > div > nav {
		padding: 0px;
	}

	.nav-menu {
		background:#ffffff;
		position: sticky;
		top: 0;
		z-index: 999;
		border-bottom: 3px solid #69bce6;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16), 0 2px 3px rgba(0, 0, 0, 0.12);
		overflow: auto;
		max-height: 75vh;
	}
	/*
	#admin-menu-mobile {
		display: none!important;
	}
	*/
}

.header {
	background:#3b3c3c;
	/*position: sticky;
	top: 0;
	z-index: 999;
	border-bottom: 3px solid #69bce6;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16), 0 2px 3px rgba(0, 0, 0, 0.12); */
}

@media (min-width: 992px) {
	.header-content {
		justify-content: space-between;
	}
}

/* TODO: Header buttons are so complex that they're not feasible to customise for a customer, simplify */

.header-content .nav-link {
	color: #fff;
	border-bottom: 2px solid transparent;
	margin: 0rem 0.5rem;
	letter-spacing: 1px;
	font-weight: 500;
	text-transform: uppercase;
}

.header-content > #myaccount-menu {
	color: #69bce6;
	transition: all 0.25s ease-in-out;
}
.header-content > .active, 
.header-content > .dropdown > #myaccount-menu:hover,
.header-content > .dropdown > .active {
	background-color: #69bce6;
	border: 1px solid #69bce6;
	color: #ffffff;
}
#myaccount-menu:hover,
#ajaxSummaryCart.nav-link.active,
.header-content > div > ul > li > a:hover,
.header-content > div > ul > li > a.active  {
	border-color: #fff;
}

.dropdown-header-desktop, .dropdown-header-mobile{
	display: block;
	margin-bottom: 0;
	white-space: nowrap;
	font-weight:500;
}
.dropdown-header-desktop {
	padding: .25rem 1.5rem;
}
.dropdown-header-mobile {
	padding: .75rem 1.25rem;
}

/* ------ Logo Styling ------ */

#company-logo {
	transition: all 0.25s ease-in-out;
}

#company-logo:hover {
	opacity: 0.8;
}

/* ------ Wholesale Styling ------ */
.wholesale{
	width:100%;
	max-width:500px;
	margin:auto;
}

/* ------ Account Manager Styling ------ */

/* ------ Main Menu Styling ------ */
.nav-menu {
	background-color: #3b3c3c;
	text-transform: uppercase;
}

#main-menu-desktop > ul > li {
	margin: 0rem 0.5rem;
}

#main-menu-desktop > ul > li > a {
	color: #fff;
	border-bottom: 2px solid transparent;
}

#main-menu-desktop > ul > li > a.active,
#main-menu-desktop > ul > li > a.nav-link:hover {
	color: #fff;
	border-color: #fff;
}

.mobile-menu-text {
	font-size: 1rem;
}
.mobile-menu-button {
	flex-grow:1;
	text-align:center;
	-webkit-appearance: none; /* iOS Fix */
	border-radius:0;
	border: 1px solid #272828;
	color: #fff;
}

.mobile-menu-button:hover {
	color: #fff;
}

@media (max-width: 991px) {
	.search-container {
		padding: 20px;
	}
}
@media (min-width: 992px) {
	#main-nav .nav-link {
		padding-right: 1rem;
		padding-left: 1rem;
		letter-spacing: 1px;
		font-weight: 500;
	}
}

/* old bad 'mega' menu */
.show>.product-2col{
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	width:550px;
}
.product-2col a{
	flex:0 0 50%;
}
.show>.product-3col{
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	width:800px;
}
.product-3col a{
	flex:0 0 33.3%;
}

/* container-sm used to remove padding when in mobile, useful for mobile navigation */
.container-fluid-sm {
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
	margin-left: auto;
    margin-right: auto;
}
@media (max-width: 991px) {
	.container-fluid-sm{
		padding-left: 0px;
		padding-right: 0px;
	}
}

/* Zippay / Afterpay / PayPal */

#zip-product-widg {
	padding: 0px;
}

.afterpay-line {
	min-height:48px;
}

.afterpay-list {
	min-height: 72px;
}

.afterpay-details {
	font-size:14px;
	margin-top: 10px;
	padding-left:15px;
}

.afterpay-details-link {
	font-size: 11px;
}

.afterpay-payment-image, .paypal-payment-image {
	height:22px;
	vertical-align:middle;
}

.zip-payment-image {
	height: 28px;
	vertical-align:middle;
}

/*
.payment-image {
	height: 21px;
	vertical-align:bottom;
	max-width:100px;
}
*/
.footer-payment-image {
	filter: grayscale(1);
    height: 1.8em;
    vertical-align: top;
}


/* ------ Filter & Category Sidebar ------ */

.sidebar-component{
	margin-bottom:.5rem;
}

.sidebar-component .list-group-item:hover {
	text-decoration: none;
}

.sidebar-container .list-group-item {
	color: #595959;
	padding: 0.75rem 0.75rem;
}

.sidebar-section-title {
	margin-bottom: 8px;
	padding: 8px 12px 8px 12px;
	font-weight: 500;
	font-size: 1.25rem;
	color: #000;
	letter-spacing: 1px;
	border-bottom: 1px dotted #dfdfdf;
	text-transform: uppercase;
}

.sidebar-section-title > a {
	color: #000;
}

.sidebar-filter-title {
	padding: 8px 12px 8px 12px;
	font-weight: 500;
	font-size: 15px;
	color: #212529;
	margin-bottom: 0px;
}

.sidebar-filter > a {
	width: fit-content;
}

.no-filter {
	padding: 8px 12px 8px 12px;
	font-weight: 400;
	font-size: 14px;
	color: #595959;
}

.menu-icon .fa-check-square {
    color: #4caf50;
}

.menu-icon .fa-times-circle {
    color: #f44336;
}

.sidebar-container .menu-icon, 
.sidebar-container .menu-item, 
.sidebar-container .dropdown-menu,
.category1-text {
	font-size: 14px;
}

.category2-text {
	padding-left: 10px;
	font-size: 13px;
}

.category3-text {
	padding-left: 20px;
	font-size: 12px;
}

.category-icon {
	position:absolute;
	top:calc(50% - 10px);
	right:12px;
	color: rgba(0, 0, 0, 0.35);
	font-size: 12px;
}

/* ------ Cart ------ */
.fullCart th, .fullCart td{
	vertical-align: inherit;
}
.removeCart{
	text-align:center;
}
.cartsummary_controls .btn {
	min-width: 130px;
}
.savecart_controls{
	width: 300px;
}
.cart_mobiledetails {
	font-size: 0.8rem;
}
@media (max-width: 767px) {
	.cartsummary_controls, .savecart_controls {
		width: 100%;
		max-width: 300px;
	}
	.cartsummary_controls .btn{
		width: 100%;
	}
}
.fullcart-total {
    text-align: right;
    font-weight: bold;
	margin-bottom: 0.5em;
	padding-right: 12px;
}

/* ------ Product List ------ */
.pl-container {
	display:grid;
}
.sortby, .viewas, .itemsperpage, .pagination, #blogCategoryWrapper, #blogSearchWrapper {
	margin-bottom:0.5rem;
}

.product-grid {
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
	grid-row-gap:0.5rem;
	margin-bottom:0.5rem;
}

.productlist {
	margin-bottom:0.5rem;
}

/* Product Display */
.product-image-card{
	object-fit:contain;
	height:250px;
	max-width:100%;
}
.product-image-list{
	object-fit:contain;
	min-height:150px;
	max-height:200px;
	max-width:100%;
	display:block;
	margin:auto;
}
.product-image-detail-primary {
	width:100%;
	object-fit:contain;
	max-height:450px;
}
.product-image-detail-secondary {
	object-fit:contain;
	max-height:100px;
	display:block;
	margin:auto;
}
.product-image-line {
	width:80px;
	object-fit:contain;
	height:80px;
}

.list-cart{
	margin:auto;
	max-width:360px;
}
.list-cart p{
	margin-bottom:0.25rem;
}
.gallery-cart{
	min-height:42px;
}
@media (max-width: 767px) {
	/*.gallery-cart .input-group-append {
		width:100%;
	}
	.input-group .form-control, .input-group .btn {
		border-radius:.25rem !important; 
	}
	*/
	.gallery-cart .btn-cart {
		width:100%;
	}
}

.gallery-cart .input-group {
	margin: auto;
	max-width: 200px;
	float: none;
}

.price{
	font-weight:500;
	font-size:1.25rem;
	margin-bottom:0.25rem;
}
.gst-text{
	/* nothing yet */
}

/* Quick order suggestions, this thing is scary, leave it alone */
/* Quick Order Auto Suggest */
div.suggestions {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	position: absolute;
	width: 300px;
	background-color: #FFF;
	text-align: left;
}
div.suggestions div {
	cursor: default;
	padding: 3px;
	border-bottom: 1px solid #ccc;
}
div.suggestions div.current {
	background-color: #eee;
	color: #000;
}
span.acCodeText {
     padding-right: 10px;
}

/* ------ Checkout ------ */
.tracker-links{
	position: absolute;
	top: 0;
	width: 100%;
}
.tracker-content{
	text-align: center;
	color: #8bb9c4;
}
.progress-tracker .progress {
    margin: 47px 0 0 0;
    height: 7px;
}
.FatZebraFrame {
    max-width:500px;
    width:100%;
    height: 475px;
}
@media screen and (max-width: 414px) {
    .FatZebraFrame {
        height: 550px;
    }
}

/* ------ Footer Styles ------ */
.footer-navigation{
	background-color:#3b3c3c;
	color: #fff; /* Footer text. Background will differ from website body so font colour/opacity will need adjustment */
}
.footer-navigation a {
	color: #69bce6;
	transition: all 0.25s ease-in-out;
	width:fit-content;
}
.footer-navigation a:hover {
	color: #69bce6;
	opacity: 0.7;
}

.footer-navigation .btn-primary {
	color: #fff;
}

@media (max-width: 991px) {
	.footer-navigation {
		text-align: center;
	}
	.footer-address {
		padding: 0rem 1rem;
	}
	.footer-address .contact-links a{
		margin:auto;
	}
	.footer-right-column {
		align-items: center;
		padding: .5rem 1rem 0rem 1rem
	}
	.social-icons {
		margin: .5rem 0rem;
	}
	.payment-icons {
		justify-content: center;
	}
}

.footer-navigation .navbar-expand-lg .navbar-nav .nav-link, 
.footer-navigation .nav-link {
	padding: .25rem 0 .25rem 0; /* reduce vertical and horizontal padding for footer links */
}

.footer-navigation .fa-stack {
	width: 2em; /* Unifies footer icon spacing */
}

.footer-right-column {
	flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
}
.footer-right-column > div, .footer-text-area p{
	margin-bottom:0.5rem;
}

.mailchimp-signup h5 {
	margin-bottom: 12px;
}

.footer-text-area p:last-of-type { /* Removes spacing of text so icons control it */
	margin: 0px;
}

.social-icons a {
	color: #fff;
	transition: all 0.25s ease-in-out;
}
.social-icons a:hover {
	opacity: 0.7;
	color: #fff;
}

.social-icons .fa-inverse {
	color: #3b3c3c;
}

/* ------ Copyright Styles ------ */
.footer-copyright {
	font-size: 0.8rem;
	color: #fff;
	background: #3b3c3c;
}

.footer-copyright a {
	color: #69bce6;
	transition: all 0.25s ease-in-out;
}

.footer-copyright a:hover {
	color: #69bce6;
	opacity: 0.7;
}


/* ====== Addons ====== */

/* ------ Image Carousel ------ */
.carousel-item img{
	min-height: 350px;
    object-fit: cover;
}

/* ------ Callouts ------ */

.callout-container {
	background: #3b3c3c;
}

.callout-container h2 {
	color: #fff;
}

.callout-content {
	display: flex;
	align-items: center;
	flex-direction: column;
	background: transparent;
    border: none;
}
.callout-content a {
	width:100%;
}

.callout-label {
	color: #69bce6;
}

/* ------ Account Manager ------ */

.AMloggedin {
	background-color:#69bce6;  /* highlight colour on logged in customer - default #69bce6 */
	color: #fff;
}

/* ------ Product Carousels ------ */
.owl-carousel .card-deck, .owl-carousel .card-deck .card{
/* It's better for everyone if owl does the card margins via it's config rather than us, so zero them out */
	margin-left:0px;
	margin-right:0px;
}
.owl-carousel .owl-item .card-body img{
	/* owl overrides this which gets wierd */
	display:initial;
	width:initial;
}
.carousel-nav {
	position:absolute;
	top:calc(50% - 19px);
	z-index:2;
	border-radius:50%;
}
.carousel-nav.left {
	left:-17px;
}
.carousel-nav.right {
	right:-17px;
}

/* ------ Category Header Text amd Images ------ */

.category-header-text-left {
	position: absolute;
	top: 2%;
	left: 20px;
	right:50%;
}

.category-header-text-right {
	position: absolute;
	top: 2%;
	right: 20px;
	left:50%;
}

.category-header-text-center {
	position: absolute;
	top: 2%;
	left: 25%;
	right: 25%;
}

.category-header-text-span {
	position: absolute;
	top: 2%;
	left: 20px;
	right: 20px;
}

.category-header-image {
	object-fit: cover;
	min-height: 250px;
}

/* ------ Was Price ------ */

.productListWas {
	margin-bottom: 0.25rem;
}

.wasPriceText {
	color: #DD0000;
	/*text-decoration: line-through;*/
}

.saveText {
	color: #DD0000;
	/*font-weight:500;*/
}
.saveText:before {
	content:"(";
}
.saveText:after {
	content:")";
}

/* ====== Utility Styles and Bootstrap Overrides ====== */
/* Pull the footer to the bottom, even when short content */
body{
	display:flex;
	min-height:100vh;
	flex-direction:column;
	min-width:350px;
	font-family: 'Roboto', sans-serif;
}
.flex-spacer{
	flex-grow:1;
}


/* thinner card guttering than bootstrap's default because we use cards in much smaller spacings */
.card-deck{
	margin-right:-5px;
	margin-left:-5px;
	flex-flow:row wrap;
}
.card-deck .card{
	margin-left:5px;
	margin-right:5px;
	height:100%;
	margin-bottom:0px;
}
.card-deck > div{
	margin-bottom:0.5rem;
}
.card-body {
	display:flex;
	flex-direction:column;
	align-items:stretch;
	text-align:center;
}

/* ====== Custom ====== */

.terms-list li {
	margin-bottom: 1rem;
}

/* Home Sections */

.home-section {
	margin: 0px;
	padding: 3rem 0rem;
}

.home-section h2 {
	padding-bottom: 2rem;
	font-size: 40px;
	font-weight: 500;
}

/* Brand Carousel */

#brand-carousel {
	/*border-bottom: 1px solid #ccc;
	border-top: 2px solid #029ad7;*/
}

#brand-carousel .owl-stage {
	display: flex;
	align-items: center;
}

#brand-carousel .owl-item .item {
	/*margin: 0px 20px;*/
	padding: 0px 20px;
}

/* Blog Widget */

.blogwidget-container {
	background-color: #f3f3f4;
}

/* Caption */

.carousel-caption-left {
	text-align: left;
	width:30%;
    position: absolute;
    bottom: 20px;
    left: 5%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
}

.carousel-caption-center {
	text-align: center;
	width:30%;
    position: absolute;
	left: 50%; 
    transform: translate(-50%, 0%); 
    bottom: 20px;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
}

.carousel-caption-right {
	text-align: right;
	width:30%;
    position: absolute;
    right: 5%;
    bottom: 20px;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
}

@media (max-width: 991px) {
	.carousel-caption-left, 
	.carousel-caption-center,
	.carousel-caption-right {
		width: 70%;
		text-align: left;
		left: 15%;
		right: 15%;
		transform: none;
		font-size: 14px;
	}
	.btn-group-lg>.btn, .btn-lg {
		padding: .375rem .75rem;
		font-size: 1rem;
		line-height: 1.5; 
		border-radius: .25rem;
	}
}

.carousel-control-next, .carousel-control-prev {
	width: 5%;
}

.footer-navigation h5 {
	text-transform: uppercase;
}

.footer-navigation h5, .footer-navigation a.nav-link, .footer-copyright {
	letter-spacing: 1px;
}