/* RESET */
*{
	margin: 0; 
	padding: 0; 
	border: 0; 
	outline: 0; 
	font-weight: inherit; 
	font-style: inherit; 
	font-size: 100%; 
	font-family: inherit;
	vertical-align: baseline; 
}

/*** Main Body ***/
body {
	font-size: 14px; 
	font-family: Verdana;
	line-height: 1.5em;
	color: #000000;
    background-color: #F0F0F0;
    background-image: url(./imagenes/fondo_cabecera.jpg);
    background-repeat: repeat-x;
}
#header{
    height: 137px;
    text-align: center;
}
#wrapper{
    width: 957px;
    margin: 0 auto;
    background-image: url(./imagenes/fondo_contenido.jpg);
    background-repeat: repeat-y;
}
#container{
    width: 900px;
    margin: 20px auto 0 auto;
}
#logo{
    width: 949px;
    margin: 0 auto;
}
#content{
    width: 600px;
    float: left;
    margin-right: 29px;
    margin-bottom: 40px;
}
#sidebar{
    width: 271px;
    height: 416px;
    float: left;
    margin-bottom: 40px;
    background-image: url(./imagenes/formulario.jpg);
    color: #2A7430;
}
#footer{
    width: 900px;
    margin: 0 auto;
}
#ciudades{
    padding: 10px 0;
    border-top: 1px solid #07512C;
    border-bottom: 1px solid #07512C;
    text-align: justify;
    color: #2A7430;
    font-size: 0.7em;
    text-transform: uppercase;
    font-weight: bold;
}
#creditos{
    text-align: center;
    color: gray;
    font-size: 0.8em;
    margin-top:10px;
}
#creditos img{
    vertical-align: text-bottom;
}
#sombra{
    height: 4px;
    background-image: url(./imagenes/sombra.jpg);
    margin: 20px 2px;
}

/*** Clearfix **/
.clear{ 
	clear: both; 
}
.centrar{
    text-align: center;
}

/*** Links ***/
a { 
	text-decoration: underline; 
	color: #2A7430;
}

/*** Headings ***/
h1,h2,h3,h4,h5,h6 {
	line-height: 140%;
	color: #2A7430;
	font-weight: normal;
}
h1 {
	font-size: 2em;
}
p{
    font-size: 1em;
}
strong{
    font-weight: bold;
}
#content p{
    margin: 20px 0;
    line-height: 140%;
    text-align: justify;
}
/* Formulario */
#sidebar p.titulo{
    text-align: center;
    font-size: 1.8em;
    margin: 25px 0;
}
#sidebar p{
    font-size: 0.9em;
}
#formulario{
    width: 211px;
    margin: 0 auto;
}
form{
    margin-top: 20px;
}
label{
    margin-left: 5px;
    cursor: pointer;
}
input.text{
    border: 1px solid #307836;
    width: 211px;
    height: 21px;
    padding: 0 3px;
}
input:focus.text{
    background-color: #FFFEF0;
}
input.checkbox{
    vertical-align: middle;
    cursor: pointer;
}
p.checkbox{
    text-align: center;
    margin: 10px 0;
}
input.submit{
    width: 164px;
    height: 41px;
    background-image: url(./imagenes/enviar.jpg);
    cursor: pointer;
}

input:active.submit,input:focus.submit{
    position: relative; 
    top: 1px; 
    left: 1px;
}
.mal{
    background-color: #FFD7D7;
}
p.mal{
    padding: 5px;
}
.bien{
    background-color: #DFFFDF;
}
p.bien{
    padding: 5px;
}

/* Mensaje header */
#nav{
    color: #FFFFFF;
    font-size: 1em;
    width: 930px;
    text-align: right;
    margin:0 auto;
}
#nav a,#nav a:focus{
    color: #FFFFFF;
}