@import url("default.css");

body  {
	background: url("formato/bg234d62.gif") repeat-y;
	text-align: center; /* this centers the layout in IE 5* browsers. The text is then set to the left aligned default in the #layout selector */
}
#layout { 
	width: 780px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #fff;
	margin: 20px auto; /* the auto margins (in conjunction with a width) center the page */
	border: 3px solid #333;
	text-align: left; /* this overrides the text-align: center on the body element. */
} 
#header { 
/*	padding: 10px 10px 0px 10px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
} 
#header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	font-variant: normal;
	font-size: 18pt;
	color: #69f
}
#header p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
#menubar {
	width: auto; /* si ponemos width=100% hay un problema con las barras hechas con UL se rompen al imprimir la página si sobrepasan el ancho imprimible */
	margin: auto 1px;
}
#menubar ul { 
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#menubar ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	position: relative;
	float: left;
}
#page {
	margin: 0;
	padding: 0;
}
.trescol #leftcol {
	width: 120px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: #fff; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 15px 10px 15px 10px; /* padding keeps the content of the div away from the edges */
	vertical-align: top;
	border-right: 1px solid #999;
}
.trescol #rightcol {
	width: 120px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: #fff; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 15px 10px 15px 10px; /* padding keeps the content of the div away from the edges */
	vertical-align: top;	
	border-left: 1px solid #999;
}
.trescol #maincol { 
	vertical-align: top;
	padding: 10px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
} 
.doscol #leftcol {
	width: 150px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: #fff; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 15px 10px 15px 10px; /* padding keeps the content of the div away from the edges */
	vertical-align: top;
	border-right: 1px solid #999;
}
.doscol #maincol { 
	vertical-align: top;
	padding: 10px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
} 
#footer { 
	padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	border-top: 1px solid #999;
	background: #eff;
	font-size: 7pt;
} 
#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	text-align: center;
	font-weight: bold;
}
.rightfloat { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.leftfloat { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a layout that should fully contain a float */
	clear:both;
	height:0px;
	font-size: 1px;
	line-height: 0px;
}
/* mensaje de bienvenida */
#welcome {
	background: url(../images/pizarra_300x240.jpg) center center no-repeat;
	color: #fff;
	width: 300px;
	height: 240px;
	padding: 0px;
	margin: 0 auto;
}
#welcome .mensaje {
	font: 14pt "Comic Sans MS", cursive, serif;
	color: #fff;
	padding: 10px;
}
#welcome .mensaje a {
	font: bold 8pt Verdana, Arial, Helvetica, sans-serif;
	text-decoration: none;
	color: #f63;
}
#welcome .mensaje a:link {
	text-decoration: none; 
	color: #f63;
}
#welcome .mensaje a:visited {
	text-decoration: none; 
	color: #f63;
}	
#welcome .mensaje a:active {
	text-decoration: none;
	color: #f63;
}

#welcome .mensaje a:hover {
	text-decoration: underline;
	color: #f63;
}
