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

/* =========================================================
 *  GLOBAL / MOBILE FIRST
 *  ========================================================= */

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

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

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0 0 80px 0;

    font-family: 'OpenSansWeb', Arial, sans-serif;

    background-image: url('https://wallpaperaccess.com/full/3872532.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;

    overflow-x: hidden;
}


/* =========================================================
 *  FOOTER
 *  ========================================================= */

footer {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    min-height: 60px;

    padding: 20px;

    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;

    text-align: center;
}


/* =========================================================
 *  MAIN CONTAINER
 *  ========================================================= */

.main-box {
    width: 100%;
    max-width: 980px;

    margin: 20px auto;

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

    border-radius: 5px;

    text-align: center;

    overflow: hidden;
}


/* =========================================================
 *  GENERAL CONTENT
 *  ========================================================= */

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


/* =========================================================
 *  FORM CONTAINER
 *  ========================================================= */

.box-form {
    width: 90%;
    max-width: 800px;

    margin: 10px auto;
    padding: 25px;

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

    border-radius: 5px;
}


/* =========================================================
 *  ASHBRINGER LOGO
 *  ========================================================= */

img[src*="wow-logo.png"] {
    display: block;

    width: min(600px, 90%);

    max-width: 90%;
    height: auto;

    margin: 15px auto;
}

/* =========================================================
 *  FINAL TAB FIX
 *  ========================================================= */

/* Reset the entire tab navigation */
nav .nav-tabs,
nav .nav-tabs .nav-item,
nav .nav-tabs .nav-link {
    box-sizing: border-box !important;
}


/* Kill ANY pseudo-element that could be creating the
 *  shortened red line */
nav .nav-tabs::before,
nav .nav-tabs::after,
nav .nav-tabs .nav-item::before,
nav .nav-tabs .nav-item::after,
nav .nav-tabs .nav-link::before,
nav .nav-tabs .nav-link::after {
    display: none !important;
    visibility: hidden !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    background: none !important;
}


/* Tab container */
nav .nav-tabs {
    display: flex !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    background: #272e38 !important;
}


/* Individual tab container */
nav .nav-tabs .nav-item {
    display: block !important;

    flex: 1 1 50% !important;

    width: 50% !important;
    max-width: 50% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}


/* Tab */
nav .nav-tabs .nav-link {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 16px 10px !important;

    border: 0 !important;
    border-radius: 0 !important;

    color: #d0d0d0 !important;
    background: #272e38 !important;

    text-align: center !important;

    box-shadow: none !important;
    outline: none !important;
}


/* Active tab */
nav .nav-tabs .nav-link.active {
    color: #fff !important;
    background: #1e242c !important;

    border: 0 !important;
    border-bottom: 4px solid #e74c3c !important;

    border-radius: 0 !important;

    box-shadow: none !important;
}


/* Inactive tab */
nav .nav-tabs .nav-link:not(.active) {
    color: #d0d0d0 !important;
    background: #272e38 !important;

    border: 0 !important;
}


/* Hover */
nav .nav-tabs .nav-link:not(.active):hover {
    color: #fff !important;
    background: #343c48 !important;

    border: 0 !important;
}


/* Focus */
nav .nav-tabs .nav-link:focus,
nav .nav-tabs .nav-link:active {
    outline: none !important;
    box-shadow: none !important;
}


/* Make absolutely sure the content doesn't add another line */
.tab-content {
    border-top: 0 !important;
}


/* =========================================================
 *  TAB CONTENT
 *  ========================================================= */

.tab-content {
    width: 100%;

    background: rgba(0, 0, 0, 0.92);

    color: #fff;

    line-height: 25px;

    border: none;
    border-bottom: 4px solid #e74c3c;

    padding: 30px 25px;
}


/* Currently selected tab */
nav > div a.nav-item.nav-link.active {
    color: #fff;
    background: #1c222a;
}


/* Red indicator ONLY under the selected tab */
nav > div a.nav-item.nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 4px;

    background: #e74c3c;
}


/* Hovering an inactive tab */
nav > div a.nav-item.nav-link:not(.active):hover,
nav > div a.nav-item.nav-link:not(.active):focus {
    color: #fff;
    background: #343c48;
}


/* Don't show the red indicator on inactive tabs */
nav > div a.nav-item.nav-link:not(.active)::after {
    display: none;
}

/* =========================================================
 *  TAB CONTENT
 *  ========================================================= */

.tab-content {
    width: 100%;

    background: rgba(0, 0, 0, 0.92);

    color: #fff;

    line-height: 25px;

    border: 1px solid #333;

    border-top: 5px solid #e74c3c;
    border-bottom: 5px solid #e74c3c;

    padding: 30px 25px;

    overflow: hidden;
}


/* =========================================================
 *  FORM ELEMENTS
 *  ========================================================= */

.form-control {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 5px 0 10px 0;

    padding: 10px 12px;

    border-radius: 3px;
}

.tab-content label,
.box-form label {
    display: block;

    color: #fff;

    text-align: left;
}

.tab-content .form-control,
.box-form .form-control {
    width: 100%;
    max-width: 100%;

    background-color: #fff;
    color: #222;

    border: 1px solid #777;
}

.tab-content .form-control::placeholder,
.box-form .form-control::placeholder {
    color: #777;
}

.tab-content .form-control:focus,
.box-form .form-control:focus {
    border-color: #e74c3c;

    box-shadow: 0 0 5px rgba(231, 76, 60, 0.5);

    outline: none;
}

.input-group {
    width: 100%;
    max-width: 100%;
}

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


/* =========================================================
 *  BUTTONS
 *  ========================================================= */

button,
.btn {
    min-height: 44px;

    padding: 10px 18px;

    border-radius: 4px;
}

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


/* =========================================================
 *  TABLES
 *  ========================================================= */

table {
    width: 100%;
    max-width: 100%;
}

td,
th {
    text-align: center;
}


/* =========================================================
 *  LINKS
 *  ========================================================= */

.tab-content a {
    color: #e74c3c;
}

.tab-content a:hover {
    color: #ff7668;
}


/* =========================================================
 *  TABLET
 *  ========================================================= */

@media (min-width: 576px) {

    .main-box {
        width: 95%;
        margin: 30px auto;
    }

    img[src*="wow-logo.png"] {
        width: min(600px, 90%);
    }

    .box-form {
        width: 90%;
    }
}


/* =========================================================
 *  DESKTOP
 *  ========================================================= */

@media (min-width: 992px) {

    .main-box {
        width: 980px;
        max-width: 95%;

        margin: 40px auto;
    }

    .box-form {
        width: 90%;
        max-width: 800px;
    }

    img[src*="wow-logo.png"] {
        width: 600px;
        max-width: 90%;
    }

    .tab-content {
        padding: 30px 25px;
    }
}


/* =========================================================
 *  MOBILE PHONES
 *  ========================================================= */

@media (max-width: 575px) {

    body {
        min-height: 100vh;

        background-attachment: scroll;
        background-size: cover;

        padding-bottom: 70px;
    }

    .main-box {
        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        border-radius: 0;
    }

    /* Logo */
    img[src*="wow-logo.png"] {
        width: 92%;
        max-width: 500px;

        margin: 10px auto;
    }

    /* Navigation */
    nav > div a.nav-item.nav-link,
    nav > div a.nav-item.nav-link.active {
        padding: 14px 5px;

        font-size: 15px;
    }

    /* Form area */
    .tab-content {
        padding: 20px 15px;
    }

    .box-form {
        width: 100%;
        max-width: 100%;

        margin: 0 auto;
        padding: 15px;

        border-radius: 0;
    }

    /* Inputs */
    .form-control {
        min-height: 44px;

        font-size: 16px;
    }

    /* Prevent iOS from zooming when focusing inputs */
    input,
    select,
    textarea {
        font-size: 16px;
    }

    /* Buttons */
    button,
    .btn {
        min-height: 44px;

        padding: 10px 18px;

        font-size: 16px;
    }

    /* Tables can scroll instead of breaking the page */
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Footer */
    footer {
        position: relative;

        min-height: 60px;

        padding: 15px 10px;
    }
}


/* =========================================================
 *  VERY SMALL PHONES
 *  ========================================================= */

@media (max-width: 375px) {

    img[src*="wow-logo.png"] {
        width: 94%;
    }

    nav > div a.nav-item.nav-link,
    nav > div a.nav-item.nav-link.active {
        padding: 12px 3px;

        font-size: 14px;
    }

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

    .box-form {
        padding: 10px;
    }
}


/* =========================================================
 *  LANDSCAPE PHONES
 *  ========================================================= */

@media (max-width: 767px) and (orientation: landscape) {

    .main-box {
        margin-top: 10px;
    }

    img[src*="wow-logo.png"] {
        width: min(500px, 75%);
    }

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


/* =========================================================
 *  ACCESSIBILITY / TOUCH
 *  ========================================================= */

@media (hover: none) and (pointer: coarse) {

    nav > div a.nav-item.nav-link:hover {
        background: #272e38;
    }

    button,
    .btn,
    a.nav-link {
        -webkit-tap-highlight-color: transparent;
    }
}

/* =========================================================
 *  ASHBRINGER TAB OVERRIDE
 *  Bootstrap reset
 *  ========================================================= */

nav > .nav.nav-tabs {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-bottom: 0 !important;

    background: #272e38 !important;
}


/* All tabs */
nav > .nav.nav-tabs > .nav-item,
nav > .nav.nav-tabs > a.nav-link,
nav > .nav.nav-tabs > .nav-item > a.nav-link {
    position: relative !important;

    flex: 1 1 50% !important;

    margin: 0 !important;
    padding: 16px 10px !important;

    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;

    border-radius: 0 !important;

    color: #d0d0d0 !important;
    background: #272e38 !important;

    text-align: center !important;

    box-shadow: none !important;
    outline: none !important;
}


/* Active tab */
nav > .nav.nav-tabs > .nav-item > a.nav-link.active,
nav > .nav.nav-tabs > a.nav-link.active,
nav > .nav.nav-tabs > .nav-item > a.nav-link[aria-selected="true"] {
    color: #fff !important;

    background: #1e242c !important;

    border: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    outline: none !important;
}


/* Active red indicator */
nav > .nav.nav-tabs > .nav-item > a.nav-link.active::after,
nav > .nav.nav-tabs > a.nav-link.active::after {
    content: "" !important;

    position: absolute !important;

    left: 20% !important;
    right: 20% !important;
    bottom: 0 !important;

    width: auto !important;
    height: 3px !important;

    background: #e74c3c !important;

    border: 0 !important;
}


/* Inactive tabs */
nav > .nav.nav-tabs > .nav-item > a.nav-link:not(.active),
nav > .nav.nav-tabs > a.nav-link:not(.active) {
    border: 0 !important;
    border-bottom: 0 !important;

    background: #272e38 !important;

    box-shadow: none !important;
}


/* Hover */
nav > .nav.nav-tabs > .nav-item > a.nav-link:not(.active):hover,
nav > .nav.nav-tabs > a.nav-link:not(.active):hover {
    color: #fff !important;
    background: #343c48 !important;

    border: 0 !important;
    border-bottom: 0 !important;
}


/* Remove Bootstrap focus outline */
nav > .nav.nav-tabs a.nav-link:focus {
    outline: none !important;

    border: 0 !important;
    box-shadow: none !important;
}


/* =========================================================
 *  CONTENT - NO RED TOP BORDER
 *  ========================================================= */

.tab-content {
    background: rgba(0, 0, 0, 0.92) !important;

    color: #fff !important;

    border: 0 !important;
    border-top: 0 !important;

    /* Keep only a red line at the very bottom */
    border-bottom: 4px solid #e74c3c !important;

    padding: 30px 25px;
}
