/********** Template CSS **********/
:root {
    --primary: #FF6F0F;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: rgb(52, 48, 132);
    --dark-transparent: rgba(52, 48, 132, 0.8)
}

.columns {
	-webkit-column-width:20em;
	-moz-column-width:20em;
	column-width:20em;
}

p {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

em
{
	color: var(--bs-danger);
	font-weight: bold;
	font-style:normal;
}

.markdown em
{
    color: inherit;
    font-weight: normal;
    font-style: italic;
}

blockquote
{
    border-left: 5px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
}

blockquote p
{
    margin-bottom: 0em;
}

blockquote footer
{
    text-align: right;
    font-style: italic;
}

a.anchor {
    display: block;
    position: relative;
    top: -150px;
    visibility: hidden;
}

.drop-shadow {
    box-shadow: 0 0 35px rgba(0, 0, 0, .1);
}

table:not(.table) td, table:not(.table) th {
    text-align: left;
    vertical-align:top; 
}

.unterstuetzer img {
    max-height: 8em;
    max-width:90%;
    margin:1em;
}

/*** Darstellung für KO-Systeme ***/
main{
    display:flex;
    flex-direction:row;
}
.round{
    display:flex;
    flex-direction:column;
    justify-content:center;
    width:15em;
    list-style:none;
    padding:0;
}
.round .spacer, .round .game-spacer{ flex-grow:1; }
.round .spacer:first-child,
.round .spacer:last-child{ flex-grow:.5; }


li.game-top{ border-bottom:1px solid #aaa; }
li.game-bottom
{
    border-bottom:1px solid #aaa;
    border-right:1px solid #aaa;
}

li.note { padding-left:1em; font-size: small; }
li.note-top {border-right:1px solid #aaa;}

li.game-spacer{
    border-right:1px solid #aaa;
}

li.game span{
    float:right;
    margin-right:0.5em;
}

li.game{
    padding-left:1em;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    color: var(--primary);
    background: transparent;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.navbar-brand img {
    margin-bottom:-2rem;     
    margin-right:0.5rem; 
    height:8rem;
}


.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(var(--dark-transparent), var(--dark-transparent)), url(../img/header.jpg) center center no-repeat;
    background-size: cover;
}

@media(max-width:576px), (max-height:450px) {
    .navbar-brand {
        margin-right: 0;
    }

    .navbar-brand img {
        margin-bottom:-2rem;     
        margin-right:0rem; 
        height:4rem;
    }   

    .navbar-brand h1 {
        font-size:1.5rem !important;
    }

    .navbar-brand div {
        font-size:0.8rem !important;
    }

    .page-header {
        padding-top: 6rem;
        padding-bottom: 1rem;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }

    #navbarCollapse {
        max-height:50vh !important;
        overflow-y: auto !important;
    }    
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: var(--primary);
    border-color: var(--primary);
}


/*** Carousel ***/
.judo-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 0, 0, 0) 100%);
    z-index: 1;
}

.judo-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 0, 0, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .judo-carousel::before,
    .judo-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .judo-carousel::before,
    .judo-carousel::after {
        width: 300px;
    }
}

.judo-carousel .owl-item .judo-carousel-text {
    background: var(--light);
    margin-left: 1rem;
    margin-right:1rem;
    transition: .5s;
}

.judo-carousel .owl-item .judo-carousel-text *,
.judo-carousel .owl-item .judo-carousel-item img {
    transition: .5s;
}

.judo-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0.5;
    transition: .5s;
    z-index: 1;
}

.judo-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.judo-carousel .owl-nav .owl-prev,
.judo-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.judo-carousel .owl-nav .owl-prev:hover,
.judo-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255,255,255,0.5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.5);
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: var(--primary);
}