html, body {
  font-size: 16px;
/*  height: 100%;*/
/*  overflow: auto; <- this is the fix */
}
p {
  margin: auto;
  padding: 2px 0 2px 0;
 }

h1 {
	 padding: 2px;
	 margin: auto;
 }
 .content {
  padding: 2px 0 2px 0;
}
 .container {
 /* Por defecto en modo fila, uno al lado del otro */
 display: flex;
 flex-flow: row;
 }
.columna {
	width:50%;
	float:left;
}
.contenedor {
	width:100%;overflow: hidden;
}
.clogo1{width: 33%;float: left;inline-size: auto;}
.clogo2{width: 33%;float: right;inline-size: auto;}

 /* Tablet Landscape */
@media screen and (max-width: 1060px) {
    #primary { width:67%; }
    #secondary { width:30%; margin-left:3%;}  
}
/* Tabled Portrait */
@media screen and (max-width: 768px) {
    #primary { width:100%; }
    #secondary { width:100%; margin:0; border:none; }
	.container {
    /* si es muy angosta, uno debajo del otro */
    flex-flow: column;
	}
	.columna {
	width:100%;
	float:left;
	}
}
table
    {
      border-collapse: collapse;
      font-family: "Courier New";
	  max-width: 768px;
      margin-left: auto;
      margin-right: auto;
      margin-top: 2px;
      margin-bottom: 2px;
    }
    caption
    {
      font-family: "Verdana";
      font-size: 20px;
      font-style: italic;
      margin-bottom: 10px;
    }
    th, td
    {
     padding-left: 4px;
     padding-right: 4px;
     padding-top: 2px;
    }
    th { background-color: #D4D4BF; }
    td { text-align: left; color: #2e2727; font-weight: bold; }
	td.precio { text-align:right; }
    tr:nth-child(even) {background-color: #dddddd;}
    tbody td { border-bottom: 1px solid red; }
    tfoot td
    {
      border-top: 2px solid;
      font-weight: bold;
    }
p.codigo { 
	text-align: left;
    font-weight: bold;
    width: fit-content;
    margin: 4px 1px;
    padding: inherit;
    font-size: smaller;
    border-style: ridge;
    box-shadow: 2px 2px 2px #4e484870;
	}
.precio{
	font-weight: bold;
    color: #FFFFFF;
    background-color: red;
    display: block;
	margin: 6px auto 6px auto;
    width: fit-content;
    text-align: center;
    font-size: 1.2em;
    padding: 1px 2px;
	}
.stk {
	font-weight: bold;
    width: fit-content;
    margin: 4px 1px;
    font-size: smaller;
	}
}	

div.form
{
    display: block;
    text-align: center;
}
form {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
	margin-bottom: 4px;
    text-align: left;
}
input[type=button] {
  border: 0;
  line-height: 2.5;
  padding: 0 20px;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  border-radius: 10px;
  background-color: rgba(220, 0, 0, 1);
  background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
  box-shadow:
  inset 2px 2px 3px rgba(255, 255, 255, 0.6),
  inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}
input[type=button]:hover {
  background-color: rgba(255, 0, 0, 1);
}
input[type=button]:active {
  box-shadow:
    inset -2px -2px 3px rgba(255, 255, 255, 0.6),
    inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

input[type=text] {
  margin:5px 0;
}
input[type=number] {
  margin:10px 0;
}
input[type=submit] {
  border: 0;
  line-height: 2.5;
  padding: 0 20px;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  border-radius: 10px;
  background-color: rgba(220, 0, 0, 1);
  background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
  box-shadow:
    inset 2px 2px 3px rgba(255, 255, 255, 0.6),
    inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}
input[type=submit]:hover {
  background-color: rgba(255, 0, 0, 1);
}
input[type=submit]:active {
  box-shadow:
    inset -2px -2px 3px rgba(255, 255, 255, 0.6),
    inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

input[type=search] {
    padding:5px 15px; 
   -webkit-border-radius: 5px;
    border-radius: 5px; 
	font-size: larger;
}
button {
  border: 0;
  line-height: 2.5;
  padding: 0 20px;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  border-radius: 10px;
  background-color: rgba(220, 0, 0, 1);
  background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
  box-shadow:
    inset 2px 2px 3px rgba(255, 255, 255, 0.6),
    inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}
button:hover {
  background-color: rgba(255, 0, 0, 1);
}
button:active {
  box-shadow:
    inset -2px -2px 3px rgba(255, 255, 255, 0.6),
    inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

select {
    width: 100px;
    height: 20px;
    border: 1px solid #999;
    font-size: 14px;
    border-radius: 5px;
    box-shadow: 4px 4px #ccc;
}
#navbar {
  overflow: hidden;
  background-color: #333;
}
#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
#navbar a:hover {
  background: #ddd;
  color: black;
}
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
.sticky + .content {
  padding-top: 60px;
}
.usuario {
    text-align: right;
    color: black;
    float: right;
    padding: 5px 10px;
    font-size: 10px;
    display: block;
    width: 100%;
}
.main {
  padding: 16px;
  margin-top: 30px;
  height: 1500px; /* Used in this example to enable scrolling */
}
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
#myImg:hover {opacity: 0.7;}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}