/*
	TXT by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

/* Header */

:root {
    --bgcolor: #f2f5f3;
    --colorbg: #f2f5f3;
    --color-rfdr-primary: #b72b4d;
    --color-rfdr-second: #b6405f;
    --color-rfdr-third:  #b85d79;
    --color-rfdr-active: rgba(198, 52, 73, 0.94);
    --color-rfdr-black: #000;
    --color-rfdr-white: #fff;
    --color-rfdr-greylight: #edf0f2;
    --color-rfdr-greywhite: #C1CAC5;
    --color-rfdr-grey: grey;
}
#logo {
    display: none;
}

#header {
    text-align: center;
    font-size: 2rem;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    padding: 0.5rem 0 0.5rem 0;
    background: var(--color-rfdr-white);
    margin: 0 auto;
}

#header .logo {
    position: relative;
    text-align: center;
    border-top: solid 5px #e7eae8;
    top: 0.65rem;
}

#header .logo div {
    background: var(--color-rfdr-white);
    position: relative;
    display: inline-block;
    padding: 0 1.5rem 0 1.5rem;
    top: -0.65rem;
}

#header .logo h1 {
    display: inline;
}

#header .logo p {
    display: inline;
    color: var(--color-rfdr-greywhite);
}


/* Nav */

#nav {
    left: 0;
    z-index: 1000;
    background-color: var(--color-rfdr-primary);
    width: 100%;
    line-height: 2.1rem;
    text-align: center;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 500;
    cursor: default;
    padding: 0;
    margin: 0;
    @media screen and (max-width: 980px) {
        display: none
    }
}

#nav-header {
    position: fixed;
    display: flex;
    z-index: 1000;
    top: 0;
    width: 100%;
    background-color: var(--color-rfdr-primary);
}

#nav-logo {
    height: 60px;
    position: absolute;
    padding: 0.5rem 0 0.5rem 1rem;
    right: 10%;
    top: 2rem;
}

#nav ul {
    position: relative;
    z-index: 1001;
    background-color: var(--color-rfdr-primary);
}

#nav ul li {
    font-size: 1.2rem;
    line-height: 1.1rem;
    font-weight: normal;
    text-transform: none;
}

#nav li {
    display: inline-block;
    margin: 0 0.5rem 0 0.5rem;
    top: 0;
    position: relative;
    -webkit-transition: top .15s ease-in-out;
    -o-transition: top .15s ease-in-out;
    -ms-transition: top .15s ease-in-out;
    transition: top .15s ease-in-out;
}

#nav li > ul {
    display: none;
}
#nav li > ul {
    display: none;
}

#nav li:not(:last-child) a, #nav li span {
    -webkit-transition: background-color .075s ease-in-out, color .075s ease-in-out;
    -ms-transition: background-color .075s ease-in-out, color .075s ease-in-out;
    transition: background-color .075s ease-in-out, color .075s ease-in-out;
    position: relative;
    display: block;
    text-decoration: none;
    color: var(--color-rfdr-white);
    top: -1.5em;
    padding: 2em 1em 0.25em 1em;
    border-radius: 6px;
    outline: 0;
}

#nav li:last-child a {
    text-decoration: none;
}
.nav-item-small { font-size: 0.7em; }
/*
 *  Navigation Size in smaller display
 */
@media screen and (max-width: 1250px) {
    #nav li a, #nav li span {
        padding: 2em 0.7em 0.25em 0.7em;
    }
}
@media screen and (max-width: 1170px) {
    #nav-logo-sticky {
        display: none;
    }
}
@media screen and (max-width: 1050px) {
    #nav li a {
        padding: 2em 0.4em 0.25em 0.4em;
    }
    .logoline-right-text {
        padding: 0.4rem 2rem 0 3rem;
        line-height: 1.3em;
        font-size: 1.6rem;
    }
    #nav li:last-child {
        display: none;
    }
}
#nav li:not(:last-child):hover, #nav li.active {
    top: -4px;
}

#nav li:hover a, #nav li:hover span {
    background: var(--color-rfdr-active);
    color: var(--color-rfdr-white);
}

#nav li.active a, #nav li.active span {
    background: var(--color-rfdr-active);
    color: var(--color-rfdr-white);
}

#nav li.current a {
    background: var(--color-rfdr-active);
    color: var(--color-rfdr-white);
}

#nav .active, #nav .dot:hover {
    background-color: var(--color-rfdr-primary);
}

#nav li.current li a:active {
    color: var(--color-rfdr-white);
    border-color: var(--color-rfdr-third);
}

/*** header scrolling into sticky small header ***/
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

#nav-logo-sticky {
    height: 3em;
    position:relative;
    visibility: hidden;
}
#nav-logo-sticky img {
    height: 3em;
}
/*li:not(:last-child):hover #nav-logo-sticky {
li:not(:last-child):hover {
    top: -4px;
}*/

.sticky-sub {
    position: fixed;
    top: 3.3rem;
    width: 100%;
    z-index: 1;
}

.sticky-sub > h1 {
    font-size: 1.5rem;
}
/*** END header scrolling ***/

.page-header {
    background-color: var(--color-rfdr-primary);
    padding: 1.3rem;
    display: flex;
    justify-content: space-between;
}
.logo {
    color: var(--color-rfdr-white);
    align-self: center;
    margin-left: 1.2rem;
    font-size: 2.5rem;
}
.header-logoline {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}
.logoline-left {
    float: left;
    padding: 0 4rem;
    display: inline-flex;
}
.logoline-right-text {
    float: right;
    padding: 1rem 4rem 0 4rem;
    line-height: 1.2em;
    display: inline-flex;
    font-size: 2rem;
    font-weight: normal;
}
.logo-img {
    padding: 1.4rem 2rem 1.4rem 0;
    height: 3.5em;
    max-width: none;
}
.no-linkstyle {
    top: 0;
    padding: 0;
}

@media only screen and (max-width: 900px) {
    .header-logoline {
        display: grid;
        text-align: left;
    }
    .logoline-right-text {
        font-size: 1.5rem;
    }
}
@media only screen and (max-width: 600px) {
    .header-logoline {
        display: grid;
        text-align: left;
    }
    .logoline-right-text {
        font-size: 1.2rem;
    }
}

.nav-bar {
    margin: auto;
}

.nav-bar a {
    color: var(--color-rfdr-white);
    padding: 1.5rem;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.2rem;
}

.menu-icon {
    color: var(--color-rfdr-white);
    cursor: pointer;
    display: none;
}

button {
    font-size: 1rem;
    border: 1px solid black;
    border-radius: 5px;
    padding: 0.9rem;
}



/* Navigation DropDownMenu : in responsive Smartphone-mode left-Menu  */
.dropotron {
    list-style: none;
    background: var(--color-rfdr-third);
    color: var(--color-rfdr-white);
    border-radius: 6px;
    line-height: 2.75em;
    text-align: center;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 500;
    padding: 1em 0;
    text-align: left;
    min-width: 14em;
    margin-top: -1em;
    box-shadow: 0 1em 2em 0 rgba(0, 0, 0, 0.1);
}

.dropotron li {
    padding-left: 0;
}

.dropotron li > a, .dropotron li > span {
    display: block;
    color: #D7DAD8;
    text-decoration: none;
    padding: 0 1.25em;
}

.dropotron li:hover > a, .dropotron li:hover > span {
    color: var(--color-rfdr-white);
    background: var(--color-rfdr-primary);
}

.dropotron li.active > a, .dropotron li.active > span {
    color: var(--color-rfdr-white);
    background: var(--color-rfdr-primary);
}

.dropotron li:first-child {
    border-top: 0;
}

.dropotron.level-0 {
    margin-top: 1em;
    font-size: 0.9em;
}

.dropotron.level-0:before {
    content: '';
    position: absolute;
    left: 50%;
    margin-left: -1em;
    top: -0.65em;
    border-bottom: solid 1em var(--color-rfdr-third);
    border-left: solid 1em transparent;
    border-right: solid 1em transparent;
}
ul.dropotron.level-1 li a {
    font-size: 0.9em;
    line-height: 1.3em;
    max-width:850px;
    min-width: 600px;
    padding: 0.3em 0.8em;
    word-wrap:break-word;
    width: auto !important;
    white-space: wrap;
}
ul.dropotron.level-1 li a:hover {
    color: var(--color-rfdr-black);
}

/* Banner */

.rfdr-banner, .rfdr-banner-footer {
    background-image: url("/typo3conf/ext/site_rfdr/Resources/Public/Images/TitelbildV1-min.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 2em;
}
header-logo{
    right: 10%;
    top: 2rem;
    position: absolute;
    width: fit-content;
}
.rfdr-banner .rfdr-ziele {
    margin: 2rem;
    transition: all 700ms ease;
    width: 66%;
}

.rfdr-banner .rfdr-ziele:hover {
    background-color: var(--color-rfdr-white);
    border-style: none;
    border-width: 1px;
    border-radius: 5px;
    margin: 2rem;
}

.rfdr-banner-wrapper {
    text-align: center;
}

.rfdr-banner h1 {
    line-height: 1.5;
    color: var(--color-rfdr-black);
    font-size: 2rem;
    font-weight: normal;
}

.rfdr-banner h2 {
    line-height: 1.2;
    padding-bottom: 1rem;
    color: var(--color-rfdr-black);
    font-size: 1.5rem;
    font-weight: normal;
}

.rfdr-banner p {
    display: block;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    color: rgba(2, 7, 4, 0.7);
    font-size: 1.35em;
    margin: 0 0 1.25em 0;
    line-height: 2rem;
    color: var(--color-rfdr-black);
}

.rfdr-ziele {
    text-align: center;
    overflow: hidden;
    clear: both;
}

.rfdr-ziele-separator-h {
    display: inline-block;
    vertical-align: top;
    position: relative;
    height: inherit;
    border-color: inherit;
    color: inherit;
    padding: 1rem 0px;
}

.rfdr-ziele-separator-h:before, .rfdr-ziele-separator-h:after {
    content: '';
    display: inline-block;
    vertical-align: top;
    position: absolute;
    top: 50%;
    height: 0;
    width: 200rem;
    border-top-width: 1px;
    border-top-style: solid;
    border-color: var(--color-rfdr-black);
}

.rfdr-ziele-separator-h:before {
    right: 100%;
    margin-right: 1rem;
}

.rfdr-ziele-separator-h:after {
    left: 100%;
    margin-left: 1rem;
}

.rfdr-ziele-separator-h > * {
    display: inline-block;
    vertical-align: top;
    line-height: inherit !important;
    margin: 0
}

/*#########################################################################################*/

.rfdr-ziele-content-box, .ult-content-box, .rfdr-banner-footer_column-text {
    background-color: rgba(255, 255, 255, 0.6);
}
.rfdr-ziele-content-box, .ult-content-box {
    border-style: none;
    border-width: 1px;
    border-radius: 5px;
    border-color: var(--color-rfdr-white);
    padding: 20px;
    min-height: 450px;
    -webkit-transition: all 700ms ease;
    -ms-transition: all 700ms ease;
    -o-transition: all 700ms ease;
    transition: all 700ms ease;
}
.rfdr-banner-footer { display: grid; }
.rfdr-banner-footer_column { display:grid; grid-template-columns: 33% 1fr; gap:5px; padding-top: 1.5em; padding-bottom: 1em; }
.rfdr-banner-footer_column1, .rfdr-banner-footer_column2 { float:left; padding:5px; }
.rfdr-banner-footer_column-image { float:left; width:33%; padding:5px; }
.rfdr-banner-footer_column-text {
    float: right;
    border-style: none;
    border-width: 1px;
    border-radius: 5px;
    border-color: var(--color-rfdr-white);
    -webkit-transition: all 700ms ease;
    -ms-transition: all 700ms ease;
    -o-transition: all 700ms ease;
    transition: all 700ms ease;
    padding: 2rem;
}
.rfdr-banner-footer_column-text:hover {
    background-color: var(--color-rfdr-white);
    border-style: none;
    border-width: 1px;
    border-radius: 5px;
    padding: 2rem;
}
.rfdr-banner-footer_column-text p {
    font-size: 1.2rem;
    line-height: 1.8rem;
}
/*#########################################################################################
###  Responsive Navigation
#*/
img.navPanel-logo {
    height: 2.5rem;
    padding-left: 5rem;
}

/*#########################################################################################
###  page name line
#*/
#grey-page-line {
    background-color: var(--color-rfdr-white);
}

.headline-lefttext {
    padding: 0.5rem 4rem;
    text-align: left;
    font-weight: 400;
    font-size: 1.8rem;
    color: var(--color-rfdr-grey);
}