.title-bar{
    background-image: url(/img/title/preseason-repeat.svg), linear-gradient(rgb(0,0,0) 0%, rgb(51,51,51) 100%);
    background-repeat: repeat, repeat;
    background-position: left top, left bottom;
    background-size: 26px, 100%;
}
.head-title h3 {
    display: block;
    margin-bottom: 5px;
}

#position-navbar .nav {
    display: flex;
}
#position-navbar .nav li {
    margin: 0;
    display: flex;
    flex-grow: 1;
    width: 10%;
    background: transparent;
}

.content-box .title {
    display: flex;
    padding: 0 15px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #707070;
}

.content-box .title h4,
.content-box .title h2 {
    height: 46px;
    line-height: 46px;
}

.content-box .title h2 {
    color: #043173;
    font-size: 25px;
    margin-bottom: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.content-box .title .action-buttons {
    display: flex;
}

.content-box .title .action-buttons a {
    color: #333333;
    font-family: 'endzone', sans-serif;
    font-size: 16px;
    font-weight: 100;
    margin: 0 20px 0 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.content-box .title .action-buttons a img {
    width: 20px; height: auto;
}

.table {
    width: 100%;
}
.table th {
    background: #043173;
    color: white;
    font-size: 14px;
}
.table tr:nth-child(even) td {
    background: rgba(0,0,0,.05);
}
.table td {
    border-bottom: 1px solid #C8C8C8;
    font-size: 14px;
}
.table td img {
    height: 50px;
}
.table tr td:nth-child(1) a {
    color: #333;
    font-family: 'endzone',sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 18px;
    padding: 2px 0;
}
.table tr td:nth-child(1) a span.position {
    color: #B2B2B2;
    display: inline-block;
    font-family: proxima-nova, sans-serif;
    font-size: 14px;
    padding-left: 5px;
}
.table tr td, .table tr th {
    border-right: 1px solid #C8C8C8;
}

.table tr.header-group th {
    padding: 12px 10px 12px;
}

.table tr.column-sorters th:nth-child(1) {
    padding: 4px 10px 4px 10px;
}
.table tr.column-sorters th a {
    color: white;
    padding: 4px 5px 4px 5px;
}

.table tr.column-sorters th a .tooltip-trigger {
    display: none;
}

.table tr td:last-child, .table tr th:last-child {
    border-right: none;
}
.position-number {
    padding: 0 0 0 10px;
}

td, th {
    padding: 0;
}

th {
    white-space: nowrap;
}
.table tr td:nth-child(1) {
    padding: 0;
}
.header-group th {
    background: #FFFFFF;
    color: #333333;
    font-family: 'endzone', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 20px;
    font-weight: 100;
    line-height: 1.2em;
}
.table tr td {
    text-align: center; 
    color: #333333;
    font-size: 14px;
    line-height: 1.2em;
}
.table tr td:last-child {
    font-weight: 900;
    color: #043173;
    font-size: 16px;
}
.table tr:nth-child(even) td {
    background: #F2F6FF;  
}
.table tr th a {
    display: block; 
    line-height: 1em;
    text-align: center;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.team-icon-player-name-actions .logo-position-player {
    display: flex; 
    vertical-align: middle;
    align-content: stretch;
    position: relative;
}
.team-icon-player-name-actions .logo-position-player .actions img {
    width: 18px; 
    min-width: 18px;
    height: auto;
}
.team-icon-player-name-actions .logo-position-player .position-number {
    width: 46px; 
    min-width: 46px;
    height: 46px; 
    background: #EBEBEB; 
    display: flex; 
    text-align: center;
    padding: 0;
    align-items: center;
    justify-content: center;
}
.team-icon-player-name-actions .logo-position-player .team-logo {
    height: 46px; 
    display: flex;
    max-width: none;
    object-fit: cover;
}
.team-icon-player-name-actions .logo-position-player .actions {
    display: flex; align-items: center;
    margin: 0 0 0 auto;
    padding: 0 10px 0 0;
}
.team-icon-player-name-actions .logo-position-player .actions a {
    padding: 0 4px;
}
.team-icon-player-name-actions .logo-position-player .actions i.fas {
    font-size: .9rem;
}
.team-icon-player-name-actions .logo-position-player .player-name-position,
.team-icon-player-name-actions .logo-position-player .player-name-team {
    display: flex; 
    white-space: nowrap; 
    align-items: center;
    padding: 0 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

th img {
    max-width: none;
}


#app th a.asc,
#app th a.desc {
    display: block;
    padding-right: 18px;
    position: relative;
}

#app th a[data-sort]::after {
    display: none;
    position: absolute;
    top: 50%;
    right: 5px;
    margin: 0;
    transform: translate3d(0,-50%,0);
}

#app th a.asc[data-sort]::after,
#app th a.desc[data-sort]::after {
    display: block;
}

.table-rb th, .table-rb td {
    padding: 10px 5px;
}


.weekly-rankings-table-container,
.rest-of-way-table-container {
    overflow: hidden;
    overflow-x: scroll;
}


.weekly-rankings-table-container-clone,
.rest-of-way-table-container-clone {
    overflow: hidden;
    top: 0;
    left: 0.75rem;
    right: 0.75rem;
    position: fixed;
    height: 36px;
    z-index: 5;
    opacity: 0;
    will-change: opacity;
    transition: opacity 100ms linear;
}

.weekly-rankings-table-container-clone.pinned,
.rest-of-way-table-container-clone.pinned {
    opacity: 1;
}


.weekly-rankings-table-container-clone thead tr.header-group,
.rest-of-way-table-container-clone thead tr.header-group {
    display: none;
}


.inline-block-nav .nav-pills a {
    line-height: 1.1em;
}

.table thead tr.header-group th:nth-child(1),
.table thead tr.column-sorters th:nth-child(1) {
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 4;
    box-shadow: rgba(0,0,0,0.1) 4px 2px 3px;
    transform: translate3d(0, 0, 0);
}

.table tbody tr td:nth-child(1) {
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 4;
    box-shadow: #C8C8C8 -1px 0 1px inset;
    transform: translate3d(0, 0, 0);
    background: #ececec;
}



.team-icon-player-name-actions .player-name-position, .team-icon-player-name-actions .player-name-team {
    text-align: left;
}



@media only screen and (max-width: 1400px) {

    /* Hiding Columns for Smaller Screens */

    /* Hiding Headers for Table */
    th.projected-passing, th.proj-rushing, th.projected-rushing, th.projected-receiving, th.field-goals, th.defensive-projections, th.defensive-stats {
        /*display: none;*/
    }

    /* Hiding Table Cells */
    .pass-att, .pass-comp, .pass-yds, .pass-td, .int, .rush-yds, .rush-tds, .rush-atts, .fumbles, .trg, .rec, .rec-yds, .rec-tds, .xps, .fgs-30, .fgs-30-39, .fgs-40-49, .fgs-50, .sacks, .ints, .fum-rec, .defensive-tds, .special-teams-tds, .tackles, .assists, .sacks, .passes-defended, .forced-fumbles, .fumbles-recovered, .tds {
        /*display: none;*/
    }
}


@media only screen and (max-width: 1200px) {
    .profile-tips .profile {
        padding: 15px;
    }
    .player-team-stats, .profile-tips {
        width: 50%;
    }
    .grouped-attributes .attributes {
        flex-wrap: wrap;
    }
    .stats-header .position-number {
        height: 52px;
        width: auto;
        min-width: 42px;
    }
    .stats-header .team-logo, .stats-header {
        height: 52px;
    }
    .stats-header .player-name-team {
        height: auto;
        font-size: 20px;
        padding: 0 5px;
    }
    .profile-header {
        height: 52px;
        line-height: 52px;
        padding: 0 0 0 15px;
    }
    .player-profile header {
        font-size: 20px;
    }
    .stats {
        padding: 15px;
    }
    .stats-header .team {
        font-size: 14px;
    }
}

@media only screen and (max-width: 992px) {

    .projected-games {
        display: none;
    }
    #player-modal .modal-body header .btn-close {
        position: absolute;
        top: 15px;
        right: 10px;
        font-size: 20px;
    }
    .table th {
        white-space: normal;
    }

}

@media only screen and (max-width: 768px) {

    th.bye, .bye-week {
        display: none;
    }
    #projection-modal footer {
        display: block !important;
        text-align: center;
    }
    #player-modal .modal-body header .btn-close {
        position: absolute;
        top: 10px;
        right: 15px;
    }

}

@media only screen and (max-width: 767px) {

    #header .container,
    #app .container {
        max-width: 700px;
    }

    th.adp, .adp {
        display: none;
    }

    .team-icon-player-name-actions .logo-position-player .player-name-position, 
    .team-icon-player-name-actions .logo-position-player .player-name-team {
        white-space: normal;
    }

    .team-icon-player-name-actions .logo-position-player .actions, .content-box .title .action-buttons {
        display: none;
    }

    .player-profile {
        display: block;
    }
    .player-team-stats, .profile-tips {
        width: 100%;
    }



    th {
        white-space: normal;
    }

    .team-logo {
        filter: brightness(40%);
    }

    .team-icon-player-name-actions .logo-position-player .position-number {
        position: absolute;
        background: none;
        left: 10px;
        top: 0px;
        color: white;
        font-size: 18px;
        font-weight: 700;
    }

    .team-icon-player-name-actions .logo-position-player .position-number:before {
        content: "#";
    }

    .btn-group .btn {
        width: auto;
        padding: 5px 10px;
        height: auto;
    }

    .team-icon-player-name-actions .logo-position-player .team-logo {
        height: 55px;
        max-width: 45px;
    }
    .team-icon-player-name-actions .logo-position-player .position-number {
        left: 0;
        width: 45px;
        min-width: 45px;
        height: 100%;
        font-size: 14px;
    }

    .team-icon-player-name-actions {
        min-width: 40vw;
        max-width: 40vw;
    }


}

@media only screen and (max-width: 560px) {

    .weekly-rankings .title-bar,
    .rest-of-way .title-bar {
        padding: 20px 20px 75px;
    } 

    .mobile-select-position {
        margin-top: -57px;
    }

    #position-navbar {
        display: none;
    }


    .team-icon-player-name-actions .team-logo {
        width: 40px;
        object-fit: cover;
        max-width: none;
    }

    .team-icon-player-name-actions .logo-position-player .position-number {
        left: 0;
        width: 40px;
        min-width: 0;
        text-align: left;
        font-size: 16px;
    }

    .table tr td:nth-child(1) a {
        font-size: 16px;
        line-height: 1.1;
    }

    .table tr td:nth-child(1) a span.position {
        display: block;
        padding-left: 0;
    }

    .btn-group .btn {
        width: auto;
        padding: 0 10px;
        font-size: 14px;
        height: auto;
    }

}