html{
	height:auto;
}
body {
    font-size: 13px;
    font-family: Lucida Grande,'Geneva',Arial,Trebuchet,Verdana,Helvetica,sans-serif;
    margin: 0;
    padding: 0;
	background-image: url('fondo.jpg');
	background-position: center;
	background-attachment: fixed;
	background-repeat:no-repeat;
	overflow:auto;
}
a, a:link, a:visited {
	color: #000;
	outline: none;
}
a:hover {
	color: #000000;
}
hr {
	border: 1px solid #90a2c9;
	margin: 5px;
}

/*====================================*/
/* DIV que forman el esqueleto basico */
/*====================================*/
#main {
    border: 1px solid black;
    margin: 4px auto;
    margin-top: 0px;
    /*margin-left: 20px !important;
    margin-right: 20px !important;*/
    width: 960px;
    position: relative;
    z-index: 0;
}
#head {
	border: 1px dotted;
    margin: 4px;
    margin-top: 0px;
    padding: 2px;
}
	.text_head {
		color: #0f4685;
		font-size:11px;
	}
#body {
    border: 0px solid white;
    margin: 2px auto !important;
    padding: 2px;
    overflow: visible;
}
#text {
    margin: 2px 4px 0px 5px;
    margin-left: 160px !important;
    margin-bottom: 10px;
    padding: 2px;
    visibility: visible;
    position: relative;
    min-height: 100px;
}
#footer { /*Div a pie de pagina*/
    margin: 0px auto;
    padding: 2px;
    font-size: 9px;
    color: #4d4d4d;
    text-align: center;
    clear: both;
}
#contacto { /*Div a pie de pagina*/
    margin: 0px auto;
    padding: 2px;
    font-size: 12px;
    color: #14549d;
    background:#cde2f1;
    text-align: center;
    clear: both;
}

#right { /* Div derecho para noticias varias*/
    width: 160px;
    clear: right;
    margin: 2px;
    float: right;
    position: relative;
}

#left {
    width: 145px;
    clear: left;
    margin: 2px;
    font-size: 12px;
    float: left;
    position: relative;
}

/*=========*/
/*   Menu  */
/*=========*/
#menu {
	border: 1px solid white;
	padding: 2px;
	}
	#menu div {
		width: 100%;
		padding: 2px;
		padding-top: 5px;
		margin: 2px 2px 0px 0px;
		height: 36px;
		color: #000;
		font-size: 15px;
		text-align:center;
		background: url('BOTON.jpg') no-repeat;
	}
	#menu div:hover {
		margin: 2px 0px 0px 5px;
	}
	#menu a:link, #menu a:visited {
		color: #3b3814;
		text-decoration: none;
		outline: none;
	}
	
#menu-session {
	margin: 2px;
	height: 20px;
	background: url('header/form_search.jpg') repeat-x;
}
	#menu-session div {
		width: 90px;
		height: 18px;
		border: 1px solid blue;
		float:left;
		text-align: center;
	}
	#menu-session div:hover {
		background: white;
		color: black;
	}
	
#mini-menu {
		border: 1px solid;
		width: 100%;
		background: #acc1fd;
		height: 20px;
	}
	#mini-menu div {
		min-width: 100px;
		text-align: center;
		border: 1px solid #acc1fd;
		padding-left:10px;
		padding-right:10px;
		float: left;
	}
	#mini-menu div:hover {
		background: #4870e3;
		border: 1px solid white;
	}
	
/* DIV loader */
.div_loader {
	position:absolute;
	height:100%;
	width:100%;
	z-index:200;
	margin:0px;
}

/*=========*/
/* Titles  */
/*=========*/ 
h1, h2, h3, h4, h5 {
	margin: 9px 2px 9px 2px;
	//border-bottom: 2px solid;
    padding: 2px 5px 2px 5px;
	color: #5a68d4;
    position:relative;
}

/*=================*/
/*   Forms NICE    */
/*=================*/ 
.form fieldset {
	border: 1.5px solid #000;
}
.form legend {
	padding: 3px 20px;
	margin-top: 2px;
	font-size: 12px;
	color: black;
}
.form input {
	margin: 0px;
	margin-left: 5px;
	margin-top: 3px;
}

.form select {
	margin: 0px;
	margin-left: 5px;
	margin-top: 3px;
	display: block;
}
.form textarea {
	display: block;
	margin: 0px;
	margin-left: 5px;
	margin-top: 3px;
}

.form label {
	display: block;
}

.form_login {
	font-size: 9px;
	text-align: right;
}
.form_login input {
	font-size: 10px;	
}


/*=======*/
/* Table */
/*=======*/
.header_table {
	background-image: url(header/table_up.gif);
	background: #9ea8ae;
}
#table_standard { font-size: 12px; }
	#table_standard th {
		background-image: url(header/table_up.gif);
	}
	#table_standard tr {
		background: #eae5e2;
	}
	#table_standard tr:hover {
		background: #ede9e9;
	}

/*===============*/
/*  BOX Message  */
/*===============*/
.box_error {
	border-top: 2px solid #dc1313;
	border-bottom: 2px solid #dc1313;
	background: #f37676;
	margin: 4px 4px 4px 30px;
}
.box_successful {
	border-top: 2px solid #51b525;
	border-bottom: 2px solid #51b525;
	background: #6ee073;
	margin: 4px 4px 4px 30px;
}
#box_save {
	border-top: 2px solid #fd8585;
	border-bottom: 2px solid #fd8585;
	margin: 4px 4px 4px 30px;
	background: white;
}
#box_delete {
	border-top: 2px solid #fd8585;
	border-bottom: 2px solid #fd8585;
	margin: 4px 4px 4px 30px;
	background: white;
}
#box_info {
	border-top: 2px solid #FFCC00;
	border-bottom: 2px solid #FFCC00;
	margin: 4px 4px 4px 30px;
	background: white;
}

/*===============*/
/* Clases varias */
/*===============*/
.small  { font-size: 11px; }
.medium { font-size: 12px; }
.normal { font-size: 13px; }
.big    { font-size: 14px; }

.grey  { color: grey; }
.red   { color: red;  }
.black { color: black;}
.blue  { color: blue; }

/*===============*/
/*    Esquinas   */
/*===============*/
.corners-top, .corners-bottom  {
    line-height: 1px;
    font-size: 1px;
    height: 5px;
    display:block;
}
.corners-top span, .corners-bottom span {
    display:block;
    height:5px;
}
.corners-top {
    background: url(corners_left.gif) top left no-repeat;
}
.corners-top span {
    background: url(corners_right.gif) top right no-repeat;
}
.corners-bottom {
    background: url(corners_left.gif) bottom left no-repeat;
}
.corners-bottom span {
    background: url(corners_right.gif) bottom right no-repeat;
}

/*********************************************************************************************************/
/* Estilos para los distintos modulos del sistema, cada modulo esta dentro de la carpeta general : dir/  */
/*********************************************************************************************************/
/*================*/
/* Div de noticias*/
/* Folder: news   */
/*================*/
#news {
	border: 1px solid silver;
	margin: 1px;
	margin-top: 2px;
	padding: 1px;
	background-color: #d8f0b1;
}
#news a:link, #news a:visited {
	color: white;
	text-decoration: none;
}
	#body_news {
		padding: 2px;
		color: black;
		background: white;
		height: 80px;
		overflow: auto;
	}
	#title_news {
		border: 0.5px solid #a6bbc6;
		padding: 1px;
		background: #a6bbc6;
		font-size: 10px;
		color: black;	
	}
