/* Para hacer pruebas con los colores de fondo y las cajas redondeadas, quitar cuando no pruebas... */

/* BODY { background: #fff; } */


/* Publicidad contenedor cabecera */

/*********************PUBLICIDAD ADDSERVER**********************/

#publi-top21 {
	/*height: 90px;*/
	border: 0px solid yellow;
	background: url(../_img/publi/banner-top.gif) top left no-repeat;
	/*margin: 4px 4px 0px 4px;*/
        margin-left:4px;
	text-align: center;
	overflow: visible;
	/*padding: 17px 0px 4px 0px;*/
	padding: 5px 0px 0px 0px;
}

.ad-container-tipo51 { 	
	padding: 0;
	border: 0px solid green;
	clear: both;
	/*margin: 0px 0px 0px;*/
	height:	90px;
	overflow: visible;
	position: relative;
	text-align: center;
	width: 728px;
	margin-left: auto;
	margin-right: auto;
	background-color: #99999;
}

.ad-box1{
	position:absolute;
	
	bottom:0;
	left: 0;
}

.ad-box24 {
	border:1px solid #AAAAAA;	
}
.ad-box24-abajo {
	border:1px solid #AAAAAA;
	border-top:0px solid #000000;
}
.ad-box-pub17 {
	height:240px;
	valign:bottom;
	overflow:hidden
}

.ad-box2-robapaginas{
	padding:0;
	border: 0px solid yellow;
	width:300px;
	clear:both;
	padding:0;
	margin: 17px 0px 0px 12px;
	height:255px;
	overflow:hidden;
	position:relative;
	vertical-align: top;
	float:left;
	text-align: left;
}

.ad-box2-robapaginas450{
	padding:0;
	border: 0px solid yellow;
	width:440px;
	clear:both;
	padding:0;
	margin: 17px 0px 0px 12px;
	height:255px;
	overflow:hidden;
	position:relative;
	vertical-align: top;
	float:left;
	text-align: left;
}
.ad-box22 {
	float:left;
	display:inline;
	margin-top:6px;
	margin-left:25px;
	margin-right:25px;
	border:1px solid #AAAAAA;
	padding:2px;

}
.ad-box3-robapaginas-der{
	padding:0;
	border: 0px solid green;
	clear:both;
	padding:0;
	margin: 17px 10px 0px 0px;
	height:245px;
	width: 120px;
	overflow:hidden;
	position:relative;
	float: right;
	vertical-align: top;
	text-align: left;
}

#script-robapaginas {
	position:absolute;
	bottom:0;
	/*border: 2px solid red;*/
}

.ad-box5{
	padding: 3px;
	border: 0px solid #BBB;
	height: 72px;
	width: 137px;
	float: left;
	vertical-align: top;
	clear: none;
	margin: 9px 6px 0px 6px;
}

#publi-home-listado-debajo {
	padding:0;
	height:70px;
	width: 134px;
	overflow:hidden;
}

.ad-box4-sky { 					/*div superior sky*/
	padding:0;
	border: 0px solid red;
	padding: 4px;
	font-size: 10px;
	clear:both;
	margin-top: 8px;
	margin-left: 13px;
	height:600px;
	/*width: 120px;*/
	/*overflow-x:hidden;*/
	vertical-align: top;
	position: relative;
	text-align: left;
}

#publi-ski {
	position:absolute;
	bottom:0;
}

.ad-box6{
	padding: 3px;
	border: 0px solid #BBB;
	/*height: 70px;*/
	width: 134px;
	clear: none;
	text-align: center;
	margin: 6px 6px 0px 6px;
}

.ad-box7{				/* publicidad abajo-izquierda HOME*/
	border: 0px solid #BBB;
	/*height: 70px;*/
	width: 138px;
	text-align: center;
	margin: 0px 20px 6px -6px;
	position:relative;
}

#corregir-banner-listado {
	margin: 0px 0px 0px -2px;
}

#corregir-banner-listado2 {
	margin: 0px -10px 0px -3px;
	padding: 0px -5px 0px 0px;
	display:inline;
}

#corregir-banner-listado3 {
	margin: 0px -7px 0px -5px;
	padding: 0px -5px 0px 0px;
	display:inline;
}
#corregir-banner-listado4 {
	margin:0px -30px 0px -14px;	
	
}
#bajo-imagen, #bajo-imagen-3{					/*stilo de la publicidad dbjo de las imagenes*/
	margin-top: 8px;
	border: 0px solid #EBECE7;
	padding: 6px;
	font-size: 10px;
	width: 120px;
	clear: both;
	overflow:hidden;
	text-align: center;
	vertical-align: middle;
	position: relative;
	/*background: green;*/
}

#bajo-imagen {
	height: 0px;
}

/*#bajo-imagen-3 {
	background:  green;
}*/

#bajo-imagen-2 {
	position:absolute;
	bottom:0;
	/*background: red;*/
}

#ad-ficha-cine {
	margin-left: 0px;
	margin-right: -40px;
	align:left;
	width: 448px;
	overflow: hidden;
}



/***************************************************************************************************/


#publi-top {
	width:789px;
	border:0px solid red;
	background: url(../_img/publi/banner-top.gif) top left no-repeat;
	margin: 4px 4px 0 4px;
	text-align:center;
	overflow: visible;
	padding: 8px 0 0 0;
}

#publi-top2 {
	width:789px;
	/*hight: 90px;*/
	border:0px solid red;
	background: url(../_img/publi/banner-top.gif) top left no-repeat;
	margin: 4px 4px 0 4px;
	text-align:center;
	overflow: visible;
	padding: 10px 0px 4px 23px;
}



#publi-top-bottom {
	width:789px;
	height:6px;
	background: url(../_img/publi/banner-top.gif) bottom left no-repeat;
	margin: 0px 4px 1px 4px;
	text-align:center;
	overflow: visible;
        font-size:1px;
}

/* Definiciones para el contenedor de los anuncios, el 3 no tiene contenedor ni bordes y por lo tanto su tamanio se define en la clase "tipo3" */

.ad-container-tipo1 { 
	/*width: 152px; muela*/
	width: 151px; 
	overflow: visible;
}

.ad-container-tipo2 { 
	width: 630px;
	/* Para ajustar a la pagina... */
	margin-left:5px; 
	overflow: visible;

}

.ad-container-tipo4 { 
	width: 472px;
	border: 0px solid yellow;
	/*overflow: hidden;*/
}

.ad-container-tipo5 { 
	padding:0;
/*	width:1em;*/
	border:0px solid green;
	display: block;
	clear:both;
	/*hight: 90px;*/
}

.ad-container-tipo1:before, .ad-container-tipo2:before, .ad-container-tipo4:before { 
	clear: both;
	display: block;
	content: ".";
	height: 0;
	visibility: hidden;
}

.ad-container-tipo1:after, .ad-container-tipo2:after, .ad-container-tipo4:after, .ad-container-tipo5:after { 
	clear: both;
	display: block;
	content: ".";
	height: 0;
	visibility: hidden;
}

/* Definicion de la clase general de la caja del anuncio */

.ad {
	width: 100%;
	border: 0px dotted black;
	overflow: hidden;
	
}

/* Truquillo para que la caja aparezca completa en torno a los anuncios, sobre todo para Firefox */

.ad:after {
	clear: both;
	display: block;
	content: ".";
	height: 0;
	visibility: hidden;
}

/*.ad { display: table; }*/

/* Utilizamos dos clases para el contenedor de elementos, una general que es ad y aqui se define la clase que los particulariza tipo 1, 2, 3
Basicamente el cambio de color estaria aqui y ...
*/

/* El tipo 1 es gris para la columna de la derecha */

.tipo1 { 
	/*border-left: 1px solid #ccc;*/

	border-right: 1px solid #ccc;
	background: #fff url(../_img/publi/right-tipo1.gif) top left repeat-y;
	width: 99.7%;
	overflow: hidden;
	padding: 0px;
	/*margin:10px;
	background-color:#FF00FF;*/
}

/* El tipo 2 es de color para la columna central arriba, donde el buscador */

.tipo2 { 
	width: 100%;
}

/* El tipo 3 es gris para la columna de la izquierda */

.tipo3 { 
	background: #efefef;
	/* El tamanio de este contenedor se define aqui mesmo */
	width:119px;
}

/* El tipo 4 es el de fondo griis para la columna de la derecha */

.tipo4 { 
	background: #efefef;
	/* El tamanio de este contenedor se define aqui mesmo */
	width:145px;
}

.tipo5 {
	border: 1px solid red;
}

/* Definimos las cabeceras y los pies para hacer los maravillosos bordes redondedados, utilizando un truco propio que utiliza un h3 para el titulo */

/* Esquema de color general en gris */

.ad-top-tipo1 {
	border:0;
	background: url(../_img/publi/top-tipo1.gif);
	
}

.ad-top-tipo1 H3 {
	font-family: Trebuchet MS, Arial, Sans-serif;
	font-size: 0.8em;
	line-height: 1.1em;
	display: block;
	padding: 3px 2px;
	margin:0 0 0 5px;
	background: url(../_img/publi/top-tipo1.gif) top right;
}

.ad-bottom-tipo1 {
	font-size:5px;
	line-height:5px;
	border:0;
	background: url(../_img/publi/bottom-tipo1.gif) bottom left;
}

.ad-bottom-tipo1-850 {
	font-size:5px;
	line-height:5px;
	border:0;
	width:850px;
	background: url(../_img/publi/bottom-tipo1-850.gif) bottom left;
}

.ad-bottom-tipo1 H3 {
	display: block;
	margin:0 0 0 5px;
	background: url(../_img/publi/bottom-tipo1.gif) bottom right;
}

/* Esquema particular para el tipo 2 */

.ad-top-tipo2 H3 {
	font-family: Trebuchet MS, Arial, Sans-serif;
	font-size: 0.8em;
	line-height: 1.1em;
	display: block;
	padding: 5px 5px 0;
	margin:0 0 0 10px;
}

.ad-bottom-tipo2 {
	font-size:10px;
	line-height:10px;
	border:0;
}

.ad-bottom-tipo2 H3 {
	display: block;
	margin:0 0 0 10px;
}

/* Definiciones genéricas para la caja de cada anuncio */

.ad-box H3 A:link, .ad-box H3 A:visited {
	color: #C30F1A;
	text-decoration:none;

}

.ad-box H5 {
	color: #151589;
}

.ad-box P A:link, .ad-box P A:visited {
	color: #666;
	text-decoration: none;
}

.ad-box P A:hover {
	text-decoration: underline;
	font-weight:normal;
	
}

.ad-box {
	font-family: Trebuchet MS, Arial, Sans-serif;
	float: left;
	margin: 1px; 
	padding: 0px;
	display: block;
	font-size:12px;
		
	
		
	
}

.ad-box IMG {
	float:left;
	display: block;
	border: 0px solid red;
}

.ad-box H3 {
	font-size:12px;
	font-weight:bold;
	float:left;
	display:block;
	border: 0px solid red;
	margin: 0;
	padding: 2px 5px;
	line-height:13px;
	width:130px;
}

.ad-box H5 {
	font-size:11px;
	font-weight:bold;
	float:left;
	display:block;
	border: 0px solid red;
	margin: 0;
	padding: 0px 5px;
	line-height:11px;
	width:130px;
}


.ad-box P {
	font-size:11px;
	float:left;
	display:block;
	border: 0px solid red;	
	margin: 0;
	padding: 0px 5px;
	line-height:11px;
}

.ad-box H3 A, .ad-box H5 A, .ad-box P A {
	padding:0;
	margin:0;
	display: inline;
}

.ad-box A.link {
	display:block;
	padding: 5px 0;
}




/* Definiciones específicas para la caja de texto de cada anuncio */

.txt-t2 {
	clear: left;
	width:120px;
	border: 1px solid #aaa;
}

.txt-t3 {
	width:151px;	
}

.txt-t4 {
	clear: left;
	width: 210px;
}

.ad-container-tipo4 .tipo1 .ad-box {
	border: 0px dotted #f00;
	padding: 4px 4px 0 0px;

}

.ad-container-tipo1 .tipo1 .ad-box {
	border: 0px dotted #f00;
	padding: 3px 0 0 3px; 	
}

.ad-container-tipo2 .tipo2 .ad-box {
	border: 0px dotted #f00;
	padding: 4px 0 0 5px;
}

IMG.img-t4 {
	height: 100px;
	border: 0px solid #aaa;
}

IMG.img-t2 {
	height: 70px;
	padding: 2px;
	border: 1px solid #999;
}

IMG.img-t7 {
	display: block;
	border: 0px solid red;
}

P.txt-t2 {
	border: 1px solid #aaa;
	width: 124px;
	border-top: 0px;	
	padding:5px;
}

H3.txt-t2 {
	border: 1px solid #aaa;
	border-bottom: 0px;
	width: 128px;
	border-top: 0px;
	padding: 10px 1px 5px 5px;
  	text-decoration: underline;
  	color:#aaa;
}
H5.txt-t2 {
	border: 1px solid #aaa;
	border-bottom: 0px;
	width: 128px;
	border-top: 0px;
	/*padding: 10px 1px 5px 5px;  	*/
}

A.link-t2 {
	color: #2e2e2e;
	text-decoration: underline;
	display:inline;
}
.right-txt {
	margin-bottom:6px;
}
.right-txt IMG {
	border: 1px solid #aaa;
	padding: 2px;
	height: 70px;
}

.right-txt H3 {
	color: #920005;
	text-decoration: underline;
	font-size: 12px;
}

.right-txt P {
	color: #7c7966;
	padding: 0px 5px 5px;
}

.right-txt A {
	padding: 4px 0px;
	color: #86a202;	
}

H3.txt-t4 {
	color: #920005;
	text-decoration: underline;
	font-size: 12px;
	line-height:11px;
}

P.txt-t4 {
	color: #7c7966;
	line-height:11px;
}

A.link-t4 {
	color: #86a202;
}

/* Definiciones específicas para la caja de texto para Google adSense, sobre todo hacerla sin padding para que se ajuste al tamanio que define Google */

P.script-468-60 {
	width:468px;
	padding:0px;
	background: #eee;
	border: 0px solid grey;
}

P.script-728-90 {
	width:728px;
	padding:0px;
	background: #eee;
	border: 0px solid grey;
}

P.script-120-600 {
	width:120px;
	padding:0px;
	background: #eee;
	margin:10px;
	background-color:#0000FF;

	/*///////////////////////border=0*/
	border: 0px solid grey;
} 




/* Truquillo para que los elementos hagan float juntos a la izquierda adecuadamente teniendo en cuenta la imagen */	

.right-txt { width: 297px; }

/* Un clear both para separar lineas si es necesario... */

.clear { clear: both; }



