/* ALFANET87. net.  Plantilla CSS 

Version: 1.0
(Abril 25, 2006)

Screen layout: */

body {
	margin: 0 auto;
	padding: 0;
	font: 76% Verdana,Tahoma,Arial,sans-serif;
	background-image: url(../imagen/bg3_2011.jpg);
	background-repeat: repeat-y;
	background-position: center;
}

#wrap {
	color: #303030;
	width: 805px;
	margin-top: 0;
	margin-bottom: 0;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFFFFF;
	background-image: url(../imagen/wrap_fons.jpg);
	background-repeat: repeat-y;
}

#banner {
	left:498px;
	top:37px;
	width:390px;
	height:70px;
	z-index:1;
	text-align: center;
	vertical-align: middle;
	float: right;
	display: inline;
	margin-right: 1px;
	margin-top: 15px;
}

#menuSup {
	width: 800px;
	background-color: #707070;
	padding-top: 2px;
	padding-bottom: 2px;
	text-align: right;
	margin-top: 2px;
	margin-bottom: 2px;
}
#menuInf {
	width: 800px;
	margin-top: 0px;
	margin-bottom: 2px;
	padding-top: 4px;
	padding-bottom: 2px;
	margin-right: 0px;
	margin-left: 0px;
	padding-right: 0px;
	padding-left: 0px;
	text-align: right;
	height: 25px;
	background-color: #066A9C;
}



#menuSup a:link, #menuSup a:visited, #menuSup a:active {
	text-decoration: none;
	color: #FFFFFF;
	border-left: 3px solid #FFFFFF;
	background-color: #707070;
	padding: 4px;
}
#menuInf a img {
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #066A9C;
}
#wrap #menuInf a:hover img {
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #CCF;
}

#menuSup a:hover {
	background-color: #9A9A9A;
	text-decoration: none;
	color: #FFFFFF;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #FF9900;
}
#header {
	clear: both;
	margin: 5px 0 0;
	padding: 0;
	height: 25px;
	background-color: #FF9900;
}
#titol {
	width: 800px;
	height: 100px;
	position: relative;
	background-image: url(imatges/tit_portal_ini.jpg);
	background-repeat: no-repeat;
	padding: 0px;
}
#titol img {
	position: absolute;
	top: 0px;
	bottom: 0px;
	width: 800px;
	left: 0;
}



#header h1 {
width: 250px;
margin: 0 0 10px 0;
float: left;
}

#header p {
width: 500px;
float: right;
text-align: center;
color: #a0a0a0;
margin: 0 0 10px 0;
font-size: 0.8em;
line-height: 1em;
}

#header a {
	width: 100px;
	text-align: right;
	color: #FFFFFF;
	margin: 0 0 10px;
	font-size: 1em;
	padding: 6px;
}

#header a:hover {
	width: 100px;
	text-align: right;
	color: #FFFFFF;
	margin: 0 0 10px;
	font-size: 1em;
	background-color: #FF9933;
	text-decoration: none;
	padding: 6px;
	border-bottom-width: thin;
	border-bottom-style: dotted;
	border-bottom-color: #FFFFFF;
}

#frontphoto {
	margin: 0 0 10px;
	border: 0;
}

#avmenu {
	float: left;
	width: 150px;
	font-size: 0.9em;
	margin-top: 0;
	margin-right: 0;
	float: left;
	padding: 6px;
}
#avmenu h1 {
	font-size: 1.1em;
	padding-top: 4px;
	color: #036;
	margin-right: 0px;
	margin-left: 0px;
	margin-bottom: 12px;
	padding-bottom: 4px;
	margin-top: 4px;
	padding-right: 0px;
	padding-left: 0px;
	border-right-width: 0px;
	border-bottom-width: 2px;
	border-left-width: 0px;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-bottom-color: #066A9C;
	text-align: center;
	letter-spacing: 0.2em;

}

#avmenu h2 {
	font-size: 1.1em;
	height: 16px;
	width: 150px;
	padding-right: 0px;
	padding-bottom: 1px;
	margin: 2px 0px;
	padding-top: 1px;
	color: #666666;
	padding-left: 0px;
	letter-spacing: 0.1em;
	text-decoration: none;
	border: 0px none #CCCCCC;
}

#avmenu h2 a{
	height: 16px;
	width: 150px;
	margin: 0px;
	border-top: 0px solid #CCCCCC;
	border-right: 0px solid #CCCCCC;
	border-bottom: 1px groove #CCCCCC;
	border-left: 0px solid #CCCCCC;
	color: #666666;
	letter-spacing: 0.1em;
	text-decoration: none;
	display: block;
	padding: 0px;
}

#avmenu h2 a:hover{
	height: 16px;
	width: 150px;
	margin: 0px;
	color: #FFFFFF;
	letter-spacing: 0.1em;
	background-color: #999999;
	text-decoration: none;
	display: block;
	padding: 0px;
	border-top: 0px none #CCCCCC;
	border-right: 0px none #CCCCCC;
	border-bottom: 1px groove #CCCCCC;
	border-left: 0px none #CCCCCC;
}


.announce {
margin: 10px 0 10px 5px;
padding: 10px;
width: 125px;
color: #505050;
background-color: #f4f4f4;
line-height: 1.3em;
}

#extras {
	float: right;
	width: 120px;
	font-size: 0.9em;
	line-height: 1.5em;
	background-color: #F0F0F0;
	margin-top: 0px;
	margin-right: 4px;
	margin-bottom: 2px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 2px;
	padding-bottom: 0px;
	padding-left: 2px;
}

#extras a {
text-decoration: none;
color: #006699;
}


#extras a:hover {
	background-color: #FFFFFF;
}


#extras p {
	margin: 1px 0 0;
	padding-right: 5px;
	padding-left: 5px;
}
#extras h1 {
	background-color: #9F9F9F;
	font-size: 1.2em;
	padding-top: 1px;
	padding-bottom: 1px;
	margin-bottom: 4px;
	text-align: center;
	color: #FFFFFF;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: dotted;
	border-bottom-style: dotted;
	border-top-color: #006699;
	border-bottom-color: #006699;
	letter-spacing: 0.1em;
}


#content {
	line-height: 1.1em;
	margin-top: 0;
	margin-right: 5px;
	margin-left: 165px;
	color: #666666;
	text-align: left;
	float: none;
	position: relative;
	display: block;
	width: 480px;
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCCCCC;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CCCCCC;
}
#content p {
	font-size: 0.9em;
	color: #666666;
}


#content h2 {
	font-size: 1.2em;
	color: #666666;
	padding: 2px;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	border: 1px solid #006699;
	letter-spacing: 0.2em;
	background-color: #FFFFFF;
	margin-bottom: 0px;
}

h3 {
font-size: 1.3em;
margin: 0 0 10px 0;
}

#content h3 {

	margin: 0 0 0.5em 0;
	font-size: 1.1em;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #FF9A00;
	color: #FF9900;
}

#content a {
text-decoration: none;
color: #006699;
}

#content a:hover {
text-decoration: underline;
color: #003366;
}

a img {
border: 0;
}

#footer {
	clear: both;
	margin: 0 auto;
	padding: 5px 0;
	border-top: 1px solid #CCCCCC;
	width: 790px;
	text-align: center;
	color: #808080;
	font-size: 0.9em;
	background-color: #FFF;
}

#footer a {
color: #808080;
text-decoration: none;
}

#footer a:hover {
text-decoration: underline;
}

.left {
margin: 10px 10px 5px 0;
float: left;
}

.right {
margin: 10px 0 5px 10px;
float: right;
}

.textright {
text-align: right;
}

.center {
text-align: center;
}

.small {
font-size: 0.8em;
}

.bold {
font-weight: bold;
}
#migesquerra {
	width: 220px;
	margin-right: 4px;
	float: left;
	display: block;
	z-index: 1;
	padding: 3px;
	border: 1px none #E9E9E9;
}
#migdreta {
	width: 220px;
	margin-left: 6px;
	float: right;
	z-index: 2;
	display: block;
}
#migmig {
	width: 98%;
	margin-top: 6px;
	margin-left: 2px;
	margin-right: 2px;
	z-index: 1;
	text-align: left;
	display: block;
	float: left;
}


.hide {
display: none;
}

