@font-face {
    font-family: 'OpenSansWeb';
    src: url('../fonts/OpenSans-Regular.woff2') format('woff2'), url('../fonts/OpenSans-Regular.woff') format('woff');
}

*, body {
    font-family: OpenSansWeb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background-color: #000;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-bottom: 80px;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
}

.content_box1{
    padding: 10px;
    text-align: left;
}

.main-box {
    width: 100%;
    margin: 80px auto;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    text-align: center;
}

.box-form {
    max-width: 80%;
    margin: 10px auto 10px auto;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
}

.login-form img {
    max-width: 100%;
    margin-bottom: 10px;
}

.form-control {
    margin: 5px 0px 10px 0px;
}

.input-group span {
    padding-top: 10px;
}

nav > .nav.nav-tabs {
    border: none;
    color: #fff;
    background: #272e38;
    border-radius: 0;
}

nav > div a.nav-item.nav-link,
nav > div a.nav-item.nav-link.active {
    border: none;
    padding: 18px 25px;
    color: #fff;
    background: #272e38;
    border-radius: 0;
}

.tab-content {
    background: #fdfdfd;
    line-height: 25px;
    border: 1px solid #ddd;
    border-top: 5px solid #e74c3c;
    border-bottom: 5px solid #e74c3c;
    padding: 30px 25px;
}

#nav-topplayers button {
    margin: 5px;
}

nav > div a.nav-item.nav-link:hover,
nav > div a.nav-item.nav-link:focus {
    border: none;
    background: #e74c3c;
    color: #fff;
    border-radius: 0;
    transition: background 0.20s linear;
}

td, th {
    text-align: center;
}

/* ---- Mobile improvements ---- */
img { max-width: 100%; height: auto; }

.tab-content { overflow-x: auto; }   /* wide tables (Top Players etc.) scroll instead of breaking the page */

@media (max-width: 768px) {
    body { margin-bottom: 0; }

    .main-box {
        margin: 10px auto;
        border-radius: 0;
    }

    .box-form {
        max-width: 100%;
        padding: 15px;
    }

    /* menu: wrap into rows of three instead of overflowing */
    nav > div a.nav-item.nav-link,
    nav > div a.nav-item.nav-link.active {
        flex: 1 1 33%;
        padding: 12px 8px;
        font-size: 14px;
        text-align: center;
    }

    .tab-content { padding: 15px 12px; }

    footer {
        position: static;
        height: auto;
        padding: 15px;
    }
}