/*
Theme Name: Stjs Theme
Theme URI: www.undanet.com
Author: Undanet S.L
Author URI: www.undanet.com
Description: www.undanet.com
Version: 2.2
Requires at least: 4.7
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentyseventeen
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

* {
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    font-size: 20px;
    font-family: 'Quattrocento';
}

*:focus {
    outline: none !important;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    height: auto;
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
	position:relative;
}

a {
    text-decoration: none;
}

p {
    margin-bottom: 20px;
    line-height: 1.3;
    width: 100%;
}

ul {
    list-style: none;
    margin-block-start: 0;
}

.wp-video {
    display: inline;
}

img.alignleft,
video.alignleft {
    float: left;
    padding: 10px 20px 10px 0;
    margin-top: -10px;
    width: 450px;
    max-width: 100%;
    height: auto;
}

img.alignright,
video.alignright {
    float: right;
    padding: 10px 0 10px 20px;
    margin-top: -10px;
    width: 450px;
    max-width: 100%;
    height: auto;
}

.text-center {
    text-align: center;
}

.content .text-center {
    width: 100%;
}

.full-container {
    margin: auto;
    width: 95%;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .container {
        width: 775px;
    }
    .container.small {
        width: 590px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
    .container.small {
        width: 770px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1190px;
    }
    .container.small {
        width: 920px;
    }
}

@media (min-width: 1300px) {
    .container {
        width: 1290px;
    }
}

@media (max-width: 580px) {
    img.alignleft,
    img.alignright,
    video.alignleft,
    video.alignright {
        float: none;
        padding: 0;
        margin: 0 auto;
        display: block;
    }
}

.cookieconsent-optout-marketing {
	display: none;
    background-color: white;
    padding: 45px;
    text-align: center;
    font-family: sans-serif;
    font-weight: 300;
    font-size: 17px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0px 0px 9px 0px #524f4fba;
}

.cookieconsent-optout-marketing a {
    padding: 5px 10px;
    margin: 0 5px;
    background-color: green;
    color: white;
    font-family: sans-serif;
    font-weight: 600;
    font-size: 17px;
}

button#close-cookieconsent {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background-color: #444444;
    color: white;
    padding: 6px 7px;
    line-height: 9px;
    border-radius: 2px;
    font-family: sans-serif;
    font-weight: 400;
    font-size: 17px;
    cursor: pointer;
}

/* MENU */

div#menu-sticky {
    position: sticky;
    top: 0;
    z-index: 2;
}

div#menu-home {
    position: fixed;
    padding: 0;
    z-index: 2;
    right: 0;
    left: 0;
    top: 0;
}

#menu-sticky .menu-menu-principal-container,
#menu-home .menu-menu-principal-container {
    height: 350px;
    max-height: 100px;
    transition: max-height .5s;
}

button#responsive-menu-button {
    border-radius: 100%;
}

.nav-menu {
    background: linear-gradient(#130F0C, transparent);
    height: 100px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.nav-menu:hover {
    background-color: #703273;
}

#menu-menu-principal>li.menu-item {
    padding: 20px 10px;
    position: relative;
}

.nav-menu li>a {
    color: #FFFFFF;
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-menu li>a:hover,
.nav-menu li.current-menu-item>a {
    color: #703273;
    border-bottom: 3px solid;
}

.nav-menu:hover li>a:hover,
.nav-menu:hover li.current-menu-item>a {
    color: black;
}

li.menu-item:hover ul.sub-menu {
    visibility: visible;
    max-height: 500px;
}

ul.sub-menu {
    position: absolute;
    top: 45px;
    left: 0;
    padding: 10px 10px 20px 10px;
    width: max-content;
    border-radius: 20px;
    max-height: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height .5s;
}

ul.sub-menu li {
    margin-top: 10px;
}

#logo-menu {
    z-index: 5;
    position: fixed;
    max-height: 80px;
    margin-left: 20px;
    margin-top: 10px;
}

.nav-menu-pages {
    position: sticky;
    padding-left: 45px;
    z-index: 2;
    right: 0;
    left: 0;
    top: 0;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(./assets/images/menu-img.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: auto;
}

.nav-menu-pages>li {
    padding-top: 15px;
    padding-left: 10px;
    cursor: pointer;
}

.nav-menu-pages li>a {
    color: #FFFFFF;
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
}

.nav-menu-pages li>a:hover,
.nav-menu-pages li.current-menu-item>a,
.nav-menu-pages>li.current-menu-parent>a {
    color: black;
    border-bottom: 3px solid;
}

.nav-menu-pages .sub-menu {
    background-color: #703273;
}

#responsive-menu-container li.responsive-menu-item {
    overflow: hidden;
}


/* MENU REDES */

#menu-redes {
    display: flex;
    flex-direction: column;
    width: 40px;
    position: fixed;
    top: 260px;
    left: 0;
    z-index: 100;
}

#menu-redes a {
    width: 40px;
    height: 40px;
    text-align: center;
    transition: width .5s;
}

#menu-redes a:hover {
    width: 60px;
}

#menu-redes a:nth-of-type(1) {
    background-color: #375999;
}

#menu-redes a:nth-of-type(2) {
    background-color: #18a2f2;
}

#menu-redes a:nth-of-type(3) {
    background-color: #848484;
}

#menu-redes a:nth-of-type(4) {
    background-color: #ff654f;
}

#menu-redes img {
    max-width: 100%;
    height: 100%;
}

@media(max-width: 820px) {
    #menu-redes {
        top: 159px;
    }
}

@media(max-width: 560px) {
    #menu-redes {
        top: auto;
        bottom: 0;
        right: 0;
        width: 100%;
        flex-direction: row;
        height: 40px;
    }
    #menu-redes a {
        width: 100%;
    }
    #menu-redes a:hover {
        width: 100%;
    }
}


/*HOME*/

#slider-home {
    position: relative;
}

#slider-home .top-slider {
    position: absolute;
    z-index: 1;
    top: 110px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    width: 90%;
    margin: 0 auto;
}

span.txt-slider-1 {
    font-size: 30px;
    font-weight: 600;
    text-shadow: 1px 2px 5px #0000008f;
}

h1.txt-slider-2 {
    font-size: 26px;
    text-shadow: 1px 2px 5px #0000008f;
}

span.txt-slider-3 {
    margin-top: 40px;
    font-size: 54px;
    text-shadow: 1px 2px 5px #0000008f;
}

span.txt-slider-4 {
    font-size: 30px;
    text-shadow: 1px 2px 5px #0000008f;
}

#slider-home .bottom-slider {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    right: 0;
}

#slider-home .bottom-slider>img {
    width: 100%;
}

#portada-home {
    height: auto;
    width: 100%;
    position: relative;
    z-index: 1;
    margin-top: -5px;
    background-color: #fdcdf5;
}

#portada-home h2 {
    color: #000000;
    font-family: 'Quattrocento', serif;
    font-size: 34px;
    margin: 10px 0;
}

#portada-home h4 {
    color: #000000;
    font-family: 'Quattrocento', serif;
    font-size: 22px;
    font-weight: normal;
    text-transform: uppercase;
    margin: 20px 10px 10px 10px;
}

#portada-home span {
    color: #000000;
    font-family: 'Quattrocento', serif;
    font-size: 20px;
    font-weight: normal;
}

#portada-home hr {
    width: 60px;
    border-color: black;
    border-width: 2px;
    margin-bottom: 20px;
}

#noticias.owl-carousel {
    position: relative;
    padding: 0 10px;
}

.owl-carousel .owl-nav {
    position: absolute;
    top: 40%;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container-columnas {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
}

.imagen-portada {
    height: 250px;
    width: 250px;
    background-position: center;
    margin: 0px auto;
}

.imagen-portada img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
}

.imagen-portada iframe {
    max-width: 100%;
    max-height: 100%;
}

.imagen-portada.video {
    width: 90%;
    border-radius: 10px;
    overflow: hidden;
}

.content-portada {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.boton-portada {
    border: none;
    background-color: #703273;
    color: #FFFFFF;
    padding: 15px 60px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 40px;
    cursor: pointer;
}

.columna-portada a {
    margin-top: auto;
    cursor: auto;
}

.columna-portada {
    width: 33%;
    /*padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;*/
}

#enlaces-home .container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

#enlaces-home h4 {
    color: #FFFFFF;
    font-family: 'Quattrocento', serif;
    font-size: 28px;
    font-weight: normal;
    margin: 150px 0px 20px 0px;
    text-transform: uppercase;
}

#enlaces-home hr {
    width: 60px;
    border: 2px solid white;
}

.columna-enlaces {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 25%;
    height: 400px;
}

@media (min-width: 1200px) {
    .columna-portada {
        margin: 50px auto;
    }
}

@media (max-width: 1020px) {
    .container-columnas {
        flex-wrap: wrap;
    }
    .columna-portada {
        width: 50%;
    }
}

@media(max-width: 920px) {
    .columna-enlaces {
        width: 50%;
        height: 330px;
    }
}

@media (max-width: 820px) {
    #slider-home .top-slider {
        top: 10px;
    }
    .container-columnas {
        flex-direction: column;
        align-items: center;
    }
    .columna-portada {
        width: 100%;
    }
}

@media (max-width: 650px) {
    #slider-home .top-slider img {
        width: 50px;
    }
    span.txt-slider-1 {
        font-size: 22px;
    }
    h1.txt-slider-2 {
        font-size: 20px;
    }
    span.txt-slider-3 {
        margin-top: 20px;
        font-size: 30px;
    }
    span.txt-slider-4 {
        font-size: 22px;
    }
}

@media(max-width: 560px) {
    .columna-enlaces {
        width: 50%;
        height: 240px;
    }
    #enlaces-home h4 {
        margin-top: 100px;
    }
}

@media(max-width: 470px) {
    .columna-enlaces {
        width: 100%;
        height: 300px;
    }
    #enlaces-home h4 {
        margin-top: 125px;
    }
}


/* SOMOS */

#img-somos {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 185px;
}

.img-somos h2 {
    color: #FFFFFF;
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    font-weight: normal;
    margin-bottom: 0px;
    padding-top: 60px;
    text-shadow: 0 0 4px black;
}

.img-somos h4 {
    color: #FFFFFF;
    font-family: 'Quattrocento', sans-serif;
    font-size: 20px;
    font-weight: normal;
    margin-top: 0px;
    text-shadow: 0 0 3px black;
}

.container-somos {
    background-image: url('assets/images/bg-top.jpg');
    background-repeat: no-repeat;
    background-size: 2000px 500px;
}

.container-somos.bg-2 {
    background-image: url('assets/images/fondo-degradado-2.jpg');
    background-repeat: no-repeat;
    background-size: 2000px 100%;
}

.container-somos h2,
.container-somos h1 {
    color: #8d278a;
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    font-weight: normal;
    padding-top: 50px;
    margin-bottom: 0px;
}

.container-somos h4 {
    color: #8d278a;
    font-family: 'Quattrocento', sans-serif;
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 50px;
}

.container-somos span {
    color: #000000;
    font-family: 'Quattrocento', serif;
    font-size: 26px;
    font-weight: normal;
}

.container-somos hr {
    width: 350px;
    border: 1px solid #ababab;
}

.container-somos span {
    font-family: 'Quattrocento', sans-serif;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 30px;
}

.container-somos .content {
    display: flex;
    flex-wrap: wrap;
    padding: 50px 0;
    text-align: justify;
}

p em {
    vertical-align: super;
    font-size: smaller;
    font-style: normal;
}

.content h3 {
    font-size: 30px;
    font-weight: 100;
}


/* SOMOS CARISMA */

.cards {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin: 40px 0;
}

.card-pink:nth-of-type(1) {
    width: 35%;
}

.card-pink:nth-of-type(2) {
    width: 60%;
}

.card-pink {
    background-color: #fdcdf5;
    border-radius: 10px;
    padding: 40px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media (max-width: 820px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }
    .card-pink {
        width: 95% !important;
    }
}


/* SOMOS ESPIRITUALIDAD */

.card-gray {
    width: 100%;
    background-color: #f0f0f0;
    border-radius: 15px;
    padding: 40px;
    margin: 50px 0 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.card-gray div {
    text-align: justify;
}

.card-gray img {
    margin-right: 40px;
    max-width: 100%;
}

@media(max-width: 820px) {
    .card-gray {
        flex-direction: column;
        align-items: center;
    }
    .card-gray img {
        margin-right: 0;
        margin-bottom: 40px;
    }
}

@media(max-width: 560px) {
    .card-gray {
        padding: 20px;
    }
}


/* SOMOS MISION */

.content.mision ul {
    list-style: disc;
    padding-left: 20px;
}

.content.mision ul li::marker {
    color: #8d288a;
    font-size: 20px;
}


/* SOMOS HORIZONTE */

.horizonte ul {
    padding-left: 10px;
}

.horizonte ul li:before {
    content: "-";
    position: relative;
    left: -5px;
}

.horizonte ul li {
    text-indent: -8px;
    padding-bottom: 20px;
}

.horizonte .info {
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px black dashed;
}


/* SOMOS MODELOS */

.modelos {
    justify-content: space-between;
}

.modelos ul {
    list-style: disc;
    padding-left: 20px;
}

.modelos ul li::marker {
    color: #8d288a;
    font-size: 20px;
}

.modelos ul li {
    padding-bottom: 20px;
}

.modelos .card-gray:nth-of-type(3n),
.modelos .card-gray:nth-of-type(3n+1) {
    display: inline-flex;
    width: 47%;
}

@media (max-width: 1300px) {
    .modelos {
        justify-content: center;
    }
    .modelos .card-gray:nth-of-type(3n),
    .modelos .card-gray:nth-of-type(3n+1) {
        display: flex;
        width: 100%;
    }
}


/* SOMOS VIRTUDES */

.virtudes .destacado {
    font-size: 25px;
    color: #8d288a;
}

.virtudes .card-gray {
    cursor: pointer;
}

.virtudes .card-gray.show img,
.virtudes .card-gray.show br,
.virtudes .card-gray.show .contenido,
.virtudes .card-gray.show .destacado {
    display: block;
}

.virtudes .card-gray img,
.virtudes .card-gray br,
.virtudes .card-gray .contenido,
.virtudes .card-gray .destacado {
    display: none;
    transition: all .5s;
}


/* ESTAMOS  */

div#busqueda.card-pink {
    background-color: #ffb3fe;
    padding: 20px;
    margin: 0;
    width: 100% !important;
    position: relative;
    top: -25px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#busqueda .col-big {
    width: 28%
}

#busqueda .col-small {
    width: 18%
}

#busqueda select,
#busqueda button {
    border: 0;
    padding: 15px;
    font-family: 'Quattrocento Sans';
    font-size: 20px;
    width: 100%;
    cursor: pointer;
}

#busqueda select {
    background-color: white;
}

#busqueda .dropdown {
    position: relative;
    overflow: hidden;
}

#busqueda .dropdown .icon {
    position: absolute;
    top: -10px;
    right: 0px;
    padding: 0 10px;
    font-size: 45px;
    line-height: 1;
    transform: rotate(180deg);
    background-color: white;
}

#busqueda #search {
    background-color: #8d278a;
    color: white;
}

#busqueda #clear {
    background-color: #703273;
    color: white;
}

.container-somos.no-hr h4 {
    margin: 0;
}

.estamos {
    align-items: flex-start;
    justify-content: center;
}

.bandera {
    text-align: center;
    margin: 10px;
    padding: 10px 10px 5px 10px;
    width: 120px;
    border-radius: 7px;
    cursor: pointer;
}

@media (max-width: 1300px) {
    .bandera {
        width: 135px;
    }
}

.bandera.selected {
    background-color: #f0f0f0;
}

.bandera img {
    width: 100%;
    height: 75px;
}

#resultados {
    min-height: 450px;
    padding: 40px;
    border-radius: 20px;
    border: 3px dashed #b5b5b5;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
}

.result {
    display: none;
    background-color: #f0f0f0;
    border-radius: 7px;
    padding: 10px;
    width: 24%;
    margin: 10px 0.5%;
    word-break: break-word;
}

.result *,
.popmake-content * {
    font-family: 'Quattrocento Sans';
}

.result img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.result img.logo {
    object-fit: none;
}

.popmake-content img.logo,
.popmake-title {
    display: none;
}

.result h3,
.popmake-content h3 {
    text-align: center;
    color: #8d278a;
    margin: 10px auto;
}

.result a,
.popmake-content a {
    color: black;
}

.result.show {
    display: block;
}

.result.show>div {
    display: none;
}

div#message {
    color: grey;
    font-weight: 600;
    font-size: 20px;
    width: 100%;
    text-align: center;
    display: none;
    align-items: center;
    justify-content: center;
}

div#message.show-msg {
    display: flex;
}

@media (max-width: 992px) {
    #busqueda .col-big,
    #busqueda .col-small {
        width: 48%;
    }
    #busqueda .col-small {
        margin-top: 20px;
    }
    .result {
        width: 31%;
        margin: 5px 1%;
    }
}

@media (max-width: 820px) {
    .bandera {
        width: 105px;
        font-size: 12px;
    }
    .bandera img {
        height: 60px;
    }
    .result {
        width: 48%;
    }
}

@media (max-width: 560px) {
    .bandera {
        width: 20%;
        font-size: 10px;
        margin: 5px auto;
        padding: 5px 5px 2px 5px;
    }
    .bandera img {
        width: 60px;
        height: 37px;
    }
    #busqueda .col-big,
    #busqueda .col-small {
        width: 100%;
        margin-top: 10px;
    }
    #resultados {
        padding: 20px;
    }
    .result {
        width: 100%;
        margin: 5px 0;
    }
}

@media (max-width: 350px) {
    .bandera {
        width: 60px;
    }
    .bandera img {
        width: 100%;
        height: 35px;
    }
}


/* FUNDADORAS FECHAS */

.content.fechas {
    position: relative;
}

#procesoLines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.content.fechas .fecha {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 0;
    z-index: 1;
}

.fecha .dot {
    min-width: 20px;
    min-height: 20px;
    margin: 0 40px;
    border-radius: 100px;
    border: 2px solid #8d288a;
    background-color: white;
}

.fecha .date {
    min-width: 150px;
    text-align: right;
}

.fecha .contenido {
    margin: 0 20px;
}

@media (max-width: 560px) {
    .content.fechas .fecha {
        align-items: flex-start;
        padding: 10px 0;
    }
    .fecha .dot {
        min-width: 15px;
        min-height: 15px;
        margin: 0 2%;
    }
    .fecha .date {
        font-size: 12px;
        margin: 0;
        min-width: 75px;
    }
    .fecha .contenido {
        font-size: 12px;
        margin: 0;
    }
}


/* FUNDADORAS ORACION */

.content.oraciones {
    display: block;
}

.content.oraciones button {
    font-family: 'Quattrocento Sans';
    font-size: 20px;
    border: 0;
    background: transparent;
    margin: 40px auto;
    padding: 0 10px;
    border-left: 1px solid black;
    cursor: pointer;
}

.content.oraciones button.selected {
    color: #8d288a;
}

.content.oraciones button:first-of-type {
    border-left: 0;
    border-top: 0;
}

.prayer.card-gray {
    position: relative;
    align-items: center;
    display: none;
}

.prayer.card-gray.show {
    display: flex;
}

.prayer.card-gray .contenido {
    margin-top: 30px;
}

span.ico-language {
    margin: 0;
    position: absolute;
    top: 40px;
    right: 40px;
    background-color: #8d288a;
    color: white;
    padding: 2px 8px;
    width: 50px;
    text-align: center;
}

@media(max-width: 992px) {
    .prayer.card-gray {
        flex-direction: column;
    }
}

@media(max-width: 560px) {
    span.ico-language {
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 460px) {
    #language-buttons {
        margin-top: 30px;
    }
    .content.oraciones button {
        width: 100%;
        margin: 10px 0 0 0;
        padding: 10px 10px 0 10px;
        border-left: 0;
        border-top: 1px solid black;
    }
}


/* FUNDADORAS SECRETARIADO */

.secretariado .card-gray {
    align-items: center;
}

.secretariado .card-gray div {
    width: 100%;
}

.secretariado .card-gray h3 {
    font-size: 22px;
    font-weight: 100;
    margin: 20px 0;
}

@media(max-width: 560px) {
    .secretariado .card-gray h3 {
        font-size: 20px;
    }
}


/* FUNDADORAS FUNDADORA */

.content.fundadora * {
    font-family: 'Quattrocento Sans';
}

.img-contenido img {
    float: left;
    margin: 0 40px 20px 0;
}

@media(max-width: 680px) {
    .img-contenido img {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
        max-width: 100%;
    }
}


/* CATEGORIA NOTICIAS */

.cabecera-noticias {
    background-image: url('assets/images/cabecera-noticias.jpg');
}

#container-noticias {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: wrap;
}

#container-noticias article {
    width: 30%;
    margin: 50px 0;
    padding-bottom: 60px;
    position: relative;
}

#container-noticias article * {
    text-align: center;
}

#container-noticias article .post-image img {
    width: 200px;
    height: 200px;
    border-radius: 100%;
    object-fit: cover;
}

#container-noticias article .post-title h2 {
    text-transform: uppercase;
    font-size: 20px;
    padding-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#container-noticias article .post-title h2 a {
    color: black;
}

#container-noticias article .post-date {
    padding-top: 10px;
    color: #703273;
    font-family: 'Quattrocento Sans';
}

#container-noticias article .post-content {
    padding-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 115px;
}

#container-noticias article .post-content * {
    font-family: 'Quattrocento Sans';
}

#container-noticias article .post-button {
    font-family: 'Quattrocento Sans';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    background-color: purple;
    padding: 12px 45px;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    transition: all .3s;
}

#container-noticias article .post-button:hover {
    background-color: #703273;
}

#container-noticias h2.screen-reader-text,
#container-noticias svg.icon.icon-arrow-right,
#container-noticias svg.icon.icon-arrow-left,
#container-noticias span.meta-nav.screen-reader-text {
    display: none;
}

#container-noticias nav.navigation.pagination {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 50px;
}

#container-noticias .screen-reader-text,
#container-noticias .page-numbers,
#container-noticias .screen-reader-text *,
#container-noticias .page-numbers * {
    color: white !important;
    font-family: 'Quattrocento Sans' !important;
}

#container-noticias .screen-reader-text,
#container-noticias .page-numbers {
    background-color: #8d278a;
    font-size: 20px;
    padding: 10px;
}

#container-noticias .page-numbers {
    min-width: 44px !important;
    display: inline-block;
}

#container-noticias .screen-reader-text:hover,
#container-noticias .page-numbers:hover {
    background-color: #703273;
}

#container-noticias .page-numbers.current {
    background-color: #703273;
    cursor: pointer;
}

@media (max-width: 920px) {
    #container-noticias article {
        width: 45%;
    }
}

@media (max-width: 560px) {
    #container-noticias article {
        width: 100%;
    }
}


/* NOTICIA */

#single-noticia {
    padding-top: 50px;
    padding-bottom: 50px;
}

#single-noticia .post-image img {
    display: block;
    max-width: 100%;
    max-height: 400px;
    height: auto;
    width: auto;
    border-radius: 10px;
    margin: 0 auto;
}

#single-noticia .post-date {
    margin: 20px 0;
    color: #703273;
}

#single-noticia .post-title {
    color: #8d288a;
    font-weight: 100;
}

#single-noticia .post-content {
    margin-top: 30px;
}

#single-noticia .post-content * {
    font-family: 'Quattrocento Sans';
}

#single-noticia .card-gray {
    align-items: center;
}

#single-noticia .card-gray div {
    width: 100%;
    margin-left: 40px;
}

#single-noticia .card-gray h3 {
    font-size: 22px;
    font-weight: 100;
    margin: 20px 0;
}

#single-noticia .img-galeria-noticia {
    width: 155px;
    height: 155px;
    object-fit: cover;
    border-radius: 5px;
    margin: 1%;
}

@media(max-width: 560px) {
    #single-noticia .card-gray h3 {
        font-size: 20px;
    }
    #single-noticia .card-gray div {
        margin-left: auto;
        margin-right: auto;
        padding: 0 2%;
    }
}


/* RECURSOS */

.recursos .categorias {
    width: 100%;
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.recursos .categorias .categoria {
    width: 23%;
}

.recursos .categorias .categoria img {
    border-radius: 5px;
    width: 100%;
}

.recursos .categorias .categoria div {
    width: 100%;
    margin: 10px auto;
    text-transform: uppercase;
    text-align: center;
    color: black;
}

@media(max-width: 820px) {
    .recursos .categorias .categoria {
        width: 48%;
    }
}

@media(max-width: 560px) {
    .recursos .categorias .categoria {
        width: 100%;
    }
}


/* RECURSO: ORAR, REFLEXIONAR, LEER, VER */

.recurso-hijo h2 {
    text-transform: uppercase;
}

.recurso-hijo .recurso {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 0;
    width: 100%;
}

.recurso-hijo .recurso div {
    margin-left: 20px;
}

.recurso-hijo .recurso h4 {
    width: fit-content;
    margin-bottom: 20px;
}

.recurso-hijo .recurso h4 a {
    color: black;
}

.recurso-hijo .recurso img {
    border-radius: 5px;
    width: 360px;
    max-width: 100%;
}

@media(max-width: 680px) {
    .recurso-hijo .recurso {
        flex-direction: column;
    }
    .recurso-hijo .recurso div {
        margin-left: 0;
        margin-top: 20px;
    }
}


/* CONTACTO */

.contacto {
    margin: 70px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.contacto>div {
    width: 50%;
}

.contacto iframe {
    width: 100%;
    border-radius: 10px;
    border: 2px solid darkgrey;
}

div#wpcf7-f9-o1 {
    margin-left: 50px;
}

div#inputs-container {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contacto input,
.contacto textarea {
    width: 100%;
    resize: none;
    background-color: #fafafa;
    border: 1px solid #dedddc;
    border-radius: 5px;
    padding: 10px;
}

.contacto span.wpcf7-form-control-wrap {
    width: 49%;
    margin-bottom: 10px;
}

.contacto input.wpcf7-form-control.wpcf7-submit {
    border: 0;
    background-color: #8d288a;
    color: white;
    border-radius: 0;
    width: min-content;
    padding: 15px 25px;
    margin-left: auto;
    display: block;
    font-family: 'Quattrocento Sans';
    font-size: 20px;
    cursor: pointer;
}

div.wpcf7 .ajax-loader {
    display: none;
}

span.wpcf7-not-valid-tip {
    color: red;
    font-size: small;
    font-family: 'Quattrocento Sans';
    margin-bottom: -3px;
    margin-top: 5px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output {
    border-color: red;
    font-family: 'Quattrocento Sans';
    font-size: small;
    color: red;
    margin: 0;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: #46b450;
}

@media(max-width: 820px) {
    .contacto {
        flex-direction: column-reverse;
        align-items: center;
    }
    div#wpcf7-f9-o1 {
        margin-left: 0;
    }
    .contacto>div {
        width: 100%;
        margin-bottom: 40px;
    }
}

@media(max-width: 560px) {
    .contacto span.wpcf7-form-control-wrap {
        width: 100%;
        margin-bottom: 10px;
    }
    .contacto input.wpcf7-form-control.wpcf7-submit {
        margin: 0 auto;
    }
}


/* GALERIA */

.galerias {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
}

.galerias .galeria {
    width: 24%;
    margin-top: 30px;
    text-align: center;
    text-transform: uppercase;
}

.galerias .galeria img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 5px;
}

.galerias .galeria a {
    color: black;
}

@media(max-width: 920px) {
    .galerias .galeria {
        width: 48%;
    }
    .galerias .galeria img {
        height: 200px;
    }
}

@media(max-width: 560px) {
    .galerias .galeria {
        width: 100%;
    }
    .galerias .galeria img {
        height: auto;
    }
}


/* ERROR */

div#error-page {
    height: calc(100vh - 284px);
}

#error-page .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    height: 100%;
}

@media(max-width: 1145px) {
    div#error-page {
        height: calc(100vh - 337px);
    }
}

@media(max-width: 820px) {
    div#error-page {
        height: auto;
        min-height: calc(100vh - 510px);
    }
}


/* TEXTOS LEGALES */

.legal-text *,
.container-somos.legal-text span {
    font-family: 'Quattrocento Sans';
}

.legal-text table {
    border-radius: 15px;
    border-collapse: collapse;
    overflow: auto hidden;
    text-align: left;
    width: 100%;
    display: block;
}

.legal-text th,
.legal-text td {
    padding: 10px;
}

.legal-text tr th {
    background-color: #8d288a;
    color: white;
    border-left: 1px solid white;
    border-top: 1px solid white;
}

.legal-text tr th:first-of-type {
    border-left: 0;
}

.legal-text table tr:nth-of-type(2n) td:nth-of-type(2n) {
    background-color: #ababab;
}

.legal-text table tr:nth-of-type(2n) td:nth-of-type(2n+1) {
    background-color: #b6b5b5;
}

.legal-text table tr:nth-of-type(2n+1) td:nth-of-type(2n) {
    background-color: lightgray;
}

.legal-text table tr:nth-of-type(2n+1) td:nth-of-type(2n+1) {
    background-color: #e5e5e5;
}


/*FOOTER*/

.footer {
    background-position: 75% 100%;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 80px;
    padding-bottom: 20px;
}

.materiales {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 50px;
    margin-bottom: 30px;
}

.material {
    width: 150px;
    margin: 10px;
    overflow: hidden;
    text-align: center;
}

.material>a {
    display: flex;
    flex-direction: column;
    color: inherit;
}

.material img {
    width: 80%;
    margin: 10px auto;
}

.footer h2 {
    color: #000000;
    font-family: 'Quattrocento', serif;
    font-size: 34px;
    padding: 30px 5px 5px 5px;
    text-align: center;
}

.footer hr {
    width: 60px;
    border-color: black;
    border-width: 2px;
    margin-bottom: 20px;
}

.footer .full-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer .full-container>div {
    display: flex;
    align-items: center;
}

.footer .full-container>div:nth-of-type(2) {
    margin-left: auto;
}

.menu-menu-pie-container ul {
    display: flex;
}

.footer span,
.menu-menu-pie-container ul li a {
    font-family: 'Quattrocento Sans';
    font-size: 20px;
    padding: 0 10px;
    color: black;
}

.menu-menu-pie-container ul li a {
    text-transform: uppercase;
    border-left: 1px solid black;
}

.menu-menu-pie-container ul li:first-of-type a {
    border: 0;
}

@media (max-width: 820px) {
    .footer {
        padding: 0;
    }
    .footer .full-container,
    .footer .full-container>div {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding-top: 20px;
    }
    .footer .full-container>div:nth-of-type(2) {
        margin-left: initial;
    }
    .footer .full-container>div>* {
        padding: 10px 10px 40px 10px;
    }
}

@media (max-width: 350px) {
    #menu-menu-pie {
        flex-direction: column;
    }
    #menu-menu-pie li {
        border-top: 1px solid black;
        display: flex;
        justify-content: center;
    }
    #menu-menu-pie li:first-of-type {
        border-top: 0;
    }
    #menu-menu-pie li a {
        border-left: 0;
        padding: 10px;
    }
}

.cookieconsent-optout-marketing {display: none !important;}
.pagination-container{
	width:100%;
    text-align:center;
}
.page-id-4508 #container-noticias article .post-content {
     max-height: 180px;
}