/*
Theme Name: Sydney Pro Child
Theme URI: http://athemes.com/theme/sydney-pro
Author: aThemes
Author URI: http://athemes.com
Template: sydney-pro-ii
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sydney
*/

html {
  scroll-behavior: smooth;
}

/* Header background opaque */
#page header.site-header,
#page header.float-header {
/*    background-color: rgba(0, 0, 0, 0.6); */
	background-color: #b9b308;
}

/* Logo size transition */
.site-header .col-md-4 img {
/*    max-height: 110px; */
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear; */
	
}
.float-header .col-md-4 img {
    max-height: 60px;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

/* Logo & Menu split */
@media (min-width: 992px) {
    .col-md-4 {
        width: 25%;
    }
	.col-md-8 {
        width: 75%;
    }
}

/* Menu font */
nav#mainnav ul.menu > li.menu-item a,
/* nav#mainnav ul.menu > li.header-join-link a,
nav#mainnav ul.menu > li.header-loginout-link a, */
nav#mainnav ul.menu > li.header-account a,
nav#mainnav ul.menu > li.nav-cart a {
    font-family: 'Montserrat', sans-serif! important;
	font-weight: 600;
	font-size: 14px;
	line-height: 40px;
}
nav#mainnav ul.menu > li.menu-item > ul.sub-menu {
	top: 70%;
}
nav#mainnav ul.menu > li.nav-cart a span.cart-amount {
	top: 6px;
	right: -14px;
}
nav#mainnav ul.menu > li.header-account {
	top: -3px;
	left: 4px;
}
/* Sub-menu font size */
nav#mainnav ul.sub-menu > li.menu-item a {
	font-family: 'Montserrat', sans-serif! important;
	font-size: 90%;
	line-height: 20px;
}
nav#mainnav li.compact-sub-menu > ul.sub-menu > li.menu-item a {
	width: 200px;
	font-size: 75%;
	line-height: 10px;
}

/* Join/Renew Membership button style */
nav#mainnav li.header-join-link {
	margin: 0 0 0 10px;
	padding: 0;
	border: 4px solid #ffffff;
/*	background-color: rgba(0, 0, 0, 0); */
}
nav#mainnav li.header-join-link a {
	padding: 4px 14px;
	font-family: 'Montserrat', sans-serif! important;
	font-weight: 600;
	font-size: 13px;
	line-height: 26px;
	color: #000000;
}
nav#mainnav li.header-join-link a:hover {
	color: #ffffff;
}

/* Login/Logout button style */
nav#mainnav li.header-loginout-link {
	margin: 0 0 0 10px;
	padding: 0;
	border: none;
	background: #787207;
}
nav#mainnav li.header-loginout-link a {
	padding: 8px 14px;
	font-family: 'Montserrat', sans-serif! important;
	font-weight: 600;
	font-size: 13px;
	line-height: 26px;
	color: #ffffff;
}
nav#mainnav li.header-loginout-link a:hover {
	color: #000000;
}

/* My Account icon style */
nav#mainnav li.header-account:hover {
	--sydney-global-color-1: #000000;
}

/* Home no top gap */
body.home .page-wrap {
	padding-top: 0;
}

/* Home News slider buttons */
body.home .sow-post-carousel-theme-base .sow-carousel-navigation a {
	font-size: 16px;
	line-height: 44px;
	width: 50px;
}

/* Reduce gap below page title */
.single .entry-header,
.page .entry-header {
    margin-bottom: 20px;
}

/* Format footer */
.footer-widgets .container .wp-block-columns .wp-block-column:first-child {
	margin-right: -10%;
}
.footer-widgets .container figure.wp-block-image,
.footer-widgets .container figure.wp-block-table {
	margin-left: 8px;
	margin-right: 8px;
}

.footer-widgets .container .sidebar-column table th a {
	color: #b0ad06;
}
.footer-widgets .container .sidebar-column table th,
.footer-widgets .container .sidebar-column table td {
	text-align: left;
	padding: 4px 8px;
	border: none;
	line-height: 90%;
}

/* Format footer breadcrumb */
p#breadcrumbs {
	margin: 0;
	background-color: #000000;
}

/* Offset anchors to below header */
h4.anchor {
	padding-top: 160px;
	margin-top: -160px;
}
a.anchor:after {
	content:'';
	visibility: hidden;
/*	display: block; */
	padding-top: 100px;
	margin-top: -100px;
}
a.anchor:target {
	color: #dd8b0f;
}

/* Darker separator lines */
div.textwidget hr {
    border-top: 1px solid #aaaaaa;
}
/* Title underline colour */
.panel-grid-cell .widget .widget-title:after {
	background-color: #d0cd26;
}
/* Reduce flipbox title underline space */
body.home div.widget_cl-flipbox .widget-title,
body.home div.widget_sow-editor .widget-title {
	font-size: 36px;
	padding-bottom: 15px !important;
}

/* Photo caption format */
figcaption.wp-caption-text {
	font-size: 90%;
	font-weight: bold;
	color: #808080;
}

/* Simple table format */
table.simple-table {
	max-width: 500px;
}
table.simple-table tbody tr th,
table.simple-table tbody tr td {
	vertical-align: top;
	text-align: left;
	padding: 2px 12px;
	border: none;
	background-color: #f0f0f0;
}
/* Simple box format */
div.simple-box {
	max-width: 400px;
	padding: 12px 20px 2px 20px;
	border: none;
	background-color: #f0f0f0;	
}

/* Category button font */
div.tpg-iso-filter div.filter-button-group button {
	font-size: 22px;
}

/* Hide Archives: in branches header */
body.post-type-archive-branches h3.archive-title {
	visibility: hidden;
}
body.post-type-archive-branches h3.archive-title:before {
	content: "Branches";
	visibility: visible;
}
/* Hide author on posts */
.single-meta .byline,
.meta-post .byline {
	display: none;
}

/* Hide posted date and featured image for branch single pages */
body.single-branches article.branches div.single-meta,
body.single-branches article.branches div.entry-thumb {
	display: none;
}

/* Hide header on pictorial pages */
body.page-template-page_no-header-wide header.site-header,
body.page-template-page_no-header-wide div.header-clone,
body.page-template-page_no-header-wide header.entry-header {
	display: none;
}
body.page-template-page_no-header-wide div.page-wrap,
body.page-template-page_no-header-wide div.page-wrap div.content-wrapper {
	padding-top: 0;
}

/* Google search field */
form.aghs-search-form div.gform_body {
	float: left;
	width: 60%;
}
form.aghs-search-form div.gform_footer {
	float: left;
	clear: none;
	width: 40%;
	padding: 12px 0;
}

/* COMMENTS */

/* Post comment membership required */
div.comment-membership-required {
	background-color: #f4f4f4;
	padding: 20px 60px 40px 60px;
	margin: 60px 0;
}

/* Hide reply profile and logout links */
div#comments form#commentform p.logged-in-as a {
	display: none;
}

/* Cancel comment reply link */
div#respond a#cancel-comment-reply-link {
	padding: 0 40px;
	font-size: medium;
}

/* EVENTS STYLES */

/* Column width in event list */
body.post-type-archive-tribe_events div.tribe-events article.tribe_events {
	width: initial;
}

/* FORM STYLES */

/* Adjust multi column proportions */
@media only screen and (min-width: 641px) {
	/* Increase column gap */
	.gform_wrapper div.gfmc-container {
		column-gap: 2em;
	}
	/* Gap above field 
	body .gform_wrapper ul.top_label li.shift_field_down {
		padding-top: 90px;
	} */
}
/* Right column background */
.gform_wrapper div.gfmc-container div.gfmc-column:nth-of-type(2) {
	padding: 0 8px;
	background-color: #fafaf4;
}
.gform_wrapper .registration-input-area {
	padding: 8px;
	background-color: #f8f8c0;
}
.gform_wrapper .registration-input-area img {
	padding: 12px 12px 0 0;
}
/* Section headings */
.gform_wrapper div.gsection {
	margin-bottom: 20px;
}
.gform_wrapper h3.gsection_title {
	margin-bottom: 0;
	font-size: 24px;
}
/* Darker separator lines */
.gform_wrapper hr {
    border-top: 1px solid #aaaaaa;
}
/* Hide forms sub-text max characters */
div.charleft.ginput_counter {
	display: none;
}
/* Format dollar amounts in description */
.gform_wrapper span.form-price {
	font-size: 15px;
	color: #990000;
}
/* Increase size of small phone input fields 
.gform_wrapper .top_label div.ginput_container_phone input.small {
	width: 50%;
} */
/* Increase Total $ size */
.gform_wrapper div.ginput_container input.ginput_total {
	font-size: 160%;
}

/* Format error and information messages */
.gform_wrapper .form_error_message {
	padding: 2px 20px;
	color: #ffffff;
	background-color: #f04040;
}
.gform_wrapper .form_info_message {
	padding: 2px 20px;
	color: #ffffff;
	background-color: #b0ad06;
}
/* Hide quantity input when sold out */
.gform_wrapper div.sold_out:not([style="display: none;"]) + .gfield_price + div.gfield_quantity {
	display: none !important;
}

/* WooCommerce SHOP */
/* Collapse sidebar to top on small screens and compress space */
@media only screen and (max-width: 992px) {
	body.post-type-archive-product .content-wrapper .row,
	body.tax-product_cat .content-wrapper .row {
		display:table;
	}
	body.post-type-archive-product .content-wrapper .content-area,
	body.tax-product_cat .content-wrapper .content-area {
		display:table-footer-group;
		float: none;
	}
	body.post-type-archive-product .content-wrapper .widget-area,
	body.tax-product_cat .content-wrapper .widget-area {
/*		display:table-header-group; */
		float: none;
	}
	body.woocommerce-page .content-wrapper .widget-area aside.widget {
		padding-top: 0;
	}
}
/* Sidebar background */
body.woocommerce-page div#secondary {
	background-color: #f0f0f0;
}
/* Gap above sidebar heading */
body.woocommerce-page div#secondary {
	padding-top: 20px;
	padding-bottom: 20px;
}
/* Category text colour */
body.woocommerce-page #secondary aside.widget_product_categories a,
body.woocommerce-page #secondary aside.widget_custom_html a {
	color: #b0ad06;
}
body.woocommerce-page #secondary aside.widget_product_categories a:hover,
body.woocommerce-page #secondary aside.widget_custom_html a:hover {
	color: #dd8b0f;
}
/* Sidebar cart */
body.woocommerce-page #secondary aside.widget_shopping_cart li.mini_cart_item a {
	line-height: 140%;
}
body.woocommerce-page #secondary aside.widget_shopping_cart a.checkout {
	float: right;
}
/* Discount tag spacing */
body.woocommerce-page span.onsale {
	line-height: inherit;
}

/* WooCommerce SINGLE PRODUCT */
/* Make selected single products full page width */
body.woocommerce-page.postid-6094 div#primary,
body.woocommerce-page.postid-20682 div#primary {
	width: 100%;
}
body.woocommerce-page.postid-6094 div#primary div.woocommerce-product-gallery,
body.woocommerce-page.postid-20682 div#primary div.woocommerce-product-gallery {
	width: 20%;
}
body.woocommerce-page.postid-6094 div#primary div.summary,
body.woocommerce-page.postid-20682 div#primary div.summary {
	width: 76%;
}
body.woocommerce-page.postid-20682 div#primary div.summary div.sydney-single-addtocart-wrapper {
	display: initial;
}
body.woocommerce-page.postid-20682 div#primary div.summary div.quantity {
	display: none;
}
/* Hide sidebar for selected single products */
body.woocommerce-page.postid-6094 div#secondary,
body.woocommerce-page.postid-20682 div#secondary {
	display: none;
}
body.woocommerce-page div.summary h1.product_title {
	font-size: 32px;
}
/* Align attribute heading and field */
body.woocommerce-page table.variations th {
	vertical-align: top;
}
body.woocommerce-page table.variations td {
	width: 50%;
}
body.woocommerce-page table.variations select {
	padding: 6px 10px;
	height: initial;
	color: initial;
	border-color: #b0ad06;
}
body.woocommerce-page table.variations select option:hover {
	background-color: #d0cd26;
}
/* Format membership attribute option notes */
body.woocommerce-page p.wc-printed_or_digital-note-text {
	margin-top: 50px;
	max-width: 300px;
	line-height: 120%;
	font-size: 80%;
}
/* Format subscription partner and gift detail entry table */
body.woocommerce-page table.wc-partner-details-table,
body.woocommerce-page table.wc-gift-details-table {
	margin-bottom: 12px;
}
body.woocommerce-page table.wc-partner-details-table th,
body.woocommerce-page table.wc-partner-details-table td,
body.woocommerce-page table.wc-gift-details-table th,
body.woocommerce-page table.wc-gift-details-table td {
	border: none;
	width: 50%;
}
body.woocommerce-page table.wc-partner-details-table td input {
	width: 100%;
}
/* Description of variation chosen */
body.woocommerce-page  div.woocommerce-variation-description {
	margin-bottom: 20px;
	padding: 20px 0px 0px 40px;
    border: 1px solid #a0a0a0;
    background-color: #f8f8f8;
}
/* Quantity colour */
body.woocommerce-page div.quantity {
	background-color: #cecea9;
}
body.woocommerce-page div.product div.quantity input.qty {
	font-weight: bold;
}
body.woocommerce-page div.quantity a i {
	color: #ffffff;
	font-weight: bold;
}
/* $ Total */
body.woocommerce-page .woocommerce-Price-amount {
	font-size: 120%;
}
/* Separate product details onto different lines */
body.woocommerce-page .product_meta > span {
	float: left;
	clear: left;
	padding-bottom: 5px;
}
body.woocommerce-page .product_meta > span.posted_in {
	margin-bottom: 15px;
}
/* Remove redundant description headings in tabs */
body.woocommerce-page div.woocommerce-tabs div.woocommerce-Tabs-panel > h2:first-child {
	display: none;
}
body.woocommerce-page form.cart span.formattedTotalPrice {
	font-size: 26px;
}
body.woocommerce-page form.cart button.single_add_to_cart_button {
	padding: 24px 48px;
}

/* WooCommerce CART */
/* Make shopping cart full page width */
body.woocommerce-cart div#primary {
	width: 100%;
}
/* Hide sidebar */
body.woocommerce-cart div#secondary {
	display: none;
}
/* Colour remove item button */
form.woocommerce-cart-form table.cart td.product-remove a.remove {
  border-color: #c00000;
  background-color: #f00000;
  font-size: 160%;
}
form.woocommerce-cart-form table.cart td.product-remove a:after {
  content: '\a Remove';
/*  margin-left: -5px; */
  font-size: 8px;
  font-weight: normal;
  color: #202020;
}
/* Left align Gravity form data */
.woocommerce td.product-name dl.variation dd {
	text-align: left;
	margin-bottom: 4px;
}
.woocommerce td.product-name dd p {
	margin-left: 10px;
}

/* WooCommerce CHECKOUT */
/* Make checkout full page width */
body.woocommerce-checkout div#primary {
	width: 100%;
}
/* Hide sidebar */
body.woocommerce-checkout div#secondary {
	display: none;
}
/* Make input fields consistent with registration form */
div.woocommerce-billing-fields input {
	border-radius: 3px;
}
/* Fix messy asterisks in billing field labels */
form.woocommerce-checkout .required {
	text-decoration: none;
}
/* Remove bullet from credit card options */
form.woocommerce-checkout ul.wc-saved-payment-methods,
form#add_payment_method ul.payment_methods {
	list-style: none;
}
/* Fix position of credit card icons */
form.woocommerce-checkout li.payment_method_ag_wlh_checkout label,
form#add_payment_method li.payment_method_ag_wlh_checkout label {
	display: initial;
}
form.woocommerce-checkout li.payment_method_ag_wlh_checkout label div.ag-cards,
form#add_payment_method li.payment_method_ag_wlh_checkout label div.ag-cards {
	margin: 8px 16px;
}
/* Checkout page processing spinner */
.woocommerce-checkout.processing .blockUI.blockOverlay {
        background-image:url('/wp-content/themes/sydney-child/img/tree-seasons.gif') !important;
        background-position: center 50% !important;
        background-repeat: no-repeat !important;
        position: fixed !important;
}
.woocommerce-checkout.processing .blockUI:after {
        content: "Processing. Please wait ...";
        font-size: 28px;
        color: #000000;
        position: fixed;
        top: 50%;
        left: 50%;
        margin-top: 100px;
        margin-left: -172px;
}

/* WooCommerce ORDER RECEIVED */
/* Smaller rows for printing */
.woocommerce-order table.shop_table td {
	padding: initial;
}
.woocommerce-order ul.wc-bacs-bank-details li.bic {
	display: none;
}
/* Position "Print This Page" button */
.woocommerce-order .printbutton button {
	margin: 20px 0;
}
/* Show Downloads table border */
.woocommerce-order table.shop_table td {
	border: 2px solid #f0f0f0;
}
/* Format International Transfer Info table */
.intranstable th,
.intranstable td {
	border: 1px solid #d0d0d0;
	padding: 4px 10px;
	vertical-align: top;
	text-align: left;
}
.intranstable th {
	width: 30%;
}

/* WooCommerce ORDERS */
body.woocommerce-page table.order_details ul.wc-item-meta {
	list-style-type: none;
}
body.woocommerce-page table.order_details ul.wc-item-meta li {
	width: 220px;
	border-right: 1px solid #b0ad06;
}

/* WooCommerce ACCOUNT */
/* Make checkout full page width */
body.woocommerce-account div#primary {
	width: 100%;
}
/* Hide sidebar */
body.woocommerce-account div#secondary {
	display: none;
}
/* Add note to Register */
body.woocommerce-account div#customer_login div.u-column2 h2:after {
	content: " \a0 \a0 (for Shop use only. Not for AGHS membership)";
	font-size: 16px;
}
/* Add note to Login */
body.woocommerce-account div#customer_login div.u-column1 h2:after {
	content: " \a0 \a0 (existing AGHS members including renewals)";
	font-size: 16px;
}
/* Change Login username field label */
body.woocommerce-account form.login p.form-row:first-of-type label[for="username"] {
	visibility: hidden;
}
body.woocommerce-account form.login p.form-row:first-of-type label[for="username"]:before {
	content: "Email address";
	visibility: visible;
}
body.woocommerce-account form.login p.form-row:first-of-type label[for="username"] span {
	visibility: visible;
	margin-left: -220px;
}
body.woocommerce-account form.login p.form-row:first-of-type label[for="username"]:after {
	content: " \a0 \a0 (Changed since last renewal? Try old email here, then update it.)";
	font-size: 12px;
	visibility: visible;
}
/* Lost Password link */
body.woocommerce-account form.login p.lost_password a {
	margin-top: 30px;
	font-size: 14px;
	font-weight: bold;
}
body.woocommerce-account form.login p.lost_password a:after {
	content: " \a0 (or never had one?) \a0 PLEASE CLICK HERE!";
	text-transform: none;
	font-weight: normal;
}
/* Change Lost Password username field label */
body.woocommerce-account form.lost_reset_password p.form-row-first label[for="user_login"] {
	visibility: hidden;
}
body.woocommerce-account form.lost_reset_password p.form-row-first label[for="user_login"]:before {
	content: "Email address";
	visibility: visible;
}
/* Format menu */
body.woocommerce-account nav.woocommerce-MyAccount-navigation ul {
	padding: 10px 20px;
	background-color: #fafafa;
}
/* Format logout */
body.woocommerce-account nav.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
	margin: 0 -20px;
	padding: 12px 20px;
	background-color: #b0ad06;
}
body.woocommerce-account nav.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
	font-weight: bold;
	color: #ffffff;
}
/* Space around action buttons */
body.woocommerce-account a.button {
	margin: 4px;
}
body.woocommerce-account a.button.pay {
	background-color: #d02020;
}
/* Hide Add Payment Method button */
body.woocommerce-payment-methods div.woocommerce-MyAccount-content a[href*="add-payment-method"] {
	display: none;
}
/* Add footnote to email field */
div.woocommerce-MyAccount-content form.edit-account p.form-row:nth-of-type(4):after {
	content: "This is your account login username and email for membership notices/journals";
	font-style: italic;
	margin-bottom: 20px;
}
/* Fix messy asterisks in address field labels */
div.woocommerce-MyAccount-content .required {
	text-decoration: none;
}
/* WooCommerce MEMBERSHIPS */
li.woocommerce-MyAccount-navigation-link--members-area a:after {
	content: " »";
	font-size: 180%;
}
li.woocommerce-MyAccount-navigation-link--back-to-memberships a:before {
	content: "« ";
	font-size: 180%;
}
body.woocommerce-members_area h1 {
	padding: 10px 20px;
	color: #ffffff;
	background-color: #b0ad06;
}

/* MailPoet account pages */
form.mailpoet-manage-subscription .mailpoet_text_label,
form.mailpoet-manage-subscription .mailpoet_select_label,
form.mailpoet-manage-subscription .mailpoet_checkbox_label,
form.mailpoet-manage-subscription .mailpoet_segment_label {
	display: block;
	font-weight: bold;
}
form.mailpoet-manage-subscription .mailpoet_select,
form.mailpoet-manage-subscription .mailpoet_text {
	width: 50%;
	padding: 12px;
}
form.mailpoet-manage-subscription .mailpoet_paragraph {
	margin-bottom: 24px;
}
form.mailpoet-manage-subscription .mailpoet_submit {
	padding: 12px 12px;
	width: 30%;
	font-weight: bold;
	font-size: 20px;
	border-color: initial !important;
}

/* WordPress ADMIN */
#woocommerce-product-data select.subscription-downloads-ids + span.select2-container {
	width: 400px;
}

/* WooCommerce PRINTOUT */
@media print {
	body {
		background: white;
		color: black;
		margin: 0;
		width: 100%;
	}
	#masthead {
		display: none;
	}
	.header-clone {
		display: none;
	}
	.sydney-hero-area {
		display: none;
	}
	.header-image {
		display: none;
	}
	#content {
		display: block;
		padding: 0;
	}
	.content-wrapper {
		padding: 0;
	}
	h1, h2 {
		margin: 0 0 6px 0 !important;
		padding: 0 !important;
		font-size: 26px !important;
	}
	p {
		margin: 0 0 6px 0 !important;
		padding: 0 !important;
		font-size: 12px !important;
	}
	ul {
		padding-left: 16px;
	}
	li {
		margin: 0 !important;
		padding: 0 4px !important;
		font-size: 12px !important;
	}
	hr {
		margin: 10px 0;
		color: #888;
	}
	th, td {
		padding: 2px 8px;
	}
	#sidebar-footer {
		display: none;
	}
	.site-footer {
		display: none;
	}
	.go-top {
		display: none;
	}
	.printbutton {
		display: none;
	}
	p.order-again {
		display: none;
	}
	a[href]:after {
		content: none !important;
	}
	abbr[title]:after {
		content: none !important;
	}
	body.post-type-archive-product div#primary,
	body.tax-product_cat div#primary {
		float: none !important;
	}
	div#secondary {
		display: none !important;
	}
	.woocommerce-breadcrumb {
		display: none;
	}
	.woocommerce-message {
		display: none;
	}
	#breadcrumbs {
		display: none;
	}
}
