/*
 Theme Name: Twenty Seventeen Child
 Theme URI: https://example.com/twentyseventeen-child
 Description: Child theme di Twenty Seventeen
 Author: Pietro
 Author URI: https://example.com
 Template: twentyseventeen
 Version: 1.0.0
 Text Domain: twentyseventeen-child
*/

/* Le tue personalizzazioni CSS da qui in giù */

/* Header immagine uguale ovunque (tranne pagina 783) */
.custom-header-media:not(.page-id-783 .custom-header-media) {
    background-image: url("https://internationalconference.adapt.it/wp-content/uploads/2026/01/homepage_2025-2.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 400px; /* altezza minima, adatta se serve */
}

/* Nasconde l'oscuramento di default di twentyseventeenn per header image non in home*/
.custom-header-media:before {
    background: none !important;
    content: none !important;
}

/* Nasconde le Featured Image vecchie sulle altre pagine */
body:not(.home) .custom-header-media img,
body:not(.page-id-783) .custom-header-media img {
    display: none !important;
}

/* Classe che nasconde la sottolineatura hover dei link (anche su immagini), usata per pagina supporters*/
.rimuovi-sottolineatura-link .elementor-clickable,
.rimuovi-sottolineatura-link a {
    box-shadow: none !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Rende rosso pallido il bottone del menu cliccato per ultimo*/
.navigation-top .current-menu-item > a,
.navigation-top .current_page_item > a,
.navigation-top .current-menu-ancestor > a {
    color: #cc0000 !important;
}

/* Gradiente colore footer + testo bianco*/
.site-footer {
    background: linear-gradient(155deg, #1E2F48 0%, #1E2F48 30%, #cc0000 100%) !important;
}

.site-footer *,
.site-footer a {
    color: #ffffff !important;
}

/* Aggiunge un effetto fade-in per tutte le pagine onload*/
*, *:before, *:after {
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0.9; }
    to { opacity: 1; }
}

/* Stile per aggiungere blocco invisibile cliccabile sovrapposto all immagine copertina non home, 
funziona in sincronia con una funzione in functions.php*/
.custom-header {
    position: relative !important;
}
#header-home-overlay {
    cursor: pointer !important;
}
#header-home-overlay:hover {
    background: rgba(255,255,255,0.1) !important;
}
.custom-header {
    position: relative !important;
}


    
.site-branding {
    height: 500px;
}

@media screen and (min-width: 800px) {

 .main-navigation ul {
text-align: center;
}
.main-navigation ul li {
display: inline-block;
float: none;
	text-align: left;
}
}

@media screen and (max-width: 767px) 
{
		.site-branding{
	display:none;
}
	.custom-header-media {
		height: 50vw !important;
	}
	
	.has-header-image.twentyseventeen-front-page .custom-header, .has-header-video.twentyseventeen-front-page .custom-header, .has-header-image.home.blog .custom-header, .has-header-video.home.blog .custom-header {
		height: 50vw;
	}
	.logged-in .wp-custom-header img {
		margin-top: 32px;
	}
	.has-header-image .custom-header-media img, .has-header-video .custom-header-media video, .has-header-video .custom-header-media iframe, .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
  object-fit: initial;
  width: 100%;
  height: auto;
  display: block;
  min-width: initial;
  min-height: initial;
}
.custom-header-media {
	padding-top:100px;
  height: 50vw !important;
	display:none;
}
	
}
.widget-area{
	display:flex;
	flex-direction:column;
		justify-content:center;
	align-items:center;
	white-space: nowrap;
	height:15vh;
	padding-top:100px;
}
#block-3{
	padding-top:13vh;
}
.site-footer{
	display:flex;
	flex-direction:row;
	justify-content:center;
	align-items:center;
}
.site-info{
	display:none;
}
.social-links-menu{
	display:flex;
	flex-direction:row;
}



.page-id-783 .custom-header-media{
	display:block;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search{
	margin-top:-150px;
}

.tribe-events-calendar-day__event-title-link{
	font-size:22px;
	font-weight:700;
}

.tribe-events-single-event-title{
		font-size:26px;
	font-weight:700;
}
.tribe-events-single{
	margin-top:-70px;
}

