﻿* {
	margin: 0;
	padding: 0;
}

body {
	background: #120E41;
	/* esto centra el contenedor en los navegadores IE 5*. El texto se ajusta posteriormente con el valor 
	predeterminado de alineación a la izquierda en el selector #container */
	text-align: center;
	color: #333;
	font-family : Times New Roman, Comic SansMS, Sans-serif, Verdana, Arial;
	font-size : 8pt;
	line-height : 15pt;
	font-weight : normal;
	color : #333333;
	letter-spacing : 1px;
}

a { color: #09548B; }

a:visited { color: #0066CC;; }

a:hover { color: #0066CC;/*#88af3f;*/ }

img { border: none; }

img, div, a, input { behavior: url(iepngfix.htc); }

abbr{cursor: help;}

.ficha {
	border-left:0px solid #9fbfdf; border-right:0px solid #9fbfdf; border-top:2.5em solid #9fbfdf; border-bottom:2.5em solid #9fbfdf; margin-left : 5%;
	margin-right : 5%;
	font-family : Times New Roman, ComicSansMS, Sans-serif, Verdana, Arial;
	font-size : 8pt;
	line-height : 15pt;
	font-weight : normal;
	color : #333333;
	letter-spacing : 1px;
	width : 45em;
	padding : 1em;
	background-color : white;
	text-decoration : none;
	font-style : normal;
	text-align : center
}

#direccion{
	float : left;
	width : 75%;
}
.foto {
	float: left;
	width: 25%;
	height: 100%;
	padding-top : 0;
	padding-left : 0;
}


input[type=button], input[type=submit] {
	color: #333;
	background: url('../images/submit-btn.gif') no-repeat top left;
	border: medium none;
	width: 135px;
	height: 25px
}

input[type=button]:hover, input[type=submit]:hover {
	background: url('../images/submit-btn.gif') no-repeat bottom left;
}

ul {
	list-style-image: url('../images/nota.png');
	margin: 1em 0 1em 40px;
}

#header {
	width: 800px;
	height: 100px;
	/* Aunque no vamos a desplazar esta caja ponemos position:relative para que pueda servir como bloque 
	de contención a los descendientes posicionados(tienen las propiedades position, left, right, etc.). 
	Si no lo pusieramos los descencientes se posicionarian respecto a body */
	position: relative;
	margin: 0px auto;
	text-align: center;
	/*background: transparent url(../images/cabecera.png) no-repeat top center;*/
}

#header #logo {
	/* Se posiciona respecto a su bloque de contención (antepasado posicionado más cercano, en este caso header) */
	position: absolute;
	top: 50px;
	left: 0px;
	/*font: bold 30px Sans-serif, 'Trebuchet MS', 'Helvetica Neue', Arial;*/
	font-family : Script MT Bold, Comic SansMS, Sans-serif, Verdana, Arial, Helvetica;
	font-size : 2em;
	letter-spacing: -2px;
	color: #0066CC;
	margin: 0;
	font-weight : lighter;
	letter-spacing : 0.5em;
	text-align : left;
}

/* Para poder centrar el sidebar y el main-content como si fueran uno */
#content {
	width: 1142px;
	margin: 0 auto;
}

.one-column {
	/*sin float para que cuando hagamos pequeña la ventana no se ponga debajo de la sidebar*/
	margin: 0 auto;
	text-align: center;
	width: 800px;
}

/**************************************************
	Menu
***************************************************/
#nav-left {
	background: url('../images/nav_left.png') no-repeat top left;
	/*float: left;
	width: 11px;*/
	height: 41px
}

#nav-right {
	background: url('../images/nav_right.png') no-repeat top right;
	/*float: left;
	width: 11px;*/	
	margin-left: 6px;
	height: 41px
}

#nav a {
	font: 13px Times New Roman, "Futura Medium", "Myriad Pro", "Gill Sans", Helvetica, Verdana, Arial, sans-serif;
	text-align: left;
	color: #E5F2FB;
	text-decoration: none;
}
#nav a:hover {
	color: #09548B;
}

#nav {
	background: #fff url('../images/nav_bg.png') repeat-x;
	/*float: left;
	width: 688px;*/
	height: 41px;
	margin-right: 6px
}

#nav ul {
	/*width: 648px;*/
	height: 38px;
	float: left;
	margin: 0;
	padding-top: 3px;
	list-style: none;
	font-size: 15px;
}
#nav li {
	float: left;
	background: url('../images/split.png') no-repeat right center;
	position: relative;
	z-index: 1; padding-left:7px; padding-right:7px; padding-top:0; padding-bottom:0
}
#nav li.last {
	background: none;
}
#nav li:hover {
	z-index:2;
}
#nav li a {
	display: block;
	line-height: 38px;
	overflow: hidden;
	float: left;
}
a .menu-left {
	background: url('../images/menu_left.gif') no-repeat left top;
	width: 8px;
	height: 32px;
	line-height: 35px;
	display: block;
	float: left
}
a .menu-mid {
	background: url('../images/menu_mid.gif') repeat-x top left;
	height: 32px;
	line-height: 35px;
	display: block;
	float: left
}
a .menu-right {
	background: url('../images/menu_right.gif') no-repeat top left;
	width: 8px;
	height: 32px;
	line-height: 35px;
	display: block;
	float: left
}
#nav li a:hover .menu-left,
#nav li.active a .menu-left,
#nav li:hover a .menu-left,
#nav li a:hover .menu-mid,
#nav li.active a .menu-mid,
#nav li:hover a .menu-mid,
#nav li a:hover .menu-right,
#nav li.active a .menu-right,
#nav li:hover a .menu-right {
	background-position: 0 -37px;
	line-height: 35px;
}
#nav li a:hover,
#nav li.active a,
#nav li.hover a,
#nav li:hover a {
	color: #09548B;
}
#nav li:hover .sub,
#nav li.hover .sub {
	display:block;
}
#nav li .sub {
	display: none;
	position: absolute;
	top: 27px;
	left: 6px;
	background: url('../images/submenu_top.png') no-repeat;
	width: 186px;
	padding-top: 9px
}
#nav li ul {
	background: url('../images/submenu_bg.png') repeat-y;
	width: 162px;
	height: auto;
	margin: 0;
	font-size: 14px; list-style-type:none; padding-left:12px; padding-right:12px; padding-top:0; padding-bottom:10px
}

#nav li:hover li,
#nav li.active li {
	width: 100%;
	padding: 1px 0 2px;
	border-bottom: 1px #C1D9F0 dashed;
	background: none !important;
}
#nav li:hover li a,
#nav li.active li a {
	color: #09548B;
	background: none !important;
	line-height: normal;
	width: 156px;
	padding: 8px 3px 3px;
	text-indent: 1px;
}
#nav li:hover li a:hover,
#nav li.active li a:hover {
	color: #fff;
	background: #165B9F !important;
	text-decoration: none;
	line-height: normal;
}
/*IE*/
#nav li li a:hover,
#nav li li a.hover {
	color: #fff;
	background: #165B9F !important;
	text-decoration: none;
	line-height: normal;
}
/**/
#nav .btm-bg {
	background: url('../images/submenu_bottom.png') no-repeat;
	width: 205px;
	height: 9px;
	overflow: hidden;
	clear: both
}
/*******************************************************************/

#main-content {
	width:100%;
	background-color: #fff;
	margin: 0px auto;
	text-align: left;
	min-height: 300px;
}

/*Al ponerle el padding-right y left al main-content se sale de su tamaño en firefox
por eso hay que poner el padding en una caja dentro de main-content*/
#main-padding {
	padding: 20px;
	overflow:hidden;
}

#main-content h1 {
	margin-bottom: 10px;
	color: #0066CC;
	font: bold 150%/100% "Lucida Grande", Arial, sans-serif;
	border-bottom: dotted 1px #CCCCCC;
}

#footer-left {
	height: 10px;
	/*float: left;*/
	background: url('../images/main-bottom-bg-left.png') no-repeat top left;
	margin: 0
}
#footer-right{
	height: 10px;
	/*float: left;*/
	background: url('../images/main-bottom-bg-right.png') no-repeat top right;
	margin-left: 10px
}
#footer {
	height: 10px;
	/*float: left;*/
	background: url('../images/main-bottom-bg-center.png') repeat-x top left;
	margin-right: 10px
}

#footer a img {
	margin: 20px 10px;
	border: none;
}
.foot {
	margin-top: 3em;
	padding-top : 0.5em;
	padding-bottom : 0.5em;
	background-color : #120E41;
	font-family : Times New Roman, Sans-serif, Verdana, Arial, Helvetica, sans-serif;
	font-size : 8pt;
	color : #cccccc;
	text-align : center;	
	float:left;
	width:100%;
}

.clear-all {
	clear: both;
}