﻿body {
    background:  url("../fantasy_images/raidersportrait.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: 'Raiders', 'Jockey One', Cambria;
    font-size: 20px;
    letter-spacing: 1px;
    margin: 0px;
    color: black;
    letter-spacing: 0px;
}

@font-face {
    font-family: 'Raiders';
    src: url("../Raiders.ttf") format('truetype');
}

@font-face {
    font-family: 'Traveling Typewriter';
    src: url("../TravelingTypewriter.ttf") format('truetype');
}

@font-face {
    font-family: 'Old Newspaper';
    src: url("../OldNewspaperTypes.ttf") format('truetype');
}

#container {
    background-color: black;
    width: 768px;
    margin: 0 auto;
    border-left: 1px solid white;
    border-right: 1px solid white;
}

#banner {
    background-image: url("../fantasy_images/oaklandraiders.jpg"); 
    background-size: contain;
    height: 400px;
}

.rulebox-container {
    display: none;
}

.rulebox-content {
    background-color: black;
    color: white;
    width: 450px;
    height: 400px;
    border: 5px solid gray;
    text-align: left;
    padding: 20px 40px 20px 40px;
    position: fixed;
    z-index: 5;
    top: 0; left: 0; bottom: 0; right: 0;               /* ABSOLUTE CENTER, NEEDS TO BE USED IN CONJUNCTION WITH MARGIN: AUTO!!!! */
    margin: auto;                                           
}

    .rulebox-content p {
        margin: 0px;
        padding:0px;
    }

#close {
    color: white;
    background: gray;
    text-align: center;
    /*padding: 10px;*/
    margin: 20px auto;
    width: 80px;
    padding: 5px;
    display: block;                                     /* IMPORTANT! <a> tags are inline by default */
}

#close:hover {
    opacity: .8;
    border: 1px solid white;
}

h2 {
    margin-left: 70px;
}

/* ================================ NAV BAR =================================== */


#navbar {
    height: 50px;
    background-color: gray;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

    #navbar img {
        float: left;
    }

    #navbar .main {
        margin: 0px;
        padding: 0px;
        width: 100%;
        height: 50px;
        line-height: 50px;
        background-color: gray;
        float: right;
        display: block;
        width: 20%;
        text-align: center;
        text-decoration: none;
        position: relative;
    }

    #navbar .main:hover {
        background: black;
        color: white;
    }


/* ================================ SIGN-IN =================================== */


.drop-content {
    display: none;
    background-color:black;
    padding: 0px;
    /*margin-top: 51px;             needed to offset dropdown  */
}

#login-dropdown {
    padding: 10px;
    position: absolute;
    right: 0px;
    z-index: 1;
    width: 132px;
    border: 1px solid white;
}

.drop-content p {
    margin-top: 0px;
    margin-bottom: 0px;
}

.drop-content input[name="login-box"] {         /******  INPUT BOXES ARE REFERENCED TO BY 'NAME' ATTRIBUTE, NOT ID **/
    display: block;
    margin: 0px auto;
    padding: 0px;
}

#standings {
    border: none;
    position: relative;
}

#standings-dropdown ul {
    margin: 0px;
    position: absolute;
}

#standings-dropdown ul li {
    display: block;
    padding: 0px 3px 0px 3px;
    background-color: black;
    border: 1px solid white;
    z-index: 1;
    width:100px;
}

.show {                                         /****  THIS NEEDS TO BE AT THE END FOR DROPDOWNS TO WORK */
    display: block;
}


/* ================================ PLAYERS =================================== */


#navbar::after {
    clear: both;
    content: "";
    display: block;
}

.class::after {
    clear: both;
    content: "";
    display: block;
}

a img {
    clear: both;
    content: "";
    display: block;
}

#topRegion {
        margin:0px;
        padding:0px;
}

#topRegion::after {
    clear: both;
    content: "";
    display: block;
}

/* ================================ TABLES =================================== */

.tablink img {
    border-radius: 3px;
}

input[name="submit"] {                     /******  INPUT BOXES ARE REFERENCED TO IN CSS BY 'NAME' ATTRIBUTE, NOT ID !!!!!! **/
    display:block;                         /******  NO SPACE between "input" and brackets[] on css line "input[type="submit"]" */
    margin: auto;
    border:none;
    padding: 5px 20px 5px 20px;
    color: yellow;
    font-family: 'Jockey One';
    background: #16c60c;
    font-size: 20px;
}

input[type="submit"]:hover {
    opacity:.8;
    border: 1px solid yellow;
}

.team1, .team2, .history {
    margin:auto;
    margin-top: 10px;
    width: 600px;
    border-collapse: collapse;
    font-family: "Jockey One",Cambria;
    font-size: 15px;
    letter-spacing: 1px;
}

    .history td {
        border: 1px solid #ddd;
        padding: 5px;
        font-size: small;
        text-align: center;
    }

    .team1 tr:nth-child(even), .team2 tr:nth-child(even), .history tr:nth-child(even) {
        background-color: #3d3837;
    }

    .team1 th, .team2 th, .history th {
        padding: 5px;
        text-align: left;
        border: 1px solid #ddd;
        color: white;
        background: linear-gradient(gray,black);
        text-align: center;
    }

    .team1 td, .team2 td {
        border: 1px solid #ddd;
    }

    .position, .action {
        width:100px;
        text-align: center;
    }

    .name {
        width:400px;
        padding: 5px;
        text-align:left;
    }

    .tab-content p {
        color: #A7ADBA;
        text-align: right;
        margin-right: 80px;
        margin-bottom: 30px;
    }

#tab-menu {
    background: black;
}

#tab-menu ul li {
    float: left;
    text-decoration: none;
    display: block;
    padding: 5px 10px 0px 10px;
    background-color: black;
    border: 1px solid white;
    border-bottom: none;
    z-index: 1;
    border-radius: 10px 10px 0px 0px;
}

#tab-menu ul li:hover {
    cursor: pointer;
}

#tab-menu:after {
    clear: both;
    content: "";
    display: block;
}

.tab-content {
    background-color: black;
    color: white;
    margin: 0px;
    padding: 10px;
    border-top: 1px solid white;
    margin-top: -1px;
    height: 1500px;
}

.tab-content ul li {
    display: inline-block;
    margin: 10px;
    box-shadow: 5px 5px 5px gray;
    /* background: #b50e0e; */
    background: gray;
    border: 2px solid white;
    padding: 5px;
    color: black;
    /* color: rgb(255, 188, 31); */
    font-size: 15px;
}

.tab-content ul {
    display:block;
    text-align:center;
}

.active {
    background-color: green;
}

#concepts {
    background-image: url("../fantasy_images/wall.jpg"); 
    margin: auto;
    margin-top: 100px;
    width: 80%;
    height: auto;
    padding: 5px 5px 5px 5px;
    box-shadow: 2px 2px 5px 10px white;
    color: black;
    font-family: "Raiders","Jockey One";
    letter-spacing: 0px;
    text-shadow: 1px 1px white;
}

#concepts p {
    text-align: left;
    margin-left:10px;
    text-shadow: none;
}

.flex_container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.checkbox {
    width: 40px;
    padding: 3px 3px 3px 10px;
}

.description {
    flex-grow: 100; 
    padding: 2px 10px 3px 10px;
}

button[name="clear-storage"] {
    display:block;                                  /******  NO SPACE between "input" and brackets[] on css line "input[type="submit"]" */
    margin: 200px auto;
    border:none;
    padding: 5px 20px 5px 20px;
    color: yellow;
    font-family: 'Jockey One';
    background-color: red;
    font-size: 20px;
}

button[name="clear-storage"]:hover {
    opacity:.8;
    border: 1px solid rgb(255,188,31);
}