/*!
Theme Name: Meita Base Two Child Suurinosasuomea
Theme URI: https://meita.fi
Template: meita-theme-basetwo
Author: Lauri Merisaari
Author URI: https://meita.fi
Description: Child theme for Meita Base Two. Block theme based and inspired of Meita Base one and Twenty Twenty Two
Requires at least: 6.0
Tested up to: 6.1
Requires PHP: 8.0
Version: 0.0.10
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meitabasetwo
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, accessibility-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)
*/

/* 
 * CSS Global variables
 *
 * Overwrite these in child theme to globally control defaults
 * Original can be found in src/css/variables.scss
 */
 :root {
    
    --meita-custom-nav-elements-border-width: 1px;
    
    --meita-custom-forms-input-border: 1px;
    --meita-custom-forms-input-border-style: solid;
    --meita-custom-forms-input-border-color: #808080;
    --meita-custom-forms-input-pg: white;
    --meita-custom-forms-input-border-radius: 0px;

    /* All buttons defaults, can be owerwriten in site editor */
    --meita-custom-default-border-radius: 0px;
    --meita-custom-button-padding: 11.7px;
    --meita-custom-button-hpadding: 16.7px;
}

/* ----------------------------- */
/*     Basic mobile navigatio    */
/* ----------------------------- */
.wp-block-navigation__responsive-container:has(.is-meita-mobile-nav-base-two-mobile),
.editor-styles-wrapper .wp-block-navigation.is-meita-mobile-nav-base-two-mobile {
	--b2-mobile-nav-link-padding: 15px;										/* Item vertical padding and inner horizontal padding */
	--b2-mobile-nav-side-margins: 15px;										/* Extra left and right padding of the list */
	--b2-mobile-nav-submenu-items-indent: 15px;								/* Indent per level */
	--b2-mobile-nav-width: clamp(240px, 100%, 400px);						/* Overlay width */
	--b2-mobile-border-width: 1px;											/* Separator lines between items */
	--b2-mobile-nav-modal-shadow: var(--wp--preset--shadow--natural);
	--b2-mobile-nav-animate-duration: 0.2s;
	/*
	--b2-mobile-nav-fontfamily: inherit;
	--b2-mobile-nav-fontsize: 1em;
	*/
	--b2-mobile-label-line-height: 1.5em;

	/* Level colors. Level 1 = root items, level 2 = first submenu ... Level 1 defaults to overlay colors. */
	--b2-mobile-nav-l1-text: black;
	--b2-mobile-nav-l1-background: transparent;
	--b2-mobile-nav-l2-text: black;
	--b2-mobile-nav-l2-background: transparent;
	--b2-mobile-nav-l3-text: black;
	--b2-mobile-nav-l3-background: transparent;
	--b2-mobile-nav-l4-text: black;
	--b2-mobile-nav-l4-background: transparent;
	--b2-mobile-nav-l5-text: black;
	--b2-mobile-nav-l5-background: transparent;
	--b2-mobile-nav-l6-text: black;
	--b2-mobile-nav-l6-background: transparent;

	/* Icons are svg masks (url) colored with current text color */
	/*--b2-mobile-nav-close-icon: url(...);*/									/* Close button of the default overlay */
	/*--b2-mobile-nav-sub-closed-icon: url(...);*/								/* Toggle icon, submenu closed. Default plus */
	/*--b2-mobile-nav-sub-open-icon: url(...);*/								/* Toggle icon, submenu open. Default minus */
	--b2-mobile-nav-sub-icon-padding: 10px;									/* Toggle button horizontal padding */
	--b2-mobile-nav-sub-icon-width: 18px;
	--b2-mobile-nav-sub-toggle-bg: transparent;								/* Toggle button background */
	--b2-mobile-nav-sub-toggle-border: none;								/* Toggle button left border eg. 1px solid currentColor */
}

.main-menu{
	padding: 5px;
}
.main-menu button.wp-block-navigation__responsive-container-open.always-shown svg{
	height:32px;
	width:32px;
}
