/*!
Theme Name:   USGolfData
Theme URI:    https://woocommerce.com/products/storefront/
Author:       Automattic
Author URI:   https://woocommerce.com/
Description:  Child theme for Storefront
Version:      4.6.2
Tested up to: 6.7
Requires PHP: 5.6.0
License:      GNU General Public License v3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  usgolfdata
Template:	  storefront
Tags:         e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, editor-style
*/
 
:root { 
	--primary: #003D81;
	--primary-light: #6699CC;
	--blue: #198FFF;
	--green: #245511;
	--pale-green: #d3ddcf;
	--red: #9F0C1A;
	--dk-yellow: #d3cc4e;
 }
 
 /* ################## STOREFRONT PARENT OVERRIDE ###################### */
.page-template-template-homepage:not(.has-post-thumbnail) .site-main { padding-top: 1em; }

body { font-family: sans-serif; font-size: 1.2em; line-height: 1.45em; font-weight: 400; background-color: #fff; color: #333; background-attachment: fixed;   }
header { display: flex; align-items: anchor-center; }
header>div:first-of-type { width: 250px; min-width: 250px; max-width: 250px; padding: 0 1em 0 1em !important; margin: auto; }
header>div:last-of-type { padding: 0 .5em 0 0; width: 100%; }
header.entry-header { padding-bottom: 20px !important; }
.site-header ul.menu li.current-menu-item > a { color: #ddd; }

h1 { font-size: 1.7em; line-height: 2em; margin-bottom: .2em; }
h2 { font-size: 1.5em; line-height: 1.8em; margin-bottom: .2em; }
h3 { font-size: 1.3em; line-height: 1.7em; margin-bottom: .2em; }
h4 { font-size: 1.1em; line-height: 1.6em; margin-bottom: .2em; }

input[type='checkbox'] { background-color: transparent !important; }


.woocommerce-active .site-header .site-branding,
.woocommerce-active .site-header .site-branding img { min-width: 250px; max-width: 250px; }
.woocommerce-active .site-header .main-navigation

.search,
.search a,
.site-search { display: none !important; }
.site-main { margin-bottom: 0; }
.site-header-cart,
.storefront-handheld-footer-bar ul.columns-3 li { width: 100%; }
.site-header-cart .cart-contents { padding: 20px 0; }
.site-header-cart .cart-contents::after { float: none; }

.storefront-breadcrumb { margin: 5px 5px 10px 5px; padding: 5px; border-bottom: solid #ccc 1px; }

#site-header-cart { position: absolute; z-index: 10; top: -10px; right: 1em; width: fit-content }
#site-header-cart li:first-of-type { float: right; }
#site-header-cart li:last-of-type .widget_shopping_cart { border: solid 1px #333; }
#site-header-cart:hover { width: 350px; }

.page-template-template-homepage .entry-content,
.site-header { padding-top: 1em; }
.storefront-primary-navigation>.col-full:first-of-type { display: flex; align-items: anchor-center; padding: 0; margin-left: 40px; }

.main-navigation ul.menu,
.main-navigation ul.nav-menu { margin-left: 0; }

#menu-mobile { display: flex; flex-direction: column; }

.main-navigation ul.menu>li>a,
.main-navigation ul.nav-menu>li>a { padding: .5em 1em 0 0; font-size: .9em; font-weight: 400; color: #fff; }

/* .dropdown-toggle, */
/* .dropdown-toggle:hover, */
/* .main-navigation ul.menu>li>a:hover, */
/* .main-navigation ul.nav-menu>li>a:hover { outline: none; border: none; } */
.handheld-navigation { display: none; width: 98%; max-width: 350px; left: 50%; transform: translate(-50%); background-color: var(--green); line-height: 2em; position: absolute; top: 70px; margin-right: 20px; padding: 5px; border: solid #fff; }
.handheld-navigation ul.menu li { text-align: center; border-bottom: solid 1px #ddd; }
.handheld-navigation ul.menu li:last-of-type { border-bottom: none; }

/* SAMPLE TABLE DATA */
#sample_data_table_wrapper { max-width: 1600px; width: 90%; margin: 0 auto 2em auto; overflow: hidden;  } 
#sample_data_table_wrapper .sample_tbl_outer_wrapper { margin-bottom: 2em; }
#sample_data_table_wrapper .sample_tbl { width: 100%; max-width: 1600px; overflow-x: scroll; margin: 0; border: solid 1px #666; }
#sample_data_table_wrapper .sample_tbl table { border-collapse: collapse; margin: 0; }
#sample_data_table_wrapper table tr,
#sample_data_table_wrapper table td { white-space: nowrap; padding: .25em; }

#sample_data_table_wrapper table tbody>tr:nth-child(odd)>td,
#sample_data_table_wrapper table tbody>tr:nth-child(odd) { background-color: #e2ebd7; border-top: 1px solid #c3c3c3; border-bottom: 1px solid #c3c3c3; }
#sample_data_table_wrapper table tbody tr th { background-color: #1d3208; color: #f0e68c; text-align: center; font-size: 14px; line-height: 24px; font-weight: 500; letter-spacing: 0.2px; border: unset; } 
#sample_data_table_wrapper table tbody tr td { border: unset !important; font-size: 14px; line-height: 24px; font-weight: 400; color: #6a6a6a; }


/* IMPORTANT FOR ADA COMPLIANCE */
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 5px #1d4ed8; }

.main-navigation ul.menu ul.sub-menu,
.main-navigation ul.nav-menu ul.children { background-color: #f0e68c; border: solid 1px; }

button.menu-toggle { float: none; max-width: 350px; width: 100%; margin: auto; }

.content-area,
.widget-area { margin-bottom: 0; }

h1, h2, h3, h4, h5 { font-weight: 600; }
body.privacy-policy h2, body.terms-and-conditions h2 { font-size: 1.5em; margin-top: 1em; }

a { color: #245511; }
/* a, a:hover { outline: none !important; border: none !important; text-decoration: none !important; } */
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.wp-block-read-more { text-align: right; float: right; text-transform: uppercase; font-size: .8em; margin-right: 1em; }
.to_top { position: fixed; right: 15px; bottom: 50px; z-index: 1000; font-size: 2.5em; color: #333; text-stroke: thin #f0e68c; -webkit-text-stroke: thin #f0e68c; }
.to_top:hover { cursor: pointer; }

footer { border-top: solid 1px; }
footer .footer-widgets { padding-top: 40px; }
footer .footer-widgets.row-1 { display: flex; justify-content: space-between; width: 96%; margin: auto; }
footer .footer-widgets.col-3 .block { width: 32%; }
footer .footer-widgets.col-1 { display: flex; flex-direction: column; }
footer .footer-widgets.col-1 .block { width: 96%; margin: auto; }
footer .widget { margin: 0 0 0 0; }
footer .facebook-icon img { float: right; margin-right: 2em; }

footer .menu { display: flex; flex-wrap: wrap; }
footer .menu li { width: 50%; }
footer .menu li:before { content: ""; }
footer .site-info { width: 96%; margin: auto; display: flex; justify-content: space-between; }

/* **** AFFILIATE SLIDER **** */
.testimonials .carousel_item { padding: 1em; border: solid 1px #ccc; border-radius: 1em; font-size: .9em; background-color: #fdf694; }
.testimonials .carousel_item h4 { color: #999; }
.testimonials .carousel_item .quote { font-style: italic; font-size: 1em; padding: 1em 0; margin-bottom: .5em; border-bottom: inset #eee 1px; }
.testimonials .carousel_item .quoter { display: flex; justify-content: space-between; align-items: center; }
.testimonials .carousel_item .quoter .quoter_name { display: flex; width: 100%; align-items: anchor-center; }
.testimonials .carousel_item .quoter div:first-of-type { text-align: left; }
.testimonials .carousel_item .quoter img { width: 125px; height: auto; }
.testimonials .carousel_item .quoter img.avatar { width: 75px; height: auto; }

/* **** CONTACT **** */
.contact-all i { font-size: 2em; color: #333; } 
#comments { padding-top: 5px; }
footer .contact-all i { color: #fff; }

/* **** CART PAGE **** */
.wc-block-components-quantity-selector { border: none; }
.wc-block-cart__submit-container .wc-block-components-button:not(.is-link),
.wc-block-cart__submit-container { background-color: #333; color: #fff; }
.wc-block-cart__submit-container .wc-block-components-button:not(.is-link),
.wc-block-cart__submit-container a { color: #fff; }

/* **** CHECKOUT PAGE **** */
.wc-block-checkout__actions_row .wc-block-components-button:not(.is-link) { background-color: #333; color: #fff; }

/* **** PRODUCT IMAGES **** */
.single-product div.product .woocommerce-product-gallery img { border-radius: 1em; }
.wc-block-components-order-summary .wc-block-components-order-summary-item__image>img,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img { border-radius: 5px; }


@media (max-width: 1200px) {
	.data_that_tees_you_up_columns .img_wrapper { align-self: auto; padding-top: 4em; }
}

@media (max-width: 1069px) {
    .site-header #menu-main { display: none; }
    .site-header #site-navigation-menu-toggle,
    .menu-toggle { display: block; }
	#site-navigation-menu-toggle { float: none; margin: auto; width: 98%; max-width: 350px; white-space: nowrap; }
	/* #site-navigation { width: 80%; } */
	.storefront-primary-navigation>.col-full:first-of-type { margin: 0; }
}

@media( max-width: 768px ) {
	header { display: block; }
	header .storefront-primary-navigation { width: 98%; margin: auto; }
	header>div:first-of-type { width: 100%; padding-left: 0 !important; }
	header>div:last-of-type { width: 100%; padding-right: 0; margin: auto; }
	.woocommerce-active .site-branding { float: none; margin-bottom: 1.5em; }
	header .storefront-primary-navigation>.col-full:first-of-type { display: block; }
	footer .storefront-handheld-footer-bar ul { display: flex; }
	/* #site-navigation { width: 100%; } */
	header>div:first-of-type { margin: auto !important; width: 250px !important; min-width: 250px !important; max-width: 250px !important; }
	.to_top { bottom: 100px; }
	h2 { font-size: 24px; line-height: 34px; }
	ul, ol { margin-left: .5em; }
}

@media( max-width: 498px ) {
	header>div:first-of-type { width: 100%; padding-left: 0; }
	.site-header .custom-logo-link img { margin: auto; }
	.woocommerce-active .site-branding { float: none; margin: 0 auto 2em auto; text-align: center; }
}