
* {box-sizing: border-box;}
	
#myForm h1 {
	margin: auto;
	text-align: center;
	background-color: #e5e9d0;;
	padding: 10px 0;
}
#myForm .form-container input[type="text"], #myForm .form-container input[type="password"], #myForm textarea { margin: 0; }

/* Button used to open the contact form - fixed at the bottom of the page */
p.fill_form { color: darkred; }
.open-button {
  border: none;
  cursor: pointer;
  opacity: 0.8;
  position: relative;
  font-weight: bold;
  color: blue;
}

/* The popup form - hidden by default */
.form-popup {
  display: none;
  position:fixed;
  top:0; 
  border: 3px solid #f1f1f1;
  z-index: 999;
	height: 510px;
}

/* Add styles to the form container */
.form-container {
  max-width: inherit;
  padding: 10px;
  background-color: #e6e9d7;
}

/* Full-width input fields */
.form-container input[type=text], .form-container input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #4CAF50;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
  border-radius: 0px;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}

@media only screen and (min-width: 768px) {
  .form-popup {
    left: 25%;
width: 50%;
  }
}
@media only screen and (max-width: 767px) {
  .form-popup {
    left: 8%;
	width: 80%;
	
	overflow: scroll;
	overflow-x: hidden;
  }
}

label.checkboxtext
{
  /* Checkbox text */
  font-size: 110%;
  display: inline;
}

label.checkboxtext input[type=checkbox]
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(1.75); /* IE */
  -moz-transform: scale(1.75); /* FF */
  -webkit-transform: scale(1.75); /* Safari and Chrome */
  -o-transform: scale(1.75); /* Opera */
  padding: 10px;
  margin-right: 20px;
}