/*
Theme Name:   twentytwentyone child
Description: Tema hijo para hacer personalizaciones de código
Author:      Juan Sicom
Author URL:  https://gruposicom.com
Template:     twentytwentyone
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  twentytwentyone-child
*/

.entry-content, .entry-summary, h1, h2, h3, h4, h5, h6, span, p, li, a, input {
    font-family: 'Maven Pro', sans-serif !important;
}

.site-main {
    padding-bottom: 0 !important;
}

#masthead {
    padding-top: 25px;
    padding-bottom: 25px;
}

.custom-logo {
    max-width: 400px !important;
    width: 400px !important;
}

.primary-navigation .primary-menu-container>ul>.menu-item>a:hover {
    text-decoration: underline !important;
}

#primary-menu-list a {
    text-decoration: none;
}

.wp-block-video {
    margin-bottom: 0 !important;
}

#servicios {
    margin-top: 0;
    margin-bottom: 0;
}

#servicios div {
    margin: 0;
}

#servicios h2 {
    color: #fff;
}

#servicios p {
    padding-left: 50px;
    padding-right: 50px;
    color: #fff;
}

.banner-bottom .wp-block-image {
    margin-left: 0 !important;
}

.banner-bottom .wp-block-cover__inner-container {
    margin-top: -75px !important;
}

.banner-bottom .wp-block-cover__inner-container p {
    margin-left: 0 !important;
    margin-top: 25px !important;
}

.blocks-gallery-grid .blocks-gallery-item {
    margin: 0 !important;
}

#wpcf7-f53-p30-o1 {
    max-width: 80%;
}

#wpcf7-f53-p30-o1 label {
    max-width: 275px;
}

#wpcf7-f53-p30-o1 label .wpcf7-form-control-wrap input, #wpcf7-f53-p30-o1 label textarea {
    background-color: transparent;
    border: solid 2.5px #fff;
    border-radius: 12px;
    margin-top: 10px;
    color: #fff;
}

#wpcf7-f53-p30-o1 label {
    max-width: 100%;
    width: 100%;
    font-size: 16px;
}

.submit-form input {
    margin: auto;
    display: block;
    margin-top: 25px;
    background-color: transparent !important;
    color: #fff !important;
    border: 2.5px solid #fff !important;
    border-radius: 12px !important;
}

#nosotros p, #contacto p {
    max-width: 1040px !important;
}

#colophon {
    max-width: 100% !important;
    margin-top: 0;
    padding-bottom: 0;
}

#colophon .container-fluid {
    margin-top: 0;
    margin-bottom: 0;
}

.footer-navigation {
    margin-top: auto !important;
}

.site-name {
    background-color: #5f8c24;
    padding: 15px;
}

.site-footer .custom-logo {
    width: 300px !important;
}

.custom-logo-link, .custom-logo-link .custom-logo {
    display: block !important;
}

.footer-center {
    background-color: #507520;
    padding: 15px;
}

.footer-center h4, .footer-center p, .footer-right h4, .footer-right p{
    color: #fff !important;
    text-align: center !important;
    margin-bottom: 0.5rem !important;
}
.footer-right p a, .footer-center p a{
    color: #fff !important;
   
}


.footer-right {
    background-color: #3f5d17;
    padding: 15px;
}

.privacidad .wpcf7-list-item-label{
	position: relative;
  bottom: 7px;
}

@media (max-width: 481.98px) {
    .site-branding {
        width: auto;
        max-width: 70%;
    }
    .site-branding>div:nth-child(1) {
        max-width: 70%;
    }
    .site-branding>div:nth-child(1)>span:nth-child(1) {
        max-width: 100%;
        display: flex;
    }
    .site-branding>div:nth-child(1)>span:nth-child(1)>img:nth-child(1) {
        width: 100% !important;
    }
    .site-logo {
        left: 10px
    }
    .custom-logo {
        width: auto !important;
    }
    .dropdown-icon:nth-child(2) {
        color: #fff;
        opacity: 1;
        text-shadow: none;
    }
    .dropdown-icon:nth-child(2):hover {
        color: #fff;
        text-decoration: underline !important;
        opacity: 1;
        text-shadow: none;
    }
}

@media (min-width: 482px) and (max-width: 575.98px) {
    .primary-navigation .primary-menu-container>ul>.menu-item>a {
        padding-left: 7px !important;
        padding-right: 8px !important;
        font-size: 18px;
        text-decoration: underline !important;
    }
}

@media (max-width: 575.98px) {
    #servicios p {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    .banner-bottom .wp-block-cover__inner-container {
        margin-top: 0 !important;
    }
}

@media (max-width:781.98px) {
    #servicios .wp-block-column.has-background {
        flex-basis: 100% !important;
    }
    .banner-bottom .wp-block-image {
        margin-left: auto !important;
    }
    .banner-bottom .wp-block-cover__inner-container p {
        margin-left: auto !important;
        color: #000;
        font-weight: bold;
    }
    .banner-bottom .wp-image-35 {
        filter: contrast(60%);
    }
    #wpcf7-f53-p30-o1 label {
        max-width: 350px;
        display: block;
        margin: auto;
        margin-bottom: auto;
        margin-bottom: 25px;
    }
}

@media (max-width:1099.98px) {
    .site-branding {
        margin: auto !important;
    }
    #site-navigation {
        margin: auto;
    }
}