/**
 * Custom styles 
 * 20/02/2016
 */


/* Page */

#page {
    width: 1220px;
}


/* Homepage right column */

.banner_p img {
    width: 100%;
}


/* Homepage news tabs */

#latest-news {
    float: left;
    width: 100%;
    margin: 0;
}

#responsiveTabsDemo ul {
    float: left;
    width: 260px;
    margin: 0;
}

#responsiveTabsDemo li {
    float: left;
    width: 100%;
    height: auto;
    margin: 0;
    position: relative;
}

#responsiveTabsDemo li a {
    display: block;
    margin: 0;
}

#responsiveTabsDemo li img {
    display: block;
    float: left;
    width: 100%;
    height: 183px;
    margin: 0;
}

#responsiveTabsDemo li .text-content {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    font: 300 15px/18px 'Roboto', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    color: #3b3b3b;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}


/* Homepage news tab content */

#responsiveTabsDemo .tab-content {
    position: relative;
    float: right;
    width: 590px;
    height: 549px;
    margin: 0;
    padding: 0;
    text-align: center;
    background: #000;
    overflow: hidden;
}

#responsiveTabsDemo .tab-content img {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    top: 50%;
    left: 50%;
    margin: 0;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

#responsiveTabsDemo .tab-content .text-content {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px 0;
    font-family: 'Roboto', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    color: #FFF;
    background: rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#responsiveTabsDemo .tab-content .text-content h2 {
    margin: 0;
    margin-bottom: 10px;
    font-size: 24px;
    color: #FFF;
}

#responsiveTabsDemo .tab-content .text-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2em;
}


/* Right column carousel */

.widget_nav_menu #carousel {
    width: 100% !important;
    height: 380px !important;
    padding-right: 0;
    overflow: hidden;
}

.widget_nav_menu #carousel .banner {
    display: block;
    height: auto !important;
}

.ui-carousel>.wrapper>* {
    height: auto !important;
}

.widget_nav_menu #carousel .banner img {
    width: 100%;
    height: auto !important;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}


/* Homepage carousel */

.r_sidebar>.one_first {
    width: 100%;
    margin: 0;
    margin-bottom: 60px;
}

#mais_webs {
    width: 100% !important;
    padding: 0 !important;
}


/* Homepage more webs carousel */

#more-webs {
    position: relative;
    width: 100%;
    margin: 0;
    margin-bottom: 60px;
}

#more-webs .more-webs {
    margin-left: -5px;
    margin-right: -5px;
}

#more-webs .more-webs a {
    display: block;
    margin: 5px;
    padding: 5px;
    border: 1px solid #DDD;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#more-webs .more-webs a img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}


/* Arrows */

.slick-prev,
.slick-next {
    position: absolute;
    top: -60px;
    right: 5px;
    z-index: 11;
    display: block;
    width: 27px;
    height: 27px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: 1px solid #DDD;
    outline: none;
    font-size: 0;
    line-height: 0;
    background: #FFF;
}

.slick-prev {
    right: 31px;
}

.slick-prev:before {
    position: absolute;
    top: 9px;
    left: 6px;
    content: "";
    border: 4px solid transparent;
    border-right-color: #ddd;
}

.slick-next:before {
    position: absolute;
    top: 9px;
    right: 6px;
    content: "";
    border: 4px solid transparent;
    border-left-color: #ddd;
}

.slick-prev,
.slick-next,
.slick-prev:before,
.slick-next:before {
    -webkit-transition: background-color 0.3s ease-in-out 0s, border-color 0.3s ease-in-out 0s;
    -moz-transition: background-color 0.3s ease-in-out 0s, border-color 0.3s ease-in-out 0s;
    -ms-transition: background-color 0.3s ease-in-out 0s, border-color 0.3s ease-in-out 0s;
    -o-transition: background-color 0.3s ease-in-out 0s, border-color 0.3s ease-in-out 0s;
    transition: background-color 0.3s ease-in-out 0s, border-color 0.3s ease-in-out 0s;
}

.slick-prev:hover:before {
    border-right-color: #bf0043;
}

.slick-next:hover:before {
    border-left-color: #bf0043;
}


/* Avisos */

#portada .avisos {
    margin: 0 !important;
}

#portada .avisos:last-child {
    float: right;
}

#portada .avisos h3 {
    display: block;
    margin: 40px 0 20px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 20px;
}


/* Vertical carousel */

.bx-wrapper {
    margin-top: 50px;
}

.bx-wrapper .bx-viewport {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.slider8>div,
.bx-wrapper img {
    width: 100% !important;
    height: auto !important;
}

.slider8>div>a {
    display: block;
    margin: 0;
    padding: 5px;
    border: 1px solid #DDD;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.bx-wrapper .bx-controls-direction a {
    top: -40px;
    right: 0;
    display: block;
    width: 25px;
    height: 25px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: 1px solid #DDD;
    outline: none;
    font-size: 0;
    line-height: 0;
    background: #FFF;
}

.bx-wrapper .bx-controls-direction .bx-prev {
    left: auto;
    right: 26px;
}

.bx-wrapper .bx-controls-direction .bx-prev:before {
    position: absolute;
    top: 9px;
    left: 6px;
    content: "";
    border: 4px solid transparent;
    border-right-color: #ddd;
}

.bx-wrapper .bx-controls-direction .bx-next:before {
    position: absolute;
    top: 9px;
    right: 6px;
    content: "";
    border: 4px solid transparent;
    border-left-color: #ddd;
}

.bx-wrapper .bx-controls-direction .bx-prev,
.bx-wrapper .bx-controls-direction .bx-next,
.bx-wrapper .bx-controls-direction .bx-prev:before,
.bx-wrapper .bx-controls-direction .bx-next:before {
    -webkit-transition: background-color 0.3s ease-in-out 0s, border-color 0.3s ease-in-out 0s;
    -moz-transition: background-color 0.3s ease-in-out 0s, border-color 0.3s ease-in-out 0s;
    -ms-transition: background-color 0.3s ease-in-out 0s, border-color 0.3s ease-in-out 0s;
    -o-transition: background-color 0.3s ease-in-out 0s, border-color 0.3s ease-in-out 0s;
    transition: background-color 0.3s ease-in-out 0s, border-color 0.3s ease-in-out 0s;
}

.bx-wrapper .bx-controls-direction .bx-prev:hover:before {
    border-right-color: #bf0043;
}

.bx-wrapper .bx-controls-direction .bx-next:hover:before {
    border-left-color: #bf0043;
}

.bx-wrapper .bx-pager {
    display: none;
}


/* First post */

.post_type_shortcode h3 {
    display: block;
    margin: 40px 0 20px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 20px;
}

#content .post.axenda {
    width: 100% !important;
    margin: 0 !important;
    padding: 0;
}

.post_type_shortcode_inner {
    margin: 0 !important;
}

.post_type_shortcode_inner>.one_half {
    float: right;
    width: 47.5% !important;
    margin: 0 !important;
    padding: 0 !important;
    padding
}

.post_type_shortcode_inner>.first_column {
    float: left;
}

.post_type_shortcode_inner>.first_column>.post.axenda:first-child .img_axenda {
    float: left;
    width: 50%;
    height: auto;
    margin: 0;
}

.post_type_shortcode_inner>.first_column>.post.axenda:first-child .entry-title {
    float: left;
    width: 50%;
    height: auto;
    margin: 0;
    padding-left: 15px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.post_type_shortcode_inner>.first_column>.post.axenda:first-child .entry-title .data {
    display: block;
    font-size: 14px;
}

.post_type_shortcode_inner>.first_column>.post.axenda:first-child .entry-content {
    display: block;
    clear: left;
    float: left;
    width: 100%;
    margin: 0;
    margin-top: 15px;
}

@media only screen and (max-width: 1220px) {
    /* Page */
    #page {
        width: 1000px;
    }
    /* Homepage news tabs */
    #responsiveTabsDemo ul {
        width: 211px;
    }
    #responsiveTabsDemo li img {
        height: 160px;
    }
    /* Homepage news tab content */
    #responsiveTabsDemo .tab-content {
        width: 480px;
        height: 480px;
    }
    /* Right column carousel */
    .ui-carousel>.wrapper>* {
        width: 211.5px !important;
    }
}

@media only screen and (max-width: 1024px) {
    /* Page */
    #page {
        width: 94%;
    }
    /* Responsive nav button */
    .responsive_nav {
        position: absolute;
        top: 47px;
        right: 0;
        float: right;
        margin: 0;
    }
    /* Navigation */
    #navigation {
        margin-top: 32px;
        background: #f2f2f2;
    }
    #navigation>li {
        list-style: none;
        border: none;
    }
    #navigation li:before,
    #navigation li ul li:before {
        background-color: #e5e5e5;
    }
    #navigation>li>a {
        padding-left: 15px;
        border: none;
    }
    #navigation>li>a>span {
        display: block;
        height: auto;
        padding: 0;
        border: none;
    }
    #navigation>li>a>span img {
        padding: 14px 0 0;
    }
    /* Homepage content */
    #portada #content {
        width: 74%;
    }
    #sidebar {
        width: 24%;
    }
    /* Homepage news tabs */
    #responsiveTabsDemo ul {
        width: 25%;
    }
    #responsiveTabsDemo li {
        margin-bottom: 10px;
        border: 1px solid #DDD;
    }
    #responsiveTabsDemo li img {
        display: none !important;
        height: auto;
    }
    #responsiveTabsDemo li .text-content {
        position: relative;
        font: 300 14px/18px 'Roboto', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    }
    /* Homepage news tab content */
    #responsiveTabsDemo .tab-content {
        width: 72.5%;
    }
    #responsiveTabsDemo .tab-content .text-content h2 {
        font-size: 24px;
        line-height: 1.4em;
    }
    #responsiveTabsDemo .tab-content .text-content p {
        font-size: 16px;
        line-height: 1.2em;
    }
    #responsiveTabsDemo .tab-content {
        height: 473px;
    }
    /* Right column carousel */
    .ui-carousel>.wrapper>* {
        width: 156.8px !important;
    }
    /* First post */
    .post_type_shortcode_inner>.first_column>.post.axenda:first-child .img_axenda {
        float: none;
        width: 100%;
        margin-bottom: 15px;
    }
    .post_type_shortcode_inner>.first_column>.post.axenda:first-child .entry-title {
        float: none;
        width: 100%;
        padding: 0;
    }
    .post_type_shortcode_inner>.first_column>.post.axenda:first-child .entry-content {
        float: none;
    }
}

@media only screen and (max-width: 768px) {
    h3 {
        padding-right: 60px;
        font: 300 18px/22px 'Roboto', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    }
    /* Homepage news tabs */
    #responsiveTabsDemo {
        border-bottom: 1px solid #e5e5e5;
    }
    #responsiveTabsDemo .r-tabs-anchor {
        display: block;
        margin-bottom: -1px;
        padding: 12px 20px;
        font: 300 15px/18px 'Roboto', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
        color: #3b3b3b;
        border: 1px solid #e5e5e5;
        border-bottom: none;
    }
    #responsiveTabsDemo .r-tabs-anchor:last-child {
        margin-bottom: 0;
    }
    #responsiveTabsDemo .r-tabs-state-active .r-tabs-anchor {
        color: #FFF;
        background-color: #bf0043;
        border-color: #bf0043;
    }
    #responsiveTabsDemo .r-tabs-anchor img {
        display: none;
    }
    /* Homepage news tab content */
    #responsiveTabsDemo .tab-content {
        float: none;
        width: 100%;
        height: auto;
        padding: 20px;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        background: none;
        border: 1px solid #e5e5e5;
        border-top: none;
        border-bottom: none;
    }
    #responsiveTabsDemo .tab-content img {
        position: relative;
        min-width: 100%;
        width: 100%;
        height: auto;
        min-height: 1px;
        top: 0;
        left: 0;
        margin: 0;
        transform: none;
    }
    #responsiveTabsDemo .tab-content .text-content {
        position: relative;
        padding: 0;
        padding-top: 20px;
        color: #3b3b3b;
        background: none;
    }
    #responsiveTabsDemo .tab-content .text-content h2 {
        font-size: 28px;
        color: #3b3b3b;
    }
    #responsiveTabsDemo .tab-content .text-content p {
        font-size: 18px;
    }
    /* Homepage avisos */
    #portada .avisos {
        width: 100% !important;
    }
    /* Homepage agenda */
    .post_type_shortcode_inner .one_half {
        width: 100% !important;
    }
    #content .post .entry-content {
        margin-bottom: 20px;
        border-bottom: 1px solid #DDD;
    }
    /* Sidebar */
    #sidebar {
        width: 100%;
        margin: 0;
    }
    #sidebar:before {
        width: 100%;
        margin: 0;
    }
    #sidebar .one_first {
        width: 310px;
        margin: 0 auto;
    }
    #sidebar .one_first:nth-child(2) {}
    #sidebar .one_first:last-child {}
    #sidebar .portada_destacado {
        width: 100%;
    }
    .portada_destacado img {
        width: 100% !important;
    }
    .banner_p {
        width: 100%;
        margin: 0 auto 25px;
    }
    /* First post */
    .post_type_shortcode_inner>.first_column>.post.axenda:first-child .img_axenda img {
        width: 100%;
    }
}

#formfiltro .check_parent {
    float: left;
    margin-right: 15px;
}

@media only screen and (max-width: 540px) {
    /* Navegación */
    #navigation>li>a {
        font-size: 16px;
    }
    /* Anuncios */
    .post_type_shortcode.type_post {
        text-align: left;
    }
    /* Sidebar */
    #sidebar .portada_destacado {
        float: none;
        width: 100%;
    }
    #sidebar .portada_destacado:nth-child(2n) {
        float: none;
    }
    #sidebar .one_first:last-child {
        float: none;
    }
    .banner_p {
        float: none;
        width: 100%;
        margin: 0 auto 25px;
    }
    .banner_p:nth-child(2n) {
        float: none;
    }
    .banner_p:first-child {
        float: none;
        margin: 0 0 25px;
    }
    /* Homepage news tabs */
    #responsiveTabsDemo .r-tabs-anchor {
        font: 300 14px/17px 'Roboto', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    }
    /* Homepage news tab content */
    #responsiveTabsDemo .tab-content .text-content h2 {
        font-size: 18px;
    }
    #responsiveTabsDemo .tab-content .text-content p {
        font-size: 14px;
    }
    /* First post */
    .post_type_shortcode_inner>.first_column>.post.axenda:first-child h4.entry-title,
    .post_type_shortcode_inner>.first_column>.post.axenda:first-child h4.entry-title a {
        font-size: 18px;
    }
}

#table_tempo thead tr th {
    color: #fff;
}


/**/

#latest-news-first {
    position: relative;
    height: auto;
    overflow: hidden;
    margin-bottom: 0px;
}

#latest-news-first img,
.latest-news-more .one_third img {
    display: block;
    width: 100%;
    margin: 0;
}

#latest-news-first .text-content {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px 0;
    font-family: 'Roboto', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    color: #FFF;
    background: rgba(191, 0, 67, 0.8);
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#latest-news-first .text-content h2 {
    color: #fff;
    font-weight: bold;
}

#latest-news-first,
.latest-news-more .one_third {
    margin-bottom: 0px;
}

.latest-news-more .one_third {
    height: auto;
    min-height: 1;
    position: relative;
    overflow: hidden;
    float: left;
    width: 33.333%;
    margin: 0 !important;
    padding: 0;
}

.latest-news-more .one_third img {
    display: block;
    margin: 0;
}

.latest-news-more .one_third .text-content {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 10px;
    font-family: 'Roboto', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    color: #FFF;
    background: rgba(255, 255, 255, 0.8);
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.latest-news-more .one_third .text-content h3,
.latest-news-more .one_third .text-content h3 {
    font: 14px 'Roboto', Arial, Helvetica, 'Nimbus Sans L', sans-serif !important;
    padding: 0;
    margin: 0 !important;
}

.latest-news-more .one_third .text-content h3:before,
.latest-news-more .one_third .text-content h3:after {
    content: none;
}

@media only screen and (max-width: 1024px) {
    #latest-news-first .text-content {
        padding: 10px 20px 0;
    }
    #latest-news-first .text-content h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    .latest-news-more .one_third .text-content {
        padding: 5px !important;
    }
    .latest-news-more .one_third .text-content h3,
    .latest-news-more .one_third .text-content h3 {
        font-size: 12px !important;
    }
}

@media only screen and (max-width: 768px) {
    #latest-news-first .text-content {
        padding: 10px 15px 0;
    }
    #latest-news-first .text-content h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    .latest-news-more .one_third {
        width: 50%;
        clear: none !important;
    }
    .latest-news-more .one_third .text-content {
        padding: 10px !important;
    }
    div.dereitasup,
    div.dereitasup195,
    div.dereitasup130,
    div.dereitasup209 {
        max-width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }
    div.dereitasup195 img {
        width: 96%;
    }
}

@media only screen and (max-width: 540px) {
    #latest-news-first .text-content {
        position: relative;
        padding: 10px 10px 0;
        background: rgba(191, 0, 67, 1);
    }
    #latest-news-first .text-content h2 {
        font-size: 18px;
    }
    #latest-news-first .text-content p {
        font-size: 12px;
        line-height: 1.2;
    }
}

@media only screen and (max-width: 480px) {
    #latest-news-first .text-content h2 {
        font-size: 16px;
    }
    .latest-news-more .one_third {
        width: 100%;
    }
}


/* Mosaico */

.mosaico .one_fifth .container,
.mosaico .one_fourth .container {
    width: 100%;
    text-align: center;
    border: 1px solid #999;
    height: 130px;
    position: relative;
    overflow: hidden;
}

.mosaico .alcaldia {
    margin: 0 !important;
}

.mosaico .alcaldia .container {
    padding-top: 4%;
    height: 260px;
    overflow: hidden;
}

.mosaico .alcaldia .container img {
    width: 100%;
}

.mosaico .one_fifth,
.mosaico .one_fourth {
    margin: 0 0 1% 1%;
}

.mosaico .one_fifth {
    width: 19% !important;
}

.mosaico .four_fifth {
    width: 80% !important;
}

.mosaico .one_fourth {
    width: 24% !important;
}

.mosaico .first_column {
    margin: 0 !important;
}

.mosaico .text-content {
    background: #999;
    height: 30px;
    width: 100%;
    position: absolute;
    bottom: 0;
    text-align: center;
}

.mosaico .text-content h2 {
    color: #fff;
    font-size: 15px;
}


/* Mosaico 2 */

.mosaico2 {
    display: block;
    margin-left: -5px;
    margin-right: -5px;
}

.mosaico2:before,
.mosaico2:after {
    display: table;
    content: "";
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mosaico2:after {
    clear: both;
}

.mosaico2 .item {
    position: relative;
    float: left;
    width: 20%;
    min-height: 1px;
    margin: 0;
    margin-top: 10px;
    padding: 0 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mosaico2 .item:nth-child(6),
.mosaico2 .item:nth-child(7),
.mosaico2 .item:nth-child(8),
.mosaico2 .item:nth-child(9) {
    margin-top: -146px;
}

.mosaico2 .item:nth-child(10) {
    clear: left;
}

.mosaico2 .item .container {
    display: block;
    width: 100%;
    margin: 0;
    border: 1px solid #999;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.mosaico2 .item img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.mosaico2 .item:nth-child(5) img {}

.mosaico2 .item .text-content {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: #626262;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.mosaico2 .item .text-content h2 {
    margin: 0;
    color: #FFF;
    font-size: 14px;
    line-height: 1.2;
}


/* Mosaico 3 */

.mosaico3 {
    display: block;
    margin-left: -5px;
    margin-right: -5px;
}

.mosaico3:before,
.mosaico3:after {
    display: table;
    content: "";
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mosaico3:after {
    clear: both;
}

.mosaico3 .item {
    position: relative;
    float: left;
    width: 20%;
    min-height: 1px;
    margin: 0;
    margin-top: 10px;
    padding: 0 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mosaico3 .item .container {
    display: block;
    width: 100%;
    margin: 0;
    border: 1px solid #999;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.mosaico3 .item img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.mosaico3 .item .text-content {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: #999;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.mosaico3 .item .text-content h2 {
    margin: 0;
    color: #FFF;
    font-size: 14px;
    line-height: 1.2;
}

@media only screen and (max-width: 1200px) {
    .mosaico2 .item:nth-child(6),
    .mosaico2 .item:nth-child(7),
    .mosaico2 .item:nth-child(8),
    .mosaico2 .item:nth-child(9) {
        margin-top: -116px;
    }
    .mosaico2 .item .text-content {
        padding: 7px 10px;
    }
    .mosaico2 .item .text-content h2 {
        font-size: 12px;
    }
    .mosaico3 .item .text-content {
        padding: 7px 10px;
    }
    .mosaico3 .item .text-content h2 {
        font-size: 12px;
    }
}

@media only screen and (max-width: 1024px) {
    .mosaico2 .item {
        width: 25%;
    }
    .mosaico2 .item:nth-child(6),
    .mosaico2 .item:nth-child(7),
    .mosaico2 .item:nth-child(8),
    .mosaico2 .item:nth-child(9) {
        margin-top: 10px;
    }
    .mosaico2 .item:nth-child(10) {
        clear: none;
    }
    .mosaico2 .item:nth-child(12) {
        clear: left;
    }
    .mosaico3 .item {
        width: 25%;
    }
}

@media only screen and (max-width: 768px) {
    .mosaico2 .item {
        width: 33.33333333%;
    }
    .mosaico2 .item:nth-child(8) {
        clear: left;
        margin-top: -20.9%;
    }
    .mosaico2 .item:nth-child(9) {
        clear: left;
    }
    .mosaico2 .item:nth-child(12) {
        clear: none;
    }
    .mosaico3 .item {
        width: 33.33333333%;
    }
}

@media only screen and (max-width: 540px) {
    .mosaico2 .item {
        width: 50%;
    }
    .mosaico2 .item:nth-child(8) {
        clear: left;
        margin-top: 10px;
    }
    .mosaico2 .item:nth-child(9) {
        clear: none;
    }
    .mosaico3 .item {
        width: 50%;
    }
    .latest-news-more {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .mosaico2 .item {
        width: 100%;
    }
    .mosaico2 .item:nth-child(8) {
        clear: none;
    }
    .mosaico3 .item {
        width: 100%;
    }
}

h3:before,
h3:after,
.cmsms_sitemap>li>a:before,
.cmsms_sitemap>li>a:after {
    background: #bbb;
}

.bg_color_1,
h3:after,
input#submit:hover,
.button:hover,
.button_small:hover,
.button_medium:hover,
.button_large:hover,
.button.current,
.button_small.current,
.button_medium.current,
.button_large.current,
.responsive_nav span,
.responsive_nav span:before,
.responsive_nav span:after,
.tabs li.current a,
.cmsms_sitemap>li>a:after,
.s_cat_filter.button_small:hover,
.s_sort a.button_small:hover,
.s_cat_filter.button_small.current,
.s_sort a.button_small.current,
.cmsms_pricing_table .pricing_footer .pricing_button:hover,
.comment-reply-link:hover,
#cancel-comment-reply-link:hover,
.s_filter_container:hover .s_cat_filter.button_small,
.tog:hover .cmsms_plus span,
.tog.current .cmsms_plus,
.cmsms_post_format_img,
.format-quote blockquote:before,
ul li a.page-numbers:hover,
#cmsms_latest_bottom_tweets,
.wrap_person .cmsms_link:hover,
.wrap_person .cmsms_link:before,
.wrap_person .cmsms_link>span:before,
.wrap_person .cmsms_link>span:after,
.testimonial blockquote:after,
.widget .tl-content:after,
.cmsms_latest_bottom_tweets_inner .cmsms_content_prev_slide,
.cmsms_latest_bottom_tweets_inner .cmsms_content_next_slide,
.cmsms_content_prev_slide:active,
.cmsms_content_next_slide:active,
.cmsms_content_slider_parent ul.cmsms_slides_nav li.active a,
.tp-bullets.simplebullets.round .bullet:hover,
.tp-bullets.simplebullets.round .bullet.selected {
    background-color: #bf0043;
}

.ver-mas {
    margin-top: 5px;
    font-weight: bold;
}

#navigation>li {
    overflow: hidden;
}

p {
    font-size: 13px !important;
    line-height: 1.4 !important;
}

#footer ul li,
#header ul li {
    list-style: none
}

#language-select .dropdown-menu li a {
    font-size: 10px !important;
}

#homepage.p-interior {
    padding-top: 51px;
}


/*#main-navigation {
	background: #fff !important;
}*/


/* DVP */

.jackbox-button-margin {
    margin-right: 10px !important;
}

.anchor {
    display: block;
    height: 50px;
    /*same height as header*/
    margin-top: -50px;
    /*same height as header*/
    visibility: hidden;
}

#footer #footer-links {
    padding-bottom: 70px !important;
}

#financontacto img {
    max-width: 100%;
}

#footer {
    bottom: inherit !important;
}

@media (min-width: 580px) {
    .p-interior #header {
        border-top: 1px solid #DDD;
    }
    .p-interior .weather-link:before,
    .p-interior #social-follow-links li a:before {
        color: #000;
    }
    .p-interior #language-select button {
        color: #000 !important;
        border: 1px solid #000 !important;
    }
}

#homepage #actualidad-banners .list-item header hr {
    width: 100% !important;
}

label {
    font-weight: normal;
    font: 13px/18px Arial, Geneva, Helvetica, sans-serif;
}

#content .cargo,
#content .entradilla {
    font-size: 15px !important;
}

#homepage #accesos-directos {
    margin: 20px auto 40px !important;
}

.lista {
    margin-top: 15px;
}