@charset "utf-8";


/* Schrifteigenschaften DJK Ruhrwacht */

:root{
	--djk-font-sans:"Verdana","Helvetica","Helvetica Neue","Arial",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,sans-serif;
	--djk-font-sans-variable:"Verdana","Helvetica","Helvetica Neue","Arial",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,sans-serif;
	--djk-font-mono:monospace;
	--djk-font-weight-normal:300;
	--djk-font-weight-medium:400;
	--djk-font-weight-bold:550;

/* Farben */
    --djk-ruhrwacht-background: #fefefb;        /*  R:254, G:254, B:251 */
    --djk-ruhrwacht-color-green: #1d8a5b;
    --djk-ruhrwacht-color-light-green: #6ce0ad;
    --djk-ruhrwacht-color-light-green-transparent: rgba(108, 224, 173, 0.75);
    --djk-ruhrwacht-color-very-light-green: #d5f6e8;
    --djk-ruhrwacht-color-very-light-green-transparent: rgba(213, 246, 232, 0.75);
    --djk-ruhrwacht-color-dark-green: #125437;
    --djk-ruhrwacht-color-champagne: #f7e7ce;
    --djk-ruhrwacht-color-hamburger: black;

/* Transitions */
    --djk-ruhrwacht-transition-duration: 0.35s;

/* Reihenfolge der Navigationbar-Elemente (Z-Order) */
    --djk-ruhrwacht-navbanner-z-index: 1;
    --djk-ruhrwacht-navbar-z-index: 3;
    --djk-ruhrwacht-navhamburger-z-index: 2;

/* Schriftgrößen    */
    --djk-ruhrwacht-nav-font-size: 1.0rem;

/* Abstände    */
    --djk-ruhrwacht-sidebar-line-height: 1.2rem;

}

html{
    font-family: 'Verdana';
    color: #444444;
    margin: 0px;
    padding: 0px;
}

body{
    position: relative;
    background-color: var(--djk-ruhrwacht-background);
}

html,body{
	margin:0;
	padding:0;
}

body::before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url("../figures/drachenboot-festival-drache.svg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    -webkit-background-size: 70%;
    -moz-background-size: 70%;
    -o-background-size: 70%;
    background-size: 70%;
    opacity: 0.2;
    z-index: -1;
}

p {
    font-size: 1em;
    font-weight: 400;
    line-height: 2em;
    margin: 0 0 10px;
}

a:link{
    text-decoration: none;
    color: black;
}

a:visited{
    text-decoration: none;
    color: black;
}

a:hover{
    text-decoration: none;
    color: black;
}

a:active{
    text-decoration: none;
    color: black;
}

.wrapper_page{
    font-size: var(--djk-font-size-sx);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.wrapper_header{
    width: 100%;
    font-size: 1rem;
    position: relative;
    top: 0px;
}

.wrapper_content{
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

.wrapper_footer{
    width: 100%;
}


.container_header{
    font-size: 1rem;
    position: fixed;
    background-color: var(--djk-ruhrwacht-background);
    width: 98.9583333333333%;
    padding-left: 0.52083333333333%;
    padding-right: 0.52083333333333%;
    padding-top: 4px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

@media screen and (min-width: 649px){
    .container_header{
        padding-top: 5px;
    }
}

@media screen and (min-width: 769px){
    .container_header{
        padding-top: 6px;
    }
}



.container_banner{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 25rem;
}


@media screen and (min-width: 649px){
    .container_banner{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
}


@media screen and (min-width: 769px){
    .container_banner{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
}

.header_banner_logo{
    height: 2rem;
    transition: var(--djk-ruhrwacht-transition-duration);
}

.header_banner_name{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    font-size: 2rem;
    font-family: 'Helvetica';
    font-weight: bold;
    padding: 0 0.833333%;
    transition: var(--djk-ruhrwacht-transition-duration);
}

@media screen and (min-width: 649px){
    .header_banner_logo{
        height: 2.3rem;
    }

    .header_banner_name{
        font-size: 2.3rem;
    }
}

@media screen and (min-width: 825px){
    .header_banner_logo{
        height: 2.5rem;
    }

    .header_banner_name{
        font-size: 2.5rem;
        margin-right: auto;
    }
}

.container_topnav{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
    height: 2em;
    transition: calc(var(--djk-ruhrwacht-transition-duration)/2);
}

.container_header_top{
    width: 98.9583333333333%;
    margin-left: 0.52083333333333%;
    margin-right: 0.52083333333333%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.djk-ruhrwacht-nav-menu{
    display: flex;
    justify-content: flex-end;
    width: 0;
}

@media screen and (min-width: 769px){
    .djk-ruhrwacht-nav-menu{
        flex-grow: 1;
        font-size: 1em;
        visibility: visible;
    }
}

.djk-ruhrwacht-nav-menu ul{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    gap: 0.5em;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.djk-ruhrwacht-nav-menu ul li{
    position: relative;
    font-size: 1.0rem;
    font-weight: 400;
    line-height: 1.2em;
    margin: 0px;
    overflow: hidden;
}

.djk-ruhrwacht-nav-menu ul li a{
    display: block;
    align-self: stretch:
    color: black;
    text-decoration: none;
    padding: 0.5rem 0.2rem 0 0.2rem;
}

.buttonMenu {
    font: inherit;
    font-size: 1.0em;
	border: 0px;
	background-color: var(--djk-ruhrwacht-background);
	padding: 0.5em 0.2em 0.2em 0.2em;

}

.MenuDecoration {
    display: inline-block;
}

.MenuDecoration::after {
    display: block;
    content: '';
    width: 0px;
    height: 2px;
    background: var(--djk-ruhrwacht-color-green);
    position: relative;
    left: 50%;
    transition: var(--djk-ruhrwacht-transition-duration) ease 0s;
    -webkit-transition: var(--djk-ruhrwacht-transition-duration) ease 0s;
    -moz-transition: var(--djk-ruhrwacht-transition-duration) ease 0s;
    -o-transition: var(--djk-ruhrwacht-transition-duration) ease 0s;
}

.MenuDecoration:hover::after {
    translate: -50%  0%;
    width: 100%;
}




.container_content{
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    margin: auto;       /* container is centered */
    min-width: 40%;
    max-width: 98%;
    margin: 10px auto 0px auto;
    padding: 0.6944444444444%;
    font-Size: 1rem;
}


@media screen and (min-width: 649px){
    .container_content{

    }
}


@media screen and (min-width: 825px){
    .container_content{

    }
}


.ergebnisse_title{
    font-size: 2em;
    line-height: 2.5rem;
    text-align: center;

    margin-top: 2rem;
    margin-bottom: 2rem;
}

.p-date{
    text-align: center;
    font-weight: 600;
}

.p-message{
    text-align: center;
    font-weight: 400;
}

.container-bahnbelegung{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    background-color: rgba(29,138,91,0.3);
    border-style: solid;
    border-width: 1px;
/*   border-color: var(--djk-ruhrwacht-color-very-light-green); */
    border-color: rgba(29, 138, 91, 0.6);
    border-radius: 0px;
    margin: auto auto 10px auto;
    padding: 15px;
    min-width: 25%;
}

.raceno-odd{
    background-color: rgba(255,0,0,0.3)
}
/*
.container-bahnbelegung:nth-child(2n-1){
    background-color: rgba(255,0,0,0.5)
}
*/

#racedata, .racedata{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: auto;
}

.container-bahnbelegung > table > tbody > tr > th, .container-bahnbelegung > table > tbody > tr > td{
    border: 1px solid var(--djk-ruhrwacht-color-green);
    background-color: var(--djk-ruhrwacht-color-light-green-transparent);
    text-align: center;
}

.container-bahnbelegung > table > tbody > tr > th{
    font-weight: 600;
}
.lanes{
    background-color: var(--djk-ruhrwacht-color-light-green-transparent);
    margin: auto;
}

.lanes, .lanes > tbody > tr > th, .lanes > tbody > tr > td {
    border: 1px solid var(--djk-ruhrwacht-color-green);

}

.lanes > tbody > tr > th{
    font-weight: 600;
    text-align: center;
}

.lanes > tbody > tr > td:first-child{
    text-align: center;
}

th, td{
    padding: 0.5em;
}

.showresults{
    text-align: center;
}

.klein{
    font-size: 0.7em;
    font-style: italic;
}


.plakat{
    width: 100%;
    max-width: 960px;
}


/* FOOTER */

footer{
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 85.4166666666666%;
    background-color: var(--djk-ruhrwacht-color-green);
    padding: 1rem 7.2916666666667% 1rem 7.2916666666667%;

    font-family: var(--djk-font-sans);
    font-size: 0.8rem;
    line-height: 1.0rem;
    color: var(--djk-ruhrwacht-background);
}

.description{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.group{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: auto;
}

footer .title{
    font-size: 1.2rem;
    font-weight: bold;
    padding-top: 15px;
    padding-bottom: 10px;
}

.impressum, .impressum > a{
    text-align: right;
    color: var(--djk-ruhrwacht-background);
}

footer p{
    font-size: 1.0em;
    margin-bottom: .5em;
}

footer ul{
    list-style-type: none;
}

footer ul li{
    list-style: none;
    display: block;
}

footer ul li a{
    display: inline-block;
    text-decoration: none;
    margin-left: 0px;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.5s ease-out;
    -webkit-transition: border-bottom-color 0.5s ease-out;
}

footer ul li a:hover{
    border-bottom-color: var(--djk-ruhrwacht-color-green);
}

footer>div>img{
    height: 3.5rem;
    margin: 1rem 1rem 1rem 1rem;
}

@media screen and (min-width: 577px){
    footer>div>img{
        height: 4.5rem;
        margin: 1rem auto 1rem auto;
    }
}

@media screen and (min-width: 649px){
/* Standard */
    footer{
        flex-direction: row;
    }

    footer>div>img{
        height: 5.0rem;
        margin: 1rem auto 1rem auto;
    }
}

@media screen and (min-width: 769px){
/* Standard */
    footer>div>img{
        height: 5.5rem;
        margin: 1rem 0 1rem auto;
    }
}

@media screen and (min-width: 993px){
    .description{
        flex-direction: row;
    }

    footer>div>img{
        height: 5.5rem;
        margin: 1rem 0 1rem auto;
    }
}

@media screen and (min-width: 1201px){
    footer>div>img{
        height: 7em;
        margin: 1rem 0 1rem auto;
    }
}

@media screen and (min-width: 1421px){
    footer>div>img{
        height: 7em;
        margin: 1rem 0 1rem auto;
    }
}



/*
    Formatierungsvorgaben für Pop-Ups und andere nette Dinge, die
    eine Webseite interessanter machen.
*/

.popupWindow{
/*
    display: none;      /* Das Popup-Fenster muss standardmäßig versteckt werden */
/*    position: fixed;    /* Das Popup-Fenster soll fixiert werden */

    left: 50%;          /* Horizontal in der Mitte des Bildschirms positionieren */
    top: 50%;           /* Vertikal in der Mitte des Bildschirms positionieren */
    width: 65.625%;     /* Die Breite des Fensters soll acht Spalten von 12 betragen*/
    height: 65.625%;   /* Die Höhe des Fensters soll das gleiche Verhältnis zur Höhe des sichtbaren Bereiches aufweisen */
    transform: translate(-50%, -35%); /* Fenster muss zentriert werden */
    background-color: var(--djk-ruhrwacht-background); /* Hintergrundfarbe des Fensters */
    padding: 20px;      /* Innenabstand des Fensters */
    border-radius: 10px; /* Das Fenster soll einen Rahmen mit runden Ecken aufweisen */
    border-color: var(--djk-ruhrwacht-color-green);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Schatteneffekt */
    overflow-y: auto;
    z-index: 99;
}

.overlay {            /* Overlay für den Hintergrund erstellen */
    display: none;      /* Standardmäßig ist der Overlay nicht zu sehen. */
    position: fixed;    /* Das Overlay muss fixiert sein, um nicht "weggescrollt zu werden. */
    top: 0;             /* Das Overlay soll den gesamten Bereich abdecken. */
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--djk-ruhrwacht-color-light-green-transparent);    /* Hintergrundfarbe des Overlays */
    z-index: 98;
}

.djk-ruhrwacht-button{
        font-size: 1.0em;

        box-sizing: content-box;
        display: block;

        border-style: solid;
        border-width: 1px;
        border-color: rgba(29, 138, 91, 0.6);
        border-radius: 10px;

    /*    margin: 1em; */
        margin: 1em auto;
        padding: 0.5em;

        width: auto%;
}
