:root{
    --freising-gelb: #ffd71c;
    --freising-blau: #28a0e6;
    --freising-rot: #f61521;
}

/*---Schriftart Freising Sans einbinden---*/
@font-face {
    font-family:  'myfont';
        src:  url('../includes/ressource?mid=1&name=FreisingSansBeta18-Regular.ttf') format('ttf'),
          url('../includes/ressource?mid=1&name=FreisingSansBeta18-Bold.ttf') format('ttf'),
          url('../includes/ressource?mid=1&name=FreisingSansBeta18-Italic.ttf') format('ttf'),
          url('../includes/ressource?mid=1&name=FreisingSansBeta18-BoldItalic.ttf') format('ttf'),
          url('../includes/ressource?mid=1&name=FreisingSansBeta18-Regular.woff') format('woff'),
          url('../includes/ressource?mid=1&name=FreisingSansBeta18-Bold.woff') format('woff'),
          url('../includes/ressource?mid=1&name=FreisingSansBeta18-Italic.woff') format('woff'),
          url('../includes/ressource?mid=1&name=FreisingSansBeta18-BoldItalic.woff') format('woff'),
          url('../includes/ressource?mid=1&name=FreisingSansBeta18-Regular.woff2') format('woff2'),
          url('../includes/ressource?mid=1&name=FreisingSansBeta18-Bold.woff2') format('woff2'),
          url('../includes/ressource?mid=1&name=FreisingSansBeta18-Italic.woff2') format('woff2'),
          url('../includes/ressource?mid=1&name=FreisingSansBeta18-BoldItalic.woff2') format('woff2'),
            /*Workaround für Editor CSS, (sonst wird Freising Sans nicht angezeigt)*/
          url('../../includes/ressource?mid=1&name=FreisingSansBeta18-Regular.ttf') format('ttf'),
          url('../../includes/ressource?mid=1&name=FreisingSansBeta18-Bold.ttf') format('ttf'),
          url('../../includes/ressource?mid=1&name=FreisingSansBeta18-Italic.ttf') format('ttf'),
          url('../../includes/ressource?mid=1&name=FreisingSansBeta18-BoldItalic.ttf') format('ttf'),
          url('../../includes/ressource?mid=1&name=FreisingSansBeta18-Regular.woff') format('woff'),
          url('../../includes/ressource?mid=1&name=FreisingSansBeta18-Bold.woff') format('woff'),
          url('../../includes/ressource?mid=1&name=FreisingSansBeta18-Italic.woff') format('woff'),
          url('../../includes/ressource?mid=1&name=FreisingSansBeta18-BoldItalic.woff') format('woff'),
          url('../../includes/ressource?mid=1&name=FreisingSansBeta18-Regular.woff2') format('woff2'),
          url('../../includes/ressource?mid=1&name=FreisingSansBeta18-Bold.woff2') format('woff2'),
          url('../../includes/ressource?mid=1&name=FreisingSansBeta18-Italic.woff2') format('woff2'),
          url('../../includes/ressource?mid=1&name=FreisingSansBeta18-BoldItalic.woff2') format('woff2');
          
    font-weight:  normal;
    font-style:  normal;
}
.CXFooter *, .CXHeader *, .CXPage, .modern .XPage *, .xm-form.modern * {
  font-family: 'myfont';
}
/*---Logo---*/
.XContainer[data-name="LogoFreising"]{
    /*background-image: url('../form/includes/ressource?mid=1&name=Freising-Logo-RGB.png');*/
    background-image: url('https://xima-formcycleb.freising.lokal:8443/formcycle/includes/ressource?mid=1&name=25353661-landkreis-freising-logo-3Oea.jpg');
    border-style: none;
    background-repeat: no-repeat;
    background-size: auto 75px;
    height: 80px;
}
/*---gesamte Seite und Footer---*/
.modern .XPage *,
.modern .XFooter *{ 
    font-size: 1.0rem;
    font-weight: 400;
}
/*---Kontakt---*/
.modern .XItem.XSpan[data-name=txtHeaderAmt] {
    font-family:  'myfont';
    font-size: 1.1rem;
    text-align: right;
}
.modern a:link{
    color: var(--freising-blau);
} 
/*---Formulartitel---*/
.modern .XItem.XSpan[data-name=txtHeadline] {
    font-family:  'myfont';
    font-size: 1.6rem;
}
/*------------------------------------------------------------------------*/
/*---Navigationsleiste---*/
.modern .CXNavigationBar {
    margin-top: 20px;
}
.modern .CXNavigationBar LABEL {
    font-size: 0.8rem;
    font-weight: normal;
}
.XNavigationBar .xnav-view {
    background-color: lightgray;
}
/* aktiver Balken */
.modern .XNavigationBar .active .xnav-view {
    background-color: var(--freising-blau) !important;
}
/* besuchter Balken */
.xm-form.modern .XNavigationBar .active-before .xnav-view {
    background-color: var(--freising-blau) !important;
}
/*------------------------------------------------------------------------*/
/*---Footertext---*/
.modern .footertext,
.modern .xm-footer-hint {
    font-family: myfont;
    font-size: 0.8rem !important;
}
/*---Beschriftung Fieldset---*/
.modern .XFieldSet LEGEND {
    font-weight: 600;
    font-size: 1.2rem;
    padding: 10px 0px 5px 10px;
}
/*---Fieldset---*/
.modern .CXFieldSet .XFieldSetWrapper {
  border-width: 1px;
  border-style: solid;
  margin-top: 5px;
}
.modern .XFieldSet {
    padding-bottom: 10px;
}
/*---Container---*/
.modern .XContainer{
    background-color: #FFFFFF;
}
/*---Label für Optionsschaltflächen---*/
.modern .XSelect LABEL {
    font-size: 1.0rem;
    font-weight: 400;
}
/*---Label für Checkboxen---*/
.modern .XCheckbox LABEL {
    font-size: 1.0rem;
    font-weight: 400;
}
/*---Label für Upload---*/
.modern .xm-item-div LABEL{
    font-weight: 400;
    font-size: 1.0rem;
}
/*---Farbe für Checkboxen---*/
.modern .xm-item-div input[type=checkbox]:checked + .label-icon-checkbox::before,
.modern .xm-item-div input[type=checkbox]:checked + .label-icon-radio::before,
.modern .xm-item-div input[type=radio]:checked + .label-icon-checkbox::before,
.modern .xm-item-div input[type=radio]:checked + .label-icon-radio::before {
        color: var(--freising-blau); 
    }
/*---Dropboxen---*/
.modern .XItem.XSelect.XDropDown{
    font-family: myfont;
    color: var(--freising-blau);
}
/*---Eingabefelder---*/   
.modern .XTextField {
  color: var(--freising-blau);
}
/*---Textfelder---*/   
.modern .XItem{
    color: var(--freising-blau);
}
/*---BayernID Bestätigungs-Icons ausblenden---*/
    .verify_l1, .verify_l3, .verify_l4, .no_verify {
        background-image:none !important;
}
/*---Animation bei Laden der Seite---*/
.loading .animation {
    background-image: url("https://formularserver.freising.de/frontend-server/form/includes/ressource?mid=1&name=25353661-landkreis-freising-logo-3Oea.jpg");
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	-webkit-animation: scale-up-center 1000ms infinite alternate-reverse both;
	animation: scale-up-center 1000ms infinite alternate-reverse both;
}
/*---Buttons---*/
.modern .XButtonList {
    background-color: lightgray;
}
.modern .XButtonList:hover {
    background-color: var(--freising-blau);
}
/*---Button Zwischenspeichern ---*/
.xm-form.modern .XButtonList[value="zwischenspeichern"] {
    font-size: 14px;
}

/*---Help Icon---*/
.modern .xm-help-icon::before {
  color: var(--freising-blau);
}

/*------------------------------------------------------------------------*/

@media print {
    /*Seitenumbrüche verhindern*/
    .CXPage:not(:first-child) {
        page-break-before: avoid;
    }

    /*Seitenumbruch vor dem Element erzwingen*/
    .xm-form.modern .pagebreak_before {
    page-break-before: always !important;
}
}