/*
Theme Name: AMM Theme
Theme URI: https://antoniomuñozmolina.es
Author: esther solà
Author URI: https://esthersola.com
Description: Theme personalizado para AMM
Requires at least: 6.1
Tested up to: 6.1
Requires PHP: 5.6
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: ammtheme
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news
*/

/* @font-face {
    font-family: "GillSans";
    src:  
      url("/assets/fonts/gill-sans/GillSansMTPro-Book.woff") 
      format("woff");
    font-weight:normal;
    font-style: normal;
}

@font-face {
    font-family: "GillSans";
    src: 
      url("/assets/fonts/gill-sans/GillSansMTPro-Bold.woff") 
      format("woff");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "GillSans";
    src: 
      url("/assets/fonts/gill-sans/GillSansMTPro-BookItalic.woff") 
      format("woff");
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "GillSans";
    src: 
      url("/assets/fonts/gill-sans/GillSansMTPro-Light.woff") 
      format("ttf");
    font-weight: lighter;
    font-style: normal;
} */


body {
    font-family: "GillSans" !important;
}
.home figure.wp-block-image.alignright.size-full {
    float: right;
}

.home .separador {
    display: none !important;
}
.home .wp-block-button__link, .is-style-button-leermas .wp-block-button__link, .home .wp-block-post-excerpt__more-link {
    background-image: url(http://xn--antoniomuozmolina-nxb.es/wp-content/themes/amm-theme/assets/img/borde.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent !important;
    min-height: 55px;
    min-width: 144px;
    text-align: left !important;
    margin: 5px 0 0px 5px;
    font-size: 15px !important;
    text-transform: uppercase;
}

.home .wp-block-post-excerpt__more-link { 
    color: #fff;
    text-decoration: none;
    padding-left: 20px;
    display: block;
    padding-top: 10px;
    min-height: 38px;
 }

 .home .wp-block-button__link:visited {
    color: #fff;
 }

 .home p.wp-block-post-excerpt__excerpt {
    line-height: 1.4;
    margin-bottom: 30px;
    font-size: 17px !important;
}


.col-1, .col-2, .col-3 {
    position: relative;
    margin-bottom: 40px !important;
}


.col-1:after {
    display: block;
    background: url(http://xn--antoniomuozmolina-nxb.es/wp-content/themes/amm-theme/assets/img/col-bottom-1.svg);
    content: '';
    /* width: 120%;
    height: 65px;
    margin-bottom: -64px; 
    background-size: 100%;
    background-repeat: no-repeat;
    margin-left: -32px; */
    width: 100%;
    height: 65px; 
    background-size: 100%;
    background-repeat: no-repeat;
    left: 0;
    background-position: bottom center;
    position: absolute; 
    bottom: -20px;
}



.col-2:after { 
        display: block;
        background: url(http://xn--antoniomuozmolina-nxb.es/wp-content/themes/amm-theme/assets/img/col-bottom-2.svg);
        content: '';
        width: 100%;
        height: 65px; 
        background-size: 100%;
        background-repeat: no-repeat;
        left: 0;
        background-position: bottom center;
        position: absolute; 
        bottom: -20px;

}

.col-3:after { 
    display: block;
    background: url(http://xn--antoniomuozmolina-nxb.es/wp-content/themes/amm-theme/assets/img/col-bottom-3.svg);
    content: '';
    width: 100%;
    height: 65px; 
    background-size: 100%;
    background-repeat: no-repeat;
    left: 0;
    background-position: bottom center;
    position: absolute; 
    bottom: -20px;

}

@media only screen and (max-width: 600px) {

    .col-1:after, .col-2:after, .col-3:after { 
        bottom: -30px;

    }

}

/* GENERAL */





h1.wp-block-post-title:after, h1.titular:after {
    content: ''; 
    background: url(http://xn--antoniomuozmolina-nxb.es/wp-content/themes/amm-theme/assets/img/linea.svg);
    height: 40px;
    display: block; 
    background-repeat: no-repeat; 
}

.sidebar {
    background: #f3f3f2;
    padding: 40px 20px !important;
    max-width: 330px;
}

.sidebar .wp-block-search {
    margin-bottom: 50px;
}

.wp-block-search__inside-wrapper {
    border: none;
}

.wp-block-search__button.has-icon {
    padding: 3px;
}

.sidebar h5:after {
    content: ''; 
    background: url(http://xn--antoniomuozmolina-nxb.es/wp-content/themes/amm-theme/assets/img/linea.svg);
    height: 20px;
    display: block; 
    background-repeat: no-repeat; 
}

.sidebar .wp-block-latest-posts.wp-block-latest-posts__list, .wp-block-categories, .sidebar .wp-block-latest-comments {
    margin-top: 0px;
}

.sidebar  .wp-block-categories {
    margin-block-start: 0 !important;
}


/* .wp-block-categories-list .cat-item-51, .wp-block-categories-list .cat-item-53 {
    display: none;
} */

li.wp-block-navigation-item.comprar.wp-block-navigation-link:after {
    content: '';
    background: url(http://xn--antoniomuozmolina-nxb.es/wp-content/themes/amm-theme/assets/img/comprar.svg);
    height: 26px;
    display: block;
    background-repeat: no-repeat;
    width: 40px;
    margin-left: 6px;
}



ul.listado, .is-style-lista-articulos {
    list-style: none;
    padding-left: 10px;
    font-family: "Gill Sans", sans-serif;
}

.listado li {
    margin-bottom: 20px;
}

ul.listado li:before, .is-style-lista-articulos li:before {
    content:'';
    background: url(http://xn--antoniomuozmolina-nxb.es/wp-content/themes/amm-theme/assets/img/flecha.svg);
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 11px;
    background-repeat: no-repeat;
}

.enlace-ext:after {
    content:'';
    background: url(http://xn--antoniomuozmolina-nxb.es/wp-content/themes/amm-theme/assets/img/flecha.svg);
    width: 20px;
    height: 20px;
    display: inline-block; 
    background-repeat: no-repeat;
}


h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.has-background, h6.has-background {
    padding: 0.2em 1.275em !important;
}

/* BLOQUES ESPECIFICOS */

.single-post .wp-block-post-featured-image img {

    max-width: 250px;
    float: left;
    margin-right: 20px;
}

.libro.wp-block-post span {
    display: block;
    font-size: 14px;
}

.c-accordion__title {
    border-bottom: solid 2px#A0947D; 
    padding: 5px 120px 5px 20px;
}

.c-accordion__title:hover {
    background: #A0947D;
    color: #fff;
}

.wp-block-media-text.traduccion {
    border-left: solid 5px var(--wp--preset--color--tertiary);
    background: #f6f3ec;
}

.biblio.wp-block-columns .wp-block-column, .biblio li {
    box-shadow: 0 30px 40px rgb(39 39 39 / 15%);
}

.biblio h5.wp-block-post-title {
    margin-bottom: 3px;
}

.taxonomy-tipo a {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.is-style-button-comprar a.wp-block-button__link.wp-element-button, .enlaces .wp-block-button__link {
    background: transparent;
    border: solid 2px var(--wp--preset--color--contrast);
    color: var(--wp--preset--color--contrast);
    padding-right: 3px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.is-style-button-comprar .wp-block-button__link:after {
    content: '';
    background: url(http://xn--antoniomuozmolina-nxb.es/wp-content/themes/amm-theme/assets/img/comprar.svg);
    height: 24px;
    display: inline-block;
    background-repeat: no-repeat;
    width: 40px;
    margin-left: 7px;
    color: #fff;
    vertical-align: middle;
    margin-bottom: 8px;
}

.is-style-button-comprar a.wp-block-button__link.wp-element-button:hover, .enlaces .wp-block-button__link:hover {

    background-color: var(--wp--preset--color--primary) !important;
    color: #fff !important;
    border-color: var(--wp--preset--color--primary) !important;
}

.is-style-button-comprar .wp-block-button__link:hover:after {
    background-image: none;
}

.imagen-libro img {
    max-width: 450px !important;
}

.enlaces .wp-block-buttons {
    display: inline-block;
    margin-right: 10px;
}

.enlaces .wp-block-button.is-style-outline>.wp-block-button__link, .enlaces .wp-block-button .wp-block-button__link.is-style-outline {
    border: 2px solid;
    padding: 0.667em 1.333em;
    background: transparent;
}

.wp-block-categories { 
    list-style: none;
    padding-left: 0;
}

.wp-block-query-pagination-next, .wp-block-query-pagination-previous {
    text-transform: uppercase;
}

/* FORMULARIO */

input.wpcf7-form-control, textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 12px;
    margin: 6px 0 4px;
    border: 1px solid #ccc;
    background: #fafafa;
    color: #000;
    font-family: sans-serif;
    font-size: 12px;
    line-height: normal;
    box-sizing: border-box;
    border-radius: 2px;
}

input.wpcf7-form-control.wpcf7-submit {

    width: auto;
    height: auto;
    padding: 1em 2.5em;
    border-width: 0;
    text-align: center;
    cursor: pointer;
    outline: none;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    font-family: "GillSans";
    margin: 40px auto;
    display: block;
    font-size: 16px;
    letter-spacing: 1px;
}

 
/* FOOTER */

footer a:where(:not(.wp-element-button)) {
    font-family: "Roboto Mono", serif !important;
}

footer ul.wp-block-navigation__container {
    gap: 10px;
}

/* 



.cronologia .wp-block-post {
    font-size: 16px;
    font-size: 1rem;
    padding: 0.625rem 2.5rem 0.625rem 0;
    position: relative;
    width: 50%;
    z-index: 2;
} */

.timeline .block-library-html__edit {
    display: none;
}

/* EVENTOS */

.tribe-events-header--has-event-search:before {
    content: 'Agenda';
    font-family: 'Cabin';
    margin-top: -100px;
    margin-bottom: 40px;
    font-size: 3.625rem;
    line-height: 1.2;
}

.tribe-common .tribe-common-h3, .tribe-events .tribe-events-c-view-selector__list-item-text, 
.tribe-common .tribe-common-h7, .tribe-common .tribe-common-h8,
.tribe-common--breakpoint-medium.tribe-common .tribe-common-form-control-text__input, .tribe-common .tribe-common-form-control-text__input,
.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn {
    font-family: 'Cabin' !important;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown, .tribe-events .tribe-events-c-subscribe-dropdown {
    margin: 5px 0;
}

.tribe-block__events-link {
    font-family: Cabin;
    padding: 10px 0;
    margin-block-start: 10px !important;
}

.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border {

    color: var(--wp--preset--color--primary) !important;
    font-family: Cabin!important;
    border: 1px solid var(--wp--preset--color--primary)!important;

}

.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
    background-color:  var(--wp--preset--color--primary)!important;
    color: #fff !important;
    border: none!important;
}

@media screen and (min-width: 768px) {
    .tribe-block__venue { 
        padding: 10px 0;
    }
}

@media only screen and (max-width: 600px) {

    .single-libro .is-layout-flex {
     /*   flex-wrap: wrap-reverse !important;*/
    
        justify-content: center;
        align-items: center !important;
    }

    .filaLibro {
        flex-direction: column;
    }

    .blog .is-layout-flex , .single-post .is-layout-flex {
        flex-wrap: wrap!important;
        justify-content: center;
        align-items: center !important;
    }

}