/*
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;
}

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;
}


/* ---------------------------------------------------------------- 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. */
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;
}


/* ------------------------------------------------------------------ forms */

.wpforms-field-label {
	color: var(--nv-text-color) !important;
}

div.wpforms-container-full .wpforms-form .wpforms-required-label {
	visibility: hidden;
}


/* ------------------------------------------------------------- navigation */

/* Compact dropdown menus, desktop only */
@media (min-width: 960px) {
	.nav-ul .sub-menu li > .wrap {
		padding: 4px 20px;
	}

	.nav-ul .sub-menu li > .wrap a {
		font-size: 14px;
	}

	/* Safety net: scroll instead of clipping if a dropdown is taller than the
	   screen. The SDK menu carries 24 language items. */
	.sub-menu {
		max-height: calc(100vh - 140px);
		overflow-y: auto;
	}
}

/* Mobile drawer: compact rows, and tighter still inside a submenu. Both rules
   are live -- the second is more specific and applies to submenu items only. */
.header-menu-sidebar .nav-ul li:not([class*=block]) > .wrap > a {
	padding: 8px 0;
}

.header-menu-sidebar .nav-ul .sub-menu li:not([class*=block]) > .wrap > a {
	padding: 4px 0;
}


/* ----------------------------------------------------------------- footer */

/* The theme footer is replaced by add_footer_text_function() in functions.php */
#site-footer {
	display: none;
}
