

#agrupar {
width: 95%;
margin: 2px auto;
text-align: left;
border:1px solid black; 
border-collapse:collapse;
}

   /* table{
      border: 2px solid blue; 
    }

* {
  box-sizing: border-box;
  } */

/*Formato del formulario*/

select[type=text] {
  width: 90%;
  height: 65%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  resize: horizontal;
}


input[type=text], select, textarea {
  width: 90%;
  height: 65%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  resize: horizontal;
}



select[type=text] {
  width: 90%;
  height: 65%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  resize: horizontal;
}


input[type=email], select, textarea {
  width: 90%;
  height: 65%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  resize: horizontal;
}

input[type=password], select, textarea {
  width: 90%;
  height: 1%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  resize: horizontal;
}

input[type=number], select, textarea {
  width: 90%;
  height: 1%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  resize: horizontal;
}

input[type=date], textarea {
  width: 80%;
  height: 15px;
  padding: 12px;
  margin-bottom: 2px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  resize: horizontal;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

input[type=submit] {
  background-color: #4CAF50;
  color: white;
  width: 15%;
  height: 30%;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

input[type=reset] {
  background-color: #F4D03F;
  color: white;
  width: 15%;
  height: 30%;
  margin-right: 20px;
  margin-bottom: 15px;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}


#container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 2px;
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
  margin-left: 55px;
  font: 14px verdana, sans-serif;
}

.col-75 {
  float: left;
  width: 55%;
  margin-top: 6px;
  margin-right: 5px;
  font: 10px verdana, sans-serif;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
}

}

<!--Para el formato de la tabla del menú:-->

#agrupar {
width: 960px;
margin: 5px auto;
text-align: left;
}

#cabecera {
background: #ffffff;
border: 1px solid #999999;
padding: 0px;
}


#menu {
background: #ededed;
padding: 5px 5px;
border-top: 2px solid #999999;
border-bottom: 2px solid #999999;
color:gray;
text-decoration: none;
}

#menu li {
display: inline-block;
list-style: none;
padding: 5px;
font: bold 12px verdana, sans-serif;
color:gray;
text-decoration: none;
border-radius: 2px solid #999999;
}

<!--Para el formato de la tabla del menú:-->

body {margin: 0;}

ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #566573;
}

ul.topnav li {float: left;}

ul.topnav li a {
  display: block;
  color: white;
  text-align: center;
  /*padding: 14px 16px;*/
  padding: 5px 2px;
  text-decoration: none;
}
/*color de fondo al mousehover*/
ul.topnav li a:hover:not(.active) {background-color: #610B21;} /*Color naranja*/

ul.topnav li a.active {background-color: #4CAF50;}

ul.topnav li.right {float: right;}

@media screen and (max-width: 600px) {
  ul.topnav li.right, 
  ul.topnav li {float: none;}
}


#tabla {
display: inline-block;
list-style: none;
border:8px;
padding: 5px;
font: bold 12px verdana, sans-serif;
color:gray;
text-decoration: none;
border-radius: 2px solid #999999;
}
