#cmxform * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#cmxform > div, #cmxform > section > div {
  overflow: hidden;
  padding: 1px;
  margin: 0 0 10px 0;
}
#cmxform > div > label, legend, #cmxform > section > div > label {
	font-weight:bold;
}
#cmxform > div > fieldset > div > div, #cmxform > section > div > fieldset > div > div {
  margin: 0 0 5px 0;
}	
#cmxform fieldset {
	border: 0;
	padding: 0;
}
input[type=text],input[type=email],input[type=tel],input[type=url],input[type=password],textarea,select {
	width: 100%;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee; 
}
input[type=text]:focus,input[type=email]:focus,input[type=tel]:focus,input[type=url]:focus,input[type=password]:focus,textarea:focus,select:focus {
  outline: 0;
  border-color: #00467f;
}	
form:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
@media (min-width: 600px) {
	#cmxform > div > label, legend, #cmxform > section > div > label {
		width: 35%;
		float: left;
		padding-right: 1.5em;
	}
	#cmxform > div > div, #cmxform > div > fieldset > div, #cmxform > section > div > div, #cmxform > section > div > fieldset > div {
		width: 65%;
		float: right;
	}
	input[type=text],input[type=email],input[type=url],input[type=password],input[type=tel] {
	width: 50%;
	}
	select {
		width:auto;
	}
}
@media (min-width: 1200px) {
    #cmxform > div > label,legend, #cmxform > section > div > label {
	   text-align: right;
    }
}