/* Original css from module */

.submenu-wrap{
	background: #fff;
/* 	transition: min-height 100ms ease-in-out; */
}
.submenu-wrap > li:first-child a.cat-menu-item{ 
    margin-top: 10px;
}
.submenu-wrap .cat-menu-item a.macro-cat{
	width: 15%;
    text-align: left;
    background: url(/themes/icbcstore/img/chevron-right-grey.png) no-repeat 95%;
    background-size: 20px 10px;
    background-color: #fff !important;
    border-bottom: none;
    padding: 5px 10px 5px 25px !IMPORTANT;
}
.submenu-wrap .cat-menu-item a.macro-cat:hover{
	background: url(/themes/icbcstore/img/chevron-right-primary.png) no-repeat 95%;
	background-size: 20px 10px;
    border-bottom: none;
}
#header .sf-menu li ul.submenu-wrap {
	background: #fff !Important;
	padding: 0px !Important;
    text-transform: capitalize;
}
.submenu-wrap .cat-menu-item ul{
    position: absolute;
    right: 25%;
    top: 0px;
    width: 60%;
    background: #f1ede4 !Important;
	min-height: 100% !IMPORTANT;
    padding-top: 15px;
}
.submenu-wrap .cat-menu-item ul.sub-ul{
	position: relative;
    width: 100%;
	left: 15px;
	background: #f1ede4 !Important;
	padding: 0px;
	margin-bottom: 10px;
}
.submenu-wrap .cat-menu-item a.cat-sub-link{
    font-weight: 400;
	font-size: 16px;
    padding: 0px 0px 0px 25px;
    margin: 17px 0px 17px 0px;
}
.submenu-wrap .cat-menu-item .cat-sub-item a.cat-sub-link{
	font-weight: 700;
	display:block !Important;
    font-size: 0.9em;
}
li.tiendas_oficiales{
    width: 25%;
    position: absolute;
    right: 0px;
    top: 0px;
    height: auto;
    overflow-y: overlay;
    background-color: #f1ede4 !Important;
    min-height: 100%;
}
li.tiendas_oficiales h3{
	text-align: left;
    border-bottom: 1px solid #ccc;
    font-weight: 100;
    padding: 10px 10px;
    margin-top: 0px;
    font-size:30px !Important;
}
.item_tiendas_oficiales{
	
}
.item_tiendas_oficiales img{
    margin: 5px 0px 5px -5px;
    background: #fff;
    width: 100%;
    height: 80px;
}
li.tiendas_oficiales::-webkit-scrollbar {
    width: 1em;
}
 
li.tiendas_oficiales::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 
li.tiendas_oficiales::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}
/** Desktop **/
@media only screen and (min-width: 768px){
	ul.submenu-wrap {
		
	}
}

@media only screen and (min-width: 768px){
	.submenu-wrap .cat-sub-item {
	    float: left;
	}
}
@media only screen and (min-width: 768px){
	li.cat-menu-item a.macro-cat::before {
		
	}
}

@media only screen and (min-width: 768px){
	.cat-list-desktop .macro-cat:hover, 
	.cat-list-desktop .macro-cat:focus{
	    color: #C4161C;
	    
	}
}

@media only screen and (min-width: 768px){
	.cat-list-desktop .macro-cat {
	    padding: 12px 12px !Important;
	}
}

@media only screen and (min-width: 768px){
	.submenu-wrap .cat-sub-item {
		width: 33% !Important;
	}
}
@media only screen and (min-width: 768px){
	li .cat-sub-child {
	}
}
ul.user-login-mobile{
    margin-top: 4px;
    margin-bottom: 2px;
    position: absolute;
    right: 15px;
}
.user-login-mobile li {
	background-color: transparent !Important;	
}
.user-login-mobile li a{
	color: #777 !Important;
	text-transform: uppercase;
}
.user-login-mobile li i{
	color: #777 !Important;
}
@media only screen and (min-width: 320px){
	#search-mobile{
	    padding-top: 5px;
	    position: absolute;
	    width: 109%;
	    z-index: 1;
	    padding-bottom: 5px;
	    background: #fff !IMPORTANT;
	}
	#search-mobile input.form-control {
		border: 1px solid #ccc;
		font-size: 14px;
		margin-top: 3px;
	}
	span.number{
		color: #333;
	}

	span.user_balance_mobile {
		font-size: 12px;
	}
}

@media only screen and (max-width: 767px){
	/** MENU **/
	#menu-mobile {
		max-width: 300px;
	    z-index: 2;
	    position: relative;
	    background-color: #e7e7e7;
        margin-left: -1px;
	}
	#menu-mobile .menu-mobile-item{
		border:none;
	}
	.second-level-wrap.open{
		display:block;
	}
	a.level-3-item{
	    text-align: left;
	    padding: 0px 50px 0px 50px !important;
        background-color: #e7e7e7;
	}
	.second-level-wrap li {
/* 	    padding: 0px; */
	    border: none;
	}
	.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
		background-color: #e7e7e7;
    	color: #C4161C !important;
	}
	.navbar-default .navbar-nav .open .dropdown-menu>li>a {
	}
	.second-level-wrap li:hover, .second-level-wrap li:focus {
	    border: none;
	}
	a.submenu-item {
	    color: #757575 !Important;
	}
	a.submenu-item:focus, a.submenu-item:hover {
	}
	#menu-mobile .menu-mobile-item > a {
    	color: #333;
	}
	li.dropdown a.dropdown-toggle:after {
		background: url(/themes/icbcstore/img/chevron-right-grey.png) no-repeat 50% !Important;
	    background-size: contain !Important;
	}
	li.open a.dropdown-toggle:after {
		background: url(/themes/icbcstore/img/chevron-down-primary.png) no-repeat 50% !Important;
	    background-size: contain !Important;
	}
	a.submenu-item{
		font-weight: 500 !IMPORTANT;
	}
	.second-level-wrap li.dropdown-submenu{
	    padding-left: 30px;
	}
	/** MENU **/
	
	header {
	    height: 100px;
	}
	.cart_block{
	    position: fixed !important;
	    margin-top: 110px;
	    width: 100%;
	    right: 0px;
	}
	a.user_name_mobile{
		margin-top: -5px;
    	padding: 0px !important;
    	color: #777;
	}
	span.user_balance_mobile{
	    display: block;
	    clear: both;
	    color: #C4161C;
    	line-height: 1em;
		font-size: 12px;

	}
	span.number{
		color: #333;
	}

	.user_name_mobile_on_click a {
		color: #C4161C;
	}
}
/** Desktop **/

#navLogin{
	background-color: #fff;
	padding-bottom: 2px;
}

#navLogin li:first-child{
	padding-top: 10px;
}

#navLogin li{
	margin-bottom: 4px;
}

#navLogin ul{
	margin-left: 4px;
}


/* New styles */

.messages-wrap {
    cursor: auto !important;
    position: absolute !important;
    right: 60px !important;
    height: 40px !important;
    width: 40px !important;
    border-radius: 100% !important;
    top: 5px !important;
    line-height: 28px !important;
    color: white !important;
    background-color: #C4161C !important;
    border: 1px solid #C4161C !important;
}

.messages-icon {
    margin-top: 10px !important;
}

i.message-icon-color {
	font-size: 18px;
	color: #FFFFFF
}

.cart-contains_icon{
	display: flex;
}

.message-icon-anchor{
	position: absolute; 
	top: 2px; 
	left: 8px;
}

.message-qties-mobile{
	bottom: -3px; 
	position: absolute;
}

.messages-qties {
    position: relative !important;
    margin-top: -11px !important;
    background-color: white !important;
    border-radius: 100% !important;
    width: 22px !important;
    height: 22px !important;
    margin-left: -13px !important;
    border: 1px solid #c4161c !important;
    z-index: 2 !important;
}

.center-block-msg-desktop {
    color: #c4161c !important;
    border-radius: 100% !important;
    margin-top: -5px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    margin-left: -10px !important;
    font-weight: 500 !important;
}

.messages_block {
    display: none;
    position: relative !important;
    float: right !important;
    top: -7px !important;
    right: -25px !important;
    min-width: 270px !important;
    z-index: 1 !important;
}

.messages_block_content {
    background: #cac6ba none repeat scroll 0 0 !important;
    border: medium none !important;
}

.message_block_has_messages {
    padding: 10px 20px !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.message_block_list_messages {
    background: #cac6ba none repeat scroll 0 0 !important;
    border-top: 2px solid #edede5 !important;
    border-bottom: 1px solid #edede5 !important;
    padding: 10px 15px 10px 10px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.message_product_img {
    width: 25% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.messages_information {
    width: 75% !important;
    text-align: left !important;
}

/* SIN MENSAJES */

.message_block_no_messages {
    padding: 10px 20px !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.message_block_buttons {
    background: #cac6ba none repeat scroll 0 0 !important;
    border-top: 1px solid #edede5 !important;
    padding: 20px 20px 10px 20px !important;
}

.button-icbc {
    background: #C4161C !important;
    border: solid 1px #C4161C !important;
    padding: 7px 50px !important;
    font-size: 1.2em !important;
}

.button-icbc:hover {
    border: solid 1px #aa161b !important;
    background: #aa161b !important;
    color: #fff !important;
}
