/* ----------------------------------------------------------------------------- *
 *                           Styles der Basisversion                             *
 * ----------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------- *
 * Änderung des default-Box-Modells aller Elemente auf "border-box"
 * http://www.paulirish.com/2012/box-sizing-border-box-ftw/
 * << apply a natural box layout model to all elements >>
 * ----------------------------------------------------------------------------- */
*, *:before, *:after {
    -webkit-box-sizing: border-box; /* Safari/Chrome, andere WebKit-Browser */
    -moz-box-sizing: border-box; /* Firefox, andere Gecko-Browser */
    box-sizing: border-box; /* Opera/IE 8+ */
}

p.teasertext {
    margin: 0.8em 20px;
}
fieldset .checkboxes {
	margin-left: 35%;

}


/* ----------------------------------------------------------------------------- *
 *                           Styles der Tabletversion                            *
 *                          750px / 16px/em = 46.875em                           *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 46.875em) {
    
    /* Schriftverkleinerung wird für große Screens wieder aufgehoben */
    @media only screen and (max-width: 78em) {
        body {
            font-size: 0.938em; /* 15px */
        }
    }

    p.teasertext {
        margin: 0.8em 0;
    }
}

/* ----------------------------------------------------------------------------- *
 *                          Styles für kleine Desktops                           *
 *                           1024px / 16px/em = 64em                             *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 64em) {
}
/* ----------------------------------------------------------------------------- *
 *                          Styles für große Desktops                            *
 *                           1248px / 16px/em = 78em                             *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 78em) {
}

/* ----------------------------------------------------------------------------- *
 *                  Beispiel Responsive-Nav im im Desktop-Layout                 *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 46.875em) {

    /* responsive-nav.js v1.0.14 by @viljamis - ende */
}




/* NEU */
/* ----------------------------------------------------------------------------- * 
 *                          Styles für Formulare                                 *
 * ----------------------------------------------------------------------------- */

fieldset {
    border: 1px solid #5C570F;
    width: auto;
}

legend {
    color: #51400F;
    font-size: 1.2em;
    padding: 0 0.5em;
}

.formset {
    margin: 0.5em 0;
    background-color: rgba(255,255,255,0.83);
}

.formset label, .formset input, .formset textarea {
    display: inline-block;
}

.formset label {
    width: 100%;
    padding-right: 2%;
}

.formset input, .formset textarea {
	width: 100%;
	border: 1px solid #C2D2E5;
	padding: 0.2em;
	color: #2B230C;
	background-color: #D4B656
}

.submit-btn {
	border: 1px solid #C2D2E5;
	padding: 0.4em;
	color: #F8E4A7;
	margin-right: 2.5%;
	background-color: #5C4605;
	width: 62%;
	margin-left: 3%;
	float: right;
	clear: both;
}

input:required {
    padding-right: 3%;
    background: url("../gfx/char_asterisk.svg") no-repeat scroll right top / 4% auto transparent;
	background-color:#D4B656
}


input[type='number']:out-of-range {
    border-color: red;
}

/* Positionierung der Required * in em */
em{

    left: 98%;
}

/* ----------------------------------------------------------------------------- *
 *                              480px / 16px/em = 30em                           *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 30em) {
    .formset label {
        width: 34%;
        text-align: right;
    }

    .formset input, .formset textarea {
        width: 62%;
    }
    
    em{
        left: 32.5%;
    }
}
@media only screen and (max-width: 479px) {
	fieldset .checkboxes{
	width: 100%;
	padding-right: 2%;
	margin-left: 0;
}
.submit-btn {
	width: 93%;
	margin-left: 0%;
	margin-right:4%;
	float: none;
	clear: right;
}

}
