/*
 Theme Name:   Divi Child
 Theme URI:    http://elegantthemes.com/
 Description:  Divi Child Theme
 Author:       ElegantThemes
 Author URI:   http://elegantthemes.com
 Template:     Divi
 Version:      0.1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 Text Domain:  divi-child-theme
*/

/* ==== Add your own styles below this line ====
 * -------------------------------------------- */

#page-container .entry-summary p.price ins .woocommerce-Price-amount span,
#page-container .entry-summary p.price ins .woocommerce-Price-amount {
	color: #ff0000 !important;
}

/* BODY COMMERCE PRODUCT PAGE */
/* Compare Thumbnail Size */
.compare_thumbnail {
	max-width: 70%;
}

/* 3 Columnas Mobile */
@media all and (max-width: 767px) {
    html .et-db .three-col-mob .et_pb_column {
        width:29.6667% !important;
    }
    html .et-db .three-col-mob .et_pb_column:nth-last-child(-n+3) {
        margin-bottom:0;
    }
    html .et-db .three-col-mob .et_pb_column:not(:nth-child(3n)) {
        margin-right:5.5% !important;
    }
}
/* 3 Columnas Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .three-col-tab .et_pb_column {
        width:29.6667% !important;
    }
html .et-db .three-col-tab .et_pb_column:nth-last-child(-n+3) {
        margin-bottom:0;
    }
    html .et-db .three-col-tab .et_pb_column:not(:nth-child(3n)) {
        margin-right:5.5% !important;
    }
}




/*BODY COMMERCE TABLAS DE COMPARACION MOVILES*/
@media(max-width: 980px) {
    .et_pb_module.et_pb_db_shop_comparetable {
        overflow-y: auto;
    }
    .et_pb_module.et_pb_db_shop_comparetable > .et_pb_module_inner >.table_row .td_row:first-child {
        width: 100px;
    }
    .et_pb_module.et_pb_db_shop_comparetable > .et_pb_module_inner >.table_row .td_row:not(:first-child) {
        width: 160px;
    }
}



/*AGRANDAR MENU HAMBURGER CUANDO SE ABRE PARA QUE OCUPE TODO EL ESPACIO EN MOVILES*/
@media (min-width: 320px) and (max-width: 980px) {
    .three-col-mob nav.dd-divimenu.dd-flex.dd-closed-tablet.dd-closed-phone.dd-divimenu-open {
        width: 80vw;    
    }    
}


/*HACER QUE SUBMENUS DE CATEGORIAS SOLO TENGAN 1 COLUMNA EN TELS*/
@media only screen and (max-width: 40em) {
.dd-menu-flex-sub .et_pb_row {
    flex-direction: column;
}
}
@media only screen and (max-width: 40em) {
.dd-mi.dd-menu-flex-item.dd-sub-fw.dd-h-d .dd-menu-flex-sub .et_pb_column {
    width: 100% !important;
}
}


/*FIN*/