/*
 Theme Name:   LMPR
 Theme URI:    https://lamper-design.nl
 Description:  GeneratePress child theme
 Author:       Team Lamper Design
 Author URI:   https://lamper-design.nl
 Template:     generatepress
 Version:      0.1
*/

/* Globals */

:root {
    --sitewidth: 1240px;
    --border-radius: .675rem;
    --max-text-width: 85ch;
    --fontsize-h1: clamp(2rem, 1.1667rem + 3.7037vw, 4.5rem);
    --fontsize-h2: clamp(1.75rem, 1.5833rem + 0.7407vw, 2.25rem);
    --fontsize-h3: clamp(1.5rem, 1.3977rem + 0.4545vw, 1.75rem);
    --fontsize-h4: clamp(1.25rem, 1.1477rem + 0.4545vw, 1.5rem);
}

@font-face {
    font-display: swap; 
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/roboto-condensed-v27-latin-regular.woff2') format('woff2'); 
  }

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/roboto-condensed-v27-latin-600.woff2') format('woff2');
  }

  @font-face {
    font-display: swap; 
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/roboto-v32-latin-regular.woff2') format('woff2'); 
  }

  @font-face {
    font-display: swap; 
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/roboto-v32-latin-700.woff2') format('woff2');
  }

@font-face {
    font-display: swap; 
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/open-sans-v40-latin-regular.woff2') format('woff2'); 
  }
  
  @font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/open-sans-v40-latin-600.woff2') format('woff2');
  }

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

h1, h2, h3 {
    word-wrap: anywhere;
}

:is(h1,h2,h3,h4) a {
    text-decoration: none;
}

:is(h1,h2,h3,h4) a:hover {
    text-decoration: underline;
}

a {
    text-underline-offset: .375em;
}

a:is(:hover,:focus-visible) {
    text-decoration: none;
}

ul, ol {
	margin-left: 1.5em;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--accent);
}

blockquote {
    padding: 1rem 0;
    border: none;
    margin: 0;
}

blockquote p::before {
    content: '\201C';
}

blockquote p::after {
    content: '\201D';
}

a:not([href]) {
    cursor: pointer;
}

.sitewidth-container {
	max-width: var(--sitewidth);
	margin-left: auto;
	margin-right: auto;
}

.container-padding {
    padding-inline: 1.5rem;
}

@media (min-width: 769px) {

    .container-padding {
        padding-inline: 2.5rem;
    }

}

.entry-content p+:is(h2,h3,h4) {
    margin-top: 1.25em;
}

.entry-content > figure img {
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.entry-content p > a,
.entry-content p > em > a,
.entry-content li > a,
.site-footer a {
	font-weight: 500;
	text-decoration: underline;
}

.entry-content p > a:hover,
.entry-content p > em > a:hover,
.entry-content li > a:hover,
.site-footer a:hover {
	text-decoration: none;
}

.entry-content ol li::marker {
    font-weight: 500;
}

.entry-content .wp-block-embed {
    margin-block: 1.5em;
}

.entry-content .wp-block-embed iframe {
    border-radius: var(--border-radius);
}

.gb-container p:last-child:last-of-type {
    margin-bottom: 0;
}

figcaption {
	margin-top: .375rem;
	font-weight: 500;
    text-align: center;
}

.list-nostyle {
	list-style-type: '';
	margin: 0;
}

.list-footer li {
    margin-bottom: .5rem;
}

.list-inline {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
}

.list-custom-marker {
	list-style-type: '';
	margin: 0;
}

.list-custom-marker li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.list-custom-marker li:last-child {
    border-bottom: none;
}

.list-custom-marker li::before {
    content: '';
    flex-shrink: 0;
    display: block;
    background-color: var(--cta);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z'/%3E%3C/svg%3E") no-repeat 50% 50% / 1.5rem;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z'/%3E%3C/svg%3E") no-repeat 50% 50% / 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: .125rem;
}

.scroll-offset {
    scroll-margin-top: 2rem;
}

/* Buttons */

.gb-button {
    line-height: 1em;
}

/* Header */

@media ( width >= 1025px ) {

    .site-header .header-image {
        vertical-align: baseline;
    }

}

.page-id-112 .inside-navigation {
    display: none;
}

/* Login */

.login h1 a {
    background-size: 300px;
    height: auto;
    margin: 0 auto 0;
    width: 300px;
}
/* Menu */

.main-nav ul.menu li.menu-button {
    background-color: var(--accent);
    border-radius: .25rem;
    margin-left: 1.25rem;
}

.main-nav ul.menu li.menu-button a {
    line-height: normal;
    padding: .675rem 1.25rem;
}

.main-nav ul.menu li:hover a {
    text-underline-offset: .2em;
    text-decoration: underline;
}

@media only screen and (max-width: 1024px) {
    .site-header .inside-header .site-logo {
        flex: 1;
    }

    .site-header button.menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
        padding-inline: 0px;
        margin-left: 1.25rem;
    }

    .site-header button.menu-toggle .mobile-menu {
        font-size: .875rem;
        line-height: 1;
        padding: 0;
    }

    .site-header button.menu-toggle .gp-icon svg {
        width: 1.3em;
        height: 1.3em;
    }

    .slideout-navigation .screen-reader-text {
        height: revert;
        width: revert;
        position: relative !important;
        clip: revert;
        clip-path: revert;
        margin: 0;
        font-size: .875rem;
        text-transform: lowercase;
        font-family: Roboto Condensed, sans-serif;
        text-transform: uppercase;
        font-size: 17px;
        font-weight: 400;
    }

    .slideout-navigation .slideout-exit {
        display: inline-flex;
        flex-direction: column;
        width: fit-content !important;
        gap: .375rem;
    }

    .slideout-navigation .slideout-exit .gp-icon svg {
        width: 1.3em;
        height: 1.3em;
    }

    .slideout-navigation .main-nav ul {
        gap: 10px;
    }

}

/* Sticky header */

/*.site-header .navigation-stick .sticky-navigation-logo img {
    height: auto;
}*/

@media only screen and (min-width:1025px) {
	.navigation-stick .inside-navigation {
		padding-block: 20px
	}
}

@media only screen and (max-width:1024px) {
    .site-header .navigation-stick .inside-navigation {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        padding-block: 1.25rem;
    }

    .site-header .navigation-stick .inside-navigation .navigation-branding {
        flex: 1;
    }

    .site-header .navigation-stick .navigation-branding {
        margin-left: 0px;
    }

    .site-header .navigation-stick .menu-toggle {
        padding-right: 0px !important;
    }
}

/* Form */

.gform_wrapper .gform_heading {
    display: none;
}

form .gform-body input[type=text], form .gform-body input[type=email],
form .gform-body input[type=url], form .gform-body input[type=password], 
form .gform-body input[type=tel], form .gform-body textarea {
    background: rgba(140, 137, 137, 0.31);
    border: none;
    color: var(--white);
}

form .gform-body .gfield_description {
    color: var(--white);
}

.gform-theme--foundation .gform_fields {
    row-gap: 20px !important;
}

.contact form .gform_footer input[type="submit"],
.register form .gform_footer input[type="submit"] {
    font-family: Roboto Condensed !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    transition-duration: 0.2s !important;
    padding-block: 0.875rem !important;
    padding-inline: 1.875rem !important;
    background-color: var(--accent) !important;
    font-weight: bold !important;
    font-size: 18px !important;
} 

.contact form .gform_footer input[type="submit"]:hover,
.register form .gform_footer input[type="submit"]:hover {
    background-color: var(--accent-2) !important;
}

.gform-theme--foundation .gfield input.large, .gform-theme--foundation .gfield select.large,
form .gform-body input[type=email], form .gform-body input[type=password] {
    height: 60px;
}

/* DFlip Book */

.df-popup-thumb {
    margin: 0px !important;
}

@media only screen and (min-width: 768px) {
    .df-popup-thumb {
        width: 235px;
    }
}

@media only screen and (max-width: 767px) {
    .df-popup-thumb {
        max-width: 47%;
    }
}

.contact .container-padding {
    position: relative;
    z-index: 999;
}