/*
 * jQuery FlexSlider v2.2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */


/* Browser Resets
*********************************/
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none; }

/* Icon Fonts
*********************************/
/* Font-face Icons */
@font-face {
	font-family: 'flexslider-icon';
	src:url('../fonts/flexslider-icon.eot');
	src:url('../fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),
		url('../fonts/flexslider-icon.woff') format('woff'),
		url('../fonts/flexslider-icon.ttf') format('truetype'),
		url('../fonts/flexslider-icon.svg#flexslider-icon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > ul{
}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden; 
} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
	width: 100%; 
	display: block;
	/*max-width:685px;*/ 
	/*border:3px solid #ff0000*/;
	border-radius:8px;
}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block; }
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
.flexslider { margin: 0 0 2em 0; background: #fff; border: 4px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1; }
.flex-viewport { max-height: 530px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease;
 }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a  { text-decoration:none; display: block; width: 40px; height: 40px; margin: -20px 0 0; position: absolute; top: 70%; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; color: rgba(215, 44, 44, 0.7); text-shadow: 1px 1px 0 rgba(255,255,255,0.3); -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
.flex-direction-nav .flex-prev { left: -1em; }
.flex-direction-nav .flex-next { right: 0.2em; text-align: right;}
.flexslider:hover .flex-prev { opacity: 0.7; left: -1em; }
.flexslider:hover .flex-next { opacity: 0.7; right: 0.2em; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; }
.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }
.flex-direction-nav a:before  { font-family: "flexslider-icon"; font-size: 1.5em; line-height:1.5; display: inline-block; content: '\f001'; background-color:#D6D7D9; border-radius:50px; padding:0.1em 0.5em; }
.flex-direction-nav a.flex-next:before  { content: '\f002'; }

/* Pause/Play */
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before  { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -o-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); box-shadow: inset 0 0 3px rgba(0,0,0,0.3); }
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: #d6000f; cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 20%; float: left; margin: 0.2em 0;}
.flex-control-thumbs img {width: 97%; display: block; /*opacity: .7;*/ cursor: pointer;border:1px solid #ff0000;border-radius:5px;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev { opacity: 1; left: -1em;}
  .flex-direction-nav .flex-next { opacity: 1; right: 0.2em;}
}
span.flex-caption{
	font-family:'flexslider-icon', Tahoma Verdana, Arial, Helvetica, sans-serif;	
	font-weight:normal;
	padding-bottom:0.1em;
	font-size:118%;
	font-style:italic;
}

/************************/
article.galeria {
    margin:0 auto;
    padding:0;
    position:relative;
    width:100%;
}
.flexslider{
	background: #eaebed;
	border-radius: 8px;
	padding: 0;	
	width: 99%;
}
.flexslider ul.slides{
	margin:0!important;
	}
.flexslider ul.slides li{
	background-image:none!important;
	display:none;
	padding-left:0!important;
	padding-top:0!important;
	position: relative;
}
span.flex-caption{
	bottom: 140px;
	color:#000000!important;
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	line-height:1.3em;
	position: absolute;	
	right: 40px;
	text-align:right;
	width:50%;
}
span.titulo-carrusel{
	background:#f5f2f7;
	color: #8451ac!important;
	display:block
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
	line-height: 1em;
	padding:0 4px;
	position: absolute;
	top: 80px;
	right: 40px;
	font-size: 60px;
	text-transform: uppercase;
	width: auto;
  text-align: right;
}
span.boton-carrusel{
	/*background: #d6000f!important;
	border-radius: 5px;
	color: #ffffff!important;*/
	background-color: #ffffff;
  	border: 2px solid #8451ac;
  	border-radius: 5px;
 	 color: #8451ac!important;
	font-size: 20px;
	font-family: 'Roboto', sans-serif;
	padding: 18px 20px;
	position: absolute;
	right: 40px;
	text-transform: uppercase;
	bottom: 35px;
}
.flex-control-nav{
	bottom: 15px;
}
.flex-control-paging li a{
	background: rgba(0,0,0,0.9);
	background: #8451ac;
	border: solid 1px #ffffff;	
}
@media screen and (max-width:1024px) {
	span.titulo-carrusel{
		font-size: 60px;
		top:48px;
		/*width: 85%;*/
	}
	span.flex-caption{	
		bottom: 100px;	
	}
	.flex-control-nav {
		bottom: auto;
		top:15px;
		left:15px;
		text-align:left;
	}
}
@media screen and (max-width:768px) {
	span.titulo-carrusel{		
		right:30px;
		top: 35px;		
	}
	span.titulo-carrusel{
		font-size: 40px;
	}
	span.flex-caption{	
		font-size: 16px;
		right:30px;		
	}
	span.boton-carrusel{
		bottom: 15px;
		font-size: 14px;
		right:30px;		
		padding: 10px 15px;
	}
}
@media screen and (max-width:600px) {
	span.titulo-carrusel{
		font-size: 30px;		
	}
	span.flex-caption{
		bottom: 65px;
	}
		}
@media screen and (max-width:500px) {
	span.titulo-carrusel{		
		right:20px;	
		top: 20px;
		font-size: 20px;
	}
	span.flex-caption{	
	display:none;	
		font-size: 14px;
		right:20px;	
		width:70%;
	}
	span.boton-carrusel{
		bottom: 10px;
		font-size: 10px;
		right:20px;		
		padding: 5px 10px;
	}
}
@media screen and (max-width:375px) {
	span.titulo-carrusel{
		font-size: 18px;
		top:14px;		
	}
		span.flex-caption{		
		bottom: 40px;
		font-size: 14px;		
	}
		span.boton-carrusel{
		bottom: 6px;
        font-size: 10px;
        right: 12px;
        padding: 2px 7px;
    }
}
.flex-control-thumbs{
	position: absolute;
	right: 10px;
	top: 10px;
	width: 10%;
}
.flex-control-thumbs li{
	display: block;
	opacity: 1;
	float: right;
	text-align: right;
	width: 85%;
	background: #fff;
    padding: 2px 2px 2px 2px;
	margin: 0px 0px 2px 0;
	border-radius: 5px;
}
.flex-control-thumbs li img{
	width: 98%;
}
ul.flex-direction-nav{
	display:none;
	}
.flex-direction-nav .flex-prev { border-bottom:none; left: 0;}
.flex-direction-nav .flex-next { border-bottom:none;}
.flex-direction-nav a  {
	margin: -5px 0;
	display: none;
}
.flex-direction-nav a:before{
	 border-radius: 20px;
	 border: 1px solid #D6D7D9;
	background-color: transparent; 
}
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev { 
	  left: 0em;
	}
}
@media screen and (max-width: 600px) {
.flex-control-thumbs{
	display: none;
	}
}