/*
Theme Name: UDesign Child
Theme URI: https://d-themes.com/wordpress/udesign/envato-market/
Author: Andon
Author URI: https://1.envato.market/OdObz
Description: A slick, powerful and clean theme UDesign provides an intuitive set of options to help you setup your WordPress site quickly and effectively. Flexibility is key and it has been optimized for SEO and speed. It is also responsive &amp; mobile ready should you choose that option. The UDesign theme features include: unlimited colors, widgetized home page, over 600 fonts to choose from, WooCommerce Integration, it is also translation and multilingual ready, step by step documentation, exclusive UDesign support forum and a helpful community. Always up-to-date security and many new features are constantly added as the theme evolves.
Version: 1.0
Template: u-design
License: GNU General Public License v2 and ThemeForest license
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, responsive, one-column, two-columns, three-columns, four-columns, full-width-template, left-sidebar, right-sidebar, custom-menu, custom-background, custom-colors, custom-header, custom-logo, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready

*/
@font-face {
    font-family: "Camper Script 3 W00 Regular";
    src: url("https://db.onlinewebfonts.com/t/323d1f71c3a60cab9b988a7550c904da.eot");
    src: url("https://db.onlinewebfonts.com/t/323d1f71c3a60cab9b988a7550c904da.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/323d1f71c3a60cab9b988a7550c904da.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/323d1f71c3a60cab9b988a7550c904da.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/323d1f71c3a60cab9b988a7550c904da.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/323d1f71c3a60cab9b988a7550c904da.svg#Camper Script 3 W00 Regular")format("svg");
}

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/****HOMEPAGE*******/
.blog-home-evidenza .post-title, .blog-home-volontariato .post-title{    
	color: black;
    font-family: 'Neuton';
    font-size: 23px;
	height:60px;
}
.blog-home-evidenza a.post-calendar {
    box-shadow: 1px 1px 2px 1px #5b5b5b;
}

/*.blog-home-news-csv h3.elementor-post__title{height:60px;}*/
.blog-home-news-csv h3.elementor-post__title{margin-bottom:11px !important;}
.blog-home-news-csv nav.elementor-pagination{margin-top:20px}
.blog-home-news-csv .elementor-post__text{margin-top:8px !important}

.blog-home-news .post-calendar{ color: white; background: #008542;}
.blog-home-news .post-media img{height: 223px;}
.blog-home-news .post-details, .blog-home-evidenza .post-details, .blog-home-volontariato .post-details {background-color:#f6f6f6}

.blog-home-evidenza .post-media img, .blog-home-volontariato .post-media img{height: 223px;}

.blog-home-volontariato .post-wrap{margin-bottom:0px !important}
.blog-home-volontariato .posts.slider-wrapper.posts {height: 490px !important;}
.blog-home-volontariato .post-wrap .post-cats a {background:#fb7604;}
div.post-cats-date {background:#fb7604;}

.blog-home-news-csv-mobile .post-title{
	color:black !important;
	font-size:23px;}
.blog-home-news-csv-mobile .post-cats a {background:#fb7604 !important;}
.blog-home-news-csv-mobile .post-cats :not(:last-child){display:none !important;}

.blog-home-news-csv-mobile div.post-details  {padding-left:27px; padding-right:27px;}
/*.blog-home-news-csv-mobile div.post-content {padding-left:30px; padding-right:30px;}*/
/*
.post-wrap .post-cats a{background-color: #fb7604 !important;}*/

.blog-home-miniature .cs-small-featured-image img{height:113px}

.blog-home-webtv .post-title{    
	color: black;
    font-family: 'Neuton';
    font-size: 23px;
	height:60px;
}

.home a.vote-link.like{display:none}

.slider-home-articoli .cs-featured-image {
    max-height: 750px !important;
}
.elementor-post__badge {
    background-color: #fb7604 !important;
}

/***HEADER*****/
.search-header .search-wrapper form:first-child{border-bottom:1px solid #43a373 !important}

.mycsv {
	padding: 7px;
    background-color: #096738;
}

/*******CATEGORIA BLOG*****/
.articoli-evidenza-archive .post-details{background-color:#eee}
.articoli-evidenza-archive .post-title{    
	color: black;
    font-family: 'Neuton';
    font-size: 23px;
	height:60px;
}
.articoli-evidenza-archive a.vote-link.like{display:none}
.articoli-evidenza-archive .post-cats>a{background-color: #fb7604 !important;}
.articoli-evidenza-archive .pagination.pagination-load{display:none}

.breadcrumb-divider-active .breadcrumb {
    border-bottom: unset !important;
}
.blog-categoria-lista .post-title{    
	color: black;
    font-family: 'Neuton';
}

.articoli-evidenza-archive .post-media img{height: 223px; object-fit: cover;}


.articoli-evidenza-archive .alpha-tb-item { display: none;}
.articoli-evidenza-archive .alpha-tb-item:nth-child(-n+2) { display: block;}


.lista-articoli-archivio .alpha-tb-item { display: none;}
.lista-articoli-archivio .alpha-tb-item:nth-child(n+3) { display: block;}

.lista-articoli-archivio-web .post-details .post-content,.lista-articoli-archivio-web .post-details .post-meta {display:none;}
.lista-articoli-archivio-web h3.post-title {color: black;}
.lista-articoli-archivio-web .csv-video-archive-preview {
    transform: matrix(1, 0, 0, 1, 0, -53);
    height: 158px;
}

.cs_8-img-box{min-he}


/***SIDEBAR***/
nav#text-2 h3.widget-title {
    font-family: 'Poppins';
    text-transform: uppercase;
    border-bottom: 1px solid black;
	padding-bottom: 0px;
}

nav#posts-widget-2 h3.widget-title {
	font-family: 'Poppins';
    text-transform: uppercase;
	padding-top: 10px;
}

/*Staff*/
.slider-staff .post-media a{
	pointer-events: none;
	cursor: default;
}
.slider-staff .slider-slide {
    /*flex: 0 0 25%;*/
    padding: 10px;
}
.slider-staff .post-details {padding: 2.1rem 0 2.9rem;}


.slider-staff .post-title {color:black;}	

/***CONTATTI****/
.form-contatti input#form-field-field_103c6fc{border-width: 1px 1px 1px 1px;}

/******SINGOLO ARTICOLO****/
.single-post section.related-posts.slider-relative .post-content{display:none}
.single-post section.related-posts.slider-relative .post-media img{height:165px}
.single-post section.related-posts.slider-relative a.vote-link.like{display:none}

/*****PROGETTI****/
.progetti h3.post-title{color: black !important}
.progetti .udesign_portfolio.type-udesign_portfolio{
	--background-transition: 0.3s;
    --border-radius: 1rem 1rem 1rem 1rem;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}
.progetti .portfolio-default .post-details {
    padding: 3rem;
}
.portfolio-single.row .post-title{color:black !important}
/*
.sezione-progetti figure.post-media {max-height: 180px !important;}*/

/*archivio*/
.progetti-archivio .post-cats{display:none;}
.progetti-archivio h3.post-title{color: black !important}
.progetti-archivio img.attachment-medium.size-medium.wp-post-image {min-height: 290px !important;}
.progetti-archivio a.vote-link{display:none;}

/***CHECKBOX SINGOLO PROGETTO ****/

input#form-field-field_103c6fc {
    border-width: 1px;
    margin-right: 10px;
}

.page-id-65592 h3.post-title {
    height: 61px!important;
}

/*STAFF*/

.staff-container h3.post-title {
    color: black;
}

/*blocco progetti in home*/
.progetti-container h3.post-title {
    color: black;
}

.progetti-container .post-details {
    padding-left:30px !important;
    padding-right: 30px !important;
}

/*copertina HOME  testi
.page-id-64498 .title.elementor-heading-title {
    color: white !important;
}*/
span.alpha-tb-meta.tb-meta-published_date.alpha-gb-7c1fcf36093c03520d161b62141375f5 {
    color: white;
}

.copertina-home a.btn.btn-link.btn-white.btn-icon.btn-icon-right {
    position: relative;
    text-decoration: none; 
    display: inline-block; 
}

.copertina-home a.btn.btn-link.btn-white.btn-icon.btn-icon-right::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; 
    width: 0;
    height: 2px; 
    background-color: currentColor; 
    transition: width 1s ease; 
}

.copertina-home a.btn.btn-link.btn-white.btn-icon.btn-icon-right:hover::after {
    width: 100%; 
}


/*SERVIZI*/
/*desktop*/
.box-servizi .image-box.image-box-card.image-box-gallery {
    max-height: 360px;
}

.box-servizi figure:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); 
  transition: background-color 0.4s ease; 
}


.box-servizi .image-box-card img {
  transition: transform 0.4s, filter 0.4s ease;
  filter: brightness(50%); 
}


.box-servizi .image-box-card:hover img {
  filter: brightness(30%); 
}

.box-servizi .image-box-card:hover figure:before {
  background-color: rgba(0, 0, 0, 1); 
}



/*servizi Servizio civile*/
.servizio-civile-servizi h3.post-title {
    color: black;
}

.servizio-civile-servizi div.post-meta {
    display:none;
}
.servizio-civile-servizi h3.post-title {
    color: black;
}

.servizio-civile-servizi img.attachment-alpha-thumb-custom-3.size-alpha-thumb-custom-3.wp-post-image {
    min-height: 285.94px;
}
 /*Nascondi i post scaduti 
.post-scaduto,
.post-scaduto .post-wrap {
   display:none !important;  
}*/

.sezione-contatti a{
            color: black!important; /* Colore arancione */
            text-decoration: none; /* Rimuove la sottolineatura */
        }
       
.sezione-contatti a:hover {
            text-decoration: underline; /* Aggiunge la sottolineatura al passaggio del mouse */
        }


/*contact form*/
.cta-servizi label {font-size: 11px;}	
.form-contatti label{font-size:11px;}	
/*Newsletter*/
.modulo_newsletter .elementor-field-subgroup {
    width: 70%;
}

.modulo_newsletter input#form-field-field_feb4cc4 {
    border: 1px solid;
    height: 15px;
    width: 15px;
    margin-right: 5px;
}
.modulo_newsletter label {
    font-size: 11px !important;
	width:50%;
}	


/*widget*/
button.btn-widget {
    padding: 10px;
    background-color: #008542;
    /* color: white; */
    border: none;
border-radius: 5px;
}	
button.btn-widget a{
	color:white !important;
}	

.month-group h3 {margin-bottom: 6px;}
button#load-more-months {color: white; margin-top:20px;}
button.btn-widget:hover{background-color:#fb7604;}
button.btn-widget a:hover{color:white;}

@media screen and (max-width:767px){
	.staff-dimensioni .elementor-element.elementor-element-b940298.e-con-full.e-flex.e-con.e-child {
    width: 100%;
}
.staff-dimensioni .elementor-element.elementor-element-9d2a36d.e-con-full.e-flex.e-con.e-child {
    width: 100%;
}
.blog-home-news-csv-mobile .post-media img{
	height:250px;
	object-fit:cover;
	
}
.modulo_newsletter .elementor-field-subgroup {
    width:100%;
}

.copertina-home .cs-main-featured-image img {
    width: 100%;
    height: 50vh !important;
    object-fit: cover;
}
/*
.mobile-menu-wrapper.mobile-menu-dark .search-wrapper.hs-simple {
  pointer-events: none !important;
  display: none !important;
}
*/




}


@media screen and (max-width: 576px){
.slider-staff .slider-slide {
    flex: 0 0 100%;
    padding: 10px;
}	

.box-servizi .image-box.image-box-card.image-box-gallery {
    max-height: 450px;
}

}		


.archive-sidebar {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.archive-sidebar h3 {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.archive-sidebar ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.archive-sidebar ul li {
    margin-bottom: 10px;
}

.archive-sidebar ul li a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.archive-sidebar ul li a:hover {
    color: #0056b3;
}

.archive-year-navigation {
    margin-top: 20px;
}

.archive-year-navigation h4 {
    font-size: 1em;
    margin-bottom: 10px;
}

#archive-year-select {
    width: 100%;
    padding: 5px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.tasto-mycsv .btn .btn-md{
padding:7px 17px 7px 17px !Important;
}

ol.flex-control-nav.flex-control-paging {
    display: none;
}

/* ==========================================================
   Sfondo sezione sincronizzato con MetaSlider #91145
   ========================================================== */

.csv-hero-bg {
    background-size: cover !important;
    background-position: center !important;
    transition: background-image .8s ease;
}

/* Velo bianco sfocato sopra l'immagine di sfondo */
.csv-hero-bg::before,
.csv-hero-bg > .elementor-background-overlay {
    content: "" !important;
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, .6) !important;
    background-image: none !important;
    opacity: 1 !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

/* ==========================================================
   Mobile: solo slider a tutta larghezza
   ========================================================== */
@media (max-width: 767px) {

    .csv-hero-bg {
        background: none !important;
        padding: 0 !important;
        margin: 0 !important;
        min-height: 0 !important;
    }

    .csv-hero-bg::before,
    .csv-hero-bg > .elementor-background-overlay {
        display: none !important;
    }

    .csv-hero-bg > .e-con-inner,
    .csv-hero-bg .elementor-container,
    .csv-hero-bg .elementor-column,
    .csv-hero-bg .elementor-widget-wrap {
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .csv-hero-bg .elementor-widget,
    .csv-hero-bg .elementor-widget-container {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    #metaslider-id-91145,
    #metaslider_91145 {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }
}
article:not(.has-post-thumbnail):not(.format-video) figure.post-media {
    display: none;
}

.nascondi-immagine figure.post-media {
    display: none !important;
}