/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets 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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


html {
    width: 100%;
    height: 100%;
}
body {
    background: #e3e3d6;
    width: 100%;
    height: 100%;
}
p, li {
    font-size: 12px;
    line-height: 1.4em;
}
.montserrat {
    font-family:'Montserrat', arial, sans-serif;
    text-rendering: optimizeLegibility;
}
.mayusculas {
    text-transform: uppercase;
}
.minusculas {
    text-transform: lowercase;
}
.fecha {
    letter-spacing: 2px;
}
.normal {
    font-weight: normal;
}
.bold {
    font-weight: bold;
}
a {
    color: black;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.fotos-en-columna p {
    margin-top: 0;
    margin-bottom: 18px;
}

#menu {
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
    background: #e3e3d6;
}
    #menu .grid_12 {
        margin-top: 10px;
        margin-bottom: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
        border-top: 1px solid #3a3a3a;  
        border-bottom: 1px solid #3a3a3a;
    }
    #menu h1 {
        float: left;
        margin: 0;
        padding: 0;
    }
        #menu h1 a {
            display: block;
            width: 42px;
            height: 26px;
            background: url(/200urtekohiria/img/layout/logo-stm.png) no-repeat top left;
        }
        
    #menu ul {
        margin: 0;
        padding: 0;
    }
    #menu ul li {
        display: block;
        float: left;
        font-family: 'Montserrat', arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #menu ul li a {
        text-decoration: none;
        color: #3a3a3a;
    }
    #menu #principal {
        float: left;
        margin-top: 6px;
        margin-left: 150px;
    }
        #menu #principal li {
            margin: 0 10px;
            font-size: 12px;
            text-transform: uppercase;
        }
        
    #menu #idiomas {
        float: right;
        margin-top: 6px;
    }
        #menu #idiomas li {
            margin: 0 3px;
            font-size: 12px;
            text-transform: lowercase;
        }


#intro {
    background: url(/200urtekohiria/img/portada/siluetas.png) no-repeat center bottom;
    background-size: cover;
    height: 400px;

}
    #intro figure {
        padding-top: 100px;
        text-align: center;
    }
    

#contenido {
    position: relative;
}
#contenido.estaticas {
    margin-top: 120px;
}


    #zoom {
        display: none;
        overflow: hidden;
        position : fixed;
        left : 0;
        top : 0;
        bottom : 0;
        right : 0;
        z-index: 999;
        background: #e3e3d6;
        padding-bottom: 20%;
    }
    #zoom img {
        position : absolute;
        top : 0;
        left : 0;
        margin-top: 20%;
    }
    #zoom .texto {
        position: absolute;
        width: 100%;
        top: 75%;
        left: 0;
        text-align: left;
        padding: 1em 2em;
    }
    #zoom .cerrar {
        position: absolute;
        top: 0;
        right: 0;
        cursor: pointer;
        padding: 1em 1em 1em 20px;
        background: transparent url(/200urtekohiria/img/layout/cerrar.png) no-repeat left center;
    }

.pregajo {
    background: #555;
    color: white;
}
    .pregajo .row {
        padding-top:    100px;
        padding-bottom: 200px;
    }
    .pregajo .scrollpane {
        height: 405px;
        overflow: hidden;
    }
    .pregajo .scrollpane p {
        margin: 0 10px 1em 0;
    }
    
    .pregajo h1 {
        font-size: 20px;
        border-bottom: 1px solid white;
        padding-bottom: 10px;
        margin-bottom: 20px;
        font-weight: normal;
        line-height: 1.1em;
        margin-top: 0;
    }
    .pregajo h1 .fecha {
        font-size: 25px;
        display: block;
        margin-bottom: 15px;
        font-weight: bold;
    }
    
    .pregajo#pregajo-2 .texto .scrollpane{
        height: 385px;
    }
    
    .pregajo#pregajo-4 .texto .scrollpane{
        height: 430px;
    }
    
#menu-cronologico {
    position: absolute; 
    top: 70px;
    padding-top: 30px;
    z-index: 20;
}
    #menu-cronologico ul {
        margin: 0;
        padding: 0;
    }
    #menu-cronologico li {
        padding: 2px 0;
        margin: 0;
        list-style-type: none;
        font-size: 16px;
    }
    #menu-cronologico a {
        color: black;
        text-decoration: none;
        display: block;
        background: url('/200urtekohiria/img/layout/bullet-principal.png') no-repeat 0 4px;
        padding-left: 20px;
        letter-spacing: 2px;
    }
    #menu-cronologico a:hover,
    #menu-cronologico a.current {
        color: white;
    }
    #menu-cronologico li li {
        line-height: 18px;
        margin-left: 4px;
        padding: 0;
    }
    #menu-cronologico li li a {
        background: url('/200urtekohiria/img/layout/bullet-secundario.png') no-repeat left center;
        font-size: 12px;
    }
    
    

.gajo {
    padding-top: 100px;
    margin-bottom: 100px;
    position: relative;
}
    .gajo .row {
        position: relative;
        margin-bottom: 20px;
    }
    .lateral {
        position: absolute;
        top: 0;
        right: 30px;
        z-index: 20;
    }
    .lateral a {
        display: block;
    }
    
    .gajo .caja-oculta {
        width: 420px;
        height: 300px;
        overflow: auto;
        background: #999;
    }
        .caja-oculta h2 {
            line-height: 1em;
            background: url(/200urtekohiria/img/layout/linea.png) no-repeat 0 0;
            padding-left: 10px;
            margin-bottom: 0;
        }
    .gajo h1 {
        text-transform: uppercase;
        font-size: 24px;
        border-top: 1px solid black;
        line-height: 1em;
        padding-top: 10px;
    }
    .gajo h2 {
        font-size: 15px;
        font-weight: normal;
    }
    .gajo .info {
        background: url(/200urtekohiria/img/layout/linea.png) no-repeat 0 0;
        padding-left: 10px;
    }
    .gajo .info * {
        margin: 0;
        padding: 0;   
    }
    .gajo .info .mas-info {
        display: block;
        width: 100%;
        padding-bottom: 20px;
        background: url(/200urtekohiria/img/layout/mas.png) no-repeat left bottom;
        color: black;
        text-decoration: none;
        font-size: 16px;
        line-height: 1.2em;
    }
    .gajo .info.derecha {
        border-left: none;
        background: url(/200urtekohiria/img/layout/linea.png) no-repeat 100% 0;
        padding-right: 10px;
        text-align: right;
    }
    .gajo .info.derecha .mas-info {
        background: url(/200urtekohiria/img/layout/mas.png) no-repeat right bottom;
    }
    
p.cita {
    font-style: italic;
}

.grid_2.lateral {
    margin: 20px 0 0 0;
    position: absolute;
    top: 0;
    text-align: right;
}
.grid_2.lateral img {
    border: 5px solid black;
    margin-bottom: 10px;
    height: 180px;
}

/* ciudad */

#contenido.ciudad {
    margin-top: 100px;
    height: 100%;
    background: url(/200urtekohiria/img/ciudad/fondo.png) no-repeat center -101px;
}
    #contenido.ciudad.bi {
        background-image: none;
    }
    #contenido.ciudad #menu-ciudad,
    #contenido.ciudad .texto,
    #contenido.ciudad .grid_7 {
        height: 455px;
    }
    #contenido.ciudad p.icono {
        margin-bottom: 0;
    }
    #contenido.ciudad #menu-ciudad ul {
        margin: 0;
        padding: 0;
    }
    #contenido.ciudad #menu-ciudad ul li {
        list-style-type: none;
    }
    #contenido.ciudad #menu-ciudad ul li a {
        color: black;
        text-decoration: none;
    }
    #contenido.ciudad #menu-ciudad ul li a.current {
        font-weight: bold;
    }   
    #contenido.ciudad #menu-ciudad ul li a:hover {
        text-decoration: underline;
    }
    
    #contenido.ciudad .scrollpane {
        height: 415px;
        overflow: hidden;
    }
    #contenido.ciudad .scrollpane p {
        margin-top: 0;
        margin-right: 10px;
    }
    #contenido.ciudad .scrollpane .jspDrag {
        background: #555;
    }
    #contenido.ciudad .scrollpane .jspTrack {
        background: #e3e3d6;
    }
    #contenido.ciudad h1 {
        font-size: 13px;
        border-top: 1px solid black;
        padding-top: 5px;
        margin-top: 0;
        line-height: 1.1em;
    }
    #contenido.ciudad .grid_9 {
        position: relative;
    }
        #contenido.ciudad .boton {
            background: transparent;
            position: absolute;
            display: block;
        }
        
    #powerTip, .tooltip {
        font-size: 12px;
    }
    a#boton_biblioteca {
        top:    235px;
        left:   345px;
        width:  15px;
        height: 15px;
    }
    a#boton_constitucion {
        top:    230px;
        left:   360px;
        width:  30px;
        height: 15px;
    }
    a#boton_santa-teresa {
        top:    210px;
        left:   270px;
        width:  25px;
        height: 30px;
    }
    a#boton_san-vicente {
        top:    190px;
        left:   390px;
        width:  20px;
        height: 15px;
    }
    a#boton_santa-maria {
        top:    215px;
        left:   300px;
        width:  30px;
        height: 15px;
    }
    a#boton_trinidad {
        top:    200px;
        left:   320px;
        width:  12px;
        height: 12px;
    }
    a#boton_san-telmo {
        top:    170px;
        left:   330px;
        width:  60px;
        height: 30px;
    }
    a#boton_zuloaga {
        top:    175px;
        left:   410px;
        width:  10px;
        height: 15px;
    }
    a#boton_bulevar-1 {
        top:    295px;
        left:   360px;
        width:  60px;
        height: 20px;
    }
    a#boton_bulevar-2 {
        top:    275px;
        left:   400px;
        width:  60px;
        height: 20px;
    }
    a#boton_bulevar-3 {
        top:    255px;
        left:   460px;
        width:  60px;
        height: 20px;
    }
    a#boton_mercado-de-la-brecha {
        top:    245px;
        left:   440px;
        width:  20px;
        height: 20px;
    }
    a#boton_pescaderia-de-la-brecha {
        top:    210px;
        left:   425px;
        width:  20px;
        height: 30px;
    }
    a#boton_ayuntamiento {
        top:    320px;
        left:   330px;
        width:  30px;
        height: 30px;
    }
    a#boton_goikoa {
        top:    300px;
        left:   315px;
        width:  15px;
        height: 15px;
    }
    a#boton_acuarium {
        top:    270px;
        left:   110px;
        width:  30px;
        height: 15px;
    }
    a#boton_paseo-nuevo-1 {
        top:    60px;
        left:   130px;
        width:  250px;
        height: 45px;
    }
    a#boton_paseo-nuevo-2 {
        top:    180px;
        left:   80px;
        width:  25px;
        height: 100px;
        transform:          rotate(-25deg);
        -ms-transform:      rotate(-25deg);
        -webkit-transform:  rotate(-25deg);
    }
    a#boton_puerto {
        top:    250px;
        left:   190px;
        width:  60px;
        height: 15px;
    }
    a#boton_nautico {
        top:    330px;
        left:   315px;
        width:  10px;
        height: 30px;
    }
    a#boton_santa-catalina {
        top:    340px;
        left:   570px;
        width:  50px;
        height: 30px;
    }

    a#boton_principal {
        top:    285px;
        left:   330px;
        width:  15px;
        height: 15px;
    }
    a#boton_urgull {
        top:    140px;
        left:   100px;
        width:  180px;
        height: 100px;
        transform:          rotate(-25deg);
        -ms-transform:      rotate(-25deg);
        -webkit-transform:  rotate(-25deg);
    }
    
    
    
    .item_constitucion {
        top: 190px;
        left: 305px;
    }
    .item_biblioteca {
        top: 190px;
        left: 290px;
    }
    .item_santa-teresa {
        top: 170px;
        left: 240px;
    }
    .item_san-vicente {
            top: 145px;
            left: 325px;
    }
    .item_santa-maria {
            top: 170px;
            left: 225px;
    }
    .item_trinidad {
            top: 160px;
            left: 265px;
    }
    .item_san-telmo {
            top: 140px;
            left: 290px;
    }
    .item_zuloaga {
            top: 180px;
            left: 375px;
    }
    .item_bulevar {
            top: 240px;
            left: 360px;
    }
    .item_mercado-de-la-brecha {
            top: 215px;
            left: 380px;
    }
    .item_pescaderia-de-la-brecha {
            top: 180px;
            left: 360px;
    }
    .item_ayuntamiento {
            top: 285px;
            left: 280px;
    }
    .item_goikoa {
            top: 265px;
            left: 270px;
    }
    .item_acuarium {
            top: 225px;
            left: 90px;
    }
    .item_paseo-nuevo {
            top: 50px;
            left: 100px;
    }
    .item_puerto {
            top: 210px;
            left: 200px;
    }
    .item_urgull {
            top: 120px;
            left: 220px;
    }
    .item_nautico {
            top: 295px;
            left: 280px;
    }
    .item_santa-catalina {
            top: 315px;
            left: 515px;
    }
    .item_principal {
            top: 250px;
            left: 290px;
    }

    #contenido.ciudad .grid_7 p.planos{
        margin-top: 0;
    }
    #contenido.ciudad .grid_7 p a{
        display: table-cell;
        vertical-align: bottom;
    }
    #contenido.ciudad .grid_7 p a:hover{
        text-decoration: none;
    }
    #contenido.ciudad .grid_7 p a .icon-plus {
        padding-left: 15px;
        vertical-align: bottom;
        background: url(/200urtekohiria/img/layout/mas.png) no-repeat left center;
    }
    #contenido.ciudad .grid_7 img {
        width: 40%;
        margin-left: 30px;
    }




#contenido.expo .texto .scrollpane {
    height: 378px;
}
#contenido.expo .texto .scrollpane h2 {
    font-size: 13px;
    line-height: 1.2em;
}
    #contenido.expo p a.icon-plus {
        display: block; 
        padding-left: 15px;
        vertical-align: bottom;
        background: url(/200urtekohiria/img/layout/mas.png) no-repeat left center;
        margin-bottom: 5px;
        
    }
    #contenido.expo p a.icon-plus:hover{
        text-decoration: none;
    }
    #contenido.expo p a.icon-play {
        display: block; 
        padding-left: 15px;
        vertical-align: bottom;
        background: url(/200urtekohiria/img/layout/play.png) no-repeat 210px 50%;
        margin-bottom: 5px;
        text-align: right;
        
    }
    body.eu #contenido.expo p a.icon-play {
        background: url(/200urtekohiria/img/layout/play.png) no-repeat 195px 50%;
    }
    #contenido.expo p a.icon-play:hover{
        text-decoration: none;
    }

    #contenido.expo .scrollpane p {
        margin-top: 0;
        margin-right: 10px;
    }
    #contenido.expo .scrollpane .jspDrag {
        background: #555;
    }
    #contenido.expo .scrollpane .jspTrack {
        background: #e3e3d6;
    }


    
    ul.menu-expo {
        margin: 0;
        padding: 0;
    }
    ul.menu-expo li {
        padding: 4px 0 4px 20px;
        margin: 0 0 30px 0;
        list-style-type: none;
        font-size: 13px;
        text-transform: uppercase;
        color: black;
        text-decoration: none;
        display: block;
        background: url('/200urtekohiria/img/layout/bullet-principal.png') no-repeat 0 6px;
    }
    ul.menu-expo a:hover,
    ul.menu-expo a.current {
        color: black;
    }
    ul.menu-expo ul {
        margin: 0;
        padding: 0;
    }
    ul.menu-expo li li {
        margin: 0;
        padding: 0;
        background: none;
        text-transform: none;
    }
    ul.menu-expo li li a {
        background: url('/200urtekohiria/img/layout/bullet-secundario.png') no-repeat left center;
        font-size: 12px;
        display: block;
        padding-left: 15px;
    }
    
    #contenido.expo h1 {
        font-size: 13px;
        border-top: 1px solid black;
        margin-top: 0;
        line-height: 1.1em;
        padding-top: 5px;
    }
    
    #contenido.expo .logo {
        text-align: right;

    }






/* ==========================================================================
   Helper classes
   ========================================================================== */

img { border:0; vertical-align:middle; -ms-interpolation-mode:bicubic; }
.img-left { float:left; margin:0 30px 30px 0; border:none; }
.img-right { float:right; margin:0 0 30px 30px; border:none; }
.img-max { width:100%; height:auto; }


/*
 * 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;
}




@media only screen and (min-width: 960px) and (max-width: 1199px) {
    #menu #principal {
        margin-left: 50px;
    }
}





/* ==========================================================================
   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;
    }
}