/* Autore: andreauliana.com  */




@font-face {
    font-family: 'SelfModernTrial';
    src: url('font/SelfModernTrial.eot');
    src: url('font/SelfModernTrial.eot?#iefix') format('embedded-opentype'),
        url('font/SelfModernTrial.woff2') format('woff2'),
        url('font/SelfModernTrial.woff') format('woff'),
        url('font/SelfModernTrial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
html {
    font-size: 16px;
}
body {
    color: #151411;
    font-family: "SelfModernTrial", serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}
h2 { 
    font-size: 2.3rem;
    line-height: 110%;
    margin: 1.52rem 0 .912rem 0;
}
p {
    font-family: "SelfModernTrial", serif;
    font-weight: 400;
    line-height: 1.6;
    font-size: clamp(1.1rem, 1.2vw, 1.25rem); 
    margin-bottom: .5rem;
    letter-spacing: .006rem;
}
.lead-text {
    font-size: clamp(1.5rem, 1vw + 1rem, 2rem) !important;
    line-height: 1.4;
    margin-bottom: .45rem;
    margin-top: .7em;
}
.short {
    margin-top: -.5rem;
} 
.smaller {
    font-size: .95rem;
}
/* Rimuoviamo eventuali sovrascritture che creano sbalzi */
@media only screen and (min-width: 601px) {
    p {
        font-size: clamp(1.1rem, 1.2vw, 1.25rem);
    }
}
a {
    color: #F0EEE5;
}
i {
  font-family: "SelfModernTrial", serif;
  font-weight: 400;
  font-style: italic;
}
/* Generic style */
.section-padding {
    padding: 50px 0;
}
/* HERO */
.hero {
    padding: 80px 0;
    background:#151411;color:#FBFBF9;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 450px;
    border-bottom: .5em solid #910A19;
    background: #151411;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url(welcome-web.jpg);
    background-size: cover;
    background-position: center center;
    z-index: 0;
    transform: scale(1);
    will-change: transform;
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero h1, .hero p {
    opacity: 0;
    width: 85%;
    margin:0 auto;             
}
.hero h1 {
    font-size:3rem;
    letter-spacing: 1px;
    width: 80%;
    max-width:400px; 
    padding-top: 3em;
    font-weight: bold; 
    text-transform: uppercase; 
    opacity:0;
}
/* NAV */
nav { 
    background-color:#F0EEE5!important; 
    color: #151411;
    -webkit-box-shadow: 0 4px 12px 0 rgba(21, 20, 17, 0.05);
    box-shadow: 0 4px 12px 0 rgba(21, 20, 17, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
nav a, nav p, nav .brand-logo, nav ul a { 
    color: #151411; 
}
nav a {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}
nav a span {
  font-family: "SelfModernTrial", serif;
}
.brand-logo {
    display: flex !important;
    align-items: center;
    height: 100%;
    font-size: 1.25rem;
}
.brand-text-wrapper {
    font-size: 1.25rem;
}
.nav-logo-img {
    height: 40px;
    margin-right: .5rem;
}
.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    justify-content: center;
}
.brand-logo span {
    font-size: 0.4em;
    display: block;
    font-family: "SelfModernTrial", serif;
    text-transform: none;
}
nav, nav a.sidenav-trigger, nav .brand-logo {
    height: 70px;
    line-height: 70px;
}
.nav-logo-img {
    height: 45px;
    margin-right: .5rem;
}
.brand-logo span {
    font-size: 0.55em;
    font-weight: 400;
    margin-top: -2px;
    letter-spacing: 0.5px;
}
.brand-logo {
    font-size: 1.35rem;
}

@media only screen and (min-width: 601px) {
    .brand-text-wrapper, .brand-logo {
        font-size: 1.45rem;
    }
}
@media only screen and (max-width: 992px) {
    nav .brand-logo.left {
        left: 1.5rem;
    }
}

.sidenav {background-color:#151411; color:#FBFBF9;}

.sidenav li>a {
    color: #FBFBF9;
    font-size: 1.5em;
}
.grey {
    background-color: #F0EEE5!important;
}
/* Collapsible */
.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.collapsible-header h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 110%;
    text-transform: uppercase;
}
.collapsible-header i.material-icons {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}
.collapsible-body {
    padding: 0 0 1em 0;
    border-bottom: 1px solid #AA060A;
}
li.active .collapsible-header i.material-icons::before {
    content: "remove";
}
li.active .collapsible-header i.material-icons {
    font-size: 0; 
}
li.active .collapsible-header i.material-icons::before {
    font-size: 24px;
}
.collapsible {
    border: none; 
    box-shadow: none;
}
.collapsible-header {
    background-color: transparent;
    border-bottom: 1px solid #AA060A;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}
.secondary-content {color: #910A19;}
.red-bg {
    background-color:#910A19;
    color: #fff;
}
.red-bg h2 {color: #fff}
.storia {
    background-image: url(storia.jpg);
    background-size: cover;
}
.storia p, .storia h2 {
    color: #FFF;
}
.territorio {
    background-image: url(territorio-mob.jpg);
    background-size: cover;
    background-position: top;
}
@media only screen and (min-width : 768px) {
    .territorio {
        background-image: url(territorio-desktop.jpg);
        min-height: 400px;
    }
}
@media only screen and (min-width : 1500px) {
    .territorio {
        min-height: 500px;
    }
}
@media only screen and (min-width : 1920px) {
    .territorio {
        background-position:top;
        min-height:600px;
    }

}
.gsap-reveal {
    opacity: 0;
    transform: translateY(1.75rem);
}
.btn {
    text-decoration: none;
    font-style: normal;
    background-color: #910A19;
    -webkit-box-shadow: 1px 1px 7px 2px rgba(21,20,17,0.15); 
    box-shadow: 1px 1px 7px 2px rgba(21,20,17,0.15);
    border-radius: 5px;
    text-transform: unset;
    font-size: 1.15rem;
    margin-top: .5em;
}
.btn:hover, .btn:active, .btn:focus {
    background-color: #151411;
}
.footer-brand {background:#151411;color:#FBFBF9;padding: 30px 0;border-bottom:.55em solid #910A19;}     
footer p {line-height: 1.5}
footer h1 {
    font-size: 2.3rem;
    line-height: 110%;
    margin: 1.52rem 0 .912rem 0;
}
@media only screen and (min-width: 601px) {
    footer .box1 {text-align: right;}
    .collapsible-body p {font-size: 1.35em;}
    footer .box2 {text-align: left;}
}
ul.browser-default {
    padding-left: 1.5rem !important; 
    margin-top: 10px;
    margin-bottom: 15px;
    list-style-type: disc;
}
ul.browser-default li {
    margin-bottom: 6px;
    font-size: 1.2rem;
    line-height: 1.4;
}
@media only screen and (max-width: 600px) {
    ul.browser-default {
        padding-left: 1.2rem !important;
    }
    ul.browser-default li {
        font-size: 1.1rem; 
    }
}
.product-image-wrapper {
    display: flex;
    flex-wrap: wrap; 
    gap: .75rem;
    margin-bottom: 1.5rem;
}
.product-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}
@media only screen and (min-width: 601px) {
    .product-image-wrapper {
        flex-direction: row;
        justify-content: space-between;
    }
    .product-image-wrapper img.hide-on-small-only {
        width: calc(50% - 5px); 
        object-fit: cover;
    }
}
nav .nav-wrapper {position: relative;}
nav .sidenav-trigger i {
    line-height: 70px;
    height: 70px;
    font-size: 1.85rem;
}
nav .sidenav-trigger {margin: 0 .15rem 0 .5rem ;}
.brand-logo {
    display: flex !important;
    align-items: center;
    height: 100%;
    position: relative !important; 
    left: 0 !important;
}
.show-mob.right {
    display: flex;
    align-items: center;
    height: 100%;
}
.map {
    background-image: url(map-salumificio-marazzi.jpg);
    background-size: 160%;
    background-position: left;
    background-repeat: no-repeat;
    height: 420px;
    width: 100%;
}
.map img {display: none;}
@media only screen and (min-width : 768px) {
    .map {
        background-image: none;
        height: auto;
    }
    .map img {
        display: block;
        width: 100%;
    }
}
/*========== Mobile First Method ==========*/
/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {}
/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {}
/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
    .hero {
        height: 550px;
    }
    .hero h1 {
        font-size: 3.8rem;
        padding-top: 2.8em;
        max-width: 400px;
    }
    nav .brand-logo {
        font-size: 1.8rem;
    }
}
/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {}
/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
    .hero {
        height: 650px;
    }
    .hero h1 {
        padding-top: 3.5em;
    }
}
.product-image-wrapper {
    display: flex;
    flex-wrap: wrap; 
    gap: .75rem;
    margin-bottom: 1.5rem;
}
.product-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}
@media only screen and (min-width: 601px) {
    .product-image-wrapper {
        flex-direction: row;
        flex-wrap: nowrap; 
        justify-content: space-between;
    }
    .product-image-wrapper img.hide-on-small-only {
        width: calc(50% - 0.375rem); 
        object-fit: cover;
    }
}