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

body {
    font: 700 1em/1.5 "Lato";
    color: rgba(0, 0, 0, 0.7);
    width:100%;
}


/*
 * 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 rgba(0,0,0,0.5);
    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;
}

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

/* ------------------------------------------------------- */
/*tipografias y elementos*/
/* ------------------------------------------------------- */

@font-face {
    font-family: 'IcoMoon';
    src:url("fonts/icomoon.eot") format("embedded-opentype")/*ie*/,
        url("fonts/icomoon.svg") format("svg"),
        url("fonts/icomoon.woff") format("woff"),
        url("fonts/icomoon.ttf") format("truetype")/*todos*/;
}

a, a:visited{
    color: rgba(226,0,122,0.7);
    text-decoration:none;
    transition:all .15s linear;
    -moz-transition:all .15s linear; 
    -webkit-transition:all .15s linear; 
    -o-transition:all .15s linear;
}

a:hover, a:active{
    color: #7C4D25;
    text-decoration:underline;
}

ul, ol {
    list-style:none;
}


/* ------------------------------------------------------- */
/* Estructura */
/* ------------------------------------------------------- */

/*General*/
.container{
    max-width: 1240px;
    margin:0 auto;
    width:100%;
}

/*header*/

header {
    width:100%;
    height:4.5em;
    min-height: 3em;
    z-index:999;
    background:url("bg_header.png") bottom left repeat-x rgba(0, 0, 0, 0.8);
    box-shadow: inset 0px 1px 5px rgba(0,0,0,0.2);
    text-transform:uppercase;
    border-bottom: 0.1875em solid rgba(0, 0, 0, 0.2);
}

.logo{
    display:inline-block;
    font: 1.5em "Permanent Marker";
    margin:.85em 0 0 5.5%;
}

.logo a, .logo a:visited, .logo a:hover, .logo a:active{
    color: rgba(255,255,255,1);
    text-decoration:none;
}

.navigation{
    width: 80%;
    margin:.5em 0 0;
    text-align: right;
    display: inline-block;
}

.navigation ul{
    width:100%;
    padding:0;
}

.navigation ul>li {
    font-weight:900;
    display: inline-block;
}

.navigation .divider{
    color: #c2c2c2;
    padding:0 .8%;
}

.menu a, .menu a:visited{
    font-size: 0.75em;
    color: rgba(255,255,255,1);
}

.menu a:hover, .menu a:active{
    color: #F29400;
    text-decoration:none;
    box-shadow: inset 0px 1px 10px rgba(0,0,0,0.5);
}

/*main*/
.main {
    width: 100%;
}

/*footer*/
footer{
    position:relative;
    width:100%;
    padding:1.5em 0 3em;
    border-top: solid 1px rgba(124,77,37,0.8);
    background-color: rgba(242,148,0,1);
    z-index:9999;
}

footer a, footer a:visited {
    color: #172982;
}

footer a:hover, footer a:active{
    color: #E2007A;
}

footer div.container>a{
    display:inline-block;
    font: normal 2.5em  'IcoMoon';
    margin: 1em 0 0 .5%;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

footer div.container>a:hover, footer div.container>a:active{
    text-decoration:none;
}

.facebook{
    margin-left:0.3%;
}

p.licencia{
    float: right;
    font: 700 0.75em "Lato";
    width:31.5%;
    margin: .187em 3% 0 0;
    text-align:right;
}



/* ------------------------------------------------------- */
/* Paginas individuales */
/* ------------------------------------------------------- */

/*home*/
#def_postcul{
    padding: 6em 0;
    background:url("bg_def-postcul.png") bottom center no-repeat;
    background-size: contain;
}

#def_postcul div.container{
}

#home h3{
    color: rgba(0,0,0,0.4);
    font:italic 900 3em/1.5em "Lato";
    text-align:center;
    text-transform: lowercase;
    text-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}

#def_postcul h2{
    display:inline-block;
    width:30%;
    margin-left:5.3%;
    text-shadow: 0px 0px 15px rgba(0,0,0,0.1);
    vertical-align: top;
}

div.parrafos_definicion{
    display:inline-block;
    width:55.5%;
    height:28em;
    margin-left:3.2%;
    column-count:2;
    -moz-column-count:2; 
    -webkit-column-count:2; 
}

div.parrafos_definicion p{
    color: rgba(0,0,0,0.6);
    margin-top:0;
}

#materiales_producidos{
    padding: 4.5em 0;
    background:url("bg_materiales-producidos.png") bottom right repeat-x transparent;
}

#materiales_producidos div.container{
    text-align:center;
}

#materiales_producidos h2 {
    margin: 0 0 .75em;
    text-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}

#materiales_producidos a {
    text-decoration:none;
    display: inline-block;
}

.titleEntrevista {
    padding:0;
    font-style:normal;
    text-transform: uppercase;
    padding:0 163px 0;
    background: url("border_entrevistas-home-izq.png") center left no-repeat, url("border_entrevistas-home-der.png") center right no-repeat;
    transition:all 0.1s linear;
    -moz-transition:all 0.1s linear; 
    -webkit-transition:all 0.1s linear; 
    -o-transition:all 0.1s linear;
}

.titleEntrevista:hover, .titleEntrevista:active{
    text-decoration:none;
    background: url("border_entrevistas-home-izq-hover.png") center left no-repeat, url("border_entrevistas-home-der-hover.png") center right no-repeat;
}

a.visitedTitleEntrevista {
    text-decoration:none;
    text-transform: lowercase;
    color: #7C4D25;
    background: url("border_entrevistas-home-izq-hover.png") center left no-repeat, url("border_entrevistas-home-der-hover.png") center right no-repeat;
}

#materiales_producidos img {
    border-radius: 5px;
    box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.3);
}

#materiales_producidos ul{
    font: normal 3em "Lato";
}

.ulHide{
    display:none;
}

#materiales_producidos ul li{
    font-weight:900;
    display:inline-block;
    margin:0 1.041%;
    text-transform:uppercase;
}

#materiales_consultados{
    padding: 1.5em 0 6em;
    background:url("bg_materiales-consultados.png") bottom right  rgba(0, 0, 0, 0.8);
}

#materiales_consultados h2{
    color: rgba(255, 255, 255, 0.2);
    text-align:center;
    text-shadow: 0px 0px 15px rgba(0,0,0,0.1);
    margin: .75em 0 .25em;
}

#materiales_consultados div.mc{
    display:inline-block;
    width:49%;
    vertical-align:top;
}

#materiales_consultados h3{
    color: rgba(255,255, 255, 0.4);
    text-align:center;
}

/*Paginas de Videos*/

.main.video{
    padding:0 0 6em;
}

div.video {
    position:relative;
    overflow:hidden;
    max-width: 1120px;
    margin:4.5em auto 0;
}

/*---las dos siguientes hacen el iframe responsive, el paddgin del primero maneja las proporciones del video---*/

div.video section:nth-of-type(1){
    position: relative;
    padding: 1% 0 56.25%; 
    height: 0;
    overflow: hidden;
}

div.video iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video h2{
    margin-bottom:0;   
}

div.video section:nth-of-type(2){
    float:left;
    width: 46%;
}

div.video section:nth-of-type(3){
    float:left;
    width: 35.41%;
    margin: 11em 0 0 7%;
    border-left: 6px solid rgba(0,0,0,0.1);
    padding-left:5%;
}

div.parrafos_video {
    margin-top:2.7em;
    width: 89%;
}

div.parrafos_video p+p{
    margin-top:1.5em;
}

div.video h3 {
    font: 700 2em/0.5 "Lato";
}

div.video ul {
    margin: 3.55em 0 0 -9.5%;
}

/*paginas de entrevistas*/

.main.entrevistas{
    padding:7.5em 0 6em;
}

div.entrevistas h2{
    font: 900 6em/0 "Lato";
    display:table-cell;
    padding-left:5%;
}

div.entrevistas .descripcion_entrevistas {
    font: italic 1.125em/1em "Lato";
    display:table-cell;
    width:100%;
    padding-left:12.5%;
}

div.entrevistas section>a{
    position: fixed;
    bottom:0;
    left:65%;
    background:url("bg_pdf-entrevistas.png") bottom no-repeat;
    padding:6em 6em 0.75em;
    text-transform:uppercase;
    transition:all 1.5s linear;
    -moz-transition:all 1.5s linear; 
    -webkit-transition:all 1.5s linear; 
    -o-transition:all 1.5s linear;
}

div.entrevistas section>a:hover, div.entrevistas section>a:active{
    background:url("bg_pdf-entrevistas-hover.png") bottom no-repeat;
    color: #000;
    text-decoration: none;
}

div.entrevistas div {
    width: 41%;
    margin:4.5em 0 0 5.5%;
}

div.entrevistas div p {
    font-size:1.125em;
    margin: 1.5em 0;
}

/*pagina participantes*/

.main.participantes{
    padding:3em 0 6em;
}

div.participantes section{
    margin-left:5.5%;
}

div.participantes h2{
    font: 700 3em/1.5em "Lato";
}

div.participantes ul{
    width: 73%;
    margin: 3em 0 4.5em -4.7%;
}

div.participantes li{
    font: 900 6em/0.95em "Lato";
    display:inline-block;
    margin-left:1%;
}

div.participantes li a{
    text-decoration:none;
}

div.participantes section>p{
    margin: -4.5em 0 0 50.5%;
    width: 44%;
}

div.participantes section>p span{
    font-weight:900;
}


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


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

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix
 */

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}


/* ==========================================================================
	Media Queries - Responsive Design.
   ========================================================================== */

@media only screen and (min-width : 320px) and (max-width : 480px) { 

h2{
    font: 900 3em/1em "Lato";
    margin: 0.75em 0;
}

h3{
    font-size: 1.125em;
    margin: 1.5em 0;
}

header{
    height: 13.5em;
    background-size:cover;
}

.logo {
    font: normal 2em/0 "Permanent Marker";
    width:100%;
    text-align:center;
    margin: 2.25em 0 0.75em;
}

.navigation {
    float:none;
    margin:0.75em 0;
    width:100%;
    text-align:center;
}

.navigation ul{
    float:none;
}

.navigation ul > li{
    float:none;
    display:block;
    width:100%;
    text-align:center;
}

.menu a, .menu a:visited {
    display: block;
    padding:0.375em 0;
}

#def_postcul {
    padding: 3em 0 4.5em;
    background:none;
}

#def_postcul h2{
    width:96%;
    margin:0;
    text-align:center;
}

#def_postcul div {
    -moz-column-count: auto;
    -webkit-column-count: auto;
    column-count:auto;
    margin: 3em 2% 0;
    width: 96%;
}

#materiales_producidos h2, #materiales_consultados h2 {
    margin: 0.75em 0;
}

#materiales_producidos > a:nth-of-type(1), #materiales_producidos > a:nth-of-type(2){
    margin:0 0 .5em;
}  

#materiales_producidos h3{
    margin:1.5em 0 0;
}

img[alt="Sombras Xinas"], img[alt="Som un barri digne"]{
    width:100%;
}

a.visitedTitleEntrevista, .titleEntrevista, .titleEntrevista:hover, .titleEntrevista:active {
    font-size: 0.75em;
    background:none;
    padding:0;
}

#materiales_producidos ul {
    padding: 0;
}

#materiales_producidos ul li {
    margin: 0;
    width: 100%;
    font-weight:700;
}

#materiales_consultados h3 {
    margin:.75em 0;
}

#materiales_consultados div:nth-of-type(1), #materiales_consultados div:nth-of-type(2), #materiales_consultados ul:nth-of-type(1), #materiales_consultados .mc-txts ul{
    display:block;
    width:91%;
    margin-left: 0;
}

#materiales_consultados ul:nth-of-type(1), #materiales_consultados .mc-txts ul{
    margin-left:-5%;
}

footer{
    text-align:center;
    padding-bottom: 12em;
}

section.social, p.licencia {
    width: 100%;
    margin: 0;
    text-align:center;
}

section.social {
    margin-bottom:3em;
}

p.licencia {
    font: normal 0.75em "Lato";
}

p.licencia .logo{
    font: normal 1.5em "Permanent Marker";
}

div.video section:nth-of-type(2), div.video section:nth-of-type(3){
    float:none;
    width:96%;
    margin: 0 2%;
}

div.video h3{
    line-height:1em;
}

div.video ul {
    margin: 3.25em 0 0 -10%;
    width: 91%;
}

div.entrevistas h2, div.entrevistas .descripcion_entrevistas {
    display:block;
    padding: 0;
    width:96%;
    text-align:center;
}

div.entrevistas h2 {
    margin:0;
}

div.entrevistas .descripcion_entrevistas{
    margin:4.5em 0 0;
}

div.entrevistas div {
    margin: 3em 1% 0;
    width: 98%;
}

div.entrevistas section > a{
    display:none;
}

div.participantes h2, div.participantes h3 {
    font: 900 1em/1.5 "Lato";
}

div.participantes ul {
    width:96%;
    margin: 1.5em 0 3em -11%;
}

div.participantes li {
    display: block;
    font: 900 3em/0.95em "Lato";
}

div.participantes section > p {
    width: 96%;
    margin: 0;
}
}


@media only screen and (min-width : 481px) and (max-width : 1024px){

.logo{
    margin-left:1.1%;
}

.navigation{
    margin-right:0;
    width:75%;
}

.navigation ul > li{
    width:35%;
}

.menu a, .menu a:visited{
    padding:0 5%;
}

.menu a:hover, .menu a:active{
    background:none;
    box-shadow:none;
}

#def_postcul h2 {
    margin:1em 0 0 .75%;
}

#def_postcul div{
    height:auto;
    margin-left: 12%;
    width: 56.5%;
}
 
#materiales_producidos > a:nth-of-type(1){
    display:inline;
    margin-left:1%;
}

#materiales_producidos > a:nth-of-type(2){
    display:inline;
    margin-left:1.6%;
}

#materiales_producidos img{
    width: 48.5%;
}

#materiales_producidos h3{
    margin-top:1.5em;
}

#materiales_producidos ul li{
    margin:0;
}

#materiales_consultados h2 {
    font: 900 5.8em/0.95em "Lato";
}

#materiales_consultados div:nth-of-type(1) {
    margin-left: 3.8%;
}

footer > a{
    margin-left:10%;
}

section.social {
    margin-left:1%;
}

p.licencia {
    width: 50%;
    margin-right: 8.5%;
}

div.video section:nth-of-type(2) {
    width:47%;
    margin-left:1%;
}

div.video section:nth-of-type(3){
    border:none;
    margin-left: 6.9%;
}

div.video ul {
    margin-left: -10.5%;
}

div.entrevistas h2 {
    margin:0 0 0 0.75%;
    padding-left: 0.5%;
}

div.entrevistas .descripcion_entrevistas{
    padding-left: 7.8%;
}

div.entrevistas div {
    width: 56.5%;
    margin-left:1%;
}

div.entrevistas section > a{
    left:73%;
}

div.participantes section {
    margin-left: 1%;
}

div.participantes ul{
    margin-left:-5.3%;
}

div.participantes section > p{
    margin-left:51%;
}

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