.bg-danger {
    background-color: #d62a2a;
}

#cabezote {
	display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.navbar { 
    margin-bottom: 10px;    
}


.elemento-panel {
	/*position: inherit;
    display: inline-block;
    margin: 3px;
    */
    margin-top: 5px;
}

.fade-scale {
  transform: scale(0);
  opacity: 0;
  -webkit-transition: all .25s linear;
  -o-transition: all .25s linear;
  transition: all .25s linear;
}

.fade-scale.in {
  opacity: 1;
  transform: scale(1);
}



/*=============================================
TOP
=============================================*/

#top ul{
	padding-top:8px;
}

#top ul li{
	display:inline;
	line-height:30px;
	margin:0px 5px;
	color:white;
}

.social ul li a i{
	font-size:24px;
	margin:0 1px;
}

.registro ul{
	text-align: right;
	font-size:12px;
}

/*=============================================
HEADER
=============================================*/

header #btnCategorias{
	margin:20px 0;
}

header #btnCategorias p{
	line-height:46px;
	margin-bottom:0px;
}

header #btnCategorias p span{
	cursor: pointer;
}

header #buscador{
	margin:20px 0;
}

header #buscador input{
	border-radius:0;
}

header #buscador button{
	padding:12px;
	border:1px solid silver;
	border-radius:0;
}

header #carrito{
	margin:20px 0;
}

header #carrito button{
	padding:9px 15px;
	border:1px solid silver;
	border-radius:0;
}

header #carrito p{
	padding:2px;
	padding-left:60px;
	border:1px solid #aaa;
	font-size:12px;
}

header #categorias{
	display:none;
	margin-top:-10px;
	position: relative;
	padding-bottom:20px;
}

header #categorias h4{
	margin-top:20px;
	margin-bottom:-10px;
}

header #categorias hr{
	border:1px solid rgba(255,255,255,.3);
}

/*=============================================
VENTANAS MODALES
=============================================*/

.modalTitulo{
	padding:5px 0px;
}

.modalTitulo h3{
	text-align:center;
	margin-top:-5px;
	padding:15px 0px;
	border-radius:5px 5px 0px 0px;
}

.modalFormulario .close{
	position:absolute;
	right:27px;
	top:15px;
	color:white;
}

.modalFormulario .facebook, .modalFormulario .google{
	cursor:pointer;
}

.modalFormulario .facebook p{
	background:#46639f;
}

.modalFormulario .google p{
	background:#d6513e;
}

.modalFormulario .facebook p, .modalFormulario .google p{
	color:white;
	text-align:center;
	line-height:40px;
	padding:8px;
	font-size:18px;
	margin-top:10px;
	margin-bottom:20px;
}

/*
.modalFormulario p i{
	margin-left:-25px;
	margin-right:25px;
	font-size:25px;	
}
*/

.modalFormulario form{
	padding:20px;
}

.modalFormulario form hr{
	border:1px solid #eee;
}


.modalFormulario form input[type="submit"]{
	padding:15px;
}

.modalFormulario form .checkBox{
	margin-top:10px;
}

/*=============================================
ESCRITORIO GRANDE (LG revisamos en 1366px en adelante)
=============================================*/

@media (min-width:1200px){

	/*=============================================
	HEADER
	=============================================*/

	header #logotipo img{
		padding:0px 60px 0px 60px;
		max-height: 120px;
	}

	header #carrito{
		padding-left:100px;
	}

	.modalFormulario .facebook p{
		margin-right:-15px;
	}

	#panel-menu-grande {
		width: 65%;
	}

}

/*=============================================
ESCRITORIO MEDIANO O TABLET HORIZONTAL (MD revisamos en 1024px)
=============================================*/

@media (max-width:1199px) and (min-width:992px){

	/*=============================================
	HEADER
	=============================================*/

	header #logotipo img{		

		padding:0px 30px 0px 30px;
		max-height: 100px;
	}

	header #carrito{
		padding-left:70px;
	}

	.modalFormulario .facebook p{
		margin-right:-15px;
	}

	#panel-menu-grande {
		width: 80%;
	}

}

/*=============================================
ESCRITORIO PEQUEÑO O TABLET VERTICAL (SM revisamos en 768px)
=============================================*/

@media (max-width:991px) and (min-width:768px){

	/*=============================================
	HEADER
	=============================================*/

	header #logotipo img{
		

		padding:0px 10px 0px 10px;
		max-height: 80px;
	}

	header #carrito{
		padding-left:55px;
	}

	header #carrito p{
		display:none;
	}

	.modalFormulario .facebook p{
		margin-right:-15px;
	}

	#panel-menu-grande {
		width: 90%;
	}

}

/*=============================================
MOVIL (XS revisamos en 320px)
=============================================*/

@media (max-width:767px){

	/*=============================================
	TOP
	=============================================*/

	#top ul{
		text-align: center;
	}

	#top #registro{
		border-top:1px solid #222;
	}
	
	/*=============================================
	HEADER
	=============================================*/

	header #logotipo img{
		padding:0px;		
		max-height: 100px;
		
	}

	header #categorias{
		margin-bottom:10px;
	}

	header #buscador{
		margin-bottom:10px;
	}

	header #carrito{
		margin:0px;
	}

	.modalFormulario .google p{
		margin-top:-15px;
	}

	#panel-menu-grande {
		width: 90%;
	}
	
}




.dropdown-large {
  position: static !important;
}
.dropdown-menu-large {
  margin-left: 16px;
  margin-right: 16px;
  padding: 20px 0px;
}
.dropdown-menu-large > li > ul {
  padding: 0;
  margin: 0;
}
.dropdown-menu-large > li > ul > li {
  list-style: none;
}
/*
.dropdown-menu-large > li > ul > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.428571429;
  color: #333333;
  white-space: normal;
}

.dropdown-menu-large > li ul > li > a:hover,
.dropdown-menu-large > li ul > li > a:focus {
  text-decoration: none;
  color: #262626;
  background-color: #f5f5f5;
}
.dropdown-menu-large .disabled > a,
.dropdown-menu-large .disabled > a:hover,
.dropdown-menu-large .disabled > a:focus {
  color: #999999;
}
.dropdown-menu-large .disabled > a:hover,
.dropdown-menu-large .disabled > a:focus {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  cursor: not-allowed;
}
.dropdown-menu-large .dropdown-header  {
  color: #428bca;
  font-size: 18px;
}
@media (max-width: 768px) {
  .dropdown-menu-large {
    margin-left: 0 ;
    margin-right: 0 ;
  }
  .dropdown-menu-large > li {
    margin-bottom: 30px;
  }
  .dropdown-menu-large > li:last-child {
    margin-bottom: 0;
  }
  .dropdown-menu-large .dropdown-header {
    padding: 3px 15px !important;
  }
}
*/

/*MENU CUADRICULA */
.menu-item {
  display: grid;
  grid-column: span 1;
  grid-gap: 1rem;
  overflow: hidden;
  min-height: 130px;  
  background-color: inherit;  
  padding: 5px;
}

.menu-item a {
		font-size: 20px !important;
		background-color: #fbfbfb !important;
		padding: 5px;
		border-radius: 5px;
		padding: 5px 40px 5px 5px;
		border: solid #eee 2px;
		background-image: var(--background) !important;
    background-position: right bottom !important;
    background-repeat: no-repeat !important;    
    background-size: !important;        
    
}

.catp, .catsb {
	min-height: 70px;

}

.catp a, .catsb a {
	text-align: center;	
	padding: 0px !important;    
  display: flex;
  justify-content: center;
  align-items: center;
}




.segundo-nivel {
	color: #428bca !important;
  font-size: 14px !important;
	
	padding: 0px !important;    
  display: flex;
  justify-content: center;
  align-items: center;
}


.tercer-nivel {
	color: #428bca !important;
  font-size: 12px !important;
	
	padding: 0px !important;    
  display: flex;
  justify-content: center;
  align-items: center;
}


.animOpc {

	/*transform: translateY(-100%);
  transition: opacity 0.45s 0.45s ease, transform 0s 1.2s;*/

}


/*
.li {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  padding: 3rem 1rem 1rem;
  
  background-color: white;
  opacity: 1;
  transform: translateY(-100%);
  transition: opacity 0.45s 0.45s ease, transform 0s 1.2s;
}

.menu ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  width: 100%;
}
@media (min-width: 820px) {
  .menu ul {
    grid-template-columns: repeat(4, 1fr);
  }
}
.menu ul li {
  display: grid;
  grid-column: span 1;
  grid-gap: 1rem;
  overflow: hidden;
}
.menu ul a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  width: 100%;
  height: 100%;
  font-size: 1.25rem;
  text-decoration: none;
  color: #2269BB;
  background-color: #2269BB;
  border-radius: 2px;
}
@media (min-width: 450px) {
  .menu ul a {
    font-size: 1.75rem;
  }
}

.menu > ul > li:nth-child(n+3) {
  grid-column: span 2;
}

.menu .sub-menu {
  padding: 0;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 500px) {
  .menu .sub-menu {
    grid-template-columns: repeat(3, 1fr);
  }
}
.menu .sub-menu li a {
  font-size: 0.85rem;
  color: #16457a;
  background-color: #16457a;
}
@media (min-width: 450px) {
  .menu .sub-menu li a {
    font-size: 1rem;
  }
}
.menu .sub-menu li:nth-child(3n) {
  grid-column: span 2;
}
@media (min-width: 500px) {
  .menu .sub-menu li:nth-child(3n) {
    grid-column: span 1;
  }
}
*/

/*
.menu-toggle {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 2px;
  position: relative;
  cursor: pointer;
  width: 28px;
  height: 22px;
  z-index: 100;
}
.menu-toggle:before {
  content: "×";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 2.4rem;
  line-height: 0.4;
  color: #123965;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.menu-toggle span {
  display: block;
  position: relative;
  width: 100%;
  height: 2px;
  background-color: #123965;
  border-radius: 2px;
  transition: transform 0.3s ease;
  transform-origin: 100% 100%;
}
.menu-toggle span:nth-child(1) {
  transition-delay: 0.35s;
}
.menu-toggle span:nth-child(2) {
  transition-delay: 0.4s;
}
.menu-toggle span:nth-child(3) {
  transition-delay: 0.45s;
}
.menu-toggle span:nth-child(4) {
  transition-delay: 0.5s;
}
.menu-toggle span:nth-child(5) {
  transition-delay: 0.55s;
}
.menu-toggle span:nth-child(6) {
  transition-delay: 0.6s;
}
.menu-toggle span:nth-child(1), .menu-toggle span:nth-child(2) {
  grid-column: span 3;
}
.menu-toggle span:nth-child(3), .menu-toggle span:nth-child(6) {
  grid-column: span 2;
}
.menu-toggle span:nth-child(4), .menu-toggle span:nth-child(5) {
  grid-column: span 4;
}
*/
/*
#menu-toggle-input {
  display: none;
}
#menu-toggle-input:checked ~ .menu-toggle span {
  transform: scaleX(0);
}
#menu-toggle-input:checked ~ .menu-toggle span:nth-child(1) {
  transition-delay: 0.05s;
}
#menu-toggle-input:checked ~ .menu-toggle span:nth-child(2) {
  transition-delay: 0.1s;
}
#menu-toggle-input:checked ~ .menu-toggle span:nth-child(3) {
  transition-delay: 0.15s;
}
#menu-toggle-input:checked ~ .menu-toggle span:nth-child(4) {
  transition-delay: 0.2s;
}
#menu-toggle-input:checked ~ .menu-toggle span:nth-child(5) {
  transition-delay: 0.25s;
}
#menu-toggle-input:checked ~ .menu-toggle span:nth-child(6) {
  transition-delay: 0.3s;
}
#menu-toggle-input:checked ~ .menu-toggle:before {
  opacity: 1;
  transition-delay: 0.75s;
}
#menu-toggle-input:checked ~ li {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}
#menu-toggle-input:checked ~ li a {
  color: white;
  transform: translate(0, 0);
}
#menu-toggle-input:checked ~ li > ul > li:nth-child(1) > a {
  transition: color 0.3s 0.825s, transform 0.3s 0.35s ease;
}
#menu-toggle-input:checked ~ li .sub-menu > li:nth-child(1) > a {
  transition: color 0.3s 0.825s, transform 0.3s 0.5s ease;
}
#menu-toggle-input:checked ~ li > ul > li:nth-child(2) > a {
  transition: color 0.3s 0.825s, transform 0.3s 0.4s ease;
}
#menu-toggle-input:checked ~ li .sub-menu > li:nth-child(2) > a {
  transition: color 0.3s 0.825s, transform 0.3s 0.55s ease;
}
#menu-toggle-input:checked ~ li > ul > li:nth-child(3) > a {
  transition: color 0.3s 0.825s, transform 0.3s 0.45s ease;
}
#menu-toggle-input:checked ~ li .sub-menu > li:nth-child(3) > a {
  transition: color 0.3s 0.825s, transform 0.3s 0.6s ease;
}
#menu-toggle-input:checked ~ li > ul > li:nth-child(4) > a {
  transition: color 0.3s 0.825s, transform 0.3s 0.5s ease;
}
#menu-toggle-input:checked ~ li .sub-menu > li:nth-child(4) > a {
  transition: color 0.3s 0.825s, transform 0.3s 0.65s ease;
}
#menu-toggle-input:checked ~ li > ul > li:nth-child(5) > a {
  transition: color 0.3s 0.825s, transform 0.3s 0.55s ease;
}
#menu-toggle-input:checked ~ li .sub-menu > li:nth-child(5) > a {
  transition: color 0.3s 0.825s, transform 0.3s 0.7s ease;
}

.menu > ul > li:nth-child(1) > a {
  transform: translate(calc(-100% - 12px), 0);
  transition: color 0.3s, transform 0.3s 0.2s ease;
}

.sub-menu > li:nth-child(1) > a {
  transform: translate(0, calc(-100% - 12px));
  transition: color 0.3s, transform 0.3s 0.2s ease;
}

.menu > ul > li:nth-child(2) > a {
  transform: translate(calc(-100% - 12px), 0);
  transition: color 0.3s, transform 0.3s 0.25s ease;
}

.sub-menu > li:nth-child(2) > a {
  transform: translate(0, calc(-100% - 12px));
  transition: color 0.3s, transform 0.3s 0.25s ease;
}

.menu > ul > li:nth-child(3) > a {
  transform: translate(calc(-100% - 12px), 0);
  transition: color 0.3s, transform 0.3s 0.3s ease;
}

.sub-menu > li:nth-child(3) > a {
  transform: translate(0, calc(-100% - 12px));
  transition: color 0.3s, transform 0.3s 0.3s ease;
}

.menu > ul > li:nth-child(4) > a {
  transform: translate(calc(-100% - 12px), 0);
  transition: color 0.3s, transform 0.3s 0.35s ease;
}

.sub-menu > li:nth-child(4) > a {
  transform: translate(0, calc(-100% - 12px));
  transition: color 0.3s, transform 0.3s 0.35s ease;
}

.menu > ul > li:nth-child(5) > a {
  transform: translate(calc(-100% - 12px), 0);
  transition: color 0.3s, transform 0.3s 0.4s ease;
}

.sub-menu > li:nth-child(5) > a {
  transform: translate(0, calc(-100% - 12px));
  transition: color 0.3s, transform 0.3s 0.4s ease;
}
*/

/* =============  */

.img-usuario {

	position: absolute;
    width: 32px;
    height: 32px;
    left: 10px;
    top: 8px;
    z-index: 20;

}

.mega-menu-fondo {

	background-color: #fbfeff !important;

}


.mega-menu-fondo li>a {

	background-color: #fbfeff !important;
	

}



.tercer-nivel {
	padding-left: 40px !important;
	color: #b0ab00 !important;
	font-size: 12px !important;
}

.primer-nivel  {
  color: #428bca !important;
  font-size: 14px !important;  
  text-shadow: 0 0 10px #95959542, 6px 6px 6px #b6a8a8b0;
}

.titulo-nivel  {
  color: #428bca !important;
  font-size: 14px !important;
}


.brand-pills > li > a {
        border-top-right-radius: 0px;
    	border-bottom-right-radius: 0px;
 }
    
li.brand-nav.active a:after{
	content: " ";
	display: block;
	width: 0;
	height: 0;
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent;
	border-left: 9px solid #428bca;
	position: absolute;
	top: 50%;
	margin-top: -20px;
	left: 100%;
	z-index: 2;
}

#img_menu {
	right: 10px;
    position: absolute;
    bottom: 10px;
    opacity: 0.2;
    max-width: 300px;
}


#dExpandircategorias > .btn.active {                
	display: none;		
}

#dExpandircategorias > .btn span:nth-of-type(1)  {            	
	display: none;
}

#dExpandircategorias > .btn span:last-child  {            	
	display: block;		
}

#dExpandircategorias > .btn.active  span:nth-of-type(1)  {            	
	display: block;		
}

#dExpandircategorias > .btn.active span:last-child  {            	
	display: none;			
}


