/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
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
*/

/* Algemeen */
p {
    margin-block-end: 0.5rem !important;
}

.url-paarsvlak a:hover {
	color: var(--e-global-color-primary) !important;
	text-decoration: underline !important;
}

.tekst-schuin > div > * {
	padding: 0px !important;
    font-style: italic !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif; !important;
}

.tekst-kop > div > * {
	padding: 0px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif; !important;
}

.koptekst-zonder-padding > div > * {
	padding: 0 0 0 0.3rem !important;
}	

/* Pagina vullen wanneer niet hoog genoeg */
body > main, body > #sunshine {
    min-height: calc(100vh - 56px - 56px) !important;
}

main#content .elementor-element-b253bb2 > .e-con-inner {
    background-color: var(--e-global-color-accent);
}

.post-2659, .post-2847 {
	min-height: calc( 100vh -  56px - 76px) !important;
}

/* Headings - Base (Desktop) */
h1, h2 {
	font-size: 2rem !important;
	padding: 2rem 0 0.3rem !important;
}

h3 {
	font-size: 1.5rem !important;
	padding: 1.5rem 0 0.3rem !important;
}

h4, h5, h6 {
	font-size: 1.25rem !important;
	padding: 1.5rem 0 0.3rem !important;
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
	h1, h2 {
		font-size: 1.75rem !important;
		padding: 1.75rem 0 0.3rem !important;
	}

	h3 {
		font-size: 1.4rem !important;
		padding: 1.3rem 0 0.3rem !important;
	}

	h4, h5, h6 {
		font-size: 1.1rem !important;
		padding: 1.2rem 0 0.3rem !important;
	}
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
	h1, h2 {
		font-size: 1.5rem !important;
		padding: 1.5rem 0 0.2rem !important;
	}

	h3 {
		font-size: 1.25rem !important;
		padding: 1.1rem 0 0.2rem !important;
	}

	h4, h5, h6 {
		font-size: 1rem !important;
		padding: 1rem 0 0.2rem !important;
	}
}


.koptekst-zonder-padding > div > * {
	padding: 0rem !important;
}	

.tekst-kop > div > * {
	padding: 0px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif; !important;
}

.tekst-schuin > div > * {
	padding: 0px !important;
    font-style: italic !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif; !important;
}


/* Ahref links */
span a {
	color: #000 !important;
	text-decoration: underline !important;
}

span a:hover {
	color: var(--e-global-color-primary) !important;
	text-decoration: none !important;
}
	

/* Menu */
.elementor-nav-menu--main .elementor-item:hover {
    background: var(--e-global-color-accent) !important;
    background-color: var(--e-global-color-accent) !important;
	color: #000 !important;
}

.elementor-sub-item.elementor-item-active, .elementor-sub-item.highlighted, .elementor-sub-item:focus, .elementor-sub-item:hover, .elementor-nav-menu--main .elementor-item.elementor-item-active, .elementor-nav-menu--main .elementor-item.highlighted, .elementor-nav-menu--main .elementor-item:focus {
    background: #77557E !important;
    background-color: #77557E !important;
	color: #fff !important;
}

.elementor-nav-menu--main .elementor-item.highlighted {
background: #F3EDF5 !important;
background-color:  #F3EDF5 !important;
color: #000 !important;
}

.elementor-nav-menu .elementor-item.highlighted .sub-arrow {
	fill: #000 !important;
}

.elementor-nav-menu--dropdown {
    background-color: var(--e-global-color-accent) !important;
}


/* Footer menu */
.footer-menu-niet_klikbaar > a:hover {
       cursor: default !important;
}

.footer-menu-niet_klikbaar > .elementor-item:hover {
	   background: unset !important;
	   background-color: unset !important;
	   color: #FFFFFF !important;
 }
 
/* Slab tekst */
.slabtexted .slabtext{
	display:-moz-inline-box;
	display:inline-block;
	white-space:nowrap
}
.slabtextinactive .slabtext{
	display:inline;white-space:normal;
	font-size:1em !important;
	letter-spacing:inherit !important;
	word-spacing:inherit !important;
	*letter-spacing:0 !important;
	*word-spacing:0 !important;
}
.slabtextdone .slabtext{
	display:block;line-height:1;text-align: center;
}

.visitekaartje-slab-tekst-wit, .visitekaartje-slab-tekst-wit a, .visitekaartje-slab-tekst-wit a:hover {
	color: #fff !important;
	font-weight: 300;
}

.visitekaartje-slab-tekst-wit strong {
	font-weight: 500;
}

.visitekaartje-p p {
	margin-bottom: 0px !important;
}

/* Knoppen */
.elementor-button:hover, .elementor-button:focus {
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif !important;
    font-weight: var(--e-global-typography-secondary-font-weight) !important;
    line-height: var(--e-global-typography-secondary-line-height) !important;
	color: var(--e-global-color-primary) !important;
}


/* Sunshine photocart */

/* Header Flex Layout - Desktop */
.sunshine-header-flex {
	display: flex;
	justify-content: space-between;
	align-items: flex-start !important;
	gap: 2rem;
	width: 100%;
}

.sunshine-album-extra-text {
    margin-bottom: 15px;
}

.sunshine-header-right {
	text-align: right;
}

.sunshine-header-right h2 {
	font-size: 1.3rem !important;
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
	.sunshine-header-flex {
		flex-direction: column;
		align-items: flex-start;
	}

	.sunshine-header-left,
	.sunshine-header-right {
		flex: 100%;
		width: 100%;
		text-align: left;
		margin-top: 1rem;
	}
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
	.sunshine-header-left,
	.sunshine-header-right {
		font-size: 0.95rem;
		margin-top: 0rem !important;
        padding: 0px !important;
        min-height: 20px !important;
	}

	.sunshine-header-right h1 {
		font-size: 1rem !important;
		padding: 0 !important;
	}
	
	.sunshine-header-flex {
    gap: 0rem;
	}
	
	.sunshine-album-extra-text {
    margin-bottom: 15px;
	margin-top: 15px;
	}
}


/* Main */
#sunshine {
    padding: 0px !important;
}

#sunshine .sunshine--container {
    max-width: 1340px !important;
    padding: 0px !important;
}

#sunshine--page-header h1, #sunshine--page-header h2 {
    font-weight: 400 !important;
}

.sunshine--gallery--expires, #sunshine--gallery--special-access, #sunshine-notices > .sunshine-notice {
	background: var(--e-global-color-accent);
    background-color: var(--e-global-color-accent);
    color: var(--e-global-color-text);
}

.sunshine--container {
    display: flex;
    flex-direction: column;
}

/* header#sunshine--page-header {
    order: 1;
}
*/

div#sunshine-notices {
    order: 2;
}

div#sunshine--image-items {
	order: 3;
	margin-bottom: 50px !important;
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
div#sunshine--main {
    padding: 10px;
}

#sunshine--image--comments--header--image img {
    max-width: 100% !important;
}

}

div#sunshine--account--menu {
    display: none;
}

.sunshine-photo-cart .sunshine--form--field label {
    font-size: unset !important;
    font-weight: unset !important;
    color: unset !important;
	cursor: unset !important;
}

/* Lightbox */
/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
.lg-container button#lg-prev-1, .lg-container button#lg-next-1 {
    display: none;
}
}

/* Knoppen */

/* Wrapper for button groups */
.sunshine-photo-cart .sunshine--account--choice,
.sunshine-photo-cart .sunshine--account--form-buttons {
	display: flex;
	justify-content: center;
	gap: 15px; /* spacing between buttons */
	flex-wrap: wrap;
	margin: 20px 0;
	width: 100%;
}

/* General button styling */
.sunshine-photo-cart .sunshine--form--field-submit button,
.sunshine-photo-cart .sunshine--button,
.sunshine-photo-cart button,
.sunshine-photo-cart input[type="button"],
.sunshine-photo-cart input[type="submit"],
.sunshine-photo-cart .terug-button,
input.button-primary.wpa-submit {
    background-color: var(--e-global-color-primary); /* Global primary background color */
    fill: var(--e-global-color-0a06ff5); /* Specified fill color */
    color: var(--e-global-color-0a06ff5); /* Specified text color */
    padding: 5px 15px; /* Button padding */
    font-family: var(--e-global-typography-secondary-font-family), sans-serif;
    font-weight: var(--e-global-typography-secondary-font-weight);
    line-height: var(--e-global-typography-secondary-line-height);
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    box-sizing: border-box;
    min-width: 100px;
    -webkit-font-smoothing: antialiased;
    text-transform: unset !important;
    width: unset !important;
}

/* General button styling */
body.home button.button.sunshine--button:hover {
    background-color: white !important;
	color: var(--e-global-color-primary) !important;
}

.sunshine--container.enter-password button.sunshine--button {
	background-color: white !important;
	color: var(--e-global-color-primary) !important;
}

.sunshine--container.enter-password button.sunshine--button:hover {
    background-color: var(--e-global-color-accent); /* Global primary background color */
    fill: var(--e-global-color-0a06ff5); /* Specified fill color */
    color: var(--e-global-color-0a06ff5); /* Specified text color */
}

/* Hover effect for buttons */
.sunshine-photo-cart .sunshine--form--field-submit button:hover,
.sunshine-photo-cart .sunshine--button:hover,
.sunshine-photo-cart button:hover,
.sunshine-photo-cart input[type="button"]:hover,
.sunshine-photo-cart input[type="submit"]:hover,
.sunshine-photo-cart .terug-button:hover {
    background-color: rgb(243, 237, 245);
    color: var(--e-global-color-primary) !important;
}


button.sunshine--open-modal, button.sunshine--add-to-favorites {
	min-width: unset !important;
}

.sunshine--form--field.sunshine--form--field-submit {
    display: flex;
    justify-content: center;
}

.sunshine--download {
    position: relative; /* Ensure relative positioning for the before element */
}

.sunshine--download a {
    background-color: var(--e-global-color-primary) !important; /* Global primary background color */
    fill: var(--e-global-color-0a06ff5) !important; /* Use specified fill color */
    color: var(--e-global-color-0a06ff5) !important; /* Use specified text color */
    padding: 5px 15px !important; /* Padding for the link */
    font-family: var(--e-global-typography-secondary-font-family), sans-serif !important; /* Font family */
    font-weight: var(--e-global-typography-secondary-font-weight) !important; /* Font weight */
    line-height: var(--e-global-typography-secondary-line-height) !important; /* Line height */
    border-radius: 2px !important; /* Rounded corners */
    cursor: pointer !important; /* Pointer cursor on hover */
    display: inline-flex; /* Use flexbox to align items */
    align-items: center; /* Center items vertically */
    text-decoration: none !important; /* Remove underline */
    box-sizing: border-box !important; /* Include padding and border in width/height */
    -webkit-font-smoothing: antialiased !important; /* Font smoothing */
}

.sunshine--download a:hover {
    background-color: rgb(243, 237, 245) !important; /* Light gray background on hover */
    color: var(--e-global-color-primary) !important; /* Use global primary text color on hover */
}

nav.sunshine--action-menu .sunshine--download:before {
    display: none !important
}

#sunshine .sunshine--action-menu ul {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 0;
    flex-direction: row;
    justify-content: center;
}

figure.sunshine--gallery-item h2 {
    padding: unset !important;
    margin: unset !important;
    line-height: 1 !important;
}

figure.sunshine--gallery-item {
    position: relative;
    display: inline-block;
    overflow: hidden;
    cursor: pointer;
}

figure.sunshine--gallery-item::before {
    content: ""; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Initially transparent */
    transition: background 0.3s ease-in-out;
    pointer-events: none; /* Allows clicks to pass through */
}

figure.sunshine--gallery-item:hover::before {
    background: rgba(0, 0, 0, 0.3); /* Light dark tint */
}

.sunshine-image-wrapper {
    text-align: center;
}

/* Filename fix */
#sunshine--image-items .sunshine-image-block {
    display: inline-flex;
    flex-direction: column;
}

#sunshine--image-items .sunshine-image-caption {
    text-align: center;
    font-size: 11px;
    margin-top: 6px;
    line-height: 1.2;
}

/* Favorieten */
li.sunshine--favorites-share, li.sunshine--favorites-clear {
    display: none !important;
}

/* Modal popup */
#sunshine--modal--content {
    padding: 20px;
}

#sunshine--account--login-signup--header {
    background: rgb(243, 237, 245);
    color: var(--e-global-color-primary);
}

.sunshine--account--terug-container {
	text-align: right;
	margin-top: 15px;
}

.sunshine--account--terug-link {
	color: var(--e-global-color-primary);
	text-decoration: none;
	background: none;
	border: none;
	font: inherit;
	cursor: pointer;
}

.sunshine--account--terug-link:hover {
	color: inherit;
	text-decoration: underline;
	background: none;
	border: none;
	font: inherit;
	cursor: pointer;
}


#sunshine--modal #sunshine--account--login-form, #sunshine--modal #sunshine--account--reset-password-form {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

#sunshine--account--login-form, #sunshine--account--reset-password-form {
    margin-left: auto;
    margin-right: auto;
}

.sunshine--account--login--title.sunshine--modal--title {
    text-align: center;
	color: var(--e-global-color-primary);
}

.sunshine--form--field.sunshine--form--field-submit {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.sunshine--form--field-row {
	display: flex;
	justify-content: center;    /* Centers child fields horizontally */
	gap: 20px;
	flex-wrap: wrap;
	max-width: 600px;           /* Optional: limits how wide the group can get */
	margin: 0 auto;             /* Horizontal centering within the form */
}

.sunshine--form--field-half {
	flex: 1 1 50%;
	min-width: 200px;
}

/* Pagination */
.sunshine--pagination--numbers {
    border-top: unset !important;
}

.sunshine--pagination--numbers {
    border-top: unset !important;
    margin-bottom: 15px !important;
    margin-top: 0px !important;
    padding: 0px !important;
}

.sunshine--pagination--numbers a.current {
    background: var(--e-global-color-primary) !important;
    color: #FFF;
}

.sunshine--pagination--numbers a:hover {
	color: #000 !important;
}	

/* =========================================
   MODAL
========================================= */

#sunshine--modal {
    width: 80%;
    max-width: none !important;
    max-height: 90vh;
    animation: modalFadeIn 0.25s ease;
}

#sunshine--modal.sunshine--closing {
    animation: modalFadeOut 0.25s ease forwards;
}

#sunshine--modal--close {
    right: -55px;
    top: -55px;
}

#sunshine--modal--close:before {
    font-size: 28px !important;
}


/* =========================================
   2 COLUMN LAYOUT (50 / 50)
========================================= */

#sunshine--image--comments {
    display: flex;
    gap: 50px;
    width: 100%;
    min-height: 40vh !important;
	max-height: 60vh;
    padding: 20px;
    box-sizing: border-box;
    align-items: flex-start;
	justify-content: flex-start;
    text-align: left;
}

/* LEFT COLUMN (IMAGE) */
#sunshine--image--comments--left {
    flex: 0 0 48% !important;
	display: flex;
    flex-direction: column;
    align-items: center;
}

#sunshine--image--comments--left img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    max-height: 55vh !important;
    width: auto;
	margin-left: auto;
    margin-right: auto;
}

/* RIGHT COLUMN (FORM + COMMENTS) */
#sunshine--image--comments--right {
    flex: 0 0 48% !important;
}


/* =========================================
   IMAGE STYLING
========================================= */

#sunshine--image--comments--header--image {
    border-bottom: 5px solid var(--e-global-color-primary);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

#sunshine--image--comments--header--image span {
    font-size: 14px;
    font-weight: normal;
}


/* =========================================
   FORM STYLING
========================================= */
.sunshine--comments--title {
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-secondary-font-weight);
    line-height: var(--e-global-typography-secondary-line-height);
	font-size: 1.25rem !important;
    margin: 0 0 1rem 0 !important;
}

#sunshine--image--comments--add--title {
    font-size: 14px;
    margin-bottom: 15px;
}

#sunshine--image--comments--add textarea {
    height: 60px;
}

label[for="sunshine-comment-content"] {
    display: none !important;
}

.sunshine--comments--title.eerder-ingestuurd {
    margin-top: 50px !important;
}

/* =========================================
   Comment styling
========================================= */
.sunshine--image--comment--header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
}

.sunshine--image--comment--author {
    font-weight: 600;
	font-size: 14px !important;
}

.sunshine--image--comment--approval {
    font-size: 14px;
    font-style: italic;
    opacity: 0.7;
}

.sunshine--image--comment--content {
    font-size: 14px;
    line-height: 1.6;
    position: relative;
}

/* Opening quote */
.sunshine--image--comment--content:before {
    content: "“ ";
    font-size: 22px;
    font-weight: 600;
    opacity: 0.5;
}

/* Closing quote */
.sunshine--image--comment--content:after {
    content: " ”";
    font-size: 22px;
    font-weight: 600;
    opacity: 0.5;
}

.sunshine--image--comment {
    border-bottom: 2px solid var(--e-global-color-primary) !important;
}



/* =========================================
   IMAGE GRID ICON FIXES
========================================= */

#sunshine--image-items figure .sunshine--image-status span {
    background: white;
}

#sunshine--image-items figure .sunshine--image-status span:before {
    font-size: 16px;
    color: #77557E;
    top: 3px;
}

#sunshine--image-items figure .sunshine--image-status span,
#sunshine--image-items figure .sunshine--image-menu li a,
#sunshine--image-items figure .sunshine--image-menu li button {
    opacity: 1;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {
	#sunshine--modal {
		width: 100% !important;
		max-width: none !important;
		max-height: 84vh !important;
		animation: modalFadeIn 0.25s ease;
		top: 60px;
	}
	
	#sunshine--modal--close {
		right: -20px;
		top: -42px;
	}

    #sunshine--image--comments {
        flex-direction: column;
        gap: 30px;
        height: auto;
        padding: 20px;
		max-height: unset !important;
    }

    #sunshine--image--comments--header,
    #sunshine--image--comments--content {
        flex: 0 0 100%;
        width: 100%;
    }
	
	#sunshine--image--comments--right {
		width: 100%;
		padding-bottom: 40px !important;
	}
	
	.sunshine-header-right {
		flex: 0 0 92px !important;
		margin-bottom: 20px;
		font-size: 0.9rem;
	}

}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -45%) scale(0.98);
    }
}



/* Album overzicht */
div#sunshine--gallery-items {
    display: flex
;
    gap: 30px;
}

figure.sunshine--gallery-item {
    flex-basis: 25%;
}


/*Favorieten */
button#sunshine--lightbox--share {
    display: none;
}

/* Single album */
#sunshine--page-header {
    margin: 0 !important;
	flex-direction: column;
}


.sunshine-header-right {
	display: flex;
	flex: 0 0 340px;
	flex-direction: column;
    justify-content: center;
	min-height: 80px;
	gap: 6px;
	padding: 2.1rem 0 0.3rem
}

.sunshine-meta-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.sunshine-meta-label {
	flex: 0 0 200px; /* fixed label column */
	font-weight: 600;
}

.sunshine-meta-value {
	flex: 1;
}

#sunshine--image-items .sunshine--image-menu {
    transition: unset !important;
    opacity: 1 !important;
    background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 100%);
}

.sunshine--image-status {
    display: none !important;
}

#sunshine--image-items figure .sunshine--image-menu li a:before, #sunshine--image-items figure .sunshine--image-menu li button:before {
    font-size: 20px;
    color: var(--e-global-color-accent) !important;
}

.sunshine--count {
    background: var(--e-global-color-secondary) !important;
    color: #fff;
}

.sunshine--image-menu button {
    transition: all 0.3s ease;
}

.sunshine--image-menu button:hover {
	transform: scale(1.15) !important;
}

/* Favorites counter */

/* Base counter styling */
#jwpz-favorites-counter .count {
    display: inline-block;
    min-width: 60px; /* prevents layout jump */
    font-variant-numeric: tabular-nums;
    color: #000; /* default = black */
    font-weight: normal;
}

/* Default suffix */
#jwpz-favorites-counter .count::after {
    content: " resterend";
}

/* Remove suffix when negative */
#jwpz-favorites-counter .count.no-suffix::after {
    content: "";
}

/* ZERO state */
#jwpz-favorites-counter .count.is-zero {
    color: green;
    font-weight: bold;
}

/* NEGATIVE state */
#jwpz-favorites-counter .count.is-negative {
    color: red;
    font-weight: bold;
}

.jwpz-counter-message::before {
    content: "!";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    border-radius: 50%;
    background: #f39c12;
    color: #fff;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    font-weight: bold;
}

/* Magic Link plugin */
.wpa-box {
	margin: 0 auto 30px !important;
}

.wpaloginform {
    justify-content: center !important;
    gap: 20px !important;
}

.wpa-error {
    border: 1px solid var( --e-global-color-primary ) !important;
}

input.button-primary.wpa-submit:hover, input.button-primary.wpa-submit:active,  input.button-primary.wpa-submit:focus {
    color: #000 !important;
}