/**
 * aerlig.css
 */

/**
 * Estilos de las p�ginas de la web aerlig
 * @author David Mars�n Porras
 */

/***************************
	TAGS
****************************/

/* Body */

body {
	margin: 0;
	padding: 2em 0;
	font-family: Verdana, Arial, sans-serif;
	font-size: 12px;
	line-height: 18px;
	color: #000000;
	background-color: #B2C6AD;
	background-image: url(../img/background.jpg);
	background-position: top;
	background-repeat: repeat-x;
	background-attachment: fixed;
	text-align: center;
}

/* Links */

a, a:link, a:visited {
	text-decoration: none;
	color: #1558A7;
}
a:hover, a:active {
	color: #F38619;
}
a img {
	border: none;
}

/* Headers */

h1 {
	color: #51875E;
	font-size: 2em;
	font-weight: bold;
	font-variant: small-caps;
	padding-left: 24px;
	background-image: url(../img/h1_background.gif);
	background-position: left;
	background-repeat: no-repeat;
}
h2 {
	color: #80A889;
	font-size: 1.2em;
	font-weight: bold;
	font-variant: small-caps;
}
h3 {
	color: #999999;
	font-size: 1em;
	font-weight: bold;
}

/* Images */

img {
	border: 2px solid #BFBFBF;
}
img.no-border {
	border: none;
}
img.float-right {
	margin: 5px 0px 5px 15px;  
}
img.float-left {
	margin: 5px 15px 5px 0px;
}

/* Icons */

*.icon_pdf {
	background-image: url(../img/icon_pdf.jpg);
	background-position: left;
	background-repeat: no-repeat;
	padding-left: 48px;
	line-height: 32px;
}

/***************************
	STRUCT
****************************/

/* Container box */

div.container {
	width: 780px;
	margin: 0 auto;
	border: 2px solid #51875E;
	background-color: #FFFFFF;
	background-image: url(../img/header.gif);
	background-position: left top;
	background-repeat: no-repeat;
}

/* Header box */

div.container div.header {
	height: 150px;
	text-align: right;
}

/* Menu box */

div.container div.menu {
	margin: 0;
	padding: 0;
	text-align: center;
}

/* Content box */

div.container div.content {
	margin: 0;
	padding: 1em 2em 150px 2em;
	background-image: url(../img/bottom.gif);
	background-position: right bottom;
	background-repeat: no-repeat;
	text-align: left;
}

/***************************
	ELEMENTS
****************************/

/* Menu */

ul.menu {
	margin: 0 2em;
	padding: 0 0 6px 0;
	border-bottom: 1px solid #9FBDA6;
	text-align: center;
}
ul.menu li {
	display: inline;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul.menu li * {
	font-size: 12px;
	text-transform: uppercase;
	line-height: 14px;
	padding: 0 24px 8px;
}
ul.menu li span.on {
	color: #51875E;
	font-weight: bold;
	background: transparent url(../img/menu_background_on.gif) no-repeat scroll center bottom;
}
ul.menu li a.off, ul.menu li a.off:link, ul.menu li a.off:visited {
	color: #666666;
	text-decoration: none;
}
ul.menu li a.off:hover, ul.menu li a.off:active {
	color: #B8CCBC;
	background: transparent url(../img/menu_background_over.gif) no-repeat scroll center bottom;
}

/* Foot */

ul.validators {
	margin: 1em 0;
	padding: 0;
}
ul.validators li {
	display: inline;
	list-style-type: none;
	margin: 8px;
}
p.copyright {
	margin: 0 auto 2em auto;
	text-align: center;
}

/* Contact */

div.contact {
	margin-right: 30px;
}
div.foot-box {
	background-color: #FAFAFA;
	padding: 5px;
	border: 1px solid #F2F2F2;
	font-weight: bold;
	font-size: 0.9em;
	line-height: 25px;
}
form {
	margin: 10px;
	padding: 10px 20px;
	border: 1px solid #F2F2F2; 
	background-color: #FAFAFA; 
}
label {
	font-weight: bold;
	margin: 5px 0;
}
input {
	padding: 2px;
	border: 1px solid #F2F2F2;
	color: #666666;
	width: 300px;
}
input:focus, input:hover, input:active {
	background-color: #FFFFCC;
	border-color: #FFB251;
}
textarea {
	display: block;
	width: 450px;
	height:100px;
	padding: 2px;
	border: 1px solid #F2F2F2;
	color: #666666;
}
textarea:focus, textarea:hover, textarea:active {
	background-color: #FFFFCC;
	border-color: #FFB251;
}
input.button { 
	margin: 0; 
	padding: 4px 6px; 
	border: 1px solid #F2F2F2;
	font-weight: bold; 
	background: #FFFFFF; 
	color: #666666;
	width: auto;
}
input.button:focus, input.button:active, input.button:hover {
	color: #FFB251;
	border-color: #FFB251;
	background: #FFFFCC;
}
.help {
	font-size: 0.8em;
	color: #444444;
}
p.ok {
	border: 1px solid #51875D;
	background-color: #CEF0CD;
	color: #51875D;
	font-weight: bold;
	padding: 10px 20px 10px 15px;
	margin: 10px;
}
p.ok span {
	background: url(../img/ok.gif) no-repeat left center;
	padding: 22px;
}
p.error {
	border: 1px solid #C63030;
	background-color: #FFD0D0;
	color: #C63030;
	font-weight: bold;
	padding: 10px 20px 10px 15px;
	margin: 10px;
}
p.error span {
	background: url(../img/error.gif) no-repeat left center;
	padding: 22px;
}

/* Portada */

div#portada p.separator {
	border-top: 1px solid #BBBBBB;
	padding-top: 1em;
}
div#portada hr {
	clear: both;
	visibility: hidden;
}
div#portada a {
	white-space: nowrap;
}

/* En la red */

div.network h3 {
	margin-bottom: 0;
}
div.network p {
	margin: 0;
}
div.network img {
	float: left;
	margin: 0 20px 0 30px;
	border: none;
}
p.foot-text {
	clear: both;
	font-size: 0.9em;
	border-top: 1px solid #BABABA;
	padding-top: 0.5em;
	color: #8A8A8A;
	text-align: right;
}
hr.break {
	visibility: hidden;
	clear: both;
}