html {
    height: 100%;
}

body {
    position: relative;
    font-size: 16px;
    text-size-adjust: none;
    margin: 0;
    background-color: #000;
    background-image: url(../Bilder/background.jpg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    background-attachment: fixed;
    font-family: Titillium, "Segoe UI", Verdana, Arial, Sans-Serif;
    padding-top: 10px;
    padding-bottom: 80px;
}

@-moz-document url-prefix() {
    body {
        min-height: calc(100% - 90px);
    }
}

.gespiegelt {
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
}

@font-face {
    font-family: 'DINOT';
    src: url('../Dateien/Schrift/DINOT.otf') format('truetype');
}

@font-face {
    font-family: 'DINOT-Bold';
    src: url('../Dateien/Schrift/DINOT-Bold.otf') format('truetype');
}

@font-face {
    font-family: 'Titillium';
    src: url('../Dateien/Schrift/TitilliumWeb-Regular.otf') format('truetype');
}

@font-face {
    font-family: 'Titillium-Bold';
    src: url('../Dateien/Schrift/TitilliumWeb-Bold.otf') format('truetype');
}

b {
    font-family: Titillium-Bold;
}

form {
    margin: 0;
    padding: 0;

}



body code {

    font-family: Titillium, "Segoe UI", Verdana, Arial, Sans-Serif;

}

/*

nav {

		display: block;

}



nav a{

	padding: 6px;

}



nav a:hover{

	background-color: #DD0;

	cursor: pointer;

}

	 */

#CurrentSiteMenu {

    background-color: #EEE;

    color: #444;

}



#head {
    background-color: #FFF;
    color: #000;
    border-bottom: 1px solid #e1e7ec;
    box-shadow: 0 3px 25px 0 rgb(60 64 68 / 22%);
    z-index: 9000;
    position: relative;
    background-size: contain;
    background-repeat: repeat-x;
    width: 100%;
}



#headInner h1 {
    font-size: 27px;
    height: 33px;
    /*text-shadow: 4px 5px 12px #000;*/
}



a:nk,
a:visited,
a:active,
a:focus {

    text-decoration: inherit;


}

.link {
    padding: 0 0 0 15px;
    color: #2bb0fc;
    font-weight: bold;
    text-decoration: inherit;
    background: url(/Bilder/url_arrow.svg) left 6px no-repeat;
}



#headInner {
    margin-right: auto;
    margin-left: auto;
    text-transform: uppercase;
    font-size: 14px;
}



#Menu table {
    text-decoration: inherit;
    position: absolute;
    display: none;
    text-align: center;
    background: rgba(256, 256, 256, 0.9);
    color: #003366;
    width: 900px;
}

#Menu table td:hover {

    background-color: #DD0;

    cursor: pointer;

}



#Menu font:hover table {

    display: block;

}

/*#Menu font table a{

 background-color: rgba(0, 0, 0, 0);;

} */



#Bild {

    /*margin-right: auto;

 	margin-left: auto;

	/*box-shadow: 0 0 10px #444;   */

    margin-top: 10px;

    margin-right: auto;

    margin-left: auto;

    width: 100%;

    height: auto;

}

#ImageContainer,
#TitleContainer {
    width: 100%;
}

#ImageContainer .BildImage {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: calc(0.5625*100vw);
}

.title {
    margin-right: auto;
    margin-left: auto;
    padding: 15px;
}

.title h1 {
    margin-top: 10px;
    margin-bottom: 0;
}

#Menu {

    text-align: right;
    position: relative;
}

#Menu label input:checked+.hamburger {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

#Menu label input:checked+.hamburger span:before {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    top: 0;
}

#Menu label input:checked+.hamburger span:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    top: 0;
}



#Menu .hamburger {
    width: 30px;
    height: 30px;
    padding: 15px;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    margin-left: auto;
    margin-right: 12px;
}

#Menu .hamburger span {
    position: relative;
    height: 2px;
    top: 15px;
    background: #000;
    display: block;
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

#Menu .hamburger span:after,
#Menu .hamburger span:before {
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
}

#Menu .hamburger span:before {
    top: -10px;
}

#Menu .hamburger :after {
    top: 10px;
}

#Menu ul {
    position: absolute;
    list-style: none;

    padding: 0;

    margin: 0;

}



#Menu label input+.hamburger+ul {
    visibility: hidden;
    display: none;
    opacity: 0;
    -webkit-transition: visibility 0s, opacity .25s 0s ease-in-out;
    transition: visibility 0s, .25s 0s ease-in-out;
}


#Menu label input:checked+.hamburger+ul {
    opacity: 1 !important;
    visibility: visible;
    position: static;
    display: block;
}



#Menu ul li {

    display: block;


}


.main_page {
    background-color: #FFF;
}



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



#Menu ul li div {

    z-index: 1;
    left: 0;
    width: calc(100% - 80px);
    background: rgb(0, 82, 82);
    color: #FFF;
    text-transform: none;
    padding: 10px 40px 10px 40px;
}

#Menu ul li div ul {
    width: auto !important;
    background: none !important;
    position: static;
    opacity: 1;
}

/*#Menu ul li div {
    background-color: rgba(0,82,82,1);
}*/

#Menu ul li div ul li {
    border-bottom: 2px solid rgba(255, 255, 255, .5);
    font-size: 1.1em;
    width: auto;
}

#Menu ul li div ul li:last-child {
    border-bottom: none;
}


#Menu ul li div ul li a {
    background: none !important;
}




#Menu ul li a {

    display: block;

    padding: 1em;

    text-decoration: none;

    white-space: nowrap;

    color: #000;

    text-align: left;


}

#Menu ul li div ul li a {
    color: inherit;
}

#Innerbody {

    margin-right: auto;

    margin-left: auto;

    padding-top: 3px;

    padding-bottom: 0px;
    background-color: #FFF;

    /*background: rgba(0, 44, 124, 0.7);*/
    color: #00131d;

    /*border-style: dotted;

 	border-color: #FF0000;*/

}

#InnerFooter {

    margin-right: auto;

    margin-left: auto;

    height: 100%;
    margin-top: auto;

    vertical-align: middle;


    /*border-style: dotted;

 	border-color: #FF0000;*/

}

#InnerFooter table {
    width: 100%;
}

#Footer {

    box-shadow: 0 0 10px #111;

    width: 100%;

    /*height: 80px;*/

    background-color: #EEE;

    /*margin-top: auto;*/

    z-index: 9000;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

}


@media only screen and (min-width: 900px) {
    .main_page {
        float: right !important;
    }


    .main_page a {
        padding-left: 0.3em;
        padding-right: 0.3em;
    }

    .main_page a:hover {
        background-color: #cdf !important;

    }

    .main_page a span {
        display: none;
    }

    #Menu ul {
        display: block;
        position: static;
        opacity: 1;
    }

    #Menu ul li {
        float: left;
    }

    #Menu ul li a:hover {

        background: #2bb0fc;

    }

    #Menu li:hover>div {

        display: block;

    }



    #Menu li:hover ul li {
        float: none;
    }


    #Menu li:hover ul li a {

        background: rgba(0, 44, 124, 0.4);

    }

    #Menu ul li div {
        display: none;
        position: absolute;
    }

    #Menu ul li div ul {
        display: flex;
        float: left;
        flex-direction: column;
        flex-wrap: wrap;
        max-height: 12em;
    }

    #Menu ul li div ul li {
        margin-right: 5px;
    }

    .hamburger {
        display: none;
    }

    #headInner {
        max-width: 900px;
    }


    #Menu li:hover li a:hover {
        background: #2c3e50;
    }

    #head {
        min-width: 900px;
        position: fixed;
        height: 47px;
    }

    #Innerbody,
    #InnerFooter {
        width: 900px;
    }

    .title {
        width: 870px;
    }

    #ImageContainer,
    #TitleContainer {
        margin-top: 47px;
        position: relative;
    }

    #ImageContainer .title {
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
        top: 30%;
        color: #FFF;
    }

    #ImageContainer .BildOverlay {
        width: 100%;
        height: 100%;
        background-image: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
    }


    #InnerFooter table {
        width: 900px;
    }

    #Menu label input+.hamburger+ul {
        visibility: visible;
        opacity: 1;
        display: block;
    }


}



#Menu ul li ul li {
    border-top: 0;
}



/* Displays second level dropdowns to the right of the first level dropdown */





#Menu ul ul ul {
    left: 100%;
    top: 0;
}



/* Simple clearfix */



#Menu ul:before,
#Menu ul:after {
    content: " ";
    /* 1 */

    display: table;
    /* 2 */
}



#Menu ul:after {
    clear: both;
}





.editor_nav {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0, 44, 124, 0.7);
    display: block;
}



.editor_nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}



.editor_nav li {
    line-height: 20px;
}



.editor_nav li div {
    padding: 1em;
}



.editor_nav li div:hover {
    background-color: #2c3e50;
}



.editor_nav li ul {
    background: 0;
    background: rgba(44, 44, 44, 0.3);
}



.editor_nav li ul li div {
    text-indent: 15px;
    background: url(../Bilder/Pfeil.svg) left no-repeat;
}



.reihenfolge_nav {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0, 44, 124, 0.7);
    display: block;
}



.reihenfolge_nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}



.reihenfolge_nav li {
    line-height: 20px;
}



.reihenfolge_nav li div {
    padding: 1em;
}



.reihenfolge_nav li div:hover {
    background-color: #2c3e50;
}



.reihenfolge_nav li ul {
    background: 0;
    background: rgba(44, 44, 44, 0.3);
}



.reihenfolge_nav li ul li div {
    text-indent: 15px;
    background: url(../Bilder/Pfeil.svg) left no-repeat;
}



.button {
    /*background: rgba(255, 255, 255, 0.7);*/
    background-color: #0095eb;
    border: none;
    border-radius: 5px;
    color: #fff;
    padding: 15px 32px;
    text-align: center;
    font-family: Titillium-Bold, "Segoe UI", Verdana, Arial, Sans-Serif;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    display: block;
    transition: background-color .5s ease-in-out;
}

.button[disabled],
.button:disabled {
    background-color: #616161;
    cursor: not-allowed;
}





#body {

    /*background-color: #EEE;*/

    color: #000;

    /*height: calc(auto - 150px); */

}






#Innerbody h1 {

    font-size: 22px;

    /*font-style: italic; */

    font-weight: normal;

    font-family: Titillium-Bold;


    padding-left: 15px;

    padding-right: 15px;

    /*text-shadow: 4px 5px 12px #000;*/

}

#Innerbody h2 {

    font-size: 16px;

    font-style: normal;
    font-weight: normal;

    padding-left: 20px;

    padding-right: 20px;
    padding-bottom: 10px;

}

#Innerbody h3 {

    font-size: 14px;

    font-style: normal;
    font-weight: normal;

    padding-left: 22px;

    padding-right: 22px;

}



/*#Innerbody table tr td, th{

 	color: inherit;

} */



.Tabelle {
    width: 100%;
    text-align: center;
}

#Footer h1 {

    font-size: 16px;
    margin-bottom: 2px;
}

#Footer h1,
h2 {
    margin-top: 3px;
}

#Footer h1,
h2 a {
    color: #036;
    /*#54ab47;*/
}

#Footer h2 {

    font-size: 12px;
    margin-bottom: 5px;

}





.tabellenzusatz {
    border-left: 5px solid #2bb0fc;
    background: #e5e6f0;
    color: black;
    padding: 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-bottom: 10px;
}

.tabellenzusatz table tr td {
    color: black;
}

.umfrage_frage {
    border-left: 5px solid #bbb;
    background: #e5e6f0;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.umfrage_info a {
    text-decoration: none;
    font-weight: bold;
    display: block;
}

.umfrage_info ul {
    list-style-type: none;
    padding: 0;
    margin: 10px;
    overflow: hidden;
}

.umfrage_info ul li {
    margin: 7px;
    float: left;
}

.umfrage_info ul li a {
    border-left: 5px solid #2bb0fc;
    border-radius: 5px;
    padding: 10px;
    background: #e5e6f0;
}

.umfrage_info ul li a:hover {
    border-left: 5px solid #5bb000;
    background-color: #e6f0e5;
    color: #5bb000;
}

.alert {
    padding: 20px;
    background-color: #f44336;
    color: white;
}

.alert.info {
    background-color: #2196F3;
}

.alert.important {
    background-color: #ff9800;
}


.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}



table {
    color: inherit;
}

.background_bar_snow {
    background-image: url(../Bilder/schnee_light.png);
}

.img_logo_small {
    content: url(../Bilder/usc_logo_klein.png);
}

.img_logo_big {
    content: url(../Bilder/usc_logo2.png);
}

.img_logo_big_silvester {
    content: url(../Bilder/usc_logo_silvester.png);
}

.img_logo_big_christmas {
    content: url(../Bilder/usc_logo_weihnachten2_gross.png);
}

/* CUSTOM SELECT*/

/* The container must be positioned relative: */
.custom-select {
    position: relative;
    font-family: Arial;
}

.custom-select select {
    display: none;
    /*hide original SELECT element: */
}

.select-selected {
    background-color: #0082d8;
    border-radius: 3px;
}

/* Style the arrow inside the select element: */
.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
    -webkit-transition: -webkit-transform .8s ease-in-out;
    -ms-transition: -ms-transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
}

.select-selected.select-arrow-active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    -webkit-transform: translateY(-50%) rotate(180deg);
}

/* style the items (options), including the selected item: */
.select-items div,
.select-selected {
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
}

/* Style items (options): */
.select-items {
    position: absolute;
    background-color: #2bb0fc;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

.select-items:last-child {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.select-items div:hover,
.same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}

div.circle_card_list_small, div.circle_card_list_big{
    display: flex;
}

div.circle_card_list_small>div, div.circle_card_list_big>div {
    width: 16px;
    z-index: auto;
    position: relative;
}

div.circle_card_list_small>div:last-child, div.circle_card_list_big>div:last-child {
    width: auto;
}

div.circle_card_list_small>div:hover, div.circle_card_list_big>div:hover {
    z-index: 1;
}

div.circle_card_list_small>div>div, div.circle_card_list_big>div>div {
    border-radius: 50%;
    color: #fff;
    text-align: center;
    background: #340000;
}


div.circle_card_list_small>div>div{
    line-height: 30px;
    width: 30px;
    height: 30px;
    font-size: 10px;
}

div.circle_card_list_big>div>div{
    line-height: 60px;
    width: 60px;
    height: 60px;
    font-size: 20px;
}


@media (prefers-color-scheme: dark) {
    body {
        background-image: url(../Bilder/background_dark.jpg);
    }

    #head {
        background-color: #4b4d53;
        color: #bdc1c6;
        border-bottom: 1px solid #3b3c3f;
    }

    .title {
        color: #FFF;
    }

    #Menu .hamburger span,
    #Menu .hamburger span:after,
    #Menu .hamburger span:before {
        background: #FFF;
    }

    .main_page {
        background-color: #595c63;
    }

    #Menu ul li div {
        background: rgb(46, 46, 46);
    }

    #Menu ul li a {
        color: #FFF;
    }

    #Innerbody {
        background-color: #282828;
        color: #ffffff;
    }

    #Footer {
        background-color: #4b4d53;
        color: rgb(202, 202, 202);
    }

    .main_page a:hover {
        background-color: rgb(55, 57, 63) !important;
    }

    #Footer h1,
    h2 a {
        color: #0095eb;
    }

    #Menu ul li a:hover {
        background: #0095eb;
    }

    .background_bar_snow {
        background-image: url(../Bilder/schnee_dark.png);
    }

    .img_logo_small {
        content: url(../Bilder/usc_logo_klein_dark.png);
    }

    .img_logo_big {
        content: url(../Bilder/usc_logo2_dark.png);
    }

    .img_logo_big_silvester {
        content: url(../Bilder/usc_logo_silvester_dark.png);
    }

    .img_logo_big_christmas {
        content: url(../Bilder/usc_logo_christmas_dark.png);
    }
}