/*header*/

body:not(.seccion-1) #header {
	margin-bottom: 3em;
}
#header #main-nav-container #main-nav{
	width: 100%;
}
#main-nav-container #main-nav #responsive-nav, 
#header #main-nav-container #main-nav .menu{
	float: left;
	width: auto;
}
#header #main-nav-container #main-nav .menu > li > a{
	padding: 13px 14px;
	font-weight: 400;
}

body.logged-out #quick-access,
.header-inner-right #quick-access{
	display: none !important;
}
#header #main-nav #quick-access{
	position: relative;
    top: 5px;
	left: auto;
	float: right;
	width: auto;
}
#main-nav-container.fixed #quick-access {
    margin-top: 0px;
}
.header5 #quick-access .quick-search-form .form-group {
    display: block !important;
    width: 170px !important;
}
#header #main-nav #quick-access .quick-search-form{
	position: relative !important;
	top: 0 !important;
	left: 0 !important;
	margin-left: 0 !important;
}
#header #quick-access .quick-search-form .btn-custom:active,
#header #quick-access .quick-search-form .btn-custom:hover,
#header #quick-access .quick-search-form .btn-custom:focus,
#header #quick-access .quick-search-form .btn-custom:not(:hover):not(:focus):not(:active){
	border: 1px solid rgba(255,255,255,0.3) !important;
	box-shadow: 0 0 0 !important;	
}
.header5 #quick-access button#quick-search-btn {
    color: #fff !important;
}
#header .logo > a {
	display: inline-block;
	top: 10px;
	position: relative;
	max-width: 30%;
	margin: 10px 0;
}
@media(max-width:767px) {
	#header .logo > a {
		max-width: 94%;
		margin: 10px 0 20px;
		width: 300px;
	}

}
#inner-header {
    padding-top: 30px;
    position: relative;
}

#inner-header:after,
#inner-header:before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 60px;
	right: 0;
	background: url(../images/header-bg.jpg) center;
	z-index: -1;
	background-size: cover;
	opacity: 1;
}

body #inner-header:after, 
body #inner-header:before {
	opacity: 0.1;
}
body.usuario-0 #inner-header:after, body.usuario-0 #inner-header:before {
	/*opacity: 0.1;*/
}
body.usuario-1 #inner-header:after {
    /*background-color: #3e78a8;*/
    /*opacity: 1;*/
    /*background-blend-mode: soft-light;*/
}
body.usuario-1 #inner-header:before {
	/*opacity: 0.1;*/
}
body.usuario-2 #inner-header:after {
    /*background-color: #b70a0b;*/
    /*background-color: #d41e1f;*/
    /*opacity: 0.9;*/
    /*background-blend-mode: soft-light;*/
}

.header5 #inner-header .logo-container{
	margin-bottom: 15px;
}

#inner-header .header-inner-right .dropdown-cart-menu-container,
#inner-header .header-inner-right .dropdown-login {
    position: absolute;
    top: -80px;
}
#inner-header .header-inner-right .dropdown-login .dropdown-menu{
    left: 0;
    right: auto;
}

@media (max-width: 767px) {
	#inner-header .header-inner-right .dropdown-cart-menu-container,
	#inner-header .header-inner-right .dropdown-login {
	    position: absolute;
	    top: 10px;
	    left: auto;
	    right: 10px;
	    z-index: 1000;
	}
	#inner-header .header-inner-right .dropdown-login .dropdown-menu {
	    right: 0;
	    left: auto;
	}
	.logged-in #inner-header .header-inner-right .dropdown-cart-menu-container,
	.logged-in #inner-header .header-inner-right .dropdown-login {
	    top: -45px;
	}
	.logged-in #inner-header .header-inner-right .dropdown-login {
	    right: auto;
	    left: 15px;
	}
	.logged-in #inner-header .header-inner-right .dropdown-login .dropdown-menu {
	    right: auto;
	    left: 0;
	}

	#header.header5 #inner-header .logo-container {
	    margin-bottom: 40px;
	}
}
#inner-header .header-inner-right .btn-group.btn-checkout {
	display: none;
}
.bx-wrapper .bx-controls-direction a.bx-prev,
.bx-wrapper .bx-controls-direction a.bx-next,
#inner-header .header-inner-right .dropdown-login .btn.btn.dropdown-toggle,
#header.header5 .dropdown-cart-menu-container .btn.btn.dropdown-toggle {
	color: #fff;
	border: 1px solid rgba(255,255,255,0.4);
	border-radius: 5px;
}
body.usuario-0 .bx-wrapper .bx-controls-direction a.bx-prev,
body.usuario-0 .bx-wrapper .bx-controls-direction a.bx-next,
body.usuario-0 #inner-header .header-inner-right .dropdown-login .btn.btn.dropdown-toggle,
body.usuario-0 #header.header5 .dropdown-cart-menu-container .btn.btn.dropdown-toggle {
	background-color: #646464;
}
body.usuario-1 .bx-wrapper .bx-controls-direction a.bx-prev,
body.usuario-1 .bx-wrapper .bx-controls-direction a.bx-next,
body.usuario-1 #inner-header .header-inner-right .dropdown-login .btn.btn.dropdown-toggle,
body.usuario-1 #header.header5 .dropdown-cart-menu-container .btn.btn.dropdown-toggle {
	background-color: #3e78a8;
}
body.usuario-2 .bx-wrapper .bx-controls-direction a.bx-prev,
body.usuario-2 .bx-wrapper .bx-controls-direction a.bx-next,
body.usuario-2 #inner-header .header-inner-right .dropdown-login .btn.btn.dropdown-toggle,
body.usuario-2 #header.header5 .dropdown-cart-menu-container .btn.btn.dropdown-toggle {
	background-color: #b70a0b;
}

/*SLIDER*/
div#bxslider {
    width: 100%;
    padding-right: 0 !important;
    padding-left: 0 !important;
}
#slider-edge .left-side-shadow,
#slider-edge .right-side-shadow {
    background: #353535;
    opacity: 1;
    border: 0;
    z-index: 100;
    display: none;
}
.bx-wrapper .bx-viewport{
	height: 0 !important;
	padding-top: 33% !important;
}
.bx-wrapper .bx-viewport > .bxslider {
    position: absolute !important;
    top: 0;
    height: 100%;
}
.bx-wrapper .bx-viewport > .bxslider li .slider-item{
	background-color: #efefef;
    background-image: none !important;
    text-align: center;
}
.bx-wrapper .bx-viewport > .bxslider li .slider-item img{
    display: inline-block !important;
    opacity: 1;
}
#bxslider .slider-item-details{
	display: none;
}
.bx-wrapper .bx-controls-direction a {
    background-image: none;
    text-align: center;
    padding: 0;
    color: #fff;
}
.bx-wrapper .bx-controls-direction a.bx-prev:before{
	content: "\f053";
}
.bx-wrapper .bx-controls-direction a.bx-next:before{
	content: "\f054";
}
.bx-wrapper .bx-controls-direction a.bx-prev:before,
.bx-wrapper .bx-controls-direction a.bx-next:before {
	position: absolute;
	top: 50%;
	text-align: center;
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-indent: 0;
	color: #999;
	line-height: 2;
	font-size: 2em;
	margin-top: -30px;
	left: 50%;
	margin-left: -8px;
	color: #fff;
}
@media (max-width: 767px) {
	.bx-wrapper .bx-viewport,
	.bx-wrapper .bx-viewport > .bxslider,
	.bx-wrapper .bx-viewport > .bxslider li,
	.bx-wrapper .bx-viewport > .bxslider li .slider-item {
		min-height: 200px;	
	}
	.bx-wrapper .bx-viewport > .bxslider li .slider-item {
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: hidden;
	}
}

/*PRODUCTOS*/
div#modulo-productos-82 header.content-title,
div#modulo-productos-6 header.content-title {
    display: none;
}

#sidebar li.list-group-item {
    padding: 5px 15px;
}

.item .item-marca .fa-tags:before,
.item .fa-barcode:before {
    content: "Cód.";
    font-family: 'Arimo', sans-serif;
    font-size: 0.8em;
    margin-right: -2px;
    font-weight: bold;
}
.item .item-marca .fa-tags{
	opacity: 1 !important;
}
.item .item-marca .fa-tags:before{
	content: "Marca: ";
	color: #252525;
}
.item .item-unidad .fa-tags:before{
	content: "Unidad: ";
	color: #252525;
	font-size: 13px;
}
h4.item-cat.item-marca.item-unidad {
    font-size: 20px;
    font-weight: bold;
    margin-top: 8px;
}
tr.item.item-tabla .item-marca h5{
	font-size: 14px;
	margin-bottom: 0;
}
tr.item.item-tabla .item-marca{
	margin-bottom: 0;
}
tr.item.item-tabla .item-name + .item-cat, .item-cat + .item-marca{
	margin-top: 5px;
}
tr.item.item-tabla .item-cat {
    margin-bottom: 0;
}
tr.item.item-tabla .item-cod {
    margin-bottom: 0;
    font-size: 1em;
    margin-top: 5px;
}
tr.item.item-tabla .item-name{
	font-size: 1em;
}
tr.item.item-tabla .item-meta-cats {
    background: #f8f8f8;
    padding: 5px 10px;
}
tr.item.item-tabla .item-price-container{
	opacity: 1;
	left: 0;
	top: 0;
	width: auto;
/*	height: 30px;
	line-height: 30px;
*/	height: auto;
    line-height: 20px;
	border-radius: 0;
	position: relative;
	background: none !important;
	color: #333;
	margin: 0 auto;
	font-size: 24px; 
	/*float: left;*/
}
tr.item.item-tabla .item-price-container table {
    clear: left;
    margin: 0;
    font-size: 1em;
    float: none;
    margin: 0 auto;
}
tr.item.item-tabla td .item-price-container table td {
    position: relative !important;
    overflow: hidden;
    padding: 5px 10px !important;
    font-size: 15px;
    min-width: auto !important;
    border: 1px solid #efefef;
}
tr.item.item-tabla td .item-price-container table thead td {
    font-size: 12px;
    padding: 3px !important;
    background: #efefef;
}
tr.item.item-tabla .item-price-container table td .item-price {
    margin-top: 0px !important;
    margin-left: 0px !important;
}
tr.item.item-tabla .item-price-container > .item-price {
    margin-top: 10px !important;
    margin-left: 0px !important;
}
tr.item.item-tabla .item-action {
	text-align: center !important;
}
tr.item.item-tabla .item-action .icon-cart-text{
	padding: 10px 0;
}
tr.item.item-tabla .item-action span.cantidad, 
tr.item.item-tabla .item-action .item-add-btn {
    width: 86px;
    /*float: left;*/
    clear: none;
    display: inline-block;
}
tr.item.item-tabla .item-action .item-add-btn {
    width: 35px;
    text-align: center;
}
tr.item.item-tabla .item-image-wrapper img.cucarda {
    transform: scale(0.5) translate(45px,45px);
}

/*DETALLE*/
#modulo-producto-detalle .item-action-inner,
#modulo-producto-fotos-31 .item-price-container,
#modulo-producto-fotos-31 #product-image-carousel-container {
    display: none !important;
}
#modulo-producto-fotos-31 #product-image-container {
    float: none;
    display: block;
    margin: 0 auto;
}
#modulo-producto-fotos-31 #product-image-container img{
	width: auto;
}
/*FIN DETALLE*/

/*SIN LOGUEAR*/
body.usuario-0 li#main-menu-seccion-15,
body.usuario-0 li#main-menu-seccion-5,
body.usuario-0 li#main-menu-seccion-2,
body.usuario-0 li#main-menu-seccion-14{
	display: none !important;
}
/*RODIMAR*/
body.usuario-1 li#main-menu-seccion-15,
body.usuario-1 li#main-menu-seccion-14{
	display: none !important;
}
body.usuario-1 .bx-wrapper .bx-controls-direction a.bx-prev,
body.usuario-1 .bx-wrapper .bx-controls-direction a.bx-next,
body.usuario-1 #responsive-nav-button #responsive-nav-button-icon,
body.usuario-1 .btn-primary,
body.usuario-1 #footer,
body.usuario-1 .item-add-btn,
body.usuario-1 .item-price-container{
	background-color: #3e78a8 !important;
}
body.usuario-1 #main-nav-container {
    background: rgba(62, 120, 168, 0.9) !important;
}
/*SUPER*/
body.usuario-2 li#main-menu-seccion-2,
body.usuario-2 li#main-menu-seccion-5{
	display: none !important;
}
body.usuario-2 .bx-wrapper .bx-controls-direction a.bx-prev,
body.usuario-2 .bx-wrapper .bx-controls-direction a.bx-next,
body.usuario-2 #inner-header .header-inner-right .dropdown-login .btn.btn.dropdown-toggle, 
body.usuario-2 #header.header5 .dropdown-cart-menu-container .btn.btn.dropdown-toggle,
body.usuario-2 #main-nav-container,
body.usuario-2 #responsive-nav-button #responsive-nav-button-icon,
body.usuario-2 .btn-primary,
body.usuario-2 #footer,
body.usuario-2 .item-add-btn,
body.usuario-2 .item-price-container{
	background-color: #b70a0b !important;
}
body.usuario-2 #main-nav-container {
    background: rgba(183, 10, 11, 0.9) !important;
}

/*RODIMAR*/
body.usuario-1 #modulo-servicios .icon-wraper i,
body.usuario-1 a:not(.btn):not(.item-add-btn),
body.usuario-1 a:not(.btn):not(.item-add-btn):hover{
	color: #3e78a8;
}
/*SUPER*/
body.usuario-2 #modulo-servicios .icon-wraper i,
body.usuario-2 a:not(.btn):not(.item-add-btn),
body.usuario-2 a:not(.btn):not(.item-add-btn):hover{
	color: #b70a0b;
}


body.usuario-0 #meta-cats .title-bg h3,
body.usuario-0 #footer, 
body.usuario-0 #footer a {
    color: #fff;
}
body.usuario-0 footer, 
body.usuario-0 #footer, 
body.usuario-0 footer #meta-cats .title-bg h3, 
body.usuario-0 footer #meta-cats .flex-direction-nav {
    background-color: #616161;
}

/*SERVICIOS*/
#modulo-servicios .services-box,
#modulo-servicios .services-box:hover {
    box-shadow: 0 0 0;
    border-radius: 50%;
    padding: 0;
    border: 0;
    padding-top: 100%;
    position: relative;
}
#modulo-servicios .services-box:hover {
    box-shadow: inset 0 1px 1px #fff, 0 0 3px rgba(0,0,0,0.5);
    box-shadow: 0 0 0;
}
#modulo-servicios .services-box-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    border-radius: 50%;
    border: 4px solid;
    border: 0;
}
#modulo-servicios .icon-wraper {
	font-size: 20px;
}
#modulo-servicios .services-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: -1px;
    font-weight: 400;
}
#modulo-servicios .services-box .small-bottom-border {
    display: none;
}
#modulo-servicios .icon-wraper i.glyphicon-certificate:after{
	content: "\f00c";
	position: absolute;
	top: 50%;
	text-align: center;
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-indent: 0;
	color: #999;
	line-height: 1;
	font-size: 0.6em;
	left: 50%;
	margin-left: -0.5em;
	margin-top: -0.5em;
	color: rgba(255, 255, 255, 0.8);
}
body.home #modulo-servicios {
    padding: 6em 0;
}
body.usuario-0 #modulo-servicios .services-box-wrapper {
	border-color: #c6c6c6;
}
body.usuario-1 #modulo-servicios .services-box-wrapper {
	border-color: #3e78a8;
}
body.usuario-2 #modulo-servicios .services-box-wrapper {
	border-color: #b70a0b;
}

@media (max-width: 767px) {
	body.home #modulo-servicios {
		padding: 3em 0;
	}
	#modulo-servicios .services-box, 
	#modulo-servicios .services-box:hover{
		padding-top: 70%;
	}
}

/*FOOTER*/
footer,
#footer {
    z-index: 1;
    position: relative;
}

body.usuario-1 #footer,
body.usuario-2 #footer,
body.usuario-1 #footer a,
body.usuario-2 #footer a{
	color: #ccc !important;
}
body.usuario-1 #footer a:hover,
body.usuario-2 #footer a:hover{
	color: #fff !important;
}

body.usuario-1 footer #meta-cats .title-bg h3, 
body.usuario-1 footer #meta-cats .flex-direction-nav {
    background-color: #3e78a8;
    color: #fff;
}
body.usuario-2 footer #meta-cats .title-bg h3, 
body.usuario-2 footer #meta-cats .flex-direction-nav {
    background-color: #b70a0b;
    color: #fff;
}
body.usuario-0 #footer .footerslider .item-cod b {
    color: #333;
}
#footer .footerslider .btn-extra {
    display: none;
}

span.new-rect {
    left: -20px;
    top: 10px;
    font-size: 11px;
    padding: 1px 26px;
}

body.seccion-1 #modulo-texto-44 {
    padding-top: 6em;
}
body.seccion-1 #modulo-texto-44 figure.img-responsive {
    border-radius: 50%;
    overflow: hidden;
    width: 90%;
    padding-top: 90%;
    position: relative;
    margin: 0 auto;
}
body.seccion-1 #modulo-texto-44 figure.img-responsive img {
    position: absolute;
    top: 0;
    left: 0;
}

/*form-contacto home*/
div#modulo-form-contacto-86 .input-group {
    margin-bottom: 2px;
}

div#modulo-form-contacto-86 form#formContacto, 
div#modulo-mapa-54 div.mapa-container {
    border: 15px solid #fff;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 3px rgba(0,0,0,0.6);
}
div#modulo-form-contacto-86, div#modulo-mapa-54 {
    margin: 6em auto;
}
@media (max-width: 767px) {
	div#modulo-form-contacto-86, div#modulo-mapa-54 {
	    margin: 3em auto;
	}
}

div#modulo-articles-container {
    display: flex;
    flex-wrap: wrap;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}

div#modulo-articles-container > .category-toolbar,
div#modulo-articles-container > header {
    position: absolute;
    top: 20px;
    left: 15px;
    width: 100%;
}
div#modulo-articles-container > .category-toolbar {
    bottom: 20px;
	top: auto;
}

#modulo-articles-container.blog-detalle .article,
#modulo-articles-container.blog-lista .article {
    padding: 0 15px;
}

#modulo-articles-container.blog-lista .article {
    flex: 0 0 33%;
    display: flex;
    flex-direction: column;
}

#modulo-articles-container .article-data-container, 
#modulo-articles-container .article-media-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
    margin: 10px 0 !important;
}


#modulo-articles-container .article .article-meta-date {
    display: none;
}

span.icon-cart-text.btn-comprar {
    display: block;
}

@media (min-width: 768px) {
	
	#formRegistro li li {
	    display: flex;
	    flex-wrap: wrap;
	}

	#formRegistro li li > div {
	    flex: 1 1 50%;
	    padding: 0 14px;
	    max-width: 50%;
	}

}

/*
body.home section#content > .container:last-of-type {
	overflow: hidden;
}
body.home section#content > .container:last-of-type:before {
	content: '';
	position: absolute;
	background-position: top -240px center;
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
	left: -30px;
	height: 100%;
	right: -30px;
	transform: rotate(172deg);
	opacity: 0.95;
}
body.home.usuario-0 section#content > .container:last-of-type:before {
	background-image: url(../images/bg-gris.svg);
}
body.home.usuario-1 section#content > .container:last-of-type:before {
	background-image: url(../images/bg-azul.svg);
}
body.home.usuario-2 section#content > .container:last-of-type:before {
	background-image: url(../images/bg-rojo.svg);
}
*/

.btn-reset, .btn-reset:hover {
	color: #fff !important;
	padding: 2px 10px;
	box-shadow: 0 0 0;
	background: #737272 !important;
	border-color: #737272;
	margin: 0 3px 8px 0;
	border-radius: 7px;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.btn-reset i {
    margin-right: 7px;
}
