@import url('https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i|Playfair+Display:400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap');

html, body {
	width: 100%;
	height: 100%;
}

body {
    background-color: #101010;
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
}

.container-fluid {
    margin: 0px auto;
    max-width: 1920px;
}

.py-10 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-20 {
    padding-top: 12rem;
    padding-bottom: 12rem;
}

.pt-10 {
    padding-top: 6rem;
}


.home {
    margin-top: 86px;
    background-position:  center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;   
}

.gold {
     margin: 0;
    color: #b0976d;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}


.black {
    margin: 0;
   color: #000;
   font-size: 14px;
   text-transform: uppercase;
   letter-spacing: 2px;
   font-weight: bold;
}


.white-text {
    color: white;
}

.tras-text {
    color: rgba(255,255,255,0.5);
}

.text-light-gray {
    color: #666;
}

h1, h2, h3, h4, h5, h6 {
    line-height: normal;
    font-family: "Playfair Display";
    letter-spacing: 0;
    clear: both;
}

h1 {
    visibility: visible;
    font-weight: 400;   
    border-color: rgb(0, 0, 0);
    font-size: calc(40px + 6 * ((100vw - 320px) / 680));
}

.home h2 {
    visibility: visible;
    font-weight: 400;
}

h2 {
    font-size: 34px;
}

h3 {
    font-size: 41px;
     font-weight: 400;
}

.h-100 {
    min-height: 100%;
}

.h-min-75 {
    min-height: 75vh;
}

.px-p-10 {
    padding-left: 1%;
    padding-right: 1%;
}

a {
    color: inherit;
}

.text-justify {
    text-align-last: center ;
}

.text-justify.text-left {
    text-align-last: left;
}

.text-justify.text-justify-left {
    text-align-last: left;
}

.home {
    overflow: hidden;
    position: relative;
}

.home .container {
    display: block;
    position: absolute;
    left: 50%;
    top: 0px;
    transform: translate(-50%,-0%);
}

.home h1 {
    text-align: left;
    border-style: none;
    margin: 0px;
    border-radius: 0px;
    padding: 0px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    white-space: nowrap;
    width: auto;
    height: auto;
    min-height: 0px;
    min-width: 0px;
    max-height: none;
    max-width: none;
    opacity: 1; 
    font-size: 30px; 
}

.home h2 {
    text-align: left;
    border-style: none;
    margin: 0px;
    border-radius: 0px;
    padding: 0px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    white-space: nowrap;
    width: auto;
    height: auto;
    min-height: 0px;
    min-width: 0px;
    max-height: none;
    max-width: none;
    opacity: 1;
}

.home h3 {
    font-size: 21px;
    font-weight: 400;
}

.home video {
    width: 100%;
    height: auto;
}

.home .bott {
    max-height: 70vh;
}

@media (min-width: 768px) {

    
    .home h3 {
        font-size: 41px;
        font-weight: 400;
    }
}

@media (min-width: 1024px) {

    .home {
        margin-top: 135px;
    }

    .home .container {
        display: block;
        position: absolute;
        left: 50%;
        top: 0px;
        transform: translate(-50%,-0%);
    }
}

@media (min-width: 1200px) {
    .home {
        margin-top: 0px;
}

.home .container {
        display: block;
        position: absolute;
        left: 50%;
        top: 160px;
        transform: translate(-50%,-0%);
    }

}

.bg-white {
    background-color: #fff;
}

.bg-light {
    background-color: #f7f7f7 !important;
}

.bg-doc {
    background-image: url(img/sf_doc.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.bg-black {
    background-color: #000;
}

@media (min-width: 768px) {
    .bg-left {
        background-image: url(img/vini-la-reggenza.jpg);
        background-position: left center;
        background-repeat: no-repeat;
        background-size: cover;
    }

}

@media (min-width: 1024px) {
    .bg-left {
        background-image: url(img/vini-la-reggenza.jpg);
        background-position: left center;
        background-repeat: no-repeat;
        background-size: contain;
    }

}

.bg-bottom {
    background-image: url(img/sfwhite.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-pattern {

    background-image: url(img/pattern.png);

}

.container-header, .col-header-bio, .container-scheda {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 86px;
}

.testo {
    background-color: rgba(255,255,255,.8);
}

.immagine-divisoria {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.immagine-divisoria-center {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-img-gradient {
        background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.bg-img-gradient:before {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0px;
    content: "";
    background-color: rgba(255, 255, 255, .1);
}


.btn {
    border-radius: 0px;
}

.btn-primary {
    background-color: #b0976d;
    border-color:  #b0976d;

}

.btn.w-50 {
    margin: 0px auto;
}

.col-icon {
    text-align: center;
    margin-bottom: 30px;
}

.col-icon i {
    font-size: 50px;
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,.5);
    width: 100%;
}

.card-deck {

}

.card-deck .card {
    background-color: white;
}

.card-deck .card h4 {
    font-size: 34px;
}

.card-deck .card:nth-child(odd) {
  background: #b0976d;
}

.card-body {
    position: relative;
}

.card-body .btn {
    position: absolute;
    bottom: 0px;
    left: 3rem;
}

.h-75 {
    max-height: 750px;
}

.nav-icon {
    position: relative;
}

.nav-icon:before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 1px;
    background-color: #aaa;
    content: "";
}

.nav-icon li {
    margin-left: 7px;
    margin-right: 7px;
}

.nav-icon li a {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid #000;
    border-radius: 100%;
    color: #fff;
    background-color: #000;
}

.nav-icon li a i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

figure {
    margin-bottom: 0;
    text-align: center;

}

figure a {
    display: block;
    color: #000;
    text-decoration: none;
}

figure a:hover {
    text-decoration: none;
    color: #000;
}

figure a figcaption {
    opacity: 0;
    position: relative;
    display: block;
    padding-top: 15px;
    margin-top: 5px;
    -webkit-transition: all ease-in-out 0.2s;
    -moz-transition: all ease-in-out 0.2s;
    -ms-transition: all ease-in-out 0.2s;
    -o-transition: all ease-in-out 0.2s;
    transition: all ease-in-out 0.2s;
}

figure a figcaption:after {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    content: "";
    width: 0;
    height: 2px;
    background-color: #000;
    -webkit-transition: all ease-in-out 0.2s;
    -moz-transition: all ease-in-out 0.2s;
    -ms-transition: all ease-in-out 0.2s;
    -o-transition: all ease-in-out 0.2s;
    transition: all ease-in-out 0.2s;
}

figure a:hover figcaption {
    opacity: 1;
}


figure a:hover figcaption:after {
    width: 90%;
}

@media (min-width: 576px) {
    .card-deck .card {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        margin-right: 0px;
        margin-bottom: 30px;
        margin-left: 0px;
    }
}


@media (min-width: 1024px) {
    .card-deck .card {
        -ms-flex: 3 0 0%;
        flex: 3 0 0%;
        margin-right: 15px;
        margin-bottom: 0;
        margin-left: 15px;
    }
}


.swiper-vini .swiper-button-disabled {
    opacity: 0;
}

.swiper-gallery {
    width: 100%;
}

.swiper-gallery .swiper-slide {
    position: relative;
    overflow: hidden;
    width: auto;
    cursor: pointer;
    cursor: hand;
}

.swiper-gallery .swiper-slide img {
    height: 200px;
      width: auto;
}

.swiper-gallery .swiper-slide .caption {
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    padding: 15px 15px 60px 15px;
    color: #fff;
    background-color: rgba(50, 50, 50, 0.8);
    border-top: 1px solid #fff;
    -webkit-transition: all ease-in-out .5s;
    -moz-transition: all ease-in-out .5s;
    -ms-transition: all ease-in-out .5s;
    -o-transition: all ease-in-out .5s;
    transition: all ease-in-out .5s;
}

.swiper-gallery .swiper-slide:hover .caption {
    bottom: 0px;
}

.swiper-gallery .swiper-pagination-bullet {
    opacity: 1;
    background-color: #fff;
    border-radius: 0;
}

.swiper-gallery .swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1;
    background: darkred;
    width: 30px;
}

@media (min-width: 768px) {
    .swiper-gallery .swiper-slide img {
        height: 600px;
          width: auto;
    }
}

/*
.swiper-vigneti .swiper-slide img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    object-fit: cover;
}

*/

/*

.swiper-vigneti .swiper-slide img {
        position: absolute;
        height: 100%;
        width: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
    }
*/

    .container-masonry {
        -webkit-column-count: 3;
        -moz-column-count:3;
        column-count: 3;
        -webkit-column-gap: 0em;
        -moz-column-gap: 0em;
        column-gap: 0em;
        margin: 0;
        padding: 0;
        background-color: #000;
    }

@media (min-width: 768px) {


.news-figure {
    position: relative;
    padding-top: 70%;
    overflow: hidden;
}

.news-figure img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    height: 100%;
    width: auto;
}



    
}

.overlay {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9999999;
  }
  
  .overlay .overlay-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #222;
    padding: 20px;
  }
  
  .icon-cart {
    display: block;
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: black;
    width: 50px;
    height: 50px;
    border: 1px solid black;
    z-index: 99999;
    border-radius: 100%;
  }
  
  .icon-cart .fas {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-decoration: none;
  }
  
  .icon-cart .numero {
    position: absolute;
    right: -5px;
    top: -5px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 100%;
    color: #000;
    border: 1px solid #000;
  }
  
  .icon-cart .numero span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
  }

  .form-group label {
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    font-weight: 600;
  }
  
  .form-group .form-control {
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    background-color: transparent;
  }


footer {
    background-color: #000;
    width: 100%;
    max-width: 1920px;
    margin: 0px auto;
}


@media (min-width: 768px) {

 h1 {
    font-size: 60px;
 }  

 .py-10 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}
 
/*
.navbar {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 100;
    padding: .5rem 1rem;
}
*/


    .container-600 {
        max-width: 600px;
    }

   
    .col-icon {
    text-align: left;
    position: relative;
    padding-left: 145px;
}

.col-icon i {
    font-size: 50px;
    padding: 20px;
    border-bottom: 0;
    border-right: 1px solid rgba(0,0,0,.5);
    position: absolute;
    top: 0px;
    left: 0px;
    width: 120px;
    text-align: center;
    height: 100%;
}

/*

.swiper-container .swiper-slide {
    height: 768px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

*/


}

@media (min-width: 1024px) {

    .navbar-brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        margin-right: 0rem;
     }     
    

    .navbar-nav .nav-item .nav-link {
        text-align: center;
        padding: 50px 0px
    }

    .navbar-nav .nav-item:hover .nav-link {
        opacity: .8;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        left: 50%;
        transform: translateX(-50%);
        top: 80%;
    }

    .dropdown-item {
        text-align: center;
    }

    .dropdown-item:hover {
        background-color: #666;
    }

    .container-header, .col-header-bio, .container-scheda {
        padding-top: 0px;
        padding-bottom: 0px;
        margin-top: 140px;
    }

    .home h1 {
        font-size: 3vw;
    }


    .home h2 {
    font-size: 5vw;
}

/*
.swiper-container .swiper-slide {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

*/
	
}

@media (min-width: 1200px) {


    
}

@media (min-width: 1900px) {

.px-p-10 {
    padding-left: 10%;
    padding-right: 10%;
}

}

.col-8-scheda {
    position: relative;
}

@media (min-width: 780px) {

.col-8-scheda .img-smaltimento {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 32%;
}

}