/* 
Theme Name: VisitMaglie
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
*/

/* Add your custom styles here */

/* MAINTENANCE MODE */
body > div {width: 100%; max-width:100% !important;}
.maintenance-mode {margin: 0; padding: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center;}
.maintenance-mode img {width:500px;}
.maintenance-mode h3 {font-size:28px; font-family:'Roboto Condensed', sans-serif;}


/* ELEMENTI GENERALI */
.light-txt {font-weight:400;}
a.link-color {color:var(--e-global-color-secondary) !important;}

.main-section > .e-con-inner, .main-section-dx > .e-con-inner {border-left:1px solid #ddd; border-right:1px solid #ddd;}

.ol-numbers {font-weight:700;}
.list-ambiente .ol-numbers {color:var(--e-global-color-88cb673);}
.list-spazio .ol-numbers {color:var(--e-global-color-73fc875);}
.list-comunita .ol-numbers {color:var(--e-global-color-secondary);}
.list-cultura .ol-numbers {color:var(--e-global-color-521c575);}

.img-bn {filter:saturate(0);}

select {margin: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-appearance: none;
  -moz-appearance: none; background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc); background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em; background-size: 5px 5px, 5px 5px, 1px 1.5em; background-repeat: no-repeat;}
select, input, textarea {font-family:'Roboto', sans-serif !important; font-size:14px;}

.elementor-slideshow__footer {display:none;}


/* HOMEPAGE */
/* staff */
.elementor-element .swiper .swiper-pagination-bullets.swiper-pagination-horizontal {bottom:-20px;}
/* progetti */
.mappa-home {font-size:0;}
/* partner */
.carosello-partner img {filter:saturate(0); transition:all 0.3s ease-in-out;}
.carosello-partner img:hover {filter:saturate(1); transition:all 0.3s ease-in-out;}


/* PERCORSO */
.meta-eventi .elementor-post-info li {display:block; width:100%; text-align:center;}
.meta-eventi .elementor-post-info li:nth-child(1) span, .meta-eventi .elementor-post-info li:nth-child(3) span {font-size:26px; letter-spacing:-2px;}
.meta-eventi .elementor-post-info li:nth-child(2) span {font-size:80px;}
.meta-eventi .elementor-post-info li:nth-child(3) {margin-top:-20px;}
.cont-date {height:100%;}
.category-ambiente .categoria-evento span {color: var(--e-global-color-88cb673);}
.category-spazio-pubblico .categoria-evento span {color: var(--e-global-color-73fc875);}
.category-comunita .categoria-evento span {color: var(--e-global-color-secondary);}
.category-cultura .categoria-evento span {color: var(--e-global-color-521c575);}
.category-visione .categoria-evento span, .category-esplorazioni-e-incontri .categoria-evento span {color: #989898;}


/* PARTECIPA */
#loop-progetti .cat-progetti-ambiente-ecologia-e-paesaggio {background-color: var(--e-global-color-88cb673);}
#loop-progetti .cat-progetti-spazio-pubblico-qualita-urbana-e-mobilita {background-color: var(--e-global-color-73fc875);}
#loop-progetti .cat-progetti-comunita-partecipazione-ed-innovazione-sociale {background-color: var(--e-global-color-secondary);}
#loop-progetti .cat-progetti-cultura-turismo-ed-economia-territoriale {background-color: var(--e-global-color-521c575);}
#loop-progetti .elementor-pagination {margin-top:50px;}
#loop-progetti .page-numbers {padding-top:4px;}
#label_1_37_1 {padding-bottom:0px !important;}

.page-id-438 .btn-contribuisci {display:none !important;}
.page-id-438.logged-in .btn-accedi {display:none !important;}
.page-id-438.logged-in .btn-contribuisci {display:block !important;}
/*search and filter*/
.searchandfilter ul {display:flex; padding:0; margin-bottom:30px;}
.searchandfilter ul li:nth-child(1) {width:24%; margin-right:1%}
.searchandfilter ul li:nth-child(2) {width:52%; margin-right:1%}
.searchandfilter ul li:nth-child(3) {width:22%;}
.searchandfilter ul li label, .searchandfilter ul li select, .searchandfilter ul li input {width:100%; border-radius:0;}

.single-progetti .mostra-autore .elementor-post-info__item--type-custom {text-transform:capitalize;}


/* NEWS */
.sidebar-news h5 {font-family:'Roboto Condensed', sans-serif; font-weight:700;}
.sidebar-news ul {padding-left:20px; list-style: none;}
.sidebar-news ul li::before {content: "\2022"; font-weight: bold; display: inline-block; width: 1em; margin-left: -1em; color:var(--e-global-color-secondary);}
.sidebar-news ul li a {font-family:'Roboto', sans-serif; color:var(--e-global-color-primary);}
.sidebar-news ul li a:hover {font-family:'Roboto', sans-serif; color:var(--e-global-color-secondary);}
.search-form {display:flex;}
.search-form label {padding-right:10px;}
.search-form .search-field {border-radius:0px;}
.search-form .search-submit {background-color:#F4A41D; border-color:#F4A41D; color:#fff; border-radius:0px; padding:0px 15px; text-transform:uppercase; letter-spacing:3px;}

.news-full-height {height:100% !important;}

.page-id-424 .e-loop-item > .elementor-element, .category .e-loop-item > .elementor-element {height:100%;}


/* WPLIKE */
.wpulike-message {margin-left:50px !important;}
.ulpmodal .ulpmodal-content, input.ulp-button, input.ulp-floating-input {border-radius:0px !important;}
.ulpmodal .titolo-modale-wpulike {text-align: center; font-family: 'Roboto Condensed'; font-weight: 700; text-transform: uppercase; letter-spacing: -2px; margin-bottom: 30px;}
.testo-modale-wpulike a {color:var(--e-global-color-secondary);}
.ulp-logged-in-message a {color:var(--e-global-color-secondary) !important;}
.ulpmodal .ulpmodal-close-icon {background-color:var(--e-global-color-secondary);}

input.ulp-button {white-space: normal !important;}

/* dashboard */
.lista-post-autore {list-style:none !important; padding-left:0 !important;}
.lista-post-autore li {margin-bottom:1em; padding-bottom:15px;}
/* .page-numbers.current {color: #fff; background-color: var(--e-global-color-secondary); border-radius: 100%; width: 35px; height: 35px; display: inline-block; text-align: center; padding-top: 8px;}
.page-numbers {color: #111; background-color: #ddd; border-radius: 100%; width: 35px; height: 35px; display: inline-block; text-align: center; padding-top: 8px;} */

/* profile */
.page-id-94 .wp-block-buttons {justify-content:center; gap:30px;}
.btn-profilo .wp-block-button__link {background-color:var(--e-global-color-secondary); border-radius:0px; font-family: var(--e-global-typography-4215105-font-family), Sans-serif; font-size: var(--e-global-typography-4215105-font-size); font-weight: var(--e-global-typography-4215105-font-weight); line-height: var(--e-global-typography-4215105-line-height); letter-spacing: var(--e-global-typography-4215105-letter-spacing); word-spacing: var(--e-global-typography-4215105-word-spacing);}
.btn-profilo:nth-child(2) .wp-block-button__link {background-color: #999;}
.btn-profilo .wp-block-button__link:hover {background-color:#000; color:#fff;}


/* PROGETTI */
.nascondi-autore {display:none !important;}
.gravity-theme {font-family:'Roboto';}
.gravity-theme input, .gravity-theme textarea, .gravity-theme select {border-radius:0px;}
.gform_heading {display:none !important;}
.gfield {margin-bottom:30px !important;}
.gfield--has-description .gfield_label {margin-bottom:0px !important;}
.gform-field-label {padding-bottom:8px !important;}
.gsection_title {margin-bottom:0px !important; text-transform:uppercase; font-family:'Roboto Condensed'; font-weight:700;}
.gfield_description {margin-top:0px !important; padding-top:0px !important;}
.gform_footer {justify-content:flex-end;}
.gform_button.button {background-color:#F4A41D; border-color:#F4A41D; color:#fff; border-radius:0px; padding:10px 25px; text-transform:uppercase; letter-spacing:5px;}


/* FOOTER */
.contenitore-marker {width:auto; position: fixed; bottom: 40px; right: 40px; z-index: 5;}
.marker-plus {background-color: var(--e-global-color-secondary); color: #fff; border-radius: 100%; text-align: center; width: 60px; height: 60px; box-shadow: 2px 2px 10px #00000054; transition: all 0.3s ease-in; font-size:32px; font-weight:900;}
.marker-plus:hover {transform: scale(1.1); transition: all 0.3s ease-out;}
.marker-plus .fa-plus {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);}

.contenitore-marker .tooltiptext {visibility: hidden; width: 120px; background-color: #dddddd; color: #111; font-family: 'Roboto Condensed'; text-align: center; line-height:18px; padding: 10px 15px; position: absolute; top:0; right:80px; z-index: 1;}
.contenitore-marker:hover .tooltiptext {visibility: visible;}


/* MEDIA QUERIES */
@media screen and (max-width:1024px) {
	/* percorso */
	.meta-eventi .elementor-post-info li:nth-child(1) span, .meta-eventi .elementor-post-info li:nth-child(3) span {font-size:18px; letter-spacing:-2px;}
}

@media screen and (max-width:767px) {
	/* menu */
	.menu-mobile .elementor-nav-menu--dropdown {margin:0 !important;}
	
	/* elementi generali */
	.main-section {padding-left:30px !important; padding-right:30px !important;}
	.main-section-dx {padding-left:30px !important;}
	.main-section:nth-child(1) {word-break:break-word;}
	
	/* partecipa */
	.searchandfilter ul {flex-direction:column; padding-left:30px; padding-right:30px;}
	.searchandfilter ul li {width:100% !important;}
	
	/* percorso */
	.meta-eventi .elementor-post-info li:nth-child(3) {margin-top:-5px;}
	.meta-eventi .elementor-post-info li:nth-child(1) span, .meta-eventi .elementor-post-info li:nth-child(3) span {font-size:28px; letter-spacing:-2px;}
	.meta-eventi .elementor-post-info li:nth-child(2) span {line-height: 60px;}
	
	/* wpulike */
	.ulpmodal-ajax-wrapper.ulpmodal-inner {padding-top:30px !important;}
	
	/* footer */
	.menu-footer .elementor-nav-menu__align-left .elementor-nav-menu--layout-vertical>ul>li>a {justify-content:center;}
}