/*---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;
}

.xfc-template-body {
    font-family: myfont;
    padding-top: 60px;
    width: 100%;
    height:100%;
    background-color: #EDEDED; 
    margin: 0;
}
.xfc-template {
    /*width: 100%; 
    height:100%; */
    font-family: myfont; 
    font-size: 14px; 
    background-color: #EDEDED;
    margin: 10px auto;
}
.xfc-template H1 {
    font-size: 26px; 
    color: #000000;
    margin: 0;
    padding-right: 30px;
}
.xfc-template H2 {
    font-size: 18px; 
    font-weight: normal; 
    color: #000000; 
    padding-right: 30px;
    padding-bottom: 20px; 
    margin: 0;
}

.xfc-template DIV[lang] {
    margin: 0 auto; 
    padding-left: 30px;
    padding-right: 30px;
    min-width: 300px; 
    max-width: 950px; 
    background-color: #FFFFFF;
}


.xfc-template DIV.header {
    padding: 60px;
    background-color: #FFFFFF;
    background-image: url('../includes/ressource?mid=1&name=Freising-Logo-RGB.png');
    background-size: 24%;
    background-repeat: no-repeat;
    background-position-x: 1px;    
    background-position-y: 20px;
}

@media only screen and (max-width: 1000px) {
    .xfc-template {
        margin: 10px;
    }
}

@media only screen and (max-width: 600px) {
    .xfc-template DIV.text{
        padding: 0px 10px 30px 10px;
    }

    .xfc-template DIV.header {
        background-position-x: 10px;    
        background-position-y: 40px;
        background-size: 45%;
    }
}