/**
* Theme Name: BuddyX Child
* Description: This is a child theme of BuddyX, generated by Merlin WP.
* Author: <a href="https://github.com/vapvarun/buddyx">wbcomdesigns,vapvarun</a>
* Template: buddyx
* Version: 4.6.8
*/

/* Desactivar el lightbox */
.mpp-gallery-item a {
    pointer-events: none;
}
/* CABECERA DE LA PAGINA DE GALERIA EN BUDDYPRESS */
.custom-header {
    background-color: #f5f5f5; /* Cambia esto al color que desees */
    padding: 20px;
    text-align: center;
    margin-bottom: 20px; /* Espacio inferior para separarlo del contenido */
    border-radius: 5px;
    position: relative;
    z-index: 10; /* Asegura que esté sobre otros elementos si es necesario */
}

.custom-header h1 {
    margin: 0;
    font-size: 2em;
    color: #333; /* Cambia esto al color que desees */
}

.custom-header p {
    margin: 10px 0 0;
    color: #666; /* Cambia esto al color que desees */
}
#custom-header {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
}

/* PONEMOS LOS COLORES SIMILARES AL MAGO DIAPASÓN */
body {
    --color-theme-loader: #27792c !important;
    --color-site-title: #111111 !important;
    --color-site-title-hover: #53a05b !important;
    --color-site-tagline: #757575 !important;
    --color-header-bg: #ffffff !important;
    --color-menu: #111111 !important;
    --color-menu-hover: #29792f !important;
    --color-menu-active: #29792f !important;
    --color-subheader-title: #111111 !important;
    --global-font-color: #505050 !important;
    --color-theme-body: #f7f7f9 !important;
    --color-layout-boxed: #f7f7f9 !important;
    --color-theme-white-box: #ffffff !important;
    --global-body-lightcolor: #fafafa !important;
    --color-theme-primary: #287b2f !important;
    --color-link: #111111 !important;
    --color-link-hover: #29792f !important;
    --color-h1: #111111 !important;
    --color-h2: #111111 !important;
    --color-h3: #111111 !important;
    --color-h4: #111111 !important;
    --color-h5: #111111 !important;
    --color-h6: #111111 !important;
    --button-background-color: #68ba6f !important;
    --button-background-hover-color: #41a248 !important;
    --button-text-color: #ffffff !important;
    --button-text-hover-color: #ffffff !important;
    --button-border-color: #9a9898 !important;
    --button-border-hover-color: #8d8b8b !important;
    --color-footer-title: #111111 !important;
    --color-footer-content: #505050 !important;
    --color-footer-link: #111111 !important;
    --color-footer-link-hover: #36983f !important;
    --color-copyright-bg: #ffffff !important;
    --color-copyright-content: #505050 !important;
    --color-copyright-link: #111111 !important;
    --color-copyright-link-hover: #29790D !important;
}

.youzify-light-lighting-mode {
    --yzfy-body-color: #eaeaea;
    --yzfy-primary-color: #939ba3;
    --yzfy-secondary-color: #b1b0b0;
    --yzfy-menu-link-color: #287b2f;
    --yzfy-menu-icons-color: #277c2f;
    --yzfy-submenu-link-color: #898989;
    --yzfy-text-color: #898989;
    --yzfy-subtext-color: #969696;
    --yzfy-card-bg-color: #fff;
    --yzfy-card-secondary-bg-color: #f4f4f4;
    --yzfy-heading-color: #858f94;
    --yzfy-icon-color: #7cbf80;
    --yzfy-icon-bg-color: #f2f2f2;
    --yzfy-button-bg-color: #f6f6f6;
    --yzfy-button-text-color: #898989;
    --yzfy-tab-text-color: #4e4f50;
    --yzfy-tab-bg-color: #eee;
    --yzfy-primary-border-color: #f2f2f2;
    --yzfy-option-label-color: #89afc1;
    --yzfy-option-input-color: #939ba3;
    --yzfy-option-input-bg-color: transparent;
    --yzfy-option-description-color: #929292;
    --yzfy-notice-primary-bg-color: #eee;
    --yzfy-notice-primary-text-color: #8f8f8f;
    --yzfy-shadow-color: #eaeaea;
}
body {
    --wp--preset--color--black: #000000;
    --wp--preset--color--cyan-bluish-gray: #abb8c3;
    --wp--preset--color--white: #ffffff;
    --wp--preset--color--pale-pink: #f78da7;
    --wp--preset--color--vivid-red: #29792f;
    --wp--preset--color--luminous-vivid-orange: #ff6900;
    --wp--preset--color--luminous-vivid-amber: #fcb900;
    --wp--preset--color--light-green-cyan: #7bdcb5;
    --wp--preset--color--vivid-green-cyan: #00d084;
    --wp--preset--color--pale-cyan-blue: #8ed1fc;
    --wp--preset--color--vivid-cyan-blue: #0693e3;
    --wp--preset--color--vivid-purple: #9b51e0;
    --wp--preset--color--base: #ffffff;
    --wp--preset--color--contrast: #000000;
    --wp--preset--color--primary: #29792f;
    --wp--preset--color--secondary: #41848f;
    --wp--preset--color--tertiary: #F6F6F6;
    --wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);
    --wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);
    --wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);
    --wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);
    --wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);
    --wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);
    --wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);
    --wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);
    --wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);
    --wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);
    --wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);
    --wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);
    --wp--preset--font-size--small: clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.227), 1rem);
    --wp--preset--font-size--medium: clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.227), 1.125rem);
    --wp--preset--font-size--large: clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 0.227), 1.875rem);
    --wp--preset--font-size--x-large: 2.25rem;
    --wp--preset--font-size--xx-large: clamp(4rem, 4rem + ((1vw - 0.2rem) * 10.909), 10rem);
    --wp--preset--font-family--ibm-plex-mono: 'IBM Plex Mono', monospace;
    --wp--preset--font-family--system-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --wp--preset--font-family--source-serif-pro: "Source Serif Pro", serif;
    --wp--preset--spacing--30: clamp(1.5rem, 5vw, 2rem);
    --wp--preset--spacing--40: clamp(1.8rem, 1.8rem + ((1vw - 0.48rem) * 2.885), 3rem);
    --wp--preset--spacing--50: clamp(2.5rem, 8vw, 4.5rem);
    --wp--preset--spacing--60: clamp(3.75rem, 10vw, 7rem);
    --wp--preset--spacing--70: clamp(5rem, 5.25rem + ((1vw - 0.48rem) * 9.096), 8rem);
    --wp--preset--spacing--80: clamp(7rem, 14vw, 11rem);
    --wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);
    --wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);
    --wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);
    --wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);
    --wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);
}
:root {
    --e-a-color-primary-bold: #29792f;
    --e-a-color-secondary: #515962;
    --e-a-color-success: #0a875a;}
.pmpro_btn, .pmpro_btn:link, .pmpro_content_message a, .pmpro_content_message a:link {
    background-color: #5aa266;
    background-image: none;
    border: 1px solid #b8b7b2;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 11px;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    margin: 0;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
}

a.read-more.button:hover, button[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
    color: #fff;
    color: var(--button-text-hover-color);
    background-color: #277b2f;
    background-color: #277b2f;
    border: 1px solid #f83939;
    border: 1px solid #b7b7b7;
}

a.read-more.button:hover, button[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
    color: #fff;
    color: var(--button-text-hover-color);
    background-color: #277b2f;
    background-color: #639d68;
    border: 1px solid #f83939;
    border: 1px solid #b7b7b7;
}

.mpp-item-actions .mpp-delete {
    color: #bababa;
    font-weight: 700;
}
ul {
    list-style: disc;
    padding-top: 20px;
}
.site-footer-wrapper {
    background-color: #aacfad !important;}
.widget #searchform input[type=submit] {right: 1px !important;}
.site-sub-header {
    background-color: rgb(180 220 183) !important;
}
#message.info, div#message.info {
    background: var(--yzfy-card-bg-color);
    border-left: 6px solid #76ba7c;
}
#message {    margin-top: 60px;}

/* ===================== fin de los estilos personalizados ======================== */

/* ============ ESTILO PARA EL BOTÓN DESCARGAR EN MEDIAPRESS ================ +/
.mpp-download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.mpp-download-button:hover {
    background-color: #005a87;
}

/* ==================================================================*/
/* ELIMINAR BOTONES MEDIAPRESS DE LA PÁGINA DE TIMELINE - ACTIVIDAD */
function hide_mpp_upload_buttons_css() {
    echo '<style>
        .activity-page #mpp-activity-upload-buttons {
            display: none;
        }
    </style>';
}
add_action('wp_head', 'hide_mpp_upload_buttons_css');

/* -------- ESTILOS OPCIONES DEL WALL: ESTADO-GIF-FOTO-VIDEO... --------*/
body #youzify-wall-form .youzify-wall-options .youzify-wall-opts-item label span {
    color: #939BA3;
    font-size: 14px !important;
}
#youzify-wall-form .youzify-wall-options .youzify-wall-opts-item label{background-color: #aeeab766 !important;}
////////////////////////////////////////////////
.mpp-media-thumbnail img {
    width: 100px;
    height: auto;
    display: block;
    margin: auto;
}
