/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@import url(//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);


html,
button,
input,
select,
textarea {
    color:#000000;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
img {
    vertical-align: middle;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
    resize: vertical;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body{
	background-image: url(../img/Fondo-Banner-1600x160.png);
	background-position: center top;
	background-repeat: no-repeat;
	font-family:'Lato', sans-serif;
	font-size:12px;
	margin:0;
	padding:0;
}

a{
	outline:none !important;
}


.contenedor{
	margin:0 auto;
	width:920px;
}

header{
	background-image: url(../img/Fondo-Banner-920x76_2.png);
	background-position: 0px 0px;
	background-repeat: no-repeat;
	display:block;
	height:76px;
	margin-bottom:22px;
}

header.es{
	background-image: url(../img/Fondo-Banner-920x76_2.png);
}

header #logo{
	float:left;
	height:76px;
	width:290px;
}
header #logo img{
	margin-left:20px;
	margin-top:20px;
}
header nav{
	float:left;
	height:76px;
	position:relative;
	width:604px;
}
header nav ul, header nav ul li{
	list-style:none;
	margin:0;
	padding:0;
}
header nav ul{
	position:absolute;
	right:0;
	top:25px;
}
header nav ul li{
	border-right:2px solid #DADEED;
	float:left;
	font-weight:700;
	line-height:24px;
	height:26px;
}
header nav ul li.bienvenido{
	background-image: url(../img/nav_bienvenido_fondo.png);
	color:#FFFFFF;
	padding:0 10px;
	text-shadow:0 0 3px #004B8D;
}
header nav ul li a{
	background-image: url(../img/nav_iconos.png);
	background-position: right 0px;
	background-repeat: no-repeat;
	color:#DADEED;
	display:block;
	margin-right:4px;
	padding:0 28px 0 10px;
	text-decoration:none;
}
header nav ul li a:hover{
	color:#FFFFFF;
}


header nav ul li.home a{
	background-position: right 0;
}
header nav ul li.salir a{
	background-position: right -52px;
}
header nav ul li.contacto a{
	background-position: right -104px;
}
header nav ul li.home a:hover{
	background-position: right -26px;
}
header nav ul li.salir a:hover{
	background-position: right -78px;
}
header nav ul li.contacto a:hover{
	background-position: right -130px;
}


.contenido{
	margin:0 auto;
	width:868px;
}
.contenido:after{
    clear:both;
    content:".";
    display:block;
    height:0;
    visibility:hidden;
}
.novedades{
	background-image: url(../img/novedades_fondo.jpg);
	background-position: 0 0;
	background-repeat: no-repeat;
	color:#004B8C;
	display:block;
	font-size:14px;
	height:36px;
}
.novedades .marquee{
	height:36px;
	line-height:34px;
	margin-left:114px;
	overflow:hidden;
	width:744px;
}

.estructura{
	margin:20px 0;
}
.estructura:after{
    clear:both;
    content:".";
    display:block;
    height:0;
    visibility:hidden;
}
aside{
	float:left;
	margin-right:10px;
	width:254px;
}
section{
	float:left;
	width:604px;
}



.login-caja{
	margin-bottom:10px;
}
.login-caja-campos{
	background-image: url(../img/login_degrade_campo.jpg);
	background-repeat: repeat-y;
	border:1px solid #A6A8AB;
	height:36px;
	margin-bottom:5px;
	width:252px;
}
.login-caja input[type="text"], .login-caja input[type="password"]{
	background:none;
	border:none;
	color:#ffffff;
	font-family:'Lato', sans-serif;
	font-size:14px;
	font-weight:700;
	height:36px;
	line-height:36px;
	padding:0 8px;
	width:234px;
}
.login-caja input[type="password"]{
	font-family:Verdana, Arial, Helvetica, sans-serif;
}
.login-caja input[type="submit"]{
	background-image: url(../img/login_degrade_boton.jpg);
	background-repeat: repeat-x;
	border:1px solid #A6A8AB;
	-webkit-box-shadow:inset 0 0 1px #FFFFFF;
	-moz-box-shadow:inset 0 0 1px #FFFFFF;
	box-shadow:inset 0 0 1px #FFFFFF;
	color:#666666;
	font-family:'Lato', sans-serif;
	font-size:12px;
	font-weight:700;
	height:24px;
	margin-top:6px;
	padding:0 8px;
	text-transform:uppercase;
	width:78px;
}
.login-caja input[type="submit"]:hover{
	background-image: url(../img/login_degrade_boton_over.jpg);
}
.login-caja-campos a{
	color:#ffffff;
	display:block;
	float:left;
	font-size:14px;
	height:34px;
	line-height:32px;
	margin-left:8px;
	width:160px;
}
.login-caja-campos a:hover{
	color:#333333;
	text-decoration:none;
}



aside nav ul, aside nav ul li{
	list-style:none;
	margin:0;
	padding:0;
}
aside nav ul li{
	border-bottom:1px solid #A6A8AB;
}
aside nav ul li:first-child{
	border-top:1px solid #A6A8AB;
}
aside nav ul li a{
	background-image: url(../img/nav_aside_fondo.jpg);
	background-repeat: repeat-y;
	border-bottom:2px solid #FFFFFF;
	border-top:2px solid #FFFFFF;
	color:#6E7277;
	display:block;
	font-size:12px;
	font-weight:700;
	min-height:14px;
	padding:8px;
	text-decoration:none;
	width:238px;
}
aside nav ul li a:hover{
	color:#000;
}
.toggler-sub{
	display:none;
}
aside nav ul li ul li{
	border-bottom:none;
}
aside nav ul li ul li:first-child{
	border-bottom:1px solid #E5E5E6;
}
aside nav ul li ul li a{
	background:none;
	border:none;
}



.escritorio aside{
	margin-right:9px;
	width:255px;
}
aside #escritorio-titulo{
	margin-bottom:1px;
}
aside #escritorio-titulo:after{
    clear:both;
    content:".";
    display:block;
    height:0;
    visibility:hidden;
}

aside #escritorio-iconos{
	clear:both;
	margin-top:1px;
	margin-bottom:4px;
        /*ignacio*/
        min-height:204px;
        height:auto !important;
        height:204px;
}
aside #escritorio-iconos:after{
    clear:both;
    content:".";
    display:block;
    height:0;
    visibility:hidden;
}
aside #escritorio-iconos ul, aside #escritorio-iconos ul li{
	list-style:none;
	margin:0;
	padding:0;
}
aside #escritorio-iconos ul li{
	float:left;
	margin-bottom:1px;
	margin-right:1px;
}
aside #escritorio-iconos ul li.sin-margen{
	margin-right:0;
}



aside .destacados{
	background-color:#CCCCCC;
	border:1px solid #A7A9AC;
	clear:both;
	color:#ffffff;
	min-height:109px;
	padding:0;
	position:relative;
}
aside .destacado-texto{
	left:0;
	padding:0 10px;
	position:absolute;
	top:0;
	z-index:101;
}
aside .destacados h2{
	font-size:12px;
	font-weight:700;
	margin:15px 0 10px 0;
	padding:0;
}
aside .destacados p{
	margin:0 0 15px 0;
	padding:0;
}
aside .destacado-banner{
	height:100%;
	width:100%;
}






.bloque{
	font-size:16px;
	padding:10px 30px;
}
.bloque h1{
	color:#004B8C;
	font-size:24px;
	font-weight:700;
}
.bloque h2{
	color:#333333;
	font-size:18px;
	font-weight:700;
}
.bloque a{
	color:#333333;
}
.bloque a:hover{
	color:#004B8C;
	text-decoration:none;
}
.bloque li{
	margin-bottom:6px;
}




.escritorio-banner{
	margin-bottom:5px;
}
.escritorio-banner ul, .escritorio-banner ul li{
	list-style:none;
	margin:0;
	padding:0;
}
.escritorio-banner ul li{
	display:block;
	height:254px !important;
	width:604px;
}
.anythingSlider{
	height:254px !important;
}
aside .destacados .anythingSlider{
	height:109px !important;
}





.escritorio-cuadros{
	clear:both;
}
.escritorio-cuadros:after{
    clear:both;
    content:".";
    display:block;
    height:0;
    visibility:hidden;
}
.escritorio-cuadros ul, .escritorio-cuadros ul li{
	list-style:none;
	margin:0;
	padding:0;
}
.escritorio-cuadros ul li{
	float:left;
	height:111px;
	margin-left:5px;
	width:198px;
}
.escritorio-cuadros ul li:first-child{
	margin-left:0;
}


footer{
	border-top: 1px solid #A6A8AB;
	color:#41464D;
	margin:0 auto;
	padding:20px 0 60px 0;
	text-align:center;
	width:868px;
}



.popup-cabezal{
	background-position: right;
	background-repeat: no-repeat;
	font-size:30px;
	height:56px;
	line-height:54px;
	margin-bottom:20px;
	padding-right:66px;
	text-align:right;
}

.popup-sector{
	clear:both;
	margin-bottom:40px;
}

.popup-sector-modulo{
	clear:both;
	margin-bottom:15px;
	padding-bottom:15px;
}
.popup-sector-modulo:after{
	clear:both;
	content:".";
	display:block;
	height:0;
	visibility:hidden;
}

.popup-sector-titulo{
	font-size:16px;
	font-weight:700;
	height:28px;
	line-height:28px;
	margin-bottom:20px;
	padding-left:10px;
}
.popup-sector-atencion, .popup-sector-vacio, .popup-sector-foto, .popup-sector-texto{
	float:left;
	margin-left:10px;
}
.popup-sector-vacio{
	display:block;
	height:56px;
	width:30px;
}
.popup-sector-atencion{
	background-color:#FFE8E8;
	background-image: url(../img/icono_alerta.png);
	background-position: center top;
	background-repeat: no-repeat;
	display:block;
	height:56px;
	text-indent:-999px;
	width:30px;
}


.popup-sector-texto h2{
	color:#808285;
	font-size:15px;
	margin:0 0 4px 0;
	padding:0;
	width:600px;
}
.popup-sector-texto p{
	color:#808285;
	font-size:14px;
	margin:0;
	width:600px;
}
.popup-sector-texto .popup-ver-mas{
	margin-top:5px;
}
.popup-sector-texto .popup-ver-mas img{
	margin-right:6px;
}
.popup-sector-texto .popup-ver-mas span{
	font-size:12px;
}
.popup-sector-texto .popup-ver-mas .popup-nuevo{
	background-position:right 1px;
}
.popup-sector-texto .popup-ver-mas a{
	color:#00AEEF;
	font-size:12px;
	font-weight:700;
}
.popup-sector-texto .popup-ver-mas a:hover{
	color:#333333;
}


.popup-texto .estructura{
	color:#333333;
	font-size:16px;
}
.popup-texto .estructura p{
	width:600px;
}
.popup-texto .estructura ul, .popup-texto .estructura ul li{
	list-style:none;
	margin:0;
	padding:0;
}
.popup-texto .estructura ul li{
	margin-bottom:10px;
}
.popup-texto .estructura ul li a{
	color:#333333;
	text-decoration:none;
}
.popup-texto .estructura ul li a:hover{
	color:#000000;
}
.popup-texto .estructura ul li a img{
	margin-right:5px;
}

.popup-nuevo{
	color:#EC1C24;
	background-image: url(../img/popup_icono_nuevo.png);
	background-position:right 4px;
	background-repeat:no-repeat;
	display:inline-block;
	height:20px;
	margin-left:10px;
	padding-right:20px;
}




















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
