$(function(){
var customstyle = document.createElement("style");
customstyle.type = "text/css";
customstyle.rel = "stylesheet";
var main_color = "#0099d6";
var second_color = "#d3003d";
var boton_color = '#fff';
var boton_bg = '#da9532';
var boton_border = '';
var boton_color_hover = '#fff';
var boton_border_hover = '#004360';
var boton_bg_hover = '#336083';
var main_bg = "#336083";
var top_bar_bg = "#336083";
var highlight_color = "#e5b537";
var footer_color = "#fff";
/*Common*/
customstyle.innerHTML += ".ecommerce a{color: "+second_color+";}.ecommerce a,.ecommerce span{font-size: 1em}}.ecommerce .productlist_zone{margin:0 !important}.ecommerce .searchbar > h3 { color: "+main_color+" ;font-size: 1.5em; text-align: center;}";
customstyle.innerHTML += ".nav-container, .top-navigation,.footer-container{display:none}";
customstyle.innerHTML += ".search_logo{ width: 200px; margin: 0 auto; display: block;}";
customstyle.innerHTML += ".ecommerce h1, .ecommerce h2, .ecommerce h3, .ecommerce h4, .ecommerce h5, .ecommerce h6{color: "+second_color+";}";
customstyle.innerHTML += ".article-body{border:none}";
customstyle.innerHTML += ".searchbar .form-control { font-size: 1em;}";
customstyle.innerHTML += ".ecommerce { padding-bottom: 200px !important;}";
/*Pc*/
customstyle.innerHTML += "@media (min-width: 767px){.searchbar .form-control { font-size: 16px;}.search_logo{margin-top:100px}.ecommerce .searchbar > h3 {font-size: 2.5em;} .ecommerce .breadcrumbs_zone{display:none}.ecommerce .searchbar { margin: 60px auto;}.ecommerce .searchbar .container{width: 50%;margin: 20px auto; float: none;}}";
/*Mobile*/
customstyle.innerHTML += "@media (max-width: 767px){.search_logo{ width: 100px}.search,.top-bar .menu,.top_menu{display:none}.ecommerce .searchbar {margin: 30px auto;} .ecommerce .searchbar .container{margin: 10px auto;}.productview .container { margin: 0 8px;}}";
customstyle.innerHTML += "@media (max-width: 767px){.row{margin-left: -8px; margin-right: -8px;}}";
$("head").append(customstyle);
$(".searchbar input.filled_quicksearch").on('keydown', function(e) {
if (e.which == 13) {
$(".searchbar .btn").click()
e.preventDefault();
}
});
});
/*Favicon*/
$(function(){
$("head").eq(0).append('');
$("head").eq(0).append('');
});
$(".productlist").prepend("");
$(".searchbar h3").text("Cómo podemos ayudarte?");
$(".article-body p").eq(1).hide();
$(".article-body figure").hide();
$(".blog").addClass("ecommerce").removeClass("blog");