/* alegreya-regular - latin */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('//nubenum.de/inc/style/fonts/alegreya-v29-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('//nubenum.de/inc/style/fonts/alegreya-v29-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* alegreya-700 - latin */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('//nubenum.de/inc/style/fonts/alegreya-v29-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('//nubenum.de/inc/style/fonts/alegreya-v29-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* alegreya-italic - latin */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('//nubenum.de/inc/style/fonts/alegreya-v29-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('//nubenum.de/inc/style/fonts/alegreya-v29-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* alegreya-sans-regular - latin */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('//nubenum.de/inc/style/fonts/alegreya-sans-v21-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('//nubenum.de/inc/style/fonts/alegreya-sans-v21-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* alegreya-sans-italic - latin */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('//nubenum.de/inc/style/fonts/alegreya-sans-v21-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('//nubenum.de/inc/style/fonts/alegreya-sans-v21-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* alegreya-sans-700 - latin */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('//nubenum.de/inc/style/fonts/alegreya-sans-v21-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('//nubenum.de/inc/style/fonts/alegreya-sans-v21-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


.nred { color: #D24836; }
.ngreen { color: #16A765; }
.nyellow { color: #4285F4; }
.nblue { color: #F4B400; }

body
{
    margin: 0;

    font-family: 'Alegreya Sans';
    text-align: justify;
}

#header
{
    position:fixed;
    width: 100%;
}
#header > #img 
{
    position: absolute;
    top:0;
    left:0;
    margin: 20px;
}
#header > #img img
{
    width: 200px;   

    border: 0;
}
#header > #act
{
    position: absolute;
    top: 0;
    right: 0;
    margin: 25px 25px 0 25px;
}
#header > #act a
{
    padding: 10px 10px;
    min-width: 70px;
    margin: 5px;
    display: inline-block;

    background: #efefef;
    border-radius: 3px;
    transition: 0.2s background;

    color: black;
    text-transform: uppercase;
    font-weight: bold;   
    text-decoration: none;
    text-align: center;
}
#header > #act a:hover
{
    background: #dfdfdf;
}

#edition
{
    padding-top: 40px;

    text-align: center;
    font-style: italic;
}

#container
{
    padding: 200px 1em 50px 1em;
}
#container p
{
    margin: 1em;

    line-height: 1.4em;
}
#container > p, #container > div.max
{
    margin: 1em auto;
    max-width: 700px;
    width: 60%;
}

.pom
{
    font-style: italic;
}
.pom.preamble
{
    font-style: normal;
}
.pom > .first
{
    margin: -0.10em 0.1em 0 -0.25em;
    float: left;

    font-family: 'Alegreya';
    font-style: normal;    
    font-size: 3.9em;
    line-height: 0.8em;
}

.pom > .second
{
    margin-left: -0.4em;

    font-size: 0.9em;
    text-transform: uppercase;
}

.floater
{
    padding: 0.5em 1em;
    width: 40%;
    display: block;

    font-family: 'Alegreya';
    font-size: 1.2em;
    line-height: 1.2em;
}
.floater.right
{
    float: right;
    margin: 0 -150px 0 0;

    text-align: left;
}
.floater.left
{
    float:left;
    margin: 0 0 0 -150px;

    text-align: right;    
}

.ribbon
{
    margin: 4em 1em;    
    clear: both;

    text-align: center;
}
.ribbon img
{
    max-height: 210px;   
}
.ribbon > div
{
    display: inline-block;
    max-width: 100%;

    text-align: right;    
}
.ribbon > div > div
{
    max-width: 100%;
    overflow-x: auto;
}

.imgsource
{
    font-size: 0.8em;
}
.imgsource, .imgsource a
{
    color: #afafaf;
}

.abscaption
{
    display: block;    
    margin: 1em 0 0 0;

    font-weight: bold;
}

.margincite
{
    color: black;
    text-decoration: underline dotted;
}

.projekt
{
    position: relative;
}
.projekt img
{
    max-height: none;
    max-width: 100%;

    border: none;
}
.projekt a span
{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 30px;
    margin: -15px 0 0 -50%;

    text-align: center;
    text-decoration: none;
    text-shadow: 0px 0px 5px black;
    font-size: 1.5em;
    color: white;
    font-weight: bold;
}
#footer
{
    margin: 1em 1em;

    text-align: center;
}
#footer, #footer a
{
    color: #afafaf;    
}

@media only screen and (max-width: 1900px)
{
    #header
    {
        position: relative;
    }
}

@media only screen and (max-width: 750px)
{
    #container
    {
        padding-left: 0;
        padding-right: 0;
    }
    #container > p, #container > div.max
    {
        margin: 1em;
        max-width: none;
        width: auto;
    }

    .pom > .first
    {
        margin-left: -0.15em;
    }

    .floater.left, .floater.right
    {
        margin: 1em;
        padding: 0;
        width: auto;
        float: none;

        text-align: center;
    }

    .ribbon
    {
        margin: 3em 0;
    }
    
    .imgfooter
    {
        margin: 0 1em 0 1em;
    }
}

@media only screen and (max-width: 550px)
{
    #header, #header > #img, #header > #act
    {
        position: initial;

        text-align: center;
    }

    #header > #img > img
    {
        width: 100%;
    }

    #container
    {
        padding-top: 50px;
    }
}
