/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================*/
  

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

*{
	font-family: 'Montserrat', sans-serif;
	color:#313131; 
font-size: 16px;
	border:none
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */



	

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    
    a:visited, a:hover; a:focus, a:linked {
        text-decoration: none !important; color:white !important
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
} 
/* ==========================================================================
	Mis estilos
   ==========================================================================*/
   .banner-img{
	   width:100%;
   }
   #sanmatias{
	   background-color:#125d66;
	   padding-top:35px;
	   padding-bottom:35px;
   }
   .img-1 {

    left: 50%;
    margin-left: -111px;
    position: relative;
    width: 220px;

}
   #tahona{background-image:url(../../sources/images/img-about-tahona.jpg);
position: relative; padding:70px;}
  #tahona p {
    color: white !important;
    font-size: 14px;
    text-align: justify;
}
#tahona .col-sm-6 {
    padding-top: 30px;
    padding-bottom: 30px;

}
   video{
	   width:100%
	  
   }
   .borderl {

    border-right: 1px solid #C5934F;

}
	.titulos{
		font-family: 'MontserratBlack';
		text-align:center;
		font-size: 26px;
		margin-bottom:35px;		
	}
	
	.tit-azul{color:#125d66 !important;}
	.tit-cafe{color:#5b4020;}
	.tit-azul2{color: #37abb8}
	
	.titulos-w{
		color:#fff;
		font-family: 'Montserrat';
		text-align:center;
		font-size: 26px;
		margin-bottom:15px;		
	}
	.titulos1{
		color:#9ddae8;
		font-family: 'MontserratBlack';
		text-align:center;
		font-size: 26px;
		margin-bottom:35px;
	
		position:relative
		
		
	}

	.fondoscuro{
		color:#dde1e9;
		text-align:justify
	}
	#presentaciones{
	padding:90px 0;	 
	overflow:hidden; 
	}
	#presentaciones .row {padding:5% 15%}
	.tahona-reposado {background-color:#dde1e8;
    -ms-transform: rotate(5deg);
    -webkit-transform: rotate(5deg);
    transform: rotate(5deg);
    width: 120% !important;
    left: -10% !important;
    position: relative;

}
.desrotate { -ms-transform: rotate(-5deg);
    -webkit-transform: rotate(-5deg);
    transform: rotate(-5deg);}
	
.tahona-blanco img {
    width: 120%;
    left: -10%;
    position: relative;
}
.tahona-anejo img {
    width: 120%;
    left: -10%;
    position: relative;
}
.tahona-reposado img {width:100%;}
	
	.tahona-blanco .subtitulos {
    color: #00525d;
    font-family: 'MontserratBold' !important;
    margin-bottom: 0px;
}
.tahona-reposado .subtitulos {
    color: #5b4020;
    font-family: 'MontserratBold' !important;
    margin-bottom: 0px;
}


	.txt-about{
		font-size:14px; margin-bottom:20px;
	}
	.agave1{
		width: 65%;
position: absolute;
margin-top: 260px;
margin-left: -480px;
	}
	.agave2{
		
			position: absolute;
		width: 65%;
		margin-top: 260px;
		margin-left: -90px;

	}
	
	
	.espacio{
		margin-bottom:70px;
	}
	
	.boton
	{
		text-decoration: none !important;
padding: 15px 110px;
background-color: #125d66;
color:#dde1e9;
margin-left: 15%;
border-radius: 10px;
		
	}
	.boton:hover{
		color:#dde1e9;
	}
	
	.espacio1{
		margin-bottom:50px;
	}
	#process{
	background-color: #125d66;

position: relative;
clear: both;
padding-top:50px;

	}
	#about .titulos{
		text-align:left !important;
	}
	
	.artesanal-txt{
		text-transform: uppercase;
		color:white;
		text-align:center;
		font-size:37px;
		font-family: 'MontserratBlack';
		padding-bottom:50px;
		letter-spacing: 2px;
	}
	
	.fotos{
		margin-top: 50px;
		padding: 0px !important;
	}
	.fotos1{padding: 0px !important;}
.foto3{
	width:100%;
	}
	.fotos2{
		margin-top: 0px;
		padding: 0px !important;
	}
	#we{
		background-image: url(../../sources/images/img_quote_bg.jpg);
clear: both;
top: -92px;
position: relative;
height: auto;
overflow: hidden;;}

#we .container img{margin:40px 10px 70px 10px; width:180px}
.mp{width:175px !important}
.artesanal-txt1{
	text-transform: uppercase;
		color:white;
		text-align:center;
		font-size:30px;
		font-family: 'MontserratBlack';
		padding-top: 45px; letter-spacing:2px
}
#footer{
	background-color:#5f462e;
	padding: 80px 0px 40px 0px;
	position:relative;
	clear:both;
	text-align:center;
	border-bottom:30px solid #726356;
	
}
#footer p{color:white;}

.drink {color:#9ddae8 !important}
.mt20{margin-top:45px !important}
.img2 {width:150px; margin-bottom:15px;}

#contacto{
	background-image:url(../../sources/images/img_form_bg.jpg);
	    background-size: cover !important;
    background-position: center;
    background-attachment: fixed;
    padding-top: 130px;
    padding-bottom: 130px;

   
  
}
#redes{
	overflow:hidden;

}
.contacto{
	color:white;
	text-decoration:none !important;
	border:2px solid white;
	padding-top:10px;
	padding-bottom:10px;
	padding-left:50px;
	padding-right:50px;
}
.contacto:hover{
	color:white;
}





/*responsivo*/


/*efectos*/
.jscarousal-horizontal
{
	width: 740px;
	height: 118px;
	background-color: #121212;
	border: solid 1px #7A7677;
	margin: 0;
	padding: 0;
	padding: 22px 8px 22px 8px;
	position: relative; /*overflow: hidden;*/
}
.jscarousal-horizontal-back, .jscarousal-horizontal-forward
{
	float: left;
	width: 23px;
	height: 98px;
	background-color: #121212;
	color: White;
	position: relative;
	top: 6px;
	cursor: pointer;
}
.jscarousal-horizontal-back
{
	background-image: url(left_arrow.jpg);
	background-repeat: no-repeat;
	background-position: left;
}
.jscarousal-horizontal-forward
{
	background-image: url(right_arrow.jpg);
	background-repeat: no-repeat;
	background-position: right;
}
.jscarousal-contents-horizontal
{
	width: 690px;
	height: 124px;
	float: left;
	position: relative;
	overflow: hidden;
}
.jscarousal-contents-horizontal > div
{
	position: absolute;
	width: 100%;
	height: 124px;
}
.jscarousal-contents-horizontal > div > div
{
	float: left;
	margin-left: 8px;
	margin-right: 8px;
}
.jscarousal-contents-horizontal img
{
	width: 120px;
	height: 94px;
	border: solid 1px #7A7677;
}
/*Horizontal Orientation CSS Ends*/

/*Vertical Orientation CSS Starts*/
.jscarousal-vertical
{
	width: 70%;

	background-color: transparent;
	
	margin: auto;
	padding: 0;
	position: relative;
	overflow: hidden;
}
.jscarousal-vertical-back, .jscarousal-vertical-forward
{
	width: 20px;

	color: #8FCCE0;
	position: relative;
	cursor: pointer;
	z-index:100;
	margin:auto;
}
.jscarousal-vertical-back::before
{
	content: "\f106";
color: #8FCCE0;
font-family: FontAwesome;
text-align: center;
font-size: 50px;
}
.jscarousal-vertical-forward::before
{
	content: "\f107 ";
color: #8FCCE0;
font-family: FontAwesome;
text-align: center;
font-size: 50px;
}
.jscarousal-contents-vertical
{
	overflow: hidden;
	width: 100%;
	height: 260px;
}
.jscarousal-contents-vertical > div
{
	position: absolute;
	top: 80px;
	width: 100%;
	height: 235px;
	overflow: hidden;
}
.jscarousal-contents-vertical > div > div
{
	width: 100%;
	height: 125px;

}
.jscarousal-contents-vertical > div > div span
{
	display: block;
	width: 100%;
	
}
.jscarousal-contents-vertical img
{
	width: 110px;
	height: 80px;
	border: solid 1px #7A7677;
}
/*Vertical Orientation CSS Ends*/

/*Common*/
.hidden
{
	display: none;
}
.visible
{
	display: block;
}
.thumbnail-active
{
	filter: alpha(opacity=100);
	opacity: 1.0;
	cursor: pointer;
}
.thumbnail-inactive
{
	filter: alpha(opacity=20);
	opacity: 0.2;
	cursor: pointer;
}
.thumbnail-text
{
	color: #7A7677;
	font-weight: bold;
	text-align: left;
	display: block;
	padding: 10px 2px 2px 0px;
}
.ninguno{
	height: 0px !important;
}

.fondoscuro1{
	color:white;
	font-size:14px;
	
}
.fondoscuro1{
	color:#9DDAE8;
	font-size:16px;
	
}
.fondoscuro2{
	color:white;
	font-size:14px;
	padding-left:10%;
	padding-right:10%;
}
.fondoscuro3{
	color:white;
	font-size:13px;
	padding-left:8%;
	padding-right:8%;
}
.espacio2{
	padding-top:30px;
}

.botella{
	margin-left: -183px;
width: 163%;
margin-top: 200px;
max-width: 670px;}
	

.banner_quote{max-width:500px; position:absolute; z-index:2; left:100px; top:200px; width:100%}
.responsibility{color:white; text-decoration:none; position: relative; margin: auto;  top: 20px;}
.drink{color:white; text-decoration:none; position: relative; margin: auto;  }

#galerias{padding:70px 0; padding:3% 10%}
/*#galeria img{float:left; position:relative; width:9%; margin-right:1%; margin-bottom:1%}*/
.tab-pane{padding:5% 0}

.nav-tabs {
    border:none !important;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    color: #fff !important;
    border: none !important;
	background-color:transparent !important
   
}

.nav-tabs > li {
    float: left;
    margin-bottom: -1px;
    width: 32% !important;
	margin-right:1%
}

.tab-la{background-image:url(../../sources/images/img_process_aging.png); height:300px}
.tab-ny{background-image:url(../../sources/images/img_process_aging.png); height:300px}
.tab-sf{background-image:url(../../sources/images/img_process_aging.png); height:300px}
.tab-la:hover{background-image:url(../../sources/images/img_process_Fermentation.png); height:300px}
.tab-ny:hover{background-image:url(../../sources/images/img_process_Fermentation.png); height:300px}
.tab-sf:hover{background-image:url(../../sources/images/img_process_Fermentation.png); height:300px}

.tab-la a, .tab-ny a, .tab-sf a{display:none !important}
li.tab-la.active{background-image:url(../../sources/images/img_process_Fermentation.png); height:300px}
li.tab-ny.active{background-image:url(../../sources/images/img_process_Fermentation.png); height:300px}
li.tab-sf.active{background-image:url(../../sources/images/img_process_Fermentation.png); height:300px}

.tab-la:hover a, .tab-ny:hover a, .tab-sf:hover a, li.tab-la.active a, li.tab-ny.active a, li.tab-sf.active a {display:block !important}

.nav-tabs > li > a {
    border-radius: 0px !important; text-align:center !important; color:white !important; height:300px; border:none !important
}

.nav > li > a:focus, .nav > li > a:hover {
    text-decoration: none;
    background-color: transparent !important;
}


.nav > li > a {
    padding: 30% 15px !important;
}	

.nav-tabs > li > a:hover {
    border-color: none !important;
}

*{outline: none !important}

.row1 {width:11%; position:relative; float:left; }
.row1 img {width:100%; margin-bottom:10px}
.row2 {width:19%; position:relative; float:left;}
.row2 img {
    width: 47%;
    margin-bottom: 10px;
    float: left;
    margin-left: 3%;
}
.row3 {width:11%; position:relative; float:left; margin-left:.5% }
.row3 img {width:100%; margin-bottom:5px}

.fancybox-overlay a:hover{opacity:1 !important}
#media-press{
	padding-bottom:50px;
}
.scrolloff {
    pointer-events: none;
}



.agaves {
    height: auto;
    position: absolute;
    top: 240px;
    width: 100%;
}



