/* 
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
*/

*:focus { outline: none; }

input.focus, select.focus, textarea.focus, .btn.focus,
input:focus, select:focus, textarea:focus, .btn:focus,
input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible,
input:focus-within, select:focus-within, textarea:focus-within, .btn:focus-within {
	outline: 0;
	-webkit-box-shadow: none;
    box-shadow: none !important;
}

html {
    overflow-x: hidden;
    scroll-padding-top: 10px;
}

.archive.category .nota {
    border: 1px solid;
    padding: 10px;
    margin-block-end: .9rem;
}


/* ----------------------------- */
/* MENU ------------------------ */

div[data-id="25355cc"]::before {
    content: "";
    position: absolute;
    border-top: 10px solid white;
    border-right: 25px solid transparent;
    width: 0;
    height: 0;
    left: 0px;
    top: 57px;
}

div[data-id="25355cc"]::after {
    content: "";
    position: absolute;
    border-top: 10px solid white;
    border-left: 25px solid transparent;
    width: 0;
    height: 0;
    left: 25px;
    top: 57px;
}

@media screen and (min-width: 768px) {
    .elementor-element.griglia-capitoli-homepage .elementor-loop-container {
        grid-auto-rows: 1fr;
        align-items: stretch;
    }

    .elementor-element.griglia-capitoli-homepage .elementor-loop-container .single-capitolo-homepage {
        height: 100%;
    }

    #btn-conclusioni-home summary{
        width: 30%;
    }

    #btn-continua-home summary{
        width: 30%;
    }
}

@media (min-width: 1024px) {
    body.home div.luigi-brugnaro-homepage {
        right: calc(50% - 550px) !important;
    }
}

#btn-continua summary.e-n-accordion-item-title {
    width: fit-content;
}

.st0 {
    stroke-width: 1px !important;
}

.freccia-sezione .st0{
    stroke:white !important;
}

/* ------------------------------------------ */
/* ELEMENTOR COUNTER ------------------------ */

.archive.category .elementor-counter {
    column-gap: 10px;
    text-wrap: nowrap;
}

@media (min-width: 1024px) {
    .archive.category .elementor-counter .elementor-counter-title {
        margin-bottom: -10px;
    }
}

/* ------------------------------------------ */
/* FORM CF7 --------------------------------- */

/* Custom per form iscrizione evento */ 
.wpcf7-form .add-iscritto, .wpcf7-form .remove-iscritto {
	background: none;
	color: var( --e-global-color-text );
	font-size: 1.5rem;
	line-height: 1;
	font-weight: 300;
	padding: .5rem 1rem;
	border: 1px solid #666;
	border-radius: 3px;
	min-width: 50px;
}

.wpcf7-form .add-iscritto:hover, .wpcf7-form .remove-iscritto:hover {
	color: var( --e-global-color-text );
	background-color: #f0f0f0;
}

/* stili standard */
input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea { background-color: white; }
input[readonly] { background-color: #eee; }
.wpcf7-form .elementor-form-fields-wrapper { margin-left: calc( -15px/2 ); margin-right: calc( -15px/2 ); }
.wpcf7-form .elementor-form-fields-wrapper:last-child { margin-bottom: -15px; }
.wpcf7-form .elementor-field-group .wpcf7-form-control-wrap { width: 100%; max-width: 100%; }
.wpcf7-form .elementor-field-group label { display: block; width: 100%; margin-bottom: 4px; }
.wpcf7-form .wpcf7-acceptance label { line-height: 1.5; }
.wpcf7-form .wpcf7-acceptance label a { text-decoration: none; border-bottom: 1px solid; color: inherit;  }
.wpcf7-form .wpcf7-acceptance label .wpcf7-list-item-label,
.wpcf7-form .wpcf7-list-item label .wpcf7-list-item-label { margin-left: 6px; }
.wpcf7-form ol { display: block; width: 100%; max-width: 100%; margin-top: .9rem; margin-bottom: .9rem; }
.wpcf7-form .elementor-field-group { padding-right: calc( 15px/2 ); padding-left: calc( 15px/2 ); margin-bottom: 15px; -webkit-box-align: start; -ms-flex-align: start; align-items: start; -webkit-align-content: start; align-content: start; }
.wpcf7-form .elementor-field-group.elementor-field-type-submit { -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
.wpcf7-form .elementor-field-group .wpcf7-validates-as-required { border-left-width: 3px; }
.wpcf7-form .wpcf7-not-valid-tip { margin-left: 1rem; font-size: 0.9em; }
.wpcf7-form .wpcf7-not-valid {
	border-color: #dc3232;
    padding-right: calc(1.5em + 0.75rem)!important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.wpcf7-form select.wpcf7-not-valid { background-position: right calc(0.375em + 0.75rem) center; }

.wpcf7-form .elementor-form-fields-wrapper-label {
	position: relative;
	padding: 15px 15px 5px 15px;
	margin-top: 30px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 3px;
}

.wpcf7-form .elementor-form-fields-wrapper-label .elementor-field-label {
	position: absolute;
	top: -1.6em;
	left: 23px;
}

.wpcf7-form .privacy {
    padding: 15px;
    font-size: 0.8em;
    border: 1px solid #ccc;
    overflow: auto;
    height: 300px;
}

.wpcf7-form .privacy > p {
    margin-bottom: 5px;
}

.wpcf7-form .wpcf7-submit {
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: black;
    border-color: black;
    color: white;
}

.wpcf7-form .wpcf7-submit:hover,
.wpcf7-form .wpcf7-submit:focus,
.wpcf7-form .wpcf7-submit:active {
    background-color: black;
    border-color: black;
    color: white;
}


/* ------------------------------------------- */
/* PAGE FLIP --------------------------------- */

.df-ui-btn.df-ui-alt.df-ui-next { border-right: none }
.df-ui-btn.df-ui-end.ti-angle-double-right { border-right: 1px solid #ddd; }
.df-container > .df-ui-btn.df-ui-next, .df-container > .df-ui-btn.df-ui-prev {
    color: #fff;
}

.df-container > .df-ui-btn.df-ui-next::after,
.df-container > .df-ui-btn.df-ui-prev::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 0px;
    width: 46px;
    height: 46px;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 50%;
    z-index: -1;
}

.df-container > .df-ui-btn.df-ui-next:hover, .df-container > .df-ui-btn.df-ui-prev:hover { opacity: 1; }