/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0;text-decoration:none;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}


@font-face {
    font-family: 'CarterOne';
    src: url('../fonts/CarterOne.eot');
    src: url('../fonts/CarterOne.eot?#iefix') format('embedded-opentype'), url('../fonts/CarterOne.woff') format('woff'), url('../fonts/CarterOne.ttf') format('truetype'), url('../fonts/CarterOne.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

*, *:before, *:after {
    box-sizing: border-box;
}

strong { font-weight: bold; }
u { text-decoration: underline; }
i { font-style: italic; }

body {
    width: 100%;
    font-family: verdana, arial;
    color: #4a4a4a;
    font-size: 13px;
    word-wrap: break-word;
    margin: auto;
    background-color: #fff;
    line-height: 1.2em;
    letter-spacing: 1.3px;
    background-image:url(../../../../site/templates/festival_2022/images/back_filmfestival.png);
    background-repeat: no-repeat;
    /* background-size: 100%; */
    background-position-x: right;
    background-position-y: bottom;
    background-attachment: fixed;
}

a {
    color: #bc421e;
    transition: color 0.3s linear 0s;
}

a:hover {
    color: #152e56;
}

h1 {
    font-size: 200%;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.2em;
}

h2, h3 {
    font-size: 150%;
    margin-bottom: 15px;
    line-height: 1.3em;
    text-transform: uppercase;
}

aside div div.head {
    font-size: 200%;
    margin-top: 0px;
    margin-bottom: 30px;
    line-height: 1.2em;
}

.headArtikelBox {
    color: #000;
    padding: 20px 0 0 0;
}

.headArtikelBox div {
    text-transform: uppercase;
    font-weight: normal;
    display: block;
    margin-bottom: 45px;
    min-height: 60px;
}

p {
    margin-bottom: 15px;
    font-size: 110%;
    line-height: 1.2em;
}

/* Grid Struktur */

div.site {
    z-index: 2;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto 1fr auto auto auto auto;
    grid-template-areas:
            "nav nav nav"
            "header header header"
            "main main sidebar"
            "footer footer footer"
            "copyfooter copyfooter copyfooter";
}

div.fullsite {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto 1fr auto auto auto auto;
    grid-template-areas:
            "nav nav nav"
            "header header header"
            "main main main"
            "footer footer footer"
            "copyfooter copyfooter copyfooter";
}

header.masthead, .footer, .copy-footer {
    padding: 5px 10% 0px 10%;
}

.nav-body {
    background-color: #3e3e3d;
    padding: 10px 10% 10px 9%;
    /* border-radius: 10px; */
    /* box-shadow: 1px 1px 2px 0px #45708c; */
    border-bottom: 1px solid #b5cff0;
}

.main-content {
    padding: 20px 5% 20px 15%;
}

div.fullsite .main-content {
    padding: 20px 10% 20px 10%;
}

.fullplace {
    width: 100%;
    grid-area: fullplace;
}

.sidebar{
    padding: 20px 30% 20px 0;
}


#banner {
    position: absolute;
    top: -118px;
}

@keyframes rolerball {
    from {transform: translateX(750%) rotate(0deg)}
    to {transform: translateX(0) rotate(0deg)}
}

header.masthead {
    grid-area: header;
}

.nav-head {
    grid-area: nav;
    padding: 0px;
}

.nav-head.start2023 {
    background-color: #7fa4c7;
}

.main-content {
    grid-area: main;
}

.sidebar {
    grid-area: sidebar;
    width: 100%;
}

.sidebar > div {
    padding: 25px 20px 25px 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    box-shadow: 1px 1px 15px -7px #b2b2b2;
}

.footer {
    background-color: #000;
    grid-column: 1/4;
    grid-row: 4/5;
    grid-area: footer;
    color: #fff;
    font-size: 110%;
}

.footer div div div.head {
    font-size: 130%;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 140%;
    text-align: center;
}

.copy-footer {
    background-color: #515151;
    grid-area: copyfooter;
}

.copy-footer ul li a {
    color: #ced9da;
}

.copy-footer ul li a:hover {
    color: #9fccd6;
}


/* Ende Master Grid */

/* Startseite */

body.start2023 article, body.start2023 aside.sidebar { margin-top: 10px; }
body.start2023 article .container .headArtikelBox { color: #000; padding: 0; }
body.start2023 article .container .headArtikelBox div { min-height: auto; }

.counterForm {
    text-align: center;
}

.counter {
    font-size: 8em;
    padding: 10px;
    width: 80%;
    background-color: #3caab9;
    border: 0;
    color: #fff;
    position: relative;
    z-index: 2;
    text-align: center;
}

div.articleContent ul {
    list-style: disc;
    margin-left: 30px;
    margin-bottom: 25px;
    display: block;
}


/* Flex Box Struktur */

.flex-main {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    flex-grow: 1;
    flex-basis: auto;
    margin: auto;
}

.three-column-box {
    width: 25%;
    padding: 30px 4% 30px 4.3%;
}

.two-column-box {
    width: 50%;
}

.three-column-box:nth-child(5n+1) {
    padding-left: 0;
}

.three-column-box:nth-child(4n+4) {
    padding-right: 0;
}

.two-column-box {
    width: 50%;
}

header.masthead .head-datum {
    position: absolute;
    left: 0;
    top: 70px;
}

header.masthead .head-datum img {
    height: 90px;
    width: auto;
}

div.logo {
    position: absolute;
    right: 35px;
    top: 10px;
}
div.logo img {
    height: auto;
    width: 200px;
}

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

.ausrichtung-links {
    text-align: left;
}

.sidebar > div {
    margin-bottom: 45px;
    /* background: rgba(231,245,255,0.8); */
}

.main-content div.container {
    padding: 25px 0 25px 0px;
    /* background: rgba(231,245,255,0.8); */
    padding: 25px 20px 25px 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    box-shadow: 1px 1px 15px -7px #b2b2b2;
}

/* ****************** Responsive Nav ******************* */

/* Aufstellung des Blocks Horizontal */
nav.nav-head ul {
    list-style-type:none;
    margin:0;
    padding:0;
    position: relative;
}

nav.nav-head ul li {
    display:inline-block;
    /* float: left; */
    margin-right: 1px;
}

/* Formatierung der Links selbst */
nav.nav-head ul li a {
    display:block;
    height: 55px;
    text-align: center;
    line-height: 55px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #b5cff0;
    text-decoration: none;
    padding-left:15px;
    padding-right: 15px;
    transition: background 0.3s linear 0s;
    text-transform: uppercase;
    font-size: 115%;
    letter-spacing: 1.3px;
}

nav.nav-head ul li:hover a {
    background-color: #3e3e3d;
}

/* Formatierung der Dropdownbox */
nav.nav-head ul li:hover ul a {
    background: #3e3e3d;
    color: #b5cff0;
    height: 40px;
    line-height: 40px;
    border-top: 1px solid #b5cff0;
    min-width: 250px;
}

nav.nav-head ul li:hover ul a:hover {
    background: #152e56;
    color: #ffffff;
}
/* Unsichtbar machen der Drobdownbox */
nav.nav-head ul li ul {
    display: none;
    position: absolute;
    padding: 0;
    z-index: 101;
    opacity: 0;
}

nav.nav-head ul li:hover ul:hover {
    display: block;
}

nav.nav-head ul li ul li {
    display: block;
    float: none;
}

nav.nav-head ul li ul li a {
    width: auto;
    min-width: 100px;
    padding: 0 20px;

}

/* Anzeige des Dropdowns beim Hovern */
nav.nav-head ul li a:hover + .hidden, .hidden:hover {
    display: block;
    opacity: 1;
    transition: opacity 1.5s;
    transition: background-color 0.3s linear 0s;
}

/* Formatierung des Menübuttons, der in kleiner Auflösung angezeigt wird */
.show-menu {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: #b5cff0;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    display: none;
    font-size: 150%;
}

/* Checkbox verstecken */
input.show-button[type=checkbox]{
    display: none;
}
/* Checkbox ist gecheckt */
input.show-button[type=checkbox]:checked ~ #menu{
    display: block;
}

/* Weitere Navigationen */

.bottom-nav {
    text-align: center;
    padding: 20px;
}

.bottom-nav li {
    display: inline;
    margin-right: 10px;
    padding: 5px 5px;
}

/* *************** Tabellen ************* */

th {
    background-color: #152e56;
    color: #fff;
}

td {
    background-color: #b5cff0;
}

th, td {
    padding: 15px;
    border: 2px solid #fff;
}


/* ****************** Formatbeschreibungen für den FCK ****************** */

.hundertProzent {
    width: 100%;
    height: auto;
}

.fuenfundsiebzigProzent {
    width: 75%;
    height: auto;
}

.sechsundsechzigProzent {
    width: 66%;
    height: auto;
}

.fuenfzigProzent {
    width: 50%;
    height: auto;
}

.dreiunddreissigProzent {
    width: 33%;
    height: auto;
}

.fuenfundzwanzigProzent {
    width: 25%;
    height: auto;
}

.zweispaltigText {
    width: 100%;
    column-width: 300px;
    column-rule-color: #d9d9d9;
    column-rule-width: 1px;
    column-rule-style: dotted;
    column-gap: 70px;
}

.dreispaltigText {
    width: 100%;
    column-count: 3;
    column-width: 50%;
    column-rule-color: #d9d9d9;
    column-rule-width: 1px;
    column-rule-style: dotted;
    column-gap: 70px;
}

.zweispaltigTextLinie {
    width: 100%;
    column-count: 2;
    column-width: 50%;
    column-gap: 70px;
}

.dreispaltigTextLinie {
    width: 100%;
    column-count: 3;
    column-width: 50%;
    column-gap: 70px;
}


/* ****************** Subpages ***************** */

.subpages .three-column-box {
    padding: 0px 1% 30px 1%;
}

.subpage-box {
    background-color: #7fa4c7;
    box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.2);
    height: auto;
    padding: 0 !important;
    position: relative;
    transition: all 0.3s ease-in-out 0s;

}

.subpage-box:nth-child(2n+1) {
    margin-left: 0;
}

.subpage-box a img {
    height: 90%;
    margin-left: 5%;
    margin-top: 5%;
    width: 90%;
}

.subpage-box a dl {
    background-color: #7fa4c7;
    bottom: 0;
    color: #e4eff0;;
    left: 0;
    /* line-height: 2.5; */
    margin: 0;
    opacity: 0;
    padding: 15px;
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.3s ease-in-out 0s;
    overflow: hidden;
}

.subpage-box a dt strong {
    -moz-osx-font-smoothing: grayscale;
    color: #e4eff0;;
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: bold;
}

.subpage-box a dl:hover {
    opacity: 1;
}

.subpage-box h2 {
    background-color: #7fa4c7;
    height: 44px;
    position: relative;
    width: 100%;
    padding-left: 15px;
    line-height: 44px;
    font-weight: bold;
    font-size: 100%;
}

.subpage-box h2 a {
    color: #fff;;
}

.subpage-box h2 a:hover {
    color: #e3e3e3;
}

/* ******************* Suche ******************** */

form.search input {
    background-color: #ffffff;
    border-radius: 5px;
    border: 0;
    color: #325b74;
    padding: 10px;
    text-indent: 18px;
    background-image:url(../../../../images/search_backgroundicon.gif);
    background-repeat: no-repeat;
    background-position: 3px 7px;
    margin-top: 10px;
    width: 220px;
}

/* **************** Language Auswahl **************** */

.languageBox {
    position: absolute;
    left: 20px;
    top: 5px;
    z-index: 101;
}

.languageBox select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border:none;
    border-radius: 0;
    font-size: 1em;
    width: 100%;
    background-color: #7fa4c7;
    color: #fff;
    border: 1px solid #fff;
    padding:5px 15px 5px 6px;
    background-image:url(../../../../site/templates/festival_2023/images/down_pfeil_hover.png);
    background-position: right;
    background-repeat: no-repeat;
    cursor: pointer;
}

.languageBox select:hover {
    color: #ffffff;
}

.globalButton {
    display: inline-block;
    background-color: #bc421e;
    color: #ffffff;
    padding: 11px;
    text-transform: uppercase;
    transition: background-color 0.3s linear 0s;
}

.globalButton:hover {
    color: #ffffff;
    background-color: #152e57;
}

button, .button, .mehrbutton {
    background-color: #bc421e;
    padding: 10px;
    border-radius: 8px;
    margin-top: 25px;
    color: #fff;
    text-transform: uppercase;
    font-size: 120%;
    margin-bottom: 35px;
    transition: background 0.3s linear 0s;
}

button:hover, .button:hover, .mehrbutton:hover {
    background-color: #152e56;
    transition: background 0.3s linear 0s;
    color: #fff;
}

.videoBox, .videoBox div img {
    width: 100%;
    margin: auto;
    cursor: pointer;
}

.videoBox h2 {
    margin-bottom: 10px;
    text-align: center;
    font-size: 120%;
}

.videoBox p {
    margin-top: 10px;
    text-align: center;
}

.videoBoxMore, .videoBoxMore div img {
    width: 90%;
}

.responsive_16-9, .responsive_4-3, .responsive_a4 {
    position: relative;
    /* 16 zu 9 Layout für Videos */
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.responsive_4-3 {
    /* 4 zu 3 Layout für Präsentationen */
    padding-bottom: 75%;
}

.responsive_a4 {
    /* DIN A4 Layout für Dokumente */
    padding-bottom: 142.86%;
}

.responsive_16-9 iframe, .responsive_4-3 iframe, .responsive_a4 iframe,
.responsive_16-9 object, .responsive_4-3 object, .responsive_a4 object,
.responsive_16-9 embed, .responsive_4-3 embed, .responsive_a4 embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tubeFlexTable {
    align-items: stretch;
    display: flex;
    flex-basis: auto;
    flex-grow: 1;
    flex-wrap: wrap;
    margin: auto;
}

.tubeFlexTable div.flex {
    width: 50%;
    margin-bottom: 40px;
}

.videoBox div {
    text-align: center;
}

.videoBox .playbutton {
    width: 20%;
    height: 19%;
    background-image: url("../../../../modules/Youtube/template/images/play_dark_klein.png");
    background-size: cover;
    position: absolute;
    top: 40%;
    left: 42%;
    cursor: pointer;
}

.videoBox .responsive_4-3 .playbutton {
    top: 40%;
}

.videoBoxMore .playbutton {
    width: 50px;
    height: 35px;
    top: 40%;
    left: 43%
}

.videoBoxMore .responsive_4-3 .playbutton {
    top: 30%;
    left: 43%;
}


.videoBox :hover .playbutton {
    background-image: url("../../../../modules/Youtube/template/images/play_color_klein.png");
}


@media (max-width: 600px) {
    .tubeFlexTable div.flex, .videoBox {
        width: 100%;
    }
}




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

    .counter {
        font-size: 6em;
        width: 90%;
    }
}

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

    div.site {
        grid-template-columns: 1fr;
        grid-template-areas:
                "nav"
                "header"
                "eyecatcher"
                "main"
                "sidebar"
                "footer"
                "copyfooter";
    }

    div.logo img { width: 125px; }
    div.logo { top: 10px; }

    header.masthead, .footer{
        padding: 5px 5% 0px 5%;
    }

    header.masthead div.logo img {
        height: 110px;
    }

    header.masthead .head-datum {
        top: 50px;
    }

    h1, h2, h3, h6 {
        font-size: 170%;
    }

    aside h6, aside h3, aside h2 {
        font-size: 170%;
    }


    .main-content, .sidebar{
        padding: 20px 4% 20px 4%;
    }

    .three-column-box {
        width: 33.333%;
    }

    .two-column-box {
        width: 50%;
    }

    .three-column-box:nth-child(3n+1) {
        padding-left: 20px;
    }

    .three-column-box:nth-child(2n+1) {
        padding-left: 0;
    }

    .three-column-box:nth-child(5n+3) {
        padding-right: 20px;
    }

    .three-column-box:nth-child(2n+2) {
        /* padding-right: 0px; */
    }

    nav.nav-head ul {
        position: static;
        display: none;
    }

    nav.nav-head ul li {
        margin-bottom: 1px;
    }

    nav.nav-head ul li, nav.nav-head ul li ul {
        width: 100%;
    }

    nav.nav-head ul li a {
        width: auto;
        border-left: 0;
    }

    nav.nav-head ul li a:hover + .hidden, .hidden:hover {
        position: relative;
    }

    /* Menülink anzeigen */
    .show-menu {
        display:block;
    }

    .bottom-nav li.copy {
        display: block;
        margin-top: 15px;
    }

    .languageBox {
        top: 23px;
    }

    .counter {
        font-size: 3em;
    }

    .videoBoxMore, .videoBoxMore div img {
        width: 90%;
    }

}


/* ************ Individuell 2020 ****************** */

header.startseite {
    background-color: #f2e294;
    /* grid-column: 1/4;
    grid-row: 1/2; */
    grid-area: header;
}

header div.headfirst {
    position: relative;
    display: block;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

div.willkommensgruss {
    position: absolute;
    width: 100%;
    top: 15%;
    color: #fff;
    text-align: center;
    z-index: 2;
}

div.willkommensgruss img {
    width: 300px;
    height: auto;
}

div.willkommensgruss > div {
    display: inline-block;
}

div.willkommensgruss div h4 {
    font-size: 3vw;
    line-height: 5vw;
    border-bottom: 4px solid white;
    padding: 0;
}

div.willkommensgruss div a h4, div.willkommensgruss div a span {
    color: #ffffff;
}

div.willkommensgruss div span {
    display: block;
    font-size: 2.55vw;
    line-height: 5vw;
    border-bottom: 4px solid white;
}


@media screen and (max-width: 1000px) {
    div.willkommensgruss {
        top: 5%;
    }
    
    div.willkommensgruss img {
        width: 200px;
    }
}

@media screen and (max-width: 760px) {
    div.willkommensgruss {
        top: 12%;
    }

    div.willkommensgruss img {
        width: 150px;
    }
}


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

    header.masthead, .footer, .copy-footer {
        padding: 5px 5% 0px 5%;
    }

    header.masthead .head-datum {
        top: 45px;
    }

    header.masthead .head-datum img {
        height: 55px;
    }
    

    h1, h2, h3, h6 {
        font-size: 170%;
    }

    aside h6, aside h3, aside h2 {
        font-size: 200%;
    }

    .three-column-box, .two-column-box {
        width: 100%;
    }

    .three-column-box:nth-child(3n+1), .three-column-box:nth-child(2n+1), .three-column-box:nth-child(5n+3), .three-column-box:nth-child(2n+2) {
        padding-left: 0px;
        padding-right: 0px;
        padding: 30px 0 0px 0;
    }

    .hundertProzent, .fuenfundsiebzigProzent, .sechsundsechzigProzent, .fuenfzigProzent, .dreiunddreissigProzent, .fuenfundzwanzigProzent {
        width: 100%;
        height: auto;
    }

    .zweispaltigTextLinie, .zweispaltigText, .dreispaltigTextLinie, .dreispaltigText {
        width: 100%;
        column-count: 1;
        column-width: 100%;
        column-rule-color: #ffffff;
        column-rule-width: 0px;
        column-gap: 0px;
    }

    .bottom-nav li {
        display: block;
    }

    .logo, .ausrichtung-rechts {
        text-align: center;
    }

    header.masthead div.logo img {
        height: 65px;
    }

    .sidebar > div {
        margin-bottom: 15px;
    }

    .show-menu {
        display:block;
        padding: 10px;
    }

    div.container section div.articleContent ul {
        list-style: disc;
        margin-left: 30px;
        margin-bottom: 25px;
        display: block;
    }

    aside div div.head {
        font-size: 160%;
    }

    .counter {
        font-size: 3em;
        width: 90%;
    }

    div.willkommensgruss {
        top: 9%;
    }

    div.willkommensgruss img {
        width: 100px;
    }

    div.willkommensgruss div h4 {
        font-size: 3.25vw;
        line-height: 5vw;
        border-bottom: 1px solid white;
        padding: 0;
    }

    div.willkommensgruss div span {
        display: block;
        font-size: 2.55vw;
        line-height: 5vw;
        border-bottom: 1px solid white;
    }

    .videoBoxMore, .videoBoxMore div img {
        width: 100%;
    }
}

/* System Inhalte - Nicht löschen */
.with-love {
    display: inline-block;
    position: relative;
    margin: 0 4px;
    height: 10px;
    width: 10px;
    background: #c61d43;
    border-radius: 4px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.with-love::before, .with-love::after {
    display: block;
    content: '';
    position: absolute;
    margin: auto;
    height: 10px;
    width: 10px;
    border-radius: 5px;
    background: #c61d43;
    top: -4px;
}

.with-love::after {
    bottom: 0;
    top: auto;
    left: -4px;
}