 /* Style inputs, select elements and textareas */

:root
{
 --lineheight: 1.5em;
}

/* Style the container */
.container
{
  font-size: 13px;
  border-radius: 5px;
  //background-color: #f2f2f2;
  //padding: 20px;
}

.container input[type=text]
{
  font-size: 13px; 
  line-height: var(--lineheight);
  width: 400px;
  min-width: 400px;      
  margin: 0 0 7px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  display: inline;
}     

.container select
{
  font-size: 13px; 
  line-height: var(--lineheight);
//  width: 400px;
//  min-width: 400px;      
  margin: 2px 0 7px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

.container textarea
{
  font-size: 13px;
  font-family: "Open Sans", Arial, sans-serif;
  margin: 0 0 8px 10px;
  width: 85%;  
  display: inline;
}

.row
{
 //background-color: pink;
}

/* Style the label to display next to the inputs */
.container label
{
  //padding: 12px 12px 12px 0; 
  margin: 2px 0 0px 0px;
  font-size: 13px;
  line-height: var(--lineheight);
  display: inline-block;
}

.formhint
{
 margin: 5px 0 3px 10px;
 color: #004488;
}

.fail
{
 color: #dd0000;
 margin: 0 0 5px 10px;
}    

.fail2
{
 color: #dd0000;
 margin: 0 0 0px 10px;
}      

.fail3
{
 color: #dd0000;
 margin: 0 0 0px 0px;
}

.agree
{
 margin: 0 0 7px 10px;
}

/* Style the submit button */
input[type=submit]
{
//  background-color: #ddd;
//  color: black;
//  margin: 0 0 5px 10px;
//  border: 1px solid black;
//  border-radius: 4px;
//  cursor: pointer;
//  //float: right;
}

/* Floating column for labels: 25% width */
.col-25
{
  float: left;
  text-align: right;
  width: 25%;
  margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.col-75
{
  float: left;
  width: 75%;
  margin-top: 6px;
}     

/* Floating column for labels: 15% width */
.col-15
{
  float: left;
  text-align: right;
  width: 15%;
  margin-top: 6px;
}

/* Floating column for inputs: 85% width */
.col-85
{
  float: left;
  width: 85%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after
{
  content: "";
  display: table;
  clear: both;
}

.pink { background-color: pink; }
.tick_one_line  { display: none; }
.tick_two_lines { display: block; }

/* 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]
  {
    text-align: left;
    width: 100%;
    margin-top: 0;
    padding: 5px 0 0px 12px;
  }

  .container label
  {
    margin: 2px 0 0px 15px;
    font-size: 13px;
    line-height: var(--lineheight);
    display: inline-block;
  }      

  .container input[type=text], select
  {
    margin: 0 0 7px 10px;
    width: 300px;
    min-width: 300px;      
  }   

  .formhint
  {
   margin: 5px 0 3px 22px;
   color: #004488;
  }

  .tick_one_line
  {
   display: inline-block;
   margin: 0 10px 0 0;
   vertical-align: top;
  }
  .tick_two_lines { display: none; }
}


@media screen and (max-width: 400px)
{

  .container input[type=text], select
  {
   width: 250px;
   min-width: 250px;      
  }    

  textarea
  {
    font-size: 13px;
    font-family: "Open Sans", Arial, sans-serif;
    margin: 0 0 8px 10px;
    width: 75%;
  }
}