/*!
Theme Name: Congresso XIX Conaf
Theme URI: https://them.es/starter
Author: HorsaLink
Author URI: https://www.e-lios.eu
Description: Template per il sito del XIX Congresso del Conaf
Version: 3.6.0
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: congresso-xix
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* All */
:root {
	--rosso-scuro: #700A4C;
	--rosso-chiaro: #930956;	
	--border-color-form: #b5d1b5;
	--verde-scuro: #014638;
	--verde-chiaro: #3f6466;
}

@font-face {
	font-family: 'Bodoni';
	src: url('assets/fonts/BodoniModaSC_9pt-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Bodoni semibold';
	src: url('assets/fonts/BodoniModaSC_9pt-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}


.btn-custom{
	background-color: var(--verde-scuro);
	color: #fff;
}
.error404{
	min-height: 500px;
}
.form-control:focus,
.form-select:focus{
	-webkit-box-shadow: 0px 0px 15px 2px rgba(1,70,56,0.7); 
	box-shadow: 0px 0px 15px 2px rgba(1,70,56,0.7);
	border-color: var(--border-color-form);
}

#header .only-mobile{
	display: none;
}
#header .only-desktop{
	display: block;
}
body{
	/*background-color: #f1f1f1 !important;*/
	background-color: #ddd !important;
}

/* Home */
.title-section{
	color: var(--verde-chiaro);
	font-weight: bold;
}

/* Sezione sessioni */
#section-sessioni{
	margin-top: 50px;
	margin-bottom: 50px;
}
#section-sessioni .card-sessione{
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 3px 5px 7px 3px rgba(0, 0, 0, 0.1);
	padding: 20px;
}
#section-sessioni .card-header h2{
	font-weight: bold;
}
#section-sessioni .card-body{
	text-align: center;
	font-size: 13px;
}
#section-sessioni .link-detaglio{
	color: var(--verde-scuro);
	font-weight: bold;
}

/* Header */
#header{
	position: relative;
	padding-top:20px;
	width:100%;
	flex-direction: column;
}
#header.home{
	position: absolute;
	padding-top:20px;
	width:100%;
	flex-direction: column;
	z-index: 2;
}
#header .container-text-iscrizioni{
	font-size: 20px;
}

/* Menu desktop */
#navbar_2_desktop #menu-main-menu-secondario,
#navbar_2_desktop #menu-main-menu-secondario-eg{
	gap: 15px;
}
#header .container-menus{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
#header .container-menus .div-menu-secondario{
	width: fit-content;
	margin-bottom: 5px;
}
#header .container-menus .navbar-menu-principale{
	border-radius: 8px;
	
	font-weight: bold;
	font-size: 20px;
}
#header .container-menus .navbar-menu-principale .nav-link{
	color: var(--verde-scuro);
}
#header .container-menus .navbar-menu-secondario{
	padding-left: 30px;
	padding-right: 10px;
	margin-right: 50px;
	border-radius: 8px;
	font-weight: bold;
	font-size: 20px;
}
#header #navbar_1_desktop #menu-main-menu,
#header #navbar_1_desktop #menu-main-menu-eg{
	justify-content: space-evenly;
}
#header #navbar_1_desktop #menu-main-menu .lang-item a,
#header #navbar_1_desktop #menu-main-menu-eg .lang-item a{
	display: flex;
	align-items: center;
	height: 100%;
}
#header .container-menus .navbar-menu-secondario .container-menu-secondario{
	width: 100%;
	justify-content: end;
}
/* End menu desktop */

#header .container-text-iscrizioni-mobile{
	display:none;
}
#header .navbar-brand img{
	height: 100px;
	filter: drop-shadow(0 0 0 white) drop-shadow(-1px 0 0 white) drop-shadow(1px 0 0 white) drop-shadow(0 -1px 0 white) drop-shadow(0 1px 0 white);
}
#header .container-text-iscrizioni-desktop{
	display: flex;
	justify-content: center;
	font-weight: bold;
}
#header .container-text-iscrizioni-desktop a{
	color: #000;
	text-decoration: none;
	font-size: 2rem;
	font-weight: bold;
	text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

/* Header image */
#section-img-header{
	display: flex;position:relative;
	flex-direction: column;
	background-position: center center, center -40px;
	justify-content: center;
	align-items: center;
	color: #fff;
	text-align: center;
	width: 100%;
	height: 80vh;
	background-size: cover;
}
#section-img-header .background-foglie{
	width: 100%;
	bottom:0px;
	position: absolute;
    height: 100px;
    background-size: contain;
	background-repeat: repeat-x;
	
}
#section-img-header .text-prima-riga{
	font-size: 5.5rem;
	font-family: 'Bodoni', sans-serif;
	text-shadow:0px 0px 4px #000;
}
#section-img-header .text-seconda-riga{
	font-size: 4rem;
	font-family: 'Bodoni semibold', sans-serif;
	font-weight: 600;
}

.darken-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.darken-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* modifica l'opacità qui */
    z-index: 2;
}

.darken-bg > * {
    position: relative;
    z-index: 3; /* contenuti sopra l'overlay */
}

/* Section title site home */
#section-title-site .title-site{
	font-size: 2.4rem;
	color: var(--verde-scuro);
	font-weight: bold;
}

/* Section home pdf */
#section-contentpdf img{
	width:100%;
}
#section-contentpdf .link-pdf-item{
	background-color: var(--verde-chiaro);
	color:#fff;
	padding: 10px 20px;
	font-weight: bold;
	border-radius: 8px;
}
/* Section content programma */
#section-content-programma .container-quando,
#section-content-programma .container-dove{
	width: fit-content;
	font-size: 2rem;
}
#section-content-programma .container-dove a{
	color: #000;
}

/* Pagina programma */
#page-programma{
	min-height: 550px;
}
#page-programma .box-giorno-programma-lv1{
	text-align: center;
	background-color: var(--verde-scuro);
	color:#fff;
	font-weight: bold;
	width: fit-content;
	border-radius: 5px;
	padding: 10px 30px;
	font-size: 1.3rem;
}
#page-programma .box-giorno-programma-lv1 a{
	color: #fff;
}
#page-programma .box-giorno-programma-lv2 a{
	color: #000;
	font-weight: bold;
}
#page-programma .box-giorno-programma-lv2 .title-people-programma{
	font-weight: bold;
	color: var(--verde-scuro);
}
#page-programma .box-giorno-programma-lv2 .immagine-box-programma{
	min-height: 60px;
} 
/* Pagina relatori */
#page-relatori .box-single-persona{
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	padding: 20px;
	margin-bottom: 20px;
	text-align: center;

}
#page-relatori .img-avatar{
	border-radius: 50%;
	border: 1px solid #000;
	width: 150px;
	height: 150px;
	object-fit: cover;
	object-position: top;	
}
#page-relatori .btn-custom{
	border:2px solid #fff
}
#page-relatori .btn-custom:hover{
	border:2px solid var(--verde-scuro);
	font-weight: bold;
}

/* Section social */
#section-social .btn-social{
	color: #000;
}
#section-social h2{
	font-size: 1.9rem;
}
#section-social .container-social a{
	padding: 0px 20px;
	font-size: 1.4rem;
}

/* Section link utili */
#section-linkutili .box-link-utili{
	margin: 10px 0px;
}
#section-linkutili .link-utili-item{
	width: 100%;
	display: block;
	padding: 15px 20px;
	text-align: center;
	background-color: var(--verde-chiaro);
	color: #fff;
	border-radius: 8px;
	font-weight: bold;
}
#section-linkutili .link-utili-item i{
	padding-right: 10px;
}

/* Footer */
#footer{
	background-color: #202A2E;
	color: #fff;
}
#footer .title-blog-footer{
	font-size: 2rem;
}
#footer .riga-logo-testo{
	align-items: center;
}
#footer .riga-logo-testo a{
	color: #fff;
	width: fit-content;
}
#footer .riga-logo-testo img {
	filter: brightness(1000%) grayscale(100%);
	opacity: 1;
	height: 65px;
}

/* Breadcrumbs */
.breadcrumb {
	font-size: 14px;
	margin-bottom: 20px;
}
  
.breadcrumb a {
	color: var(--verde-scuro);
	text-decoration: none;
	font-weight: bold;
}
  
.breadcrumb a:hover {
	text-decoration: underline;
}
  
.breadcrumb span {
	color: #555;
}

/* Single */
.entry-meta a{
	color: var(--verde-scuro);
}

/* Archive categorie */
.archive-category a{
	color: var(--verde-scuro);
}
.archive-category .link-detaglio{
	font-weight: bold;
}
.archive-category .card-custom{
	border-radius: 8px;
	box-shadow: 5px 6px 4px rgba(0, 0, 0, 0.1)
}

/* Single persona */
#container-persona .persona-avatar{
	text-align: center;
}
#container-persona .persona-avatar img{
	border-radius: 50%;
	width: 350px;
	height: 350px;
	object-fit: cover;
	margin-bottom: 20px;	
	object-position: top;
}
#container-persona .ruolo-persona{
	font-size: 1.3rem;
}
#container-persona .ruolo-persona .item-tipologia-persona{
	font-weight: 600;
	color: var(--verde-scuro);
}
#container-persona .box-persona{
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 4px 7px 4px rgba(0, 0, 0, 0.1);
	padding: 15px;
	text-align: center;
}
#container-persona .box-persona a{
	color: #000;
	font-size: 1.2rem;
	font-weight: 600;
}

/* Programma */
.evento-programma{
	padding: 20px;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 4px 7px 4px rgba(0, 0, 0, 0.1);
}
.evento-programma .giorno-evento{
	color: var(--verde-chiaro);
	font-weight: bold;
}
.evento-programma .ora-evento{
	font-weight: bold;
}
.evento-programma .titolo-evento{
	font-weight: bold;
	font-size: 1.2rem;
}
.evento-programma .img-coordinatore{
	max-height: 60px;
	border-radius: 50%;
}
#page-programma a.btn-custom{
	color: #fff;
	border: 2px solid var(--verde-scuro)
}
#page-programma a.btn-custom:hover{
	background-color: #fff;
	color: #000;
}

/* Pagina sessioni */
#archive-sessioni .box-single-sessione{
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 4px 7px 4px rgba(0, 0, 0, 0.1);
	padding: 20px;
	text-align: center;
}
#archive-sessioni .box-single-sessione img{
	width: 100%;	
}
#archive-sessioni .box-single-sessione .btn-custom{
	border: 2px solid #fff;
}
#archive-sessioni .box-single-sessione .btn-custom:hover{
	border: 2px solid var(--verde-scuro);
	font-weight: 600;
}

/* Pagina Patrocini e Sponsor */
#archive-sponsorPatrocini .box-livello-sponsor{
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 4px 7px 4px rgba(0, 0, 0, 0.1);
	padding: 20px;
	text-align: center;
	margin-bottom: 20px;
	justify-content: center;	
}
#archive-sponsorPatrocini .box-livello-sponsor .icona-platino{
	color: var(--verde-scuro);
}
#archive-sponsorPatrocini .box-livello-sponsor .icona-oro{
	color: #AF9E00;
}
#archive-sponsorPatrocini .box-livello-sponsor .icona-argento{
	color: #808080;
}
#archive-sponsorPatrocini .box-livello-sponsor .icona-bronzo{
	color: #AF7E00;
}
#archive-sponsorPatrocini .box-livello-sponsor h2{
	margin-bottom: 1.3rem;
}
#archive-sponsorPatrocini .box-livello-sponsor .box-sponsor img{
	max-height: 100px;
}

/* Immagine footer */
#section-img-footer{
	background-size: cover;
    background-position:center;
    background-repeat:no-repeat;
	height: 500px
}

/* Single sessione e tavolo */
#single-sessione .entry-meta{
	font-size: 1.2rem;
}
#single-sessione .tipologia-single-sessione{
	font-weight: bold;
	color: var(--verde-chiaro);
	display: block;
}
#single-sessione .entry-content h2{
	text-align: center;
	color: var(--verde-scuro);
	font-weight: bold;
}
#single-sessione .list-persone{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 20px;
	margin-bottom: 20px;
}
#single-sessione .list-persone img{
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 50%;
	margin-right: 15px;
	object-position: top;
}
#single-sessione .list-persone .box-persona{
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 4px 7px 4px rgba(0, 0, 0, 0.1);
	padding: 10px;
	text-align: center;
}
#single-sessione .list-persone .box-persona a{
	color: #000;
	font-weight: 600;
}
#single-sessione .list-unstyled{
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
}
#single-sessione .box-single-documento{
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 4px 7px 4px rgba(0, 0, 0, 0.1);
	padding: 20px;
	text-align: center;
}
#single-sessione .box-single-documento a{
	color: var(--verde-scuro);
	font-weight: bold;
}

/* Sezione patrocini */
#section-patrocini .btn-patrocinio.btn-patrocinio-img{
	height: 170px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* MEDIA */
.collapse:not(.show) {
    display: none;
}

@media(max-width: 991px){
	#section-img-header{height: 70vh;background-position: center center, center 0px;}
	#section-social .riga-social{
		flex-wrap: wrap;
	}
	#section-social .riga-social h2{
		width: 100%;
		text-align: center;
	}
}
@media(min-width:992px){
	/*@keyframes fadeUp {
		0% {
		  opacity: 0.1;
		  transform: translateY(140px);
		}
		100% {
		  opacity: 1;
		  transform: translateY(0);
		}
	}
	@keyframes fadeRight {
		0% {
		  opacity: 0.1;
		  transform: translateX(-140px);
		}
		100% {
		  opacity: 1;
		  transform: translateX(0);
		}
	}
	.animate-right{
		animation: fadeRight 0.9s ease-out forwards;
	}	  
	.animate-up {
		animation: fadeUp 0.9s ease-out forwards;
	}*/
	.container-page{
		min-height: 500px;
	}
	#container-persona .entry-content{
		display: flex;
		flex-wrap: wrap;
	}
	#container-persona .entry-content .persona-avatar img{
		width: 100%;
		height: 350px;
		border-radius: 10px;
		box-shadow: 7px 10px 14px -2px rgba(0,0,0,0.57);
	}
	#container-persona .entry-content .descrizione-persona{
		padding: 0px 30px;
	} 
}
@media(max-width: 767px){
	#footer .riga-logo-testo{
		flex-direction: column;
	}
	#footer .riga-logo-testo .title-blog-footer{
		font-size: 1.2rem;
		padding-top: 10px;
		text-align: center;
	}
	.text-prima-riga{font-size: 3rem !important;}
	#section-img-header{height: 55vh;background-position: center center, center 0px;}
	#header .container-text-iscrizioni-mobile{
		display: flex;
		justify-content: center;
		font-weight: bold;
		font-size:1.5rem;
	}
	#header .container-text-iscrizioni-mobile a{
		color: #000;
		text-decoration: none;
		text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
	}
	#header .container-text-iscrizioni-desktop{
		display:none;
	}
	#header .only-desktop{
		display: none;
	}
	#header .only-mobile{
		display: block;
	}
	#header .container-menus-m .navbar-toggler{
		border:0px;
		font-size: 1.8rem;
	}
	.home #header .container-menus-m .navbar-toggler{
		color: #fff;
	}
	#header .container-menus-m .navbar-collapse-mobile{
		position: fixed;
		top: 0;
		left: 22%;
		width: 80%;
		height: 100%;
		background-color: #fff;
		color: #000;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		transition: left 0.3s cubic-bezier(0.1, 0.47, 0.58, 1);
		z-index: 9999;
		border-left: 2px solid #ccc;
		overflow: scroll;
	}
	#header .navbar-brand img{
		height: 70px;
	}
	#header .container-menus-m .navbar-collapse-mobile:not(.show) {
        left: 100%;
	}
	#header .container-menus-m .close-icon {
        display: block;
        position: absolute;
        top: 50px;
        right: 5%;
        font-size: 2rem;
        cursor: pointer;
    }
	#header .container-menus-m .close-icon i{
		color:#000
	}
	#header .container-menus-m .menu-uno-mobile{
		margin-top: 100px;
		margin-left: 15px;
		border-bottom: 2px solid #7f7f7f;
		width: 80%;
		padding-bottom: 10px;
	}
	#header .container-menus-m .menu-due-mobile{
		margin-top: 15px;
		margin-left: 15px;
		width: 80%;
	}
	#section-img-header .background-foglie{		
		width: 100%;	
		height: 70px;	
	}
	#section-img-footer{
		height: 200px;
	}
}
	
