﻿@import url(https://netdna.bootstrapcdn.com/font-awesome/2.0/css/font-awesome.css);

body {
    margin: 0px;
    background-color: White;
    color: #303030;
    margin: 0px 0px 0px 0px;
    text-align: center;
    height: 100%;
    font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
    font-size: 18px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html {
    height: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.smalltext{
    font-size:14px;
}

.largetext {
    font-size: 24px;
}

a {
    -webkit-tap-highlight-color: transparent;
    color: #303030;
    text-decoration-color: silver;
}

ul {
    padding-inline-start: 20px;
    margin-block: 0.5em
}

header {
    top: 0px;
    width: 100%;
    height: 36px;
    line-height: 36px;
    border-bottom: solid 1px #2f2f2f;
    vertical-align: central;
    position: fixed;
    color: white;
    text-shadow: 0px 1px 0px #05481d;
    font-weight: normal;
    background: rgb(147, 147, 147);
    background: linear-gradient(0deg, rgb(204,8,8) 0%, rgb(185,7,7) 100%);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

        @media (max-width: 400px) {

            header.HeaderScroll {
                text-align: left;
            }

            span.HeaderScrollText {
                display: inline-block;
                animation: scrolltext 14s ease-in-out infinite;
                position: relative;
                padding-inline: 1rem;
            }

            @keyframes scrolltext {
                0% {
                    transform: translate(0%, 0);
                    left: 0%;
                }

                50% {
                    transform: translate(-100%, 0);
                    left: 100%;
                }

                100% {
                    transform: translate(0%, 0);
                    left: 0%;
                }
            }
        }

        footer {
        bottom: 0px;
        left: 0px;
        right: 0px;
        margin: auto;
        width: 100%;
        height: 36px;
        line-height: 36px;
        border-top: solid 1px gray;
        text-align: center;
        vertical-align: central;
        position: fixed;
        font-weight: normal;
        background: white;
    }

    h1 {
        all: initial;
        all: unset;
    }

    h2 {
        margin: auto;
        width: 90%;
        max-width: 500px;
        padding: 4px;
        text-align: center;
        font-weight: bold;
        font-size: larger;
        background-color: gray;
        color: white;
        border: 1px solid gray;
        border-radius: 15px;
    }

    h3 {
        font-size: initial;
        font-weight: bold;
        margin: 0px;
    }

    a.footerLink {
        text-decoration-color: silver;
    }

    a.headerLink {
        color: white;
        text-decoration: none;
    }

    footero {
        bottom: 0px;
        left: 0px;
        right: 0px;
        margin: auto;
        width: 100%;
        height: 36px;
        line-height: 36px;
        border-top: solid 1px gray;
        text-align: center;
        vertical-align: central;
        position: fixed;
        text-shadow: 0px 1px 0px #05481d;
        font-weight: normal;
        font-size: 18px;
        background: rgb(240, 240, 240);
        background: linear-gradient(0deg, rgb(185,7,7) 0%, rgb(204,8,8) 100%);
    }

    main {
        position: fixed;
        width: 100%;
        top: 37px;
        margin: 0px;
        padding: 0px;
        bottom: 0px;
        text-align: center;
        overflow: auto;
    }

    div.content {
        width: 100%;
        margin: 0 auto;
        padding: 0px;
    }

    @media (min-width: 1200px) {
        a.listbutton {
            float: left;
            padding: 10px 10px 0px 10px;
            display: block;
            width: calc(25% - 42px);
            font-family: arial;
            font-weight: normal;
            text-decoration: none;
            text-align: left;
            border: 1px solid #a7a7a7;
            margin: 10px;
            background-color: White;
            background: linear-gradient(0deg, rgb(240,240,240) 0%, rgb(256,256,256) 50%);
            box-shadow: 2px 2px 6px rgb(0 0 0 / 10%);
        }

            a.listbutton:hover {
                background-color: whitesmoke;
                background: linear-gradient(0deg, rgb(230,230,230) 0%, whitesmoke 50%);
            }

            a.listbutton:active {
                background-color: whitesmoke;
                background: linear-gradient(0deg, rgb(230,230,230) 0%, whitesmoke 50%);
            }

            a.listbutton:focus {
                outline-width: 0px;
                background-color: whitesmoke;
                background: linear-gradient(0deg, rgb(230,230,230) 0%, whitesmoke 50%);
            }
    }

    @media (max-width: 1200px) and (min-width: 600px) {
        a.listbutton {
            float: left;
            padding: 10px 10px 0px 10px;
            display: block;
            width: calc(50% - 42px);
            font-family: arial;
            font-weight: normal;
            text-decoration: none;
            text-align: left;
            border: 1px solid #a7a7a7;
            margin: 10px;
            background-color: White;
            background: linear-gradient(0deg, rgb(240,240,240) 0%, rgb(256,256,256) 50%);
            box-shadow: 2px 2px 6px rgb(0 0 0 / 10%);
        }

            a.listbutton:hover {
                background-color: whitesmoke;
                background: linear-gradient(0deg, rgb(230,230,230) 0%, whitesmoke 50%);
            }

            a.listbutton:active {
                background-color: whitesmoke;
                background: linear-gradient(0deg, rgb(230,230,230) 0%, whitesmoke 50%);
            }

            a.listbutton:focus {
                outline-width: 0px;
                background-color: whitesmoke;
                background: linear-gradient(0deg, rgb(230,230,230) 0%, whitesmoke 50%);
            }
    }

    @media (max-width: 600px) {
        a.listbutton {
            padding: 10px 10px 10px 10px;
            display: block;
            font-family: arial;
            font-weight: normal;
            text-decoration: none;
            text-align: left;
            border-bottom: 1px solid #a7a7a7;
            margin: 0px auto;
            background-color: White;
            background: linear-gradient(0deg, rgb(240,240,240) 0%, rgb(256,256,256) 50%);
            -webkit-transition: 0.2s;
        }

            a.listbutton:hover {
                background-color: whitesmoke;
                background: linear-gradient(0deg, rgb(230,230,230) 0%, whitesmoke 50%);
            }

            a.listbutton:active {
                background-color: whitesmoke;
                background: linear-gradient(0deg, rgb(230,230,230) 0%, whitesmoke 50%);
            }

            a.listbutton:focus {
                outline-width: 0px;
                background-color: whitesmoke;
                background: linear-gradient(0deg, rgb(230,230,230) 0%, whitesmoke 50%);
            }
    }

    .button {
        border-radius: 4px;
        padding: 6px 6px;
        box-sizing: border-box;
        border: 1px solid rgba(0, 0, 0, 0.5);
        background-color: #E0E0E0;
        text-align: center;
        color: #000000;
        text-decoration: none;
        text-shadow: 0px 2px 2px #A0A0A0;
        box-shadow: 0px 2px 1px white inset, 0px -2px 8px white, 0px 2px 5px rgba(0, 0, 0, 0.1), 0px 8px 10px rgba(0, 0, 0, 0.1);
        -webkit-transition: 0.2s;
    }

        .button:hover {
            box-shadow: 0px 2px 1px white inset, 0px -2px 4px white, 0px 2px 5px rgba(0, 0, 0, 0.1), 0px 8px 10px rgba(0, 0, 0, 0.1);
            background-color: #D0D0D0;
        }

        .button:active {
            box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5) inset, 0px -2px 20px white, 0px 1px 5px rgba(0, 0, 0, 0.1), 0px 2px 10px rgba(0, 0, 0, 0.1);
            background-color: #C0C0C0;
        }

    a.selloginbutton {
        display: block;
        border-radius: 4px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
        width: 250px;
        height: 40px;
        line-height: 40px;
        border: 1px solid rgba(0, 0, 0, 0.5);
        background-color: #E0E0E0;
        text-align: center;
        text-decoration: none;
        text-shadow: 0px 2px 2px #A0A0A0;
        box-shadow: 0px 2px 1px white inset, 0px -2px 8px white, 0px 2px 5px rgba(0, 0, 0, 0.1), 0px 8px 10px rgba(0, 0, 0, 0.1);
        -webkit-transition: 0.2s;
        text-align: left;
        padding-left: 10px;
    }

        a.selloginbutton:hover {
            box-shadow: 0px 2px 1px white inset, 0px -2px 4px white, 0px 2px 5px rgba(0, 0, 0, 0.1), 0px 8px 10px rgba(0, 0, 0, 0.1);
            background-color: #D0D0D0;
        }

        a.selloginbutton:active {
            box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5) inset, 0px -2px 20px white, 0px 1px 5px rgba(0, 0, 0, 0.1), 0px 2px 10px rgba(0, 0, 0, 0.1);
            background-color: #C0C0C0;
        }

    a.loginbutton {
        background-color: rgb(204,8,8);
        border-radius: 40px;
        width: 250px;
        height: 40px;
        line-height: 40px;
        display: inline-block;
        font-family: arial;
        font-size: 22px;
        font-weight: normal;
        color: white;
        text-decoration: none;
        text-shadow: 0px 1px 0px #05481d;
        text-align: center;
        border: 1px solid #a7a7a7;
        margin: 10px 0px;
        box-shadow: 1px 1px 5px 0px rgba(255,255,255,0.75) inset, -1px -1px 5px 0px rgba(0,0,0,0.75) inset, 0px 2px 2px gray, 2px 2px 6px rgba(0, 0, 0, 0.5);
        -webkit-transition: 0.2s;
    }

        a.loginbutton:hover {
            background-color: rgb(185,7,7);
            transition: background-color 1s;
        }

        a.loginbutton:active {
            background-color: rgb(185,7,7);
            transform: translate(0px,2px);
            box-shadow: 1px 1px 5px 0px rgba(255,255,255,0.75) inset, -1px -1px 5px 0px rgba(0,0,0,0.75) inset, 0px 0px 0px gray, 0px 0px 6px rgba(0, 0, 0, 0.5);
        }

        a.loginbutton:focus {
            outline-width: 0px;
            background-color: rgb(185,7,7);
        }

    a.menubutton {
        background: rgb(204,8,8);
        border-radius: 40px;
        width: 50px;
        height: 50px;
        line-height: 50px;
        display: inline-block;
        font-family: arial;
        font-size: 30px;
        font-weight: normal;
        color: white;
        text-decoration: none;
        text-shadow: 0px 1px 0px #05481d;
        text-align: center;
        border: 1px solid #a7a7a7;
        margin: 10px 5px 10px 5px;
        box-shadow: 1px 1px 5px 0px rgba(255,255,255,0.75) inset, -1px -1px 5px 0px rgba(0,0,0,0.75) inset, 0px 2px 2px gray, 2px 2px 6px rgba(0, 0, 0, 0.5);
        -webkit-transition: 0.2s;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 32px 32px;
    }

        a.menubutton i {
            float: right;
            margin-top: 2px;
        }

        a.menubutton:hover {
            background-color: rgb(185,7,7);
            transition: background-color 1s;
        }

        a.menubutton:active {
            background-color: rgb(185,7,7);
            transform: translate(0px,2px);
            box-shadow: 1px 1px 5px 0px rgba(255,255,255,0.75) inset, -1px -1px 5px 0px rgba(0,0,0,0.75) inset, 0px 0px 0px gray, 0px 0px 6px rgba(0, 0, 0, 0.5);
        }

        a.menubutton:focus {
            outline-width: 0px;
            background-color: rgb(185,7,7);
        }

    a.smallmenubutton, div.smallmenubutton {
        background-color: rgb(204,8,8);
        border-radius: 20px;
        width: 30px;
        height: 30px;
        line-height: 30px;
        display: inline-block;
        font-family: arial;
        font-size: 24px;
        font-weight: normal;
        color: white;
        text-decoration: none;
        text-shadow: 0px 1px 0px #05481d;
        text-align: center;
        border: 1px solid #a7a7a7;
        margin: 10px 5px 10px 5px;
        box-shadow: 1px 1px 5px 0px rgba(255,255,255,0.75) inset, -1px -1px 5px 0px rgba(0,0,0,0.75) inset, 0px 2px 2px gray, 2px 2px 6px rgba(0, 0, 0, 0.5);
        -webkit-transition: 0.2s;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 20px 20px;
    }

        a.smallmenubutton i {
            float: right;
            margin-top: 2px;
        }

        a.smallmenubutton:hover {
            background-color: rgb(185,7,7);
            transition: background-color 1s;
        }

        a.smallmenubutton:active {
            background-color: rgb(185,7,7);
            transform: translate(0px,2px);
            box-shadow: 1px 1px 5px 0px rgba(255,255,255,0.75) inset, -1px -1px 5px 0px rgba(0,0,0,0.75) inset, 0px 0px 0px gray, 0px 0px 6px rgba(0, 0, 0, 0.5);
        }

        a.smallmenubutton:focus {
            outline-width: 0px;
            background-color: rgb(185,7,7);
        }

    div.smallmenubutton {
        background-color: silver;
    }

    a.smallbutton {
        width: 18px;
        height: 18px;
        line-height: 18px;
        display: inline-block;
        font-family: arial;
        font-size: 10px;
        font-weight: normal;
        text-decoration: none;
        text-shadow: 0px 1px 0px #05481d;
        text-align: center;
        -webkit-transition: 0.2s;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 18px 18px;
        vertical-align: middle;
    }

    div.infotagGray {
        float: left;
        border-radius: 20px;
        width: 16px;
        height: 16px;
        outline: 2px solid gray;
        line-height: 16px;
        display: inline-block;
        font-family: arial;
        font-size: 12px;
        font-weight: normal;
        color: gray;
        text-decoration: none;
        text-shadow: 0px 1px 0px #05481d;
        text-align: center;
        margin: 5px;
        -webkit-transition: 0.2s;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 20px 20px;
    }

    div.infotag {
        float: left;
        border-radius: 20px;
        width: 16px;
        height: 16px;
        outline: 2px solid green;
        line-height: 16px;
        display: inline-block;
        font-family: arial;
        font-size: 12px;
        font-weight: normal;
        color: green;
        text-decoration: none;
        text-shadow: 0px 1px 0px #05481d;
        text-align: center;
        margin: 5px;
        -webkit-transition: 0.2s;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 20px 20px;
    }

    div.game {
        background-color: white;
        background: linear-gradient(0deg, rgb(240,240,240) 0%, rgb(256,256,256) 50%);
    }

    input {
        width: 170px;
        border-radius: 4px;
        padding: 6px 6px;
        box-sizing: border-box;
        border: 1px solid rgba(0, 0, 0, 0.5);
        background-color: white;
        font-size: 16px;
    }

    select {
        font-size: 16px;
    }

    input[type=submit] {
        margin: 5px 0px auto auto;
        text-align: center;
    }

    input[type=checkbox] {
        width: 20px;
        border-radius: 4px;
        padding: 6px 6px;
        box-sizing: border-box;
        border: 1px solid rgba(0, 0, 0, 0.5);
        transform: scale(1.5);
    }

    input[type=radio] {
        transform: scale(1.5);
    }

    textarea {
        width: 170px;
        height: 50px;
        resize: none;
        border-radius: 4px;
        padding: 6px 6px;
        box-sizing: border-box;
        border: 1px solid rgba(0, 0, 0, 0.5);
    }

    select {
        width: 170px;
        border-radius: 4px;
        padding: 6px 6px;
        box-sizing: border-box;
        border: 1px solid rgba(0, 0, 0, 0.5);
        background-color: white;
        float: right;
    }

    div .inputline {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
        width: 100%;
        max-width: 600px;
        display: table;
        text-align: left;
        line-height: 30px;
    }

    .inputbox {
        float: right;
    }

    .inputfullbox {
        Height: 60px;
        Width: 100%;
    }

    .inputbutton {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .logoutbutton {
        width: 26px;
        height: 26px;
        position: absolute;
        top: 6px;
        left: 6px;
        cursor: pointer;
    }

    div.itemtitle {
        width: 100px;
        float: left;
        padding-top: 4px;
        font-weight: normal;
    }

    div.itemdesc {
        width: 100px;
        float: left;
    }

    div.item {
        width: 170px;
        float: left;
    }

    div.itemparent {
        clear: both;
        width: 270px;
        height: 26px;
        text-align: left;
        margin: 10px 5px auto auto;
    }

    div.infoparent {
        clear: both;
        width: 330px;
        display: table;
        text-align: left;
        padding-top: 2px;
        padding-bottom: 2px;
        margin-left: auto;
        margin-right: auto;
    }

    div.outpanel {
        margin: 10px auto 10px auto;
        border-radius: 10px;
        padding: 8px;
        text-align: left;
        width: 90%;
        max-width: 400px;
        background: white;
        box-shadow: 0px 2px 2px grey, 2px 2px 6px rgba(0, 0, 0, 0.5);
    }

    nav {
        position: absolute;
        display: inline-block;
        right: 6px;
        top: 4px;
        z-index: 1;
        text-align: -webkit-right;
    }

    .nav-button {
        width: 26px;
        height: 26px;
        text-decoration: none;
        background: url('/images/languagemenu.gif') no-repeat center center;
        background-size: 20px 20px;
    }

    .nav-content {
        display: none;
        position: relative;
        top: 12px;
        left: 0px;
        background-color: #f1f1f1;
        color: black;
        text-align: left;
        border-top: 1px solid gray;
        border-left: 1px solid gray;
        border-right: 1px solid gray;
        min-width: 200px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    }

        .nav-content a {
            padding: 10px 16px;
            border-bottom: 1px solid gray;
            text-decoration: none;
            display: block;
            color: black;
            -webkit-transition: 0.2s;
        }

            .nav-content a:hover {
                background-color: #ddd;
            }

    a.HeaderLink:link {
        color: white;
        text-decoration: none;
    }

    a.HeaderLink:visited {
        color: white;
        text-decoration: none;
    }

    a.HeaderLink:hover {
        color: white;
        text-decoration: underline;
    }

    a.HeaderLink:active {
        color: white;
        text-decoration: none;
    }

    a.UserTitle {
        color: white;
        text-decoration: none;
    }

    div.statmainpanel {
        width: 100%;
        max-width: 600px;
        margin: auto;
    }

    @media (min-width: 1301px) {
        div.statpanel {
            width: 600px;
            float: left;
            margin-left: 15px;
            margin-right: 15px;
        }

        div.singlestatpanel {
            width: 100%;
            max-width: 600px;
            margin: auto;
        }

        div.widestatpanel {
            width: 100%;
            max-width: 1250px;
            margin: auto;
        }

        div.statplaceholder {
            width: 600px;
            float: left;
            margin-left: 15px;
            margin-right: 15px;
        }
    }

    @media (max-width: 1300px) {
        div.statpanel {
            width: 100%;
            max-width: 750px;
            margin: auto;
        }

        div.singlestatpanel {
            width: 100%;
            max-width: 750px;
            margin: auto;
        }

        div.widestatpanel {
            width: 100%;
            max-width: 97%;
            margin: auto;
        }

        div.statplaceholder {
            width: 100%;
            max-width: 750px;
            margin: auto;
        }
    }

    @media (min-width: 801px) {
        div.statpanel {
            margin-top: 15px;
            margin-bottom: 5px;
            border-radius: 5px;
            padding: 10px;
            box-shadow: 1px 1px 10px 0px rgba(255,255,255,0.1) inset, -1px -1px 1px 0px rgba(0,0,0,0.25) inset, 0px 0px 10px gray, 0px 0px 0px rgba(0, 0, 0, 0.25);
        }

        div.singlestatpanel {
            margin-top: 15px;
            margin-bottom: 5px;
            border-radius: 5px;
            padding: 10px;
            box-shadow: 1px 1px 10px 0px rgba(255,255,255,0.1) inset, -1px -1px 1px 0px rgba(0,0,0,0.25) inset, 0px 0px 10px gray, 0px 0px 0px rgba(0, 0, 0, 0.25);
        }

        div.widestatpanel {
            margin-top: 15px;
            margin-bottom: 5px;
            border-radius: 5px;
            padding: 10px;
            box-shadow: 1px 1px 10px 0px rgba(255,255,255,0.1) inset, -1px -1px 1px 0px rgba(0,0,0,0.25) inset, 0px 0px 10px gray, 0px 0px 0px rgba(0, 0, 0, 0.25);
        }

        div.statplaceholder {
            margin-top: 5px;
            margin-bottom: 5px;
        }
    }

    @media (max-width: 800px) {
        div.statpanel {
            margin-top: 5px;
            border-bottom: 1px solid silver;
            padding-bottom: 15px;
        }

        div.singlestatpanel {
            margin-top: 5px;
            border-bottom: 1px solid silver;
            padding-bottom: 15px;
        }

        div.widestatpanel {
            margin-top: 5px;
            border-bottom: 1px solid silver;
            padding-bottom: 15px;
        }

        div.statplaceholder {
            margin-top: 5px;
        }
    }

    div.stattitle {
        width: 100%;
        display: inline-block;
        margin-bottom: 5px;
        margin-top: 5px;
        text-decoration-color: silver;
        font-weight: bold;
    }

    div.messagepanel {
        margin: auto;
        position: relative;
        border: 2px solid gray;
        border-radius: 15px;
        background-color: #FFFFDD;
        padding: 10px;
        margin-top: 10px;
        margin-bottom: 5px;
        width: calc(95% - 20px);
        max-width: 500px;
        text-align: left;
        box-shadow: 0px 2px 1px white inset, 0px -2px 8px white, 0px 2px 5px rgba(0, 0, 0, 0.1), 0px 8px 10px rgba(0, 0, 0, 0.1);
    }

    div.messageclose {
        position: absolute;
        right: 10px;
        top: 5px;
        font-weight: bold;
        font-size: 14px;
    }

    div.gameserieheader {
        overflow: hidden;
        height: 22px;
    }

    div.gameseriemarker {
        line-height: 22px;
        min-width: 150px;
        color: white;
        background-color: gray;
        border-radius: 15px;
        margin: auto;
        padding-top: 30px;
        transform: translateY(-30px);
        width: fit-content;
        padding-left: 20px;
        padding-right: 20px;
    }

    div.gamepartmarker_1 {
        line-height: 22px;
        min-width: 100px;
        color: #202020;
        border: 1px solid gray;
        border-radius: 15px;
        margin: auto;
        margin-top: 2px;
        width: fit-content;
        padding-left: 20px;
        padding-right: 20px;
        background-color: #e0e0e0;
    }

    div.gamepartmarker_2 {
        line-height: 22px;
        min-width: 100px;
        color: gray;
        border: 1px solid lightgray;
        border-radius: 15px;
        margin: auto;
        margin-top: 2px;
        width: fit-content;
        padding-left: 20px;
        padding-right: 20px;
    }

    div.gamescorecont {
        min-width: 55%;
        text-align: right;
        float: left
    }

    div.gamescore {
        float: right;
        width: 100%;
        max-width: 55px;
        height: 22px;
        margin: 2px
    }

    div.gamepart {
        margin-top: 5px;
        border-bottom: 1px solid silver;
    }

    div.connectButton {
        top: 3px;
        left: 3px;
        width: 4px;
        height: 4px;        
        background: rgb(219, 110, 110);
        border-radius: 8px;
        position: fixed;
    }

    div.language {
        //float: right;
        position: absolute;
        right: 10px;
        top: 2px;
    }

    img.language_selected {
        height: 16px;
        border: 1px solid white;
    }

    img.language_selectable {
        height: 16px;
        opacity: 0.5;
        border: 1px solid white;
    }

    .gamescrollpanel::-webkit-scrollbar {
        display: none;
    }

    /* Hide scrollbar for IE, Edge and Firefox */
    .gamescrollpanel {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
        width: 100%;
        overflow-x: scroll;
        overflow-y: hidden;
    }

    .autocomplete {
        position: relative;
        display: inline-block;
    }

    .autocomplete-items {
        position: absolute;
        border: 1px solid #d4d4d4;
        border-bottom: none;
        border-top: none;
        z-index: 99;
        top: 100%;
        left: 0;
        right: 0;
    }

        .autocomplete-items div {
            padding: 10px;
            cursor: pointer;
            background-color: #fff;
            border-bottom: 1px solid #d4d4d4;
        }

            .autocomplete-items div:hover {
                background-color: #e9e9e9;
            }

    .autocomplete-active {
        background-color: DodgerBlue !important;
        color: #ffffff;
    }

    div.TotalStatsPanel {
        margin: auto;
        width: 800px;
        max-width: 90%;
        border: 1px solid gray;
        border-radius: 10px;
        padding: 10px;
    }

    div.TotalStatsLine {
        width: 100%;
    }

    div.TotalStatsLineTitle {
        float: left;
    }

    div.TotalStatsLineNumber {
        float: right;
    }

    div.Ranking {
        float: left;
        width: 26px;
        text-align: right;
        margin-right: 5px;
    }

    div.ShowMore {
        width: 100%;
        height: 10px;
        margin-top: 5px;
        background: url('/images/more.gif') no-repeat center center;
        background-size: 16px 10px;
    }

    div.ChartInline {
    }

    div.ChartZoom {
        position: fixed;
        background: white;
        width: calc(100% - 20px);
        left: 10px;
        top: 50px;
        border: solid 1px black;
        border-radius: 10px;
        box-shadow: 1px 1px 10px 0px rgba(255,255,255,0.1) inset, -1px -1px 1px 0px rgba(0,0,0,0.25) inset, 0px 0px 10px gray, 0px 0px 0px rgba(0, 0, 0, 0.25);
    }

    .SiteLink {
        color: gray;
        font-size: 14px;
    }

@media (max-width: 500px) {
    div.MatchHeader {
        width: 100%;
        text-align: center;
    }

    div.MatchResults {
        width: 100%;
        text-align: left;
    }
}

@media (min-width: 501px) {
    div.MatchHeader {
        width: 40%;
        float: left;
        text-align: left;
    }

    div.MatchResults {
        width: 60%;
        float: left;
        text-align: left;
    }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}



