/* 
Theme Name: Oechsli Child andPartners
Theme URI: https://oechsli.com
Description: Oechsli Partners Theme
Author: Oechsli
Author URI: https://oechsli.com/
Template: oechsli
Version: 2024.01.15
Text Domain: oechsli
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* Global Tools */
.hidden {
	display: none !important;
}

/* Home */

.home .wp-block-cover.hero-img {margin-right: 3em; margin-bottom: -16em !important; z-index: 29}


/* Buttons */

.wp-block-button__link.wp-element-button {
	padding: 12px 30px; }

/* Navigation */

.nav-btn {border: solid 1px var(--wp--preset--color--palette-2) !important;}

.site-navigation.full-height-nav > ul > li.wp-block-navigation-item > a:hover {
    background-color: var(--wp--preset--color--palette-2);
}

.site-navigation.wp-block-navigation.full-height-nav > ul > li.wp-block-navigation-item > a {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    text-decoration: none;
    padding: 2.2rem 0.8rem;
    border-radius: 0;
}

/* Images With Backgrounds */

.image-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;  
  height: auto; 
  aspect-ratio: 1;  
  overflow: hidden; 
}

.image-stack img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%; 
  width: auto;
  height: auto;
  object-fit: cover;  
}

.image-stack-front {
  z-index: 10;  
}

.image-stack-back {
  z-index: 5;   
}


/* Opacity */

.opacity {opacity: 75%;}


/* Icon Background */

.icon-has-background {margin-right: -1.5em !important; z-index: 0 !important;}

/*** Forms ***/

span.gfield_required.gfield_required_text {color: var(--wp--preset--color--palette-2);}

/*** Popup ***/


.modal-content {box-shadow:none;}

.modal {left: auto;}

/*** Drop Shadow ***/

:root {--wp--preset--shadow--crisp: 6px 6px 0px var(--wp--preset--color--palette-2) !important}

/*** Bios ***/

.bio-icon img {vertical-align: middle;}

/* Mobile */


@media only screen and (max-width: 767px) {
	
	.wp-block-cover.hero-img {min-height: 30vh !important;}
	.home .wp-block-cover.hero-img {margin-right: calc(var(--wp--style--root--padding-right)* -1) !important; margin-bottom: -13em !important; }
	.riverline {font-size: 4rem !important;}
	.wp-block-group.home-about-group {padding-top: 19rem !important;}
	.wp-block-group.header-logo-row {flex-basis: 45% !important; }
	#site-header {padding-top: 10px !important; padding-bottom: 10px !important;}
	#theme-mobile-menu svg path {fill: #fff !important;}
	a.wp-block-navigation-item__content {padding: 5px !important;}
	.wp-block-group.hero-stack {min-height: 150px !important;}
}