.b-header-back {
    background-image: url('../images/storia/bg-banner.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 101vh;
    position: relative;
}

.logo-desktop {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 45%;
    left: 50%;
}

.banner-title {
    position: absolute;
    color: #ffffff;
    bottom: 71px;
    left: 77px;
    font-size: 60px;
    text-transform: uppercase;
}

.container-cumbo {
    max-width: 96%;
}

.m-auto {
    margin: auto;
}

.b-footer-back {
    position: relative;
    background-color: #00694C;
    color: #ffffff;
}

.slick-slide, .single-project {
    outline: none;
}

.slick-arrow {
    display: block;
    position: absolute;
    z-index: 1;
    transform: translate(-50%, -50%);
    top: 50%;
    font-size: 0;
    border: none;
    background: none;
    width: 90px;
}

.slick-next::before {
    content: url(../images/icons/arrow-next.svg);
}

.slick-prev::before {
    content: url(../images/icons/arrow-prev.svg);
}

#mobile-nav {
    display: none;
}

.navigation-bar-desktop {
    position: fixed;
    right: 10px;
    top: 120px;
    z-index: 9999;
}

.navigation-bar-mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    display: none;
    padding: 0;
    z-index: 999;
    height: 50px;
}

.nav-social-desktop {
    position: absolute;
    right: 0;
    margin-right: 30px;
    top: 30px;
}

.icon-fb {
    margin-right: 30px;
    width: 12px;
}

.icon-ig {
    width: 23px;
}

.navbar .navbar-toggler .toggler-icon {
    width: 30px;
    height: 2px;
    display: block;
    background-color: #ffffff;
    margin: 5px 0;
}

/* FRANTOIO */
.frantoio-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    line-height: 32px;
    text-transform: uppercase;
    max-width: 714px;
    padding-left: 26px;
}

.container-slider {
    background: linear-gradient(#ffffff 50%, #f2f0e4 50%);
}

.frantoio-img .item img {
    margin: auto;
}

.padding-text-cumbo {
    padding-left: 120px;
}

.container-text-frantoio p {
    max-width: 798px;
    font-size: 18px;
    line-height: 152%;
}

.container-text-frantoio h2 {
    text-transform: uppercase;
    font-size: 48px;
    line-height: 64px;
}

.container-frantoio {
    background: linear-gradient(#f2f0e4 75%, #ffffff 50%);
}

h2.title-frantoio {
    font-size: 36px;
    line-height: 48px;
}

.img-family,
.img-timbri,
.img-frantoio,
.img-cumbo,
.img-olio {
    margin: auto;
    display: block;
    width: 100%;
}

.img-timbri {
    animation: float 6s ease-in-out infinite;
}

.img-family {
    max-width: 740px;
}

.img-olio {
    max-width: 1000px;
}
.img-timbri {
    position: absolute;
    right: 0;
    top: -115px;
    max-width: 520px;
}

.img-frantoio,
.img-cumbo {
    padding: 100px 20px 0;
}

.container-footer {
    padding: 200px 100px 230px;
}

.text-footer p, .link-footer a {
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    margin-top: 35px;
}

.logo-footer {
    width: 236px;
}

.links-footer, .text-footer p {
    padding-left: 110px;
    font-family: 'Poppins', sans-serif;
}

#nibirumail_cookie_advice {
    font-family: 'Poppins', sans-serif;
}

.container-text-footer {
    justify-content: space-between;
}

.nav-social-footer {
    padding-top: 30px;
}

.container-collapse {
    width: 100vh;
    height: 100vh;
    background: black;
    display: block;
}

/* menu mob */

.mobile-btn {
    display: block;
    color: #ffffff;
    height: 30px;
    width: 22px;
    border-top: 2px solid;
    position: relative;
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    position: absolute;
    z-index: 1;
    top: 20px;
    right: 20px;
  }
  
  .mobile-btn::after, .mobile-btn::before {
    content: '';
    display: block;
    height: 2px;
    margin-top: 7px;
    background: currentColor;
    position: relative;
    transition: transform .3s ease;
  }
  
  .mobile-btn.active {
    border-top-color: transparent;
  }
  
  .mobile-btn.active::after {
    margin-top: 0px;
    top: 4px;
    transform: rotate(45deg);
  }
  
  .mobile-btn.active::before {
    margin-top: 0px;
    top: 6px;
    transform: rotate(135deg);
  }
  
  .menu-mobile {
    opacity: 0;
    visibility: hidden;
    text-align: center;
    margin-top: 0px;
    transform: translate3D(0, -50px, 0);
    transition: .3s;
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    height: 100vh;
  }
  
  .menu-mobile li a {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #ffffff;
    text-transform: uppercase;
    width: 100%;
    display: block;
    text-align: center;
  }

  .menu-mobile li {
      margin-bottom: 20px;;
  }

  .menu-mobile li.mb-0 {
    margin-bottom: 0;
  }

  .menu-mobile ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
.menu-mobile.active {
    visibility: visible;
    opacity: 1;
    transform: translate3D(0, 0, 0);
}

.js-overflow-hidden {
overflow: hidden;
}

.slick-prev {
    left: 7%;
}

.slick-next {
    right: 3%;
}

.links-footer {
    padding-top: 20px;
}

.link-footer a , .link-footer a:hover {
    color: #ffffff;
    margin-right: 10px;
}

img::-moz-selection, h1::-moz-selection, h2::-moz-selection, p::-moz-selection { color: #ffffff; background-color: #059c71; }
img::selection, h1::selection, h2::selection, p::selection { color: #ffffff; background-color: #059c71; }

.active .nav-name {
    opacity: 1;
    width: 100%;
}

.nav-name {
    padding: 0;
    opacity: 0;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    width: 100px;
    text-align: center;
    padding: 4px;
    text-transform: uppercase;
}

.nav-name h2 {
    color: #ffffff;
    font-size: 14px;
}

.page-scroll {
    display: flex;
}

.img-lattina_mob {
    display: none;
}

@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-20px);
	}
	100% {
    transform: translatey(0px);
	}
}

@media (min-width: 1460px) {
    .slick-next {
        right: 14%;
    }

    .slick-prev {
        left: 19%;
    }
}

/*  mobile  */
@media (max-width: 991px) {
    .nav-social-desktop {
        bottom: 36px;
        top: auto;
    }

    .icon-fb {
        margin-right: 15px;
        width: 9px;
    }

    .icon-ig {
        width: 18px;
    }

    #mobile-nav {
        display: block;
    }

    #desktop-nav {
        display: none;
    }

    .text-right-mob {
        text-align: right;
    }

    .text-right-mob img {
        width: 70%;
    }

    .padding-text-cumbo {
        padding: 0 30px;
    }

    .frantoio-text {
        padding-left: 30px;
    }

    .img-timbri {
        position: relative;
        top: auto;
        margin-top: -100px;
    }

    .container-footer {
        padding: 130px 59px 90px 70px;
    }

    .logo-footer {
        width: 130px;
    }

    .nav-social-footer {
        padding-top: 0;
    }

    .container-links-footer {
        display: block !important;
        padding-top: 80px;
    }

    .text-footer p, .link-footer a, .links-footer {
        font-size: 14px;
        padding-left: 0;
        font-family: 'Poppins', sans-serif;
    }

    .link-footer a {
        margin-top: 0;
    }

    .nav-social-footer {
        position: absolute;
        top: -40px;
        right: 0;
    }

    .navigation-bar-mobile {
        display: block;
    }

    .logo-desktop {
        width: 107px;
    }

    .banner-title {
        font-size: 34px;
        line-height: 120.3%;
        left: 20px;
        bottom: 30px;
    }

    .pt-120 {
        padding-top: 30px;
    }

    .frantoio-text {
        font-size: 20px;
        line-height: 27px;
    }

    .pt-70 {
        padding-top: 30px;
    }

    .container-frantoio {
        background: linear-gradient(#ffffff 75%, #ffffff 50%);
    }

    .slick-slide {
        padding: 0;
    }

    .frantoio-img .item img {
        height: 440px;
        object-fit: cover;
        object-position: center;
    }

    .pt-90  {
        padding-top: 40px;
    }

    .title-frantoio {
        font-size: 30px;
        line-height: 40px;
    }

    .container-text-frantoio p {
        font-size: 16px;
        line-height: 144%;
    }

    .img-frantoio {
        padding: 40px 0 0 0;
        height: 440px;
        object-fit: cover;
        object-position: center;
    }

    .img-cumbo {
        padding-top: 20px;
        height: 440px;
        object-fit: contain;
        object-position: center;
    }

    .p-mob {
        padding-left: 0;
        padding-right: 0;
    }

    .container-text-frantoio h2 {
        font-size: 30px;
        line-height: 40px;
    }

    .pb-80 {
        padding-bottom: 50px;
    }

    .b-header-back {
        background-image: url('../images/storia/bg-bannermob.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: 101vh;
        position: relative;
    }

    .img-family {
        padding-top: 50px;
    }
    
    .slick-next {
        right: -6px;
    }

    .slick-prev {
        left: 8%;
    }

    .slick-arrow {
        width: 58px;
    }

    .banner-title {
        opacity: 1 !important;
        transform: translateZ(0) !important;
    }

    .img-lattina {
        display: none;
    }

    .img-lattina_mob {
        display: block;
    }
}
