/* Estilos Para la capa con todas las fotos /////////////////////////////////////////*/
	.fader {
		width: 100%;
		scroll-x: auto;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-y: auto;
		margin: 0 auto;
		scroll-behavior: smooth;
		height: 250px;
		
		white-space: nowrap;
		/*transform:rotate(-90deg) translateY(-100px);*/
	}	
	.fader img{
		display: inline-block;
		margin-right: 10px;
		height: 250px;
		border-radius: 5px 5px 5px 5px;
		-moz-boder-radius: 5px 5px 5px 5px;
		-webkit-border-radius: 5px 5px 5px 5px;
		-o-border-radius: 5px 5px 5px 5px;
		/*box-shadow: 3px 3px 3px #c6c6c6;
		-moz-box-shadow: 3px 3px 3px #c6c6c6;
		-webkit-box-shadow: 3px 3px 3px #c6c6c6;
		-o-box-shadow: 3px 3px 3px 3px #c6c6c6;*/
	}
	
	

	/* Estilos  para los li infinitos */

	.tickercontainer { /* el div externo */
		width: 100%; 
		min-height: 50px;
		margin: 0; 
		padding: 0;
		overflow: hidden; 
		text-align: center;
		margin-top: 0 !important;
	}
	/* Esto nos sirve de máscara. Ordenación de paddings tanto a derecha como a izquierda */
	.tickercontainer .mask { 
		position: relative;
		width: 100%;
		overflow: hidden;
		margin-top: 0;
	}
	ul.newsticker { /*  esta es nuestra lista */
		position: relative;
		list-style-type: none;
		margin: 0;
		padding: 0;
	}
	/* IMPORTANTE: display inline gives incorrect results when you check for elem's width */
	ul.newsticker li {
		float: left; 
		margin: 10px;
		padding: 0;
		margin-top: 0;
		list-style: none !important;
	}
	ul.newsticker li a{margin-top:0}

	ul.er-controls{
		list-style: none;
		display: inline-block;
		padding: 0;
	}
	ul.er-controls > li{
		display: inline-block;
		padding: 0 10px;
		background: #f0f0f0;
		margin: 5px;
		border-radius: 5px;
		height: 40px;
		line-height: 40px;
	}
	ul.er-controls > li:hover{
		background: #f5f5f5;
		cursor: pointer;
	}
	
	
	/* Estilos para la ventana Modal que carga las fotos /////////////////////////////////////*/
	.modalDialog {
		position: fixed;
		font-family: Arial, Helvetica, sans-serif;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(0, 0, 0, 0.8);
		z-index: 99999;
		opacity:0;
		-webkit-transition: opacity 400ms ease-in;
		-moz-transition: opacity 400ms ease-in;
		transition: opacity 400ms ease-in;
		pointer-events: none;
	}
	.modalDialog:target {
		opacity:1;
		pointer-events: auto;
	}
	.modalDialog > div {
		width: 450px;
		position: relative;
		margin: 10% auto;
		padding: 5px 20px 13px 20px;
		background: #fff;
		border-radius: 5px 5px 5px 5px;
		-moz-boder-radius: 5px 5px 5px 5px;
		-webkit-border-radius: 5px 5px 5px 5px;
		-o-border-radius: 5px 5px 5px 5px;
		box-shadow: 3px 3px 3px #c6c6c6;
		-moz-box-shadow: 3px 3px 3px #c6c6c6;
		-webkit-box-shadow: 3px 3px 3px #c6c6c6;
		-o-box-shadow: 3px 3px 3px 3px #c6c6c6;
	}
		@media screen and (max-width: 480px){
			.modalDialog > div {
				width: 80%;
			}
		}
	.close {
		font-size: 18px;
		background: #609ad2;
		color: #FFFFFF !important;
		text-decoration: none !important;
		line-height: 25px;
		position: absolute;
		right: -12px;
		text-align: center;
		top: -10px;
		width: 24px;
		text-decoration: none;
		font-weight: bold;
		border-radius: 15px 15px 15px 15px;
		-moz-boder-radius: 15px 15px 15px 15px;
		-webkit-border-radius: 15px 15px 15px 15px;
		-o-border-radius: 15px 15px 15px 15px;
	}
	.close:hover {
		background: #00d9ff;
	}
	
	.selectedImage img{
		width: 100%;		
	}
	.selectedImageLink {
		display: block;
		width: 200px !important;
		text-align: center;
		margin: 0 auto;
		text-decoration: underline !important;
	}