html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/*FUENTES*/

* {
  padding: 0px;
}

@font-face {
  font-family: "MyWebFont";
  src: url("webfont.eot");
  /* IE9 Compat Modes */
  src: url("webfont.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
  url("webfont.woff2") format("woff2"), /* Super Modern Browsers */
  url("webfont.woff") format("woff"), /* Pretty Modern Browsers */
  url("webfont.ttf") format("truetype"), /* Safari, Android, iOS */
  url("webfont.svg#svgFontName") format("svg");
}

@font-face {
  font-family: "SansationBold";
  src: url("../fonts/Sansation_Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Sansation_Regular";
  src: url("../fonts/Sansation_Regular.ttf") format("truetype");
}

@font-face {
  font-family: "SansationLight";
  src: url("../fonts/Sansation_Light.ttf") format("truetype");
}

@font-face {
  font-family: "Sansation_Italic";
  src: url("../fonts/Sansation_Italic.ttf") format("truetype");
}

@font-face {
  font-family: "Optima";
  src: url("../fonts/unicode.optima.ttf") format("truetype");
}

/*TEXTOS*/

h2 {
  color: #202020;
  font-family: "Optima" !important;
  font-size: 62px !important;
  margin-top: 0px;
  margin-bottom: 30%;
}

h2.nuestra {
  color: #6b102b;
  font-family: "Optima" !important;
  font-size: 62px !important;
  margin-top: 0px;
  margin-bottom: 30%;
}

h2.blanco {
  color: #fff;
  margin-top: 0px;
  font-family: "Optima" !important;
  font-size: 62px !important;
}

h4 {
  color: #202020;
  font-family: "Sansation_Regular" !important;
  font-size: 28px !important;
  margin-bottom: 0px;
}

h4.nuestra {
  color: #6b102b;
  font-family: "Sansation_Regular" !important;
  font-size: 26px !important;
  margin-bottom: 0px;
}

h4.blanco {
  color: #fff;
  font-family: "Sansation_Regular" !important;
  font-size: 26px !important;
  margin-bottom: 20%;
}

p {
  color: #202020;
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: "Optima" !important;
  font-size: 18px;
  line-height: 1.5 !important;
}

p.nuestra {
  color: #6b102b;
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: "Optima" !important;
  font-size: 18px;
  line-height: 1.5 !important;
}

p.blanco {
  color: #fff;
  font-family: "Sansation_Regular" !important;
  font-size: 18px !important;
  margin-bottom: 20%;
}

p.azul {
  color: #004f8f;
  font-family: "Sansation_Regular" !important;
  font-size: 18px !important;
  text-align: right;
}

li {
  color: #fff;
  font-family: "Sansation_Italic" !important;
  font-size: 22px !important;
  margin-bottom: 0px;
}

#mainNav .navbar-nav .nav-item .nav-link {
  color: #fff;
  font-family: "Optima" !important;
  font-size: 18px !important;
  margin-bottom: 0px;
}

.left{
  text-align: left !important
}
/*Vinos*/
.tz-gallery .thumbnail {
    padding: 45px;
    margin-bottom: 30px;
    background-color: #fff;
    border: none;
    transition: 0.15s ease-in-out;
}

.box{
    -webkit-box-shadow: 0px 0px 35px -15px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 35px -15px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 35px -15px rgba(0,0,0,0.3);
    transition: all .5s ease-in-out;
    text-align: center
}

.lightbox > img{
  width: 100%;
  background-color: #f2f2f2;
  transition: background-color 1000ms linear;
}

.lightbox > img:hover {
    background-color: #ccc;
    -webkit-transition: background-color 1000ms linear;
    -ms-transition: background-color 1000ms linear;
    transition: background-color 1000ms linear;
}

.box:hover{
    -webkit-box-shadow: 0px 0px 35px -15px rgba(0,0,0,0.7);
    -moz-box-shadow: 0px 0px 35px -15px rgba(0,0,0,0.7);
    box-shadow: 0px 0px 35px -15px rgba(0,0,0,0.7);
    transition: all .5s ease-in-out
}

a:hover {
    text-decoration: unset;
     transition: all .8s ease-in-out;
}

a.vino, a.vino:visited {
	 text-decoration: none;
	 position: relative;
	 color: #069;
}
 a.vino:after, a.vino:visited:after {
	 content: '';
	 height: 3px;
	 position: absolute;
	 bottom: 0;
	 left: 0;
	 width: 0%;
	 background: #069;
	 transition: 0.2s;
}
 a.vino:hover:after, a.vino:visited:hover:after {
     transition: all .8s ease-in-out;
	 width: 100%;
}
 a.vino.block, a.vino:visited.block {
	 display: block;
	 padding: 0.5em;
}
 a.vino.block:hover, a.vino:visited.block:hover {
	 background: #eee;
}
 
.section-card{
  padding: 0 !important;
}


/*Card*/

.card-img-top {
  width: 30% !important;
  transition: all ease-in-out .5s;
  border-radius: 0 !important;
}

.card-img-top:hover {
  transform: scale(1.05);
}

.card-title {
  font-family: "Optima" !important;
}

.card-text {
  font-family: "Optima" !important;
}

.card {
  border: 0 !important;
}

#mainNav .navbar-nav .nav-item .nav-link {
  color: #fff;
  text-align: center;
}

/*Fin textos*/

/*Animaciones botones*/

.anima-1 {
  transition: all 0.2s ease-in-out;
}

.anima-1:hover {
  transform: scale(1.1);
}

.caption-2 {
  display: table-cell;
  vertical-align: middle;
  margin-bottom: 18%;
}

#mainNav.navbar-scrolled {
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  background: #004c80 !important;
}

#mainNav .navbar-brand .navbar-fixed-top.scrolled {
  width: 60% !important;
}

/*SOLO PARA DESKTOP*/

@media (min-width: 992px) {
  #mainNav.navbar-scrolled {
    -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: #95a6ba !important;
  }
  #mainNav.navbar-scrolled .navbar-nav .nav-item .nav-link {
    color: #fff !important;
  }
  #mainNav.navbar-scrolled .navbar-nav .nav-item .nav-link:hover {
    color: #6b102b !important;
  }
  #mainNav .navbar-nav .nav-item .nav-link.active {
    color: #6b102b !important;
  }
  .carousel-caption {
    bottom: 30px !important;
  }
}

/*CAROUSEL*/

.img-carousel {
  max-height: 500px;
  margin: 0 auto;
}

.carousel-item {
  max-height: 600px;
}

.carousel-indicators li {
  width: 10px !important;
  height: 10px !important;
  border-radius: 100% !important;
}

.carousel-inner, .carousel, .item, .container, .fill {
  height: 100%;
  width: 100%;
  background-size: cover;
}

.logo-ej {
  width: 70%;
}

/*SECCIONES*/

/*Seccion-1*/

.vino-opcion {
  padding: 15px;
}

.nuestros-vinos {
  background-image: url("../img/fondo.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 5%;
}

.nuestros-vinos-2 {
  background-image: url("../img/aserrin.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 5%;
}

/*Seccion-2*/

.seccion-2-a {
  background-image: url("../img/FamiliaG-imagenesweb_arbol.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 5%;
}

.seccion-2-b {
  background: #6b102b;
  padding: 2% 5% !important;
}

.seccion-3-a {
  background-image: url("../img/vino-blanco.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 5%;
}

.seccion-3-b {
  background-image: url("../img/FamiliaG-imagenesweb_cosecha_2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 5%;
}

.seccion-4-b {
  background-image: url("../img/giufridda.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 5%;
}

.seccion-5-a {
  background-image: url("../img/FamiliaG-imagenesweb_personalizar.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 5%;
}

.seccion-5-b {
  background: #6b102b;
  padding: 5%;
}

.social {
  color: #fff;
  margin-right: 15px;
  transition: all ease 0.5s;
}

.social:hover {
  transform: scale(1.1);
}

.seccion-6-b {
  background-image: url("../img/envios.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 5%;
}

.seccion-6-a {
  background-image: url("../img/FamiliaG-imagenesweb_botellas.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 5% 10%;
}

.seccion-historia-a {
  padding-top: 5%;
  padding-bottom: 5%;
  padding-right: 2% !important;
  padding-left: 10% !important;
}

.seccion-historia-b {
  padding-top: 5% !important;
  padding-bottom: 5% !important;
  padding-right: 10% !important;
  padding-left: 2% !important;
}

.img-container {
  background-image: url("../img/paso1.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
}

.img-container-2 {
  background-image: url("../img/productos-2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
}

.img-container-3 {
  background-image: url("../img/FamiliaG-imagenesweb_uvas.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
}

.minimo-alto {
  min-height: 700px;
}

/*Formulario*/

.formulario {
  width: 80%;
  margin: 0 auto;
  margin-top: 10%;
}

.form-control {
  border-radius: 0px !important;
  border: 0 !important;
}

button, input, optgroup, select, textarea {
  font-family: "Sansation_Regular" !important;
}
  .blanco{
    color: #fff !important
  }

  .btn-img{
    width: 30%
  }
.m2{
    position: absolute !important;
    bottom: 11%;
    left: 17%;
}

.ml-47 {
    position: absolute !important;
    bottom: 11%;
    right: 17%;
}

@media (max-width: 768px) {


  .img-carousel {
    max-height: 400px;
    margin: 0 auto;
}
  .btn-img{
    width: 80%
  }
  .carousel-indicators{
    margin-bottom: -2% !important;
  }
      
  #mainNav .navbar-nav .nav-item .nav-link {
    color: #fff !important;
  }
  #mainNav .navbar-nav .nav-item .nav-link:hover {
    transform: scale(1.1) !important;
  }
  .logo-ej {
    width: 100%;
    padding: 10%;
  }
  .navbar-light .navbar-toggler {
    border-color: rgba(0, 0, 0, .1);
    background: #fff;
  }
  .ml-auto, .mx-auto {
    margin-left: auto !important;
  }
  p.nuestra {
    padding: 5%;
  }
  .lista-mobile {
    padding: 5%;
  }
  h2.nuestra {
    color: #6b102b;
    font-family: "Optima" !important;
    font-size: 42px !important;
    margin-top: 0px;
    margin-bottom: 30%;
  }

  

  h2.blanco {
    color: #fff;
    margin-top: 0px;
    font-family: "Optima" !important;
    font-size: 42px !important;
  }
  h4.nuestra {
    color: #6b102b;
    font-family: "Sansation_Regular" !important;
    font-size: 26px !important;
    margin-bottom: 0px;
  }
  h4.blanco {
    color: #fff;
    font-family: "Sansation_Regular" !important;
    font-size: 26px !important;
    margin-bottom: 20%;
  }
  p.azul {
    color: #004f8f;
    font-family: "Sansation_Regular" !important;
    font-size: 18px !important;
    text-align: center;
  }
  #mainNav {
    background: #004f8f !important;
  }
  /*Seccion-2*/
  .seccion-2-a {
    background-image: url("../img/FamiliaG-imagenesweb_arbol.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 5%;
  }
  .seccion-2-b {
    background: #6b102b;
    padding: 2% 5% !important;
  }
  .seccion-3-a {
    background-image: url("../img/FamiliaG-imagenesweb_cosecha.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 5%;
  }
  .seccion-3-b {
    background-image: url("../img/FamiliaG-imagenesweb_uvas.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 5%;
  }
  .seccion-4-b {
    background-image: url("../img/giufridda.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 5%;
  }
  .seccion-5-a {
    background-image: url("../img/FamiliaG-imagenesweb_personalizar.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 5%;
  }
  .seccion-5-b {
    background: #6b102b;
    padding: 5%;
  }
  .seccion-6-a {
    background-image: url("../img/FamiliaG-imagenesweb_botellas.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 5% 10%;
  }
  .seccion-historia-a {
    padding-top: 5%;
    padding-bottom: 5%;
    padding-right: 10% !important;
    padding-left: 10% !important;
    min-height: 400px !important;
  }
  .seccion-historia-b {
    padding-top: 5% !important;
    padding-bottom: 5% !important;
    padding-right: 10% !important;
    padding-left: 10% !important;
    min-height: 400px !important;
  }
  .card-img-top {
    width: 100% !important;
    transition: all ease-in-out .5s;
    border-radius: 0 !important;
  }
  .carousel-caption {
    bottom: 30% !important;
  }
  #mainNav .navbar-brand {
    width: 70% !important;
  }
}

/*CAROUSEL ANIMAR*/

/**
 * Change animation duration
 */

.animated {
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
}

@-webkit-keyframes fadeInRight {
  from {
    opacity: 0.3;
    -webkit-transform: translate3d(100px, 0, 0);
    transform: translate3d(100px, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0.3;
    -webkit-transform: translate3d(100px, 0, 0);
    transform: translate3d(100px, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}