:root {
    --body-max-width: 960px;
}

* {
    margin: 0;
    padding: 0;
}

html {}

body {
    font-family: 'pepiregular', Arial, Helvetica, sans-serif;
    font-size: 15px;
    background: #fff;
    color: #221f20;
}

ul {
    padding-left: 20px;
}

p.images-responsive {
    img {
        &.align-left,
        &.align-right {
            width: 50%;
            margin-top: 10px;
            margin-bottom: 10px;
        }

        &.align-left {
            margin-right: 20px;
        }

        &.align-right {
            margin-left: 20px;
        }
    }
}

#bodyshell {
    padding-bottom: 3rem;
}

.noscript {
    background: #990000;
    font-weight: bold;
    color: #FFCC00;
    padding: 5px;
    text-align: center;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: normal;
}

a {
    color: #221f20;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #221f20;
}

a img,
.pureimg {
    border: none;
}

.h2msg {
    color: #0094DE;
    padding: 10px;
    margin-bottom: 10px;
    background: #eeeeee;
    border-top: 3px solid #0094DE;
    border-bottom: 3px solid #0094DE;
}

/* Classes */
.clearfix:after,
.clearfix:before {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clear {
    clear: both;
    font-size: 0;
    height: 0;
}

.seorobots {
    visibility: hidden;
    height: 0;
    width: 0;
    overflow: hidden;
}

.bold {
    font-weight: bold;
}

.center {
    text-align: center;
}

.fl {}

.fr {}

.hidden {
    display: none;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}


.tbodycontent,
#theaderbody,
#tfooterbody,
#homeinfobody,
#homearticlesbody,
#tbody-middlebody,
#topbarbody,
h2.pagetitle,
#downbody,
#topbody,
#tbody {
    max-width: var(--body-max-width);
    margin: 0 auto;
}

a.button {
    margin: 20px 0 10px 0;
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 3px;
    font-size: 18px;
}

a.button:hover {
    background: #1f2b72;
}

h1.page-title,
h2.centertitle {
    padding: 0 0 0.95rem 0;
    margin-bottom: 0.9rem;
    font-weight: normal;
    border-bottom: 8px solid #080808;
}

h1.page-title,
h2.centertitle,
.node--type-page h2,
.node--type-page h3,
#top h3 {
    font-family: "pepibold";
}

.node--type-page h2,
.node--type-page h3,
#top h3 {
    margin-bottom: 10px;
}

h1.page-title {
    font-size: 40px !important;
}

h2.centertitle,
.node--type-page h2 {
    font-size: 28px !important;
}

.node--type-page h3,
#top h3 {
    font-size: 21px !important;
}

/* Editor styles */
p em,
.heading-colored {
    color: #18937F;
}

p em {
    font-style: normal;
}

/* --------------------------- HEADER --------------------------- */
#theadershell {
    height: 122px;
    position: fixed;
    width: 100%;
    z-index: 10;
    background-color: #fff;
}

#theader {
    height: 122px;
    position: relative;
    z-index: 50;
    box-sizing: border-box;
}

#thlenta {}

#theaderbody {
    max-width: var(--body-max-width);
    height: 120px;
    position: relative;
}

#logo {
    width: 340px;
    height: 104px;
    display: block;
    float: left;
    margin-top: 20px;
    background: url('../../images/theme/logonewfkuk.svg') no-repeat;
    background-size: contain;
}

#logo.scrolled {
    width: 190px;
    height: 59px;
    margin-top: 27px;
}

.langli {
    text-transform: capitalize;
}

#theaderbody > .fr {
    margin-top: 30px;
}

#topicons {}

#topicons a {}

#topfacebook {}

/* --------------------------- MOBILE MENU --------------------------- */
#nav-trigger {
    display: none;
    text-align: center;
    font-size: 22px;
    margin-right: 1rem;
}

#nav-trigger span {
    display: inline-block;
    padding: 0.5rem 1rem;
    cursor: pointer;
    text-transform: uppercase;
}

#nav-trigger span strong {
    font-size: 3rem;
    display: inline-block;
    line-height: 14px;
    position: relative;
    top: 7px;
}

#nav-trigger span:after {
    display: inline-block;
    margin-left: 10px;
    width: 20px;
    height: 10px;
    border-left: solid 10px transparent;
    border-top: solid 10px #fff;
    border-right: solid 10px transparent;
}

#nav-trigger span:hover {
    background-color: #000;
    color: #fff;
    border-radius: 5px;
}

#nav-trigger span.open:after {
    border-left: solid 10px transparent;
    border-top: none;
    border-bottom: solid 10px #fff;
    border-right: solid 10px transparent;
}

nav#nav-main {
    padding: 0 0;
    font-size: 15px;
    font-family: "pepibold";
}

nav#nav-main ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

nav#nav-main li {
    display: inline-block;
    padding: 0 7px;
    margin-left: 10px;
}

nav#nav-main a {
    display: block;
    padding: 5px 0 5px 0;
    color: #221f20;
    border-radius: 0;
}

nav#nav-main a.highlight,
nav#nav-main a:hover {
    text-decoration: none;
    border-bottom: 3px solid #080808;
}

nav#nav-mobile {
    font-size: 1rem;
    font-family: "pepibold";
    position: relative;
    display: none;
    z-index: 20;
    top: 110px;
}

nav#nav-mobile ul {
    display: none;
    list-style-type: none;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

nav#nav-mobile li {
    display: block;
    padding: 0 0;
    margin: 0 0;
    border-bottom: solid 1px #aaa;
}

nav#nav-mobile ul li.delim {
    display: none;
}

nav#nav-mobile li:last-child {
    border-bottom: none;
}

nav#nav-mobile a {
    display: block;
    background: #fff;
    color: #000;
    padding: 0.7rem 0;
}

nav#nav-mobile a:hover {
    background-color: #000;
    color: #fff;
    text-decoration: none;
}

@media all and (max-width: 1000px) {
    #nav-trigger {
        display: block;
        text-align: right;
    }

    nav#nav-main {
        display: none;
    }

    nav#nav-mobile {
        display: block;
        margin-top: 12px;
    }

    #theaderbody > .fr {
        margin-top: 3rem;
    }
}

@media all and (max-width: 760px) {
    nav#nav-mobile {
        top: 52px;
    }
}

#dummy180 {
    height: 120px;
}

.ulbannershell,
.ulbannershell li {
    height: 100%;
    width: 100%;
}

.slidewrapper {
    text-align: center;
    background: #020a15;
}

.slidedata {
    position: relative;
    top: -160px;
    width: 1220px;
    margin: 0 auto;
    text-align: left;
}

.slidedata p {
    font-size: 22px;
}

.slidedata p span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.slidedata p span.shadow {
    top: 0;
    left: 0;
    color: #000;
    filter: blur(5px);
}

.slidedata p strong {
    position: relative;
    z-index: 1;
    color: #fff;
    font-weight: normal;
    text-shadow: 1px 1px #000;
}

.slidedata h2 {
    text-transform: uppercase;
    font-size: 45px;
    line-height: 45px;
    color: #fff;
    position: relative;
    float: left;
}

.slidedata h2 span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.slidedata h2 span.shadow {
    top: 0;
    left: 0;
    color: #000;
    filter: blur(5px);
}

.slidedata h2 a {
    position: relative;
    z-index: 1;
    color: #fff;
    text-shadow: 1px 1px #000;
}

.slidedata h2 em {
    position: relative;
    z-index: 1;
    color: #fff;
    text-shadow: 1px 1px #000;
    font-style: normal;
}

.slidedata > span {
    display: block;
}

.slidedata h2 strong {
    font-weight: normal;
    text-align: right;
    display: block;
}

.slidedata h2 strong a {
    text-transform: none;
    background: url('../../images/theme/showmore.png') no-repeat;
    color: #fff;
    font-size: 18px;
    padding: 3px 20px 7px 30px;
}

.slidedata h2 strong a:hover {
    text-decoration: none;
    background: url('../../images/theme/showmoreover.png') no-repeat;
    color: #000;
    text-shadow: none;
}

#bannershell1 {
    max-height: 420px;
    background: #273481;
    color: #fff;
    position: relative;
    z-index: 0;
    width: 100%;
}

.unslider li img {
    width: 100%;
}

#bannershell1 .img {
    overflow: hidden;
    height: 100%;
}

/* --------------------------- BODY--------------------------- */
.undertitle {
    font-size: 30px;
    color: #00b1e1;
    border-bottom: 1px solid #b4b8d7;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

a.button {
    margin: 20px 0 10px 0;
    text-decoration: none;
    color: #fff;
    background: #00b1e1;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 3px;
    font-size: 18px;
}

a.button:hover {
    background: #1f2b72;
}

#tbody-shell {
    padding-bottom: 4rem;
}

#tbody {}

#tbody-middle {
    padding: 0 0 40px 0;
}

#tbody-shell:has(#tbody-middle > .clear:only-child) {
    padding: 0 !important;

    #tbody-middle {
        padding: 0 !important;
    }
}

#extra {
    padding-bottom: 50px;
}

.locations-filter {
    padding: 20px 0 0 0;
    text-align: center;
    border-top: 8px solid #080808;
    max-width: var(--body-max-width);
    margin: 0 auto 40px auto;
}

.locations-filter li {
    display: inline-block;
    margin: 0 5px;
}

.locations-filter li a {
    display: inline-block;
    padding: 5px;
    font-family: "pepibold";
    border-bottom: 3px solid transparent;
    text-decoration: none !important;
}

.locations-filter li a:hover,
.locations-filter.current,
.locations-filter li a:hover.gallistitem.current {
    text-decoration: none;
    border-bottom-color: #080808;
}

.locations-filter li a.current {
    border-bottom-color: #080808;
}

#extra:has(h1.page-title) {
    > div:first-child {
        .locations-filter {
            border-top: 0 none;
        }
    }
}

.fkuk-gallery-block {
    margin-bottom: 50px;
    overflow: hidden;

    &:last-child {
        margin-bottom: 0;
    }
}

.articlebox {
    float: left;
    width: 25%;
}

.articlewrapper {
    position: relative;
    border: 2px solid #fff;
}

.imgwrapper {
    height: 205px;
}

.sourcepicwrapper {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
    top: 0;
    overflow: hidden;
}

.sourcepicwrapper img {
    width: 100%;
    min-height: 100%;
}

.articlebox:hover .contentwrapper {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.contentwrapper {
    display: none;
    position: absolute;
    top: 0;
    text-align: center;
    padding: 0;
    background: url('../../images/theme/white.png');
    z-index: 2;
    height: 100%;
    width: 100%;
}

.contentwrapper h3 {
    padding-top: 15px;
    font-size: 18px;
    text-align: center;
    font-family: "pepibold";
    font-weight: normal;
}

.contentwrapper p {
    text-align: center !important;
    font-size: 12px;
}

.contentwrapper .overlay-image {
    display: inline-block;
    width: 100%;
    max-width: 50px;
    aspect-ratio: 1/1;
    margin: 10px 0 0 0;
    background-image: url('../../images/theme/kolecko.png');
    background-repeat: no-repeat;
    background-size: contain;
}

/* --------------------------- TOP --------------------------- */
#top {}

#topbody {
    padding: 50px 0 50px 0;
}

#topbody:has(> .fl:empty):has(> .fr:empty),
#downbody:has(> .fl:empty):has(> .fr:empty) {
    padding: 0 !important;
}


#topbody > .fl h2 {
    font-size: 26px;
    text-align: justify;
    text-transform: uppercase;
}

#topbody > .fl h2 span,
#topbody > .fl h2 strong {
    text-transform: none;
    font-weight: normal;
}

#topbody p.img {
    padding-top: 20px;
}

#topbody p.img img {
    width: 100%;
}

#topbody p {
    padding-bottom: 1.2rem;
    text-align: justify;
}

#topbody p a {
    text-decoration: none;
    font-family: "pepibold";
}

#topbody p strong {
    font-weight: normal;
    font-family: "pepibold";
}

/* --------------------------- DOWN --------------------------- */
#downshell {}

#down {}

#downbody {
    padding-bottom: 3rem;
}

#down h3 {}

#down h3 strong {
    font-weight: normal;
}

#down,
#extra {
    a {
        text-decoration: underline;
    }

    p {
        line-height: 150%;
    }
}

#downbody .fl h3 {}

#downbody .fl p:last-child {
    padding-bottom: 0;
}
#downbody,
#extra{
    p {
        padding-bottom: 1.2rem;
        text-align: justify;

        a {
            text-decoration: none;
            font-family: "pepibold";

            &:hover {
                text-decoration: underline;
            }
        }

        strong {
            font-weight: normal;
            font-family: "pepibold";
        }
    }
}

#topbody img,
#downbody img,
#extra img {
    max-width: 100%;
    height: auto;
}

#tbody-left {
    width: 45%;
    float: left;
}

#tbody-left h3 {
    text-transform: uppercase;
}

#tbody-left p {
    padding: 15px 0;
    font-size: 18px;
}

#tbody-left p a {
    text-decoration: underline;
}

#tbody-left p a:hover {
    color: #fff;
}

#tbody-right {
    width: 47%;
    float: right;
}

#kontakt {
    border-top: 3px solid #080808;
    padding-top: 4rem;
}

.linkwrapper {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 3;
    top: 0;
    display: block;
}

.tbodyflexcontent {
    display: flex;
    flex-direction: row;
}

.righthalfflex {
    padding: 0 1.5rem;
}

.righthalfflex img {
    max-width: 100%;
    height: auto;
}

/* --------------------------- FOOTER --------------------------- */
#tfooter {}

#tfooterover {}

#tfooterbody {
    font-size: 22px;
    padding: 40px 0 30px 0;
}

#tfooterbody .fl {
    padding: 40px 0 0 0;
}

#tfooterbody .fr {
    padding: 40px 0 0 0;
}

#footerlogo {
    float: left;
    width: 100px;
    padding: 20px 40px 0 0;
}

#footerlogo img {
    width: 100%;
    height: auto;
}

.footerlogotext {
    font-family: "pepibold";
    width: 10rem;
    padding: 1.5rem 0 0 0.5rem;
}

.gallery-shell {
    padding: 0 0 20px 0;
}

.gallery-shell h4 {
    padding-bottom: 0;
    font-size: 24px;
}

.gallery-shell.fix {
    padding-top: 0;
}

.galppic-box {
    float: left;
    margin: 0 10px 3px 0;
    padding: 5px 3px;
}

.galppic-box img {
    padding: 3px 5px 3px 0;
    border-radius: 7px;
    height: 100px;
}

.galtitle {
    padding: 5px 5px 5px 0;
    border-bottom: 1px solid #779D2D;
    margin: 0 0 10px 5px;
    color: #779D2D;
}

.gallery-shell h3 {
    font-size: 18px;
    padding: 0 0 0 0;
}

.gallery-shell .p5 {
    padding-bottom: 10px;
}

.filebox-shell {
    padding: 10px 0 15px 0;
}

.filebox-shell .file-row {
    clear: both;
    margin-bottom: 5px;
}

.filebox-shell .file-row a {
    margin-bottom: 5px;
    background: url('../../images/theme/downloadicon.png') no-repeat #dbdef2 10px 10px;
    padding: 10px 10px 10px 50px;
    display: block;
    border-radius: 3px;
    font-size: 16px;
}

.filebox-shell .file-row a.pic {
    background: url('../../images/theme/downloadicon.png') no-repeat;
}

.filebox-shell .file-row a:hover {
    color: #fff;
    text-decoration: none;
    background: url('../../images/theme/downloadiconw.png') no-repeat 10px 10px #1f2b72
}

.filebox-shell .file-row a span.size {
    font-size: 11px;
    display: block;
}

.filestitle {
    padding: 5px 5px 5px 0;
    margin: 10px 0 0 0;
}

.filesshell {
    border-radius: 5px;
    margin: 30px 0 20px 0;
    background: #ebedf9;
    padding: 20px;
    font-size: 14px;
    max-height: 100%;
}

.filesshell h4 {
    padding: 10px 0 0 0;
    font-size: 18px;
}

/* --------------------------------------------------- NEWSLETTER ---------------------------------------------------*/
h4.news {
    background: #dde0f5;
    padding: 10px;
    margin-top: 20px;
    color: #6c75a7;
    text-transform: uppercase;
    text-shadow: 1px 1px #fff;
}

#newsletterformcontainer {
    margin-bottom: 20px;
    padding: 10px;
    background: #fff;
    font-size: 14px;
}

#newsformmessage span {
    display: block;
    padding: 5px 20px;
    background: #6c75a7;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 12px;
}

#newsletteremail {
    padding: 5px;
    border: 1px solid #d5d8f1;
}

#newsletterbutton {
    padding: 5px 20px;
    background: #757ab3;
    color: #fff;
    border: none;
}

#newsletterunsibscribe {
    margin: 0 1px 0 5px;
}

.newsbreak {}

/* ======================== DEVICES ======================== */
@media screen and (max-width: 1220px) {
    .tbodycontent,
    #theaderbody,
    #tfooterbody,
    #homeinfobody,
    #homearticlesbody,
    #tbody-middlebody,
    #topbarbody {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    #midmenu,
    #theaderbody,
    #tbody-middlebody,
    #topbarbody,
    h2.pagetitle,
    #tbody-middle,
    #tbody,
    #topbody,
    #downbody,
    #extra {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    #topbody {
        width: 96%;
        padding: 2rem 2% 0 2%;
    }

    #downbody {
        width: 96%;
        padding: 1rem 2% 40px 2%;
    }

    #tfooterbody {
        width: 96%;
        padding: 40px 2% 30px 2%;
    }

    #extra {
        width: 96%;
        padding: 0 2% 50px 2%;
    }

    .slidedata {
        width: 100%;
    }

    .slidedata h2 {
        font-size: 30px;
    }

    #logo {
        left: 2%;
        position: relative;
    }
}

@media screen and (max-width: 900px) {
    #tbody-left,
    #tbody-right {
        width: 100%;
        float: none;
    }

    #tbody-left,
    #tbody-right {
        width: 96%;
        padding: 10px 2%;
    }

    h2.centertitle.empty {
        display: none;
    }

    #topbody {
        padding-bottom: 0;
        padding-top: 2rem;
    }

    #downbody {
        padding-top: 1rem;
    }

    #tbody-shell {
        padding-bottom: 0;
    }

    #tbody-middle {
        padding-bottom: 0.6rem;
    }

    p.images-responsive {
        img {
            &.align-left,
            &.align-right {
                float: none;
                width: 100%;
                margin-left: 0;
                margin-right: 0;
            }
        }
    }
}

@media screen and (max-width: 760px) {
    #theaderbody,
    #theader,
    #theadershell {
        height: 66px !important;
    }

    #logo {
        width: 130px;
        height: 60px;
        margin-top: 5px;
    }

    #langs {
        margin: 66px 0 0 25px;
    }

    #dummy180 {
        height: 66px;
    }

    #theaderbody > .fr {
        margin-top: .8rem;
    }

    .imgwrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 305/205;
    }

    .contentwrapper {}

    .contentwrapper h3 {
        font-size: 14px;
    }

    .contentwrapper .overlay-image {
        width: 2rem;
    }

    .contentwrapper p {
        display: none;
    }

    body {
        font-size: 14px;
    }

    #topbody > .fl h2 {
        font-size: 22px;
    }

    h2.centertitle {
        font-size: 22px !important;
    }

    #down h3 {
        font-size: 20px;
    }

    #downbody .fr {
        padding-top: 20px;
    }

    #downbody > .fr ul li {
        font-size: 14px;
        background-size: 20px;
    }

    #tbody-left h3 {
        font-size: 18px;
    }

    #tbody-left p {
        font-size: 14px;
    }

    #tfooterbody {
        font-size: 16px;
    }

    #theadershell {
        position: absolute;
    }
}

@media screen and (max-width: 600px) {
    .articlebox {
        width: 33%;
    }

    #footerlogo {
        float: none;
        margin: 0 auto;
        padding: 20px 0 0 0;
    }

    #tfooterbody .fl {
        padding: 20px 0;
        text-align: center;
    }

    #tfooterbody .fr {
        text-align: center;
    }

    .contentwrapper p {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    #langs.scrolled {
        margin: 16px 0 0 5px;
    }

    .articlebox {
        width: 50%;
    }

    #langsshell {
        position: absolute;
        left: 0;
        top: -5px;
    }

    #langs {
        margin: 16px 0 0 5px;
        text-align: center;
        font-size: 12px;
    }

    #langs span {
        padding: 0 10px;
    }
}

@media screen and (max-width: 360px) {
    .articlebox {
        width: 100%;
    }

    .contentwrapper p {
        display: block;
    }

    .tbodyflexcontent {
        display: block;
    }

    .righthalfflex {
        display: block;
        text-align: center;
        padding: 0.5rem 0 0 0;
    }

    #tbody-middle,
    #tbody-shell {
        padding-bottom: 0;
    }

    #kontakt {
        padding-top: 1rem;
    }

    .footerlogotext {
        width: inherit;
    }

    .footerlogotext br {
        display: none;
    }

    #tbody-right {
        padding-top: 0;
    }

    .righthalfflex img {
        margin-bottom: 1rem;
    }
}

