/*
Theme Name: PEN Català
Theme URI: www.bisgrafic.com
Author: Bisgràfic
Author URI: www.bisgrafic.com
Description: Designed and coded by <a href="http://www.bisgrafic.com" title="Bisgrafic”>Bisgràfic</a>.
Version: 1.0
Tags: català, anglès, traducció, llibertat d'expressió, responsiu, tipografia



/*Colors-------------------------------
 Marró: rgb(248,248,236);
 Taronja: rgb(255,86,82);
 Negre: rgb(59,59,59);
 Blanc: rgb(248,248,236);
----------------------------------------*/
#responsive-notice {
    font-size: 20px;
    line-height: 24px;
    color: rgb(255,86,82);
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    display: none;
    background-color: rgb(248,248,236);
    z-index: 99999999999999999;
    width: 100%;
    height: 100%;
}
#logo-responsive-notice {
    display: inline-block;
    margin-bottom: 50px;
    margin-top: 20%;
}
#responsive-notice p {
    padding: 0 50px;
}

@font-face {
    font-family: 'Dala Floda';
    src: url('fonts/DalaFloda-Medium-Web.eot');
    src: url('fonts/DalaFloda-Medium-Web.eot?#iefix') format('embedded-opentype'),
        url('fonts/DalaFloda-Medium-Web.woff') format('woff');
    font-weight:  600;
    font-style:   normal;
    font-stretch: normal;
}
@font-face {
    font-family: 'Pona Book';
    src: url('fonts/Pona/Pona-Regular.eot'); /* IE9 Compat Modes */
    src: url('fonts/Pona/Pona-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('fonts/Pona/Pona-Regular.woff') format('woff'), /* Modern Browsers */
        url('fonts/Pona/Pona-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('fonts/Pona/Pona-Regular.svg#Pona-Regular') format('svg'); /* Legacy iOS */
        font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}
@font-face {
    font-family: 'Pona Book Italic';
    src: url('fonts/Pona/Pona-RegularItalic.eot'); /* IE9 Compat Modes */
    src: url('fonts/Pona/Pona-RegularItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('fonts/Pona/Pona-RegularItalic.woff') format('woff'), /* Modern Browsers */
        url('fonts/Pona/Pona-RegularItalic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('fonts/Pona/Pona-RegularItalic.svg#Pona-RegularItalic') format('svg'); /* Legacy iOS */
        font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'Pona Bold';
    src: url('fonts/Pona/Pona-Bold.eot'); /* IE9 Compat Modes */
    src: url('fonts/Pona/Pona-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('fonts/Pona/Pona-Bold.woff') format('woff'), /* Modern Browsers */
        url('fonts/Pona/Pona-Bold.ttf') format('truetype'), /* Safari, Android, iOS */
        url('fonts/Pona/Pona-Bold.svg#Pona-Bold') format('svg'); /* Legacy iOS */
        font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}
@font-face {
    font-family: 'Pona Bold Italic';
    src: url('fonts/Pona/Pona-BoldItalic.eot'); /* IE9 Compat Modes */
    src: url('fonts/Pona/Pona-BoldItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('fonts/Pona/Pona-BoldItalic.woff') format('woff'), /* Modern Browsers */
        url('fonts/Pona/Pona-BoldItalic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('fonts/Pona/Pona-BoldItalic.svg#Pona-BoldItalic') format('svg'); /* Legacy iOS */
        font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}


html, body {
    min-height:100%;
    width: 100%;
    overflow-x: hidden;
}
body {
    color: rgb(59,59,59);
    font-family: "Pona Book", serif;
    font-size: 20px;
    line-height: 1.5em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: rgb(248,248,236);
    font-variant-ligatures: common-ligatures;
    -moz-font-feature-settings: "liga", "clig";
    -webkit-font-feature-settings: "liga", "clig";
    font-feature-settings: "liga", "clig";
    overflow-y: auto;
}
body.page-template-page-actualitat,
body.page-template-page-blog,
body.single-blog,
body.tag,
body.tax-blog_tag,
body.search-results-blog,
body.search-results{
    transition: margin 0.3s linear;
    -webkit-transition: margin 0.3s linear;
}

/*Estils de text---------------------------*/
h1,h2,h3,h4,h5 {
    font-weight: normal;
    margin: 0;
    display: inline-block;
    width: 100%;
}
h1, h2.big {
    font-family: 'Dala Floda', serif;
    font-weight: 600;
    font-size: 3.25em;
    line-height: 1.03em;
    text-align: center;
}
h1 {
    margin-bottom: 0.8em;
}
h2, h1.small {
    font-family: 'Dala Floda', serif;
    font-weight: 600;
    font-size: 1.65em;
    line-height: 1.1em;
    margin-bottom: 20px;
}
.page h2 {
    text-align: center;
    margin: 20px 0 30px;
}
h4 {
    font-family: 'Inconsolata', monospace;
    font-size: 1em;
    line-height: 1em;
    color: rgb(255,86,82);
    margin-bottom: 20px;
}
b, strong {
    font-weight: 300;
    font-family: 'Pona Bold';
}
h1 b, h2 strong, h2 b, h2 strong, h3 b, h3 strong {
    font-family: 'Dala Floda', serif;
    font-weight: 600;
}
em strong, em b,
i strong, i b, strong em {
    font-family: 'Pona Bold Italic';
}
i, em {
    font-style: normal;
    font-family: 'Pona Book Italic';	
}
a {
    text-decoration: none;
    color: inherit;
}
p {
    margin: 0;
    font-size: 1em;
    line-height: 1.5em;
    clear: both;
}
.font-small {
    font-size: 0.8em;
    line-height: 1.25em;
}
.page p, .single p {
    margin-bottom: 2em;
}
.home p {
    margin-bottom: 40px;
}
.red {
    color: rgb(255,86,82); 
}
p a, .link, .post-content li a {
    color: rgb(255,86,82);
    border-bottom: 1px solid rgb(255,86,82);
    cursor: pointer;
}
.link {
    font-family: "Inconsolata", monospace;
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
}
.nolink {
    color: rgb(59,59,59);
    border-bottom: none;
    font-family: inherit;
    display: block;
}
.nolink:hover {
    border: none;
}
p .link {
    font-family: inherit;
}
a:hover, a:focus, a:active,
p a:hover, .link:hover {
    text-decoration: none;
    border-bottom: 1px solid rgba(248,248,236,0);
    color: inherit;
}
a:focus {
    appearance: none !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    outline: none !important;
}
.very-big { /*Frase slider, buscador*/
    font-family: 'Dala Floda', serif;
    font-weight: 600;
    font-size: 6.5em;
    line-height: 0.92em;
}
.larish-40-40 {
    font-size: 2em;
    line-height: 1em;
}
.inconsolata-20,
input, select, .data  {
    font-family: 'Inconsolata', monospace;
    font-size: 20px;
    line-height: 20px;
}
input:not([type=checkbox]):not([type=radio])), select, textarea {
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
input.paypal-button {
    max-width: 215px;
    margin-top: 20px;
}
.inconsolata-20-26  {
    font-family: 'Inconsolata', monospace;
    /*font-size: 1em;
    line-height: 1.3em;*/
    font-size: 20px;
    line-height: 26px;
}
.inconsolata-20-30, input, select  {
    font-family: 'Inconsolata', monospace;
    font-size: 20px;
    line-height: 30px;
}
[class^='inconsolata'] b, [class^='inconsolata'] strong {
    font-family: 'Inconsolata', monospace;
    font-weight: 700;
}
*::selection {
    background-color: rgba(59,59,59,.2);
}
*::-moz-selection {
    background-color: rgba(59,59,59,.2);
}
*::-webkit-selection {
    background-color: rgba(59,59,59,.2);
}
:focus {
    outline: none;
}
.col-lg-8 {
    float: left;
}

/*Llista numerada----*/
ol, li {
    list-style: none;
    font-size: 1em;
    line-height: 1.5em;
}
.numbers ol li, /*Llista numerada*/
.numbers-big ol li,
.page-template-page-llista ol li,
.page-template-page-manifest-girona ol li,
.page-template-page-objectius-drets-linguistics ol li,
.single-noticies ol li,
.single-blog ol li,
.single-historia ol li { /*Llista numerada gran (cercle)*/
    list-style: none;
    counter-increment: n;
    margin-bottom: 50px;
}
ol {
    margin-left: 16.66666667%;
    width: 66.66666667%;
}
.numbers ol li {
    margin-left: 0;
}
.numbers ol li:before,
.page-template-page-llista ol li:before,
.page-template-page-manifest-girona ol li:before,
.page-template-page-objectius-drets-linguistics ol li:before,
.single-noticies ol li:before,
.single-blog ol li:before,
.single-historia ol li:before {
    content: counter(n) ". ";
    font-weight: 700;
    color: rgb(255,86,82);
    font-variant-numeric: lining-nums;
    -moz-font-feature-settings: "lnum";
    -webkit-font-feature-settings: "lnum";
    font-feature-settings: "lnum";
    font-family: 'Dala Floda', serif;
    font-weight: 600;
}
.numbers-big ol li:before,
.page-template-page-llista ol li:before,
.page-template-page-manifest-girona ol li:before,
.page-template-page-objectius-drets-linguistics ol li:before {
    content: counter(n);
    font-size: 33px;
    line-height: 36px;
    padding: 6px;
    margin-right: 35px;
    margin-left: -85px;
    border: 2px solid rgb(255,86,82);
    width: 50px;
    height: 50px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    position: absolute;
    text-align: center;
}
/* Llista sense números en la pàgina 'Objectius' */
/* .page-template-page-objectius-drets-linguistics ol li:before {
    content: ' ';
    background-color: rgb(255,86,82);
    width: 10px;
    height: 10px;
    margin-top: 10px;
} */
/*---------------*/
.orange {
    color: rgb(255,86,82);
}
.white {
    color: rgb(248,248,236);
}
/*Botó----------*/
.button, .button-wrapper {
    font-family: 'Inconsolata', monospace;
    color: rgb(255,86,82);
    font-size: 20px;
    line-height: 20px;
    padding: auto;
    background-color: rgb(255,255,255);
    border: 2px solid rgb(255,86,82);
    -webkit-box-shadow: -5px -5px 0px 0px rgb(255,86,82);
    -moz-box-shadow: -5px -5px 0px 0px rgb(255,86,82);
    box-shadow: -5px -5px 0px 0px rgb(255,86,82);
    margin: 50px 0 0 5px;
    float: left;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    text-align: center;
    box-sizing: border-box;
    width: 215px;
    height: 61px;
    position: relative;
    font-weight: 400;
}
.button span, .button-wrapper a {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    box-sizing: border-box;
    padding: 10px;
    border: 0;
}
.button-wrapper {
    margin: 0 0 40px 0;
}
.button-centered {
    width: 100%;
    text-align: center;
    float: left;
}
.button-centered .button {
    display: inline-block;
    float: none;
}
.button:hover, .button:active, .button:focus, .button-wrapper:hover,
.form-tab.active {
    color: rgb(59,59,59);
    border: 2px solid rgb(59,59,59);
    -webkit-box-shadow: 5px 5px 0px 0px rgb(59,59,59);
    -moz-box-shadow: 5px 5px 0px 0px rgb(59,59,59);
    box-shadow: 5px 5px 0px 0px rgb(59,59,59);
}
.button-plain {
    font-family: 'Inconsolata', monospace;
    color: rgb(255,86,82);
    font-size: 20px;
    line-height: 20px;
    padding: 20px 30px;
    border: 2px solid rgb(255,86,82);
    margin: 20px 0 0 0;
    float: left;
}
.button-plain.absolute {
    position: absolute;
    bottom: 0;
    margin: 0;
}
.button-plain:hover {
    color: rgb(59,59,59);
    border: 2px solid rgb(59,59,59);
}
/*---------------*/
/*Selects-------------*/
select {
    line-height: 24px;
}
.custom-select {
    width: 400px;
    margin: 80px auto 0;
    font-family: 'Inconsolata', monospace;
    font-size: 20px;
    line-height: 24px;
    position: relative;
    height: 40px;
    text-align: left;
    max-width: 100%;
}
.custom-select a {
    width: 100%;
    padding-bottom: 15px;
    display: block;
}
.custom-select a:hover {
    border: none;
}
.custom-select a:first-child {
    padding-top: 15px;
}
.select, .dropdown {
    float: left;
    width: 100%;
}
.select {
    background-color: rgb(248,248,236);
    border: 2px solid rgb(255,86,82);
    padding: 11px 15px;
    width: 100%;
    height: 50px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}
.select:after {
    float: right;
    content: '\2193';
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.select.open:after {
    transform: rotate(180deg);
}
.dropdown {
    background-color: rgb(248,248,236);
    max-height: 0;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    border-right: 2px solid rgb(255,86,82);
    border-left: 2px solid rgb(255,86,82);
    border-bottom: 2px solid rgb(255,86,82);
    padding: 0 15px 0;
    overflow-y: scroll;
    position: absolute;
    z-index: 1;
    top: 50px;
    margin-top: -2px;
}
.dropdown.out {
    max-height: 200px;
    margin-top: 0;
    -webkit-box-shadow: 3px 9px 10px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 3px 9px 10px 0px rgba(0,0,0,0.2);
    box-shadow: 3px 9px 10px 0px rgba(0,0,0,0.2);
}
/* #list-downloads .dropdown a:first-child {
    display: none;
}
 #list-downloads .dropdown a:nth-child(2) {
    padding-top: 15px;
} */

#list-downloads .dropdown a:first-child {
    padding-top: 15px;
}

/*Buscador---------------*/
.filter .searchform label, .searchform button {
    display: none;
}
.filter .searchform input[type="search"] {
    border: 2px solid rgb(255,86,82);
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background-color: transparent;
    padding: 14px 18px;
    background: url('library/images/search-orange-small.svg') no-repeat;
    background-size: 18px;
    background-position: right 15px center;
    width: 100%;
}

/*Buscador Modal------------------------------------------*/
.loading {
    position:absolute;
    top:50%;
    left:50%;
    width: 60px;
    height: 60px;
    display:block;
    background-image: url('library/images/ring-alt.gif');
    background-size: contain;
}
#menu-secundari li[data-target="#searchModal"] {
    float: left;
    cursor: pointer;
}
#menu-secundari .current-menu-item {
    border-bottom: 1px solid rgb(248,248,236);
}
#searchModal input {
    font-family: 'Dala Floda', serif;
    font-weight: 600;
    border: none;
    background-color: transparent;
}
.modal-dialog-full {
    width: 98%;
}
#searchModal .searchform input {
    width: 70%;
    box-sizing: border-box;
    margin: 0 15% 0 0;
}
/*#searchModal .searchform:before {
    content: url('library/images/search-orange-big.svg');
    position: absolute;
    left: 80px;
    top: 20px;
}*/
#searchModal img {
    float: left;
    margin-left: 9%;
    width: 6%;
    margin-top: 15px;
}
.modal.fade .modal-dialog {
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
}
.modal .close {
    top: 30px;
    right: 30px;
    z-index: 9999;
}
.modal .notificacio .close {
    top: 10px;
    right: 10px;
}
#search-tip {
    position: absolute;
    left: 0;
    bottom: 40px;
    width: 100%;
    text-align: center;
}


/*Aquest és el padding lateral que s'ha de canviar en responsive-----*/
.container-fluid.wrapper {
    padding: 0 130px;
    margin: 0;
}
.outside-wrapper, .notificacio {
    width: calc(100% + 260px);
    margin-left: -130px;
    padding: 0;
    float: left;
}
/*@-webkit-keyframes enter {
    from {opacity: 0;}
    to {opacity: 1;}
} 
@keyframes enter {
    from {opacity: 0;}
    to {opacity: 1;}
}*/
#main {
    padding-top: 184px;
    padding-bottom: 150px;
    opacity: 0;
    transition: opacity 1.5s;
    -webkit-transition: opacity 1.5s;
    /*animation: enter 1.5s 1;
    -webkit-animation: enter 1.5s 1;*/
    box-sizing: content-box;
}
/*#main.has-programa-menu {
    padding-top: 250px;
}*/
#main.nobreadcrumbs {
    padding-top: 90px;
}
img {
    max-width: 100%;
    height: auto;
}
img.proportion {
    width: 100%;
    height: auto;
    opacity: 0;
    position: relative;
    z-index: -1;
}
.bn, .background-bn, .persona-thumbnail.bn:hover {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%); /* For Webkit browsers */
    filter: gray; /* For IE 6 - 9 */
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.bn:hover {
    -webkit-filter: grayscale(0);
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    filter: none;
}
.darken {
    position: absolute;
    background-color: rgba(59,59,59,0.6);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* centered columns styles */
.row-centered {
    text-align:center;
}
.col-centered {
    display:inline-block;
    float:none !important;
    /* reset the text-align */
    text-align:left;
    /* inline-block space fix */
    margin-right:-4px;
    vertical-align: top;
}
/*justify*/
.justify {
    text-justify: inter-word;
    /*text-align-last: justify;*/
    text-align: justify;
}
.justify:after {
    content: "";
    display: inline-block;
    width: 100%;
}
.revert-justify {
    text-justify: initial;
    text-align: initial;
    /*text-align-last: initial;*/
}
/*vertical-center*/
.wrap-vertical-center {
    position: relative;
}
.vertical-center {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    width: 100%;
}
/*vertical fixed*/
.vertical-fixed {
    position: fixed;
    top: 50%;
    transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    z-index: 20;
    font-family: 'Inconsolata', monospace;
    font-size: 20px;
    line-height: 20px;
    color: rgb(255,86,82);
    border-bottom: 1px solid rgb(255,86,82);
}
.vertical-fixed-left {
    left: -70px;
}
.vertical-fixed-right {
    right: -70px;
}

/*Videos-----------------------------------------*/
.video {
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
}
.video img {
    width: 100%;
    margin: auto;
}
.play {
    position: absolute;
    z-index: 1;
    width: 80px;
    height: 80px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    background-image: url('library/images/play.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.play:hover {
    width: 90px;
    height: 90px;
}
.video-title {
    color: rgb(248,248,236);
    position: absolute;
    z-index: 1;
    width: 100%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    margin-top: -70px;
}
.video-title h1 {
    margin-bottom: 20px;
}
.video-title .play {
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    top: 100%;
}
.video-title .play:hover {
    margin-top: -5px;
}
*.removeTransitions {
    -webkit-transition: none !Important;
    transition: none !Important;
}
.media-background {
    position:absolute;
    top:50%;
    left:50%;
    -ms-transform: translate3d(-50%,-50%,0);
    -webkit-transform:  translate3d(-50%,-50%,0);
    transform:  translate3d(-50%,-50%,0);
}
.media-wrapper {
    overflow:hidden;
    display:block;
}
.media-wrapper {
    position:relative;
    top:0;
    left:0;
    width:100%;
    overflow:hidden;
}
.playImage {
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center center;
    z-index:40;
}
.media-content iframe {
    width:100% !important;
    position:absolute;
    height:100% !Important;
    border:none !Important;
    left:0;
    top:0;
}
.media-content .redShadow {
    position:relative;
    overflow: hidden;
}
/*.media-content, .media-margin {
    margin: 1.5em 0;
}*/

/* HEADER -------------------------------------------------------------------------------------------------------------------*/
body > header {
    font-family: 'Inconsolata', monospace;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
body > header.header-hidden {
    z-index: 100;
}
#menu-secundari-contacte,
body > header ul, body > header ul li {
    float: left;
    margin: 0;
    padding: 0;
}
#menu-secundari-menu ul, #s {
    float: none;
    display: inline-block;
}
#menu-secundari-contacte ul {
    float: left;
}

/*Menú secundari (pastilla negra)----------------------*/
#menu-secundari {
    font-size: 16px;
    line-height: 19px;
    color: rgb(248,248,236);
    background-color: rgb(59,59,59);
    padding: 15px 0;
}
#menu-secundari-contacte img {
    margin-top: -2px;
}
#menu-secundari-menu li,
#s {
    margin-left: 40px;
}
#menu-secundari-contacte li {
    margin-right: 40px;
}
#menu-secundari li[data-target="#newsletterModal"],
#menu-secundari li[data-target="#socialModal"]{
    display: inline;
    cursor: pointer;
}
#menu-secundari li#sobre {
    float: left;
}
#menu-secundari li[data-target="#newsletterModal"]:hover,
#menu-secundari li[data-target="#socialModal"]:hover{
    border-bottom: 1px solid rgb(248,248,236);
}
#languages li:last-child {
    margin-right: 0;
}
#menu-secundari-menu {
    float: right;
    text-align: right;
}
#s, #menu-secundari-menu nav, #languages {
    float: left;
}
#s:before {
    content: url('library/images/buscador.svg');
}
#languages li {
    padding: 0px 6px;
    margin-right: 6px;
}
#languages li.current-language {
    border: 1px solid rgb(248,248,236);
    padding: 0px 5px;
    margin-top: -1px;
}
.responsive-lang {
    display: none;
}
#header-lang {
    float: right;
    margin-left: 30px;
}
#header-lang #lang_sel_list {
    padding: 0px;
}
#header-lang #lang_sel_list a, #header-lang #lang_sel_list a.lang_sel_sel, #header-lang #lang_sel_list a.lang_sel_sel:visited, #header-lang #lang_sel_list.lang_sel_list_vertical a:visited, #header-lang #lang_sel_list.lang_sel_list_vertical a, #header-lang #lang_sel_list ul, #header-lang #lang_sel_list.lang_sel_list_vertical ul {
    padding: 0px 7px !important;
    line-height: 22px !important;
}
/*Idiomes------*/
.widget_icl_lang_sel_widget {
    float: right;
}
#lang_sel_list a,
#lang_sel_list a.lang_sel_sel,
#lang_sel_list a.lang_sel_sel:visited,
#lang_sel_list.lang_sel_list_vertical a:visited,
#lang_sel_list.lang_sel_list_vertical a,
#lang_sel_list ul,
#lang_sel_list.lang_sel_list_vertical ul
{
    background-color: transparent !important;
    border: none !important;
    font-size: 16px !important;
    line-height: 19px !important;
    color: rgb(248,248,236) !important;
    font-family: "Inconsolata", monospace !important;
    padding: 0 !important;
    text-transform: uppercase;
}
#lang_sel_list li {
    width: auto !important;
    margin: 0 7px 0 0 !important;
}
#lang_sel_list li a.lang_sel_sel {
    border: 1px solid rgb(248,248,236) !important;
    padding: 0 3px !important;
    margin-top: -1px;
}
#lang_sel_list {
    background: transparent;
    border: none;
}

/*Menú principal (pastilla marró)-----------------------*/
#menu-principal {
    font-size: 20px;
    padding: 35px 0 20px;
    background-color: rgb(248,248,236);
}
#menu-principal.menu-fixed,
.page-template-page-historia #menu-principal {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(255,86,82,0.2);
    -moz-box-shadow: 0px 2px 5px 0px rgba(255,86,82,0.2);
    box-shadow: 0px 2px 5px 0px rgba(255,86,82,0.2);
    padding: 15px 0;
}

#menu-principal,#menu-secundari {
    transition: margin 0.3s linear;
    -webkit-transition: margin 0.3s linear;
}
#logo {
    height: 50px;
    width: auto;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
#menu-principal.menu-fixed #logo,
.page-template-page-historia #menu-principal #logo {
    height: 40px;
}
#menu-principal > div > ul {
    float: right;
    margin-top: -11px;
}
#menu-principal.menu-fixed > div > ul,
.page-template-page-historia #menu-principal > div > ul {
    margin-top: 0;
}
#menu-principal > div > ul li {
    font-size: 20px;
    line-height: 20px;
    margin-right: 50px;
    float: none;
    display: inline;
    cursor: pointer;
}
#menu-principal > div > ul li.has-children:before {
    content: '\2193';
    margin-right: 5px;
    width: 10px;
    display: inline-block;
    transition: all 0.1s;
    -webkit-transition: all 0.1s;
}
#menu-principal > div > ul li.li-opened:before {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
}
#menu-principal > div > ul li.li-opened,
#menu-principal > div > ul li.current-menu-item {
    color: rgb(255,86,82);
}
#menu-principal > div > ul li.li-opened:before {
    content: '|';
}
#menu-principal > div > ul li:nth-last-child(2) {
    margin-right: 33px;
}
#menu-principal > div > ul li:last-child {
    color: rgb(255,86,82);
    border: 2px solid rgb(255,86,82);
    padding: 10px 15px;
    margin-right: 0;
    display: inline-block;
}
#menu-principal > div > ul li:last-child:hover {
    color: rgb(59,59,59);
    border: 2px solid rgb(59,59,59);
}
#menu-principal, #menu-secundari {
    position: relative;
    z-index: 50;
}
#trigger-menu-responsive {
    display: none;
}

/*Submenús header--------------------------------------*/
#submenus.opened {
    -webkit-box-shadow: inset 0px 1px 0px 0px rgb(204,204,204);
    -moz-box-shadow: inset 0px 1px 0px 0px rgb(204,204,204);
    box-shadow: inset 0px 1px 0px 0px rgb(204,204,204);
    min-height: 1px;
}
#submenus {
    position: absolute;
    float: left;
    width: 100%;
    z-index: 50;
    background-color: rgb(248,248,236);
    height: 0;
}
#submenus.menu-fixed {
    position: fixed;
    top: 70px;
}
#submenus {
    transition: height 0.4s;
    -webkit-transition: height 0.4s;
    -webkit-box-shadow: 0px 2px 5px -1px rgba(255,86,82,0.2);
    -moz-box-shadow: 0px 2px 5px -1px rgba(255,86,82,0.2);
    box-shadow: 0px 2px 5px -1px rgba(255,86,82,0.2);
}
.submenu {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    overflow: hidden;
    padding: 40px 0 50px;
}
.submenu-opened {
    opacity: 1;
}
.submenu-intro {
    width: 33% !important;
}

/*El PEN Català / Actualitat*/
.submenu li,
.submenu h3 {
    font-size: 28px;
    line-height: 28px;
    text-transform: uppercase;
    color: rgb(255,86,82);
    width: 100%;
}
.submenu ul {
    float: left;
    padding: 0;
}
.submenu li {
    margin-bottom: 30px;
}
.submenu li:hover,
.submenu li.current-menu-item {
    color: rgb(59,59,59);
}
.submenu .menu-description {
    font-family: "Pona Book", serif;
}
.submenu .section {
    min-height: 300px;
    position: relative;
}
.submenu .section .button-plain {
    /*position: absolute;
    left: 15px;
    bottom: 0;*/
}
.submenu .section p {
    font-size: 16px;
    line-height: 23px;
}

/*Submenú Programa*/
.submenu-programa {
    color: rgb(255,86,82);
    font-size: 20px;
    line-height: 30px;
    border-bottom: 2px solid rgb(255,86,82);
    border-top: 2px solid rgb(255,86,82);
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background-color: rgb(248,248,236);
    z-index: 40;
    padding: 15px 0;
    -webkit-box-shadow: 0px 2px 5px -1px rgba(255,86,82,0.2);
    -moz-box-shadow: 0px 2px 5px -1px rgba(255,86,82,0.2);
    box-shadow: 0px 2px 5px -1px rgba(255,86,82,0.2);
}
.submenu-programa .wrapper {
    position: relative;
}
.submenu-programa h4 {
    text-transform: uppercase;
    width: auto;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.sub-submenu-programa {
    float: right;
}
.sub-submenu-programa ul,
.sub-submenu-programa li {
    margin: 0;
    padding: 0;
}
.sub-submenu-programa ul,
.wrap-table {
    float: none;
    display: table;
}
.sub-submenu-programa li,
.item-table {
    margin-left: 40px;
    text-align: center;
    float: none;
    display: table-cell;
    vertical-align: middle;
    padding: 0 20px;
}
.sub-submenu-programa li a {
    display: block;
    line-height: 1.15em;
    border-bottom: none;
}
.sub-submenu-programa li a:hover,
.sub-submenu-programa li.current-menu-item a {
    border: none;
    text-decoration: underline;
}
.sub-submenu-programa li:last-child {
    padding-right: 0;
}
.notificacio.notificacio-programa {
    margin-top: -30px;
    margin-bottom: 80px;
    float: left;
}
#em-vull-subscriure {
    cursor: pointer;
}

/*Breadcrumbs--------------------------------------*/
#breadcrumbs {
    font-family: "Inconsolata", monospace;
    font-size: 13px;
    line-height: 15px;
    margin: 20px 0 40px;
    float: left;
    width: 100%;
}
#breadcrumbs a:hover {
    color: rgb(255,86,82);
    text-decoration: underline;
}

/* NOTIFICACIONS -------------------------------------------------------------------------------------------------------------------*/
.notificacio {
    float: left;
    font-family: 'Dala Floda', serif;
    font-weight: 600;
    color: rgb(248,248,236);
    text-align: center;
    background-color: rgb(255,86,82);
    padding: 50px 0;
    margin-top: 60px;
}
.notificacio p {
    font-size: 1.65em;
    line-height: 1.2em;
}
.notificacio.black {
    background-color: rgb(59,59,59);
}
.modal-backdrop {
    background-color: rgba(248,248,236,0.9);
}
.modal-backdrop.in {
    opacity: 1;
}
.modal-content {
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: none;
}
.modal-content.notificacio {
    width: 530px;
    /*height: auto;*/
    max-width: 100%;
    margin-top: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    margin-left: 0;
    padding: 55px;
}
#newsletterModal .modal-content.notificacio {
    /* width: 630px;
    height: 345px;*/
}
.close {
    opacity: 1;
    position: absolute;
    top: 10px;
    right: 10px;
}
/*Centrar modal----*/
.modal {
    text-align: center;
    padding: 0!important;
}
.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px; /* Adjusts for spacing */
}
.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}
/*----------*/
.notificacio span {
    margin-bottom: 20px;
    display: inline-block;
}
.notificacio p {
    margin-bottom: 0;
}
.notificacio .button {
    color: inherit;
    background-color: transparent;
    border: 2px solid rgb(248,248,236);
    -webkit-box-shadow: -5px -5px 0px 0px rgb(248,248,236);
    -moz-box-shadow: -5px -5px 0px 0px rgb(248,248,236);
    box-shadow: -5px -5px 0px 0px rgb(248,248,236);
    margin: 50px 0 0 5px;
    float: none;
    display: inline-block;
}
.notificacio.pop-up .button {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    margin: 30px 0 0 0;
    width: 250px;
}
.notificacio .button:hover, .notificacio .button:active, .notificacio .button:focus {
    -webkit-box-shadow: 5px 5px 0px 0px rgb(248,248,236);
    -moz-box-shadow: 5px 5px 0px 0px rgb(248,248,236);
    box-shadow: 5px 5px 0px 0px rgb(248,248,236);
}
.notificacio-small {
    font-family: "Inconsolata", monospace;
    line-height: 20px;
    color: rgb(255,86,82);
    text-align: center;
    float: left;
    width: 100%;
    margin-bottom: 40px;
}
.tag .notificacio-small,
.tax-blog_tag .notificacio-small {
    margin: 40px 0;
}

/* HOME -------------------------------------------------------------------------------------------------------------------*/
/*Slider--------------------------------*/
#slider_float {
    float: left;
    width: 100%;
    margin-top: 220px;
    min-height: 500px;
}
#home_slider {
    min-height: 600px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
}
#home_slider .slick-list {
    overflow: visible !important;
}
.home-slide {
    background-color: rgb(248,248,236);
}
.home-slide .slide-block {
    margin-top: 25px;
    position: relative;
    float: left;
    clear: both;
    z-index: 5;
}
#home_slider .rsSlide,
.home-slide .slide-block {
    overflow: visible;
}
.home-slide .very-big {
    z-index: 5;
    position: relative;
    font-size: 8em;
    line-height: 0.85em;
}
.slider-obra {
    width: 50%;
    height: 120%;
    position: absolute;
    top: -12%;
    right: -20%;
    z-index: 0;
    cursor: pointer;

}
.slider-obra img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
}
.slick-slider {
    overflow: hidden;
}
#timeline-veu-lliure.slick-slider {
    overflow: visible;
}
.slick-slide img.img-color {
    display: none;
}
.slider-autor {
    margin-bottom: 0 !important;
    transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -webkit-transform-origin: 100% 0;
    -moz-transform-origin: 100% 0;
    -o-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
    position: absolute;
    top: 0;
    right: -10px;
}
/*#home_slider .slide-block:hover .slider-obra {
    z-index: 10;
}*/
/*#home_slider .slide-block:hover .very-big {
    opacity: 0.1;
}*/
#home_slider .slider-obra:hover {
    z-index: 10;
}
#home_slider .slider-obra:hover + .very-big {
    opacity: 0.1;
}
#home_slider .slider-obra:hover .img-color {
    display: block;
}
#home_slider .slider-obra:hover .img-bito {
    display: none;
}
#home_slider .button {
    float: left;
    clear: both;
}
#home_slider .obra {
    color: rgb(255,86,82);
}
#home_slider .slick-list  {
    top: 50% !important;
    height: auto !important;
    transform: translate3d(0, -45%, 0) !important;
    -webkit-transform: translate3d(0, -45%, 0);
    -moz-transform: translate3d(0, -45%, 0);
    -o-transform: translate3d(0, -45%, 0);
    -ms-transform: translate3d(0, -45%, 0);
}
#home_slider .slick-dots {
    bottom: 40px;
}
/*.rspenCatala .rsTabs {
        width: 100%;
        text-align:center;
        position: absolute;
    bottom: 30px;
    /*left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}*/
#home_slider .slick-dots li {
    width: auto;
    height: auto;
}
#home_slider .slick-dots li button:before {
    content: '';
}
#home_slider .slick-arrow { display: none !important; }
.rspenCatala .rsTab,
#home_slider .slick-dots li button {
    display: inline-block;
    cursor: pointer;
    width: 25px;
    height: 3px;
    text-decoration: none;
    background-color: rgb(59,59,59);
    border: 10px solid rgb(248,248,236);
    box-sizing: content-box;
    padding: 0;
}
.rspenCatala .rsTab:active,
.rspenCatala .rsTab.rsNavSelected,
#home_slider .slick-dots li.slick-active button { 
    background-color: rgb(255,86,82);
}
/*Slide inception-------------------------*/
#modalFonsArt {
    overflow: hidden;
}
#go-fons-art {
    position: absolute;
    top: 50%;
    right: 45px;
    transform: rotate(270deg) translate(50%,50px);
    -webkit-transform: rotate(270deg) translate(50%,50px);
    -moz-transform: rotate(270deg) translate(50%,50px);
    -o-transform: rotate(270deg) translate(50%,50px);
    -ms-transform: rotate(270deg) translate(50%,50px);
    transform-origin: 100% 0;
    -webkit-transform-origin: 100% 0;
    -moz-transform-origin: 100% 0;
    -o-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transition: all 0.8s;
    opacity: 0;
}
.page-template-page-fons-art #go-fons-art {display: none;}
#go-fons-art.out {
    transform: rotate(270deg) translate(50%,0);
    -webkit-transform: rotate(270deg) translate(50%,0);
    -moz-transform: rotate(270deg) translate(50%,0);
    -o-transform: rotate(270deg) translate(50%,0);
    -ms-transform: rotate(270deg) translate(50%,0);
    opacity: 1;
}
#slider-fons-art,
#modalFonsArt .modal-content,
#slider-fons-art .slick-track,
#slider-fons-art .slick-list {
    width: 100%;
    height: 100%;
    background-color: transparent;
}
.slide-fons-art {
    width: 100%;
}
#modalFonsArt .modal-dialog {
    height: 100%;
    margin: 0;
}
.slick-arrow:before {
    content: '';
}
.slick-arrow {
    width: 42px;
    height: 42px;
    background-size: contain;
    z-index: 49;
}
.slick-next, .slick-next:hover, .slick-next:focus {
    background-image: url('library/images/arrow-right.svg');
    right: 25%;
}
.slick-prev, .slick-prev:hover, .slick-prev:focus {
    background-image: url('library/images/arrow-left.svg');
    left: 25%;
}
#slider-fons-art .slick-next, #slider-fons-art .slick-next:hover, #slider-fons-art .slick-next:focus {
    right: 25px;
}
#slider-fons-art .slick-prev, #slider-fons-art .slick-prev:hover, #slider-fons-art .slick-prev:focus {
    left: 25px;
}
.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
    opacity: 0.8;
}
#slider-escriptor-perseguit .slick-list {
    overflow: visible;
}
#slider-fons-art .slick-dots,
#slider-escriptor-perseguit .slick-dots {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 100px;
    font-family: "Inconsolata", monospace;
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
    color: rgb(255,86,82);
}
#slider-escriptor-perseguit .slick-dots {
    position: fixed;
}
#slider-fons-art .slick-dots li,
#slider-escriptor-perseguit .slick-dots li {
    counter-increment: slidercounter;
    /*position: absolute;
    top: 0;
    right: 0;*/
    position: fixed;
    left: 30px;
    top: 26px;
}
#slider-fons-art .slick-dots li:before,
#slider-escriptor-perseguit .slick-dots li:before {
    opacity: 0;
}
#slider-fons-art .slick-dots li.slick-active:before,
#slider-escriptor-perseguit .slick-dots li.slick-active:before {
    opacity: 1;
}
#slider-fons-art .slick-dots li:before,
#slider-escriptor-perseguit .slick-dots li:before {
    content: counters(slidercounter,'');
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    text-align: right;
}
#slider-fons-art .slick-dots li:after,
#slider-escriptor-perseguit .slick-dots li:after {
    content: '/' counters(slidercounter,'');
    position: absolute;
    top: 0;
    left: 20px;
    width: 50px;
    opacity: 0;
}
#slider-fons-art .slick-dots li:last-of-type:after,
#slider-escriptor-perseguit .slick-dots  li:last-of-type:after {
    opacity: 1;
}
.slick-dots li button:before {
    content: '';
}
.slick-disabled, .slick-disabled:hover, .slick-disabled:focus, .slick-disabled:active {
    opacity: 0 !important;
    cursor: default !important;
    background: none !important;
    border: none !important;
}
.slide-fons-art {
    text-align: center;
    height: 100%;
    box-sizing: border-box;
    padding: 120px 0 30px;
}
.image-slider-fons-art {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: auto;
    height: 85%;
    margin: 0 auto;
    -webkit-box-shadow: 3px 9px 10px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 3px 9px 10px 0px rgba(0,0,0,0.2);
    box-shadow: 3px 9px 10px 0px rgba(0,0,0,0.2);
}
.slide-fons-art-text {
    margin-top: 40px;
}
.slide-fons-art-text p {
    margin: 0;
}


/*----------------------------------------*/
.random_area {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    border: 1px solid;
}
.numeracio {
    color: rgb(255,86,82);
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
}
.home .related {
    margin-top: 150px;
    float: left;
}
.separator {
    float: left;
    width: 100%;
    clear: both;
}
.related h2 {
    text-align: left;
    margin-top: 0;
}
.home-featured {
    margin-top: 120px;
    padding-bottom: 15px;
}
.home-featured h2 {
    margin-bottom: 40px;
}
.featured-text {
    position: relative;
}
.home-featured p {
    font-size: 1.65em;
    line-height: 1.2em;
}
.home-featured a {
    font-family: "Inconsolata", monospace;
    font-size: 20px;
}
.home-featured.short {
    text-align: center;
}
.home-featured.wimage {
    position: relative;
    overflow: hidden;
}
.home-featured.wimage h2,
.home-featured.wimage p {
    text-align: left;
    width: 80%;
    position: relative;
    z-index: 5;
}
.home-featured.wimage img {
    width: 30%;
    height: auto;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 0;
    cursor: pointer;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.home-featured.wimage img:hover {
    z-index: 10;
}

/*Notícies--------------------------------*/
.destacat h2 {
    font-size: 65px;
    line-height: 67px;
}
.destacat p {
    font-size: 33px;
    line-height: 40px;
}
.blog .destacat p {
    font-size: 20px;
    line-height: 30px;
}
.noticia.destacat-no-image h2,
.noticia.destacat-curt p {
    text-align: center;
}
.wp-caption {
    position: relative;
    max-width: 100%;
}
.wp-caption-text {
    margin-bottom: 0 !important;
    transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -webkit-transform-origin: 100% 0;
    -moz-transform-origin: 100% 0;
    -o-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
    position: absolute;
    top: 0;
    right: -10px;
    font-family: 'Inconsolata', monospace;
    font-size: 20px;
    line-height: 20px;
    text-transform: right;
    min-width: 300px;
}

.post-content .wp-caption-text {
    text-align: right;
}

.post-thumbnail .wp-caption-text {
    text-align: right;
}


/*EL PEN CATALÀ------------------------------------------------------------------------------------------------------------------*/
.header-video {
    background-color: rgb(150, 150, 150);
    min-height: 300px;
    position: relative;
}
.pen-internacional {
    text-align: center;
}
.pen-internacional > div {
    text-align: center;
}
.pen-internacional h2 {
    margin: 80px 0 15px;
    float: none;
    display: inline-block;
}
.pen-internacional .link {
    display: inline;
    margin-bottom: 20px;
}
.pen-internacional p {
    text-align: left;
}
.pen-internacional p:last-child a,
.page-template-page-ciutats-refugi p:last-child a,
.button-wrapper a {
    font-family: "Inconsolata", monospace;
}

/* CRONOLOGIA -------------------------------------------------------------------------------------------------------------------*/
.persona {
    line-height: 1.2em;
    text-align: center;
}
.persona-small {
    font-size: 16px;
    line-height: 20px;
}
.persona-thumbnail {
    width: 120px;
    height: 120px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 2px solid rgb(255,86,82);
    opacity: 0.8;
    transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
    background-size: cover;
    background-position: center;
}
.persona-thumbnail-border .persona-thumbnail,
.persona-thumbnail .bn {
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
}
.background-bn {
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    background-size: cover;
    background-position: center;
}
.junta-i-equip .persona-thumbnail {
    display: inline-block;
}
.persona-thumbnail-border {
    border: 2px solid rgb(255,86,82);
    overflow: hidden;
}
.persona-thumbnail:hover {
    opacity: 1;
}
.persona-thumbnail img {
    width: 100%;
    height: auto;
}
.president-actual .persona-thumbnail,
.persona-junta .persona-thumbnail,
.persona-thumbnail-big {
    width: 260px;
    height: 260px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.single-president .persona-thumbnail,
.persona-escriptor-perseguit .persona-thumbnail {
    display: inline-block;
    background-size: cover;
    background-position: center;
}
.persona-thumbnail-30,
.persona-thumbnail-50,
.persona-thumbnail-100 {
    width: 50%;
    height: auto;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.persona-thumbnail-30 {
    width: 30%;
    display: inline-block !important;
}
.persona-thumbnail-100 {
    width: 100%;
}
.persona-thumbnail-noborder {
    border: 0;
}
.imageSquare {
    background-size: cover;
    background-position: center;
}
.imageSquare img {
    opacity: 0;
}
.persona p:first-of-type {
    color: rgb(255,86,82);
}
.persona p {
    margin: 0;
}
.timeline, .timeline-year {
    color: rgb(255,86,82);
    font-family: 'Dala Floda', serif;
    font-weight: 600;
}
.timeline-year.active {
    color: rgb(59,59,59);
}
.timeline-text {
    font-size: 16px;
    line-height: 18px;
}
/*Single Cronologia-----------------------*/
.single-timeline .timeline-year {
    font-size: 30px;
    line-height: 36px;
}
.single-timeline .timeline-text {
    font-family: initial;
}
.share {
    font-family: "Inconsolata", monospace;
    font-size: 19px;
    line-height: 22px;
}
.share a {
    border-bottom: 1px solid rgb(255,86,82);
    color: rgb(255,86,82);
    margin-right: 30px;
}
.share a:hover {
    border-bottom: none;
}

/*Actualitat-----------------------------------------------------------------------------------*/
.navigation {
    float: left;
    width: 100%;
    margin-top: 125px;
}
.navigation-pages {
    text-align: center;
}
.navigation-pages a,
.navigation-pages span {
    margin-right: 30px;
}
.navigation-pages a:last-child {
    margin-right: 0;
}
.navigation-next {
    text-align: right;
}
.navigation a {
    border-bottom: 1px solid rgb(255,86,82);
    color: rgb(255,86,82);
}
.navigation a:hover, .navigation a.active {
    color: rgb(59,59,59);
    border-bottom: none;
}
#filter_noticies p.active, #filter_noticies p:hover {
    border-bottom: 1px solid rgb(255,86,82);
    color: rgb(255,86,82);
}
.noticies .post:not(.featured-news) img {
    width: 100%;
    height: auto;
}
.featured-news {
    /*position: absolute;
    margin-bottom: 100px;
    width: 65%;*/
    padding: 0;
}
.featured-news.portrait {
    width: 100%;
}
.featured-news.landscape {
    width: 65%;
}
.featured-news.square {
    /*width: 33.33%;
    float: right;
    padding-right: 15px;*/
    width: 100%;
}

/*Single Actualitat--------------------------------------------------------------------------*/
.single-noticies .post-thumbnail {
    margin: 0 0 40px 0;
    width: auto;
    position: relative;
}
.single-noticies .post-thumbnail img {
    height: auto;
    width: 100%;
}

/*Programa-----------------------------------------------------------------------------------*/
.programa {
    float: left;
}
.programa h1 {
    text-align: left;
    margin: 5px 0 30px;
}
.seccio-programa h2 {
    font-size: 2.5em;
    line-height: 1.1em;
    margin: 0 0 20px 0;
}
.seccio-programa-imatge h2,
.seccio-programa-escriptor h2 {
    text-align: left;
}
.seccio-programa p {
    margin-bottom: 0;
}
.seccio-programa .links a {
    margin-right: 20px;
}
.intro {
    margin-bottom: 120px;
    position: relative;
}
.intro p {
    font-size: 1.65em;
    line-height: 1.1em;
    margin-bottom: 15px;
}
.intro a {
    font-size: 20px;
}
.intro img {
    width: 35%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(80%);
    -webkit-transform: translateX(80%);
    -moz-transform: translateX(80%);
    -o-transform: translateX(80%);
    -ms-transform: translateX(80%);
    z-index: -1;
}
.intro-link {
    float: left;
    display: block;
    clear: both;
    line-height: 1em;
    margin-bottom: 0.4em;
}
.seccio-programa {
    margin-bottom: 120px;
    float: left;
    width: 100%;
    margin: 60px 0;
}
.seccio-programa-content {
    padding: 40px 0;
    position: relative;
}
.links-wrap {
    padding: 0;
}

/*Programa imatge-----------*/
.seccio-programa-imatge .programa-image {
    width: 37.5%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    z-index: -1;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.seccio-right .programa-image {
    left: 0;
    /*background-position: right;*/
}
.seccio-left .programa-image {
    right: 0;
    /*background-position: left;*/
}
/*.programa-image img {
    width: 100%;
    height: auto;
}*/
.seccio-right .seccio-programa-content,
.seccio-right .links-wrap {
    float: right;
}
.seccio-programa-imatge .text,
.seccio-programa-imatge .links {
    width: 62.5%;
    float: left;
}
.seccio-right .text,
.seccio-right .links {
    margin-right: 12.5%;
    float: right;
}
.seccio-left .text,
.seccio-left .links {
    margin-left: 12.5%;
}
.seccio-right img {
    float: right;
}
/*Programa escriptor-----------*/
.seccio-programa-escriptor .seccio-programa-content {
    width: 68%;
    width: calc(70% - 30px);
    float: left;
}
.seccio-programa-escriptor .programa-image {
    width: 30%;
    float: right;
    background-size: cover;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.imgHidden {
    width: 100%;
    height: auto;
    opacity: 0;
}



/*Llibertat d'expressió-------------------------------------------*/
.seccio-llibertat-expressio .post-thumbnail {
    padding: 0;
    margin: 0;
}
.seccio-llibertat-expressio .post-thumbnail img {
    -webkit-border-radius: 1000px;
    -moz-border-radius: 1000px;
    border-radius: 1000px;
}
.amenacat-container, .has-stamp {
    position: relative;
}
.has-stamp:hover .stamp {
    opacity: 0;
}
.stamp, .assassinat:before {
    font-family: "Inconsolata", monospace;
    position: absolute;
    border: 0.15em solid rgb(255,86,82);
    color: rgb(255,86,82);
    font-size: 1.75em;
    font-weight: 700;
    line-height: 1em;
    padding: 0.5em 1em;
    mix-blend-mode: multiply;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
    -webkit-transition: opacity 0.2s ease;
}
.assassinat:before {
    content: 'X';
    color: rgba(0,0,0,0);
    transform: rotate(1deg);
    -webkit-transform: rotate(1deg);
    -moz-transform: rotate(1deg);
    -o-transform: rotate(1deg);
    -ms-transform: rotate(1deg);
    width: 105%;
    height: 100%;
    bottom: -15px;
    left: -15px;
    border: 0.09em solid rgb(255,86,82);
}


/*Escriptors perseguits-----------------------------------------------------------------------*/
.page-template-page-escriptors-perseguits .page-intro {
    margin-top: 10px;
    margin-bottom: 60px;
}
.persona-escriptor-perseguit {
    margin-bottom: 65px;
}
.persona-escriptor-perseguit .persona-thumbnail {
    position: relative;
}
.persona-escriptor-perseguit.persona p:first-of-type {
    color: rgb(59,59,59);
}
.escriptor-assassinat p span {
    /*text-decoration: line-through;*/
    position: relative;
}
.escriptor-assassinat p span:before {
    content: '';
    border-bottom: 1px solid;
    height: 50%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
/*Single escriptor perseguit-------------------*/
.single-escriptor-perseguit h1 {
    margin-bottom: 10px;
}
.origen-escriptor-perseguit {
    text-align: center;
}
.single-escriptor-perseguit .persona-thumbnail {
    width: 35%;
    height: auto;
}
#intro-escriptor-perseguit {
    right: 0;
    left: auto;
    width: 63%;
    width: calc(65% - 30px);
}
.writer-state {
    text-transform: uppercase;
}

/*Dia de l'escriptor perseguit / Declaració universal---------------------------------------------*/
.has-thumbnail {
    position: relative;
}
.page-thumbnail img {
    width: 100%;
    height: auto;
}
.page-thumbnail {
    width: 30%;
    position: absolute;
    z-index: -1;
}
.gallery-image {
    margin-bottom: 35px;
    cursor: pointer;
}
.page-template-page-dia-escriptor-perseguit .has-thumbnail {
    margin-bottom: 170px;
}
.page-template-page-dia-escriptor-perseguit .page-thumbnail {
    bottom: -100px;
    right: -20%;
}
.page-template-page-text-i-descarregables .page-thumbnail {
    top: 20px;
    left: -20%;
}


/*Premi Veu Lliure-----------------------------------------------------------*/
.persona-veu-lliure .persona-info p:first-of-type {
    color: rgb(59,59,59);
}
.persona-veu-lliure .persona-info {
    /*display: none;*/
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
.persona-veu-lliure.slick-current .persona-info {
    /* display: block;;*/
    max-height: 500px;
    opacity: 1;
    transition: opacity 1s;
    -webkit-transition: opacity 1s;
    transition-delay: 0.4s;
}
.persona-veu-lliure .persona-info a {
    margin-top: 15px;
    display: inline-block;
}
.persona-veu-lliure .persona-thumbnail {
    width: 3.5em;
    margin-right: auto;
    margin-left: auto;
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    opacity: 1;
}
.persona-veu-lliure.slick-current .persona-thumbnail {
    transform: scale(2);
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
}
#timeline-veu-lliure {
    margin-top: 2em;
    min-height: 20em;
}
#timeline-veu-lliure:before {
    content: ' ';
    border-top: 2px dotted rgb(59,59,59);
    position: absolute;
    width: 100%;
    top: 1.75em;
}
#wrap-timeline-veu-lliure {
    overflow: hidden;
    padding: 0;
    float: left;
    width: 100%;
}
#timeline-veu-lliure .slick-list {
    /*width: 10em !important;
    margin: 0 auto;*/
    overflow: visible !important;
}
#timeline-veu-lliure .slick-arrow {
    top: 1.76em;
    width: 1em;
    height: 10em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 1em;
    background-color: rgb(248,248,236);
    box-sizing: initial;
    border-left: 15px solid rgb(248,248,236);
    border-right: 15px solid rgb(248,248,236);
}
#timeline-veu-lliure .slick-arrow:hover, #timeline-veu-lliure .slick-arrow:focus, #timeline-veu-lliure .slick-arrow:active {
    opacity: 1 !important;
}
#timeline-veu-lliure .slick-next, #timeline-veu-lliure .slick-next:hover, #timeline-veu-lliure .slick-next:focus {
    right: 0;
    transform: translate(0%,-50%);
    -webkit-transform: translate(0%,-50%);
    -moz-transform: translate(0%,-50%);
    -o-transform: translate(0%,-50%);
    -ms-transform: translate(0%,-50%);
    background-image: url('library/images/arrow-black-r.svg');
}
#timeline-veu-lliure .slick-prev, #timeline-veu-lliure .slick-prev:hover, #timeline-veu-lliure .slick-prev:focus {
    left: 0;
    transform: translate(-0%,-50%);
    -webkit-transform: translate(-0%,-50%);
    -moz-transform: translate(-0%,-50%);
    -o-transform: translate(-0%,-50%);
    -ms-transform: translate(-0%,-50%);
    background-image: url('library/images/arrow-black-l.svg');
}
.persona-veu-lliure {
    width: 7em;
}
.slick-current .persona-year {
    margin-top: 2.5em;
    transition: margin 0.2s linear;
    -webkit-transition: margin 0.2s linear;
}
.slick-current .persona-info {
    width: 200%;
    margin-left: -50%;
}
/*.persona-veu-lliure.slick-current {
    width: 16.5em;
}*/


/*Blog-----------------------------------------------------------------------*/
.page-template-page-blog,
.single-blog,
.blog-tag-page,
.search-results-blog,
.author {
    background-color: rgb(255,229,228);
}
.page-template-page-blog header, .page-template-page-blog #menu-principal, .page-template-page-blog #submenus,
.single-blog > header, .single-blog #menu-principal, .single-blog #submenus,
.blog-tag-page > header, .blog-tag-page #menu-principal, .blog-tag-page #submenus,
.search-results-blog > header, .search-results-blog #menu-principal, .search-results-blog #submenus,
.author > header, .author #menu-principal, .author #submenus {
    background-color: rgb(254,213,211);
}
#color-blog {
    position: absolute;
    height: 200px;
    width: 100%;
    background-color: rgb(254,213,211);
    z-index: -1;
    left: 0;
    top: 0;
}
#header_blog {
    background-color: rgb(254,213,211);
    margin-bottom: 60px;
    padding-top: 30px;
    padding-bottom: 30px;
}
#header_blog #h1-wrap {
    margin-bottom: 0.3em;
    text-align: center;
}
#header_blog #h1-wrap span {
    position: relative;
    display: inline-block;
}
#header_blog h1 {
    z-index: 1;
    width: auto;
    margin: 0;
    font-size: 4.5em;
    line-height: 1em;
    position: relative;
}
#header_blog div img {
    height: 4.5em;
    width: auto;
    top: 0;
    right: -2.3em;
    position: absolute;
    z-index: 0;
}
#header_blog small {
    font-size: 10px;
    transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    position: absolute;
    display: block;
    right: -8em;
    bottom: 0.5em;
}
#blog_subtitle {
    font-family: 'Dala Floda', serif;
    font-weight: 600;
    text-align: center;
    width: 100%;
    float: left;
}
.blog {
    float: left;
    width: 100%;
}
.post {
    margin-bottom: 60px;
}
.blog h2, .single-blog h1 {
    /*font-size: 40px;*/
    font-size: 2em;
    line-height: 1em;
}
.blog h2 {
    text-align: left;
}
.post-author {
    margin: 10px 0 30px;
}
a .post-author {
    text-decoration: underline;
}
.post-author a {
    color: initial;
    border-bottom-color: rgb(59,59,59);
}
a .post-author:hover, .post-author a:hover {
    text-decoration: none;
    border-bottom: none;
}
.post-tags {
    margin-top: 15px;
    font-family: "Inconsolata", monospace;
    font-size: 16px;
    line-height: 19px;
    color: rgb(255,86,82);
}
.post-tags .tag {
    border: 1px solid rgb(255,86,82);
    margin: 2px 20px 5px 0;
    padding: 0 5px 2px;
    display: inline-block;
}
.post-tags .tag:hover, .post-tags .tag:active, .post-tags .tag:focus {
    background-color: rgb(255,86,82);
    color: rgb(248,248,236);
}
#filter_blog_link,
#filter_noticies_link {
    font-size: 20px;
    position: fixed;
    transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    left: 0;
    cursor: pointer;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
#filter_blog_link:after,
#filter_noticies_link:after {
    content: '\2193';
    margin-left: 5px;
    width: 10px;
    display: inline-block;
}
#filter_blog_link.filter-out:after,
#filter_noticies_link.filter-out:after {
    content: '\2191';
}
#filter_blog_link .closed,
#filter_blog_link.filter-out .opened{
    display: none;
}
#filter_blog_link.filter-out .closed {
    display: inline;
}
.filter {
    position: fixed;
    width: 315px;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px 30px 0;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
    z-index: 1000;
    overflow-y: auto;
}
.filter.in {margin-left: -315px;}
.filter.out {
    margin-left: 0;
    -webkit-box-shadow: 2px 0px 5px 0px rgba(255,86,82,0.2);
    -moz-box-shadow: 2px 0px 5px 0px rgba(255,86,82,0.2);
    box-shadow: 2px 0px 5px 0px rgba(255,86,82,0.2);
    z-index: 1100;
}
.page-template-page-blog .filter,
.single-blog .filter,
.blog-tag-page .filter,
.search-results-blog .filter {
    background-color: rgb(255,229,228);
}
.filter-out {
    margin-left: 315px;
}
.filter p {
    margin-top: 20px;
    margin-bottom: 0;
}
.filter_categories, .filter_autors {
    float: left;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}
.filter_autors {
    margin-top: 30px;
    display: none;
}
#filter_blog p.active, #filter_blog p:hover {
    color: rgb(255,86,82);
}
.blog-thumbnail {
    margin-bottom: 20px;
}

/*Single Blog-----------------------------------------------------*/
article.single-blog {
    float: left;
    width: 100%;
    margin-bottom: 130px;
}
.post-header {
    text-align: center;
}
.post-header h1 {
    margin: 0 0 25px;
}
.data {
    margin: 10px 0 15px;
    display: block;
}
.post-thumbnail {
    display: inline-block;
    margin: 50px 0 0;
}
.post-content {
    max-width: 100%;
}
.post-content
.post-content blockquote {
    text-align: right;
    padding: 0;
    border: none;
    margin: 60px 0;
}
.post-content blockquote p:before {
    content: '\00ab';
    display: inline;
}
.post-content blockquote p:after {
    content: '\00bb';
    display: inline;
}
.post-content blockquote + p {
    margin-top: 20px;
}
.post-content blockquote p {
    font-size: 30px;
    line-height: 38px;
    font-style: italic;
    margin-bottom: 10px;
}
.post-content blockquote cite {
    font-style: normal;  
}
.post-content p {
    margin-bottom: 2em;
}
.post-content p.has-img {
    text-align: center;
}
.post-content img {
    margin: 20px auto;
    display: block;
}
.post-content iframe {
    margin: 0 auto;
    display: block;
    width: 100% !important;
}
.post-footer {
    margin-top: 20px;
    float: left;
    width: 100%;
}
.post-footer>span:after {
    content: "\203a";
    margin: 0 20px;
}

/*Related News-----------------------------------------------------*/
.related {
    position: relative;
    margin-top: 60px;
}
.single-blog .related {

}
.related h4 {
    text-align: center;
}
.related-post {
    position: relative;
}
.post-out  {
    opacity: 0.2;
}
.related-thumb {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    display: none;
}
.related-thumb-top-right {
    top: 0;
    right: 0;
}
.related-thumb-top-left {
    top: 0;
    left: 0;
    right: auto;
}
.related-thumb-bot-right {
    top: auto;
    bottom: 0;
    right: 0;
}
.related-thumb-bot-left {
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;
}
.related-post:hover .related-thumb {
    display: block;
}
.line-through-container {
    position: relative;
}
.line-through-text {
    background-color: rgb(248,248,236);
    padding: 0 20px;
}
.single-blog .line-through-text {
    background-color: rgb(255,229,228);
}
.line-through-line {
    border-top: 2px solid rgb(255,86,82);
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: -1;
}
.related-post {
    transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
}
.related-post-6 {
    margin-bottom: 40px;
}
#more-news {
    font-size: 20px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: rotate(270deg) translateY(80px);
    -webkit-transform: rotate(270deg) translateY(80px);
    -moz-transform: rotate(270deg) translateY(80px);
    -o-transform: rotate(270deg) translateY(80px);
    -ms-transform: rotate(270deg) translateY(80px);
}
#more-news:after {
    content: '\2193';
    margin-left: 10px;
}

/*Autor Blog-----------------------------------------------------*/
#author-profile {
    text-align: left;
    background-color: rgba(0,0,0,.05);
    padding: 30px 0;
    margin-bottom: 50px;
    float: left;
}
#author-profile h1 {
    width: auto;
    margin-bottom: 0;
}
#author-profession {
    margin-bottom: 20px;
}
#author-thumbnail img {
    width: 100%;
    height: auto;
    -webkit-border-radius: 500px;
    -moz-border-radius: 500px;
    border-radius: 500px;
}
/*.vertical-align-parent {
    position: relative;
}
.vertical-align-child {
     position: absolute;
     top: 50%;
     -webkit-transform: translateY(-50%);
     -ms-transform: translateY(-50%);
     transform: translateY(-50%);
}*/

/*Carta fundacional-----------------------------------------------------------*/
#carta-fundacional-container {
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    overflow-y: scroll;
    background-color: rgba(248,248,236,.9);
    z-index: 999;
}
#carta-fundacional-container.visible {
    padding: 150px;
    height: 100%;
}
#carta-fundacional-container li {
    margin-bottom: 40px;
}
#carta-fundacional-container li:last-child {
    margin-bottom: 0;
}
#carta-fundacional-close {
    position: fixed;
    top: 30px;
    right: 40px;
    cursor: pointer;
    z-index: 9999;
}
.noscroll {
    overflow: hidden;
}

/*Mapa------------------------------------------------------------------------*/
.mapa-pen {
    margin-top: 1.5em;
    margin-bottom: 2.5em;
}
.acf-map {
    width: 100%;
    height: 100%;
}

.acf-map img {
    max-width: inherit !important;
}
.map-label-wrap {
    height: 100%;
    padding-bottom: 15px;
}
.map-label, .map-label a {
    font-family: "Inconsolata", monospace;
    font-size: 20px;
    line-height: 26px;
}
.map-label a {
    float: left;
    width: 100%;
}
.map-label a:hover {
    border: 0;
}


/*Fundació--------------------------------------------------------------------*/
.page-template-page-historia .persona {
    margin-bottom: 175px;
}
#yearsSlider .slick-track:before {
    content: '';
    border-right: 2px dotted rgb(255,86,82);
    position: absolute;
    width: 50%;
    top: 0;
    z-index: -1;
    left: 0;
    height: 100%;
    margin-left: 2px;
}
#timeline-years {
    position: relative;
    padding: 20px 0;
}
.timeline-navigation {
    text-align: center;
    /*background-size: contain;*/
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    /*transition: all 0.2s;
    -webkit-transition: all 0.2s;*/
}
.timeline-previous {
    margin: 0 0 30px 0;
}
.timeline-previous {
    font-size: 0;
    background-image: url('library/images/arrow-up.svg');
}
.timeline-next {
    margin: 30px 0 0 0;
}
.timeline-next {
    font-size: 0;
    background-image: url('library/images/arrow-down.svg');
}
.timeline-year {
    color: rgb(255,86,82);
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    width: 60px;
    height: 60px;
    position: relative;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    border: 2px solid rgb(255,86,82);
    text-align: center;
    clear: both;
    margin: 20px auto 0;
    position: relative;
    background-color: rgb(248,248,236);
    cursor: pointer;
    overflow: hidden;
}
.timeline-year:first-of-type {
    margin-top: 0;
}
/*.timeline-year.selected {
    border: 2px solid rgb(59,59,59);
    color: rgb(59,59,59);
    width: 80px;
    height: 80px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
}*/
.timeline-year span,
.timeline-year p,
.timeline-year svg {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.timeline-year:hover svg {
    display: none;
}
.timeline-year .year-title {
    opacity: 0;
    font-size: 15px;
    line-height: 18px;
    padding: 0 20px;
    transition: none;
    -webkit-transition: none;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
}
.timeline-year .year-number {
    opacity: 1;
    font-size: 26px;
    opacity: 1;
    /*transition: all 0.2s;
    -webkit-transition: all 0.2s;*/
    font-variant-numeric: tabular-nums;
    -moz-font-feature-settings: "tnum";
    -webkit-font-feature-settings: "tnum";
    font-feature-settings: "tnum";
}
svg.award {
    display: inline;
    fill: rgb(255,86,82);
}
.slick-current svg.award {
    fill: rgb(59,59,59);
}
.text-timeline {
    text-align: center;
    margin-bottom: 175px;
}
.text-timeline h2, .text-timeline p {
    margin-bottom: 10px;
}
.text-timeline .award-content {
    width: 1.2em;
    display: inline;
    fill: rgb(59,59,59);
}

/*Single Història-------------------------------------------------------------*/
.single-historia #main header {
    margin-top: 40px;
    margin-bottom: 40px;
}
.current-historia {
    float: left;
    opacity: 1;
    -webkit-transition: opacity 0.3s linear;
    -moz-transition: opacity 0.3s linear;
    -ms-transition: opacity 0.3s linear;
    -o-transition: opacity 0.3s linear;
    transition: opacity 0.3s linear;
    transition-delay: 0s;
}
.dotted-border {
    opacity: 1;
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -ms-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
    transition-delay: 0.2s;
}
.scroll-fixed .dotted-border {
    transition-delay: 0s;
}
.single-historia h1 {
    max-width: 55%;
    margin-left: auto;
}
.navigation-post-fundacio {
    position: relative;
    float: left;
    min-height: 1px;
}
.navigation-post-fundacio a:hover {border: none;}
.navigation-post-fundacio-year {
    font-size: 30px;
    line-height: 30px;
    color: rgb(255,86,82);
    font-weight: 700;
    width: 96px;
    height: 96px;
    margin: 0 auto;
    background-color: rgb(248,248,236);
    position: relative;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}
.navigation-post-fundacio-year .circle {
    width: 100%;
    height: 100%;
    border: 2px solid rgb(255,86,82);
    -webkit-border-radius: 300px;
    -moz-border-radius: 300px;
    border-radius: 300px;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}
.navigation-post-fundacio:hover .navigation-post-fundacio-year {
    width: 80px;
}
.navigation-post-fundacio:hover .navigation-post-fundacio-year .circle {
    width: 100%;
    height: 80px;
    top: 8px;
}
.navigation-post-fundacio-year span {
    vertical-align: middle;
    display: table-cell;
    width: 96px;
    height: 96px;
}
.navigation-post-fundacio-text {
    width: 100%;
    position: absolute;
    opacity: 0;
}
.navigation-post-fundacio:hover .navigation-post-fundacio-text {
    opacity: 1;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}
.navigation-post-fundacio-text p {
    width: 175px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 24px;
}
.next-post-fundacio {
    float: right;
}
.previous-post-fundacio .navigation-post-fundacio-text:before {
    content: '\2190';
}
.next-post-fundacio .navigation-post-fundacio-text:before {
    content: '\2192';
}
.previous-post-fundacio .navigation-post-fundacio-text:before,
.next-post-fundacio .navigation-post-fundacio-text:before {
    width: 100%;
    float: left;
    margin: 15px 0 10px;
}
.dotted-border {
    height: 0;
    border-top: 2px dotted rgb(255,86,82);
    position: absolute;
    width: 150%;
    top: 50%;
    z-index: -1;
    left: 0;
}
.navigation-post-fundacio.next-post-fundacio .dotted-border {
    left: auto;
    right: 0;
}
.navigation-post-fundacio .dot-end {
    width: 10px;
    height: 10px;
    border: 2px solid rgb(255,86,82);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    position: absolute;
    right: 0;
    top: -6px;
    background-color: rgb(248,248,236);
}
.navigation-post-fundacio.next-post-fundacio .dot-end {
    left: 0;
    right: auto;
}
.scroll-fixed {
    /*position: fixed !important;
    width: calc(100% + 30px);
    top: 80px;*/
}
.scroll-fixed h1, .scroll-fixed .dotted-border {
    /*display: none;*/
}
.scroll-fixed .dotted-border {
    opacity: 0;
}
.scroll-fixed .next-post-fundacio {
    right: -15px;
}
.scroll-fixed .navigation-post-fundacio {
    position: fixed;
    top: 120px;
}
.scroll-fixed .current-historia  {
    margin: 0 auto;
    float: none;
    opacity: 0;
}

/*Animacio------------------------------------------------------*/
.post-header.out .current-historia,
.post-header.out .president-actual,
.post-content {
    float: left;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transition-delay: 0.2s;
    -moz-transition-delay: 0.2s;
    -ms-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
    transition-delay: 0.2s;
}
.post-header.out .current-historia,
.post-header.out .president-actual {
    width: 100%;
}
.post-header.out .current-historia,
.post-header.out .president-actual {
    margin-top: -200px;
    opacity: 0;
}
.post-header.out .navigation-post-fundacio,
.post-header.out .navigation-post-president {
    opacity: 0;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -ms-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;
}
.post-header.out .dotted-border {
    opacity: 0;
}
.post-content.out {
    margin-top: 600px;
    opacity: 0;
}

/*Presidents Index / Junta Index------------------------------------------------------------*/
.page-template-page-presidents .justify {
    text-align-last: center;
}
.page-template-page-presidents .justify:after {
    display: none;
}
.persona-president,
.persona-junta {
    margin: 20px 1px 40px 1px;
    display: inline-block;
    float: none;
}
.junta-i-equip .persona-president p,
.junta-i-equip .persona-junta  p {
    height: 20px;
    overflow: visible;
}
#descripcio-junta {
    text-align: center;
}
#descripcio-junta b, #descripcio-junta strong {
    font-weight: 400;
    color: rgb(255,86,82);
}

/*Presidents Single-----------------------------------------------------------*/
.single-president #main header {
    position: relative;
    margin-bottom: 60px;
    margin-top: 10px;
    float: left;
    width: 100%;
}
.president-actual {
    opacity: 1;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -ms-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;

}
.scroll-fixed .president-actual {
    opacity: 0;
    -webkit-transition-delay: 0.2s;
    -moz-transition-delay: 0.2s;
    -ms-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
    transition-delay: 0.2s;
}
.navigation-post-president {
    position: absolute;
    top: 50px;
    z-index: 5;
    width: 250px;
}
.scroll-fixed .navigation-post-president {
    position: fixed;
    top: 120px;
}
.previous-post-president {
    left: 0;
}
.next-post-president {
    right: 0;
}
.scroll-fixed .previous-post-president {
    left: 115px;
}
.scroll-fixed .next-post-president {
    right: 115px;
}
.president-actual .persona-thumbnail {
    opacity: 1;
}
.navigation-post-president .persona-thumbnail {
    width: 160px;
    height: 160px;
    opacity: 1;
}
.single-president .dotted-border {
    top: 130px;
}
.navigation-post-president p {
    opacity: 0;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}
.navigation-post-president:hover p {
    opacity: 1;
}
.previous-post-president p:first-of-type:before,
.next-post-president p:first-of-type:before {
    width: 100%;
    float: left;
    color: rgb(59,59,59);
    margin-bottom: 20px;
}
.previous-post-president p:first-of-type:before {
    content: '\2190';
}
.next-post-president p:first-of-type:before {
    content: '\2192';
}

/*Fons d'art------------------------------------------------------------------*/
.page-template-page-fons-art .col-centered {
    margin-right: 0;
}
.post-obra {
    margin-bottom: 50px;
    text-align: center;
}
/*.post-obra:last-of-type {
    display: inline-block;
    float: none;
}*/
.post-obra figure {
    width: 100%;
    height: auto;
    cursor: pointer;
}
.post-obra figure img {
    -webkit-box-shadow: 3px 9px 10px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 3px 9px 10px 0px rgba(0,0,0,0.2);
    box-shadow: 3px 9px 10px 0px rgba(0,0,0,0.2);
}
.post-obra figcaption {
    text-align: center;
    margin-top: 20px;
}


/*Junta i equip------------------------------------------------------------------*/
.page-template-page-equip .container-fluid.wrapper {
    /*width: 200%;
    padding-left: 0;
    padding-right: 0;*/
}
#button-junta-wrap {
    height: 1px;
    position: relative;
}
/*@keyframes hidebutton {
    0%   { right: 15px; left: auto; }
    25%  { right: -100px; left: auto; }
    50%  { right: auto; left: -300px; }
    100% { right: auto; left: -110px; }
}
@-webkit-keyframes hidebutton {
    0%   { right: 15px; left: auto; }
    25%  { right: -100px; left: auto; }
    50%  { right: auto; left: -300px; }
    100% { right: auto; left: -110px; }
}
@-webkit-keyframes showbutton {
    0%    { right: auto; left: -110px; }
    25%   { right: auto; left: -300px; } 
    50%   { right: -100px; left: auto; }
    100%  { right: 15px; left: auto; }
}
@keyframes showbutton {
    0%   { right: auto; left: -110px; }
    25%  { right: auto; left: -300px; } 
    50%  { right: -100px; left: auto; }
    100% { right: 15px; left: auto; }
}*/
@-webkit-keyframes showbutton {
    0%   { right: -110px; }
    50% { right: -300px; }
    100% { right: 15px; }
}
@-webkit-keyframes hidebutton {
    0%   { right: 15px; opacity: 1; }
    25%  { right: -110px; opacity: 1; }
    26%  { right: -110px; opacity: 0;}
    50% { right: 120%; opacity: 0; }
    51% { right: 120%; opacity: 1; }
    100% { right: 99%; opacity: 1;  }
} 
@keyframes showbutton {
    0%   { right: -110px; }
    50% { right: -300px; }
    100% { right: 15px; }
}
@keyframes hidebutton {
    0%   { right: 15px; opacity: 1; }
    25%  { right: -110px; opacity: 1; }
    26%  { right: -110px; opacity: 0;}
    50% { right: 120%; opacity: 0; }
    51% { right: 120%; opacity: 1; }
    100% { right: 99%; opacity: 1;  }
} 
.junta-equip-button {
    position: absolute;
    width: 120px;
    top: 0;
    right: 15px;  
    background-color: rgb(255,86,82);
    transform: translate(50%,0);
    -webkit-transform: translate(50%,0);
    -moz-transform: translate(50%,0);
    -o-transform: translate(50%,0);
    -ms-transform: translate(50%,0);
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    cursor: pointer;
    z-index: 99;
    /*animation-name: test;
    animation-duration: 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;*/
    -moz-animation: showbutton 1s forwards;
    -webkit-animation: showbutton 1s forwards;
    animation: showbutton 1s forwards;
}
.junta-equip-button.in-equip {
    /*animation-name: testout;*/

    -moz-animation: hidebutton 1s forwards;
    -webkit-animation: hidebutton 1s forwards;
    animation: hidebutton 1s forwards;
}
.junta-equip-button span {
    width: 300px;
    height: 60px;
    transform: rotate(270deg) translateX(-100%);
    -ms-transform: rotate(270deg) translateX(-100%);
    -o-transform: rotate(270deg) translateX(-100%);
    -moz-transform: rotate(270deg) translateX(-100%);
    -webkit-transform: rotate(270deg) translateX(-100%);
    position: absolute;
    top: 0;
    -ms-transform-origin: left top;
    -o-transform-origin: left top;
    -moz-transform-origin: left top;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    text-align: right;
    box-sizing: border-box;
    padding: 20px;
}
.junta-equip-button span.veure-equip-bottom {
    transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    top: auto;
    bottom: -50px;
    text-align: left;
}
.junta-equip-button span.veure-junta-bottom {
    transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    top: auto;
    bottom: -50px;
    text-align: left;
}
.junta-equip-button span.veure-equip {
    left: 0;
}
.veure-equip:after {
    content: "\2193";
}
.veure-junta:after {
    content: "\2191";
}
.junta-equip-button span.veure-junta {
    left: 60px;
}
.junta-equip-wrap {
    float: left;
    width: 100%;
    position: relative;
    margin-top: 50px;
}
.junta-equip-inner-wrap {
    width: 200%;
}

/*@-webkit-keyframes hideequip {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}  
@keyframes hideequip {
    0%   { opacity: 1; }
    100% {opacity: 0; }
}
@-webkit-keyframes showequip {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}  
@keyframes showequip {
    0%   { opacity: 0; }
    100% {opacity: 1; }
}
@-webkit-keyframes hidejunta {
    0%   { margin-left: 0; opacity: 1; }
    100% { margin-left: -100%; opacity: 0; }
}  
@keyframes hidejunta {
    0%   { margin-left: 0; opacity: 1; }
    100% { margin-left: -100%; opacity: 0; }
}
@-webkit-keyframes showjunta {
    0%   { margin-left: -100%; opacity: 0; }
    100% { margin-left: 0; opacity: 1; }
}  
@keyframes showjunta {
    0%   { margin-left: -100%; opacity: 0; }
    100% { margin-left: 0; opacity: 1; }
}
.equip {
    -webkit-animation: hideequip 1s forwards;
    animation: hideequip 1s forwards; 
}
.in-equip .equip {
    -webkit-animation: showequip 1s forwards;
    animation: showequip 1s forwards; 
}
.junta-equip-wrap .junta {
    -webkit-animation: showjunta 1s forwards;
    animation: showjunta 1s forwards;  
}
.junta-equip-wrap.in-equip .junta {
    -webkit-animation: hidejunta 1s forwards;
    animation: hidejunta 1s forwards;  
}*/
/*.junta-equip-wrap:not(.in-equip) .equip {
    -webkit-animation: hideequip 1s forwards;
    animation: hideequip 1s forwards;  
}
.junta-equip-wrap.in-equip .equip {
    -webkit-animation: showequip 1s forwards;
    animation: showequip 1s forwards;  
}*/
.page .junta, .equip {
    width: 50%;
    float: left;
    transition: all 1s;
    -webkit-transition: all 1s;
}
.equip {
    opacity: 0;
}
.in-equip .junta {
    transform: translate(-100%, 0px);
    -webkit-transform: translate(-100%, 0px);
    -moz-transform: translate(-100%, 0px);
    -o-transform: translate(-100%, 0px);
    -ms-transform: translate(-100%, 0px);
    opacity: 0;
}
.in-equip .equip {
    opacity: 1;
    transform: translate(-100%, 0px);
    -webkit-transform: translate(-100%, 0px);
    -moz-transform: translate(-100%, 0px);
    -o-transform: translate(-100%, 0px);
    -ms-transform: translate(-100%, 0px);
}
.junta .persona p {
    width: 165px;
    max-width: 100%;
    margin: 0 auto;
}
.col-president-junta {
    margin-bottom: 30px;
}
.col-junta {
    text-align: center;
}
.col-junta .persona {
    margin-bottom: 50px;
    width: 33.33%;
    height: 240px;
    display: inline-block;
    float: none;
    vertical-align: top;
}
.junta-downloads-wrap {
    float: left;
    width: 100%;
}


/*Agenda------------------------------------------------------------------*/
.page-template-page-agenda h1 {
    margin: 0;
    text-align: left;
}
.page-template-page-agenda h4 {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 3em;
}
.page-template-page-agenda h1, .page-template-page-agenda .date {
    cursor: pointer;
}
.post-agenda {
    margin-bottom: 3em;
}
.post-agenda:first-of-type h1 {
    margin: 0;
}
.page-template-page-agenda .date {
    /*margin: 0;
    line-height: 0.8em;
    font-weight: 700;*/
}
.post-agenda .short-description {
    display: block;
    margin-top: 1em;
}
.post-agenda .link {
    float: left;
    margin-top: 1em;
}
.post-agenda .date p:first-child {
    font-weight: 700;
    margin-bottom: 10px;
}
.post-agenda .date p:nth-child(2) {
    margin-bottom: 20px;
}
.estat-historic .date .orange {
    color: rgb(59,59,59);
}
.single-agenda h1 {
    margin-bottom: 0;
}
.single-agenda .data {
    margin-bottom: 35px;
    margin-top: 0;
    text-align: center;
}


/*Exposicions------------------------------------------------------------------*/
.post-exposicio {
    text-align: center;
    float: left;
    margin-bottom: 80px;
    width: 100%;
}
.until {
    margin-bottom: 35px;
    display: block;
}
.until .link {
    cursor: default;
}
.content-exposicio {
    /*background-size: contain;
    background-position: right;
    background-repeat: no-repeat;*/
    position: relative;
}
.content-exposicio img {
    position: absolute;
    width: 20%;
    height: auto;
    right: 0;
    top: 0;
    z-index: -1;
}
.post-exposicio p {
    margin-bottom: 20px;
    text-align: left;
    width: 89%;
}
.link-programa {
    display: block;
    margin-bottom: 30px;
    text-align: left;
}
.post-exposicio .button {
    margin: 0;
    display: inline-block;
    float: none;
}
.single-exposicio .until {
    text-align: center;
    width: 100%;
    margin-bottom: 50px;
}
.single-exposicio .until span {
    display: inline-block;
    border-bottom: 1px solid rgb(255,86,82);
}

/*Programa Escriptor acollit-----------------------------------------------------------------------*/
/*Home*/
.programa-escriptor-acollit h1 {
    margin-bottom: 30px;
}
.programa-escriptor-acollit h2 {
    margin: 1em 0 0.5em;
}
.single-premiat h1 {
    margin-bottom: 0.5em;
    margin-top: 1em;
}
.single-premiat h2 {
    font-family: 'Pona Book Italic';
    text-align: center;
    font-weight: lighter;
    font-size: 1.3em;
    margin-bottom: 1.5em;
}
#historic-acollits h2 {
    margin: 2em 0 0.5em;
}
.programa-escriptor-acollit p {
    margin-bottom: 0;
}
.programa-escriptor-acollit .button {
    margin-top: 1em;
}
/*Escriptors acollits*/
.persona-escriptor-acollit {
    margin-bottom: 2em;
    width: 33%;
}
/*Single escriptor acollit*/
.info-escriptor {
    margin-bottom: 60px;
}
.info-escriptor .persona-thumbnail {
    width: 35%;
    height: auto;
}
.single-premiat .info-escriptor .persona-thumbnail {
    margin: 0 auto;
}
.dades-escriptor {
    right: 0;
    left: auto;
    width: 63%;
    width: calc(65% - 30px);
}
.dades-escriptor p {
    margin-bottom: 0;
    font-family: "Pona Book", serif;
}
.dades-escriptor .orange {
    font-family: "Inconsolata", monospace;
}
.single-escriptor-acollit h2 {
    text-align: center;
}
.obres-destacades, .obres-destacades + p {
    display: inline;
}
/*Xarxa ICORN*/
#ciutats-xarxa {
    float: left;
    margin-bottom: 50px;
}
.post-ciutat,
#header-ciutat-refugi {
    height: 340px;
    color: rgb(248,248,236);
    background-size: 100%;
    background-position: center;
    text-align: center;
}
.post-ciutat {
    float: left;
    margin-bottom: 4px;
    overflow: hidden;
}
.post-ciutat:hover {
    color: white;
    border-bottom: none;
}
.ciutat-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    transition: all 0.8s ease;
    -webkit-transition: all 0.8s ease;
}
.post-ciutat:hover .ciutat-background {
    transform: scale(1.3, 1.3);
    -webkit-transform: scale(1.3, 1.3);
    -moz-transform: scale(1.3, 1.3);
    -o-transform: scale(1.3, 1.3);
    -ms-transform: scale(1.3, 1.3);
}
.ciutat-shadow {
    background-color: rgba(0,0,0,.35);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
.post-ciutat .vertical-center {
    z-index: 2;
}

.post-ciutat-odd {
    width: 32%;
    width: calc(33.3% - 3px);
    margin-right: 4px;
}
.post-ciutat-odd:nth-of-type(3n){
    margin-right: 0;
}
.post-ciutat-even {
    width: 49%;
    width: calc(50% - 2px);
}
.post-ciutat-even:nth-of-type(2n+1){
    margin-right: 4px;
}
/*Single ciutat refugi*/
.single-ciutat-acollida #main {
    padding-top: 145px;
}
#header-ciutat-refugi {
    height: 15em;
    background-attachment: fixed;
}
#header-ciutat-refugi .vertical-center {
    z-index: 2;
}
.post-ciutat h2, .post-ciutat p,
#header-ciutat-refugi h1, #header-ciutat-refugi p {
    margin: 0;
}
#ciutat-refugi-acollits {
    text-align: center;
    position: relative;
}
#ciutat-refugi-acollits .persona {
    margin-top: 50px;
}
#ciutat-refugi-acollits .vertical-fixed {
    position: absolute;
}
/*Modal Dia Escriptor acollit-------*/
#slider-escriptor-perseguit .slick-slide {
    width: 100%;
    height: 100%;
    overflow: visible;
}
#slider-escriptor-perseguit img {
    margin: 0 auto;
}
#modalEscriptorPerseguit .modal-content {
    background-color: transparent !important;
}
#modalEscriptorPerseguit .slick-list {
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    height: 85%;
}
#modalEscriptorPerseguit .modal-content,
#modalEscriptorPerseguit .modal-dialog-full,
#slider-escriptor-perseguit,
#slider-escriptor-perseguit .slick-track {
    height: 100%;
    margin: 0;
}
#slider-escriptor-perseguit img {
    height: 95%;
}
#slider-escriptor-perseguit  p {
    text-align: center;
    margin-top: 20px;
}
.useForNav {
    cursor: pointer;
}

/*Arxiu-----------------------------------------------------------------------*/
body.page-template-page-arxiu,
body.page-template-page-arxiu #menu-principal,
body.page-template-page-arxiu #submenus,
body.page-template-page-publicacions,
body.page-template-page-publicacions #menu-principal,
body.page-template-page-publicacions #submenus,
body.search-results-publication,
body.search-results-publication #menu-principal,
body.search-results-publication #submenus {
    background-color: rgb(230,231,232);
}
.arxiu h1,
.search-arxiu h1,
.publicacions h1,
.search-publicacions h1 {
    font-family: "Inconsolata", monospace;
    margin-bottom: 30px;
}
.arxiuFile {
    float: left;
    clear: both;
}
.arxiu h2,
.publicacions h2 {
    text-transform: uppercase;
    text-align: left;
    margin: 40px 0 20px;
}
.arxiu p,
.publicacions p,
.search-results-publication p {
    margin-bottom: 20px;
}
.arxiuFile img {
    margin-right: 15px;
}
#searchform-arxiu {
    text-align: center;
}
#searchform-arxiu input[type="search"]{
    width: 360px;
    max-width: 100%;
    margin: 0 auto;
    border: 2px solid rgb(255,86,82);
    background-color: transparent;
    padding: 14px 18px;
    background: url('library/images/search-orange-small.svg') no-repeat;
    background-size: 18px;
    background-position: right 15px center;
    box-sizing: border-box;
    display: inline-block;
    text-align: left;
}
.search-results .notificacio-small {
    margin: 30px 0 60px;
}
#searchform-arxiu {
    margin-bottom: 40px;
}

/*Formularis: Contacte / Sigues del PEN-----------------------------------------------------------------------*/
.contact-col {
    text-align: center;
}
.contact-col p:first-of-type {
    color: rgb(255,86,82);
}
.contact-col p {
    margin-bottom: 0;
}
.contact-col a {
    color: rgb(59,59,59);
    border-bottom: none;
    font-family: inherit;
    display: block;
}
#form {
    margin-top: 80px;
    text-align: center;
}
#form-pen {
    margin-top: 30px;
    text-align: center;
}
#form p {
    margin: 0;
}
#nom, #cognoms, #data, #sexe, #email, #phone, #cp, #ciutat, #provincia, #ccaa {
    width: 48%;
    width: calc(50% - 15px);
    box-sizing: border-box;
}
#nom, #data, #email, #cp, #provincia, #interessos, #segment{
    float: left;
}
#adreca, #interessos, #segment {
    width: 100%;
}
#interessos {
    width: auto;
    margin-left: 33%;
    margin-left: calc(50% - 120px);
    margin-bottom: 60px;
}
#cognoms, #sexe, #phone, #ciutat, #ccaa {
    float: right;
}
#legal, #jove {
    width: 100%;
    font-size: 0.8em;
    float: left;
}
.wpcf7 input, .wpcf7 textarea, .wpcf7 select {
    border: 2px solid rgb(255,86,82);
    background-color: transparent;
    padding: 10px 20px;
    margin-bottom: 30px;
    font-size: 1em;
}
.wpcf7 textarea {
    width: 100%;
    font-family: "Inconsolata", monospace;
    font-size: 1em;
    line-height: 1em;
}
.wpcf7 select {
    -webkit-appearance:none;
    font-family: "Inconsolata", monospace;
    font-size: 1em;
    line-height: 1em;
    border: 2px solid rgb(255,86,82);
    background-color: transparent;
    padding: 10px 20px;
}
#interessos .wpcf7-list-item {
    font-family: "Inconsolata", monospace;
    display: block;
    text-align: left;
}
#interessos input {
    margin-bottom: 10px;
}
.wpcf7-not-valid {
    background-color: rgba(255,86,82,0.2) !important;
    color: white !important;
}
span.wpcf7-not-valid-tip {
    display: none !important;
}
div.wpcf7-validation-errors {
    border: none !important;
    margin: 0 !important;
    color: rgb(255,86,82) !important;
}
#submit-contact {
    width: 200px;
    padding: 5px 0;
    color: rgb(255,86,82);
}
#form-tabs {
    margin-bottom: 30px;
}
.form-tab {
    font-size: 20px;
    line-height: 20px;
    padding: 15px 20px;
    margin: 0 10px;
    border: 2px solid rgb(255,86,82);
    font-family: "Inconsolata", monospace;
    display: inline-block;
    cursor: pointer;
    float: none;
}
@keyframes fadein {
    0%   {opacity: 0;}
    100% {opacity: 1;}
}
@-webkit-keyframes fadein {
    0%   {opacity: 0;}
    100% {opacity: 1;}
}
@-moz-keyframes fadein {
    0%   {opacity: 0;}
    100% {opacity: 1;}
}
.form-tab-content {
    display: none;
}
.form-tab-content.active {
    -webkit-animation: fadein 0.8s forwards;
    animation: fadein 0.8s 1 forwards;
    display: block;
}

/*Resultats de cerca-----------------------------------------------------------*/
#resultats-cerca h1 {
    margin-bottom: 20px;
}
#resultats-cerca h3 {
    text-transform: uppercase;
    margin-top: 60px;
    font-size: 1em;
}
#main-resultats {
    float: left;
    margin-top: 60px;
}
.main-search-result {
    margin-top: 30px;
    line-height: 1.2em;
}
.main-search-result br {
    display: none;
}
.main-search-result span {
    /*display: inline-block;
    width: 90%;
    vertical-align: middle;*/
    font-variant: small-caps;
    text-transform: lowercase;
}
.small-searchform-wrap {
    width: 100%;
    float: left;
    text-align: center;
}
.small-searchform{
    border: 2px solid rgb(255,86,82);
    background-color: transparent;
    padding: 10px 18px;
    background: url('library/images/search-orange-small.svg') no-repeat;
    background-size: 18px;
    background-position: right 15px center;
    display: inline-block;
    float: none;
    width: 300px;
}

/*Newsletter-----------------------------------------------------------*/
#newsletterModal input:not([type=radio]) {
    background-color: transparent;
    border: 2px solid rgb(248,248,236);
    padding: 20px;
    color: rgb(248,248,236);
    margin-top: 20px;
    width: 60%;
    float: left;
    height: 65px;
}
#newsletterModal input[type=submit] {
    float: right;
    width: 35%;
    box-shadow: none;
    padding: 20px 15px;
}
#newsletterModal ul {
    float: left;
    cursor: pointer;
    margin: 20px 0 0 0;
    padding: 0;
    height: 15px;
}
#newsletterModal ul label {
    font-family: "Inconsolata", monospace;
    font-weight: 400;
    font-size: 15px;
}
#newsletterModal input[type=radio] {
    margin: 15px 15px 0 0;
    width: auto;
    height: auto;

}

.modal h2 {
    margin: 0;
}
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    background-color: rgba(248,248,236,0.2) !important;
    color: rgb(59,59,59) !important;
}

/*Cookies---------------------------*/
#cookie-notice {
    text-shadow: none;
    position: relative;
    font-size: 16px !important;
    line-height: 20px !important;
    padding: 0;
    background-color: rgba(255, 86, 82,0.9) !important;
}
.cookie-notice-container {
    padding: 15px !important;
}
#cn-accept-cookie {
    position: absolute;
    top: 20px;
    right: 20px;
    box-shadow: none;
}
#cn-notice-text {
    width: 100%;
    max-width: 590px;
    display: inline-block;
    text-align: left;
}
#cn-notice-text:before {
    content: url('library/images/cookies.svg');
    width: 31px;
    height: 31px;
    float: left;
    margin-left: -41px;
}
#cookie-notice .button {
    margin: 0 !important;
    background-color: transparent;
    border: none;
    height: auto;
    width: auto;
    color: rgb(248,248,236);
    font-size: 0;
    width: 20px;
    height: 20px;
    background-image: url('library/images/close-white.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
#cookie-notice .button:hover {
    box-shadow: none;
}
#cookie-notice .button:before {
    content: ' ';
}

/*Footer----------------------------------------------------------------------*/
body > footer {
    background-color: rgb(59,59,59);
    color: rgb(248,248,236);
    position: relative;
}
body > footer section {
    float: left;
    width: 100%;
    padding: 20px 0 30px;
    border-bottom: 2px solid rgb(248,248,236);
}
body > footer section:last-child {
    border-bottom: none;
    padding-top: 40px;
}
body > footer h3 {
    font-family: 'Dala Floda', serif;
    font-weight: 600;
    font-size: 33px;
    line-height: 36px;
    margin: 15px 0 10px;
}
body > footer p, body > footer section:last-child,
#socialModal a {
    font-family: "Inconsolata", monospace;
    font-size: 16px;
    line-height: 21px;
    margin-bottom: 0 !important;
}
#socialModal h2 {
    margin-bottom: 0.5em;
}
#socialModal a {
    font-family: "Inconsolata", monospace;
    font-weight: 400;
    font-size: 1em;
    margin: 0.5em 15px 0;
    display: inline-block;
}
body > footer img {
    margin-bottom: 10px;
}
body > footer a:hover {
    border: none;
}
body > footer section p {
    margin-bottom: 0;
}
.logo-footer {
    display: inline-block;
    float: none;
    vertical-align: top;
    padding: 0 10px;
    max-width: 250px;
}
.logo-footer h3, .logo-footer p {
    text-align: left;
    text-align-last: left;
    margin-top: 0;
}
#footer-two img {
    height: 40px;
}
#footer-two p.no {
    font-size: 0;
}
#footer-three {
    margin-bottom: 0;
    text-transform: uppercase;
}
#legal-footer {
    float: right;
}
#legal-footer ul, #legal-footer li {
    margin: 0;
    padding: 0;
    float: left;
}
#social-footer,
#legal-footer a,
#social-footer a {
    float: left;
}
#legal-footer a:after,
#social-footer a:after {
    content: "·";
    margin: 0 7px;
}
#legal-footer li:last-child a:after, #social-footer a:last-child:after {
    content: "";
}


/* TICK */
.centrat {
    text-align: center;
    margin-bottom: 60px;
}
.tick {
    width: 60px;
    margin: 0 auto;
}
.tick-td {
    text-align: center;
}
.responsive-td {
    text-align: center;
    width: auto !important;
    color: rgb(255,86,82);
}
.sub-title {
    width: 100%;
    border-top: 2px solid rgb(255,86,82);
    font-size: 0.8em;
    padding-bottom: 30px;
}
.beneficis {
    width: 100%;
    font-family: 'Inconsolata', monospace;
    font-size: 20px;
    line-height: 130%;
}
.beneficis tr {
    min-height: 140;
}
.beneficis th {
    font-weight: normal !important;
    padding: 10px;
    vertical-align: top;
}
.beneficis tbody tr {
    border-top: 2px solid rgb(255,86,82);
}
.beneficis td {
    width: 33.333%;
    padding: 30px 10px;
    height: 100px;
}
.beneficis tr td:first-child {
    vertical-align: top;
}
th span {
    display: block;
    padding: 5px;
}


/*------------------------------------------------------*/
/*------------------------------------------------------*/
/*----                 FEED NEWS                    ----*/
/*------------------------------------------------------*/
/*------------------------------------------------------*/

.external-news-feed {
    overflow:visible;
    margin-top: 60px;
}
.external-news-feed h3 {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Inconsolata', monospace;
    margin-bottom: 20px;
}
.meltwaternews-wrapper {
    overflow: auto;
    background-color: white;
}
.meltwaternews {
    padding:0.6em 1.1em !important;
}
.meltwaternews .article br {
    display:none;
}
.meltwaternews,
.meltwaternews .article,
.meltwaternews .article span,
.meltwaternews .article span a,
.meltwaternews .article div {
    font-size: 1em !Important;
    color: black;
    display:block !Important;
    font-style: normal !Important;
    font-weight: normal !Important;
    color: rgb(59,59,59) !Important;
    font-family: "Pona Book", serif !Important;
    line-height: 1.5em !Important;
    font-size: 16px !Important;
}

.meltwaternews span.source,
.meltwaternews span.date {
    font-family: 'Inconsolata', monospace !Important;
    display:inline !Important;
}
.meltwaternews span.title,
.meltwaternews span.title a {
    text-decoration: none !important;
    color: rgb(255,86,82) !Important;
}
.meltwaternews .article {
    margin: 0.5em 0;
}

@media screen and (max-width: 991px) {
    .home-news-feed {
        max-width:600px;
        margin: 0 auto !important;
        right: auto !important;
        left:auto !important;
        padding: 50px;
    }
    
    .meltwaternews-wrapper {
    border:none;
    position:relative;
    width:100%;
    height:auto;
}
.external-news-feed {
    position:relative;
    height:auto;
    border-top:none;
    border-left:none;
}
.external-news-feed .external-news-feed-title {
    position:relative;
    display:block;
    top:0;
    left:0;
    margin-top:30px;
}
.meltwaternews {
    padding:0.6em 1.1em !important;
    border: 1px solid black;
}
}


/*------------------------------------------------------*/
/*------------------------------------------------------*/
/*----                 CLEAR                    ----*/
/*------------------------------------------------------*/
/*------------------------------------------------------*/

.clear {
    display:block;
    width: 100%;
    clear:both;
    position:relative;
    float:none;
}
.description-publicacions-cat img {
    display:none;
}
#newsletter-popup {
    width: 100%;
}
.aligncenter {
    margin: 0 auto 2em;
}
.page-template-page-newsletter .mc-field-group {
    text-align: center;
}
.page-template-page-newsletter .mc-field-group.accept {
    margin-top: 30px;
}
.page-template-page-newsletter .mc-field-group p {
    display: inline-block;
    margin-left: 10px;
}
.page-template-page-newsletter #mce-EMAIL {
    width: 80%;
    max-width: 500px;
    line-height: 30px;
}
.page-template-page-newsletter #mc-embedded-subscribe {
    margin: 50px auto 0;
    float: none;
}
.page-template-page-newsletter .input-politica {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    padding: 0;
}
#menu-secundari-menu ul li:last-child {
        display: none;
    }

.embed-container {
    text-align: center;
    margin-bottom: 2em;
}

.g-recaptcha > div {
    margin: -2em auto 2em;
}
.page-template-page-contacte .g-recaptcha > div {
    margin-top: 0;
}

.cli-tab-footer .wt-cli-privacy-accept-btn {
	background-color: #ff5652!important;
}
