

form {	padding:5px;
		margin-bottom:0.5em;
		width:100%;
		
		}


fieldset {  background: #fff;
  border: none;
  margin: 0;
  padding: 10px 3px 1.6em;}
fieldset legend {
  font-weight:normal;color:black; border:1px solid rgba(219,234,208,1.0);; border-radius:5px;padding:0 0.3em;
  margin:1em -1em 0 0;
   background-color:rgba(219,234,208,0.5);}

label { width:100%;
  		display:block;
  		cursor:default;
    	float: left;
		clear:both;
		margin-right:0.6em;
		line-height:100%;
				-moz-hyphens: none;
  				-o-hyphens: none;
   				-webkit-hyphens: none;
   				-ms-hyphens: none;
   				hyphens:none;
		text-align:left;
	}

input, textarea, select{
		font-family: 'baarsophia';
		min-width:71%;
		font-size:16px;
		min-height:2.8em;
		background-color:#EAECEC;
		border: 1px solid #c4c4c4;
		padding: 5px 6px;
		margin-bottom:0.8em;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		
		-webkit-box-shadow: 2px 2px 5px #e2e2e2, inset 2px 2px 5px #e2e2e2;
		-moz-box-shadow: 2px 2px 5px #e2e2e2, inset 2px 2px 5px #e2e2e2;
		box-shadow: 2px 2px 5px #e2e2e2, inset 2px 2px 5px #e2e2e2;
		
		 filter:progid:DXImageTransform.Microsoft.Shadow
		 (color=#e2e2e2, Direction=135, Strength=5);
		  -ms-filter:"progid:DXImageTransform.Microsoft.Shadow
		  (color=#e2e2e2, Direction=135, Strength=5)";
}

input:focus, textarea:focus, select:focus { border:1px solid red;}

input[type="checkbox"] {margin-right:0.3em;width:auto;line-height:140%;border:3px solid blue;}


select {
  width:100%;
  border: 4px solid #bbb;
  padding:.75em 1em .5em 1em;
  box-shadow: 0 2px 1px 0 rgba(0,0,0,0.2);
  background-color:yellow;
  background-image:url(px/icons/select-arrow.png);
  background-position: right;
  background-repeat: no-repeat;
}

select:hover {
  box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
}


ol {  list-style-type: none;
  margin: 0;
  padding: 0;}


::placeholder {  color:grey;}
:-ms-input-placeholder {  color:silver;}








.button {
	-moz-box-shadow:inset 0px 1px 0px 0px #bee2f9;
	-webkit-box-shadow:inset 0px 1px 0px 0px #bee2f9;
	box-shadow:inset 0px 1px 0px 0px #bee2f9;
text-decoration:underline;
		

}
.button:hover {

		cursor:pointer;
		text-decoration:underline;}
		
.button:active {
	position:relative;
	top:1px;
}



/* Checkbox....   */
/* The container */
.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 0.7em;
  cursor: pointer;
  font-size: 26px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;  
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
  
 }

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
     border-radius:5px;
	 border:1px solid silver;
	 outline:3px solid #917863;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #336600;border:none;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}