﻿/*

        (c) 2018 by Schmidt & Tooren, Oldenburg, Bremen

        Datei: LAYOUT.CSS
        Stand: 26.01.2018
*/

body {
    margin: 0px;
    font-family: Roboto-regular,arial,helvetica;
    font-size: 1em;
    --theme-main-color: #4f84ca;
    --theme-accent-color: #606060;
    --theme-light-color: #e7e7e7;
    --theme-lighter-color: #e6e6e6;
    color: var(--theme-accent-color);
    /*background-color: var(--theme-lighter-color);*/
    /**/
    /*display: flex;
    flex-direction: column;
    align-items: center;*/
}

*{  box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-text-size-adjust: none;
    
}

*.hidden
{
    display: none;
    }

@font-face {
    font-family: 'Roboto-regular';
    src: url('../Fonts/roboto-v47-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto-500';
    src: url('../Fonts/roboto-v47-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto-700';
    src: url('../Fonts/roboto-v48-latin-700.woff2') format('woff2');
}

h1, h2, h3, h4 {
    font-family: 'Roboto-500';
    font-weight: normal;
}

h1 {
    font-family: 'Roboto-regular';
    color: var(--theme-main-color);
    font-size: 1.4em;
    line-height: 1.3em;
    margin-bottom: 0.4em;
}

@media (max-width: 800px) {
    h1 {

    }
}

h2 {
    font-size: 1.4em;
    line-height: 1.4em;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 1.2em;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

p {
    font-size: 1.0em;
    margin: 0px;
    margin-bottom: 10px;
}

li {
    font-size: 1.0em;
}

a {
    color: var(--theme-main-color);
    overflow-wrap: anywhere;
}

strong {
    font-family: 'Roboto-700';
    font-weight: normal;
}

table {
    font-size: 0.8em;

    margin-bottom: 10px;
}

table td
{
    vertical-align: top;
    padding-right: 30px;
    }

/*header#mainHeader {
    width: 100%;
    background-color: #ffffff;
    margin-bottom: 2em;
}

header#mainHeader section {
    max-width: 1024px;
    min-width: 320px;
    height: 130px;
    padding: 5px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
    display: flex;
    justify-content: space-between;
    gap: 1em;
}

header#mainHeader section a.logoCustomer {
    width: 300px;

    align-self: flex-end;
    margin-bottom: 5px;
}

header#mainHeader section a.logoCustomer img {
    width: 100%;
    height: auto;
}

header#mainHeader section .title {
    font-family: 'Roboto-700';
    color: var(--theme-main-color);
    font-weight: normal;
    font-size: 2.4em;

    align-self: flex-end;
}

@media (max-width: 800px) {
    header#mainHeader {
        margin-bottom: 26px;
    }

    header#mainHeader section {
        height: auto;
        padding: 5px;
        flex-direction: column;
    }

    header#mainHeader section a.logoCustomer {
        margin-left: 3px;
        align-self: flex-start;
    }



    header#mainHeader section .title {
        font-size: 2.0em;
        margin-bottom: 0px;
        align-self: flex-start;
    }
}*/

main, footer {
    display: block;
    max-width: 1024px;
    min-width: 320px;
    min-height: 400px;
    background-color: #ffffff;
    /*    margin-left: 15px;
    margin-right: 15px;*/
    padding: 5px;
    margin-left: auto;
    margin-right: auto;
}

main{
    display: flex;
    flex-direction: column;
}

footer {
    /* width: calc(100% - 15px - 15px);
    padding: 15px;*/
    min-height: 0;
    text-align: right;
}

/*.regularContent {
    padding: 15px;
    padding-top: 10px;
}
*/
main h1 {
    background-color: var(--theme-main-color);
    color: #ffffff;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 0px;
}


    
footer
{
    min-height: 0;    
    text-align: right;
    font-size: 0.8em;
    }    
    
#sandglass
{
                 
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;   
    -webkit-align-items: center;
    -webkit-justify-content: center;
                                            
    position:absolute;
    top: 100px;    
    left: 0px;
    right: 0px;        
                
    visibility:hidden;
    }




nav.menu {
    
/*    max-width: 1024px;
    min-width: 320px;
    margin-left: auto;
    margin-right: auto;*/
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;

    column-gap: 1%;
    margin-bottom: 0.5em;
}

nav.menu .item {
    /*background-color: var(--theme-light-color);*/
    background-color: var(--theme-accent-color);

    font-family: 'Roboto-700';

    color: #ffffff;

    /*display: flex;*/
    flex-basis: 100px;
    flex-grow: 1;
    text-align: center;
}
    
   
nav.menu .item.active
{
    background-color: var(--theme-main-color);
    /*color: var(--theme-main-color);*/
    padding: 1em;
    padding-left: 2%;
    padding-right: 2%;
    }    
    
nav.menu .item a
{
    color: #ffffff;   
    text-decoration: none;
    display: block;
    padding: 1em;
    padding-left: 2%;
    padding-right: 2%;
    }
    
nav.menu .item a:hover
{
    background-color: var(--theme-main-color);
    /*color: var(--theme-main-color);*/
    }        
    

    
@media (max-width: 500px)  
{
    nav.menu {
        row-gap: 0.5em;
        margin-bottom: 0.5em;
    }

    nav.menu .item {
        min-width: 100%;
        text-align: left;
    }

    nav.menu .item.active {
        padding: 0.25em;
        padding-left: 3%;
        padding-right: 3%;
    }

    nav.menu .item a {
        padding: 0.25em;
        padding-left: 3%;
        padding-right: 3%;
    }
}

nav.breadcrumb
{
    border: 1px solid #0069B3;
    border-left: 0px;
    border-right: 0px;
    margin-bottom: 10px;
    font-size: 0.75em;
    padding:3px;
    }



nav.breadcrumb .item, nav.breadcrumb .hint
{
    display: inline-block;
    }

nav.breadcrumb .item:after
{
    content: ">";
    margin-left: 4px;
    margin-right: 4px;    
    }
    
nav.breadcrumb .item:last-child:after
{
    content: "";       
    } 
    
nav.breadcrumb .item a
{
    text-decoration: none;
    color: #000000;
    }    
    
nav.breadcrumb .item a:hover
{
    text-decoration: underline;
    }
    
nav.breadcrumb .item a .description
{
    display: none;
    }
    
@media (max-width: 570px)  
{
    nav.breadcrumb
    {
        font-size: 0.8em;
    }
    
    nav.breadcrumb .item, nav.breadcrumb .hint
    {
        display: block;
    }
    
    nav.breadcrumb .item:after
    {
        content: "";
        margin-left: 0px;
        margin-right: 0px;    
    }
    
    nav.breadcrumb .item a .description
    {
        display: inline;
    }    
    
}

nav.footerMenu {
    font-family: 'Roboto-700';
    color: var(--theme-accent-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--theme-light-color);
    
    margin-top: 2em;
    padding: 1em;
    padding-left: 2%;
    padding-right: 2%;
}

nav.footerMenu a {
    color: var(--theme-accent-color);
    text-decoration: none;
}

@media (max-width: 500px) {
    nav.footerMenu {
        flex-direction: column;
        justify-content: flex-start;
        gap: 1em;
    }
}

img.overviewMap {
    width: 100%;
    margin-bottom: 10px;
    /*padding-top: 5px;
    padding-left: 15px;
    padding-right: 15px;*/
}

section.articles {
   
   /*padding-left: 15px;
   padding-right: 15px;
   margin-bottom: 10px; */
   flex: 1;
}

section.articles article
{    
    margin-bottom: 10px;    
    }
    
section.articles article h3
{    
    color: var(--theme-main-color);
    font-size: 1.3em;
    margin: 0px;    
    }

section.articles article p {
    margin: 3px;
    margin-left: 0px;
}     
    
section.articles article p.keyValuePairs
{
    font-size: 0.8em;    
    
    }

section.articles article p.keyValuePairs :nth-child(odd)
{
    display: inline-block;
    width: 100px;
    vertical-align: top;
    }

section.articles article p.keyValuePairs :nth-child(even)
{
    display: inline-block;
    width: calc(100% - 100px);
    vertical-align: top;
    font-weight: bold;
    }
   
section.articles article nav.level
{
    text-align: right;
    margin-bottom: 4px;
    }

@media (max-width: 570px) {
    section.articles article nav.level {
        text-align: left;
    }
}
    
section.articles article nav.level a
{
    display: inline-block;
    min-width: 200px;
    font-family: 'Roboto-700';
    color: #ffffff;
     background-color: var(--theme-main-color);
    font-size: 1em;
     padding: 10px;
    padding-left: 14px;
    padding-right: 14px;
    text-align: center;
    text-decoration: none;       
    }  
    
section.articles article nav.level a:hover
{
   background-color: var(--theme-accent-color);
    }

section.articles article section {
    border: 1px solid var(--theme-light-color);
    padding: 9px;
    margin-bottom: 5px;
}              

section.articles article section.periods
{
    
    border:0px;
    font-size: 1.0em;
    line-height: 1.2em;
    color: #000000;
    
    padding: 0px;
    
    display: flex;
    display: -webkit-flex;
    
    justify-content: space-between;
    -webkit-justify-content: space-between;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
} 

section.articles article section.periods div
{
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
    background-color: var(--theme-light-color);
    margin-bottom: 4px;
    
    }
section.articles article section.periods div:nth-child(1n)
{      
    flex-basis: 60%;
    flex-grow: 1;
    
    
    }
    
section.articles article section.periods div:nth-child(2n)
{      
    text-align: right;
    flex-basis: 40%;
    flex-grow: 1;
    
    
    }    
     
@media (max-width: 570px)  
{
    section.articles article section.periods div {
        width: 100%;
    }

        section.articles article section.periods div:nth-child(1n) {
            flex-basis: unset;
            margin-bottom: 0px;
        }

        section.articles article section.periods div:nth-child(2n) {
            flex-basis: unset;
            margin-bottom: 2px;
            text-align: left;
        }        
    
}

section.articles article section.official {
    border: 0px;
    font-size: 1.0em;
    line-height: 1.2em;
    color: var(--theme-accent-color);
    padding: 0px;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
} 

section.articles article section.official a
{
     color: var(--theme-accent-color);
    }

section.articles article section.official div
{
    padding: 4px;
    padding-left: 1px;
    padding-right: 4px;
    
    flex: 1 1 auto;
    
    }
    
section.articles article section.official div:nth-child(3n)
{    
    text-align: right;
}

@media (max-width: 800px) {

    section.articles article section.official div {
        flex: 1 1 100%;
    }

    section.articles article section.official div:nth-child(3n) {
        text-align: left;
    }
}

/*section.articles + span {
    margin-left: 15px;
    margin-right: 15px;
}*/

section.message
{
    border: 1px solid #a0a0a0;
    min-height: 90px;
    background-repeat: no-repeat;
    background-position: 10px 5px;
    
    padding: 10px;
    padding-left: 80px;
    margin-bottom: 10px;
            
    }
    
section.message h2
{
    margin: 0px;
    margin-bottom: 5px;
            
    }
    
section.message p
{
    font-size: 0.8em;
    margin: 0px;
    margin-bottom: 5px;
    }       
 
section.message.info
{
    background-color: #ebf7ee;    
    background-image: url(../pix/Msg0.gif);
    }
    
section.message.error
{
    background-color: #f8f1f7;  
    background-image: url(../pix/Msg1.gif);   
    }        

section.message.question
{
    background-color: #f8f1f7;
    background-image: url(../pix/Msg2.gif);     
    }
    
nav.buttonBar, div.buttonBar
{
    text-align: right;
    display: block;
    margin-bottom: 10px; 
    }

nav.buttonBar input[type='button'], nav.buttonBar input[type='submit'], div.buttonBar button
{
    
    display: inline-block;
    min-width: 100px;
    margin-left: 5px;
    margin-bottom: 3px;
    }          
    
                
header.stepline
{  
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    
    padding-bottom: 3px;
    border-bottom: 1px solid #000000;

    margin-bottom: 10px;
    align-items: baseline;
    }

/*body:has(header.stepline) {
    background-color: #ffffff;
}
*/
/*main:has(header.stepline) {
    width: 100%;
    padding: 15px;
    margin-left: 0px;
    margin-right: 0px;
}*/

/*main:has(section.articles), main:has(form.registration) {
    width: calc(100% - 15px - 15px);
}*/

/*main:has(form.registration) {
    padding: 15px;
}*/

header.stepline h1 {
    background-color: transparent;
    color: var(--theme-main-color);
    padding-left: 0px;
    margin: 0px;
}
       
header.stepline .step
{
    font-size: 0.8em;
    font-weight: bold;
    }    

@media (max-width: 500px)
{
    header.stepline h1
    {
        font-size: 1em;   
    }   
}

header.stepline section.articles article p {
    font-size: 0.8em;

}  
    
main section > span{

}

/*@media print {
    body {
        background-color: #ffffff;
        color: #000000;
        display: block;
    }
}
*/
/*body.eingangsbestaetigung {
    padding: 15px;
    background-color: #ffffff;
    color: #000000;
    display: block;
}*/

/*body.eingangsbestaetigung h1{
    
    color: #000000;
    
}*/