@charset "utf-8";

/*Für den Body und die entsprechenden Mediaqueries Christopher 21.10
 */
body {
    font-family: 'Roboto', sans-serif;
    color: #303d51;
    margin: 0;
}

/* Header */
#header {
    background-color: #014875;
    padding-bottom: 2.5em;
    padding-top: 3em;
    padding-left: 4%;
    padding-right: 4%;
}

#header .top-box {
    position: absolute;
    right: 0;
    top: 0;
}

#header .top-box .loginbtn {
    float: left;
}

#header .top-box .loginbtn a {
    background-color: #0063a7;
    color: #ffffff;
    display: inline-block;
    margin-right: 1em;
    padding: 0.45em 1em;
}

#header .top-box .loginbtn a:hover {
    background-color: #f18700;
}

/* Footer */
#footer {
    display: block;
    padding-top: 1em;
    padding-bottom: 1em;
    background-color: #0063a7;
    padding-right: 4%;
    padding-left: 4%;
    color: #FFFFFF;
    padding-bottom: 3em;
}

#footer a {
    color: #FFFFFF;
}

#footer a:hover {
    text-decoration: underline;
}

#footer ul {
    margin: 0;
    padding: 0;
}

.footerleft {
    float: left;
    width: 55%;
    margin-right: 5%;
}

.footerright {
    float: right;
    width: 40%;
}

#footer h3 {
    color: #FFFFFF;
}

.footerleft ul {
    list-style: none;
}

.footerleft ul li {}

.footerleft ul li a {
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.5em;
}

.footerleft ul ul li a {
    font-size: 1em;
    font-weight: normal;
}

#footer ul ul {
    margin-left: 1.5em;
}



/* Top-Button */
.topbtn {
    position: absolute;
    right: 0;
    top: -5em;
    cursor: pointer;
}

/* Sitemaps in Footer */
.sitemap1 {
    float: left;
    width: 46%;
    margin-right: 8%;
}

.sitemap2 {
    float: left;
    width: 46%;
}

/* Copyright */
.cpyright {
    font-size: 0.8em;
    display: inline-block;
    margin-top: 2em;
}

/* h1, h2, h3, h4, h5 */
h1#siteheader {
    line-height: 0;
    text-indent: -9999px;
    margin: 0;
}

h2, h3, h4 {
    font-family: "Share Tech",sans-serif;
    font-weight: normal;
    color: #0063a7;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
    margin-top: 0.4em;
}

h4 {
    color: #ec5c03;
    font-size: 1.2em;
    margin: 0.5em 0 1em;
}

h5 {
    margin: 0;
}


a {
    text-decoration: none;
}

.content {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}


/* Main Content - Content Left && Content Right */
#main {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    line-height: 1.7em;
    margin: 4rem auto 2rem auto;
    padding: 0 1rem;

}

#main a {
    color: #ec5c03;
}

#main a:hover {
    text-decoration: underline;
}

#main .cleft {
    width: 100%;
}

#main .cleft > div >header > h2 {
    margin-top: 0;
}

#main .cright {
    width: 100%;
}

#main .cright > div {
    margin-bottom: 2.5em;
}

#main .cright .cright-wrap {
    padding-top: 2em;
}

#main .cright #submenu {
    margin: 0;
    padding: 0;
}

#main .cright #submenu li {
    list-style: none;
    margin-bottom: 0.4em;
}

#main .cright #submenu li a {
    background-color: #eaeef0;
    color: #303d51;
    display: block;
    padding: 0.5em 0.5em 0.5em 1em;
}

#main .cright #submenu li a:hover {
    text-decoration: none;
    color: #ec5c03;
}

#main .cright #submenu li a.active {
    background-color: #ec5c03;
    color: #FFFFFF;
}

#main .cright #submenu ul {
}

#main .cright #submenu ul li {
    list-style: outside none disc;
    margin-bottom: 0;
}

#main .cright #submenu ul li a {
    background-color: transparent;
    padding-left: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9em;
}

#main .cright #submenu ul li a.active {
    background-color: transparent;
    color: #ec5c03;
}

.subMenuActive a{
    color: #ec5c03;
}

.subMenuActive{
    background-color: #ec5c03;
}

/* Divider Line */
hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/* Box */
.box {
    background-color: #eaeef0;
}

.box > .box-content, .box > .news {
    padding: 1.2em 1em 1em 1.2em;
}

/*Bullet list*/
.box > .ce-bullets {
    margin: 0;
    padding: 1.2em 1em 1em 2.2em;
}
/*Headlines on right site*/
.box > header > h2, .box > header > h3 {
    background-color: #0063a7;
    color: #ffffff;
    margin: 0;
    padding: 0.5em 0.2em 0.5em 0.75em;
    font-size: 1.5em;
}

.clearfix {
    clear: both;
    margin: 0;
}

/* Headers */
.csc-header-alignment-center { text-align: center; }
.csc-header-alignment-right { text-align: right; }
.csc-header-alignment-left { text-align: left; }

div.csc-textpic-responsive, div.csc-textpic-responsive * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;  }

/* Clear floats after csc-textpic and after csc-textpic-imagerow */
div.csc-textpic, div.csc-textpic div.csc-textpic-imagerow, ul.csc-uploads li { overflow: hidden; }

/* Set padding for tables */
div.csc-textpic .csc-textpic-imagewrap table { border-collapse: collapse; border-spacing: 0; }
div.csc-textpic .csc-textpic-imagewrap table tr td { padding: 0; vertical-align: top; }

/* Settings for figure and figcaption (HTML5) */
div.csc-textpic .csc-textpic-imagewrap figure, div.csc-textpic figure.csc-textpic-imagewrap { margin: 0; display: table; }

/* Captions */
figcaption.csc-textpic-caption { display: table-caption; }
.csc-textpic-caption { text-align: left; caption-side: bottom; }
div.csc-textpic-caption-c .csc-textpic-caption, .csc-textpic-imagewrap .csc-textpic-caption-c { text-align: center; }
div.csc-textpic-caption-r .csc-textpic-caption, .csc-textpic-imagewrap .csc-textpic-caption-r { text-align: right; }
div.csc-textpic-caption-l .csc-textpic-caption, .csc-textpic-imagewrap .csc-textpic-caption-l { text-align: left; }

/* Float the columns */
div.csc-textpic div.csc-textpic-imagecolumn { float: left; }

/* Border just around the image */
div.csc-textpic-border div.csc-textpic-imagewrap img {
    border: 2px solid black;
    padding: 0px 0px;
}

div.csc-textpic .csc-textpic-imagewrap img { border: none; display: block; }

/* Space below each image (also in-between rows) */
div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image { margin-bottom: 10px; }
div.csc-textpic .csc-textpic-imagewrap .csc-textpic-imagerow-last .csc-textpic-image { margin-bottom: 0; }

/* colSpace around image columns, except for last column */
div.csc-textpic-imagecolumn, td.csc-textpic-imagecolumn .csc-textpic-image { margin-right: 10px; }
div.csc-textpic-imagecolumn.csc-textpic-lastcol, td.csc-textpic-imagecolumn.csc-textpic-lastcol .csc-textpic-image { margin-right: 0; }

/* Add margin from image-block to text (in case of "Text & Images") */
div.csc-textpic-intext-left .csc-textpic-imagewrap,
div.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap {
    margin-right: 10px;
}
div.csc-textpic-intext-right .csc-textpic-imagewrap,
div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {
    margin-left: 10px;
}

/* Positioning of images: */

/* Center (above or below) */
div.csc-textpic-center .csc-textpic-imagewrap, div.csc-textpic-center figure.csc-textpic-imagewrap { overflow: hidden; }
div.csc-textpic-center .csc-textpic-center-outer { position: relative; float: right; right: 50%; }
div.csc-textpic-center .csc-textpic-center-inner { position: relative; float: right; right: -50%; }

/* Right (above or below) */
div.csc-textpic-right .csc-textpic-imagewrap { float: right; }
div.csc-textpic-right div.csc-textpic-text { clear: right; }

/* Left (above or below) */
div.csc-textpic-left .csc-textpic-imagewrap { float: left; }
div.csc-textpic-left div.csc-textpic-text { clear: left; }

/* Left (in text) */
div.csc-textpic-intext-left .csc-textpic-imagewrap { float: left; }

/* Right (in text) */
div.csc-textpic-intext-right .csc-textpic-imagewrap { float: right; }

/* Right (in text, no wrap around) */
div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap { float: right; }

/* Left (in text, no wrap around) */
div.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap { float: left; }

div.csc-textpic div.csc-textpic-imagerow-last, div.csc-textpic div.csc-textpic-imagerow-none div.csc-textpic-last { margin-bottom: 0; }

/* Browser fixes: */

/* Fix for unordered and ordered list with image "In text, left" */
.csc-textpic-intext-left ol, .csc-textpic-intext-left ul { padding-left: 40px; overflow: auto; }

/* File Links */
ul.csc-uploads { padding: 0; }
ul.csc-uploads li { list-style: none outside none; margin: 1em 0; }
ul.csc-uploads img { float: left; margin-right: 1em; vertical-align: top; }
ul.csc-uploads span { display: block; }
ul.csc-uploads span.csc-uploads-fileName { text-decoration: underline; }

/* Table background colors: */

table.contenttable-color-1 { background-color: #EDEBF1; }
table.contenttable-color-2 { background-color: #F5FFAA; }
table.contenttable-color-240 { background-color: black; }
table.contenttable-color-241 { background-color: white; }
table.contenttable-color-242 { background-color: #333333; }
table.contenttable-color-243 { background-color: gray; }
table.contenttable-color-244 { background-color: silver; }
/* specific page styles for extension "tx_cssstyledcontent" */
.csc-textpic-intext-right-nowrap .csc-textpic-text { margin-right: 490px; }
.csc-textpic-intext-left-nowrap .csc-textpic-text { margin-left: 490px; }
.csc-space-before-20 { margin-top: 20px !important; }
.csc-space-after-20 { margin-bottom: 20px !important; }

.csc-textpic-image img {
    width: 100%;
    height: auto;
}

/*for pictures used in text-media Elements in col=0
*/

.csc-textpic-image img {
    width: 100%;
    height: auto;
}


.csc-textpic-intext-left .csc-textpic-imagewrap .csc-textpic-image {
    margin-bottom: 0.5em;
    margin-right: 1em;
}

.partnerbox {
    border-bottom: 2px solid #bebebe;
    padding-top: 1.5em;
}

.partnerbox .csc-textpic-intext-left-nowrap-234 .csc-textpic-text {
    padding-left: 1.6em;
}

.mem-ov .csc-textpic-image {
    display: block;
    float: left;
    margin-bottom: 5% !important;
    margin-right: 6% !important;
    width: 27%;
}

.mitglied .box-content .csc-textpic-imagewrap {
    background-color: #FFFFFF;
    padding: 0.4em;
}

div.csc-textpic-intext-right .csc-textpic-imagewrap, div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap, div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {
    margin: 0;
}

.borderbottom {
    border-bottom: 2px solid #bebebe;
    padding-bottom: 1.5em;
    padding-top: 1em;
}

/*end of properties for pictures in the context of text-media elements*/

/*final properties for text-media elements, which actually refer to the existing classes in the partials 07.11 22:39*/

img.image-embed-item {
    max-width: 100% !important;
    height: auto !important;

}

figure.image {
    margin: 0;
    padding: 0;
    border: 0;
}

.ce-column {
    margin: 0;
}

.ce-textpic.ce-left.ce-intext.ce-nowrap {
    overflow: hidden;
}

/*this for distinction between Vorstand and Home gallery-rendering*/

/*for "neben dem Text links""*/

.ce-textpic.ce-left.ce-intext.ce-nowrap.flex-container {
    display: flex !important;
    flex-direction: row !important; ;
}

.ce-textpic.ce-left.ce-intext.ce-nowrap .ce-gallery {
    margin-right: 10px;
    flex: 1;
}

.csc-textpic csc-textpic-center csc-textpic-above{
    overflow: hidden;
}

.ce-column{
    overflow: hidden;
}

/*for "neben dem Text rechts"*/

.ce-textpic.ce-right.ce-intext.ce-nowrap {
    overflow: hidden;
}

.ce-textpic.ce-right.ce-intext.ce-nowrap .ce-gallery{
    float: right;
    margin-left: 20px;
}

/* properties for Text-media elemtns and their behaviour when pictures added
*/
.ce-textpic.ce-left.ce-intext.ce-nowrap.flex-container .ce-bodytext{
    flex: 1;
}


.ce-inner .ce-row {
    display: inline-block;
}

.ce-textpic .image-embed-item{
    margin: 3px;
}

/*END of final properties*/

/* Christopher 02.12 21:39 für oben-rechts[1] in Gallery Settings im Backend:
  damit die Bildergallerie richtig dargestellt wird, wurde das Gridsystem von flex genutzt
*/

.flex-container.ce-textpic.ce-right.ce-above .ce-gallery {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.flex-container.ce-textpic.ce-right.ce-above .ce-row {
    flex: 30%;
}

.flex-container.ce-textpic.ce-center.ce-above.ce-gallery .ce-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.flex-container.ce-textpic.ce-center.ce-above.ce-inner .ce-row {
    flex: 30%;
}



/* Media Queries */
@media (min-width: 1000px) {
    #main {
        padding: 0;
    }
}

@media (min-width: 860px) {
    #main {
        flex-direction: row;
        justify-content: space-between;
        max-width: 960px;
    }

    #main .cleft {
        width: 62%;
        margin-right: 8%;
    }

    #main .cright {
        width: 30%;
    }
}

@media (max-width: 860px) {

    .mobile-inner-nav {
        display: block;
    }

    #mainnavi {
        display: none;
    }
}

@media (max-width: 700px) {
    #main .cleft, #main .cright {
        width: 100%;
        margin-right: 0;
    }

    #footer .footerleft, #footer .footerright {
        width: 100%;
        margin-right: 0;
    }

    .ce-textpic.ce-left.ce-intext.ce-nowrap .ce-bodytext {
        width: 100%;
        margin: 0;
    }

    .ce-textpic.ce-left.ce-intext.ce-nowrap .ce-gallery {
        width: 100%;
        margin-bottom: 15px;
    }

    .ce-textpic.ce-left.ce-intext.ce-nowrap.flex-container {
        display: flex !important;
        flex-direction: column !important;
    }
}





@media (max-width: 500px) {

    .mitglied {
        width: 100%;
    }

    #header .top-box {
        position: absolute;
        right: 0;
    }

    .searchBox input[type="text"] {
        width: 7em;
    }

    #logo {
        padding-top: 5em;
    }

    .ce-textpic.ce-left.ce-intext.ce-nowrap .ce-bodytext {
        width: 100%;
        margin: 0;
    }

    .ce-textpic.ce-left.ce-intext.ce-nowrap .ce-gallery {
        width: 100%; height: auto;
        margin-bottom: 15px;
    }

    .ce-textpic.ce-left.ce-intext.ce-nowrap.flex-container {
        display: flex !important;
        flex-direction: column !important;
    }



}