/*
https://www.w3schools.com/howto/howto_css_responsive_form.asp
Padding: top right bottom left

*/

* {
    box-sizing: border-box;
  }
 
  input[type=text], select, textarea {
    width: 95%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
  }
  
  label {
    padding: 6px 2px 6px 0;
    display: inline-block;
  }
  
  input[type=submit] {
    background-color: #94a6da;
    color: white;
    padding: 10px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    /*float: left;*/
  }
  
  input[type=submit]:hover {
    background-color: #4562a0;
  }
  
  .form_container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 2px;

    font-size: 16px;
  }
    
  .col-25 {float: left; width: 37%; margin-top: 6px; }
  .col-75 {float: left; width: 63%; margin-top: 6px; }

  .col-40 {float: left; width: 40%;  margin-top: 6px; }
  .col-60 {float: left; width: 60%;  margin-top: 6px; }

  .col-50 {float: left; width: 50%;  margin-top: 6px; }
  .col-90 {float: left; width: 90%;  margin-top: 6px; }
  .col-100 {float: left; width: 100%;  margin-top: 6px; }

  /* Clear floats after the columns */
  .form_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, .col-100, input[type=submit] {
      width: 100%;
      margin-top: 0;
    }
  }

  .select_listbox {
    width: 300px;
    height: 170px; /* Controls the height */
    /*overflow-y: scroll;  Allows vertical scrolling */
    /*overflow-x: scroll; */
  }