/* Minor Second spacing with 10px base from http://type-scale.com/ */
html {font-size: 1em;}

body {
  background-color: white;
  font-family: 'Quicksand';
  font-weight: 400;
  line-height: 1.45;
  color: #333;
}

p {margin-bottom: 1.3em;}

h1, h2, h3, h4 {
  margin: 1.414em 0 0.5em;
  font-weight: inherit;
  line-height: 1.2;
}

h1 {
  margin-top: 0;
  font-size: 1.296em;
}

h2 {font-size: 1.215em;}

h3 {font-size: 1.138em;}

h4 {font-size: 1.067em;}

small, .font_small {font-size: 0.937em;}

/* Major Second spacing with 24px base from http://type-scale.com/ */

@media screen and (min-width: 40.5em) {
  html {font-size: 1.5em;}

  body {
    font-family: 'Quicksand';
    font-weight: 300;
    line-height: 1.45;
  }

  p {margin-bottom: 1.3em;}

  h1, h2, h3, h4 {
    margin: 1.414em 0 0.5em;
    font-weight: inherit;
    line-height: 1.2;
  }

  h1 {
    margin-top: 0;
    font-size: 1.602em;
  }

  h2 {font-size: 1.424em;}

  h3 {font-size: 1.266em;}

  h4 {font-size: 1.125em;}

  small, .font_small {font-size: 0.889em;}
}

/* */

body {
    background-color: #28c101;
    color: #fff;
}

div {
    display: none;
}

h1 {
    text-align: center;
    font-weight: bold;
}

label {
    display: inline-block;
    /*margin-right: 1em;*/
    width: 67%;
}

::-webkit-input-placeholder {
   color: inherit;
}

:-moz-placeholder { /* Firefox 18- */
   color: inherit;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: inherit;
}

:-ms-input-placeholder {
   color: inherit;
}

input[type=number] {
    display: inline-block;
    text-align: right;
    font-size: 1em;
    width: 3em;
    border-width: 0;
    border: none;
    background: inherit;
    color: inherit;
    outline: none;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-radius: 0;
    border-bottom-color: rgba(0, 0, 0, 0);
    -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number]:focus {
  border-bottom-color: inherit;
}

aside {
    padding: 1.3em;
    clear: left;
}

article {
    /*max-width: 720px;*/
    margin: 0 auto;
    padding: 1em 5%;
}

input[type=submit]:hover {
  font-weight: 700;
}

input[type=submit] {
    border: 0px;
    background: inherit;
    padding: 0;
    display: block;
    margin: 0 auto;
    font-size: inherit;
    font-family: inherit;
    font-weight: 400;
    color: inherit;
}
