/**
 * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework
 *
 * Einheitliche Standardformatierungen für die wichtigten Inhalts-Elemente
 *
 * @copyright       Copyright 2005-2011, Dirk Jesse
 * @license         CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/),
 *                  YAML-C (http://www.yaml.de/en/license/license-conditions.html)
 * @link            http://www.yaml.de
 * @package         yaml
 * @version         3.3.1
 * @revision        $Revision:392 $
 * @lastmodified    $Date:2009-07-05 12:18:40 +0200 (So, 05. Jul 2009) $
 * @appdef yaml
 *
 *
 * Schule Plus Css
 * Author: Stefanie Schneider
 * Link: www.lhtdesign.de
 *
 */

@media screen, projection {

/**
 * ---------------------------------------------------------------------------------------------------- #
 *
 *  Festlegung des optischen Erscheinungsbildes
 *
 *  @section yaml_forms_visual_styling
 */

.error_messages,
.success_messages {
    margin-bottom: 30px;
    padding: 15px 13px 7px;
    background: #f0efef;
}

.error_messages li,
.success_messages li { margin-bottom: 8px; }
.error_messages label { color: #f00; font-weight: 600; }
.success_messages label { color: #387B10; font-weight: 600; }

/* Proportionale Fonts für alle Form-Elemente */
.yform input,
.yform textarea,
.yform select,
.yform optgroup {
/*    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-weight: 400;
    outline: none;*/
}

.yform .type-text .placeholder { color: #aaa; }

.yform .type-text input::-webkit-input-placeholder { color: #aaa; }
.yform .type-text input:-moz-placeholder { color: #aaa; opacity: 1; }
.yform .type-text input::-moz-placeholder { color: #aaa; opacity: 1; }
.yform .type-text input:-ms-input-placeholder { color: #aaa; }

.yform .type-text input,
.yform .type-text textarea,
.yform .type-select select {
/*    border: 1px solid #d2d2cf;
    background-color: #fff;
    resize: none;
    color: #333;*/
}

/* Effekt zur Hervorhebung von Formularfeldern bei :hover oder :focus */
.yform div.type-text input:hover,
.yform div select:hover,
.yform div textarea:hover,
.yform div.type-text input:active,
.yform div select:active,
.yform div textarea:active,
.yform div.type-text input:focus,
.yform div select:focus,
.yform div textarea:focus {
    /*border: 1px solid #888;*/
}


/**
 * ---------------------------------------------------------------------------------------------------- #
 *
 * Vertical-Forms - technical base (standard)
 *
 * |-------------------------------|
 * | fieldset                      |
 * |-------------------------------|
 * |   label                       |
 * |   input / select / textarea   |
 * |-------------------------------|
 * | /fieldset                     |
 * |-------------------------------|
 *
 * Formulargestaltung, bei der sowohl label als auch input/select/textarea mit display:block; gestaltet werden
 *
 * WARNUNG: Dieser Teil enthält mehrere IE-Stabilitäts-Fixes.
 *          Ändere nichts, wenn du dir nicht sicher bist, was du tust!
 */

/* Allgemeine Formatierung des Formulars */
.yform fieldset { display: block; }
.yform label { display: block; cursor: pointer; font-weight: 400; }
.yform legend { display: block; width: 100%; }
.yform .message { display: block; margin-bottom: 0.5em; color: #666; }

.yform .type-check label { font-weight: 400; }

/* Versteckte Felder wirklich verstecken (sonst ggf. hässliche Lücken im Firefox) */
.yform input[type=hidden] { display: none !important; }

/* Pflichtfeldkennzeichnung hervorheben */
.yform sup { color: #800; font-weight: 700; }

/* zeilenweises Float-Clearing */
fieldset:after,
.yform div.type-text:after,
.yform div.type-select:after,
.yform div.type-check:after,
.yform div.type-button:after {
    visibility: hidden;
    display: block;
    clear: both;
    height: 0;
    font-size: 0;
    content: ".";
}

/* Gestaltung der kapselnden DIV-Elemente */
.yform div.type-text,
.yform div.type-select,
.yform div.type-check,
.yform div.type-button {
    position: relative;
    display: block;
}

/* Gestaltung der einzelnen Formularelemente mit annähend gleicher Breite */
.yform .type-text input,
.yform .type-text textarea {
    position: relative;
    display: block;
    width: 85%;
    min-height: 18px;
    -webkit-box-shadow: inset -1px 1px 4px 0 rgba(0, 0, 0, 0.23);
    box-shadow: inset -1px 1px 4px 0 rgba(0, 0, 0, 0.23);
    padding: 10px 10px;
}

.yform .type-text input.prefilled,
.yform .type-text textarea.prefilled { color: #999; }

.yform .type-select select {
/*    position: relative;
    display: block;
    width: 60%;
    padding: 0.3em 2px 0.3em 1px;
    cursor: pointer;*/
}

.yform .type-select select optgroup {
    font-style: normal;
    font-weight: 700;
}

.yform .type-check label {
    display: inline;
    vertical-align: middle;
}

.yform .type-check input {
    margin: 0 2px 0 0;
    vertical-align: middle;
    cursor: pointer;
}

/* Gestaltung von Buttons */
.yform .type-button input {
    overflow: visible;  /* Fixes IE7 auto-padding bug */
    width: auto;
    cursor: pointer;
}

/* Fehlermeldungen */
.yform .error_message {
    display: none;
    margin-bottom: 10px;
    font-weight: 600;
    color: #f00;
}

.yform.error .error_message { display: block; }

.yform .error label,
.yform .error label a,
.yform .error .placeholder { color: #f00; font-weight: 600; }

.yform .error select,
.yform .error .textarea,
.yform .error .text,
.yform .error .tagit { border: 1px solid #f00;}

/* Vermeidung von springenden Checkboxen & Radiobuttons im IE8 */
.yform div.type-check input:hover,
.yform div.type-check input:active,
.yform div.type-check input:focus,
.yform div.type-check input { border: 0 none; }

/* Checkboxen um den gleichen Wert einrücken, wie die Breite der Labels */
.full div.type-text input,
.full div.type-text textarea { width: 95.5%; margin-right: -3px; }
.full div.type-select select { width: 97.0%; margin-right: -3px; }

/* Breitenanpassung für Internet Explorer 5.x und 6.0 */
* html .full div.type-text input,
* html .full div.type-text textarea { width: 95.5%; }
* html .full div.type-select select { width: 97.0%; }


/**
 * ---------------------------------------------------------------------------------------------------- #
 *
 * Columnar forms display - technical base (optional)
 *
 * |-------------------------------------------|
 * | fieldset                                  |
 * |-------------------------------------------|
 * |                                           |
 * |   label   |   input / select / textarea   |
 * |                                           |
 * |-------------------------------------------|
 * | /fieldset                                 |
 * |-------------------------------------------|
 *
 * Formulargestaltung, bei der die label-Elemente nach links fließen
 *
 * WARNUNG: Dieser Teil enthält mehrere IE-Stabilitäts-Fixes.
 *          Ändere nur etwas, wenn du dir nicht sicher bist, was du tust!
 */

/* Spalten-Darstellung */
.columnar .type-text label,
.columnar .type-select label,
.columnar .wrapper_radio > label,
.columnar .type-radio .radio {
    float: left;
    width: 30%; /* Kann auch eine fixe Angabe sein */
}

/* Checkboxen um den gleichen Wert einrücken, wie die Breite der labels */
.columnar div.type-check input { margin-left: 30%; }

.columnar fieldset div.type-button,
fieldset.columnar div.type-button { padding-left: 30%; }

.columnar div.type-text input,
.columnar div.type-text textarea { float: left; width: 60%; margin-right: -3px; }
.columnar div.type-select select { float: left; width: 70%; margin-right: -3px; }

/* Breitenanpassung für Internet Explorer 6.0 */
* html .columnar div.type-text input,
* html .columnar div.type-text textarea { width: 60%; }
* html .columnar div.type-select select { width: 61%; }

}
