/*
Theme Name: Divi hijo
Theme URI: https://undergroundmad.com
Author: Fran Lledó
Author URI: https://tuappempresa.com
Description: Child Theme del tema Divi
Version: 1.0
Template: Divi
*/
 
@import url("../Divi/style.css");

/* Formularios de Registro */

@media only screen and (min-width: 740px){
    
    #rcp_registration_form {
        width:50%;
        margin:auto;
    }
    
    #rcp_user_login_wrap, 
    #rcp_user_first_wrap {
        float:left;
        width: 49%;
    }
    
    #rcp_user_email_wrap, 
    #rcp_password_wrap {
        float:right;
        width:49%;
    }
}
    
    #rcp_user_last_wrap, 
    #rcp_password_again_wrap,
    .rcp_description,
    .rcp_login_link {
        display:none;
    }
    
    input#rcp_user_login,
    input#rcp_user_first,
    input#rcp_user_email.required,
    input#rcp_password.required,
    input#rcp-card-name,
    div#rcp-card-element,
    input[type=password] {
        margin: 0%;
        width: 100%;
        height: 35px;
        border-radius: 5px;
    }
    
    input#rcp_discount_code {
        margin: 0%;
        width: 70%;
        height: 35px;
        border-radius: 5px;
    }
    
    button#rcp_apply_discount {
        height: 35px;
    }

    .rcp-button {
        width: 100%;
        height: 35px;
        border-radius: 5px;
        background-color: #a7faee;
        color: black;
        border-color: transparent;
    }
    
    h3.rcp_header {
        text-align: center;
        margin-bottom: 40px;
    }

/* Contenido Restringido */

.restrict-wrapper,
.restrict-wrapper-2 {
   background-color: #a7faee;
   border-radius: 10px;
   margin-top: 15px;
   margin-bottom: 15px;
   padding-top: 25px;
   padding-bottom: 25px;
   padding-left: 10%;
   padding-right: 10%;
}

/*Filtro en Horizontal*/

@media (min-width: 960px) { 
.searchandfilter ul li {
    display: inline-block;
    margin-right: 35px;
}
}
.searchandfilter select.sf-input-select {
    min-width: 230px;
}

/* Formularios CF7 */

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required,
select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required,
input.wpcf7-form-control.wpcf7-file {
    width: 350px;
    height: 35px;
    border-radius: 5px;
    margin-top: 10px;
}

textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required {
    width: 350px;
    border-radius: 5px;
    margin-top: 10px;
}

@media (max-width: 450px) {
    input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required,
    select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required,
    input.wpcf7-form-control.wpcf7-file {
        width: 250px;
        height: 35px;
        border-radius: 5px;
        margin-top: 10px;
    }
    
    textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required {
        width: 250px;
        border-radius: 5px;
        margin-top: 10px;
    }
}

.wpcf7-submit{
    width: 100px;
    height: 35px;
    border-radius: 5px;
    background-color: #a7faee;
    color: black;
    border-color: black;
}

/* Arreglos Páginas Mailpoet */

body.mailpoet_page-template-default.single.single-mailpoet_page.postid-87.logged-in.admin-bar.et-tb-has-template.et-tb-has-footer.et_pb_button_helper_class.et_fixed_nav.et_show_nav.et_secondary_nav_enabled.et_secondary_nav_only_menu.et_primary_nav_dropdown_animation_fade.et_secondary_nav_dropdown_animation_fade.et_header_style_left.et_cover_background.et_pb_gutter.osx.et_pb_gutters3.et_right_sidebar.et_divi_theme.et-db.customize-support.chrome div#sidebar,

body.mailpoet_page-template-default.single.single-mailpoet_page.postid-87.logged-in.admin-bar.et-tb-has-template.et-tb-has-footer.et_pb_button_helper_class.et_fixed_nav.et_show_nav.et_secondary_nav_enabled.et_secondary_nav_only_menu.et_primary_nav_dropdown_animation_fade.et_secondary_nav_dropdown_animation_fade.et_header_style_left.et_cover_background.et_pb_gutter.osx.et_pb_gutters3.et_right_sidebar.et_divi_theme.et-db.customize-support.chrome p.post-meta {
    display: none;
}

/* Arreglos de Menús */

.logged-in div#top-header {
    display: none;
}

.logged-in header#main-header {
    background-color: #a8faee;
}

/* Mailpoet Page */

article#post-87 .post-meta {
    display: none;
}

article#post-87 {
    margin-left: 10%;
}

span.mailpoet-change-email-info {
    display: none;
}

/* Página Cookies */

#cmplz-document {
    max-width: max-content;
  
}

/* Mensaje Gracias Contacto */

.et-pb-contact-message {
    position: relative;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

/* Clases Favoritas */

.favorites-list li {
    float: left;
    font-size: 18px;
    min-height: 290px;
}

.favorites-list li img {
    float: left;
    margin-right: 3em;
    margin-bottom: 10px;
}

.elemento-favoritas {
    border-top-width: 0px!important;
}

/* Botón Visto/No visto */

a.wpc-button {
    float: right;
    position: relative;
    z-index: 10;
}

a.wpc-completed {
    float: right;
    position: relative;
    z-index: 10;
}

/* Página Clases 

.wp-show-posts-columns:not(.wp-show-posts-masonry) {
    display: flex;
    flex-wrap: nowrap;
}

.wp-show-posts .wp-show-posts-entry-title {
    display: flex;
}

*/

a, abbr, acronym, address, applet, b, big, blockquote, body, center, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, html, i, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, tt, u, ul, var {
   vertical-align: unset;
}

/* Filtro en pagina categoria */

.logged-in .restrict-wrapper,
.logged-in .restrict-wrapper-2 {
    display: none!important;
}

.filtro-categorias .restrict-wrapper {
    display: none;
}

/* Centrar Boton Contacto */

@media (max-width: 500px) {

.et_contact_bottom_container {
    text-align: right;
    margin-top: -1.5%;
    display: flex;
    justify-content: center;
    float: none!important;
}       
} 

/* Alturas Cajas */

h2.entry-title {
    height: 42px;
}

/* Esconder Registro Login Modal */

ul.lrm-switcher {
   display: none;
}

/* Arreglos Slider */

.psacp-post-carousel-wrap h2.psacp-post-title {
    font-size: 18px;
    line-height: 22px;
}

.psacp-post-carousel-wrap.psacp-design-7 .psacp-post-content-inner {
    padding: 15px;
    height: 100px;
}