body {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400;
    line-height: 1.7;
    color: black;
    background-color: white;
}

#jm-main {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    padding-top: 250px;
}

.a:hover:not(.dj-up_a) .dj-up_a:hover {
    color: #3aa7e0;
}

#dj-megamenu313 .dj-up:hover,
#dj-megamenu313 .dj-up_a:hover,
#dj-megamenu202 .dj-up:hover,
#dj-megamenu202 .dj-up_a:hover,
a:hover {
    outline: none !important;
}

#dj-megamenu313 .dj-up_a:hover,
#dj-megamenu202 .dj-up_a:hover,
a:hover:not(.dj-up_a, .mod-languages li a, .btn, li.dj-mobileitem a, .dj-offcanvas-close-btn, .dj-mobile-open-btn, .customnews-archiv a, .customevents-archiv a) {
    text-decoration: underline !important;
}

#jm-logo-nav-in {
    display: flex;
    align-items: center;
    vertical-align: middle;
    justify-content: space-between;
}

#jm-logo-nav-in.container-fluid::before, #jm-logo-nav-in.container-fluid::after{
    display: none;
}

#jm-logo img {
    max-height: 146px;
    height: 100%;
    max-width: 298px;
    width: 100%;
}

a:focus,
#dj-megamenu202 span:focus,
#dj-megamenu313 span:focus {
    outline: none !important;
    font-size: 100%;
}

#dj-megamenu313,
#dj-megamenu202 {
    transition: 0.5s;
}

a:not(.btn),
.readmore>.btn,
#jm-allpage #jm-page-settings .nav.menu button {
    text-decoration: none !important;
}

.news-border p,
.news-border h3,
.news-border a {
    padding: 10px;
}

.customgrafik img {
    max-width: 70%;
}

#jm-footer {
    padding: auto;
    margin-top: auto;
    background-color: #00749E;
    vertical-align: middle;
    min-height: 100%;
}

.span6 .item.column-2,
.span6 .item.column-1,
.span12 .item.column-1 {
    border: 3px solid #bbcad3;
    border-radius: 30px;
    transition: 0.5s;
}

.span12 .item.column-1 {
    padding: 20px !important;
}

.span6 p.readmore .btn {
    color: white;
}

.span6:hover .readmore .btn {
    color: white;
}

.span6 .readmore .btn {
    color: #3aa7e0;
}

.span6 img {
    margin-top: 20px
}

.mod-articles-category-title {
    color: #3aa7e0 !important;
}

.dj-subwrap-in {
    margin: 20px;
}

.blog .items-leading div[class*="leading-"],
.blog-featured .items-leading div[class*="leading-"],
.blog .items-row,
.blog-featured .items-row {
    margin-bottom: 0px;
}

#jm-top-menu {
    transition: 0.5s;
}

#jm-logo-nav {
    padding-top: 25px;
    padding-bottom: 25px;
    background: #fff;
    color: #fff;
    transition: 0.5s;
    position: fixed;
    width: 100%;
}

#jm-logo a img {
    transition: 0.5s;
}

.span12 a {
    color: #3aa7e0;
}

.dj-subwrap-in {
    box-shadow: 0px 0px 50px 5px rgba(0, 0, 0, 0.3)
}

.gefordert-durch-background,
#jm-bottom1 {
    background-color: #3aa7e0;
    color: white;
}

#jm-bottom1 a {
    background: transparent !important;
}

.news-border p,
.news-border h3,
.news-border a {
    padding: 0px
}

.events-border p,
.events-border h3,
.events-border a {
    padding: 0px;
}

.mod-articles-category-introtext {
    padding-bottom: 10px !important;
}

p.readmore .btn {
    padding: 10px;
    background: #3aa7e0;
    color: white;
    transition: 0.5s;
    border: 3px solid #3aa7e0;
    border-radius: 30px;
}

p.readmore .btn:hover {
    color: white;
    background-color: #114F6F;
}

.news-archiv a {
    padding: 10px;
    background: #3aa7e0;
    color: white;
    transition: 0.5s;
    border: 3px solid #3aa7e0;
    border-radius: 30px;
    font-size: 100% !important;
    margin-bottom: 30px !important;
    text-decoration: none !important;
}

.news-archiv p {
    text-align: right !important;
}

.news-archiv a:hover {
    color: white;
    background-color: #114F6F;
}

.events-archiv a {
    padding: 10px;
    background: #3aa7e0;
    color: white;
    transition: 0.5s;
    border: 3px solid #3aa7e0;
    border-radius: 30px;
    font-size: 100% !important;
    margin-bottom: 30px !important;
    text-decoration: none !important;
}

.events-archiv p {
    text-align: right !important;
}

.events-archiv a:hover {
    color: white;
    background-color: #114F6F;
}

#jm-footer-mod {
    min-height: 100%;
    max-height: 100%;
    color: black;
}

#jm-footer-mod td {
    padding: 30px
}

#jm-footer-mod img {
    max-width: 100%;
    margin-left: 0px;
}

#jm-footer-mod table {
    display: table;
    table-layout: fixed;
    width: auto !important;
}

#jm-footer-mod h3 {
    margin-bottom: 20px;
}

#jm-right {
    padding-left: 30px;
}

.news-archiv,
.event-archiv {
    padding-bottom: 30px;
}

.news-border,
.events-border {
    margin-bottom: 10px !important;
}

.span3 img {
    margin-top: 20px;
}

hr {
    border: 1px solid black;
}

.back-button {
    background: #3aa7e0;
    color: white !important;
    transition: 0.5s;
    border: 3px solid #3aa7e0;
    border-radius: 20px;
    font-size: 100% !important;
    width: 20px !important;
    height: 20px !important;
    padding: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    vertical-align: middle;
    justify-content: center;
}

.back-button:hover {
    color: white !important;
    background-color: #114F6F;
}

.back-button-a i {
    font-size: 15pt !important;
    color: white;
}

.back-button-a{
    width: 100%;
    height: 100%;
    font-size: 100% !important;
}

.back-button-a div {
    width: 20px;
    height: 20px;
}

i.fa.fa-arrow-left {
    height: 30px !important;
    overflow: hidden;
}

#jm-footer-mod table {
    display: table;
}

.partners-div-parent {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    vertical-align: middle;
}

.partners-div,
.partners-div-space {
    flex: 1 0 21%;
    margin: 40px;
    max-width: 200px;
    word-wrap: break-word;
    min-width: 150px;
}

.partners-div img {
    max-width: 100%;
}

.partners-div a {
    border: none;
    background-color: transparent !important;
}

#scrollToTop {
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
}

.funded-parent {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.funded {
    flex: 1 0 33%;
    margin: 20px;
    max-width: 170px;
    min-width: 170px;
}

.funded img {
    max-width: 100%;
    aspect-ratio: 2/1;
    object-fit: contain;
}

.funded#m1 img {
    transform: scale(1.25);
}

.funded#m3 img {
    transform: scale(1.37);
}

.iframe-container {
    overflow: hidden;
    /* 16:9 aspect ratio */
    padding-top: 56.25%;
    position: relative;
}

.jm-module-in h3 {
    text-align: center;
}

.custom {
    text-align: center;
}

#jm-bottom2 {
    padding-top: 60px;
    padding-bottom: 30px;
    background: #1e7b9c;
    color: white;
}

.pull-right.item-image img {
    max-height: 160px !important;
}

.blog .span6 .items-leading div[class*="leading-"],
.blog-featured .span6 .items-leading div[class*="leading-"],
.blog .span6 .items-row,
.blog-featured .items-row {
    display: flex;
    vertical-align: top;
    margin: 10px;
    margin-bottom: 10px;
    flex: 0 0 4px;
    flex-wrap: wrap;
}

.span6 .item.column-1,
.span6 .item.column-2 {
    padding: 20px !important;
    widows: 100%;
    transition: 0.5s;
    min-height: 420px;
}

.item.column-2 {
    margin: 0px 0 0 10px;
}

.span6 {
    min-height: 400px;
    padding: 0px !important;
}

.span6 .item.column-1 img,
.span6 .item.column-2 img {
    max-width: 100%;
    height: auto;
    max-height: 64px;
}

.item.column-1:hover,
.item.column-2:hover {
    -webkit-box-shadow: 0px 0px 23px 2px rgba(0, 0, 0, 0.53);
    box-shadow: 0px 0px 23px 2px rgba(0, 0, 0, 0.53);
}

.item.column-1 {
    margin-bottom: 10px;
}

@media only screen and (max-width: 770px) {
    .fa-bars {
        padding-top: 10px;
    }
    #jm-logo-nav {
        padding: 0px !important;
        position: sticky !important;
    }
    #jm-logo img {
        width: 99px !important;
        height: 49px !important;
    }
    #jm-main {
        padding-top: 30px !important;
    }
    .container-fluid {
        max-width: 90vw;
        overflow-wrap: break-word;
    }
    .item.column-2 {
        margin: 0px 0px 10px 0px;
    }
    .item.column-1,
    .item.column-2 {
        max-width: 85vw;
    }
    .span6 p:not(.readmore) {
        display: -webkit-box;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-top: 0px !important;
    }
}

@media only screen and (max-width: 767px) {
    /*Optimierungen für kleinere Geräte*/
    .fa-bars {
        padding-top: 10px;
    }
    #jm-logo-nav {
        position: sticky !important;
        padding: 0px !important;
    }
    #jm-right {
        padding-left: 15px;
    }
    #jm-right {
        padding-left: 15px;
    }
    #jm-logo img {
        width: 99px !important;
        height: 49px !important;
    }
    #jm-main {
        padding-top: 30px !important;
    }
    .item.column-2 {
        margin: 0px 0px 10px 0px;
    }
    .item.column-1,
    .item.column-2 {
        max-width: 85vw;
    }
    .container-fluid {
        max-width: 90vw;
        overflow-wrap: break-word;
    }
    .span6 p:not(.readmore) {
        display: -webkit-box;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-top: 0px !important;
    }
}

@media screen and (max-width: 511px) {
    .partners-div-space {
        display: none;
    }
    .partner-details-button {
        margin-top: 40px;
    }
}

.pull-right.item-image {
    width: 20%;
    text-align: center;
}

.span6 p:not(.readmore) {
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0px !important;
}

.span6 h3 {
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0px !important;
}

.span6 h3 {
    margin-bottom: 0px;
    min-height: 88.2px;
}

.pull-none.item-image {
    margin-left: auto;
    margin-right: auto;
    width: 30em;
}

.legal-notice {
    text-align: center;
}

.legal-notice a {
    color: white;
}

.blogdownload-class .span12 .item.column-1 img {
    width: 100%;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.4);
    transition: 0.5s;
    margin-top: 24px;
    border-radius: 10px;
}

.blogdownload-class .span12 .item.column-1{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.blogdownload-class .page-header{
    width: 100%;
}

.blogdownload-class .pull-left.item-image{
    width: 20%;
    margin: 0;
}

.blogdownload-class .span12 .item.column-1 p {
    width: 75%;
}

dl.article-info.muted {
    border-bottom: 2px solid #bbcad3;
}

.welcome-to-the-game {
    display: none;
    opacity: 0;
    transition: 0.5s;
    text-align: center;
}

.hauptartkel-img{
    border-radius: 20px;
}

::selection{
    background: #702C79;
}