/*

    

*/

@font-face {
    font-family: "Titillium Web";
    src: local("Titillium Web Bold"), url("TitilliumWeb-Bold.ttf");
    font-weight: bold;
}

@font-face {
    font-family: "Titillium Web";
    src: local("Titillium Web Italic"), url("TitilliumWeb-Italic.ttf");
    font-style: italic;
}

@font-face {
    font-family: "Titillium Web";
    src: local("Titillium Web Bold Italic"), url("TitilliumWeb-BoldItalic.ttf");
    font-style: italic;
    font-weight: bold;
}

@font-face {
    font-family: "Titillium Web";
    src: local("Titillium Web"), url("TitilliumWeb-Regular.ttf");  
    font-weight:normal;
}


html {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: rgb(0,158,255);

    height:100%;
    color: white;

    overflow-y: scroll;

    font-family: "Titillium Web", sans-serif;


}


#iason {
    position:absolute;    
    top:44px;
    left:16px;
    width: 275px;
    background-color:white;
    padding:1em;
    border-radius:1em;
    transform:rotate(-15deg);
    animation-name: blink;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-direction: alternate;
    animation-iteration-count:  3; 
}

@keyframes blink {
    from {
        opacity:0
    }

    to {
        opacity:1
    }
}

#iason > a {
    display:table-row;
    text-decoration-style: dotted;
}

#iason > a > img {
    margin-right:10px;
}

#iason > a > * {
    height: 100px;    
    vertical-align: middle;
    display: table-cell;
}

#iason > a > div > div:nth-child(2) {
    font-weight:bold;
    font-size:125%;
}



#logo {
    text-align:center;
    margin:0 auto;    
    width:33%;
    min-width: 555px;        
}

#schildkröte-und-spirale {    
    display:inline;
}

@media (min-width: 701px)  {
    #schildkröte-und-spirale > a {
        width:150px;    
    }

    #schildkröte {
        width:150px;    
    }

    #spirale {
        position: absolute;
        margin-left: -113px;
        top: 59px;
        width:77.6px;    
    }
}

#spirale {    
    animation-duration: 3s;
    animation-name: rotate;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: paused;
    /*transform-origin: 80.6px 76.822px;*/
}

#spirale:hover,
#spirale:active,
#spirale:focus
{
    animation-play-state: running !important;
}

@keyframes rotate {
    from { transform: rotate(0deg) }
    to   { transform: rotate(-360deg) }
}


#logotext {
    display:inline-block;
    margin-left: 25px;    
}

#tokeya, #d3{
    margin:0;    
}

#tokeya {
    font-size: 600%;  
    line-height:100%;    
    letter-spacing: 2px;
    border-bottom:10px transparent solid;
}

#d3 {
    font-size: 325%;
    line-height:100%;    
}

#schildkröte-und-spirale > a, #tokeya > a, #d3 > a {
    color:inherit;
    text-decoration: inherit;
}





#mobile-menu-button, #mobile-menu-label, #mobile-menu-closer {
    display:none;
}

#menu {    

    /*width:50%;*/

    margin-top:50px;
    margin-left:auto;
    margin-right:auto;    

    text-align: center;

    display:table;
    table-layout: fixed;
    border-collapse:separate;
    border-spacing:25px 0px;

    clear:both;
}

#menu a:before, .lddl:before {
    content: "🐢";
    transform: scaleX(-1);  
    position: absolute;
    margin-left: -1em;
    opacity: 0;    
}

#menu a:hover:before, .lddl:hover:before {
    opacity : 1;
    transition: opacity linear .5s;
}


#menu a:hover {
    background-color: rgba(0,175,175,1)  !important;
    color:white;
    transition: background-color ease-out .751s;
}

#menu > ol  {
    display:table-row;
}

#menu > ol > li {
    display: table-cell;
}

#menu > ol > li > a {
    color:black;
    background-color: rgba(255,255,255,.80);

    border-top-left-radius:5px;
    border-bottom-left-radius:5px;
    border-top-right-radius:45%;
    border-bottom-right-radius:45%;

    width:100%;
    padding:5px 5px;
    display:inline-block;
    text-decoration:none;
    box-shadow: 0px 0px 10px 5px rgba(0,200,200,.80);
    white-space: nowrap;
    min-width:85px;
}

.aktuelleSeite {
    color:white !important;
    background-color: rgba(0,200,200,.80) !important;
    font-weight:bold;
    box-shadow: 0px 0px 15px 5px rgba(0,0,0,.80) !important;
}

.aktuelleSeiteIstUnterseite {
    font-weight: bold;
}

.menuentry > a {
    text-decoration: none;
}

.hasubmenu:hover > .submenu {

    opacity: 1;
    transform: scaleY(1);

    transition-property: transform, opacity;
    transition-duration: .333s;
    transition-timing-function: ease-out;
}

.hasubmenu > .submenu {
    position:absolute;
    text-align: left;
    list-style: none;
    padding:0px;
    padding-right:20px;
    margin:0px;   
    margin-left:-.25em;
    opacity: 0;
    transform: scaleY(0);
    transform-origin:top;
}

.submenu > .menuentry > a {
    padding-left:33px;
    padding-top:5px;
    padding-bottom:5px;
    margin:0 auto;
    width:100%;

    display:inline-block;

    border-top-left-radius:5px;
    border-bottom-left-radius:5px;
    border-top-right-radius:45%;
    border-bottom-right-radius:45%;

    background-color: rgba(255,255,255,.80);

    box-shadow: 0px 5px 10px 0px rgba(0,200,200,.80);
}

.mobile-submenu-label,
.mobile-submenu-button {
    display:none;
}


#language-box {
    position:absolute; 
    top:10px;
    margin-right:10px;
    right:0px;
    border:2px black solid;
    padding:10px;
    border-radius:10px;
}

#language-box input {
    display: none;
}

#language-box #select-dummy:after {

    content: "↓";
    background-size: contain;
    min-width: 250px;
    width: 250px;
    vertical-align: top;
}

#select-dummy {
    width:125px;
    display:inline-block;
    text-decoration: none;
    background-color: buttonface;
    color: buttontext;
    padding-left:10px;
}

.select-cheat-label {
    display: none;
    width:60px;
}

.select-cheat-label, .lddl {                
    background-repeat: no-repeat;
    background-size: auto 60%;                
    padding-left: 33px;                
}

#language-en:checked ~ #select-dummy  #scl-en,
#language-en:not(:checked) ~ #select-dummy  #scl-de {
    display:inline-block;
}

#scl-en, #lddl-en  {
    background-image: url(bilder/English_language.png);                
    background-position: left center;
}

#scl-de, #lddl-de {
    background-image: url(bilder/Deutschland.png);                
    background-position: 2px center;
}

#language-dropdown-list {
    position: absolute;     
    right:10px;
    display:none;
    border-radius:3px;
    background-color: buttonface;
    color: buttontext;
    width: 125px;
    padding-left:10px;
}

.lddl {
    width:92px;
    display: inline-block;
    background-position-x: 20px !important;
}

.lddl:hover {
    background-color: highlight;
    color: highlighttext;
    /*width: 92px;*/
    border-left:10px highlight solid;
    margin-left: -10px;
    /*display: inline-block;*/
}

.lddl:before {
    margin-left: -3.5em;
}

#select-dummy:focus ~ #language-dropdown-list,
#language-dropdown-list:active {                
    display:block;
}

#language-submit {
    display:inline-block !important;
    width: auto;
    float: none;
    font-weight: bold;
}



#content,
#news {

    background-color: rgba(255,255,255,.80);
    box-shadow: 0px 0px 15px 5px rgba(0,0,0,.80) !important;

    max-width: 555px;

    padding:25px;
    margin-top:50px;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:50px;

    border-radius:15px;

    color:rgb(0,50,50);
}

#content img,
#content canvas {
    max-width:100%;
}

a {
    color:rgb(0,50,50);
}

h1 + p,
h2 + p,
h3 + p,
h4 + p {
    margin-top:-10px;
}

.center {
    text-align:center;
}



h1.error404 {
    color:rgb(130, 0, 0);
}

.schildkrötenliste > li {
    margin-bottom:20px;
    list-style: none;
}

.schildkrötenliste > li:before {
    content: "🐢";
    position:absolute;
    margin-left: -1.5em;
    transform: scaleX(-1);  
}

.news-datum, .news-titel {
    display: table-cell;
}

.news-datum {
    padding-right: .5em;
    white-space: nowrap;
}

.news-mehr-input,
.news-mehr-text,
.weniger {
    display:none;
}

.mehr,.weniger {
    text-decoration: underline;
    cursor: pointer;
    padding-left: .5em;
}

.news-mehr-input:checked ~ .news-datum ,
.news-mehr-input:checked ~ .news-titel {
    font-weight: bold;
    font-size: 110%;
}

.news-mehr-input:checked ~ .news-titel > label > .weniger {
    display:initial;
    font-weight: normal;
    font-size: initial;
}

.news-mehr-input:checked ~ .news-titel > label > .mehr {
    display:none;
}

.news-mehr-input:checked ~ .news-mehr-text {
    display: block;
}

.news-mehr-text {
    margin-top: 1.5em;
    margin-bottom: 2.5em;
}

.stichworte-label {
    font-size:95%;

    margin-bottom:0px;
    display: inline;
}

.stichworte  {
    list-style:none;
    display: inline;
    padding: 0px;
    margin: 0px;    
}

.stichworte, .stichworteschrift {
    font-style:italic;
    font-size:85%;
}

.stichworte >  li {
    display: inline;
}

.stichworte >  li:not(:last-child):after {
    content:", ";
}

.person {
    width: 50% ;    
    text-align: center;
    float:left;
    font-size:85%;

}

.person .name > a {
    font-size: initial;
    font-weight: bold;
    color : rgb(0,158,255);
    white-space: nowrap;
}

#kontaktpersonen {
    padding-bottom: 20px;
    float:left;
    width:100%;
}


#kontaktformular {
    margin-top: 25px;
    text-align: right;

}

#content input, textarea{    
    float:left;
    width: 543px;
    margin:0px;
    padding:5px;
    border-width: 1px;
    margin-bottom: 5px;
}

#content input[type="checkbox"] {
    padding: initial;
}

textarea {
    /*width: 547px;*/
    /*padding:5px;*/
    height: 200px;
}

input, textarea {
    font-family: "Titillium Web", sans-serif;
}

.kopie {
    float:left;    
}

.kopie > input {
    width: initial !important;    
    margin-right: 7px !important;
    vertical-align: text-bottom !important;


}

#anfrage-rueckmeldung {
    border:2px black solid;
    padding:5px;
    background-color: green;
    color:white;
    border-radius: 5px;
    margin-bottom: 2em;
}

#anfrage-rueckmeldung.fehlgeschlagen {
    background-color:  #CC0000;
}

.lebenslauf_sektion {
    border-bottom: 1px black solid;
}


.lebenslauf_zeitspanne {
    /*white-space: nowrap;*/
    vertical-align: top;

}

.lebenslauf_taetigkeit {
    margin-top: 0px;
    font-size:110%;
    margin-bottom: .25em;
    margin-left:-1em;
    /*font-weight: normal;*/
}

.Lebenslauf .stichworte-label {
    margin-left:-1em;
    /*float:left;*/
    /*clear:both;*/
}

.Lebenslauf td:nth-child(1) {
    width:10em;
}

.Lebenslauf td:nth-child(2) {
    padding-left:1.5em;
}

.Lebenslauf td {
    padding-bottom: 1em;
}

.stichworte.kenntnisse {
    font-size: initial;
    font-style: normal;
    margin-left:-1em;
}

.liste-ohne {
    list-style: none;
    margin-left:-2.5em
}

.author {
    font-variant: small-caps;
}
.title {
    font-style: italic;
    /*font-weight: bold;*/
}
.link, .smaller {
    font-size: 90%;
}

#footer {

    position: fixed;
    bottom: 10px;
    right: 10px;

    padding: 2px;
    border-radius:5px;

    background-color: rgba(255,255,255,.75);
    box-shadow: 0px 0px 15px 5px rgba(0,0,0,.75);    

    color:rgb(0,50,50);
    font-size: 75%;
}

#footer a {
    /*color: white;*/
    text-decoration:none;
}

.copyright {
    font-family: sans-serif;
}

.vorschau {
    max-width:100%;
}






@media (max-width: 1400px)  {
    #menu {
        width: inherit;
    }
}

/* Korrekturen für mobile Endgeräte */
@media (max-width: 700px)  {

    #iason {     
        top:47px;
        left:0px;        
        right:0px;
        height:40px;
        padding-top:0.75em;
        padding-bottom:0em;
        padding-left:0.5em;
        padding-right:0.5em;
        border-radius:0px;
        transform: rotateZ(0deg);        
        animation:none;
        width: auto;
    }
    
    #iason > a > * {
        height:36px;
    }
    
    #iason > a > div {
        width:100%;
    }
    
    #iason > a > div > * {
        display:table-cell;        
    }
    
    #iason > a > div > div:first-child {
        font-size:75%;        
        position:relative;
        top:-1em;
    }
    
    
    #iason > a > div > div:nth-child(2) {
        font-size:125%;
        font-weight: bold;
        position:relative;
        left:-0.25em;
    }
    
    #iason > a > div > div:last-child {
        font-size:75%;
        padding-left:.5em;
        position:relative;
        top:-1em;
        
    }
    
    #logo {
        position:fixed;
        top:0px;
        left:0px;        
        padding-left:0.4em;
        padding-top: .5em;
        padding-bottom: .5em;
        width:100%;

        text-align: left;

        background-color: rgba(255,255,255,.85);
        box-shadow: 0px 0px 15px 5px rgba(0,0,0,.75);    

        color:rgb(0,50,50);
        z-index:1;
    }
    
    #schildkröte-und-spirale {
        min-width:36px;
        position: absolute;
    }

    #schildkröte-und-spirale:hover  #spirale,
    #schildkröte-und-spirale:active #spirale,
    #schildkröte-und-spirale:focus  #spirale {
        animation-play-state: running;
    }

    #schildkrötenlink {
        pointer-events: none;
    }

    #schildkröte {
        width:36px;
        position:absolute;        
    }    

    #spirale {
        position:absolute;
        width:18.6px;
        top:10px;
        left:10px;
    }

    #logotext {
        margin-left: 40px;
    }

    #tokeya {
        letter-spacing: inherit;
    }

    #tokeya:after {
        content:" ";
    }

    #tokeya,#d3 {
        font-size: 170%;  
        border-bottom: none;
        display:inline;
        padding: 0px;

    }
    #mobile-menu-label{
        display:inherit;
    }
    #mobile-menu-label:after {
        content:"≡";
        display:inherit;
        position: fixed;
        right:0.125em;
        top:0.2em;
        color:rgb(0,50,50);        
        font-size:170%;
        border:2px solid buttonshadow;
        line-height: 100%; 
        width:1em;
        text-align: center;
        z-index:1;
        background-color: buttonface;        
    }


    #mobile-menu-button:checked ~ #mobile-menu-label:after {
        content:"✘";
    }


    #mobile-menu-button:checked ~ #menu {
        display:block;
    }


    #menu {    
        width:100%;
        height: 100%;
        position:fixed;
        display:none;
        right:0px;
        top:0px;
        z-index:1;

    }

    #menu > ol  {
        display:block; 
        padding-left:0px ; 
        margin: 0px ;

    }

    #menu > ol > li {
        display: block;
        margin-bottom: 5px;
    }

    #menu > ol > li > a,
    .submenu > .menuentry > a {
        background-color:rgba(255,255,255,.95);
    }

    .mobile-submenu-label {

        display:initial;

        right:0px;
        position: absolute;
        width:25%;
        border:2px solid transparent;

        color:black;
        background-color:rgba(0,0,0,.25);

        padding-bottom: 5px;

    }

    .aktuelleSeite + .mobile-submenu-label {
        color:white !important;
    }

    .aktuelleSeiteIstUnterseite + .mobile-submenu-label {
        font-weight: bold;
    }

    .hasubmenu > .submenu {
        margin-left:40%;        
        width:50%;
        background-color:transparent;
    }

    .mobile-submenu-button:checked + .submenu {
        position:static;

        transform:scaleY(1) !important;
        opacity:1 !important;

        transition-property: position, display, transform, margin-bottom;
        transition-duration: 0s;
        transition-timing-function: ease-out;
    }

    .hasubmenu:hover > .submenu {
        opacity: 0;
        transform: scaleY(0);
        transition-duration: 0s;
    }


    #mobile-menu-closer {
        height:100%;
        width:100%;
        display:inherit;
    }

    #content {
        margin-top: 120px;
    }

    #content, 
    #news {
        font-size:85%;
        text-align:justify;
        hyphens: auto;

        padding-top: 1px; /* warum ein so großer Sprung wenn man’s auf 0 setzt!?! */

    }

    .angebote {
        padding-left: 1.5em;
    }

    #kontaktformular {
        text-align: center;
    }

    #content input, textarea {
        width:100%;        
        display:inline;
        padding:5px;
    }

    textarea {
        height:7em;
    }

    button {
        background-color: buttonface;
        padding:5px;
    }

    #footer {
        position: inherit;
        text-align: center;
        bottom:0px;

    }

    #language-box {
        position:initial;
        top:initial;
        margin:0px;
        border:none;
    }

    #select-dummy {
        border:3px buttonshadow solid;
        box-shadow: 0px 0px 5px 5px buttonshadow;
        margin-top: 0em;
    }

    #language-dropdown-list {
        position:initial;
        right:initial;
        margin:0 auto;                
    }

    #language-dropdown-list label:hover {
        background-color: highlight;
        color: highlighttext;
        width: 100px;
        display: inline-block;
    }




    abbr:hover:after { 
        content: attr(title);
        border:1px black dotted;
        padding-left:3px;
        padding-right:3px;
        position:absolute;    
        border-radius:3px;
        background-color:rgba(255,255,255,.90);
    }
}



@media (min-width:701px) and (max-width: 1100px)  {
    #logo {
        margin-top:150px;
    }
    #spirale {
        top:201px;
    }
}

@media (min-width:600px) and (max-width: 700px)  {
    #iason > a > div > div:first-child,
    #iason > a > div > div:last-child {
        font-size:100%;
        top:0px;
        white-space: nowrap;
    }
    #iason > a > div > div:nth-child(2){
        font-size: 150%;
        left:0.25em;
        padding-right: 0.25em;
    }   
}

@media (min-width:500px) and (max-width: 600px)  {
    #iason > a > div > div:first-child,
    #iason > a > div > div:last-child {
        font-size:80%;
        top:0px;
        white-space: nowrap;
    }
    #iason > a > div > div:nth-child(2){
        left:0.25em;
        padding-right: 0.25em;
    }
}

@media (min-width:440px) and (max-width: 500px)  {
    #iason > a > div > div:first-child,
    #iason > a > div > div:last-child {        
        top:0px;
        white-space: nowrap;
    }
    #iason > a > div > div:nth-child(2){        
        left:0.25em;
        padding-right: 0.25em;
    }
}