
/**
 * Base CSS
 */

 :root {
    --text-color: #212529;
    --light-text-color: #ffffff;
    --main-bg-color: #ffffff;
    --second-bg-color: #f6f6f5;
    --third-bg-color: #144005;
    --links-color: #0f0397;
    --links-hover: #cb5937;
    --hover-color: rgb(255, 240, 10);
    --headers-font: "Work Sans", sans-serif;
    --regular-font: "Source Serif 4", serif;
    --light-font-weight: 200;
    --bold-font-weight: 800;
    --text-line-height: 1.5rem;
    --progress-bar-color: #66cc00;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--regular-font);
    line-height: var(--text-line-height);
    background-color: var(--main-bg-color);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.d-none {
    display: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--headers-font);
    font-weight: var(--bold-font-weight);
}

.pointer {
    cursor: pointer;
}

.full-width {
    width: 100%;
}

figure {
    margin-inline-start: 0;
    margin-inline-end: 0;
    max-width: 100%;
}

figure img {
    max-width: 100%;
}

figcaption {
    font-size: 0.875rem;
    color: var(--text-color);
}

/* ACESSIBILITY */

@media (prefers-contrast: more) {

    :root {
        --text-color: #000000;
        --second-bg-color: #fcfcfc;
        --third-bg-color: #0b2402;
        --links-color: #08015a;
        --links-hover: #4e2113;
        
    }

    a {
        text-decoration: underline;
    }

    .modal-bt-row .popup-no {
        background: none;
        border: 1px solid var(--text-color);
    }

}

@media (forced-colors: active) {
    footer, footer a {
        color: var(--text-color);
    }
}

/* PRINT */

@media print {
    .topmenu, footer {
        display: none;
    }
}


/* MENU BAR */

.topmenu ul {
    margin: 0;
    padding: 0;
}

.topmenu {
    padding: 0 15px;
}

.topmenu a {
    color: var(--light-text-color);
    text-decoration: none;
}

.menu,
.submenu {
    list-style-type: none;
}

.submenu {
    position: absolute;
    background-color: var(--second-bg-color);
    left: 40%
}

.logo {
    font-size: 1.5rem;
    padding: 10px 10px 10px 0;
}

.item {
    padding: 10px;
}

.item a:hover,
.item a:hover::after {
    color: var(--hover-color);
}

/* Mobile */

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

.menu li a {
    display: block;
    padding: 10px 5px;
}

.menu li.subitem a {
    padding: 15px;
}

.toggle {
    order: 1;
    font-size: 1.5rem;
}

.item {
    order: 3;
    width: 100%;
    text-align: center;
    display: none;
}

.active .item {
    display: block;
}

.has-submenu>a::after {
    font-family: "Font Awesome 5 Free";
    font-size: .8rem;
    line-height: .8rem;
    font-weight: 900;
    content: "\f078";
    color: white;
    padding-left: .7rem;
}

.subitem a {
    padding: 10px 15px;
}

/* Tablet */

@media all and (min-width: 700px) {
    .menu {
        justify-content: center;
    }

    .logo {
        flex: 1;
    }

    .toggle {
        flex: 1;
        text-align: right;
        order: 2;
    }

}

/* Desktop */

@media all and (min-width: 960px) {
    .menu {
        align-items: flex-start;
        flex-wrap: nowrap;
        background: none;
    }

    .logo {
        order: 0;
    }

    .item {
        order: 1;
        position: relative;
        display: block;
        width: auto;
    }

    .toggle {
        display: none;
    }
}

/* FONT-FACE */

@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(../../fonts/icons.woff2) format("woff2");
}

.fa,
.fas {
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
}

.fa-bars::before {
    content: "\f0c9";
}

.fa-times::before {
    content: "\f00d";
}

/**
 * Cookies CSS
 */

:root {
    --button-yes-color: #ffe100;
    --button-yes-color-hover: #fff081;
    --button-no-color: #e9e9e9;
    --button-no-color-hover: #f3f3f3;
}

.modal {
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-visible-overflow {
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;

}

.modal-inside {
    background-color: rgba(255, 255, 255, 1);
    width: 80%;
    text-align: left;
    padding: 1rem 1.5rem 1rem 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .7);
    margin: auto;
    border-radius: .25rem;
    border: 1px solid #000;
}

.modal-inside a {
    color: var(--links-color);
    font-weight: 700;
    text-decoration: underline;
}

.modal-inside label {
    font-weight: var(--bold-font-weight);
}

.modal-bt-row {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0 1.5rem 0;
    gap: 0.5rem;
}

.modal-bt-row button {
    padding: .75rem;
    border: none;
    border-radius: 0.5rem;
    color: var(--second-color);
    padding: 10px 20px 10px 20px;
    font-family: var(--headers-font);
    font-size: 1.1rem;
    cursor: pointer;
}

.cookies-yes {
    background-color: var(--button-yes-color);
}

.cookies-yes:hover {
    background-color: var(--button-yes-color-hover);
}

.cookies-no {
    background-color: var(--button-no-color);
}

.cookies-no:hover {
    background-color: var(--button-no-color-hover);
}

@media (min-width: 480px) {
    .modal-inside {
        max-width: 450px;
    }
}


/**
 * CSS Grid
 */




/**
 * Footer
 */

footer {
    margin-top: 2rem;
    color: var(--light-text-color);
    padding-bottom: 0.5rem;
}

footer a {
    color: var(--light-text-color);
    text-decoration: none;
}

footer a:hover {
    color: var(--light-text-color) ;
}

footer ul {
    padding-left: 0;
}

footer li {
    list-style-type: none;
}

.footer-logo {
    text-align: center;
    padding-top: 1rem;
}

.footer-logo a {
    display: block;
    padding: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
}

.footer-links a {
    padding: 8px 15px;
    display: block;
}

@media screen and (min-width: 700px) {
    .footer-links {
        flex-direction: row;
    }

    .footer-links a {
        padding: 10px 20px;
    }
}

/**
 * Form
 */

:root {
    --button-thank-you-background: #ffe100;
}

#signup {
    max-width: 100%;
}

.error-message {
    color: red;
    margin-left: 1rem;
}

input {
    background-color: var(--second-color);
    border: 1px solid #ced4da;
    padding: .5rem 1rem;
    font-family: var(--regular-font);
    font-size: 1rem;
    border-radius: 8px;
}

input[type=text],
input[type=email],
input[type=tel] {
    box-sizing: border-box;
    width: 100%;
}

.form-group {
    margin-bottom: 10px;
}

.privacynotice {
    font-size: 85%;
}

.privacycontainer {
    margin-bottom: 1rem;
}

/* BLOCK */

.margenes {
    margin: 1rem;
}

@media screen and (min-width: 1080px) {
    input {
        padding: .7rem 1.2rem;
        font-size: 1.2rem;
        border-radius: 8px;
    }
}

/**
 * Thank you pages
 */

#thankspages {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pantalla_centrada {
    text-align: center;
    max-width: 500px;
    padding: 8px;
}

.rowbuttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#thankyoupage .colored-button:nth-child(3) {
    margin-right: 7px;
}

#thankyoupage .colored-button:nth-child(4) {
    margin-left: 7px;
}

.thankyoubuttons {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.thankyoubuttons a {
    padding: 15px;
}

a.colored-button {
    margin: 10px 0;
    background-color: var(--button-thank-you-background);
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
}

button.colored-button {
    background-color: var(--button-thank-you-background);
    padding: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/**
 * GUTENBERG DEFAULT BLOCKS
 */

/* Colors */

.has-black-color {
    color: #000000 !important;
}

.has-white-color {
    color: #ffffff !important;
}

.has-green-color {
    color: #2ab20b !important;
}

.has-greenpeace-color {
    color: #66cc00 !important;
}

.has-darkgreen-color {
    color: #164706 !important;
}

.has-orange-color {
    color: #ff541c !important;
}

.has-lightgray-color {
    color: #f6f6f5 !important;
}

.has-darkgray-color {
    color: #868b86 !important;
}

.has-lightblue-color{
    color: #48B9E5 !important;
}

.has-lightyellow-color {
    color: #fdf6b2 !important;
}

.has-lightpink-color {
    color: #ffc4a7 !important;
}

.has-lighgreen-color {
    color: #7abd94 !important;
}

/* Background colors */

.has-black-background-color {
    background-color: #000000 !important;
}

.has-white-background-color {
    background-color: #ffffff !important;
}

.has-green-background-color {
    background-color: #2ab20b !important;
}

.has-greenpeace-background-color {
    background-color: #66cc00 !important;
}

.has-darkgreen-background-color {
    background-color: #164706 !important;
}

.has-orange-background-color {
    background-color: #ff541c !important;
}

.has-lightgray-background-color {
    background-color: #f6f6f5 !important;
}

.has-darkgray-background-color {
    background-color: #868b86 !important;
}

.has-lightblue-background-color {
    background-color: #48B9E5 !important;
}

.has-lightyellow-background-color {
    background-color: #fdf6b2 !important;
}

.has-lightpink-background-color {
    background-color: #ffc4a7 !important;
}

.has-lighgreen-background-color {
    background-color: #7abd94 !important;
}

/* Table */

.wp-block-table th, .wp-block-table td {
    padding: .35rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.wp-block-table tfoot {
    font-size: smaller;
}

/* Youtube */

.wp-block-lazyblock-youtube {
    margin-bottom: 16px;
}

hr.is-style-wide {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.1);
}

hr.is-style-default {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.1);
    width:33%;
}

/* Video loop */

.loop-video-container {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    margin-top: 1em;
    margin-bottom: 1em;
}

.loop-video-container video {
    max-width: 100%;
}

/* Twitter */

.wp-block-lazyblock-twitter-embed {
    margin: 2rem 0 2rem;
}

/* Foto Smugmug */

.wp-block-lazyblock-smugmug-foto {
    margin-bottom: 1rem;
}

/* Infobox */

.wp-block-lazyblock-infobox {
    margin-bottom: 1rem;
}

/* Gallery bottom */
body .gp-gallery-columns {
    margin-bottom: 0.75em;
}

/**
 * Fonts
 */

/* latin-ext */
@font-face {
    font-family: 'Source Serif 4';
    font-style: italic;
    font-weight: 200 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/sourceserif4/v8/vEFK2_tTDB4M7-auWDN0ahZJW1gewtu_WpzEpMvsfA.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Source Serif 4';
    font-style: italic;
    font-weight: 200 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/sourceserif4/v8/vEFK2_tTDB4M7-auWDN0ahZJW1gewtW_WpzEpMs.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/sourceserif4/v8/vEFI2_tTDB4M7-auWDN0ahZJW1gV8te1Xb7GlMo.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/sourceserif4/v8/vEFI2_tTDB4M7-auWDN0ahZJW1gb8te1Xb7G.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Work Sans';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/worksans/v19/QGYqz_wNahGAdqQ43Rh_eZDlv_1i4_D2E4A.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Work Sans';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/worksans/v19/QGYqz_wNahGAdqQ43Rh_eZDrv_1i4_D2.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/worksans/v19/QGYsz_wNahGAdqQ43Rh_cqDptfpA4cD3.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/worksans/v19/QGYsz_wNahGAdqQ43Rh_fKDptfpA4Q.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}