/*
Theme Name: Maurice
Author: caseproof-devs
Author URI: https://caseproof.com
Theme URI:
Tags: full-site-editing, editor-style, block-styles, block-patterns
Text Domain: maurice
Requires at least: 6.5
Requires PHP: 8.2
Tested up to: 6.7
Version: 1.3.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
    scroll-behavior: smooth;
}
body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}
@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
*, *:before, *:after {
    box-sizing: border-box;
}
.wp-site-blocks {
    padding: 0;
}
:where(.wp-site-blocks) {
    word-break: break-word;
}
:where(figure, img, iframe) {
    max-width: 100%;
}
:where(ul, ol) {
    padding-left: .8em;
}
:root :where(.is-layout-flow) > :where(ul,ol) {
    margin-top: .4em;
}
:where(ul) {
    list-style-type: disc;
}
:where(ol) {
    list-style-type: decimal;
}
/* Inputs */
:where(
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    input[type="select"],
    select,
    textarea
) {
    width: 100%;
    border: 1px solid var(--wp--custom--border--color);
    border-radius: var(--wp--custom--border--radius);
    padding: var(--wp--preset--spacing--extra-extra-small);
    font-size: inherit;
    background-color: white;
}
:where(textarea) {
    min-height: 100px;
    height: 250px;
    max-width: 100%;
    min-height: 100px;
}
:where(label) {
    font-weight: 700
}
.site-header__innerWrapper {
    position: relative;
}
.page-template-login main.has-background {
    background-color: transparent !important;
}
.page-template-login :is(.mp_wrapper, .wl_wrapper, .mc_wrapper) :where(h1, h2, h3, .cspfsl-or-text) {
    color: inherit;
}
.header-hero :empty:not(:is(br,img,input)) {
    display: none;
}
.heroTagline:empty + * {
    margin-top: 0 !important;
}
.hero-pricing-page__image-container {
    position: relative;
}
/* Footer */
.footerColumns {
    row-gap: var(--wp--preset--spacing--extra-small);
}
/* Collapsible */
.maurice-collapsible-header {
    margin: 0;
}
.maurice-collapsible-header button {
    align-items: center;
    background-color: var(--wp--preset--color--primary-for-background);
    border: none;
    display: flex;
    flex-direction: row;
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--medium-accented);
    font-weight: inherit;
    justify-content: space-between;
    line-height: 1.5;
    padding: var(--wp--preset--spacing--extra-small);
    text-align: left;
    width: 100%;
    color: inherit;
    gap: var(--wp--preset--spacing--extra-extra-small);
}
.maurice-collapsible-header button svg {
    flex-shrink: 0;
}
.maurice-collapsible-header button[aria-expanded=true] svg {
    transform: rotate(90deg);
}
.maurice-collapsible-header button[aria-expanded=true] {
    background-color: transparent;
}
.maurice-collapsible-panel {
    padding: 0 var(--wp--preset--spacing--extra-small);
}
/* Fix empty p appended to monsterinsights-widget-popular-posts-list block*/
.sidebar p:empty {
    display: none;
}
/* MemberPress, MemberCore, WishlistLMS */
:root :is(.mepr_error, .wlms_error, .meco_error) {
    color: var(--wp--preset--color--status-error);
    padding: var(--wp--preset--spacing--extra-extra-small) var(--wp--preset--spacing--extra-small);
    background-color: color-mix(in srgb, var(--wp--preset--color--status-error) 10%, transparent);
}
/* Pricing tables */
:where(.single-memberpressgroup, .single-wishlistlmsgroup, .single-membercoregroup, .page-template-pricing-page) .site-header__innerWrapper {
    padding-bottom: 18.75rem;
}
:where(.single-memberpressgroup, .single-wishlistlmsgroup, .single-membercoregroup, .page-template-pricing-page) .entry-content > .wp-block-group:first-child > .wp-block-group .wp-block-maurice-meco-pricing-table,
:where(.single-memberpressgroup, .single-wishlistlmsgroup, .single-membercoregroup, .page-template-pricing-page) .site-header + main {
    margin-top: -12.5rem;
}
:where(.single-memberpressgroup, .single-wishlistlmsgroup, .single-membercoregroup, .page-template-pricing-page) .entry-content > .wp-block-group:first-child > .wp-block-group {
    background: var(--wp--preset--color--base);
    border-radius: 30px;
    isolation: isolate;
    padding-bottom: 0;
}
@media (max-width: 781px) {
    :where(.single-memberpressgroup, .single-wishlistlmsgroup, .single-membercoregroup, .page-template-pricing-page) .entry-content > .wp-block-group:first-child > .wp-block-group {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    :where(.single-memberpressgroup, .single-wishlistlmsgroup, .single-membercoregroup, .page-template-pricing-page) .entry-content > .wp-block-group:first-child > .wp-block-group .wp-block-maurice-meco-pricing-table.slick-initialized {
        margin-top: -12rem;
    }
    :where(.single-memberpressgroup, .single-wishlistlmsgroup, .single-membercoregroup, .page-template-pricing-page) .entry-content > .wp-block-group:first-child > .wp-block-group .wp-block-maurice-meco-pricing-table {
        margin-top: -9rem;
    }
}
@media (max-width: 400px) {
    :where(.single-memberpressgroup, .single-wishlistlmsgroup, .single-membercoregroup, .page-template-pricing-page) .entry-content > .wp-block-group:first-child > .wp-block-group {
        margin-right: calc(var(--wp--style--root--padding-right) * -1) !important;
        margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
    }
}
/* Login page */
.page-template-login .mepr-login-actions,
.page-template-login .wlms-login-actions {
    display: none;
}
:is(.mp_wrapper, .wl_wrapper, .mc_wrapper) :is(textarea, select, input:not([type="submit"])) {
    border-radius: var(--wp--custom--border--radius);
    border-color: var(--wp--custom--border--color);
}
:is(.mp_wrapper, .wl_wrapper, .mc_wrapper) :focus-visible,
:is(.mp_wrapper, .wl_wrapper, .mc_wrapper) :is(textarea, select, input):focus-visible {
    outline-style: auto;
}
:is(.mp-form-label, .wl-form-label, .mc-form-label) {
    line-height: 1.75;
}
.wp-block-navigation .wp-block-navigation__submenu-icon {
    background-image: none;
}
:where(button),
:is(.mepr-white-popup, .wlms-white-popup, .meco-white-popup) :is(.mepr-btn, .wlms-btn, .meco-btn):hover,
:is(.mepr-white-popup, .wlms-white-popup, .meco-white-popup) :is(.mepr-btn, .wlms-btn, .meco-btn),
:is(.mepr-submit, .wlms-submit, .meco-submit),
:is(.mepr-form, .wlms-form, .meco-form, #mepr_forgot_password_form, #wlms_forgot_password_form, #meco_forgot_password_form) [type="submit"] {
    border-radius: var(--wp--custom--border--radius);
    border: 2px solid var(--wp--preset--color--transparent);
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
    font-family: inherit;
    font-size: var(--wp--preset--font-size--normal-accented);
    font-weight: 700;
    line-height: inherit;
    padding: 0.705em 2.505em;
    text-decoration: none;
    width: 100%;
    cursor: pointer;
}
:where(button),
:is(.mepr-white-popup, .wlms-white-popup, .meco-white-popup) :is(.mepr-btn, .wlms-btn, .meco-btn):hover,
:is(.mepr-white-popup, .wlms-white-popup, .meco-white-popup) :is(.mepr-btn, .wlms-btn, .meco-btn) {
    width: auto;
    line-height: 1;
    padding: .55em 1em;
    border-radius: 5px;
}
:is(.mepr-cancel-sub-buttons, .wlms-cancel-sub-buttons, .meco-cancel-sub-buttons) {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--extra-extra-small);
    align-items: center;
}
:is(.mepr-account-cancel, .wlms-account-cancel, .meco-account-cancel),
:is(.mepr-cancel-sub-buttons, .wlms-cancel-sub-buttons, .meco-cancel-sub-buttons) :is(.mepr-confirm-yes, .wlms-confirm-yes, .meco-confirm-yes):hover,
:is(.mepr-cancel-sub-buttons, .wlms-cancel-sub-buttons, .meco-cancel-sub-buttons) :is(.mepr-confirm-yes, .wlms-confirm-yes, .meco-confirm-yes) {
    background-color: var(--wp--preset--color--status-error);
}
:where(button):hover,
:is(.mepr-submit, .wlms-submit, .meco-submit):hover,
:is(.mepr-white-popup, .wlms-white-popup, .meco-white-popup) :is(.mepr-btn, .wlms-btn, .meco-btn):hover,
:is(.mepr-form, .wlms-form, .meco-form, #mepr_forgot_password_form, #wlms_forgot_password_form, #meco_forgot_password_form) [type="submit"]:hover {
    border-color: currentColor;
}
:is(.mp_login_form, .wl_login_form, .mc_login_form) :is(button.mp-hide-pw, button.wl-hide-pw, button.mc-hide-pw) {
    display: none;
}
/* WPForms */
.wpforms-field-container ul { list-style-type: none; padding-left: 0; } .wpforms-field-container ul input + .wpforms-field-label-inline { margin-left: .5em; }

.wpforms-field-description {
    font-size: var(--wp--preset--font-size--normal-accented);
}
.wpforms-field {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.wpforms-field-container {
    display: flex;
    flex-direction: column;
    row-gap: var(--wp--preset--spacing--half-medium);
}
.wpforms-form {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--half-medium);
}
.wpforms-submit {
    border-radius: var(--wp--custom--border--radius);
    border: 2px solid var(--wp--preset--color--transparent);
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
    font-family: inherit;
    font-size: var(--wp--preset--font-size--normal-accented);
    font-weight: 700;
    line-height: inherit;
    padding: 0.505em 2.505em;
    text-decoration: none;
    width: auto;
}
.wpforms-submit:hover {
    border-color: currentColor;
}
label.wpforms-error {
    color: var(--wp--preset--color--status-error);
}
/* trp */
:root nav.lang-nav ul ul,
:root nav.lang-nav {
	  width: 6rem;
	    border: 1px solid var(--wp--custom--border--color);
	      margin-bottom: 0;
      }
      :root nav.lang-nav ul ul,
      :root nav.lang-nav ul a {
	        background: #f5f7ff;
		  font-size: var(--wp--preset--font-size--extra-small) !important;
		    padding: 5px;
		      font-weight: 500 !important;
		        text-decoration: none;
		}
		:root nav.lang-nav ul a.active,
		:root nav.lang-nav ul a:hover {
			  background: white;
			    color: inherit;
		    }
		    :root nav.lang-nav ul ul {
			      left: -1px;
		      }
		      :root nav.lang-nav {
			        margin: auto;
			}
/* checkout form */
:is(.mp_wrapper, .wl_wrapper, .mc_wrapper) h3 {
    font-weight: 600;
}
/* Account */
.maurice-accountOverview__Info {
    color: var(--wp--preset--color--contrast-darkest);
}
.maurice-accountOverview__Info :where(h2, h3, h4, h5, h6) {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 500;
    color: var(--wp--preset--color--contrast);
}
/* Layout */
:where(.page-template-page-first-section-overlapping-header) .entry-content > :first-child{
    background: var(--wp--preset--color--base);
    border-radius: 40px;
    margin-top: calc(-1 * var(--wp--preset--spacing--medium));
    min-height: var(--wp--preset--spacing--large);
    isolation: isolate; /* Creates a new stacking context */
}
:where(.page-template-page-first-section-overlapping-header .site-header__innerWrapper) {
    padding-bottom: var(--wp--preset--spacing--small);
}

/* Toc styling */
div#ez-toc-container {
    background-color: var(--wp--preset--color--primary-for-background);
    border-radius: var(--wp--custom--border--radius);
    padding: var(--wp--preset--spacing--small);
    border-width: 0;
    width: 100%;
}
div#ez-toc-container .ez-toc-title {
    font-weight: 600;
    font-size: var(--wp--preset--font-size--medium-accented);
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--secondary);
    line-height: 1.75;
}
#ez-toc-container > nav > ul {
    margin-top: var(--wp--preset--spacing--small);
}
div#ez-toc-container a:visited,
div#ez-toc-container ul li,
div#ez-toc-container ul li a,
div#ez-toc-container a {
    color: var(--wp--preset--color--primary);
    font-size: inherit;
    font-weight: inherit;
}
#ez-toc-container nav > ul > li + li {
    margin-top: var(--wp--preset--spacing--extra-small);
}
.maurice-integration-type {
    font-size: var(--wp--preset--font-size--small);
    font-weight: 700;
    display: inline-block;
    padding: .4em;
    top: .2em !important;
    position: relative;
}
.maurice-integration-actionsSimple {
    justify-content: center;
    text-transform: uppercase;
    color: var(--wp--preset--color--primary);
}
.maurice-integration-actionsSimple .wp-block-button.is-style-maurice-link-button .wp-block-button__link {
    padding: 0 2px;
}
:where(.maurice-marketersRecommend__Logos) .wp-block-image img {
    vertical-align: middle;
}
.maurice-ctaAffiliate :where(figure, img) {
    width: 100%;
}
/* Global responsive styles */
@media (max-width: 781px) {
    .maurice-colophon {
        text-align: center;
    }
    :is(.maurice-ctaHorizontal:not(.maurice-ctaAffiliate)) .wp-block-columns {
        flex-direction: column-reverse;
    }
    .maurice-subscriptionHorizontal .wp-block-heading,
    .maurice-ctaHorizontal,
    .maurice-ctaHorizontal .wp-block-heading {
        text-align: center;
    }
    .maurice-ctaHorizontal .wp-block-buttons {
        justify-content: center;
        align-items: center;
    }
    .singular-contentLeft__titleWrapper,
    .singular-contentLeft__Inner {
        padding-right: 0 !important;
    }
    .maurice-iconsSection .wp-block-columns {
        flex-wrap: wrap !important;
    }
    .maurice-iconsSection .wp-block-column {
        flex-basis: calc(25% - (var(--wp--preset--spacing--extra-extra-small) ) ) !important;
        flex-grow: 0 !important;
    }
    .maurice-featuresSection .wp-block-group-is-layout-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .maurice-featuresSection-3 .wp-block-group-is-layout-grid,
    .maurice-featuresSection-2 .wp-block-group-is-layout-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .maurice-featuresSection-2 .wp-block-group-is-layout-grid {
        max-width: 350px;
    }
    .maurice-featuresSection-3 .wp-block-heading,
    .maurice-featuresSection-3 .maurice-featureMiniBox {
        text-align: center;
    }
    .maurice-ourTeam .wp-block-columns {
        flex-direction: column;
        gap: var(--wp--preset--spacing--extra-extra-small);
    }
    .maurice-ourTeam__members > *:not(:first-child) {
        margin-top: var(--wp--preset--spacing--mid-large);
    }
    .maurice-ourTeam .wp-block-columns .wp-block-column {
        max-width: 350px;
    }
    .maurice-coreValues__imagesGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .maurice-integrationsQuery__small .wp-block-post-template {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .maurice-hide-on-mobile {
        display: none;
    }
}
@media (max-width: 600px) {
    body {
        --wp--preset--spacing--small: 2rem;
        --wp--preset--spacing--medium: 2.25rem;
        --wp--preset--spacing--mid-large: 3rem;
        --wp--preset--spacing--large: 3.25rem;
        --wp--preset--spacing--extra-large: 4rem;
    }

    :where(:not(.alignfull)) > .is-style-maurice-mobile-fullwidth-container > .alignfull {
        margin-left: 0;
        margin-right: 0;
    }
    .has-global-padding > .is-style-maurice-mobile-fullwidth-container,
    .has-global-padding > :where(.alignfull.has-global-padding) > .is-style-maurice-mobile-fullwidth-container,
    .has-global-padding .mobile-alignfull {
        margin-right: calc(var(--wp--style--root--padding-right) * -1) !important;
        margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
    }
    .is-style-maurice-mobile-fullwidth-container,
    .has-global-padding.mobile-alignfull {
        padding-right: 0;
        padding-left: 0;
    }
    .accountNav__wrapper {
        position: static;
    }
    .maurice-featuresSection .wp-block-group-is-layout-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .maurice-featureMiniBox figure {
        text-align: center;
    }
    .maurice-featureMiniBox > .wp-block-group.is-layout-flex {
        justify-content: center;
    }
    .maurice-coreValues__imagesGrid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .maurice-integrationsQuery__small .wp-block-post-template {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .siteIcons__wrapper {
        padding-right: 0;
        padding-left: 0;
    }
    .with__searchAfter .site-header__innerWrapper {
        padding-bottom: var(--wp--preset--spacing--small);
    }
    .maurice-iconsSection > .wp-block-group {
        padding: var(--wp--preset--spacing--extra-extra-small) !important;
    }
    .maurice-iconsSection .wp-block-columns {
        justify-content: center;
    }
    .maurice-iconsSection .wp-block-column {
        flex-basis: calc(33.3% - (var(--wp--preset--spacing--extra-extra-small) * 2/3 ) ) !important;
    }
}
