/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 01-jul-2014, 19:56:50
    Author     : Ángel
*/


/* 
General
*/

* {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    background: #444;
}



input, select{
    border-radius: 5px;
    -moz-border-radius: 5px;
    border: 1px solid #999;
    padding: 5px;
}

input[type=file] {
    border: none;
}

.boton {
    padding: 5px 20px;
    font-weight:  bold;
}

.boton:hover {
    background: red;
}


a {
    text-decoration: none;
    color: #111;
    font-weight: bold;
}

a:hover {
    color: black;
    text-decoration: underline;
}


/* 
header
*/

header {
    width: 970px;
    margin: 10px auto;
    border-radius: 15px;
    -moz-border-radius: 15px;
    background: #ddd;
    height: 251px;
    background: url(../imagenes/header_banner980.jpg) no-repeat top center;
    box-shadow: 5px 5px 10px black;
    border: 5px solid white;
}




/* 
nav
*/

nav {
    border-radius: 10px;
    -moz-border-radius: 10px;
    margin: 0px auto;
    width: 980px;
    height: 49px;
    background: #ddd url(../imagenes/logo.png) no-repeat 5px 5px;
    box-shadow: 5px 5px 10px black;
    font-size: 1.25em;

}

.nav {
    list-style:none;
    margin: 0px 5px 0px 230px;
    padding: 10px 0px 10px 0px;
}

.nav li.pral {
    display: table-cell;
}

.nav li a,nav li.consubmenu {
    font-weight: bold;
    color: black;
    display: block;
    padding: 7px 8px;
    text-decoration: none;
}

.nav li:hover a,nav li.consubmenu:hover {
    color: red;
    background-color: black;
}

/*=== submenu ===*/

.nav ul {
    display: none;
    position: absolute;
    margin-left: 0px;
    list-style: none;
    padding: 0px;
    background: black;
    border: 1px solid black;
}

.nav ul li {
    width: 152px;
    border: 1px #ddd solid;
    margin-left: -9px;
}

.nav li.pral ul li a {
    display: block;
    height: 15px;
    padding: 7px 8px;
    color: #ddd;
    text-decoration: none;
    font-size: 12px;

}

.nav li.pral ul li a:hover {
    color: black;
    background: #ddd;
}



/*=== imagen identificación ===*/

nav #lock {
    top: -42px;
    left: 942px;
    position: relative;

    background: url(../imagenes/entrar.png) 0px 0px  no-repeat;
}

nav #lock:hover {
    background-image: url(../imagenes/entrar_rojo.png);
}

nav #unlock {
    top: -42px;
    left: 942px;
    position: relative;

    background: url(../imagenes/salir.png) 0px 0px  no-repeat;
}

nav #unlock:hover {
    background-image: url(../imagenes/salir_rojo.png);
}

/* 
section
*/

section {

    margin: 10px auto 0px auto;
    width: 950px;
    min-height: 150px;
    background: #ddd ;
    box-shadow: 5px 5px 10px black;
    border-radius: 10px 10px 0px 0px;
    -moz-border-radius: 10px 10px 0px 0px;
    padding: 15px;
    padding: left;
}

section h1 {

    font-size: 28px;
    padding: 10px 5px;
    border-bottom: 1px solid #111;
    margin: 10px 0px;
    line-height: 1.4em;

}

section p {
    margin: 10px 0px;
}

section ol, section ul {
    margin-left: 40px;
}

section #identificacion {
    width: 220px;
    margin: 40px auto 20px auto;
}

section #identificacion p {
    margin: 10px 0px;
}

section #contenido {
    width: 750px;
    line-height: 1.5em;
}

section #contenido #texto_seccion p {
    text-align: justify;
    font-size: 13px;
}

section #contenido article {
    border: 1px solid #bbb;
    background: white;
    border-radius: 10px ;
    -moz-border-radius: 10px;
    box-shadow: 5px 5px 10px #bbb;
    padding: 10px;
    margin: 0px 0px 10px 0px;
}

section #contenido .editable {
    padding-top: 25px;
}
section #contenido img.editar_seccion {

    display: none;
    top: -3px;
    position: relative;
}

section #contenido article:hover img.editar_seccion,
section #contenido div:hover img.editar_seccion{
    margin-top: -20px;
    display: inline;


}

section #contenido article p {
    text-align: justify;
}

section #contenido article p.resumen {
    margin-left: 40px;
    font-style: italic;
}

section #contenido article h3 {
    color: red;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.5em;
}



section #contenido article div.una_foto_edicion {
    width: 222px;
    height: 250px;
    float: left;
}

section #contenido article .una_foto_edicion img {
    max-width: 210px;
    border: 1px solid #111;
    margin: 0px 5px;
    max-height: 210px;
}

section #contenido article .una_foto_edicion p,
section #contenido article .una_foto_nueva p{
    text-align: center;
}

section #contenido article .una_foto_nueva {
    width: 500px;
    margin: 10px auto;
    text-align: center;
}

section #contenido article .fecha {
    text-align: right;
    font-size: 11px;
    font-style: italic;
}
section #contenido article .bibl_autor {
    padding: 5px 5px 5px 40px;
    font-size: 11px;
    font-style: italic;
}
section #contenido article .texto {
    margin: 10px 10px 10px 40px;
}

section #contenido article #miniaturas {
    overflow: auto;
    height: 160px;
    margin: 0px auto;

}

section #contenido article #miniaturas img {
    max-height: 120px;
    box-shadow: 3px 3px 5px #999; 
    -moz-box-shadow: 3px 3px 5px #999;
    -webkit-box-shadow: 3px 3px 5px #999;
    margin: 5px;
    padding: 5px;
    background: #DDDDDD;
    display: inline;

}
section #contenido article #div_grande {
    text-align: center;
    height: 500px;
}
section #contenido article #div_grande img{
    max-width: 780px;
    max-height: 480px;
    box-shadow: 3px 3px 5px #999; 
    -moz-box-shadow: 3px 3px 5px #999;
    -webkit-box-shadow: 3px 3px 5px #999;
    margin: 5px auto;
    padding: 10px;
    background: #DDDDDD;
}

section #contenido.publicaciones {
    width: 100%;
}

section #contenido #unaPublicacion {
    width: 210px;
    display: inline-table;
    margin: 5px;
    padding: 5px;
    border: 1px solid #bbb;
    background: white;
    border-radius: 10px ;
    -moz-border-radius: 10px;
    box-shadow: 5px 5px 10px #bbb;
}

section #contenido #unaPublicacion img {
    max-width: 200px;
    border: 1px solid #aaa;
    margin: 5px auto;
    max-height: 275px;
}
section #contenido img.carro {
    width: 24px;
    border: none !important;
    margin: 0px;
    background: white;

}
section #contenido img.class_en_carro {
    width: 24px;
    border: none !important;
    margin: 0px;
    opacity: .30;
    -moz-opacity: .30;
    filter:alpha(opacity=30);
}


section #contenido #unaPublicacion h3 {
    text-align: center;
    line-height: 1.2em;
}

section #contenido #unaPublicacion p {
    text-align: center;  
}

section #contenido .precio{
    background: #888;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    float: left;

}

section #contenido article img.portada_pub {
    float: left;
    max-width: 255px;
    max-height: 350px;
    padding: 5px;
    margin: 10px 20px 20px 0px;
    border: 1px solid #999;
    background: #f9f9f9;
    box-shadow: 3px 3px 5px #999; 
    -moz-box-shadow: 3px 3px 5px #999;
    -webkit-box-shadow: 3px 3px 5px #999;
}

section #contenido article img.portada_pub_min {
    float: left;
    max-width: 150px;
    max-height: 206px;
    padding: 5px;
    margin: 10px 20px 20px 0px;
    border: 1px solid #999;
    background: #f9f9f9;
    box-shadow: 3px 3px 5px #999; 
    -moz-box-shadow: 3px 3px 5px #999;
    -webkit-box-shadow: 3px 3px 5px #999;
}

section #contenido article h2 {
    font-size: 23px;
    margin: 15px 0px 10px 0px;
    padding: 10px 0px;
    color: red;
    line-height: 1.3em;
}

section #contenido article p.autor{
    font-size: 14px;
    font-style: italic;
}


section #contenido .etiqueta {
    width: 140px;
    text-align: right;
    padding: 5px;
    display: inline-table;
}

section #contenido .etiqueta80 {
    width: 60px;
    text-align: right;
    padding: 5px;
    display: inline-table;
}

section #contenido .campo {
    width: 555px;
    padding: 5px;
    display: inline-table;
}

section #contenido .campo80 {
    width: 635px;
    padding: 5px;
    display: inline-table;
}

section #contenido .campocompleto {
    width: 100%;
    padding: 5px;
    display: inline-table;
    border-bottom: 1px dotted #888;
}

section #contenido a.botonVolver {
    font-size: 20px;
    padding: 20px 40px;
    font-stretch: expanded;
    background: #888;
    color: white;
    margin-top: 20px;
}

section #contenido div#form_nuevo {
    display: none;
}

section #contenido span.form_buscar {
    width: 650px !important;

    margin: 0px 0px 0px 0px;
}


section #contenido #botones {
    display: block;
    color: white;
    margin-bottom: 10px;
}


section #contenido #botones #boton {
    width: 330px;
    display: inline-table;
    background: #242424 url(../imagenes/fondoboton.png) no-repeat 220px -15px;
    box-shadow: 5px 5px 10px black;
    border-radius: 10px;
    -moz-border-radius: 10px;
    height: 100px;
    margin: 0px 5px 10px 5px;
    padding: 5px;
    overflow: hidden;
}


section #contenido #botones #boton.inactivo {
    color: yellow;
    background-color: #888;
}

section #contenido #botones #boton p {
    margin: 20px 60px 5px 5px;
    text-align: left !important;
    font-size: 11px;
}


section #contenido #botones #boton p strong{
    font-size: 14px;
    border-top: 1px solid red;
    display: block;
    margin: 0px 50px 0px 0px;
    padding: 10px 5px 5px 0px;
    text-align: left;
    line-height: 1.4em;
}

section #contenido #botones #boton .punto_boton {
    margin: -137px 0px 0px 0px;
}




section #contenido #letras {
    text-align: center ;
    margin: 10px 0px;

}

section #contenido #letras a {
    margin: 0px 5px;
}

section #contenido article span.user_participa {
    width: 550px;
    display: inline-table;
    background: #888;
    padding: 5px;
    color: white;
}

section #contenido article span.date_participa {
    width: 158px;
    display: inline-table;
    padding: 5px;
    background: #888;
    color: white;
    text-align: right;
}

section #contenido article.oculto {
    background: #ccc;
}

section #contenido article span.mail_participa,
section #contenido article span.post_participa{
    width: 100%;
    display: block;
    padding: 10px 5px;
}

section #contenido #contacto {
    margin: 10px 0px 20px 0px;
    paddidng: 10px;
    border: 1px solid #bbb;
    background: white;
    border-radius: 10px ;
    -moz-border-radius: 10px;
    box-shadow: 5px 5px 10px #bbb;
    padding: 10px;
}

section #contenido #contacto div.uncampo {
    border-bottom: 1px dotted #888;
}

section #contenido #contacto span.encabezado_form {
    width: 720px;
    display: inline-table;
    background: #888;
    padding: 5px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

section #contenido #contacto span.nombre_campo {
    width: 150px;
    display: inline-table;
    text-align: right;
    padding: 5px;
}

section #contenido #contacto span.requerido {
    font-weight: bold;
}

section #contenido #contacto span.campo {
    width: 550px;
    display: inline-table;
    text-align: right;
    padding: 5px;
}


#tapa {
	z-index: 10000;
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	position: fixed;
	background: url(../imagenes/punto_tapa.png);
        line-height: 1.5em;
}


#tapa #aviso #cerrar {
	margin-top: -28px;
}

#tapa #aviso {
	width: 650px;
	top:10%; 
	position: relative;
	margin:auto auto; 
	padding: 10px;
	background: #FFC;
	border: 5px double #63c8ff;
	text-align: center;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	color: black;

}






















section #lateral {
    width: 180px;
    float: right;
    padding: 5px;
    text-align: center;
    overflow: hidden;
}

section #lateral h3 {
    text-align: center;
    background: #111;
    color: #ddd;
    padding: 10px;
    border-radius: 10px ;
    -moz-border-radius: 10px;
    text-align: center;
}


section #lateral img {
    max-width: 120px;
    border: 1px solid #aaa;
    margin: 10px auto;
    max-height: 165px;
}


section #lateral .una_publicacion_izda hr {
    width: 100px;
    margin: 5px auto;
    height: 1px;
    border: none;
    background: red;
}



section #paginacion {
    margin-top: 10px;
    text-align: right;
    border-top: 1px solid #888;
    border-bottom: 1px solid #888;
    padding: 10px 0px;
    font-weight: normal;
}

section #paginacion a {
    padding-left: 4px;
    padding-right:4px;
}

section #paginacion a:hover {
    color: red;
}

/* 
footer
*/

footer {
    border: 5px solid #ddd;
    border-top: 1px solid black;
    border-radius: 0px 0px 15px 15px;
    -moz-border-radius: 15px 15px 0px 0px;
    text-align: center;
    padding: 15px 0px;
    margin: 0px auto 10px auto;
    width: 970px;
    background: #ddd ;
    box-shadow: 5px 5px 10px black;
    clear: both;

}