 a, div, input, textarea { box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
.luz.on
	{padding: 10px 7px;
	display: flex;
	justify-content: center;
	align-items: center;
  	font-size: 16px;
  	background-color:#D90000;
  	text-align:center;
  	color: #FFFFFF;
  	outline: 0;
  	border: 1px solid #FFFFFF;
  	width: 175px;
  	height: 100%;
border-radius:6px;
  	}
.luz{ 
	padding: 10px 7px;
	font-size: 16px;
	background-color:#9F0000;
	text-align:center;
	color: #FFFFFF;
	outline: 0;
	border: 1px solid #FFFFFF;
	width: 175px;
	height: 100%;
border-radius:6px;
  }
 .busca_pre{background-color:rgba(21,64,109,1); padding:10px 0px; display:block;}
 .busca{
	width: 1200px;
	display: grid;
	grid-template-columns: 1fr  1fr;
	align-items:center;
	grid-column-gap:20px;
	margin: auto;
	}
@media only screen and (max-width: 918px) {
.busca{
	width: 100%;
	display: grid;
	grid-template-columns: 1fr  2fr;
	align-items:center;
	grid-column-gap:10px;
	margin: auto;
	
	}
}
	@media only screen and (max-width: 618px) {
.busca{
	width: 94%;
	display: grid;
	grid-template-columns: 1fr  2fr;
	align-items:center;
	grid-column-gap:10px;
	margin: auto;
	
	}
}	

  
  @media only screen and (max-width: 718px) {
.luz.on, .luz
	{
padding: 10px 7px;
  	font-size: 14px;
  	width: 100px;
line-height : 15px;
  	}
}
  
  .bbSR{  display: grid;
  grid-template-columns: 1fr 50px;
justify-items:center;
align-items:center;
grid-column-gap:0px;}
  
  
  
  
  
  
  
	
.buscaformTX{ text-align: right; color: #fff; font-weight:700; font-size:20px;}
@media only screen and (max-width: 618px) {
.buscaformTX{ display:none;}
}


.buscaform{ width: 100%; float:right; display:table; }










.f_menu_pre {background-color: #D90000;}
.topnavT {
    background-color: #D90000;
    overflow: hidden;
	width: 1200px;
	margin: auto;
	display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
justify-items:center;
align-items:center;
grid-column-gap:0px;
}
@media only screen and (max-width: 1218px) {
.topnavT {
	width: 100%;
	display: block;
  grid-template-columns: 1fr;
justify-items:center;
align-items:center;
}
}
/* Style the links inside the navigation bar */

.topnavT a {
    float: left;
    display: block;
    color: #FFFFFF;
    text-align: center;
    padding: 14px 0px;
    text-decoration: none;
    font-size:16px;
}

@media only screen and (max-width: 1218px) {
.topnavT a {
    padding: 14px 16px;
}
}





/* Add an active class to highlight the current page */
.active {
    background-color: #9F0000;
    color: white;
	width: 100%;
}

@media only screen and (max-width: 618px) {
.active {
	width: 100px;
}

}




/* Hide the link that should open and close the topnav on small screens */
.topnavT .icon {
    display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdownT {
    float: left;
    overflow: hidden;
	width: 100%;
}
@media only screen and (max-width: 618px) {
.dropdownT {
    float: left;
    overflow: hidden;
	width: auto;
}
}

/* Style the dropdown button to fit inside the topnav */
.dropdownT .dropbtnT {
    font-size: 16px; 
    border: none;
    outline: none;
    color: white;
    padding: 14px 0px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
	width: 100%;
}

/* Style the dropdown content (hidden by default) */
.dropdownT-contentT {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
	
}

/* Style the links inside the dropdown */
.dropdownT-contentT a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
	width: 100%;
	
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnavT a:hover, .dropdownT:hover .dropbtnT {
    background-color: #9F0000;
    color: #FFFFFF;
	
	width: 100%;
}
@media only screen and (max-width: 618px) {
.topnavT a:hover, .dropdownT:hover .dropbtnT {
    background-color: #9F0000;
    color: #FFFFFF;
	width: auto;
	padding-left:20px;
	padding-right:20px;
}
}





/* Add a grey background to dropdown links on hover */
.dropdownT-contentT a:hover {
    background-color: #ddd;
    color: black; 
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdownT:hover .dropdownT-contentT {
    display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
.topnavT a:not(:first-child), .dropdownT .dropbtnT {
    display: none;
  }
  .topnavT a.icon {
    float: right;
    display: block;
	padding-left:25px;
	padding-right:25px;
	
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnavT.responsiveT {position: relative; }
  .topnavT.responsiveT a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnavT.responsiveT a {
    float: none;
    display: block;
    text-align: left;
	padding-left: 25px;
  }
  .topnavT.responsiveT .dropdownT {float: none;}
  .topnavT.responsiveT .dropdownT-contentT {position: relative;}
  .topnavT.responsiveT .dropdownT .dropbtnT {
    display: block;
    width: 100%;
    text-align: left;
	padding-left: 25px;
  }
}



.categoriabox{  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
justify-items:center;
align-items:top;
grid-gap:20px;
margin: 10px;
}
@media only screen and (max-width: 618px) {
.categoriabox{  display: grid;
  grid-template-columns: 1fr ;

}
}




.categoriaboxapp{
 width: 100%;
background-color:#f4f4f4;;
display: table-column;
min-height: 160px;
padding: 20px;

}

.menucat{ text-decoration: none; color:#000000; display:block; width:100%;   padding:5px 15px; font-weight:700;}
.menucat:hover { text-decoration: none; color:#ffffff; display: block; width:100%;  background-color:#d94000; padding:5px 15px; }

.menusubcat{ text-decoration: none; color; display: block; width:100%;   padding:5px 15px; color:#666666; }
.menusubcat:hover { text-decoration: none; color:#ffffff; display: block; width:100%;  background-color:#d94000; padding:5px 15px; }
