.row:before, .row:after, .clearfix:before, .clearfix:after {
  display: table;
  content: " "; }

.row:after, .clearfix:after {
  clear: both; }

.row, .clearfix {
  *zoom: 1; }

img {
  max-width: 100%;
  height: auto; }

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

body, input, textarea, button {
  font-family: 'Lato', sans-serif;
  font-weight: 200; }
  body:focus, input:focus, textarea:focus, button:focus {
    outline: none; }

.test {
  width: 50%;
  max-width: 640px;
  margin: auto;
  outline: 1px solid red;
  padding: 1em; }
  .test p {
    font-size: 12pt; }

p {
  line-height: 1.3em;
  margin: 0 0 0.66em 0; }

button, .button {
  display: inline-block;
  border: 1px solid #3f3f3f;
  background-color: #3f3f3f;
  padding: 0.5em;
  text-shadow: 0px;
  background-color: silver; }

ul.main-menu {
  border-bottom: 1px solid #3f3f3f; }
  ul.main-menu li {
    display: inline-block;
    padding: 0.25em;
    margin: 0.1em 0.25em; }

.form-field input, .form-field textarea {
  min-width: 200px; }
.form-field input {
  border: 1px solid #373737;
  padding: 0.5em; }
  .form-field input.needs-validation:invalid {
    background-color: inherit; }
  .form-field input.needs-validation.valid {
    background-color: #3fcf64; }
  .form-field input:focus {
    outline: none; }
.form-field textarea {
  padding: 0.5em; }
  .form-field textarea:focus {
    outline: none; }

/* EQCSS */
@element ".test-p" and (min-lines: 7) {
  .test {
    background-color: yellow; } }
