 /* Style inputs, select elements and textareas */
input[type=text], select, textarea{
font-family: 'Abel', 'sans-serif';
font-size:100%;
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

input[type=password], select, textarea{
font-family: 'Abel', 'sans-serif';
font-size:100%;
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

input[type=date], select, textarea{
font-family: 'Abel', 'sans-serif';
font-size:100%;
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

textarea{
font-family: 'Abel', 'sans-serif';
font-size:100%;
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  height: 100px;
  overflow:hidden;
}


/* Style the label to display next to the inputs */
label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

/* Style the submit button */
input[type=submit] {
  font-family: 'Abel', 'sans-serif';
  background-color: gray;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
  margin-top:10px;
}

/* Style the normal button */
input[type=button] {
  font-family: 'Abel', 'sans-serif';
  background-color: gray;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
  margin-top:10px;
} 

/* Style the container */
.formcontainer {
width:65%;
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin: 0 auto;
}

/* Floating column for labels: 25% width */
.col-25 {
font-family: 'Abel', 'sans-serif';
  float: left;
  width: 25%;
  margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.col-75 {
font-family: 'Abel', 'sans-serif';
  float: left;
  width: 75%;
  margin-top: 6px;
}
/* Floating column for inputs: 100% width */
.col-100 {
font-family: 'Abel', 'sans-serif';
  float: left;
  width: 100%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}



@media all and (min-width: 300px) and (max-width: 1024px) { 

.formcontainer {
width:90%;
}

.col-25, .col-75, input[type=submit] {
width: 100%;
margin-top: 0;
}

input[type=text], select, textarea{
font-size:2.15vh;
}

input[type=password], select, textarea{
font-size:2.15vh;
}

input[type=date], select, textarea{
font-size:2.15vh;
}

textarea{
font-size:2.15vh;
}

label {
font-size:2.15vh;
}

}

@media all and (min-width: 300px) and (max-width: 900px) and (orientation:landscape){ 

.formcontainer {
width:90%;
}

.col-25, .col-75, input[type=submit] {
width: 100%;
margin-top: 0;
}
  
input[type=text], select, textarea{
font-size:2.15vw;
}

input[type=password], select, textarea{
font-size:2.15vw;
}

input[type=date], select, textarea{
font-size:2.15vw;
}

textarea{
font-size:2.15vw;
}

label {
font-size:2.15vw;
}
}




 