/*

 Theme Name:   GeneratePress Child

 Theme URI:    https://generatepress.com

 Description:  Default GeneratePress child theme

 Author:       Tom Usborne

 Author URI:   https://tomusborne.com

 Template:     generatepress

 Version:      0.1

*/

/* FUENTE */
@import url('https://fonts.googleapis.com/css2?family=Handlee&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {

    --f-primaria: 'Handlee', serif;
    --f-secundaria: 'Montserrat', sans-serif;

}


/* TÍTULOS Y TEXTOS */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-primaria);
    line-height: 1.25em;
}

body {
    font-family: var(--f-secundaria);
    line-height: 1.5em;

    p {
        margin-bottom: 20px;

        &:last-child {
            margin-bottom: 0;
        }
    }
}

.tipo-titulos {
    p, span, ul, ol, li {
        font-family: var(--f-primaria);
    }
}

.site-branding {
    .main-title {
        font-family: var(--f-primaria);
        font-weight: 600;
    }
}

/* LISTAS */
.lista {
    ul {
        list-style: none;
        margin: 0 0 0 25px;

        li {
            position: relative;
            margin-bottom: 10px;

            &::before {
                content: "";
                position: absolute;
                background-color: var(--e-global-color-c7a9e08);
                width: 10px;
                height: 10px;
                top: 7px;
                left: -20px;
                border-radius: 20px;
            }
        }
    }
}


/* MENÚ */
.main-nav {
    .menu-item {
        a {
            font-weight: 600;
        }
    }
}

.main-navigation .menu-toggle {
    color: #fff !important;
}

/* FOOTER */
.site-footer {
    background-color: black;
    position: relative;
    z-index: 1;
    
    &::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        inset: 0;
        margin: auto;
        background-color: #5c8cbd;
        z-index: 0;
    }
    
    & > div,
    & > footer {
        position: relative;
        z-index: 1;
    }
}

.footer-widgets-container.grid-container {
    position: relative;
}
.footer-widgets-container.grid-container {
    padding-top: 5% !important;
}

/* FORMULARIO */
.form-contacto {
    input:not([type="submit"]) {
        width: 100%;
    }
    
    textarea {
        width: 100%;
        max-height: 125px;
    }
}

/* TABLA COOKIES MV */
@media screen and (max-width: 768px) {
    .tabla-cookies {
        overflow-x: scroll;
    }
}

