/* andreas03 - an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com . Free to use for any purpose as long as the proper credits are given to the original author.

Version: 1.2
(Nov 28, 2005)

Screen layout: */

body{
margin:0;
padding:30px 0;
font:76% tahoma,verdana,sans-serif;
background:#047 url(img/bodybg.png) repeat-x fixed;
color:#222;
}

#thetop{
    margin: auto;
    height: 10px;
}

#container{
	width:720px;
	background:#fff url(img/contbg.png) no-repeat;
	color:#222;
	padding-top: 20px;
	padding-right: 20px;
	padding-bottom: 0;
	padding-left: 20px;
	margin: auto;
}

a{
text-decoration:none;
background-color:inherit;
color:#26c;
}

a:hover{
text-decoration:underline;
}

a img{
border:0;
}

p{
margin:0 0 15px 0;
line-height:1.5em;
}

#main p,#sidebar p{
padding:0 0 0 0px;
}

#logo{
    padding: 0 0 0px 0;
    background-position: 0% 0%;
    float: left;
    width: 495px;
    border: 1px solid #dde;
    text-align: center;
    color: #555;
    overflow: auto;
    margin-top: 0;
    margin-right: 0px;
    margin-bottom: 0;
    height: 140px;
    background-attachment: inherit;
    background-color: #eee;
    background-image: url('Images/CABECERAp.jpg');
    background-repeat: no-repeat;
}

#logo h1{
margin:50px 5px 1px 5px;
letter-spacing:-3px;
    height: 60px;
}

#logo a{
background-color:inherit;
color:#26a;
text-decoration:none;
}

#logo a:hover{
background-color:inherit;
color:#69e;
}

#tagline{
text-align:center;
font-size:1.2em;
}

#intro p{
line-height:1.5em;
}

#main{
	float:right;
	width:498px;
	margin-right:0px;
	padding:0;
	clip: rect(auto,0px,auto,100px);
	margin-left: 0px;
}

.headerstyle{
    background-position: #eee url(img/fondo3.png) no-repeat;
    display: block;
    margin: 10px 0 10px 0;
    padding: 5px 0 5px 8px;
    background: #eee url(img/fondo3.png) no-repeat;
    color: #222;
    border-top: 1px solid #ddd;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    border-left: 1px solid #ddd;
    text-decoration: none;
    height: 18px;
    border-style: none;
    font-size: 13px;
    font-weight: bold;
    font-family: "Times New Roman", Times, serif;
}

#sidebar{
	width:176px;
	float:left;
	margin-top:20px;
	font-size:1em;
	line-height:1.3em;
	margin-right: 14px;
	padding: 0px;
}

#sidebar p{
font-size:0.9em;
    width: 174px;
    height: 21px;
}

.sidelink{
display:block;
width:166px;
margin:3px 10px 2px 0;
padding:5px 0 5px 8px;
font-size:1.1em;
font-weight:bold;
text-align:left;
background:#eee url(img/gradient1.png) repeat-x;
color:#26c;
border-top:1px solid #ddd;
border-right:1px solid #bbb;
border-bottom:1px solid #bbb;
border-left:1px solid #ddd;
}

.sidelink:hover,.menuheader{
    background-position: #fff url('img/fondo2.png') no-repeat;
    background: #fff url('img/fondo2.png') no-repeat;
    color: #222;
    border-top: 1px none #ddd;
    border-right: 1px none #888;
    border-bottom: 1px solid #B1DF76;
    border-left: 1px none #ddd;
    text-decoration: none;
    height: 11px;
    font-size: 12px;
    font-family: "Times New Roman", Times, serif;
    font-weight: bold;
}

#footer{
margin:0 auto 20px auto;
width:760px;
background:#fff url(img/footerbg.png) bottom left no-repeat;
padding:0 0 5px 0;
font-size:0.9em;
color:#888;
text-align:center;
}

h1,h2,h3,h4{
margin:0 0 10px 0;
font-weight:normal;
}

h1{
font-size:2.8em;
}

h2{
margin:0 0 4px 0;
font-size:1.8em;
    height: 14px;
}

h3{
    margin: 20px 0 8px 0;
    font-size: 1.3em;
}

h4{
margin:0px 0 0px 0;
font-size:0.2em;
}

.clear{
    clear: both;
    margin: 0;
    }

.right{
text-align:right;
}

.internallink{
font-size:0.9em;
text-align:center;
}

.block{
    background-position: #eee;
    padding: 20px;
    background: #FFFFFF;
    color: #222;
    border: 1px solid #CCCCFF;
}

.credit{
color:#888;
background-color:inherit;
}

.hide{
display:none;
}

/* Original open source design by Andreas Viklund - http://andreasviklund.com
Released through OSWD.org */
#container2
{
    background-position: #fff url(img/contbg2.png) no-repeat;
    width: 505px;
    background: #fff url(img/contbg2.png) no-repeat;
    color: #222;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 0;
    padding-left: 20px;
    margin: auto;
    background-attachment: inherit;
}
#footer2
{
    margin: auto;
    width: 545px;
    background: #fff url('img/footerbg2.png') no-repeat left bottom;
    padding: 0px;
    font-size: 0.9em;
    color: #888;
    text-align: center;
    height: 15px;
}
#logo2
{
    padding: 0 0 0px 0;
    background-position: 0% 0%;
    float: left;
    width: 496px;
    border: 1px solid #dde;
    text-align: center;
    color: #555;
    overflow: auto;
    margin-top: 0;
    margin-right: 0px;
    margin-bottom: 0;
    height: 138px;
    background-attachment: inherit;
    background-color: #eee;
    background-image: url('Images/CABECERAp.jpg');
    background-repeat: no-repeat;
}
#containerp
{
    padding: 10px 10px 0 10px;
    width: 740px;
    background: #fff url(img/contbg3.png) no-repeat;
    color: #222;
    margin: auto;
}
#mainp
{
    float: right;
    width: 740px;
    margin-right: 0px;
    padding: 0;
    clip: rect(auto, 0px, auto, 0px);
    margin-left: 0px;
    left: 0px;
}
#logo3
{
    border-color: #dde #dde #FFFFFF #dde;
    padding: 0 0 0px 0;
    background-position: 0% 0%;
    float: left;
    width: 738px;
    text-align: center;
    color: #555;
    overflow: auto;
    margin-top: 0;
    margin-right: 0px;
    margin-bottom: 0;
    height: 155px;
    background-attachment: inherit;
    background-color: #FFFFFF;
    background-repeat: no-repeat;
}
