/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Author: Innotu Projects
Author URI: https://www.innotu.com
Version: 1.0.0
*/

/* typographies */
@font-face {
	font-family: 'BrothersOT-Regular';
	src: url("assets/fonts/BrothersOT-Regular.otf") format("opentype");
    font-display: swap;
}
@font-face {
	font-family: 'BrothersOT-Bold';
	src: url("assets/fonts/BrothersOT-Bold.otf") format("opentype");
    font-display: swap;
}

/* colors */
:root {
    --green: #266726;
    --beige: #dcd6b9;
    --red: #ef843c;
}

/**********************************************
* GENERAL
**********************************************/
h1, h2, h3, h4, h5, h6 {
    font-family: 'BrothersOT-Bold';
    color: var(--green);
}
p, a, li {
    font-family: 'BrothersOT-Regular';
    color: var(--green);
}
a {
    transition: color 0.3s ease;
}
.page-content p a,
.page-content li a {
    color: var(--red) !important;
}
.page-content p a:hover,
.page-content li a:hover {
    text-decoration: underline;
}
a:hover {
    color: var(--red) !important;
}
.btn {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 20px;
    transition: background-color 0.3s ease;
}
.btn-beige {
    background-color: var(--beige);
    color: var(--green);
}
.btn-beige:hover {
    background-color: var(--red);
    color: var(--green) !important;
}
.btn-blue {
    background-color: var(--green);
    color: var(--beige);
}
.btn-blue:hover {
    background-color: var(--red);
    color: var(--beige) !important;
}

#hover-red:hover {
	background-color: var(--red) !important;
	color: var(--beige) !important;
}

.texto-beige p,
.texto-beige h3 {
    color: var(--beige) !important;
}

.texto-rojo {
	color: var(--rojo);
}

/**********************************************
* HEADER
**********************************************/
.site-header .site-navigation ul.menu li a {
    text-transform: uppercase;
}
.site-header .site-navigation ul.menu li.menu-item-has-children a {
    padding: 8px 2px 8px 15px;
}
.site-navigation ul.menu li.menu-item-has-children:after {
    color: var(--beige);
}
.site-navigation ul.menu li ul,
.site-navigation-dropdown ul.menu li a,
.site-navigation-dropdown ul.menu {
    background: var(--green);
    color: var(--beige);
}
.site-navigation-dropdown ul.menu li.current-menu-item a {
    background: var(--beige);
    color: var(--green);
}
.right-side {
    align-content: center;
    min-width: 120px;
}
@media (min-width: 576px) {
    .mobile-right-side {
        display: none;
    }
}
@media (max-width: 576px) {
    .right-side {
        display: none;
    }
    .mobile-right-side {
        padding: 10px;
    }
    .btn-blue {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* móvil */
.site-navigation-toggle-holder .site-navigation-toggle {
    background-color: var(--beige);
    color: var(--green);
}

/* language selector */
.wpml-ls-menu-item a {
    padding: 8px 15px !important;
} 

/**********************************************
* FOOTER
**********************************************/
#site-footer {
    padding: 35px 0 40px;
}
.footer-bottom .footer-inner {
    margin-inline-start: auto;
    margin-inline-end: auto;
    width: 100%;
    padding: 20px;
}
@media (min-width: 576px) {
    .footer-bottom .footer-inner {
        max-width: 500px;
    }
}
@media (min-width: 768px) {
    .footer-bottom .footer-inner {
        max-width: 600px;
    }
}
@media (min-width: 992px) {
    .footer-bottom .footer-inner {
        max-width: 800px;
    }
}
@media (min-width: 1200px) {
    .footer-bottom .footer-inner {
        max-width: 1140px;
    }
}
.rrss-logos {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}
.rrss-logos .footer-logo {
    border-radius: 100%;
    transition: color 0.5s ease;
}
.rrss-logos .footer-logo:hover {
    background-color: var(--red);
}
footer .site-navigation ul.menu a {
    text-transform: uppercase;
}
@media (max-width: 576px) {
    footer .site-navigation ul.menu a {
        font-size: 14px;
    }
}
.footer-bottom hr {
    border: none;
    border-top: 1px solid var(--green);
}
.footer-bottom .row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 50px;
    padding: 20px 0;
}
.footer-bottom .row.first-row {
    gap: 100px;
    align-items: start;
}
@media (max-width: 576px) {
    .footer-bottom .row.second-row {
       display: block;
    }
    .footer-bottom .row.second-row .col-md-6 {
        width: 49%;
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 30px;
        text-align: center;
    }
}
.footer-bottom .logo-title {
    color: var(--green);
    text-align: center;
}
.developed-by p {
    color: var(--green);
    margin-bottom: 0;
    font-size: 14px;
}
.developed-by a {
    color: var(--green);
    text-decoration: underline;
}
@media (max-width: 576px) {
    .developed-by p {
        font-size: 11px;
    }
    .footer-bottom .row.first-row {
        gap: 20px;
    }
    .footer-logo {
        max-width: 120px;
    }
    .footer-logo.first-logo {
        max-width: 100px;
    }
    .second-row .footer-logo {
        max-width: 80px;
    }
}

/* scroll button */
#btn-scroll {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--green);
    color: white;
    cursor: pointer;
    border-radius: 100%;
    font-size: 18px;
    width: 50px;
    height: 50px;
}
  
#btn-scroll:hover {
    background-color: var(--red);
}

@media (min-width: 768px) {
    #btn-scroll {
        display: none !important;
    }
}

/**********************************************
* CONTACTO
**********************************************/
.wpcf7-form .row {
    display: flex;
    width: 100%;
    gap: 50px;
}
.wpcf7-form .row > * {
    flex: 1;
    min-width: 0;
}
.wpcf7-form input,
.wpcf7-form textarea {
    background-color: var(--green);
    color: var(--beige);
}
::-webkit-input-placeholder { /* WebKit browsers */
    color: var(--beige) !important;
    opacity: 1;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: var(--beige) !important;
    opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: var(--beige) !important;
    opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: var(--beige) !important;
    opacity: 1;
}
.wpcf7-submit {
    background-color: var(--green) !important;
    color: var(--beige) !important;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 20px;
    border: none;
}
.wpcf7-submit:hover {
    background-color: var(--red) !important;
    color: var(--beige) !important;
}
.visually-hidden {
    position: absolute; 
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    overflow: hidden;
}
.wpcf7-response-output {
    background-color: #B3C794;
    color: #4b5b85;
    font-family: 'BrothersOT-Regular';
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
}

@media (max-width: 576px) {
    .wpcf7-form p {
        margin-bottom: 0;
    }
    .wpcf7-form .row {
        display: block;
    }
    .wpcf7-submit {
        margin-top: 10px;
    }
}

@media (min-width: 768px) {
    /* remove link */
    .wpml-ls-current-language > a {
        pointer-events: none !important;
    }
}