﻿/* 1rem = 16px */

.page.formular  * {
    box-sizing: border-box;
}

body {
    font-family: Arial;
    font-size: 16px;
}

.page.formular p {
    font-size: 0.75rem;
    margin: 0 0 1.0em 0;
    padding: 0;
}

.page.formular input {
    margin: 0;
    padding: 0;
}

/* - Headers - */

/* Titel in FB1: 01 - Antrag auf Ausbildungsförderung */
.page.formular h1 {
    font-size: 1.8rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    margin: 1rem 0 1rem 0;
}

/* "Wichtige Hinweise" */
.page.formular h2, 
.page.formular h3 {
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    color: #007886;
    border-bottom: #007886 0.3125rem solid;
    padding-bottom: 0.25rem;
    margin: 1rem 0 0.5rem 0;
}

.page.formular h3 {
    
    border-bottom-width: 0.25rem;
    margin-bottom: 0;
}

.page.formular h2.roterText, .page.formular h3.roterText,
h2.roterText, h3.roterText {
    color: #770C2C;
    border-bottom-color: #770C2C;
}

.page.formular h4, 
.page.formular h5, 
.page.formular h6 {
    font-size: 0.625em;
    font-family: Arial, Helvetica, sans-serif;
}

.page.formular ul {
    font-size: 0.75rem;
}

.page.formular li {
    margin-bottom: 2px;
}

.page.formular hr {
    float: none;
    clear: left;
    margin: 0;
    padding: 0;
    border: 1px solid #007886;
    margin-top: 1rem;
}

/* ---------- Fuer das Float Layout ---------- */

.formular > *
{
    float: left;
}

h1, h2, h3, h4, h5, h6, .neueZeile {
    clear: left;
}

/* ###################################################################################################################### */
/* Defaults for multiple classes */
/* ###################################################################################################################### */
.textbox, .checkboxes {
    margin-top: 0.625rem;
}

.halbeBreite ~ .halbeBreite:not(.neueZeile) {
    margin-left: 0.75rem;
}

/* ###################################################################################################################### */
/* Custom Classes */
/* ###################################################################################################################### */
.formular {
    margin-top: 4rem;
    margin-left: 4rem;
}

.zweiDrittel.formular {
    width: 48.75rem
}

.thickBox {
    border: #007886 0.25rem solid;
}

.thickBox.rot {
    border: #770C2C 0.25rem solid;
}

.page {
    position: relative;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.clearBoth {
    clear: both;
    float: none;
}

.verticalBottomToTop {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    /* also accepts left, right, top, bottom coordinates; not required, but a good idea for styling */
    -webkit-transform-origin: top left;
    -moz-transform-origin: top left;
    -ms-transform-origin: top left;
    -o-transform-origin: top left;
    transform-origin: top left;
}

button:focus,
input[type="button"]:focus,
input[type="submit"]:focus {
    border: 2px solid #007886 !important;
    background-position: -4px -4px !important;
}

.floatRight {
    float: right;
}

.zweiZeilen {
    height: 5rem;
}

.page-icon2 {
    margin-right: 0.25rem; 
    height: 2.5rem;
    width: 2.25rem;
    padding: 0.75rem 0.75rem 0.75rem 0.25rem;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
}

fieldset .errorText:not(:empty) {
    clear: left;
}

.floatLeft {
    float: left;
}

ul.dash {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

ul.dash > li:before {
    display: inline-block;
    content: "-";
    width: 1em;
    margin-left: -1em;
}

ul.dash li, ol.dash li {
    margin: 0 0 0.5rem 1rem;
    padding: 0;
    font-size: 1.0em;
}

/* ---------- Textboxen ---------- */
.textbox {
    background-color: rgb(222, 227, 223);
    font-size: 0.9rem;
    padding: 0.125rem 0.25em 0.25em 0.25em;
}

.foerderungsnummerTextbox, #txtFoerderungsnummer {
    clear: left;
    width: 26.6rem;
    height: 1.5rem;
    letter-spacing: 1.22rem;
    padding-left: 0.5rem;
}

.zweiDrittel .textbox.ganzeBreite {
    width: 32.25rem;
}

.zweiDrittel .halbeBreiteOhneRand {
    width: 16.5rem;
}

.zweiDrittel .einSechstel {
    width: 5.25rem;
}

.zweiDrittel .zweiSechstel {
    width: 10.5rem;
}

.datum {
    width: 6rem !important;
}

.halbeBreite.datum {
    margin-right: 9.75rem;
}

.datum {
    width: 6rem;
}

.textbox input[type=text] {
    margin: 0.25rem 0 0 0;
    padding: 0;
    border: 0.0625rem solid #007886;
    width: 100%;
}

.describedby {
    width: 10px;
    height: 10px;
}

.checkboxGroup > * {
    display: inline-block;
}

.checkboxGroup {
    margin-top: 0.625rem;
    padding-top: 1.5rem;
}

.checkboxGroup input {
    margin-left: 1rem;
}

.checkboxGroup label {
    vertical-align: text-bottom;
}

/* Spezifität notwendig. Margin greift sonst nicht. */
.checkboxGroup.noMargin, .noMargin {
    margin: 0;
    padding: 0;
}

.checkboxLegend {
    width: 12rem;
    margin: 1.5rem 0 0 1.5rem;
    vertical-align: text-bottom;
}

/* ---------- Fieldsets ---------- */
.formular fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

.formular legend {
    margin: 0;
    padding: 0;
}

.page.formular legend {
    font-size: 0.75rem;
}

.page.formular fieldset input {
    margin-top: 0;
}

.page.formular fieldset label {
    vertical-align: text-bottom;
}

.checkboxLabelGleicheHoehe {
    margin-top: 0.7rem;
    margin-left: 0.3rem;
}

.checkboxLabelGleicheHoehe input {
    /*margin-top: 1.5rem;*/
}

.checkboxLabelGleicheHoehe div {
    display: inline-block;
    padding: 0.25rem 0.5rem;
}

.page.formular fieldset input~input {
    margin-left: 1rem;
}

.checkboxLabelGleicheHoehe legend {
    float: left;
    width: 13.5rem;
    /*margin-top: 0.625rem;*/
}

.checkboxLabelGleicheHoehe:not(.neueZeile) legend{
    /*margin-left: 1.5rem;
    margin-top: 1.5rem;*/
}

.checkboxLabelGleicheHoehe input[type=checkbox]:first-of-type {
    /*margin-left: 1rem;*/
}

.floatLeftCheckboxGroup > legend,
.floatLeftCheckboxGroup > div,
.floatLeftCheckboxGroup input[type=checkbox] { 
    float: left; 

}

/* ---------- Schriften ---------- */
.textRechteSeite {
    width: 14.75rem;
    margin: 1rem 0 0 0;
    padding-left: 1rem !important;
    font-size: 0.7rem;
    line-height: 0.9rem;
    float: right;
    clear: right;
}

table .textRechteSeite {
    margin-top: 0;
}

.Seitenzahl {
    width: 14.75rem;
    margin: 1rem 0 0 0;
    padding-left: 1rem;
    font-size: 0.7rem;
    line-height: 0.9rem;
    float: right;
    clear: right;
    text-align: right
}

.beschreibungstext {
    color: #007886;
    background: url(../images/arrowRight.png) no-repeat;
    background-size: 12px 12px;
}

.beschreibungstext.orangerText {
    color: rgb(247, 166, 0);
    background: url(../images/arrowRightOrange.png) no-repeat;
    background-size: 12px 12px;
}

.beschreibungstext.roterText {
    background: url(../images/arrowRightRed.png) no-repeat;
    background-size: 12px 12px;
}

.regularCase {
    text-transform: none;
}

/*, .thickBox label */
.textbox span, .textbox label {
    font-size: 0.7rem;
}

.defaultLabel {
    font-size: 0.7rem;
}

label, legend, .labelText {
    font-size: 0.75rem;
}

.turkisText {
    color: #007886;
}

.roterText {
    color: #770C2C;
}

.errorText span {
    font-size: 0.7rem;
    display: block;
}

/* ---------- Sichtbarkeit Browser / PDF ---------- */
.printVisible {
    visibility: hidden;
    display: none;
}
.printDisplay {
    display: none;
}

.printHidden {
    visibility: visible;
    display: block;
}

.dummyForCheckbox {
    position: absolute;
    visibility: hidden;
    width: 0;
    height: 0;
    border: 0;
}

.jahreszahl, .jahreszahl[type=text] {
    text-align: center;
    letter-spacing: 0.625rem;
}