/* blau: #5180c1
   blau2: #86a6d3
   rot: #E2001A
   rot, dunkler: #cc0a21
*/

@font-face {
    font-family: 'fira_sansbold';
    src: url('firasans-bold-webfont.woff2') format('woff2'),
        url('firasans-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fira_sansbold_italic';
    src: url('firasans-bolditalic-webfont.woff2') format('woff2'),
        url('firasans-bolditalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fira_sansitalic';
    src: url('firasans-italic-webfont.woff2') format('woff2'),
        url('firasans-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fira_sanslight';
    src: url('firasans-light-webfont.woff2') format('woff2'),
        url('firasans-light-webfont.woff') format('woff');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'fira_sanslight_italic';
    src: url('firasans-lightitalic-webfont.woff2') format('woff2'),
        url('firasans-lightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fira_sansmedium';
    src: url('firasans-medium-webfont.woff2') format('woff2'),
        url('firasans-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fira_sansmedium_italic';
    src: url('firasans-mediumitalic-webfont.woff2') format('woff2'),
        url('firasans-mediumitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fira_sansregular';
    src: url('firasans-regular-webfont.woff2') format('woff2'),
        url('firasans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fira_sanssemibold';
    src: url('firasans-semibold-webfont.woff2') format('woff2'),
        url('firasans-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fira_sanssemibold_italic';
    src: url('firasans-semibolditalic-webfont.woff2') format('woff2'),
        url('firasans-semibolditalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fira_sansthin';
    src: url('firasans-thin-webfont.woff2') format('woff2'),
        url('firasans-thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fira_sansthin_italic';
    src: url('firasans-thinitalic-webfont.woff2') format('woff2'),
        url('firasans-thinitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


*, html, body, table, td, tr, div {

    padding:0;
    margin:0;
}

a, a:visited {
    color: #175884;
}

a:hover {
    color:#5180c1;
}


html {
    height:100%;
    width:100%;
}

body {
    width:100%;
    font-family:"fira_sanslight";
    font-weight: 200;
    font-size:15px;   
    line-height: 24px;
    text-rendering: optimizeSpeed;
    font-feature-settings: "liga" 0;        
}

body strong {
    font-family:fira_sansmedium;
    font-weight:normal;
}

h1, h2 {
    font-family:"fira_sansthin";
    color: #5180c1;
}

h1, h2 {
    font-size:30px;   
    line-height: 34px;
    padding-bottom:8px;
    padding-top:30px;
}

#wrap {
    width:100%;
    overflow:hidden;
}
#innerWrap {
    width:900px;
    margin: 0 auto;
    padding-top:50px;
}
#logo {
    background-image: url(../media/oe.svg);
    background-size:180px;
    background-repeat: no-repeat;
    width:180px;
    height:180px;
    padding:0 0 0 100px;
}
#roteLinie {
    width: 2000px;
    height: 75px;
    margin-left:75px;
    /* border-bottom: 2px solid #DCE0E5; */
    border-bottom: none; 
}
#roteFlaeche {
    position: absolute;
    top:0;
    right:0;
    width:80px;
    height:100%;
    background: #E2001A;    
    z-index:1;
    background-image:  url(../media/schrift.svg);
    background-repeat: no-repeat;
    background-size: 32px;
    background-position: 22px 78px;
}

#blauerStrichInRoterFlaeche {
    position: absolute;
    top:191px;
    right:0;
    width:80px;
    height:4px;
    background: #5180c1;    
    z-index:3;

}
#blaueLinie {
    width: 2000px;
    height: 6px;
    margin-left:12px;
    opacity:0;
    border-bottom: 4px solid #5180c1;
}


.clear {
    clear:both;
}



#unterzeile {
    padding:7px 0 0 9px;        
}
#menu ul {
    list-style-type: none;
}
#menu {    
    width: 162px;
    float:left;
    text-align: left;
    /*border-right: 3px solid #86a6d3; */
    padding-left:38px;
    margin-top:255px;
    font-size: 17px;
    line-height: 24px;
    position: absolute;
}
#mainmenu {
    position: absolute;
}

#menu a, #menu a:visited {
    color: #333333;
    text-decoration: none;
}
#menu a:hover {
    color:#5180c1;
}
#menu .act a {
    color:#5180c1;
    /* border-bottom: 1px dotted #333; */
}
#content{
    margin:-180px 0 40px 0;
    padding-right:95px;
    padding-left: 268px;
    min-height:200px;
}

p {
    padding-bottom:9px;
}
figcaption {
    font-size:14px;
    color:#666;
    line-height: 18px;
    padding-top:9px;
}

.text-right {
    text-align: right;
}

.ce-intext.ce-left .ce-gallery {
    margin-right: 30px;
}

.ce-intext.ce-right .ce-gallery {
    margin-left: 25px;

}

.ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery, .ce-above .ce-gallery {
    margin-bottom: 20px;
}

.image {

    padding-bottom:10px;    
}

.slick-dots {
    display:none !important;
}

table {
    border-collapse: collapse;

}

table tr td {
    vertical-align: top;
    padding: 0.3rem 1rem ;
}
table tr:nth-child(even) {
  background-color: #f2f2f2;
}

table.bookmarks{
    border-collapse:collapse;
    margin-top:8%;
    margin-bottom:12px;
}
table.bookmarks tr td {
    vertical-align: middle;    
}

table.bookmarks tr.oneBookmark td  {
    background:#def;
    padding:5px 12px 2px 12px;
}
table.bookmarks tr.oneCategory td  {
    background:#ced;
    padding:5px 12px 2px 12px;
}

table.bookmarks tr.oneBookmarkDescription td, table.bookmarks tr.oneBookmarkDescription td,
table.bookmarks tr.oneCategoryDescription td, table.bookmarks tr.oneCategoryDescription td {
    padding:1px 12px 12px 12px;
    font-size:0.7em;
}

table.bookmarks tr.oneBookmark td.first, table.bookmarks tr.oneCategory td.first  {
    border-radius: 6px 0 0 0;
}

table.bookmarks tr.oneBookmark td.last, table.bookmarks tr.oneCategory td.last  {
    border-radius: 0 6px 0 0;
}

ul.categoryList {
    list-style-type: none;   
    background: #ced;
    padding:12px;
    border-radius: 6px;
    display: inline-block;
}

ul.categoryList li {
    float:left;
    border-radius: 4px;
    background:white;
    padding:2px 12px 2px 12px;
    margin-right:9px;
}
ul.categoryList li a {
    text-decoration: none;
}

select.categories {
    background: #ced;
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-size: 13px; 
}

select.categories option:checked, select.categories option:selected {
    background: purple;
}

.bookmarkFormFields input, .bookmarkFormFields textarea,
.categoryFormFields input, .categoryFormFields textarea {
    background: #def;
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-size: 13px; 
    width:350px;
}
.categoryFormFields input, .categoryFormFields textarea {
    background: #ced;
}

.bookmarkFormFields .field,
.categoryFormFields .field{
    margin-top:12px;    
}


/* ################################ Sprung ########################### */


@media only screen and (max-width: 900px) {

    #logo {
        background-size:90px;
        width:90px;
        height:90px;

    }
    #roteFlaeche {
        display:none;
    }

    #blauerStrichInRoterFlaeche {
        display:none;
    }    
    #closeMenuOverlay {
        position: absolute;
        top:0; left:0; width:100%;
    }


    #roteLinie {
        width: 2000px;
        height: 36px;
        margin-left:5px;
        border-bottom: 3px solid #DCE0E5;
    }
    #blaueLinie {
        width: 2000px;
        height: 3px;
        margin-left:0;
        border-bottom: 3px solid #5180c1;
    }

    #trenner {
        width:100%;
        margin-top:-15px;
    }

    #trenner tr td {
        vertical-align: top;
    }

    #trenner tr td.col1 {
        width:120px;
    }

    #trenner .border {
        height:12px;
        margin-right:10px;
    }   

    .hamburger {
        width:39px; 
        height:39px;
        background-image:url(../media/hamburger_grau_rand.svg);
        background-repeat: no-repeat;
        cursor: pointer;
        position:absolute;
        /* will be overwritten via JS! */ 
        top:35px;
        right:10px; 
    }

    #content {
        margin: 0 0 40px 0;        
        padding:10px 10px 0 60px;  

    }  
    #menu {
        margin-top: 75px;
        opacity:0;
    }
    #wrap {
        width:auto;
        padding: 0 20px 10px 20px;
    }

    #innerWrap {
        width:auto;
        margin: 0;
        padding:20px 0 0 0;
    }

    h1, h2 {
        font-size:30px;   
        line-height: 36px;
        padding-bottom:4px;
    }    

    #menu {
        position:absolute;
        right:0;
        /* will be overwritten via JS! */                 
        top:90px;
        background:#5180c1;
        border-radius: 4px;
        padding-left:0;
        background-image: none;
        padding-right:10px;
        margin-right:10px;
        margin-top: 10px;   
        min-height: 0;
        z-index:9999;
        overflow:hidden;
        opacity:0;
        left:auto;
        border-right: none;
        width:auto;
    }

    #menu a, #menu a:visited {
        color: white;
        text-decoration: none;
    }
    #menu a:hover {
        color:white;
    }
    #menu .act a {
        color:white;
        border-bottom: 2px dotted white;
    }

    #menu ul {
        padding:10px 0 10px 0;
    }

    #menu li {
        padding:5px 10px 5px 20px;
    }

    figcaption {
        padding-top:4px;
    }

    .ce-intext.ce-left .ce-gallery {
        margin-right: 10px;
    }

    .ce-intext.ce-right .ce-gallery {
        margin-left: 10px;

    }

    .ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery, .ce-above .ce-gallery {
        margin-bottom: 10px;
    }    

}


@media only screen and (max-width: 460px) {
    #content {
        padding:10px 10px 0 20px;  

    }  
}

@media only screen and (max-width: 300px) {
    #wrap {
        padding: 0 10px 10px 10px;
    }
    #content {
        padding:    0px 5px 0 5px;  

    } 
}



@media print {

    #menu, #mainmenu, logo {
        display:none;     
        width:0;
    }
    
    #content {
     padding-left:95px;   
    }
    
    #logo {
        opacity: 0;
    }
}