/*
 * Theme Name: Blu come l'Abruzzo
 * Description: Starter Theme to use with Timber
 * Author: MS3
*/

html{scroll-behavior: smooth;}

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: #133452;
}

.combo{font-family: "Combo", system-ui;}

.separatore{width: 100%; height: 1px; background-color: #fff;}

.dark_filter{width: 100%; height: 100%; background: linear-gradient(0deg,rgba(19, 52, 82, 1) 0%, rgba(19, 52, 82, 0) 100%);}

.absolute{position: absolute;}
.fixed{position: fixed;}
.relative {position: relative;}

h1{font-size: 32px; line-height: 34px; font-family: "Combo", system-ui;}
h2{font-size: 28px; line-height: 30px; font-family: "Combo", system-ui;}
h3{font-size: 22px;}
h4{font-size: 18px;}

a, a:hover, a:visited{text-decoration: none; color: #0073A1;}
.bg_ottanio a, .bg_ottanio a:hover, .bg_ottanio a:visited{color:#C8D9E4;}

.testo_bianco{color:#ffffff;}
.testo_blu{color:#133452;}
.testo_ottanio{color:#0073A1;}
.testo_zucchero{color:#C8D9E4;}
.testo_rosa{color:#F3EFEC;}

.mini_text{font-size:10px;}
.testo_copy{font-size: 18px; font-weight: 20px;}
.testo_mid{font-size: 22px; font-weight: 24px;}
.testo_big{font-size: 32px; font-weight: 34px;}
.titolo_sezione{font-size: 70px; line-height: 74px; font-family: "Combo", system-ui;}
.titolo_pagina_big{font-size: 110px; line-height: 114px; font-family: "Combo", system-ui;}

.bg{background-size: cover; background-repeat: no-repeat; background-position: center;}
.hometop .bg{background-position: top;}

.bg_bianco{background-color: #fff;}
.bg_blu{background-color:#133452; color:#fff;}
.bg_ottanio{background-color:#0073A1; color:#fff;}
.bg_zucchero{background-color:#C8D9E4;}
.bg_rosa{background-color:#F3EFEC;}
.bg_sabbia{background-color:#FDE1BC;}

.circle{border-radius: 50%;}
.bordered{border: 5px solid #fff;}

.up{transform: translateY(-1px);}

.btn {
    border-radius: 50px;
    border: 1px solid #fff;
    text-transform: uppercase;
    padding: 8px 30px;
    color:#fff;
    background-color: #133452;
    font-weight: 700;
}
.btn:hover{background-color: #0073A1; color:#fff;}
.btn:active, .btn:focus{outline: none;box-shadow: none;}

.btn-bianco{background-color: #ffffff; color: #133452; border:1px solid #133452;}
.btn-zucchero{background-color: #C8D9E4; color: #133452;}

.btn-mini{font-size: 13px; line-height: 14px;}

.uppercase {text-transform: uppercase;}
.italic {font-style: italic;}

.light {font-weight: 300;}
.regular {font-weight: 400;}
.medium {font-weight: 500;}
.semibold {font-weight: 600;}
.bold {font-weight: 700;}
.extrabold {font-weight: 800;}
.black {font-weight: 900;}

.overflow-h{overflow: hidden;}

header{width: 100%; top:0; background-color: transparent; position: fixed; z-index:101; height: 92px;}
.mainmenu_div{border:1px solid #fff; border-radius: 50px;}

header.sticky{transition: max-height 0.3s ease-out;}
.header.sticky .mainmenu_div{background-color: rgba(255, 255, 255, 0.5); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);}
header.sticky .logo{transition: width 0.3s ease-out;}

header ul{list-style: none; padding-left: 0; margin-bottom: 0;}
header li{display: inline-block; margin-right: 35px; letter-spacing: 7%;}
header li:last-child{margin-right: 0;}
header a, header a:visited{color:#fff; font-size: 16px; line-height: 18px; font-weight: 600; text-transform: uppercase;}
.header.sticky a{color:#133452;}
.current_page_item a, .current_page_item a:visited{color: #0073A1;}

/*
.home .header .logo_menu{display: none;}
.home .header.sticky .logo_menu{display: block;}
 */

/* Stato iniziale */
.logo_bianco,
.logo_blu {
    display: none;
}

/* Homepage in alto: nessun logo */
.home .logo_bianco,
.home .logo_blu {
    display: none;
}

/* Homepage scrollata: logo blu */
.home .header.sticky .logo_blu {
    display: block;
}

/* Pagine interne in alto: logo bianco */
body:not(.home) .logo_bianco {
    display: block;
}

/* Pagine interne scrollate: logo blu */
body:not(.home) .header.sticky .logo_bianco {
    display: none;
}

body:not(.home) .header.sticky .logo_blu {
    display: block;
}

/*
.logo_blu{display: none;}
.home .header .logo_blu{display: block;}

.logo_bianco{display: block;}
.home .header.sticky .logo_bianco{display: none;}
 */

header.sticky{
    position:fixed;
    left:0;
    transform: translateY(0);
}
header:not(.sticky){
    transform: translateY(0);
}

.header .current_page_item{font-weight: bold;}

.icone_menu img{height: 24px; cursor: pointer;}

.bg_menu{height: 100vh; width: 100%; right: 0; z-index: -1;}

.mega-menu ul{list-style: none; font-size: 1.3rem; line-height: 2.3rem;}
.mega-menu a{color:#fff;}
.mega-menu nav{margin-top: 100px;}

.mega-menu {
    transition: .3s ease-in-out;
    position: fixed;
    padding-bottom: 78px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    opacity: 0;
    display: none;
    overflow-y: auto;

    text-align: right;
}
.mega-menu nav {
    padding-top: 70px;
}
.mega-menu.reveal {
    opacity: 1;
    background:#0B1B32;
}

.footer{font-size:12px; background-position: top right;}
.footer .social_footer{list-style: none;}
.footer .social_footer li{display: inline-block; margin-right: 5px;}
.footer .social_footer li:last-child{margin-right: 0;}
.footer a, .footer .titolo_menu{color:#fff; font-size: 22px; line-height: 24px; font-weight: 700;}
.footer ul{list-style: none; padding-left: 0;}
.footer ul li, .footer .titolo_menu{margin-bottom: 20px;}
.footer a.pp_link{font-size: 18px; font-weight: 400;}

.progetto_overline{bottom:10%; left:0; right: 0; z-index: 1;}
.progetto_overline_mobile{transform: translateY(-2px)}
.descrizione_sezione{font-size: 21px; line-height: 23px;}
.hometop{
    position: relative;
    z-index: 1;
}

.hometop_onde_sabbia{
    position: relative;
    margin-top: -75px;
    z-index: 2;
}

.card_evento{box-shadow: 5px 5px 15px #D0D0D0; border-radius: 30px; overflow: hidden;}
.ricette_correlate .card_evento{box-shadow: 5px 5px 15px #0B1B32;}
.card_evento .evento_foto{height: 250px;}
.evento_tipologia{text-transform: uppercase; font-weight: 500; font-size: 14px;}
.evento_tipologia span{border-radius: 50px; padding:6px 10px; background-color: #C8D9E4;}
.evento_data{font-weight: 500; font-size: 14px;}
.evento_titolo{font-size: 28px; line-height: 30px;}

.ricette .card_evento{box-shadow: none;}

.section_form{transform: translateY(-1px)}

.bca_form input, .bca_form textarea, .bca_form select{width: 100%; background-color: #fff; border:0; padding: 10px; border-radius: 30px;}
.bca_form input, .bca_form select{height: 40px;}
.bca_form .wpcf7-acceptance input{width: auto; height: 15px;}
.bca_form .btn_invia input{height:40px; background-color: #C8D9E4; text-transform: uppercase; padding: 8px 30px; color:#fff; font-size: 18px; line-height: 20px; font-weight: 600;}
.bca_form .btn_invia_cv input{width: auto;}

.titolo_pagina{background-position: center bottom; min-height: 400px;}

.card_missione{border-radius: 30px;}
.lista_card_missione > div:nth-child(1) .card_missione{background-color: #C8D9E4;}
.lista_card_missione > div:nth-child(2) .card_missione{background-color: #F3EFEC;}
.lista_card_missione > div:nth-child(3) .card_missione{background-color: #F3EFEC;}
.lista_card_missione > div:nth-child(4) .card_missione{background-color: #C8D9E4;}

.scheda_ricetta .foto_ricetta_bg{height: 100vh;}
.scheda_ricetta .procedimento{border-radius: 30px; overflow: hidden;}
.scheda_ricetta .info_utili, .scheda_ricetta .ingredienti{box-shadow: 5px 5px 15px #D0D0D0; border-radius: 30px; overflow: hidden;}
.scheda_evento .info_utili_evento{box-shadow: 5px 5px 15px #D0D0D0; border-radius: 30px; overflow: hidden;}


.label_info{font-weight: 600;}

.tag_info{border-radius: 50px; padding: 6px 20px; height: 38px; line-height: 38px; background-color: #C8D9E4; text-transform: uppercase; font-weight: 600; border: 1px solid rgba(0,0,0,0.25); box-sizing: border-box; vertical-align: middle;}

.gap-paginazione{gap: 20px;}
.freccia-paginazione{display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background-color: #C8D9E4; border: 1px solid rgba(0,0,0,0.25); text-decoration: none; color: inherit; font-size: 18px; font-weight: 700; transition: background-color 0.2s;}
.freccia-paginazione:hover{background-color: #b0c8d8; color: inherit;}
.freccia-paginazione.disabilitata{opacity: 0.3; cursor: default;}
.pagina-info{font-weight: 600; font-size: 15px;}

.filtro-data-wrap{position: relative; display: inline-block; vertical-align: middle;}
.filtro-data-wrap input{position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none;}
.filtro-data-wrap label{display: flex; align-items: center; justify-content: center; height: 38px; background-color: #C8D9E4; border-radius: 50px; border: 1px solid rgba(0,0,0,0.25); font-weight: 600; text-transform: uppercase; cursor: pointer; margin: 0; padding: 0 20px; white-space: nowrap; box-sizing: border-box;}

.card_selezione{border: 1px solid #fff; border-radius:30px; padding:10px; cursor:pointer; height:100%;}
.card_selezione.bg_zucchero{color:#133452;}
.card_selezione.bg_zucchero .data{color:#133452;}
.selezione_evento{display: none;}
.card_selezione p{margin-bottom:0;}
.card_selezione .data{font-weight: 500; margin-bottom:5px; color:#C8D9E4;}
.card_selezione .luogo{font-weight: 600; font-size: 20px; line-height: 22px; margin-bottom:10px;}






@media screen and (min-width: 992px) and (max-width: 1399px) {
    .hometop_onde_sabbia .progetto_overline{bottom:0;}
    .hometop_onde_sabbia  .descrizione_sezione{font-size: 16px; line-height: 18px;}
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .progetto_overline_mobile{margin-top:-10%;}
}

@media screen and (min-width: 768px) {
    .scheda_ricetta .info_utili{margin-top: -35%;}
}

@media screen and (max-width: 1399px) {
}

@media screen and (max-width: 991px) {
}

@media screen and (max-width: 767px) {
    .titolo_pagina_big{font-size: 50px; line-height: 52px;}
    .titolo_sezione {font-size: 54px; line-height: 54px;}
}

@media screen and (max-width: 480px) {
    .titolo_pagina{min-height: 300px;}
    .tag_info_form{width: 100%;}
    .scheda_ricetta .foto_ricetta_bg{height: 500px;}
}