/*
 Theme Name:   Greater West Outdoor Power Equipment & Hire
 Theme URI:    https://greaterwestope.com.au/
 Description:  Custom theme for Greater West Outdoor Power Equipment
 Author:       Weber Design Studio
 Author URI:   https://weberdesignstudio.com.au
 Template:     generatepress
 Version:      0.1
*/

/* HEADER */

	/* Main */
	/*header#masthead {border-bottom:1px solid #ededec;}*/

	/* Top Bar */
	.top-bar strong {font-weight:600;}
	.top-bar i {margin-right:6px;}
	.top-bar-pipe {margin-left:10px; margin-right:10px;}

	/* Search Bar */
	input[type="search"] {color:#000 !important;}
	.search-field:focus {color: #000;}

	.mobile-search {max-width:100% !important;}
	.e-search-input {width: 100%; max-width: 100%; box-sizing: border-box;}

	/* Brand Logos */
	.brand-logos, .brand-logos img {box-sizing:border-box;}
	.brand-logos .elementor-widget-image {padding:15px;}

	/* PAGE HERO */

	/* Elementor Hero Slider */
	.elementor-slide-heading {text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.59);}

	/* GeneratePress Page Hero */
	.page-hero h1 {text-transform:uppercase;}
	body.archive h2, body.single-product h2 {font-size:40px;}

/* TYPOGRAPHY */

	/* Headings */
	h1 {letter-spacing:-0.04em;}

	/* Page Titles */
	.gwope-custom-page-title h1, .gwope-custom-page-title h2 {text-align:left;}
	.gwope-custom-page-title h2 {font-size:26px !important;}

		@media screen and (max-width:480px){.gwope-custom-page-title {padding:20px;}}
		@media screen and (max-width:1024px){.gwope-custom-page-title {padding:20px 30px;}}
		@media screen and (min-width:1025px){.gwope-custom-page-title {padding:20px 40px;}}

/* WOOCOMMERCE */

	/* Disable Pricing */
	.archive .woocommerce-Price-amount, .archive .price {display:none !important;}

	/* Store Notice */
	.woocommerce-store-notice, p.demo_store {background-color: #ef7f00;}

	/* WC Headings */
	h2.woocommerce-loop-product__title, h2.woocommerce-loop-category__title {font-weight:normal !important; text-transform:unset !important;}
	h2.woocommerce-products-header__title.page-title {font-weight: normal; font-size: 40px;}

	/* WC Products Archive */
	.elementor-posts .elementor-post__card {padding:15px !important;}
	
	li.product {padding:0 10px !important; box-sizing:border-box;}
	.woocommerce ul.products li.product .price {font-size:18px;}
	li.product {padding: 15px !important;}
	
	.archive .woocommerce-Price-amount {font-size:18px;}
	span.onsale {width:70px; height:30px; line-height:30px !important;}

	body.home mark.count {display:none;} /* Hide product count on homepage */

	/* WC Pagination */
	/*nav.elementor-pagination {margin-top:30px;}*/
	body.post-type-archive-product .elementor-widget-jet-smart-filters-pagination {display:none;}
	.woocommerce-ordering /*, .woocommerce-pagination */ {display:none;}
	.search .woocommerce-ordering {display:block !important;}
	.woocommerce-pagination {display:block !important;}

.woocommerce nav.woocommerce-pagination ul li {float:none;}
	.woocommerce nav.woocommerce-pagination ul {margin-top:20px; display:block !important; padding-top:20px; border-top:1px solid #ededec; border-left:none; border-right:none; border-bottom:none;}
	.woocommerce nav.woocommerce-pagination ul li {border:none;}
	.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li span.current:hover, .woocommerce nav.woocommerce-pagination ul li span.current {background:none;}
	.woocommerce nav.woocommerce-pagination ul li a {color:#3A3A3A;}
	.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {color:#90B115;}
	.woocommerce nav.woocommerce-pagination ul li a {background:none !important;}


	/* WC Product Images */
	.woocommerce-placeholder {border:none !important;}
	/*.woocommerce div.product div.images img {border: 1px solid #ededec; border-radius: 15px;}*/

	/* WC Catalogue Hover Effects */
	.wc-product-image:hover, .elementor-posts .elementor-post__card .elementor-post__thumbnail__link:hover, .woocommerce-LoopProduct-link img:hover {opacity:0.5;}
	.woocommerce-LoopProduct-link img, .woocommerce-LoopProduct-link img:hover,	.wc-product-image, .wc-product-image:hover,	.elementor-posts .elementor-post__card .elementor-post__thumbnail__link, 		.elementor-posts .elementor-post__card .elementor-post__thumbnail__link:hover {transition:ease-in-out all 0.2s;}

	/* WC Single Product */
	.product_meta {border:none !important; padding-top:0 !important;}
	.single-product p.price {margin-bottom:10px;}
	.single-product .woocommerce-Price-amount {font-size: 30px;	letter-spacing:-0.03em;}
	.gwope-price {margin:0 !important;}

	/* WC Product Attributes Meta */
	span.sku_wrapper.detail-container {display: block; float: left; width: 100%;}
	
	.woocommerce table.shop_attributes {text-transform:uppercase; font-size:80%;}
	.woocommerce table.shop_attributes, .woocommerce table.shop_attributes th.woocommerce-product-attributes-item__label, .woocommerce table.shop_attributes td.woocommerce-product-attributes-item__value {border:none !important; padding:0; margin-bottom:5px;}
	.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td {float: left; border:none !important;}
	.woocommerce table.shop_attributes td.woocommerce-product-attributes-item__value p {padding:0; font-style:normal;}
	.woocommerce table.shop_attributes th.woocommerce-product-attributes-item__label {width:auto; margin-right:4px;}

	/* Hire Products */
	body.term-hire .jet-filters-pagination {display:none;}
	.hire-price-variable table {margin-bottom:0 !important;}
	.hire-price-variable th.label {width: 100%; float: left; padding:0;}
	.hire-price-variable td.value {float: left;}

.hire-price-variable {margin-bottom:0 !important;}

	/* Misc. WC Ordering */
	/*nav.woocommerce-breadcrumb {order: 1;}*/
	.wc-columns-container {order: 2;}
	.woocommerce-pagination{order: 3;}
	.woocommerce-products-header {order: 4;}
	.woocommerce-products-header>.woocommerce-products-header__title{display: none !important;}

/* SHOP FILTERS */

	.shop-filters-mobile {border: 1px solid #ccc;}

/* Conditional Display of Filters based on context */

	/* Hide Filters on Top Level Shop Page */
	.post-type-archive-product .product-filter-helptext {display:block !important;}
	.sidebar-product-filters .product-filter-helptext {display:none;}
	
	.post-type-archive-product .gwope-brand-filter, .post-type-archive-product .gwope-category-filter, .post-type-archive-product .gwope-price-filter, .post-type-archive-product .gwope-filter-reset, 		.post-type-archive-product .gwope-sort-filter {display:none !important;}

.post-type-archive-product .shop-filters-mobile {display:none !important;}

	/* Category Filter Conditions */
	.archive.tax-pa_brands .gwope-category-filter {display:block !important;} /* Display category filter for brands only */
	.tax-product_cat .gwope-category-filter {display:none !important;} /* Hide category filter everywhere else */

	/* Brands Filter Conditions */
	.archive.tax-pa_brands .gwope-brand-filter {display:none !important;} /* Hide brand filter on archive template when shopping by Brand */
	/*.tax-product_cat .gwope-brand-filter {display:block !important;}*/ /* Display Brand filter everywhere else */

/* SITE CONTENT */

	.inside-article .entry-content {display: grid;}
	.videoframe {max-width:600px;}

	/* Homepage */
	.grass-border-top {position:relative;}
	.grass-border-top::before {content:""; position:absolute; left:0; right:0; width:100%; height:120px; background:url(https://greaterwestope.com.au/wp-content/uploads/2019/10/grass-border-top.png); background-size:cover; top:-115px}

/* FOOTER */
	
	/* Copyright */
	.copyright-footer p {margin-bottom:0;}
	.copyright-footer a {color:#808080;}
	.copyright-footer a:hover {color:#000;}

/* MISC */
/* CSS added by previous SEO company */

	#newbtn {padding-right: 70px !important; padding-left: 70px !important;}
	#newbtn1 {padding-right: 50px !important; padding-left: 50px !important;}
	.errorpage {display: inline-block; margin: 0 25px; font-size:20px; padding-left:30% !important;}
	.pageli {display: inline-block; margin: 0 25px; font-size:20px;}
	.uhoh {text-align: center;font-size:80px; margin-top: 2%;}
	.new_heading_1 {font-size: 40px; margin-bottom: 20px; line-height: 1.2em; font-weight: 600;}

/* Prevent horizontal scroll bar */
body {overflow-x:hidden;}

/* -------------------------------------------------------------------*/

/* MEDIA QUERIES */
@media screen and (max-width:1400px){
	
	/* Top Bar */
	.top-bar {text-align:center;}
	.top-bar .textwidget {padding:0 20px !important;}
	.top-bar-align-right .inside-top-bar>.widget:nth-child(2n){float:none;}
}

@media screen and (min-width:768px){
	
	/* Main Navigation */
	.main-navigation {margin-top:4px;}
	
	/* Brands Page */
	.brand-logos img {max-width:250px;  /*padding:20px 40px;*/}	
		
		/* Unknown css */
		.errorpage {margin: 0 11px;padding-left:20% !important;}
		.pageli {margin: 0 11px;}
		.uhoh {text-align: center; font-size: 66px; margin-top: 0%;}
		.fonth1 {font-size: 124px;}
}

@media screen and (min-width:1025px){
	
	/* MEGA MENU */
	
	/* Multi Column submenu on desktop */
	.sub-menu li {border-bottom:1px solid #666;}
	.sub-menu li:last-child {border:none;}
	
	/*.main-navigation.navigation-stick li.two-column-menu > ul {border-top:1px solid #ededec;}*/
	.main-navigation li.two-column-menu > ul {display: grid; grid-template-columns: 50% 50%; width: 550px;}
	.main-navigation li.two-column-menu > ul li {border-right:1px solid #666;}
	.main-navigation li.two-column-menu > ul li a {text-transform:none !important;}
	
	.main-navigation li.five-column-menu > ul {display: grid; grid-template-columns: 20% 20% 20% 20% 20%; width: 800px;}
	.main-navigation li.five-column-menu > ul li {border:none !important;}
}

@media screen and (max-width:767px){
	
	/* WC Products Archive */
	.woocommerce ul.products li.product .woocommerce-LoopProduct-link h2, .woocommerce ul.products li.product .woocommerce-loop-category__title {font-size:14px !important;}		
	
	.mobile-hirenow-cta {margin-left:auto; margin-right:auto;}
	
}

@media screen and (max-width:480px){
	
	/* Top Bar */
	.top-bar {display:none;}
}