html,body{
margin:0;
padding:0;
}
body{font: 76% 'Trebuchet MS', Tahoma, Sans-serif;color:#666666;
	background-image: url(img/fons.gif);
	background-repeat: repeat-y;
	background-color: #EEEEEE;}
	
	
p{margin:0 0px 0px}
a{color: #3c97f0;}


/* Cabecera */

div#headerhome{ 
	height:120px; margin:0;padding:0;
	background: #fff url(img/headhome.gif);
   }
   
   div#headerhome p{
	padding-top:8px;
	padding-left:600px;
	font-family: 'Trebuchet MS', Tahoma, Sans-serif;
	color: #7f7f7f;
	font-size: 90%;	
	font-weight: normal;
   }
   

   
div#headerhome p a{
	color: #7f7f7f;
	text-decoration:none;
   }
   
div#headerhome p a:hover{
	color: #3387cc;
	text-decoration:underline;
 
   }

div#header{ 
	height:138px; margin:0;padding:0;
	background: #fff url(img/head.gif);
   }
   
div#header p{
	padding-top:90px;
	padding-left:60px;
	font-family: 'Trebuchet MS', Tahoma, Sans-serif;
	color: #7f7f7f;
	font-size: 100%;	
	font-weight: normal;
   }
   
div#header p a{
	color: #7f7f7f;
	text-decoration:none;
   }
   
div#header p a:hover{
	color: #3387cc;
	text-decoration:underline;
 
   }
   
   
div#container{
	text-align:left;
	width:826px;
	margin:0;
	padding:0px 0px 0 18px;
	}
	
div#content p{
	line-height:1.6
	}

div#extra{}


div#footer{
	color: #999999;
	padding:10px 10px 0 66px;
	font: 10px 'Trebuchet MS', Tahoma, Sans-serif;
	text-align: center;
	text-decoration:none;
	width:510px;
		}
	
div#footer a{
	color: #999999;
	text-decoration:none;
	}
	
div#footer a:hover{
	color: #999999;
	text-decoration:underline;
	}
div#footer p{
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #cccccc;
		}
	





div#headcontent{float:left;width:700px;background:transparent;padding:10px 30px 0 65px;}
div#content{float:left;width:500px;background:transparent;padding:10px 30px 0 66px;}
div#navigation{float:right;width:200px;background:transparent;}
div#fons{float:left;background:transparent url(img/fons.jpg) repeat-x top left; }
div#fonsacerca{float:left;background:transparent url(img/fonsacerca.gif) repeat-x top left; }

div#extra{clear:both;width:100%}





/* Navigation */



#stylefour{position:relative;display:block;height:61px;font-size:13px;background:transparent url(img/bgOFF.gif) repeat-x top left;font-family:'Trebuchet MS', Tahoma, Sans-serif;border-top:1px solid #d2d2d2;}
#stylefour ul{margin:0px;padding-left:0;list-style-type:none;width:auto;}
#stylefour ul li{display:block;float:left;margin:0;}
#stylefour ul li a{display:block;float:left;color:#3387cc;text-decoration:none;padding:10px 8px 0 8px;height:50px;background:transparent url(img/bgDIVIDER.gif) no-repeat top right ;}
#stylefour ul li a:hover,#stylefour ul li a.current{color:#010305;background:transparent url(img/bgDIVIDER.gif) no-repeat top right ;}



/* Submenu */


#menucase ul.vert{margin:0;padding:0;list-style-type:none;display:block;font:13px 'Trebuchet MS', Tahoma, Sans-serif;line-height:230%;}
#menucase ul.vert li{
	color:#000000;
	margin:0;
	padding:0;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: none;
	border-bottom-style: dotted;
	border-bottom-color: #b3b3b3;
}
#menucase ul.vert li a{display:block;text-decoration:none;color:#000000;background:#fff url(img/form_off.gif) no-repeat 0 4px;padding:0 0 0 25px;}
#menucase ul.vert li a:hover{color:#000000;background:#fff url(img/form_on.gif) no-repeat 0 4px;}
#menucase ul.vert li a.current,ul.vert li a.current:hover{color:#000000;background:#fff url(img/form_on.gif) no-repeat 0 4px;}


/* botones */

      a.button {

      background: transparent url(img/bg_button_a.gif) no-repeat scroll top right;

      color: #191919;

      display: block;

      float: left;

      font: bold 12px 'Trebuchet MS', Tahoma, Sans-serif;

      height: 24px;

      margin-right: 6px;

      padding-right: 18px; /* sliding doors padding */

      text-decoration: none;

      }

       

      a.button span {

      background: transparent url(img/bg_button_span.gif) no-repeat;

      display: block;

      line-height: 14px;

      padding: 5px 0 5px 18px;

      }

      a.button:active {

      background-position: bottom right;

      color: #000;

      outline: none; /* hide dotted outline in Firefox */

      }
	  
	        a.button:hover {

      color: #3895f0;

      display: block;

      float: left;

      font: bold 12px 'Trebuchet MS', Tahoma, Sans-serif;

      }

       

      a.button:active span {

      background-position: bottom left;

      padding: 6px 0 4px 18px; /* push text down 1px */

      }



/* florutura */

#apDiv1 {
	position:absolute;
	left:17px;
	top:65px;
	width:129px;
	height:220px;
	z-index:1;
}

/* boton home */

#boton {
	position:absolute;
	left:450px;
	top:120px;
	width:250px;
	height:50px;
	z-index:1;
}


/* MENU HORITZONTAL REGISTRES */


.rhm1{
	width:700px;
	height:64px;
	margin:0 auto;
	background:url(img/rhm1_bg.gif) repeat-x;		
}
.rhm1-left{
	background:url(img/rhm1_l.gif) no-repeat;
	width:15px;
	height:64px;
	float:left;
}
.rhm1-right{
	background:url(img/rhm1_r.gif) no-repeat;
	width:15px;
	height:64px;
	float:right;
}
.rhm1-bg{
	background:url(img/rhm1_bg.gif) repeat-x;
	height:64px;
}
.rhm1-bg ul{
	list-style:none;
	margin:0 auto;
}
.rhm1-bg li{
	float:left;
	list-style:none;
}
.rhm1-bg li a{
	float:left;
	display:block;
	color:#000000;
	text-decoration:none;
	font:12px ;
	font-weight:bold;
	padding:0 0 0 18px;
	height:64px;
	line-height:40px;
	text-align:center;
	cursor:pointer;	
}
.rhm1-bg li a span{
	float:left;
	display:block;
	padding:0 32px 0 18px;
}
.rhm1-bg li.current a{
	color:#4a4a4a;
	background:url(img/rhm1_hover_l.gif) no-repeat left 5px;
}
.rhm1-bg li.current a span{
	color:#4a4a4a;
	background:url(img/rhm1_hover_r.gif) no-repeat right 5px;
}
.rhm1-bg li a:hover{
	color:#000000;
	background:url(img/rhm1_hover2_l.gif) no-repeat left 5px;
}
.rhm1-bg li a:hover span{
	color:#000000;
	background:url(img/rhm1_hover2_r.gif) no-repeat right 5px;
}






/* agenda */
table{
		border: 1px solid #aeaeae;
		color: #2b2b2b;
	}
	tr td{
		padding: 3px 8px;
		background: #fff;
	}
	thead td{
		color: #fff;
		background-color: #ff6600;
		font-weight: bold;
		
	}
	tbody td{
			border-left: 1px solid #D9D9D9;
	}
	tbody tr.even td{
		background: #eee;
	}
	tbody tr.selected td{
		background: #eceeec;
	
	}
	tbody tr.ruled td{
		color: #000;
		background-color: #C6E3FF; 
		font-weight: bold;
		border-color: #3292FC;
	}
	
	
	
	
	
	
	
	
	/*Forms defaults*/
input, textarea {
	font-family:'Trebuchet MS', Tahoma, Sans-serif;
	font-size:12px;
	color:#404040;
}
label {
	color:#999;
	cursor:pointer;
	padding-left:2px;
	line-height:15px;
	vertical-align:top;
}
label.chosen {
	color:#333;
}

/*Transparent items*/
.transparent {
	filter:alpha(opacity=0);
	-moz-opacity:0;
	opacity: 0;
	border:0px solid #FFF;
	background:#FFF;
	z-index:10;
	cursor:pointer;
}
.transparentFake {
	background:none;
	border:none;
}
.transparent2 {
	z-index:10;
}

/*Radio buttons*/
.radioAreaUnchecked, .radioAreaChecked {
	z-index:5;
	position:absolute;
	width:15px;
	height:15px;
	cursor:pointer;
}
.radioAreaUnchecked {
	background:url(img/radio.gif) no-repeat left top;
}
.radioAreaChecked {
	background:url(img/radio.gif) no-repeat left bottom;
}

/*Checkboxes*/
.checkboxAreaUnchecked, .checkboxAreaChecked {
	z-index:5;
	position:absolute;
	width:14px;
	height:14px;
	cursor:pointer;
}
.checkboxAreaUnchecked {
	background:url(img/checkbox.gif) no-repeat left top;
}
.checkboxAreaChecked {
	background:url(img/checkbox.gif) no-repeat left bottom;
}

/*Text inputs*/
.textinput, .textinputHovered {
	width:200px;
	height:15px;
	background:url(img/input.gif) no-repeat left top;
	border:none;
	padding:4px 8px;
}
.textinputHovered {
	background-position:left bottom;
}

/*Text inputs2*/
.textinput2, .textinputHovered {
	width:35px;
	height:15px;
	background:url(img/input2.gif) no-repeat left top;
	border:none;
	padding:4px 8px;
}
.textinput2Hovered {
	background-position:left bottom;
}

/*Text areas*/
.textarea, .textareaHovered {
	width:336px;
	height:125px;
	background:url(img/textarea.gif) no-repeat left top;
	border:none;
	padding:4px 8px;
}
.textareaHovered {
	background-position:left bottom;
}

/*Selects*/
.selectArea {
	width:200px;
	height:21px;
	background:url(img/select_bg.gif) repeat-x left top;
}
.selectArea .left {
	width:8px;
	height:21px;
	float:left;
	background:url(img/select_left.gif) no-repeat left top;
}
.selectArea .right {
	width:21px;
	height:21px;
	float:right;
	background:url(img/select_right.gif) no-repeat left top;
}
.selectArea .right a {
	display:block;
	width:21px;
	height:21px;
}
.selectArea .right i {
	display:none;
}
.selectArea .center {
	width:160px;
	margin-left:5px;
	margin-right:20px;
	color:#FFF;
	padding-top:3px;
}

/*Selects drop-down*/
.optionsDivInvisible, .optionsDivVisible {
	position:absolute;
	margin-top:-1px;
	margin-left:3px;
	width:172px;
	background:#6f7074;
	padding:2px;
	font-size:11px;
	z-index:20;
}
.optionsDivInvisible {
	display:none;
}
.optionsDivVisible {
	display:block;
}
.optionsDivVisible p {
	margin:0;
	padding:0;
}
.optionsDivVisible a {
	color:#F2F2F2;
	text-decoration:none;
	display:block;
	padding:1px 4px;
	border:1px solid #6f7074;
}
.optionsDivVisible a:hover {
	color:#FFF;
	background:#5F6062;
	border-color:#cfd0d6;
}

/*Button*/
.buttonSubmit, .buttonSubmitHovered {
	width:200px;
	height:26px;
	color:#191919;
	font-weight:bold;
	padding:2px 5px;
	background:url(img/button.gif) no-repeat left top;
	cursor:pointer;
	border:none;
}
.buttonSubmitHovered {
	background-position:left bottom;
}

/*Test div - testing if stylesheets are enabled*/
#stylesheetTest {
	position:absolute;
	left:-999px;
	width:10px;
	height:10px;
}
	

