/*
Theme Name: Musea Child
Theme URI: https://musea.qodeinteractive.com/
Description: A child theme of Musea Theme
Author: Select Themes
Author URI: https://themeforest.net/user/elated-themes
Version: 1.0.1
Text Domain: musea
Template: musea
*/
.eltdf-btn,
.eltdf-custom-elements-holder-reveal .eltdf-eh-item,
.eltdf-elements-holder{
	border-radius:8px!important;
}

.ctc-inline-copy {
    background-color: transparent;
    font-family: sans-serif;
    font-size: 20px;
    text-align: left;
    display: flex;
}

.eltdf-mobile-header,
.eltdf-page-header{
	display:none!important;
}

.eltdf-content{
	margin-top: 0!important;
}

.eltdf-workflow .eltdf-workflow-item:nth-of-type(2n) {
    text-align: right!important;
}

.logo-noviia img{
	width:60px;
}

.logo-noviia {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
	padding: 15px 15px 5px 15px;
}

.header-bg-text{
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-gradient{
	background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 100%);
}

.wpb_gmaps_widget,
.wpb_gmaps_widget .wpb_wrapper,
.wpb_gmaps_widget .wpb_map_wraper,
.map-section .eltdf-eh-item-inner,
.map-section .eltdf-eh-item-content{
	height: 100%!important;
}

.desktop-map{
	display:block;
}

.mobile-map{
	display:none;
}

.card{
    padding: 15px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.radio-rsvp span{
	display:flex;
}

[data-name="radio-partecipazione"]{
	margin-top:.5rem;
}

.wpcf7-list-item.first{
	margin-left:0;
}

.radio-rsvp label{
	position:relative;
}

.radio-rsvp label input{
	visibility:hidden;
	position:absolute;
}

.wpcf7-field-group-add,
.wpcf7-field-group-remove,
.radio-rsvp label .wpcf7-list-item-label{
	padding: 10px;
	display: inline-flex;
    line-height: 1;
	border: 1px solid #ccc;
	border-radius: 100px;
	background: transparent;
	cursor: pointer;
}

.wpcf7-field-group-add:hover,
.wpcf7-field-group-remove:hover,
.radio-rsvp label .wpcf7-list-item-label:hover{
	background: rgba(201, 171, 129, .2);
}


.wpcf7-field-group-add,
.wpcf7-field-group-remove{
    width: auto;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-right: .5rem;
    margin-bottom: 1rem;
    gap: 6px;
}

.radio-rsvp label input:checked + .wpcf7-list-item-label{
	padding: 10px;
	border: 1px solid #000;
	border-radius: 100px;
	background: #000;
	color:#fff;
}

.wpcf7-field-group-add:after{
	content:'Aggiungi persona';
}

.wpcf7-field-group-remove:after{
	content:'Rimuovi persona';
}

.wpb-pcf-btn{
	background: #000 !important;
	border-radius: 0!important;
	cursor:pointer;
}

.wpb-pcf-btn:focus,
.wpb-pcf-btn:hover {
    background: #000 !important;
    border-radius: 0 !important;
}

.eltdf-newsletter-form-double-vertical .wpcf7-form-control.wpcf7-text {
    margin-bottom: 30px;
}

.swal2-popup .eltdf-btn.eltdf-btn-outline-slit {
    background-color: #c9ab81;
    color: #fff;
    font-size: 16px;
    border-radius: 0 !important;
    border: 1px solid transparent !important;
}

.post-password-form{
    max-width: 600px;
    display: block;
    width: 100%;
    margin: 3rem auto auto auto;
}

.header-bg-text .eltdf-st-inner{
    display: flex;
    flex-direction: column;
}

.header-bg-text .eltdf-st-inner{
    display: flex;
    flex-direction: column;
}

.header-bg-text .eltdf-st-caption{
	order:1;
}

.header-bg-text .eltdf-st-text{
	order:2;
	margin-top: 0;
}

.header-bg-text .eltdf-st-caption-inner{
	font-style: normal;
}

/* Contenitore generale con spazio bianco */
.video-container {
    padding: 15px;
    box-sizing: border-box;
    max-width: 100%;
    margin: 0 auto;
}

/* Wrapper responsive */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    aspect-ratio: 16 / 9; /* mantiene proporzione video */
}

/* Video */
.video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.video-wrapper.playing video {
    opacity: 1;
    pointer-events: auto;
}

/* Poster */
.video-poster {
    position: absolute;
    inset: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.video-wrapper.playing .video-poster {
    opacity: 0;
    pointer-events: none;
}

.video-poster img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Play icon */
.play-button {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #ffffff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button::before {
        border-width: 10px 0 10px 18px;
    }
}


@media only screen and (max-width: 1024px) {
	.wpb_map_wraper iframe{
		height: 400px!important;
	}
	.mobile-map{
		display:block;
	}
	.desktop-map{
		display:none;
	}
	.eltdf-workflow .eltdf-workflow-title-text-holder {
        text-align: center !important;
    }
}


@media only screen and (max-width: 500px) {
	.radio-rsvp{
		display: flex;
		flex-direction: column;
	}
	.header-bg-text h4.eltdf-st-text{
		font-size: 18px!important;
	}
	.sezione-poesia-mobile .eltdf-row-grid-section{
		width:100%!important;
	}
}
