﻿
/*
	Slideshow
*/

#slides {
	z-index:100;
}

/*
	Slides container
	Important:
	Set the width of your slides container
	Set to display none, prevents content flash
*/

.slides_container {
	width:100%;
	overflow:hidden;
	position:relative;
	display:none;
}

/*
	Each slide
	Important:
	Set the width of your slides
	If height not specified height will be set by the slide content
	Set to display block
*/

/* Google Chrome hack */
body:nth-of-type(1) .slides_container div.slide {width:1280px;}
.slides_container div.slide {
	/*width:1280px;*/ /*PARA MOZILA NO ERA NECESARIO QUE ESTE. COLOCANDO ESTE ANCHO FUNCIONA EN CHROME, SINO NO SE VEN LAS IMAGENES...*/
	height:348px;
	display:block;
}



/*
	Next/prev buttons
*/

#slides .next,#slides .prev {
	position:absolute;
	top:107px;
	left:-39px;
	width:24px;
	height:43px;
	display:block;
	z-index:101;
}

#slides .next {
	left:720px;
}

/*
	Pagination
*/

.pagination {
	margin:26px auto 0;
	width:96px;
	position:absolute;
	bottom:1%;
	right:0;
	z-index:100;
}

.pagination li {
	float:left;
	margin:0 1px;
	list-style:none;
}

.pagination li a {
	display:block;
	width:12px;
	height:0;
	padding-top:12px;
	background-image: url('../img/pagination.png');
	background-position:0 0;
	float:left;
	overflow:hidden;
}

.pagination li.current a {
	background-position:0 -12px;
}

/*
	Caption
*/

.caption {
	z-index:500;
	position:absolute;
	bottom:-165px;
	left:200px;
	padding:1.4em 2em; 
	width:40%;
	color:#fff;
	text-shadow:none;
}

.captionRight {
	z-index:500;
	position:absolute;
	bottom:-165px;
	left:40.5em;
	padding:1.4em 2em; 
	width:34%;
	color:#fff;
	text-shadow:none;
	text-align:right;
}

@media screen and (max-width:970px) { 
.captionRight {	left:0;}
}

@media screen and (max-width:768px) { 
.caption{left:0}
.captionRight {left:0}
.pagination {bottom:18%;}
}

@media screen and (max-width:520px) {
/*.slides_container div.slide img{max-width:75%;}*/
.caption {left:0;}
.captionRight {left:0;}
}

@media screen and (max-width:370px) {
/*.slides_container div.slide img{max-width:75%;}*/
.caption {left:0; width:21%;}
.captionRight {left:0; text-align:left; width:21%;}
}