/* This stylesheet follows Bootstrap's standards of putting styles for smallest
screens first and making specific styles as screen sizes increase */
.header-title-buttons {
    display: flex;
    align-items: center;
}
.header-title-buttons > div {
    display: flex;
}
.header-title-buttons .buttons {
    justify-content: flex-end;
}
.video-tutorial-link.btn {
    background: transparent;
    padding: 0 0 0 10px;
    white-space: nowrap;
}
.video-tutorial-link.btn a {
    color: #ffffff;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
}
.video-tutorial-link.btn a img {
    width: 35px;
    height: 35px;
}

@media only screen and (max-width: 992px) {
    .title-bar .heading {
        font-size: 32px;
        line-height: 1em;
    }
}

@media only screen and (max-width: 599px) {
    .video-tutorial-link.btn {
        padding: 0;
    }
    .video-tutorial-link.btn img {
        margin: 0;
    }
    .video-tutorial-link.btn a {
        font-size: 0;
    }
}
.print-btn {
    display: none;
}
.btn-group .radio-label {
    border-radius: 5px;
    font-size: 18px;
    margin-right: 5px;
}
.btn-group .radio-label.active {
    color: #fff;
    font-weight: bold;
}
select {
    background-color: #fff;
    border: 2px solid #ddd;
    padding: 5px;
}
#position-navbar {
    display: none;
}

.title h1 {
    margin-bottom: 0;
    font-size: 1.5rem;
}
.underdash {
    line-height: 1.2rem;
}
/* Force table to not be like tables on smallest screens */
table,
thead,
tbody,
th,
td,
tr {
    display: block;
    background: none;
}
/* Hide table headers (but not display: none;, for accessibility) */
thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
}
tr {
    border: 1px solid #ccc;
}
/* Cells behave  like a "row" */
td:not([colspan]) {
    border: none;
    border-bottom: 1px solid #c8c8c8;
    font-size: 14px;
    min-height: 40px;
    position: relative;
    padding-left: 28%;
    text-align: left;
    padding-top: 5px;
    padding-bottom: 5px;
}
td:not([colspan]):before {
    position: absolute;
    left: 15px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    font-weight: 700;
}
.position-number {
    position: absolute;
    background: none;
    left: 22px;
    top: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    width: 46px;
    min-width: 46px;
    height: 46px;
    display: flex;
    text-align: center;
    padding: 0;
    align-items: center;
    justify-content: center;
}
.position-number:before {
    content: '#';
}

td.team {
    padding: 0 15px 0 15px;
    display: inline-block;
    border-bottom: 0;
    vertical-align: middle;
}
td.team:before {
    content: '';
}
td.team .team-logo {
    filter: brightness(40%);
    height: 46px;
    display: flex;
    width: 68px;
    object-fit: cover;
}
td.rank {
    display: none;
}
td.player {
    display: inline-block;
    padding: 12px 0 8px;
    border-bottom: 0;
}
td.player .name {
    color: #333;
    font-family: 'endzone', sans-serif;
    font-size: 18px;
    padding-left: 5px;
}
td.player span:not(:first-of-type) {
    color: #b2b2b2;
    font-family: proxima-nova, sans-serif;
    font-size: 14px;
}
td.adp {
    border-top: 1px solid #c8c8c8;
}
td.adp:before {
    content: 'ADP';
}

td.bye:before {
    content: 'Bye';
}
td.age:before {
    content: 'Age';
}
td.one-yr:before {
    content: '1 Yr.';
}
td.three-yr:before {
    content: '3 Yr';
}
td.five-yr:before {
    content: '5 Yr';
}
td.ten-yr:before {
    content: '10 Yr';
}
td.dmvp:before {
    content: '3D Value+';
}

td.keeper-comment {
    padding: 30px 5px 5px 15px;
}
td.keeper-comment:before {
    top: 3px;
    content: 'DS Analysis';
}

.position-k .keeper-comment,
.position-dl .keeper-comment,
.position-lb .keeper-comment,
.position-db .keeper-comment,
.position-idp .keeper-comment {
    display: none;
}

@media only screen and (min-width: 561px) {
    #position-navbar {
        display: block;
    }
    .inline-block-nav .nav-pills li a {
        width: auto;
    }
}

@media only screen and (min-width: 768px) {
    .title-bar .col-lg-9 {
        display: flex;
        align-items: center;
    }
    .head-title {
        background: url(/img/icons/dynasty-white.svg) no-repeat 0 5px / 35px 35px;
        padding-left: 45px;
        margin-right: 5px;
    }
    table {
        display: table;
    }
    thead {
        display: table-header-group;
    }
    tbody {
        display: table-row-group;
    }
    th,
    td {
        display: table-cell;
    }
    tr {
        display: table-row;
    }
    thead tr {
        position: initial;
        top: initial;
        left: initial;
    }
    .table th:not([colspan]) {
        padding-left: 15px;
        padding-right: 15px;
    }
    td:not([colspan]) {
        padding: 0 15px;
    }
    .border-right {
        border-right: 1px solid #c8c8c8;
    }
    .table tr:nth-child(even) td:not(.rank):not(.dmvp) {
        background: rgba(0, 0, 0, 0.05) !important;
    }

    th[data-sort] {
        width: 85px;
    }
    th.rank {
        display: none;
    }
    .position-number {
        left: 0;
    }
    .centered:not([colspan]) {
        text-align: center;
    }
    td.team {
        display: table-cell;
        padding: 0;
        border-right: none;
    }
    td.team .wrap {
        position: relative;
    }
    table .player {
        width: 135px;
    }
    td.player {
        display: table-cell;
    }
    td.player {
        padding-left: 5px;
    }
    td.player .name {
        padding-left: 0;
        display: block;
        font-size: 18px;
    }
    td.adp:before {
        content: '';
    }

    td.bye:before {
        content: '';
    }
    td.one-yr:before {
        content: '';
    }
    td.age:before {
        content: '';
    }
    td.three-yr:before {
        content: '';
    }
    td.five-yr:before {
        content: '';
    }
    td.ten-yr:before {
        content: '';
    }

    td.dmvp {
        background-color: #efefef;
        font-family: 'endzone', sans-serif;
        color: #043173;
        font-size: 18px;
    }
    td.dmvp:before {
        content: '';
    }

    td.keeper-comment {
        vertical-align: top;
        padding: 0.5rem;
    }
    td.keeper-comment::before {
        content: '';
    }
}

@media only screen and (min-width: 992px) {
    .print-btn {
        display: block;
    }
    .position-number {
        display: none;
    }
    th.rank,
    td.rank {
        display: table-cell;
    }
    td.rank {
        background: #ebebeb;
    }
    td.team .team-logo {
        filter: initial;
        height: auto;
        width: auto;
    }
}

@media only screen and (min-width: 1024px) {
    td.player .name {
        font-size: 20px;
    }
}

@media only screen and (min-width: 1200px) {
    td.team {
        width: 110px;
    }
    tr .cta-container .text-padding {
        padding: 3rem;
    }
}

@media only screen and (min-width: 1500px) {
    tr .cta-container .text-padding {
        padding: 5rem;
    }
}
