/*
Theme Name:     Neve Child
Theme URI:      https://themeisle.com/themes/neve/
Author:         ThemeIsle
Author URI:     https://themeisle.com
Template: 		neve
Tested up to:   5.9
Requires PHP:   7.0
Requires at least: 5.4
Description:    Neve Child
Version:        3.2.5
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    nevechild
Pro Slug:           neve-pro-addon
AMP:                        true
WordPress Available:  yes
Requires License:     no
Tags: blog, custom-logo, e-commerce, rtl-language-support, grid-layout, one-column, two-columns, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, accessibility-ready, wide-blocks, block-styles, footer-widgets, portfolio, left-sidebar, right-sidebar
*/

/* This file replaces what used to live in Customizer > Additional CSS. It is
   enqueued from functions.php after neve-style, so equal-specificity rules here
   win over the parent theme. Anything left in Additional CSS is printed later
   still and would override this, so that box should stay empty. */


/* ------------------------------------------------------------------ links */

a:link {
	text-decoration: none;
}

/* Neve dims links to opacity .9 on hover; keep them fully opaque */
a:hover {
	opacity: 1;
}


/* -------------------------------------------------------- content rhythm */

p {
	margin-bottom: 15px;
}

/* Neve sets .nv-content-wrap ul/ol to margin:30px 0. Adjacent margins collapse
   to the larger of the two, so the gap under a paragraph introducing a list was
   30px while the gap between two paragraphs is 15px -- visibly lopsided.
   Longhands only: the shorthand would also reset margin-left, and Neve relies on
   that being 0 for the bullet position. */
.nv-content-wrap ul,
.nv-content-wrap ol {
	margin-top: 15px;
	margin-bottom: 15px;
}

ul {
	margin-left: 15px;
}

li {
	margin-top: 10px;
}

/* Headings: more air above than below, so they attach to their section */
.entry-content h2 {
	margin-top: 48px;
	margin-bottom: 16px;
}

.entry-content h3 {
	margin-top: 36px;
	margin-bottom: 12px;
}

.entry-title {
	font-size: 50px;
}


/* ---------------------------------------------------------------- buttons */

.is-style-secondary .wp-block-button__link:hover {
	background-color: var(--primarybtnhoverbg);
	color: var(--primarybtnhovercolor);
	border: 0;
}

/* The WPForms submit button and the block cart's checkout button are made to
   match the theme's own buttons: identical geometry, only the colours differ
   between rest and hover. (.wc-block-cart__submit-button is rendered
   client-side by the cart block -- it only exists once the cart has items.) */
div.wpforms-container-full .wpforms-form button[type="submit"],
.wc-block-cart__submit-button {
	background-color: var(--secondarybtnhoverbg);
	color: var(--secondarybtnhovercolor);
	box-sizing: border-box;
	border: 0;
	font-size: 16px;
	line-height: var(--btnlineheight, 1.6);
	padding: 16px 35px;
}

div.wpforms-container-full .wpforms-form button[type="submit"]:hover,
.wc-block-cart__submit-button:hover {
	background-color: var(--primarybtnhoverbg);
	color: var(--primarybtnhovercolor);
}


/* ------------------------------------------------------------ WooCommerce */

/* Only renders where a loop lists categories rather than products */
.woocommerce-loop-category__title {
	text-align: center;
}

/* Germanized output next to the price; both appear only once a price is set */
.nv-card-content-wrapper .delivery-time-info {
	display: none;
}

p.shipping-costs-info {
	line-height: 0px;
}

/* PPOM product add-on fields; the price rows are rendered client-side */
.ppom-input {
	font-size: 0.9em !important;
}

.ppom-price-item {
	text-align: right !important;
}


/* ------------------------------------------------------------------ forms */

.wpforms-field-label {
	color: var(--nv-text-color) !important;
}

div.wpforms-container-full .wpforms-form .wpforms-required-label {
	visibility: hidden;
}


/* ------------------------------------------------------------- navigation */

/* TranslatePress language switcher: no box around the current language */
.trp-ls-shortcode-current-language {
	border: 0px !important;
}


/* ----------------------------------------------------------------- footer */

/* The theme footer is replaced by add_footer_text_function() in functions.php;
   the wrapper keeps the dark background the custom footer content sits on. */
.footer-content-wrap {
	background-color: var(--nv-dark-bg);
}

#site-footer {
	display: none;
}
