/*
 Theme Name:   imw-theme
 Description:  Twentytwenty Child Theme
 Author:       MM
 Template:     twentytwenty
 Version:      1.0
 Text Domain:  imw-theme
*/
:root {

    --olive:#a0ae9f;
    --cream:#f4edd0;
    --darkred:#970c0f;
    --wood:#93735e;
    --base: 16px;
}
body {position: relative;}
[id] {scroll-margin-top: 4rem;}
:is(section, article, body, aside, nav, p, ul, a, .card){font-family: 'Montserrat', sans-serif!important;font-size: 1.45rem;}
body:not(.overlay-header) .primary-menu > li > a, body:not(.overlay-header) .primary-menu > li > .icon, .modal-menu a, .footer-menu a, .footer-widgets a, #site-footer .wp-block-button.is-style-outline, .wp-block-pullquote:before, .singular:not(.overlay-header) .entry-header a, .archive-header a, .header-footer-group .color-accent, .header-footer-group .color-accent-hover:hover {
    color: var(--darkred)!important;
}
:is(h1, h2, h3) {
    font-family: 'Waterfall', cursive !important;
    font-weight: 400;
    color: var(--darkred);
}
.redesign {
    position: relative;
}
.redesign::after {
    position: absolute;
    content: '';
    height: 3px;
    bottom: -1rem;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 40%;
    background: var(--wood);
}
.box-shadow {
    -webkit-box-shadow: 0px 4px 9px 2px rgba(0,0,0,0.6); 
    box-shadow: 0px 4px 9px 2px rgba(0,0,0,0.6);
}
.primary-menu-wrapper ul li a {
    font-size: 1.4rem!important;
}
.primary-menu li.current-menu-item > a {
    font-weight: 600;
    text-decoration: none;
    position: relative;
 }
.primary-menu li.current-menu-item > a::after {
    position: absolute;
    content: '';
    height: 3px;
    bottom: -1rem;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--olive);
}
#site-header{
    width: 100%;
    border-bottom: 1px solid #e1e1e1;
    z-index: 999;
    top: 0;
    position: fixed;
    background-color: var(--cream)!important;
}
.header-toggles {display: none;}
.header-inner {
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out ;
}
.hero-img {
    width: 100%;
}
@media (min-width: 1000px){
    .header-inner {
    padding: 0.8rem 0 !important;
    }
    .page{
        padding-top: 4rem;
    }
    .post-inner {
        padding: 0;
    }
	.header-titles-wrapper {
    max-width: 35% !important;
	}
}
@media (min-width: 700px) {
.header-inner {
    padding: 0.8rem 0;
    }
    .page{
        padding-top: 2rem;
    }
    .post-inner {
        padding: 0;
    }

}
@media (max-width: 699.99px) {
    .header-inner {
        padding: 0.4rem 0;
    }
    .page, .post-inner{
        padding-top: 0;
        }
    main {top: 68px;}
    .hero-img {padding-top: 32px;}
	h1, .heading-size-1 { font-size: 4.8rem;}
	h2, .heading-size-2 { font-size: 3.6rem;}
}
.content-img {
    width: 60%; 
    margin: 0 auto
}
@media (max-width: 991.99px) {
    .content-img {
        width: 100%;
    }
}
.site-description {
    color: var(--olive)!important;
    font-size: 1.4rem;
    font-weight: 600;
}
main {
    position: relative;
    top: 32px;
    }

.mobile-menu {
    position: relative;
    top: 64px;
}
.close-nav-toggle {display: none!important;}
.shrink {
    padding: 0.8rem 0!important;
}
.shrink-img {
    max-height: 4rem!important;
}
.scrolled {
    -webkit-box-shadow: 0px 4px 12px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 4px 12px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 4px 12px 0px rgba(0,0,0,0.5);
}
.toggle-text,.menu-bottom {
    display: none;
}
.nav-toggle .toggle-icon, .nav-toggle svg {
    width: 1.625rem;
    height: 2rem;
}
.nav-toggle .toggle-inner {
    padding-top: 0;
}
#nav-icon i {color: var(--darkred)}
.toggle-inner {
    height: 2rem;
}

.singular .entry-header {background-color: var(--cream)!important; }
.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    max-width: 75.25rem;
    width: calc(100% - 4rem);
}
button, .button, .faux-button, .wp-block-button__link, .wp-block-file .wp-block-file__button, input[type="button"], input[type="reset"], input[type="submit"], .bg-accent, .bg-accent-hover:hover, .bg-accent-hover:focus, :root .has-accent-background-color, .comment-reply-link {
    background-color: var(--darkred)!important;
}
button.toggle, .menu-modal-inner {
    background-color: var(--cream)!important;
}
.btn-red {
    background-color: var(--darkred);
    color: #fff !important;
    text-decoration: none;
}
.btn-red:hover {
    background-color: rgb(83, 0, 0);
    text-decoration: none;
    color: #fff !important;
} 
/*Cookiebot Button*/
.CookiebotWidget-logo,
.CookiebotWidget-show-consent-details {
    background-color: unset!important;
}
#CookiebotWidget-btn-withdraw, 
#CookiebotWidget-btn-change {
    background-color: steelblue!important;
}
.CookiebotWidget-close svg{
    fill: #fff!important;
}
hr::before, hr::after {
    all: unset;
}
.hr {
    border: 0;
    border-top: 0!important;
    height: 1px !important;
    background-color: unset;
    opacity: unset;
    background-image: linear-gradient(to right, rgba(147, 115, 94, 0), rgba(147, 115, 94, .75), rgba(147, 115, 94, 0));
}
main, body.custom-background{
    background-color: var(--cream)!important;
}
.img-rounded {
    border-radius: 10px;
}
span.wpcf7-list-item-label {
    font-size: 12px;
}
.form-modal {
    width: fit-content !important;
    padding-right: 0 !important;
    scrollbar-width: thin; /* on Firefox */
}
/***** Widgets *****/
.widget_text p, .widget_text ol, .widget_text ul, .widget_text dl, .widget_text dt, .widget-content .rssSummary {
    font-family: 'Montserrat', sans-serif;
 
}
.center-align {margin: 0 auto;}
/*****Colors****/
.bg-cream {background-color: var(--cream)!important;}
.bg-olive {background-color: var(--olive)!important;}
.bg-wood {background-color: var(--wood)!important;}

/*****Typography****/
.text-white {color: #fff !important;}
.text-red {color: var(--darkred);}
.text-wood {color: var(--wood);}
.text-olive {color: var(--olive);}
.text-cream {color: var(--cream);}
.text-tiny {font-size: calc(var(--base) * 0.75)}
.text-small {font-size: calc(var(--base) * 0.865)}
.text-normal {font-size: calc(var(--base) * 1)}
.text-large {font-size: calc(var(--base) * 1.25)}
.text-xlarge {font-size: calc(var(--base) * 2)}
.text-xxlarge {font-size: calc(var(--base) * 3)}
.text-jumbo, h1.entry-title {font-size: calc(var(--base) * 3.5)}
.text-mega {font-size: calc(var(--base) * 5)}
.bold {font-weight:600;}

/***** footer ******/
.flex {
    display: flex;
}
.footer-independend {background-color: var(--olive)!important; font-size: 1.2rem !important;}
.footer-inner {display: none;}
.footer-nav {justify-content: flex-end;}
.footer-nav ul {list-style: none;}
.footer-nav ul li {margin: 0;}
.footer-nav ul li a {color: #fff;}
.footer-nav ul li a:hover {color: #fff;}
.footer-nav ul li:not(:first-child)::before{
    content: "|";
    margin: 0 1rem;
}
@media (max-width: 768px) {
    .footer-nav{
        justify-content: center!important;
        margin-top: 1.25rem;
    }
    .footer-copyright {
        text-align: center;
    }
}
