/*
Theme Name:   child-theme
Description:  child-theme is WordPress Theme created by Globalgraphics
Author:       Globalgraphics
Author URL:   https://www.globalgraphics.co.uk / https://www.globalgraphicswebdesign.com
Template:     wp-bootstrap-starter
Version:      1.0
Text Domain:  child-theme
*/
/*
Set Elementor > Site Settings > layout settings > content width = 1560px
*/

:root {
	--primary: #960006;
	--secondary: #F60001;
	--red: #F60000;
	--text: #1E252C;
	--text-grey: #999999;
	
	--line: #cccccc;
	--background: #F5F5F5;
	--background-dark: #1E252C;
}

html, body { overflow-x: hidden; }
textarea:focus, select:focus, input:focus, button:focus, a:focus { box-shadow: none !important; outline: none !important; }
/*
These are now handled by Elementor, set in Site Settings.

html,body,p,li,td,button,input { color: var(--text); font-family: 'Lato','Arial'; font-size: 16px; font-weight: 400; line-height: 2em; }
h1,h2,h3,h4,h5,h6 { color: var(--heading); font-family: 'Lato','Arial'; font-weight: 700; line-height: 1.4em; }
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

a { color: #3A5A70; }
a:hover { color: #3A5A70; text-decoration: none; }

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6, .dark p, .dark li, .dark a, .dark td, .dark div, .dark span { color: #fff !important; }
.largetext p, .largetext a, .largetext span { font-size: 20px; }
*/

#page { position: relative; }
.page-content, .entry-content, .entry-summary { margin-top: 0; }
header#masthead { background: transparent; box-shadow: none; width: 100%; position: absolute; top: 0; left: 0; z-index: 100; }
header#masthead * { color: #fff; }
.navbar { display: block; }

header#masthead #logo { display: flex; justify-content: center; padding-top: 10px; padding-bottom: 10px; }

header#masthead #logo img { height: auto; max-width: 200px; max-height: 100px; width: 100%; }

/* Navigation */
.navbar button { float: right; margin-left: 20px; }
#main-nav { background: #fff; }
header#masthead a { display: inline-block; color: #fff !important; font-size: 18px !important; font-weight: 500; }
header#masthead a:hover { text-decoration: none; color: var(--secondary) !important; font-weight: 500 !important; }
header#masthead #navbtn { position: absolute; top: -130px; right: 15px; }
header#masthead #icons { display: flex; align-items: center; justify-content: space-between; }
header#masthead #icons a { font-size: 20px; }
header#masthead #icons #membersarea { border: 2px solid #fff; border-radius: 5px; padding: 10px 20px; }
header#masthead #icons #membersarea:hover { text-decoration: none; background: var(--text); }
header#masthead #icons #join span { display: none; }

header#masthead #main-nav * { color: var(--text) !important; }
header#masthead #main-nav li { display: block; padding-left: 20px; padding-right: 20px; }
#headersearchinput input { color: var(--text) !important; }


/* Button */
.vc_btn3, .btn, input[type=button], input[type=submit], button.components-button, a.elementor-button, #content button:not(.wc-block-components-quantity-selector__button):not(.wc-block-cart-item__remove-link), a.wc-block-cart__submit-button { background-color: transparent !important; background-image: linear-gradient(180deg, var( --e-global-color-secondary ) 0%, #960007 100%) !important; color: #fff !important; display: inline-block; font-weight: 700 !important; line-height: 1em; padding: 15px 40px !important; border-radius: 5px !important; font-size: 18px !important; }
.button:hover, .vc_btn3:hover, .btn:hover, input[type=button]:hover, input[type=submit]:hover, button.components-button:hover, a.elementor-button:hover, #content button:not(.wc-block-components-quantity-selector__button):not(.wc-block-cart-item__remove-link):hover, a.wc-block-cart__submit-button:hover { background: var(--text) !important; }
button.navbar-toggler { padding: 10px !important; line-height: 1em !important; }

button.wc-block-components-panel__button { border: none !important; padding: 0 !important; line-height: 1.4em !important; }

/* Woocommerce Cart button with item count */
#topbasket { color: #fff; font-size: 30px; position: relative; vertical-align: middle; } 
#topbasket:hover { color: var(--secondary); }
#topbasket span { border-radius: 50%; background: var(--primary); display: block; position: absolute; right: -10px; top: -5px; font-size: 10px; color: #fff; text-align: center; vertical-align: middle; width: 20px; height: 20px; padding-top: 3px; line-height: 16px; font-weight: 700; }

/* Content */
#breadcrumbs { margin-bottom: 40px; }
#breadcrumbs * { color: var(--text); }
#breadcrumbs .breadcrumb_last { color: var(--text-grey); }

/* Product Carousel */
.wpce_single_item { box-shadow: none; }
.wpce_single_item .wpce_thumbnail img { box-shadow: none; max-height: 220px; }
.wpce_single_item h2 { font-size: 18px !important; font-weight: 400; text-align: left; }
.wpce_single_item .wpce_cartbtn { display: none; }
.wpce_single_item .wpce_price { text-align: left; font-weight: 700; }
.wpce-arrow { background: transparent; color: var(--text); border: none; font-size: 40px; }
.wpce-arrow:hover { background: transparent; color: var(--primary); border: none; }

/* Contact */
.nf-field-label { display: none; }
.wpb_gmaps_widget .wpb_wrapper { padding: 0; }
.nf-form-fields-required { display: none; }
.nf-form-content .list-select-wrap .nf-field-element>div, .nf-form-content input:not([type=button]), .nf-form-content textarea, .nf-form-content select { background: #fff !important; font-size: 14px !important; color: #000 !important; font-family: Montserrat !important; border-radius: 3px !important; border: 1px solid #c4c4c4 !important; }
.nf-form-content input:not([type=button])::placeholder, .nf-form-content textarea::placeholder { color: #000 !important; }
.nf-form-content textarea { height: 120px; }

/* WooCommerce */
body.woocommerce-page #main_title, body.page-id-162 #main_title { margin-bottom: 80px; }
body.single-product #main_title { margin-bottom: 40px; }
.woocommerce-ordering { margin-bottom: 40px !important; }
.woocommerce-ordering select { padding: 10px; }
.woocommerce-terms-and-conditions-wrapper { display: block; width: 100%; }

.woocommerce ul.products li.product { padding: 10px; text-align: center; }
.woocommerce ul.products li.product * { text-align: center; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--text); font-weight: 600; font-size: 18px !important; }
.woocommerce ul.products li.product h5 { color: var(--text); font-weight: 600; font-size: 18px; text-transform: capitalize; }
.woocommerce ul.products li.product .price * { color: var(--primary); font-weight: 700; font-size: 18px; }
.woocommerce ul.products li.product a img { width: auto; max-height: 200px; margin: 0 auto 30px auto; }
.woocommerce ul.products li.product > div { text-align: center; }
.woocommerce ul.products li.product .stock { color: #666666; margin-bottom: 0; display: block; }

.woocommerce ul.products li.product table { width: 100%; margin-bottom: 10px; }
.woocommerce ul.products li.product table td { color: var(--text); font-size: 14px; text-align: left; padding: 0 5px; }
.woocommerce ul.products li.product table td:first-child { text-align: right; font-weight: 600; }

.woocommerce ul.products li.product .button:hover { color: #fff; background: var(--primary) !important; }
.woocommerce ul.products li.product:hover { box-shadow: 0 0 10px var(--line); }

.woof_container { padding-bottom: 40px !important; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.woof-front-builder-container h4 { background: none !important; padding: 0 !important; text-align: left !important; font-size: 20px !important; }

.irs--round .irs-from, .irs--round .irs-to, .irs--round .irs-single { background-color: var(--text) !important; }
.irs--round .irs-from:before, .irs--round .irs-to:before, .irs--round .irs-single:before { border-top-color: var(--text) !important; }
.irs--round .irs-handle { border-color: var(--text) !important; }
.irs--round .irs-bar { background-color: var(--text) !important; }
.woof_fs_by_instock:before { content: 'Stock Availability'; display: block; font-size: 20px; font-weight: 500; margin-bottom: 20px; }

.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images { width: 38%; }
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary{ width: 58%; }

.woocommerce div.product div.images img { max-height: 450px; width: auto; margin: auto; }
.woocommerce #main .related { clear: both; }
.woocommerce div.product .product_title { font-size: 30px; font-weight: 500; }
.woocommerce div.product .price * { font-size: 30px; font-weight: 500; color: var(--red); }
.woocommerce .quantity .qty { line-height: 46px; margin-right: 30px; border: 1px solid var(--line); background: var(--background); border-radius: 5px; }
.woocommerce .product_meta * { color: var(--text); font-size: 14px; }
.related h2 { font-size: 30px !important; margin-bottom: 40px; }

.wc-block-cart-item__wrap > a { color: var(--text); }
.wc-block-cart-item__image img { width: auto !important; max-height: 60px; }

body.woocommerce-checkout #content h3, body.woocommerce-checkout #content h2 { font-size: 25px; }
.wc-block-cart th, .shop_table thead th, .wc-block-cart__totals-title { font-size: 20px !important; }
.woocommerce-checkout #payment { margin-bottom: 50px; background: var(--background); }

#gallery-1 img { border: none !important; }

.elementor-image-gallery .gallery-item img { min-height: 300px; object-fit: contain; }

.woocommerce #content ul.products li.product h4.japanese_title { color: var(--text); display: block; margin-bottom: 10px; font-size: 18px; font-weight: 400; }
body.single-product h4.japanese_title { color: var(--text); display: block; margin-bottom: 20px; margin-top: 20px; font-size: 20px; font-weight: 400; }

.woocommerce #content ul.products li.product form.cart { border: 1px solid var(--line); border-radius: 5px; padding: 5px; margin-top: 20px; display: flex; justify-content: space-between; }
.woocommerce #content ul.products li.product form.cart * { display: inline-block; }
.woocommerce #content ul.products li.product form.cart .quantity { width: 30%; }
.woocommerce #content ul.products li.product form.cart .quantity input { padding: 5px !important; background: #efefef !important; color: var(--primary) !important; line-height: 1em; margin-top: 0; border: none !important; width: 100%; }
.woocommerce #content ul.products li.product form.cart .button { width: 69%; padding: 5px !important; background: none !important; color: var(--primary) !important; margin-top: 0; }

/* Register */
body.page-id-162 nf-field { width: 49%; float: left; }
body.page-id-162 nf-field:nth-child(even) { float: right; }
body.page-id-162 nf-field:nth-child(15), body.page-id-162 nf-field:nth-child(16), body.page-id-162 nf-field:nth-child(17) { width: 100%; float: none; }

/* My Account */
.woocommerce-MyAccount-navigation a { color: var(--text); }
.woocommerce-MyAccount-content a { color: var(--primary); }
.woocommerce-form-login .woocommerce-form-login__rememberme { display: block; width: 100%; }

/* Footer */
footer#colophon * { color: #fff; }
footer#colophon a:hover { text-decoration: underline; }
footer#colophon .menu { padding: 0; margin: 0; list-style: none; }
#menu-bottom-links { text-align: center; }
#menu-bottom-links li { display: inline-block; margin: 0 15px; }


/* Large devices (Large desktops, more than 1199px) */
/* No media query since this is the default in MM */


/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	body.admin-bar header#masthead { top: 32px; }

	body.blog article .entry-content .post-thumbnail { float: right; margin-left: 20px; }
	body.blog article .entry-content .post-thumbnail img { width: unset; }
	

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	

}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	#main-nav { background: transparent; }
	#main-nav ul li { margin-left: 40px; }
	#mobile_search { display: none; }
	.navbar-expand-xl .navbar-collapse { display: inline-block !important; }
	
	header#masthead a:hover { color: #fff !important; text-decoration: underline; }
	
	#search { display: block; float: right; }
	#search input { width: 300px; }
	
	header#masthead #nav { display: flex; align-items: center; justify-content: flex-end; }
	/*header#masthead #icons { position: relative; top: unset; right: unset; }*/
	header#masthead #logo img { max-height: 140px; }
	header#masthead #icons { justify-content: end; }
	header#masthead #icons a { margin-left: 30px; }
	header#masthead #icons #join span { display: inline; }
	
	header#masthead #main-nav * { color: #fff !important; }
	header#masthead #main-nav li { display: inline-block; }
	header#masthead #main-nav li { padding-left: 0; padding-right: 0; }
	
	#main-nav ul li:hover > ul { display: block; }
	
	#menu-bottom-links { text-align: right; }
}

/* MEDIUM DEVICES ONLY */
@media only screen and (min-width: 992px) and (max-width: 1199px){
}

/* SMALL DEVICES ONLY */
@media only screen and (min-width: 768px) and (max-width: 991px) {
}


/* Elementor Fix so that stretched rows have their content within the container */
.elementor-section-stretched .elementor-container { max-width: 490px !important; }
@media (min-width: 768px) { .elementor-section-stretched .elementor-container { max-width: 660px !important; } }
@media (min-width: 992px) {	.elementor-section-stretched .elementor-container { max-width: 910px !important; } }
@media (min-width: 1200px) { .elementor-section-stretched .elementor-container { max-width: 1090px !important; } }
@media (min-width: 1660px) { .elementor-section-stretched .elementor-container { max-width: 1540px !important; } }

/* Elementor fix so that 4 columns display as 2 columns on tablets and small screens */
@media (min-width: 768px) { .elementor-column.elementor-col-25, .elementor-column[data-col="25"] { width: calc(50% - 20px) !important; } }

/* Allows for ultra wide screen */
@media (min-width:1660px){ 
    .container, .container-lg, .container-md, .container-sm, .container-xl { max-width:1600px }
	.navbar-expand-xxl { -ms-flex-flow: row nowrap; flex-flow: row nowrap; -ms-flex-pack: start; justify-content: flex-start; }
	.navbar-expand-xxl .navbar-toggler { display: none; }
	.navbar-expand-xxl .navbar-collapse { display: -ms-flexbox !important; display: flex !important; -ms-flex-preferred-size: auto; flex-basis: auto; }
	.navbar-expand-xxl .navbar-nav { -ms-flex-direction: row; flex-direction: row; }
	.navbar-expand-xxl .navbar-nav .dropdown-menu { position: absolute; }
}