@media screen {
  .ym-form {
    margin: 0 0 1.5em 0;
  }
  .ym-form fieldset {
    position: static;
    background: transparent;
    margin: 0.75em 0 0.75em 0;
    padding: 0 0.5em;
  }
  .ym-form legend {
    background: transparent;
    color: #000;
    font-size: 1.2em;
    line-height: 1.25em;
    font-weight: bold;
    padding: 0 0.5em;
  }
  .ym-form label,
  .ym-form .ym-label {
    color: #666;
    line-height: 1.5;
    padding-top: 0.25em;
  }
  .ym-form .ym-fbox {
    padding: 0;
    margin: 1em 0 1em 0;
  }
  .ym-form .ym-fbox-footer {
    background: #ececec;
    border-top: 1px #e0e0e0 solid;
    padding: 1.5em 1em;
    margin: 0;
  }
  .ym-form .ym-fbox + .ym-fbox {
    margin: 30px 0;
  }
  .ym-form .ym-fbox:last-child {
    margin-bottom: 1em;
  }
  .ym-form .ym-fbox + .ym-fbox-footer {
    margin: 1em 0 0 0;
  }
  .ym-form .ym-fbox :last-child,
  .ym-form .ym-fbox-footer :last-child {
    margin-bottom: 0;
  }
  .ym-form .ym-fbox-heading {
    font-size: 1em;
    font-size: 100%;
    color: #000;
    margin: 1em;
  }
  .ym-form .ym-fbox-check:focus + label {
    color: #000;
  }
  .ym-form .ym-gbox-left {
    padding: 0 10px 0 0;
  }
  .ym-form .ym-gbox-right {
    padding: 0 0 0 10px;
  }
  .ym-form .ym-gbox {
    padding: 0 10px 0 10px;
  }

  .ym-form input,
  .ym-form textarea,
  .ym-form select {
    background: #ededed;
    border: 0;
    border: 1px solid #EDEDED;
    font-family: "futura-pt";
    font-size: 1.5625em;
    line-height: 1em;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -moz-box-shadow: 0;
    -webkit-box-shadow: 0;
    box-shadow: 0;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;

  }
  .ym-form input,
  .ym-form textarea {
    padding: 4px 10px 4px 5px;
  }
  .ym-form select {
    padding: 3px 2px 3px 1px;
  }
  .ym-form optgroup {
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: bold;
  }
  .ym-form .ym-fbox-check input,
  .ym-form input[type="image"],
  .ym-form input[type="radio"],
  .ym-form input[type="checkbox"] {
    border: 0 none !important;
    background: transparent !important;
  }
  .ym-form .ym-message {
    color: #666;
    margin-bottom: 0.5em;
  }
  .ym-form .ym-required {
    color: #800;
    font-weight: bold;
  }
  .ym-form input:valid,
  .ym-form textarea:valid {
    background-color: #ededed;
  }
  .ym-form input:invalid,
  .ym-form textarea:invalid {
    background-color: #fdd;
  }
  .ym-form .ym-error label {
    color: #800;
    font-weight: normal;
  }
  .ym-form .ym-error input,
  .ym-form .ym-error select,
  .ym-form .ym-error textarea {
    border: 1px #800 solid;
  }
  .ym-form .ym-error .ym-message {
    color: #800;
    font-weight: bold;
    margin-top: 0;
  }

  .ym-button,
  .ym-form button,
  .ym-form input[type="button"],
  .ym-form input[type="reset"],
  .ym-form input[type="submit"] {
    display: inline-block;
    white-space: nowrap;
    zoom: 1;
    border: 0;
    color: #333;
    cursor: pointer;
    font: normal 1em/2em Arial, Helvetica;
    margin: 0;
    padding: 0 1.5em;
    overflow: visible;
    /* removes extra side spacing in IE */
    text-decoration: none !important;
  }

  /* pseudo elements don't work on input */
  .ym-form button:before,
  .ym-button:before {
    background: #ccc;
    background: rgba(0, 0, 0, 0.1);
    float: left;
    width: 1em;
    text-align: center;
    font-size: 1.5em;
    margin: 0 1em 0 -1em;
    padding: 0 .2em;
    -webkit-box-shadow: 1px 0 0 rgba(0, 0, 0, 0.5), 2px 0 0 rgba(255, 255, 255, 0.5);
    box-shadow: 1px 0 0 rgba(0, 0, 0, 0.5), 2px 0 0 rgba(255, 255, 255, 0.5);
    border-radius: .15em 0 0 .15em;
    pointer-events: none;
  }

  /* removes extra inner spacing in Firefox */
  .ym-form button::-moz-focus-inner {
    border: 0;
    padding: 0;
  }

  /* If line-height can't be modified, then fix Firefox spacing with padding */
  .ym-form input[type=button]::-moz-focus-inner,
  .ym-form input[type=reset]::-moz-focus-inner,
  .ym-form input[type=submit]::-moz-focus-inner {
    padding: .4em;
  }

  /* The disabled styles */
  .ym-form button[disabled],
  .ym-form button[disabled]:hover,
  .ym-form input[type=button][disabled],
  .ym-form input[type=button][disabled]:hover,
  .ym-form input[type=reset][disabled],
  .ym-form input[type=reset][disabled]:hover,
  .ym-form input[type=submit][disabled],
  .ym-form input[type=submit][disabled]:hover,
  .ym-button.ym-disabled,
  .ym-button.ym-disabled:hover {
    background: #eee;
    color: #aaa !important;
    border-color: #aaa;
    cursor: default;
    text-shadow: none;
    position: static;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  
}
