/*
Theme Name: Broad Haven Holiday Park
Theme URI: http://nightshiftcreative.co/
Author: Nightshift Creative
Author URI: http://nightshiftcreative.co/
Description: Child theme for NightLight
Version: 1.0.0
Template: NightLight
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: four-columns, left-sidebar, right-sidebar, custom-colors, custom-logo, footer-widgets
*/

/* =Theme customization starts here
------------------------------------------------------- */ 

/*************************************/
/* GLOBAL
/*************************************/
body {
	background:white;
}

.button, input[type="submit"] {
	border-radius:0;
	font-weight:700;
}

h1, h2, h3, h4, h5, h6 {
	font-weight:700;
}

a { text-decoration:none; }

.module-header h2 { 
	font-weight:700; 
	font-size:40px;
}
.module-header .widget-divider .bar {
	background:#bf903e !important;
	margin-left:-5px;
}

.rough-edge:after {
	content:'';
	width:100%;
	height:200px;
	display:block;
	position:absolute;
	bottom:0;
	left:0;
	z-index:1;
	background-image:url(images/rough-edge.svg);
	background-size:100%;
	background-repeat:no-repeat;
	background-position:bottom;
}

.rough-edge-tan:after { 
	background-image:url(images/rough-edge-tan.svg); 
	z-index:-1;
}

.rough-edge-top:before {
	content:'';
	width:100%;
	height:200px;
	display:block;
	position:absolute;
	top:-200px;
	left:0;
	z-index:1;
	background-image:url(images/rough-edge-tan.svg);
	background-size:100%;
	background-repeat:no-repeat;
	background-position:bottom;
}

button {
	padding: 25px;
}


/*************************************/
/* HEADER
/*************************************/

header.full-width .header-logo { 
	padding:0; 
	margin-left: -15px;
    margin-bottom: -6px;
}
.header-logo img { width:165px; transition:all 0.4s; }

.main-header.header-classic.scrolled .header-logo img { width:115px; }

/** MENU **/
.header-menu .main-menu > li > a { font-weight:600; font-size:17px; }
body.home .header-menu .main-menu > li > a { color:#555555; }
body.home .header-transparent .header-menu .main-menu li.menu-item-has-children:after { color:#555555; }

body.home .header-transparent .main-menu-toggle { background:#194253; }

.header-menu.align-left { margin-left:25px; }

.sub-menu { padding:10px; background:#232323; }

/** HEADER ACTIONS **/
.header-actions { margin-right:10px; }
.header-action-item {
	text-align:center;
	display:inline-block;
	margin:0px 0px 0px 12px;
	position:relative;
}

.header-actions .icon {
    color: #969696;
    font-size: 21px;
    display:inline-block;
    width: 43px;
    height: 43px;
    line-height:43px;
    margin-bottom: 0px;
    margin-right: 0;
    border: 1px solid #c9c9c9;
    border-radius: 100%;
    text-align: center;
    transition: all 0.4s;
}

.header-actions .header-action-text {
	display:none;
    position: relative;
    color: #303030;
    line-height: 1.3;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    text-transform:uppercase;
    transition: all 0.4s;
}

.header-action-item:hover .icon { color:white; border-color:#d40000; background:#d40000; }

.cart-num {
	display: block;
    background:#d40000;
    color: white;
    width: 15px;
    height: 15px;
    font-size:10px;
    font-weight:600;
    padding-top:1px;
    text-align: center;
    border-radius: 100%;
    position: absolute;
    right: 0px;
    box-shadow: 0px 0px 0px 3px white;
}

.button.button-header-cta { display:none !important; }


/** HEADER TRANSPARENT **/
.header-transparent { border:none; }
.header-transparent .header-actions .header-action-text { color:white; }
.header-transparent .header-actions .icon { color:white; border-color:white; }

/** HEADER MENU BAR **/
.header-default .header-menu .container-fixed { background:#2b2b2b; }
.header-default .header-menu.fixed { background:#2b2b2b; }
.header-default .header-menu.align-left { margin-left:0; }

/** SUBMENU **/
.sub-menu {
	background:#194253;
	border-radius:0;
}

/*************************************/
/* SUBHEADER
/*************************************/
.subheader { background-position:center !important; }
.subheader h1 { font-size:65px; font-weight:700; }

.subheader.subheader-slider .slide { padding:200px 0px; }
.subheader.subheader-slider h1 { font-size:65px; }

.subheader.subheader-slider .slide-text { width:65%; font-size:26px; margin:0 auto; }

.subheader.subheader-slider .button { 
	margin-top:30px; 
	background:white;
	color:black;
	font-weight:700; 
	font-size:17px; 
	padding:20px 50px; 
}

.subheader.subheader-slider .button:hover { color:white; }

/*************************************/
/* HOME
/*************************************/
.home-banner {
	background:url(https://www.bhhp.co.uk/wp-content/uploads/2021/03/home-banner-edit.jpg);
	background-repeat:no-repeat;
	background-position:center;
	background-size:cover;
	position:relative;
	height:730px;
}
.home-banner .content-box {
	position:absolute;
	left:0;
	bottom:0;
	background-color:rgba(25, 66, 83, 0.6);
	background-image:url(images/pattern.png);
	background-repeat:no-repeat;
	background-position:left bottom;
	width:50%;
	padding:82.5px;
	padding-left:13%;
}
.home-banner h1 { margin-bottom:30px; font-size:64px; color:white; position:relative; }
.home-banner h1 strong { color:#bf903e; }
.home-banner h1:before {
	content:'';
	position:absolute;
	display:block;
	width:260px;
	height:3px;
	margin-left:-280px;
	top:40px;
	background:white;
}

.home-about {
	background-size:cover;
}

.home-about .button.outline { background:rgba(255, 255, 255, 0.2); }

.our-homes {
	background:url(images/footer-bg.png);
	background-repeat:no-repeat;
	background-position:left bottom;
}

.home-local-areas { padding-bottom:0; }

/**************************************/
/* Local Areas
/*************************************/
.local-area {
	background-color:#f5f5f5;
	background-position:center;
	background-size:cover;
	background-repeat:no-repeat;
	width:31%;
	margin:1%;
	height:300px;
	display:inline-block;
	float:left;
	vertical-align:top;
	font-weight:700;
	color:white;
	position:relative;
	transition:all 0.4s;
}

.local-area:first-child,
.local-area:nth-child(6n) { width:64%; }

.local-area:after {
	content:'';
	display:block;
	position:absolute;
	width:100%;
	height:110px;
	bottom:0;
	left:0;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */

}

.local-area:hover { opacity:0.7; }

.local-area h4 {
	color:white;
	position:absolute;
	font-size:30px;
	bottom:20px;
	left:20px;
	z-index:2;
}
.local-area h4 a { color:white; }

.single-ns-local-areas .blog-post-details { display:none; }
.single-ns-local-areas .blog-post-title { margin-bottom:25px; font-size:30px; }

/**************************************/
/* Blog
/*************************************/
.blog-post-date { display:none; }

.blog-post-title { 
	font-family:'Montserrat';
	font-size:21px; 
}
.blog-post-content h3 a { font-weight:600; }

.ns-list-posts .blog-post-excerpt { display:none; }

.ns-list-posts .blog-post-details { border:none; margin-bottom:0; }
.blog-post-details > li { color:#68635b; font-size:13px; }
.blog-post-details > li.blog-post-details-comments { display:none; }
.blog-post-details > li.blog-post-details-author { display:none; }
.blog-post-details > li.blog-post-details-date { margin:0; }

.blog-post { background:none; }
.blog-post:hover { box-shadow:none; }

body.blog article.type-post {
	width:31.7%;
	margin-right:2%;
	display:inline-block;
	vertical-align:top;
}
body.blog article.type-post:nth-child(3n) { margin-right:0; }
body.blog .blog-post-content p { font-size:13px !important; }

.blog-post-content { padding:0; padding-top:20px; }

/** SINGLE POST **/
body.single-post .blog-post-title { font-size:35px; }

body.single-post .related-posts .blog-post-title { font-size:22px; }
body.single-post .related-posts > h3 { margin-bottom:25px; }
body.single-post .related-posts .post-body { display:none; }

.comments-area { display:none; }

/** WIDGETS **/
.widget-sidebar h4.widget-header { font-size:22px; }

/**************************************/
/* WooCommerce
/*************************************/

/** GLOBAL **/
.woocommerce button.button.alt.disabled,
.woocommerce #respond input#submit.alt, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt,
.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button {
	background:#d40000;
	font-family:'Montserrat' !important;
	font-weight:600;
	font-size:15px;
	text-transform:uppercase;
	color:white;
	padding:13px 20px;
}

.woocommerce button.button.alt.disabled:hover,
.woocommerce #respond input#submit.alt:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover, 
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover {
	background:#b90000;
	color:white;
}

.brands-table { 
    margin:0; 
    border-spacing: 10px;
    border-collapse: separate;
}

.brands-table,
.brands-table td {  border:none; text-align:center; }
.brands-table td { border-radius:6px; padding:20px; background:rgba(255, 255, 255, 0.1); }
.brands-table td a { display:block; }
.brands-table td img { width:140px;  }

/* Products filter */
.widget .select2-container--default .select2-selection--single { display:none; }

.shop-widget-area .widget {
	border:none; 
	padding:0;
	width:32%;
	margin-right:2%;
	display:inline-block;
	vertical-align:top;
}
.shop-widget-area .widget:nth-child(3n) { margin-right:0; }

.shop-widget-area .widget-sidebar h4.widget-header {
	margin:0;
	margin-bottom:-10px;
	padding:0;
	border:none;
}

/* Product listings */
.woocommerce ul.products li.product {
	background:white;
	border:1px solid rgba(0, 0, 0, 0.1);
	text-align:center;
}

.product-loop-details { margin:15px; }

.woocommerce ul.products li.product .woocommerce-loop-category__title, 
.woocommerce ul.products li.product .woocommerce-loop-product__title, 
.woocommerce ul.products li.product h3 {
	color:#293e45;
	font-size:22px;
	padding-top:0px;
}

.woocommerce ul.products li.product .woocommerce-placeholder { border:none; border-bottom:1px solid rgba(0, 0, 0, 0.1); }

.woocommerce ul.products li.product .price {
	color:#d40000;
	font-size:19px;
	font-weight:600;
	margin-bottom:0;
}

.woocommerce ul.products li.product .out-of-stock {
	position:absolute;
	background:#3a464e;
	color:white;
	font-weight:700;
	padding:7px 12px;
	top:11px;
	left:11px;
	font-size:12px;
}

.woocommerce .attributes {
	text-align:left;
	font-size:13px;
	border-bottom:1px solid rgba(0, 0, 0, 0.1);
	line-height:2.0;
	margin:0px 15px;
}
.woocommerce .attributes:last-child { border:none; }
.woocommerce .attribute-value { float:right; }

.single-product.woocommerce .attributes { margin:0; font-size:16px; }
.single-product.woocommerce .attributes-wrap { margin-bottom:25px; }

.woocommerce-breadcrumb,
.woocommerce-products-header { display:none; }

.product-category { text-align:center; border:1px solid rgba(0, 0, 0, 0.1); padding-bottom:0 !important; position:relative; transition:0.4s all; }
.product-category:after {
	content:'';
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(0, 0, 0, 0.3);
}
.product-category:hover { opacity:0.8; }


.product-category img { margin-bottom:0 !important; }

.product-category h2 { 
	display: flex;
	align-items: center;
	justify-content: center;
	color:white !important;
	z-index:20;
	font-weight:700;
	position:absolute;
	font-size:22px !important;
	top:0;
	width:100%;
	height:100%;
	padding:0 !important;
	margin:0 !important;
}

.product-category .count { 
	background:transparent;
	font-size:18px; 
	color:white;
}

/* Product Slider */
.woocommerce ul.products .slide { padding:0.5%; }
.woocommerce ul.products .slide li.product {
	width:100% !important;
	margin:0;
}

.slider-wrap-products .slider-next { margin-right:-4%; padding:0; line-height:45px; }
.slider-wrap-products .slider-prev { margin-left:-4%; padding:0; line-height:45px;  }

.our-homes-slider { padding:10px 0px 50px 0px; margin-top:100px; background:#f9f4ea; position:relative; }
.our-homes-slider .widget-divider { margin-bottom:-40px; }

/** PRODUCT SINGLE **/
.woocommerce div.product .product_title {
	 font-weight:700;
	 font-size:30px;
}

.woocommerce div.product h2 { font-size:24px; margin-bottom:30px; }

.woocommerce div.product div.images img { border:1px solid rgba(0, 0, 0, 0.1); }

.woocommerce div.product div.summary { position:relative; }

.woocommerce div.product div.summary .out-of-stock {
	background:#3a464e;
	color:white;
	font-weight:700;
	padding:7px 12px;
	font-size:12px;
	display:inline-block;
	margin-bottom:20px;
}

.woocommerce div.product p.price, 
.woocommerce div.product span.price {
	color:#d40000;
	font-size:28px;
	font-weight:600;
	margin-bottom:20px;
}

.woocommerce #enquiry input.button.alt {
	width: 100%;
    max-width: 100%;
    margin-top: 20px;
    padding: 24px;
}
.woocommerce .summary #enquiry { display:none; }

.ui-dialog .ui-dialog-titlebar-close { font-size:0 !important; margin-right:10px !important; }
.ui-dialog .ui-dialog-titlebar { background:#1a99ce !important; }
.ui-dialog .contact-bottom { display:none !important; }
.ui-dialog .contact-button {
	background:#1a99ce;
	color:white;
	padding:15px 30px !important;
}

.woocommerce-variation-price { text-align:right; }

.wc-pao-addon.wc-pao-addon-installation { text-align:right; }

.product_meta { padding-top:30px; }
.product_meta .sku_wrapper { display:block; }
.product_meta .posted_in { display:none; }


.woocommerce div.product form.cart { margin-bottom:10px; margin-top:20px; }

.woocommerce .quantity .qty { min-width:130px; border-radius:0; }

.woocommerce div.product form.cart .button { padding:16.5px 32px; margin-left:5px; }

.woocommerce div.product .woocommerce-tabs { width:60%; float:left; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding-left:0; margin-bottom:0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius:0; border:none; background:transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li:before,
.woocommerce div.product .woocommerce-tabs ul.tabs li:after { display:none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { box-shadow:0px -20px 30px rgba(0, 0, 0, 0.1); border-top:2px solid #d40000; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color:#d40000; }

.woocommerce-Tabs-panel--description > h2 { display:none; } 

.woocommerce-tabs-right { width:35%; margin-left:5%; float:right; }
.woocommerce-tabs-right-item { margin-bottom:25px; display:block; }


.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	border:none;
	padding:20px 17px;
	font-size:16px;
	font-weight:600;
}

.woocommerce div.product .woocommerce-tabs .panel { padding:50px; }
.woocommerce div.product .woocommerce-tabs .panel p { line-height:1.6; }

.related.products { margin-top:50px; }

.woocommerce div.product form.cart table td { color:black; font-size:15px; }

.woocommerce table.shop_attributes { margin-top:-10px; }
.woocommerce table.shop_attributes th { text-align:left; }
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td { padding:2px; border-right:none;  }
.woocommerce table.shop_attributes td { text-align:right; }
.woocommerce table.shop_attributes tr:nth-child(even) td, 
.woocommerce table.shop_attributes tr:nth-child(even) th { background:none; }

.pswp__bg { background:rgba(52, 72, 78, 0.85); }

.woocommerce span.onsale { display:none; }

.price-discount-table { background:white; font-size:13px; border:1px solid rgba(0, 0, 0, 0.1) !important; }
.price-discount-table th, .price-discount-table td { font-size:13px !important; padding:8px !important; border:none; }
.price-discount-table th { background:rgba(0, 0, 0, 0.07); }

.about-global { position:relative; background:#f8f1e5; padding:20px 0px 230px 0px; margin-top:100px; line-height:1.4; }
.about-global p { line-height:1.4; }
.about-global .center { width:80%; }
.about-global .button { margin-top:25px !important; }


/** CART **/
#add_payment_method .wc-proceed-to-checkout a.checkout-button, 
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button, 
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
	padding:30px;
	font-size:18px;
	width:auto;
	display:inline-block;
	float:right;
}

.woocommerce table.shop_table { background:white; }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { padding:17px; }


#add_payment_method table.cart td.actions .coupon .input-text, 
.woocommerce-cart table.cart td.actions .coupon .input-text, 
.woocommerce-checkout table.cart td.actions .coupon .input-text {
	width:200px;
	padding:11.5px;
	margin-right:6px;
}

/** CHECKOUT **/
.woocommerce form .form-row .select2-container { display:none; }


#customer_details {
	width:55%;
	margin-right:3%;
	float:left;
}

#customer_details .col-1,
#customer_details .col-2 { width:100% !important; max-width:100%; float:none; }
#customer_details .col-2 { margin-top:30px; }


#add_payment_method #payment ul.payment_methods li, 

.woocommerce-cart #payment ul.payment_methods li, 

.woocommerce-checkout #payment ul.payment_methods li { list-style:none; }


#order_review_heading { 
	width:40%;
	float:right;
}

.woocommerce-checkout-review-order {
	width:40%;
	float:right;
}


/** ALERTS **/
.woocommerce-error, 
.woocommerce-info, 
.woocommerce-message {
	padding:30px;
	background:#f0edda;
	border-color:#cec9aa;
	color:black;
	font-weight:500;
	font-size:20px;
}

.woocommerce-error a, 
.woocommerce-info a, 
.woocommerce-message a { color:#d40000; }

.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before { display:none; }

/** MY ACCOUNT **/
.woocommerce-account .woocommerce-MyAccount-navigation { width:27%; }

.woocommerce-account .woocommerce-MyAccount-navigation ul li { list-style:none; margin-left:0; }

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display:block;
	padding:17px;
	border-bottom:1px solid rgba(0, 0, 0, 0.1);
	font-weight:500;
	font-size:20px;
}

.woocommerce-account fieldset { margin-top:30px; }


/** LOGIN **/
.woocommerce form.checkout_coupon, 
.woocommerce form.login, 
.woocommerce form.register { background:white; border:none; box-shadow:0px 0px 40px rgba(0, 0, 0, 0.08); }

/*************************************/
/* FOOTER
/*************************************/
#footer { 
	padding:100px 0px;
	background:url(images/footer-bg.png);
	background-repeat:no-repeat;
	background-position:right;
}

#footer a { color:white; }

#footer h4 { font-size:25px; }

#footer .widget-divider .bar { background:#bf903e !important; }

/*************************************/
/* RESPONSIVE
/*************************************/
@media screen and (max-width: 1620px) {
	.home-banner .content-box { width:65%; padding:92.5px 50px; padding-left:13%; }
	.home-banner h1 { font-size:60px; }
}

@media screen and (max-width: 990px) {
	.home-banner .content-box { width:100%; }
	.home-banner h1 { font-size:44px; }
	
	body.blog article.type-post { width:100%; margin:0; }
}


@media screen and (max-width: 767px) {

	.header-action-item { margin:10px 0px 10px 3px; }
	.header-actions .header-action-text { display:none; }
	.header-actions .icon { width:35px; height:35px; line-height:35px; font-size:16px; }

	.home-banner h1 br { display:none; }
	
	.home-about .button { width:100%; margin-bottom:20px;}

	.local-area { width:100% !important; }

	.woocommerce ul.products li.product, 
	.woocommerce-page ul.products li.product {
		width:100% !important;
		float:none !important;
	}

	.product-category h2 { font-size:35px !important; }
	
	.shop-widget-area .widget { width:100%; margin:0; margin-bottom:15px; }
	.widget .select2-container--default { margin-top:20px; }
	.widget .select2-container--default .select2-selection--single { display:block; }
	
	.woocommerce div.product .woocommerce-tabs,
	.woocommerce-tabs-right { width:100%; float:none; margin:0; }

	#customer_details,
	#order_review_heading,
	.woocommerce-checkout-review-order {
		width:100%;
		margin-right:0;
		float:none;
	}

	#footer { text-align:center; }
	#footer .bar { margin:0 auto; }
	.widget.widget-footer ul li:before { display:none; }
	#footer .widget ul { margin-left:0; }
}