/*
* Hoja de estilos que contiene estilos globales comunes a todas las aplicaciones.
*/

/* modelos de caja */
DIV {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

SPAN {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/* separador */
DIV.cmClear {
	margin: 0;
	padding: 0;
	clear: both;
} 

/* clase para señalar errores */
.error {
	color: red;
}

/** 
 * Indicamos el estilo de las imagenes debido a los cambios de accesibilidad
 * en los tags de la suite proxia.
 */
IMG {
    border: 0px;
}

.cmEmbedImageright {
    float: right;
}

.cmEmbedImageleft {
    float: left;
}

.cmEmbedImagemiddle, A.cmEmbedImagemiddle IMG {
	vertical-align: middle;
}

.cmEmbedImagebottom, A.cmEmbedImagebottom IMG {
	vertical-align: bottom;
}

.cmEmbedImagetop, A.cmEmbedImagetop IMG {
	vertical-align: top;
}

.cmEmbedImagetexttop, A.cmEmbedImagetexttop IMG {
	vertical-align: text-top;
}

.cmEmbedImagebaseline, A.cmEmbedImagebaseline IMG {
	vertical-align: baseline;
}

/* 
* Alineamiento horizontal (atributo text-align)
*/
.cmAlignright {
	text-align: right;
}
.cmAlignleft {
	text-align: left;
}
.cmAligncenter {
	text-align: center;
}
.cmAlignjustify {
	text-align: justify;
}

/**
*  Se asocian los estilos al párrafo paar qe no haya conflicto con estilos pro defecto
*/
P.cmAlignright {
	text-align: right;
}
P.cmAlignleft {
	text-align: left;
}
P.cmAligncenter {
	text-align: center;
}
P.cmAlignjustify {
	text-align: justify;
}

/*
* Alineamiento vertical (atributo valign)
*/
.cmVAligntop {
	vertical-align: top;
}
.cmVAlignmiddle {
	vertical-align: middle;
}
.cmVAlignbottom {
	vertical-align:  bottom;
}

P.cmVAligntop {
	vertical-align: top;
}
P.cmVAlignmiddle {
	vertical-align: middle;
}
P.cmVAlignbottom {
	vertical-align:  bottom;
}
/*
* Anchos de los elementos (atributo width)
*/
.fullWidth {
	width: 100%;
}
.halfWidth {
	width: 50%;
}

/*
* Altura de los elementos (atributo height)
*/
.fullHeight {
	height: 100%;
}

/*
* Estilos generico para las tablas y celdas del layout
* (necesarios en cada proyecto, no modificar)
*/
TABLE.portalLayoutTable {
	width: 100%;
	border-collapse: collapse;
	vertical-align: top;
	border: 0;
}

TD.portalLayoutCell {
	vertical-align: top;
	padding: 0;
}

/**
* Estilos genericos para las tabls que contienen los banners
*/
TABLE.cmHorizontalBannersTable {
	border: 0;
	border-collapse: collapse;
}

TABLE.cmHorizontalBannersTable TD {
	padding: 0;
}

/* icono para los enlaces de popups */
IMG.cmPopupIcon {
	margin-left: 2px;
	vertical-align: middle;
}
/* texto para las imagenes de los enlaces de popups */
SPAN.cmPopupText {
	border: 1px solid #666;
	background-color: #efefef;
	padding: 0.3em 0.5em 0.3em 0.5em;
	color: #333;
	text-decoration: none !important;
	text-align: left;
	font-weight: normal;
}

A SPAN.cmPopupText {
	display: none;
}

A.cmContentImageLink,
A.cmZoomedImageLink {
	position: relative;
}

A:hover SPAN.cmPopupText,
A.cmContentLink:hover SPAN.cmPopupText,
A.cmZoomedImageLink:hover SPAN.cmPopupText {
	display: block;
	position: absolute;
	top: 0px;
	left: 1px; 
	width: auto;
	height: auto;
	font-weight: normal;
	text-decoration: none !important;
	font-size: 0.9em;
	z-index: 9999;
}
A:hover SPAN.cmPopupText[class],
A.cmContentLink:hover SPAN.cmPopupText[class],
A.cmZoomedImageLink:hover SPAN.cmPopupText[class] {
	top: auto;
	bottom: 0px;
}

/* estilos genéricos para el scroll */
DIV.cmScrollActions {
	bottom: 0px;
	right: 0px;
	z-index: 10000;
}

UL.cmScrollContentList {
	height: 8em;
}

/* estilos para las imagenes alternativas de los banners */
DIV.cmBannersRelativePosition {
    position: relative;
}

DIV.cmHorizontalBannersRelativePosition {
    position: relative; 
    float: left;
}

DIV.cmEnlargeImageBannerLeft {
    display: none; 
    position: absolute; 
    left: 0px;
    top: 0px;
}

DIV.cmEnlargeImageBannerRight {
    display: none; 
    position: absolute; 
    right: 0px;
    top: 0px;
}


