/**
 * "Yet Another Multicolumn Layout" - YAML CSS Framework
 *
 * (en) RTL support for forms (gray-theme)
 * (de) RTL Unterstützung für das Gray-Theme des Formularbaukastens
 *
 * @copyright       © 2005-2013, Dirk Jesse
 * @license         CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
 *                  YAML-CDL (http://www.yaml.de/license.html)
 * @link            http://www.yaml.de
 * @package         yaml
 * @version         4.1.2
 */
@media screen {
  .ym-form select {
    padding: 3px 1px 3px 2px;
  }

  /* adjust buttons */
  .ym-button,
  .ym-form button,
  .ym-form input[type="button"],
  .ym-form input[type="reset"],
  .ym-form input[type="submit"] {
    margin: 0 0 0 0.75em;
  }

  .ym-form button:before,
  .ym-button:before {
    float: right;
    margin: 0 -1em 0 1em;
    border-radius: 0;
    border-top-right-radius: 0.15em;
    border-bottom-right-radius: 0.15em;
    -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);
  }

  /* ie6 support styles - redefined buttons, because of missing support for attribute selectors */
  * html .ym-button,
  * html .ym-form button {
    margin: 1.5em 0 0 0.75em;
  }
}
