/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

p, h1, h2, h3, h4, h5, h6, span {
    text-wrap: balance !important;
    margin-block-end: 1lh;
}
p:last-child, 
h1:last-child, 
h2:last-child, 
h3:last-child, 
h4:last-child, 
h5:last-child, 
h6:last-child, 
span:last-child {
    margin-block-end: 0;
}

/* CSS CABECERA */
body.desactivar-scroll {
    margin: 0;
    height: 100%;
    overflow: hidden;
}

#site-header {
    padding: 15px;
}

#site-header .site-logo>a {
    line-height: 0;
}

#site-header .site-navigation ul.menu>li.menu-item:last-child>a {
    padding-right: 0;
}

body.menu-fixed-al-subir #site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    z-index: 99;
    transition: all 0.3s ease;
}

body.menu-fixed-al-subir.admin-bar #site-header {
    top: 32px;
}

#cerrar-menu-closa>div>i.eicon-menu-bar:before {
    content: "\e87f";
    font-size: 25px;
}

body.menu-fixed-al-subir #site-header .site-logo img {
    width: 100%;
    height: 50px;
}

body.menu-fixed-al-subir>div.elementor {
    padding-top: 100px;
}

.site-navigation-dropdown {
    position: fixed;
    margin-block-start: 0px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    background-color: rgb(0 0 0 / 30%);
    transition: none;
}

.site-navigation-dropdown>div {
    background-color: #ffffff;
    width: 75%;
    left: -75%;
    position: relative;
    transition: left 0.5s ease-in-out;
}

.site-navigation-toggle-holder.elementor-active+.site-navigation-dropdown>div {
    left: 0;
}

.site-navigation-dropdown .site-logo>a {
    display: block;
    line-height: 0;
}

.site-navigation-dropdown ul.menu {
    position: static;
    display: block;
    overflow-y: scroll;
    height: calc(100vh - 75px);
}

.site-navigation-dropdown .menu-menu-principal-container {
    height: 100%;
}

.site-navigation-dropdown .cabecera-menu-desplegado {
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.site-navigation-toggle-holder .site-navigation-toggle {
    background-color: transparent;
}

.eicon-menu-bar:before {
    font-size: 25px;
}

.site-navigation-dropdown ul.menu li.menu-item-has-children>span {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    width: 15%;
    max-height: 64px;
}

#site-header nav:not(.site-navigation-dropdown) ul.menu li.menu-item-has-children>span {
    display: none;
}

.site-navigation-dropdown ul.menu li.menu-item-has-children>span:after {
    display: block;
    content: "▾";
    font-size: 1.5em;
}

.site-navigation-dropdown ul.menu li.menu-item-has-children.elementor-active>span:after {
    content: "▴";
}

/* FIN CSS CABECERA */

/* CSS PIE */

.footer-top-columns>div {
    width: 100%;
}

.site-footer:not(.footer-stacked) .footer-inner .copyright {
    max-width: initial;
    width: 100%;
}

.site-footer:not(.footer-stacked) .footer-inner .copyright p {
    text-align: center;
    display: block;
    width: 100%;
}

footer#site-footer {
    padding: 5px 0;
}

.site-footer .footer-inner.footer-top-columns {
    flex-wrap: nowrap;
}

@media (max-width: 1000px) {
    .site-footer .footer-inner.footer-top-columns {
        flex-wrap: wrap;
    }

    .footer-top-columns>div {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .footer-top-columns>div {
        width: 100%;
    }
}

/* FIN CSS PIE */

/* FORMULARIO CONJUNTO */

.invalid .wpcf7-response-output,
.unaccepted .wpcf7-response-output,
.spam .wpcf7-response-output {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
}

span.wpcf7-not-valid-tip {
    color: #dc3232 !important;
    font-size: 11px;
}

.wpcf7-response-output {
    font-size: 12px;
    line-height: 1.5rem !important;
}

.sent .wpcf7-response-output {
    color: #155724 !important;
    background-color: #d4edda !important;
    border: 1px solid #c3e6cb !important;
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
}

.fila-dos-columnas>p {
    display: flex;
    flex-wrap: wrap;
}

.wpcf7-form div.fila-dos-columnas>p>label {
    width: calc(50% - 15px);
}

.wpcf7-form div>p>label {
    width: 100%;
}

.wpcf7-list-item-label a:hover {
    text-decoration: underline;
}

.submitting .wpcf7-spinner {
    display: inline-block;
}

.wpcf7-spinner {
    display: none;
}

.screen-reader-response {
    display: none !important;
}

span.wpcf7-list-item-label {
    margin-left: 7px;
}

/* FIN FORMULARIO CONJUNTO */

/* FORMULARIO 1 */

.wpcf7-form div>p>label {
    position: relative;
    margin-bottom: 20px;
}

.wpcf7-form div>p>label>span:not(.wpcf7-form-control-wrap) {
    position: absolute;
    padding: 0 14px;
    top: -11px;
    left: 20px;
    background-color: #ffffff;
    font-size: 15px;
    line-height: 22.5px;
    color: #343434;
    z-index: 5;
}

input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    border: 1.5px solid #343434;
    background-color: rgba(255, 255, 255, .6);
    font-size: 14px;
    line-height: 14px;
    padding: 17px 20px;
    border-radius: 0px;
}

.wpcf7-form div.fila-dos-columnas>p>label:first-child {
    margin-right: 15px;
}

.wpcf7-form div.fila-dos-columnas>p>label:last-child {
    margin-left: 15px;
}

.wpcf7-form div>p textarea {
    margin-bottom: 0;
}

.boton-formulario>p {
    text-align: center;
}

.boton-formulario [type=submit] {
    background-color: #343434;
    color: #fff;
    border: 0px;
    padding: 0 38px;
    font-size: 16px;
    font-weight: 500;
    min-height: 55px;
    border-radius: 3px;
    line-height: 24px;
}

.texto-contacto-subtitulo {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

/* FIN FORMULARIO 1 */

#site-header {
    padding: 15px;
    box-shadow: 0px 0px 20px -7px #0005;
}


section#media_image-2 img {
    width: 45%;
}

section#media_image-2 {
    text-align: center;
}

.copyright.show p,
.copyright.show p a {
    font-size: 13px;
    color: #FFF;
}

footer#site-footer {
    padding: 10px 0;
    background-color: #343434;
}

button#mdp-readabler-trigger-button {
    padding: 10px;
}

.listado-servicios ul li::marker {
    color: #eb0008;
}

.listado-servicios ul {
    list-style-position: inside;
    padding-left: 10px;
}

@media screen and (max-width: 1024px) {
    section#media_image-2 img {
        width: 100%;
        text-align: center;
    }

    .site-footer .footer-inner.footer-top-columns {
        justify-content: center;
    }
}

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

    img.custom-logo {
        height: 60px;
        width: auto;
    }
}

.site-navigation-toggle {
    font-size: 24px;
}