/*
Theme Name:   generatepress child theme
Description: Tema hijo para hacer personalizaciones de código
Author:       Corus Consulting.
Author URL:  https://www.corusconsulting.com/
Template:     generatepress
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  generatepress-child
*/

/* GENERAL */
/*html,
body {
    overflow-x: hidden;
}*/
body{
    background-color: #ffffff;
}

/*---------Twitter-----*/

.site-footer .fa-twitter:before {
    content: "";
    background-image: url(/wp-content/themes/generatepress-child/static/img/x-twitter-efecomunica.svg);
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
    position: relative;
    top: 1px;
    color: transparent;
    border-radius: 5px;
    display: inline-block;
    filter: brightness(0) invert(1);
}

.site-content .fa-twitter:before {
    content: "";
    background-image: url(/wp-content/themes/generatepress-child/static/img/x-twitter-efecomunica.svg);
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
    position: relative;
    top: 2px;
    color: transparent;
    border-radius: 5px;
    display: inline-block;
    filter: brightness(0) invert(1);
}

/* MENU */
.site-header{
	z-index: 2;
}
.site-logo{
    margin: 0!important;
}
.main-navigation .main-nav ul li.link-home > a {
    color: #122a68!important;
}
.main-navigation .main-nav ul li a {
    padding-left: 15px;
    padding-right: 15px;
    line-height: 40px;
}
.wpml-ls-item .dropdown-menu-toggle::before {
    display: none;
}

/* PAGINACION */
nav.elementor-pagination {
    margin: 40px auto;
}

/* HOME *//* 1. DEFAULT CLASSES */
.servicios .elementor-widget-image-box .elementor-image-box-content{
    padding: 20px;
}
.servicios .elementor-image-box-img img{
    height: 300px;
    object-fit: cover;
    margin-bottom: -6px;
}
.quienes-video .elementor-widget-wrap>.elementor-element {
    height: 100%!important;
}
.quienes-video .elementor-widget-video .elementor-widget-container {
    height: 100%!important;
}
.quienes-video .elementor-aspect-ratio-11 .elementor-fit-aspect-ratio {
    height: 100%!important;
}
.quienes-video .elementor-fit-aspect-ratio {
    padding-bottom: 56.25%;
    height: 100%;
}


/* SINGLE */
.patrocinada img {
    max-width: 150px;
    max-height: 60px;
    vertical-align: middle;
}
.download-button{
    font-family: "Roboto", Sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    background-color: transparent;
    color: #FFFFFF;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #FFFFFF;
    border-radius: 5px;
    padding: 15px 30px;
    font-size: 15px;
    display: inline-block;
    line-height: 19px;
}
.download-button:focus,
.download-button:hover {
    background-color: #ffffff;
    color: #122A68;
}

/* ARCHIVE MARCA */
.brand-header .marca-logo a{
    display: block;
    text-align: center;
}
.brand-header .marca-logo img {
    max-width: 200px;
    max-height: 100px;
}
.brand-header .marca-descripcion {
    color: white;
    text-align: center;
    max-width: 700px;
    margin: auto;
}
.brand-header .marca-contacto {
    margin: auto;
    text-align: center;
    color: white;
}
.brand-header .marca-contacto p {
    font-size: 12px;
    display: inline-block;
    margin: 0 10px;
}

/* FOOTER */
.fix-contacto {
    position: fixed!important;
    bottom: 0;
    z-index: 2;
}
.fix-footer {
    margin-bottom: 108px!important;
}
.contacto-blue-1 {
    display: none;
}

/* LISTS BADGE CATEGORY */
.elementor-post__badge {
    /*display: none;*/
    display: inline;
}

/* ARCHIVE */
.brand-blog .elementor-post, .archives-blog .elementor-post{
    width: 100%!important;
}

/* CONTENIDO */
.content-form form.search-form{
    text-align: center;
    display: flex;
}
.content-form form.search-form label{
    width: 100%;
}
.content-form form.search-form .search-field{
    width: 100%;
}
.content-form form.search-form button{
    background-color: #122a68;
}
/*.content-form p{
    margin: 0;
}*/

/* VIDEOS YOUTUBE */
.embed-youtube {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.embed-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* PLUGIN EVENTOS */
.tribe-events-calendar-list__event{
    width: 100%!important;
}
.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn{
    background-color: #122A68;
}
.tribe-common .read-more-container{
    padding: 10px 0 0;
}
.tribe-common .read-more {
    padding: 5px 15px;
    border-radius: 5px;
    background-color: #00BFCC;
}
/*.tribe-events-calendar-list__event-title a {
    color: #122A68;
}*/

pre {
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    white-space: pre-wrap;
    word-wrap: break-word;
}
@media (max-width:922px){
    .quienes-somos .elementor-col-50{width: 100%!important;}
}


@media (max-width:922px) and (min-width:767px){
    .main-navigation .main-nav ul li a {
        padding-left: 10px;
        padding-right: 10px;
    }
    .main-navigation a{
        font-size: 12px!important;
    }
}

@media (min-width: 768px){
    .main-navigation .menu-toggle {
        display: none;
    }
    .tribe-events-calendar-list__event-date-tag-datetime {
        border-right: 6px solid #00BFCC !important;
    }
}

@media (max-width: 767px) {
    .content-form form.search-form{
        text-align: center;
    }
    .separate-containers .inside-article{
        padding: 0!important;
    }
    /*.fix-footer {
        margin-bottom: 156px!important;
    }*/
    .fix-footer .elementor-col-50 {
        width: 50%;
    }
    /*.contacto-blue-1 {
        display: none;
    }
    .contacto-blue-2 {
        display: block;
    }*/
}

@media (max-width: 483px) {
    /*.fix-footer {
        margin-bottom: 184px!important;
    }*/
    .fix-footer .elementor-column {
        width: 100%;
    }
    .fix-footer .elementor-widget-text-editor {
        text-align: center;
    }
    .fix-footer .elementor-text-editor {
        text-align: center!important;
    }
}

@media (max-width: 420px) {
    .download-block span{
        display: inline-block;
    }
}