/*
 * 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
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #585858;
}

body {
    font-size: 1em;
    line-height: 1.4;
    /*border:1px solid #000;*/

}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   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: 100%;
}

/*
 * 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.
   Theses 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 only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* 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;
    }
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body{
    width:940px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 17px;
}

nav{
    background: url("../img/bgmenu.jpg");
    height: 41px;
    width: 100%;
    display: inline-block;
    zoom:1;
    
}

nav ul{
    float: right;
    position: relative;
    right: 50%;
    padding: 0;
    margin: 0;
}



nav ul li{
    display: inline-block;
    float: left;
    zoom:1;
    color:#fff;
    font-weight: bold;
    position: relative;
    left: 50%;
    top: 1px;
    margin:0 40px
}

nav ul li a{
    color:#fff;
    text-decoration: none;       
    padding:0 20px;
    line-height: 41px;
    font-size: 1.643em;
    display: inline-block;
}

nav ul li a:hover{
    color:#000;
    background: #fff;
}


h1{
    color:#166f9d;
    font-size: 1.786em;
    padding-bottom:20px;
    display: inline-block;
    width: 100%;
    padding-left: 10px;
}

.bloque{
    width:440px;
    padding:10px;
    float: left;
    display: inline-block;
}

.bloque.last{
    float: right;
}




.barra{
    background: url("../img/bgbarra.jpg");
    height:39px;
    color:#fff;
    font-size:1.571em;
    line-height: 39px; 
    font-weight: bold;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-indent: 20px  
}

.barra.gris{
    background: #d5dee2;
    color:#188cc8;
}

.barra.gris span{
    color:#cc4c4c;

}

.bloque.imagen{
    padding:10px 0 0 0;
    float: right;
}
.txtDes{
	width:100%;
	height:100%;
	background:url(../img/destacado.png);
	position:absolute;
	top:-400px;
	left:0;
	display:none;
	font-size: 14px;
	line-height: 16px;
	font-weight:bold;
	
}
	
.txtDes p{
	padding:10px 10px 0 20px;
}
	
.txtDes a{
	color:#0090c8;
}

section{
    display: block;
    zoom:1;
    padding:15px 0px;  
    clear: both;
}

section:after {
    visibility: hidden;
    display: block;
    content: "";
    clear: both;
    height: 0;
    }
* html section            { zoom: 1; } /* IE6 */
*:first-child+html section { zoom: 1; } /* IE7 */


#noticias{
    margin:20px 10px;
    list-style-type: none;
    padding: 0 10px;


}

#noticias li{
    color:#000;
    margin: 5px 10px;
    background: url("../img/bullet.gif") no-repeat 0 2px;
    width: 425px;
    float: left;
}

#noticias li a{
    color:#000;
    padding-left: 20px;
    text-decoration: none;
    font-style: inherit;
}

#noticias li a:hover{
    color:#999;    
    text-decoration: underline;
}
.ContNoticias{
	width:100%;
	height:auto;
	margin:auto;
}

.ContNoticias.tres .marcogal{
	width:29%;
	height: 160px;
}

.ContNoticias.cuatro .marcogal{
	width:21%;
}

.ContNoticias.cinco .marcogal{
	width:16%;
}

.marcogal{
	height:135px;
	margin:20px 8px;
	padding:10px;
	background:#333;
}

.sombragal{
	background:url(../img/sombragal.png) no-repeat;
	width:150px;
	height:5px;
}
.personaje{
	width:100%;
	height:100%;
	position:relative;
	overflow:hidden;
	cursor:pointer;
}


.contBullet{
   background: url("../img/lineaGris.jpg") repeat-x 10px   

}


.bullet{
    background: url("../img/bgbarra.jpg");
    width: 140px;
    height:40px;
    font-size: 1.571em;
    line-height: 40px;
    text-align: center;
    color:#fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-bottom: 15px;

}

.thumbsLiquid{
    display: inline-block;
    width: 100%;
    zoom:1;
    margin: 0;
    padding: 0;
}

.thumbsLiquid li {
    margin:18px;
    list-style-type: none;
    float:left;
    cursor: pointer;
    width: 150px;
    height: 150px;
    overflow: hidden;
}


.thumbsLiquid li img{
    width: 150px;
    height: 150px;
    background: #000;
}


.videoModal{
   /* display: none;*/
    width: 620px;
    height: 410px;
    margin: 0px auto;
}


#modalBox{
    display: none;
    background:#fff;
    width: 100%;
    height: 420px;
}

.cerrar{
    font-size: 30px;
    font-weight: bold;
    float: right;
    padding: 10px 20px;
    cursor: pointer;
    color: #CC0000;
}

.videoContenedor{
    display: inline-block;
    width: 100%;
    padding:15px 0;
    background: #333;

}



.videoContenedor .video ,  .videoContenedor .fotosInstagram{
    float:left;
    width: 450px;
    overflow-x: hidden;
	padding:10px;
}


.videoContenedor .fotosInstagram{
    float:right;
	padding:10px;
}


.videoContenedor .video p,  .videoContenedor .fotosInstagram p{
    color: #fff;
    margin: 5px 0 0 0 ;
     line-height: 15px;
}

.videoContenedor .video p span,  .videoContenedor .fotosInstagram p span{
	font-size:11px;
	color:#999;
   
}

#separador{
    height: 20px;
    width: 100%;
    background: #666;
    margin: 20px 0;
}


a{
    color:#166f9d;
    text-decoration: none;
    font-style: italic;
}

a:hover{
    color:#166f9d;
    text-decoration: underline;
}

.clear{
	width: 100%;
    display: inline-block;
    zoom:1;
} 
   
.left   {
	float:left;
}

.right{
	float:right;
}

.padTop20{
    padding-top: 20px;
}

.padTop10{
    padding-top: 10px;
}




/*
 * jQuery Nivo Slider v3.2
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* The Nivo Slider styles */

.nivoSlider {
    position:relative;
	margin:auto;
    width:800px;
    height:auto;
    overflow: hidden;
}
.nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
    max-width: none;
}
.nivo-main-image {
    display: block !important;
    position: relative !important; 
    width: 100% !important;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    border:0;
    padding:0;
    margin:0;
    z-index:6;
    display:none;
    background:white; 
    filter:alpha(opacity=0); 
    opacity:0;
}
/* The slices and boxes in the Slider */
.nivo-slice {
    display:block;
    position:absolute;
    z-index:5;
    height:100%;
    top:0;
}
.nivo-box {
    display:block;
    position:absolute;
    z-index:5;
    overflow:hidden;
}
.nivo-box img { display:block; }

/* Caption styles */
.nivo-caption {
    position:absolute;
    left:0px;
    bottom:0px;
    background: url('../img/transparencia.png');
    color:#fff;
    width:100%;
    z-index:8;
    padding: 5px 10px;
    overflow: hidden;
    display: none;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}
.nivo-caption p {
    padding:5px;
    margin:0;
}
.nivo-caption a {
    display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
    position:absolute;
    top:45%;
    z-index:9;
    cursor:pointer;
}
.nivo-prevNav {
    left:0px;
}
.nivo-nextNav {
    right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
    text-align:center;
    padding: 5px 0;
}
.nivo-controlNav a {
    cursor:pointer;
}
.nivo-controlNav a.active {
    font-weight:bold;
}







/*
Skin Name: Nivo Slider Default Theme
Skin URI: http://nivo.dev7studios.com
Description: The default skin for the Nivo Slider.
Version: 1.3
Author: Gilbert Pellegrom
Author URI: http://dev7studios.com
Supports Thumbs: true
*/

.theme-default .nivoSlider {
    position:relative;
    background:#fff url(loading.gif) no-repeat 50% 50%;
    margin-bottom:10px;
    -webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
    -moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
    box-shadow: 0px 1px 5px 0px #4a4a4a;
}
.theme-default .nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
}
.theme-default .nivoSlider a {
    border:0;
    display:block;
}

.theme-default .nivo-controlNav {
    text-align: center;
    padding: 2px 0;
}
.theme-default .nivo-controlNav a {
    display:inline-block;
    width:22px;
    height:22px;
    background:url('../img/bullets.png') no-repeat;
    text-indent:-9999px;
    border:0;
    margin: 0 2px;
}
.theme-default .nivo-controlNav a.active {
    background-position:0 -22px;
}

.theme-default .nivo-directionNav a {
    display:block;
    width:30px;
    height:30px;
    background:url('../img/arrows.png') no-repeat;
    text-indent:-9999px;
    border:0;
    opacity: 0;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}
.theme-default:hover .nivo-directionNav a { opacity: 1; }
.theme-default a.nivo-nextNav {
    background-position:-30px 0;
    right:15px;
}
.theme-default a.nivo-prevNav {
    left:15px;
}

.theme-default .nivo-caption {
    font-family: Helvetica, Arial, sans-serif;
}
.theme-default .nivo-caption a {
    color:#fff;
    border-bottom:1px dotted #fff;
}
.theme-default .nivo-caption a:hover {
    color:#fff;
}

.theme-default .nivo-controlNav.nivo-thumbs-enabled {
    width: 100%;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled a {
    width: auto;
    height: auto;
    background: none;
    margin-bottom: 5px;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled img {
    display: block;
    width: 120px;
    height: auto;
}







    #timeline {
        width: 800px;
        height: 350px;
        overflow: hidden;
        margin: 30px auto;
        position: relative;
        background: url('../img/dot.gif') left 59px repeat-x;
    }


    #timeline a{
        color:#cccccc;
        text-decoration: none;

    }

    #timeline a:hover{
        color:#0090c8;
    }

    #timeline a.selected{
        color:#0090c8;
    }    


        #dates {
            width: 800px;
            height: 60px;
            overflow: hidden;
        }
            #dates li {
                list-style: none;
                float: left;
                width: 100px;
                height: 50px;
                font-size: 24px;
                text-align: center;
                background: url('../img/biggerdot.png') center bottom no-repeat;
            }
                #dates a {
                    line-height: 38px;
                    padding-bottom: 10px;
                }
                #dates .selected {
                    font-size: 38px;.
                    color:#0090c8;
                }
        
        #issues {
            width: 800px;
            height: 350px;
            overflow: hidden;
        }   
            #issues li {
                width: 800px;
                height: 350px;
                list-style: none;
                float: left;
            }
               /* #issues li.selected img {
                    -webkit-transform: scale(1.1,1.1);
                    -moz-transform: scale(1.1,1.1);
                    -o-transform: scale(1.1,1.1);
                    -ms-transform: scale(1.1,1.1);
                    transform: scale(1.1,1.1);
                }*/
                #issues li img {
                    float: left;
                    margin: 10px 30px 10px 50px;
                    background: transparent;
                    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE 8 */   
                    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);/* IE 6 & 7 */      
                    zoom: 1;
                   /* -webkit-transition: all 2s ease-in-out;
                    -moz-transition: all 2s ease-in-out;
                    -o-transition: all 2s ease-in-out;
                    -ms-transition: all 2s ease-in-out; 
                    transition: all 2s ease-in-out;
                    -webkit-transform: scale(0.7,0.7);
                    -moz-transform: scale(0.7,0.7);
                    -o-transform: scale(0.7,0.7);
                    -ms-transform: scale(0.7,0.7);
                    transform: scale(0.7,0.7);*/
                }
                #issues li h1 {
                    color: #0090c8;
                    font-size: 35px;
                    margin: 10px 0;
                    width:auto !important;
                }
                #issues li p {
                    font-size: 14px;
                    margin-right: 70px;
                    font-weight: normal;
                    line-height: 18px;
                    
                }
        
        #grad_left,
        #grad_right {
            width: 100px;
            height: 350px;
            position: absolute;
            top: 0;
        }
            #grad_left {
                left: 0;
                /*background: url('../img/grad_left.png') repeat-y;*/
            }
            #grad_right {
                right: 0;
                /*background: url('../img/grad_right.png') repeat-y;*/
            }
        
        #next,
        #prev {
            position: absolute;
            top: 0;
            font-size: 70px;
            top: 190px;
            width: 22px;
            height: 38px;
            background-position: 0 0;
            background-repeat: no-repeat;
            text-indent: -9999px;
            overflow: hidden;
        }
            #next:hover,
            #prev:hover {
                background-position: 0 -76px;
            }
            #next {
                right: 0;
                background-image: url('../img/next.png');
            }
            #prev {
                left: 0;
                background-image: url('../img/prev.png');
            }
                #next.disabled,
                #prev.disabled {
                    opacity: 0.2;
                }
/*----------compartir-----------*/

.compartir{
	position: absolute;
width: 150px;
top: 121px;
right: 0px;
}


.error{
    text-transform: uppercase;
    background: #CC0000;
    color: #fff;
    font-size:16px;
    line-height: 20px;
    text-align: center;
    padding: 5px;
    width: auto;
    font-weight: bold;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;

}
