#header {
    position: relative;
    background: white;
    z-index: 999;
}
#_desktop_historyproducts img {
    mix-blend-mode: multiply;
}
div#_desktop_logo {

    align-items: center;
    gap: 5px;
}
#header .mobile {
    display: flex;
}
#header .mobile .subelements {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#header .mobile .rightelements {
    display: flex;
    align-items: center;
        gap: 10px;
}

#header .mobile .rightelements .item {
    padding-right: 15px;
}

#header .mobile .rightelements .item#_mobile_wihslist {
    height: 25px;
    position: relative;
    padding: 0px 20px 0px 0px;
}

#header .mobile .rightelements .item#_mobile_wihslist .wishlistCount {
    top: -7px;
}

#header .mobile  div#_mobile_wihslist .wishlistCount {
    position: absolute;
}
div#_mobile_search input {
    /* display: none; */
}
div#_mobile_logo h1 {
    margin-bottom: 0px;
}
#header #_desktop_logo .logo{
        max-width: 100%;
}

 
header .blockcart {
    position: relative;
    display: block;
    align-items: center;
    justify-content: space-between;
    background: var(--color1);
    color: white;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    padding-top: 7px;
}

header .blockcart .icon-cart:before {
    color: white;
    filter: brightness(0) invert(1);
}
#header .header-top-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: flex-end;
    gap: 15px;
}
#header .header-top-right > *:not(.lateral-popup) {
    /*padding: 0px 0px 0px 20px;*/
}
header .blockcart .header {
    /*background: var(--color3);*/
    display: flex;
    align-items: center;
    /*border-radius: var(--border-radius-custom);
    padding: 6px 15px;
    min-width: 110px;*/
    justify-content: center;
    gap: 6px;
}
header .blockcart .header > a {
    display: flex;
    justify-content: center;
    gap: 6px;
}

a.default_links,
a.mega-bell {
    background: var(--bg-body);
    padding: 0px 15px;
    border-radius: var(--border-radius-custom);
    max-width: 110px;
    text-align: center;
    height: 40px;
    display: flex;
    align-items: center;
}
header .links, header .links .col-md-4 {
    width: 100%;
}

header .links {
    padding-top: 8px;
}
header .links .h3{
    display: none
}
header .links a{
	color: white
}
.header-top-container {
    padding: 15px 15px;
    /* border-radius: var(--border-radius-custom); */
    background: white;
    max-width: 1356px;
    /* box-shadow: var(--box-shadow); */
    position: relative;
}


#header div#_desktop_search {
    max-width: 430px;
    margin: 0 auto;
}
span.customername.initials_name {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    background: var(--btn-primary);
    color: var(--btn-primary-text);
}

header .user-info .account {
    display: block;
    align-items: center;
    justify-content: space-between;
    background: var(--color1);
    color: white;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    padding-top: 7px;
}

header .presupuesto {
	    display: block;
	    align-items: center;
	    justify-content: space-between;
	    background: var(--color1);
	    color: white;
	    width: 40px;
	    height: 40px;
	    line-height: 23px;
	    text-align: center;
	    border-radius: 50%;
	    padding-top: 7px;
}

header .user-info .account .icon-user {
    color: white!important;
}


.language-selector.dropdown.js-dropdown button {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0px;
}

div#ecommbanners_displayBanner .item-html {
    text-align: center;
}

.extrapadding {
    padding-left: 15px;
    padding-right: 0px
}
div#ecommbanners_displayBanner p {
    font-size: 13px;
}
.container.header-top-container.doble {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
.user-info a img {
    max-width: 40px;
    height: auto;
    border-radius: 50%;
}
span.cart-products-count {
    position: absolute;
    right: 13px;
    top: -7px;
    color: white;
    font-size: 10px;
}
span.cart-products-count.cart-doble {
    right: 5px;
    font-size: 12px;
}
span.cart-products-count.cart-triple {
    font-size: 10px;
    right: 3px;
    top: 3px;
} 
/*media querys*/
@media(max-width: 991px){
    /*header .header-top-right, header #_desktop_logo{*/
    /*    display: none!important;*/
    /*}*/
    header .header-top-center{
        width: 100%
    }
    header#header {
        position: fixed;
        left: 0px;
        right: 0px;
        top: 0px;
        width: 100vw;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }
    header#header {
        position: fixed;
        left: 0px;
        right: 0px;
        top: 0px;
        width: 100vw;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        transition: all 0.3s ease;
        /*-webkit-box-shadow: 0 1px 2px rgb(0 0 0 / 15%);
        -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
        box-shadow: 0 1px 2px rgb(0 0 0 / 15%);*/
    }
    #wrapper {
        padding-top: 58px;
    }
    #header .header-nav {
        max-height: initial;
        border-bottom: none;
        padding: 10px 0px;
        border-radius: var(--border-radius-custom);
        background: white;
        max-width: calc(100% - 24px);
        box-shadow: var(--box-shadow);
                margin: 0 auto;
    }
    #header .header-top{
        padding: 0px
    }
    #header .header-nav .user-info{
        margin: 0px
    }

    .user-info .islogged {display: none}
    #header .top-logo img {
        width: auto;
        max-height: 2rem;
    }
    .header-top-container{
        padding: 0px
    }
    body:not(#index) #wrapper {
        padding-top: 100px;
    }
    body.displaybannershow #wrapper {
        padding-top: var(--gocisa-header-h, 159px)!important;
    }
    body.displaybannershow:not(#index) #wrapper {
        padding-top: var(--gocisa-header-h, 159px)!important;
    }
    body:not(#index) #content-wrapper {
        width: 100%;
        padding-top: 10px;
    }

    body.page-customer-account #content-wrapper {
        padding: 15px;
    }

    header .language-selector-wrapper {
        display: none;
    }
    #header .mobile .rightelements .item {
        padding-right: 0px;
    }


	div#_mobile_logo {
    	display: flex;
    	align-items: center;
    	gap: 5px;
    	margin-right: auto;
    	padding-left: 14px;
 }
	div#_mobile_search:after {
		width: 22px;
	    height: 28px;
	    margin: 0 auto;
	    content: "\e911";
	    font-family: 'icomoon';
	    font-size: 20px;
	    color: black;
	    line-height: 28px;
	    display: block;
	    background: none;
	}
	#header .mobile .rightelements div#_mobile_search {
        background: var(--bg-body);
        padding: 0px 15px;
        border-radius: var(--border-radius-custom);
        text-align: center;
        height: 40px;
        display: flex;
        align-items: center;
    }
	.header-top-container {
    	max-width: calc(100% - 24px);
    	margin: 0 auto;
    	box-shadow: none;
	}
    /*#header .mobile .rightelements .item#_mobile_wihslist{*/
    /*    padding-right: 25px*/
    /*}*/
}
@media(max-width:767px) {
	a.default_links, #header .mobile .rightelements div#_mobile_search, a.mega-bell {
       padding: 0px 5px;
 	}
 	.user-info a img {
    	max-width: 30px;
    	height: auto;
	}

	#header .top-logo img {
        max-width: 150px;
    }
    span.customername.initials_name {
    	width: 25px;
    	height: 25px;
    	font-size: 11px;
	}
}
/*end media querys*/





nav.header-nav {
    background: var(--color1);
    padding: 0px 0px;
}

ul#footer_sub_menu_4 {
    display: flex;
    margin-bottom: 0px;
    gap: 15px;
}

header .right-nav {
    text-align: right;
    color: white;
}

header .right-nav .megapvp-top img {
    filter: brightness(0) invert(1);
}
header .right-nav .material-icons{
	color: white;
	font-size: 15px;
	position: relative;
	top: -1px;
}
header .right-nav a {
    color: white;
}

input#topsearchelastic_input {
    background: #f6f6f6;
    margin-top: 5px;
}

div#_desktop_megapvp-top {
    display: inline-block;
    vertical-align: middle;
}
.bootstrap #carrier_wizard .alert-info.wizard_error::before, .bootstrap .alert.alert-addons::before, .bootstrap .alert.alert-info::before, .bootstrap #carrier_wizard .alert-warning.wizard_error::before, .bootstrap #carrier_wizard .wizard_error::before, .bootstrap .alert.alert-danger::before, .bootstrap .alert.alert-warning::before {
 display: none
}
header .links {
    padding-top: 8px;
    display: inline-block;
    width: fit-content;
}

.awsc-nav-budget {
    display: inline-block;
    vertical-align: middle;
    font-size: 11px;
}
label[for="delivery_option_9,"] span.carrier-price {
    display: none;
}
body#module-awsavecart-builder div#_desktop_megapvp-top {
    display: none;
}
article .description a.btn.btn-default {
    background: #e53b3b;
    color: white;
    line-height: 26px;
}

/* megacommercial: icono "Cambio clientes" alineado con los demas iconos de la cabecera */
#header #iconmegacommercial .presupuesto,
#header #_desktop_iconmegacommercial .presupuesto {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    flex-shrink: 0;
}

/* megacommercial: el formulario del modal trae z-index 99999999 y tapa la lista de clientes del select2 */
#megacommercial-modal form#switchUser {
    z-index: auto;
}
