/* ALLGEMEINE SACHEN */
@charset "ISO-8859-1"; 

HTML * {
    box-sizing: border-box;
    font-family: sans-serif;
}

BODY {
    background-color: #E0EFEA;
    margin: 0;
}

#content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

#content #content_inner {
    padding: 0 20px;
}

/* EINLEITUNGSBEREICH */
#content IMG {
    width: 130px;
    height: 80px;
    position: absolute;
    right: 40px;
    top: -20px;
}

#content .headline {
    background-color: #009A66;
    max-width: 700px;
    margin-left: -20px;
}

#content H1 {
    padding: 10px 10px 10px 20px;
    color: #fff;
    font-weight: normal;
    font-family: sans-serif;
    font-size: 22px;
}

#content H1 EM {
    font-style: normal;
    font-size: 14px;
}

#content .einleitung .felder_suche {
    border: 1px solid #7F7F77;
    background-color: #F0EFEB;
}

#content .einleitung .felder_suche > DIV {
    padding: 10px;
    overflow: auto;
}

#content .einleitung FORM > LABEL {
    display: block;
    width: 50%;
    float: left;
    margin-bottom: 7px;
    padding: 3px;
}

#content .einleitung FORM INPUT {
    width: 50%;
    float: left;
    border: 1px solid #7F7F77;
    margin-bottom: 7px;
    padding: 3px;
    font: 400 16px sans-serif;
}

#content .einleitung FORM > INPUT:last-child,
#content .einleitung FORM > LABEL[for="esuchdauer"] {
    margin-bottom: 0;
}

#content FORM INPUT:focus{
    outline: inherit;
}

#content .einleitung .einleitungs_text P {
    font-size: 14px;
}

/* HAUPTBEREICH */
#content .hauptteil .text_hauptteil P {
    padding-bottom: 5px;
}

#content .hauptteil FORM {
    background-color: #F0EFEB;
    border: 1px solid #7F7F77;
    margin-bottom: 10px;
}

#content .hauptteil FORM > .form_inner {
    padding: 10px;
    overflow: auto;
}

#content .hauptteil FORM .text LABEL {
    font-size: 13px;
    width: 50%;
    float: left;
    margin-bottom: 5px;
}

#content .hauptteil FORM .text INPUT {
    font: 400 13px sans-serif;
    width: 49%;
    float: left;
    margin-bottom: 5px;
    margin-right: 1%;
}

#content .hauptteil P {
    margin: 0;
    font-size: 13px;
}

#content FIELDSET {
    border: none;
    width: 29%;
    float: left;
    padding: 0;
}

#content .hauptteil FORM LABEL {
    font-size: 13px;
}

#content .hauptteil .radio_frage P {
    width: 70%;
    float: left;
    min-height: 20px;
    line-height: 20px;
}

#content .hauptteil #weiterePersonen.radio_frage FIELDSET,
#content .hauptteil #tierhaltung.radio_frage FIELDSET {
	height: 20px;
}

#content .hauptteil #bescheinigung.radio_frage FIELDSET {
    height: 40px;
}

#content .hauptteil .form_inner > DIV.radio_frage {
    margin-bottom: 5px;
}

#content .hauptteil .form_inner > DIV.radio_frage:last-child {
    margin-bottom: 0;
}

#content .hauptteil .erklaerungen,
#content .hauptteil .einwilligung,
#content .datenschutz {
    background-color: #F0EFEB;
    border: 1px solid #7F7F77;    
    margin-bottom: 10px;
}

#content .hauptteil .erklaerungen_inner,
#content .hauptteil .einwilligung_inner,
#content .datenschutz_inner {
    padding: 10px;
}

#content .hauptteil .unterschrift LABEL {
    width: 25% !important;
    float: left;
}

#content .hauptteil .unterschrift INPUT {
    width: 24% !important;
    float: left;
    margin-right: 1%;
}

#content .hauptteil .unterschrift LABEL[for="unterschrift"] {
    width: 13% !important;
}

#content .hauptteil .unterschrift INPUT:not([type]):disabled {
    background-color: #fff;
    border: 1px solid #7F7F77;
}

#content .hauptteil .unterschrift P {
    float: right;
    margin-right: 83px !important;
}

/* DRUCKBEREICH */

#content .printbereich {
    margin-bottom: 10px;
}

#content .printbereich INPUT {
    padding: 10px;
    border: 1px solid #7F7F77;
    background-color: #F0EFEB;
    cursor: pointer;
}

/* STAND */
#content .stand {
    position: absolute;
    right: -30px;
    transform: rotate(-90deg);
    bottom: 185px;
    font-size: 14px;
}

#content .stand P {
	margin-top: 0;
	margin-bottom: 0;
}

/* IMPRESSUM VERLINKUNG */
#content .impressum_verlinkung {
    float: right;
    margin-top: -40px;
}

#content .impressum_verlinkung A {
    color: #000;
    padding-right: 10px;
    font-size: 14px;
}

#content .impressum_verlinkung A:first-child {
    padding-right: 30px;
}

#content .anschrift {
    width: 100%;
    background-color: #009A66;
    margin-left: -20px;
}

#content .anschrift .anschrift_inner {
    padding-left: 20px;
    color: #fff;
    font-size: 14px;
    line-height: 130%;
}

/* ONLY DRUCKANSICHT */

@media print {
    /* ALLGEMEIN */
    @page {
        margin: 0;
    }
    
    BODY {
        -webkit-print-color-adjust: exact;
    }

    #content {
        background-color: #E0EFEA !important;
        width: 100%;
        height: 100%;
        position: absolute;
        right: 0;
        max-width: 1000px;
    }
    
    #content IMG {
        top: -40px;
    }
    
    #content #content_inner {
        position: relative;
        margin-top: 40px;
    }
    
	#content .einleitung FORM > LABEL,
	#content .einleitung FORM > INPUT {
		width: 48%;
	}

    LABEL,
    .hauptteil P {
        font-size: 15px !important;
    }
    
    /* EINLEITUNGSBEREICH */
    #content .einleitung {
        margin-top: 20px;
    }
    
    /* DRUCKBEREICH */
    #content .printbereich  {
        display: none;
    }
    
    H1 {
        font-size: 18px !important;
        padding: 5px 10px 5px 20px !important;
    }
    
    H2 {
        font-size: 14px !important;
    }
    
    #content .einleitung .felder_suche > DIV LABEL {
        font-size: 13px;
    }
    
    #content .hauptteil .erklaerungen P {
        font-size: 12px !important;
    }
    
    #content .einleitung .felder_suche > DIV INPUT {
        font: 400 13px sans-serif !important;
    }
    
    #content .hauptteil FORM > .form_inner,
    #content .hauptteil .erklaerungen_inner,
    #content .einleitung .felder_suche > DIV {
        padding: 5px !important;
    }
    
    #content .hauptteil .einwilligung { 
        margin-top: 200px;
        padding-top: 10px;
    }
    
    /* STAND */
    #content .stand {
        position: absolute;
        right: -30px;
        transform: rotate(-90deg);
        bottom: 100px;
        font-size: 14px;
    }
    
    /* IMPRESSUM_VERLINKUNG */
    #content .impressum_verlinkung {
        display: none;
    }
    
    /* ANSCHRIFT */
    #content .anschrift {
        width: 110%;
    }
    
    /* DATENSCHUTZ */
    #content .umbruch {
        margin-top: 200px;
        padding-top: 10px;
    }
}

@media screen and (min-width: 1200px) {
	#content .anschrift {
    	width: 1200px;
	}
}
@media screen and (max-width: 645px) and (min-width: 477px) {
    #content .hauptteil #weiterePersonen.radio_frage FIELDSET, 
    #content .hauptteil #tierhaltung.radio_frage FIELDSET {
        height: 40px;
    }
    
    #content .hauptteil .unterschrift LABEL,
    #content .hauptteil .unterschrift INPUT {
        width: 50% !important;
    }
}

@media screen and (max-width: 476px) {
    #content .hauptteil .radio_frage P,
    #content .hauptteil #weiterePersonen.radio_frage FIELDSET, 
    #content .hauptteil .radio_frage FIELDSET {
        width: 100% !important;
    }
    #content .hauptteil #bescheinigung.radio_frage FIELDSET {
        height: 20px;
    }
    #content .hauptteil .unterschrift LABEL[for="unterschrift"],
    #content .hauptteil .unterschrift LABEL,
    #content .hauptteil .unterschrift INPUT {
        width: 100% !important;
    }
}

@media screen and (max-width: 450px) {
    #content .einleitung FORM > LABEL {
        font-size: 14px !important;
    }
    
    #content .einleitung FORM > INPUT {
        font: 400 14px sans-serif !important;
    }
    
    IMG {
        display: none;
    }
}

@media screen and (max-width: 363px) {
    #content LABEL,
    #content .einleitung FORM > LABEL,
    P {
        font-size: 10px !important;
    }
    
    #content .einleitung FORM > INPUT {
        font: 400 12px sans-serif !important;
    }
}