
#team-year {
    color:#999;
    display:block;
    float:right;
    font-size:18px;
    margin:20px 25px 0 0;
}

#owner-head {
    color:#ffcc00;
    font-family:"logofont", "Impact", "Helvetica", sans-serif;
    font-size:80px;
    font-weight:normal;
    margin-left:15px;
}

#team-info {
    clear:left;
    margin:0 0 40px 0;
    padding:0 0 0 20px;
    width:530px;
}

#team-graphics {
    float:right;
    margin-bottom:30px;
    width:210px;
}


/* -- Owner Mega Graphic -- */

#owner-mega-graph {
    background-image:url('/images/owner-mega-bg.gif');
    height:250px;
    list-style:none;
    margin:-40px 7px 0 0;
    width:200px;
    }
#owner-mega-graph li {
    position:absolute;
        bottom:73px;
    width:12px;
}
#owner-mega-graph li span {
    background-image:url('/images/owner-mega-standing.gif');
    height:10px;
    position:absolute;
        left:2px;
    width:22px;
}


/* --- Stoplight Record -- */

#year-wlt {
    background:url('../images/stoplight-all.gif') bottom left no-repeat;
    margin:80px 0 30px 0;
    padding:0 0 26px 9px;
    width:191px;
    }
    #year-wlt[years='only06'] {background-image:url('../images/stoplight-06.gif');}
    #year-wlt[years='only07'] {background-image:url('../images/stoplight-07.gif');}
#year-wlt ul {
    clear:left;
    float:left;
    list-style:none;
    margin:0;
    padding-left:11px;
    }
#year-wlt ul li {
    float:left;
    height:9px;
    margin:0 1px 1px 0;
    width:9px;
    }
[result='win'] {background:#0c0;}
[result='loss'] {background:#c00;}
[result='tie'] {background:#fc0;}


/* -- Owner Graphic Midline -- */

.midline-clear {
    clear:left;
    display:block;
}


/* -- Weekly Win Loss Graphic -- */

#wl-graphic {
    background:url('../images/cum-weekly-record.gif') top left;
    height:201px;
    padding-left:40px;
    width:190px;
}
#wl-graphic ul {
    float:left;
    height:99px;
    list-style:none;
    margin:0;
    padding-left:10px;
    position:relative;
}
#wl-graphic ul li {
    height:9px;
    position:absolute;
    width:9px;
}
    #wl-graphic ul li:nth-child(1) {bottom:0;}
    #wl-graphic ul li:nth-child(2) {bottom:10px;}
    #wl-graphic ul li:nth-child(3) {bottom:20px;}
    #wl-graphic ul li:nth-child(4) {bottom:30px;}
    #wl-graphic ul li:nth-child(5) {bottom:40px;}
    #wl-graphic ul li:nth-child(6) {bottom:50px;}
    #wl-graphic ul li:nth-child(7) {bottom:60px;}
    #wl-graphic ul li:nth-child(8) {bottom:70px;}
    #wl-graphic ul li:nth-child(9) {bottom:80px;}
    #wl-graphic ul li:nth-child(10) {bottom:90px;}

#wl-graphic .lossblock {
    clear:left;
    opacity:0.6;
    position:relative;
        left:-30px;
    }
    #wl-graphic .lossblock ul li:nth-child(1) {top:3px;}
    #wl-graphic .lossblock ul li:nth-child(2) {top:13px;}
    #wl-graphic .lossblock ul li:nth-child(3) {top:23px;}
    #wl-graphic .lossblock ul li:nth-child(4) {top:33px;}
    #wl-graphic .lossblock ul li:nth-child(5) {top:43px;}
    #wl-graphic .lossblock ul li:nth-child(6) {top:53px;}
    #wl-graphic .lossblock ul li:nth-child(7) {top:63px;}
    #wl-graphic .lossblock ul li:nth-child(8) {top:73px;}
    #wl-graphic .lossblock ul li:nth-child(9) {top:83px;}
    #wl-graphic .lossblock ul li:nth-child(10) {top:93px;}


/* -- Cumulative Points Graphic -- */

#cumpts-graphic {
    background:url('../images/cum-weekly-pts.gif') top left;
    height:201px;
    margin-top: 60px;
    position:relative;
    width:230px;
    }
#cumpts-graphic ul {
    list-style:none;
    padding-left:40px;
    position:absolute;
        bottom:102px;
        left:60px;
    width:9px;
    }
#cumpts-graphic ul li {
    width:9px;
    }
    #cumpts-graphic ul li span {
        background:#fff;
        display:block;
        height:1px;
        opacity:0.8;
        width:100%;
        }
        #cumpts-graphic ul li:first-child span {display:none;}

#opppts-graphic ul {
    float:left;
    height:80px;
    list-style:none;
    margin:0;
    opacity:0.6;
    padding-left:1px;
    position:relative;
        top:102px;
        left:-21px;
    width:9px;
    }
    #opppts-graphic ul li span {
        background:#fff;
        display:block;
        height:1px;
        opacity:0.8;
        width:100%;
        }
        #opppts-graphic ul li:first-child span {display:none;}



/* -- Owner Blurb and Tables -- */

#main #content #marquee-graphic-hook svg {
    margin: -20px 0 60px 20px;
    }

#main #content #marquee-graphic-hook svg g {
    font-size: 12px;
    }

#main #content #marquee-graphic-hook svg g path {
    fill: none;
    shape-rendering: crispEdges;
    }

#main #content #marquee-graphic-hook svg g.axis .tick line {
    shape-rendering: crispEdges;
    stroke: #000000;
    stroke-width: 1px;
    }
    
#main #content #marquee-graphic-hook svg g path.line,
.info-pop svg path {
    shape-rendering: auto;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3px;
    }
#main #content #marquee-graphic-hook svg g path.line.wins,
.info-pop svg path.wins {
    stroke-dasharray: 5, 10;
    }
#main #content #marquee-graphic-hook svg g path.line.ranking,
.info-pop svg path.ranking {
    opacity: 0.2;
    }

#main #content #marquee-graphic-hook svg g circle.dot {
    fill: #fff;
    stroke-width: 3px;
    }
#main #content #marquee-graphic-hook svg g circle.dot.ranking {
    stroke-opacity: 0.2;
    }

#main #content #marquee-graphic-hook svg * g.hide_it {
    opacity: 0;
    }
#main #content #marquee-graphic-hook svg * g.show_it {
    opacity: 1;
    }
#main #content #marquee-graphic-hook svg * g.show_it rect {
    fill: #f90;
    opacity: 0;
    }

.info-pop {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px #888;
    padding: 5px 15px 5px 10px;
    position: absolute;
    visibility: hidden;
    z-index: 1000;
    }
.info-pop h4,
.info-pop p {
    font-size: 14px;
    line-height: 22px;
    margin: 0;
    }
.info-pop p {
    float: left;
    margin-left: 5px;
    }
.info-pop svg {
    clear: both;
    float: left;
    height: 22px;
    width: 30px;
    }

/* -- Owner Blurb and Tables -- */

#main #content .owner-blurb,
#main #content .player-blurb {
    clear: both;
    margin:-40px 20px 40px 20px;
    }
#main #content .player-blurb { margin-top: 0; }

#owner-info {
    clear:left;
    margin:-40px 0 40px 0;
    padding:0 0 0 20px;
    width:530px;
    }

#main .ownertables {
    margin-top:20px;
    margin-bottom:20px;
    text-align:left;
    }
#main .ownertables a {
    color:inherit;
    text-decoration:none;
    }
    #main .ownertables a:hover {
        text-decoration:underline;
        }
#main .ownertables thead { border-bottom:6px double #aaa; }
#main .ownertables tfoot tr:first-child {border-top:6px double #aaa;}
#main .ownertables tfoot tr:nth-child(2) {border-top:2px solid #aaa;}
#main .ownertables th,
#main .ownertables td {
    background:#eee;
    display:block;
    height:18px;
    margin:0;
    padding:4px 0 0 8px;
    position:relative;
    }
#main .ownertables th {padding:4px 2px 0 6px;}

#main .ownertables tr:nth-child(odd) td:nth-child(odd), 
#main .ownertables tr:nth-child(odd) th:nth-child(odd) { 
    background:#ddd; 
}
#main .ownertables tr:nth-child(even) td:nth-child(even) { background:#fefefe; }

#main .ownertables.sortable th span,
#main .ownertables.sortable td span {
    float: none;
}

#main .ownertables .tyear { width:62px; }
#main .ownertables .tname { width:192px; }
#main .ownertables .tfinish { width:62px; }
#main .ownertables .trecord { width:82px; }
#main .ownertables .tpoints { width:72px; }
#main .ownertables .opponent { width:92px; }
#main .ownertables .record { width:72px; }
#main .ownertables .owner-pts { width:152px; }
#main .ownertables .opponent-pts { width:162px; }

    #main .ownertables td .tavg {
        position:absolute;
            left:62px;
    }

    #main .ownertables td span.pt-text {
        z-index: 100;
    }
    #main .ownertables td span.pt-bar {
        background-color: #000;
        height: 100%;
        opacity: 0.2;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 10;
    }
    #main .ownertables td span.pt-bar-win-marg {
        background-color: #0c0;
    }
    #main .ownertables td span.pt-bar-loss-marg {
        left: 0;
        background-color: #c00;
    }


/* --- Retina Replacements --- */

@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max-moz-device-pixel-ratio: 2) {
    #owner-mega-graph {
        background-image:url('../images@2x/owner-mega-bg@2x.gif');
        background-size:200px 250px;
        }
    #owner-mega-graph li span {
        background-image:url('../images@2x/owner-mega-standing@2x.gif');
        background-size:22px 120px;
        }    
    #year-wlt {
        background-image:url('../images@2x/stoplight-all@2x.gif');
        background-size:180px 86px;
        }
    #year-wlt[years='only06'] {
        background-image:url('../images@2x/stoplight-06@2x.gif');
        background-size:180px 36px;
        }
    #year-wlt[years='only07'] {
        background-image:url('../images@2x/stoplight-07@2x.gif');
        background-size:180px 36px;
        }
    #wl-graphic {
        background-image:url('../images@2x/cum-weekly-record@2x.gif');
        background-size:230px 201px;
        }
    #cumpts-graphic {
        background-image:url('../images@2x/cum-weekly-pts@2x.gif');
        background-size:230px 201px;
    }
}

/* --- Player page --- */
#main table.player-results,
#main table.player-results tr,
#main table.player-results td {
    clear: both;
    float: none;
}
#main table.player-results {
    border-collapse: collapse;
    margin: 0 20px;
}

#main table.player-results tr {
    border-bottom: 1px solid #ccc;
}
#main table.player-results td {
    padding: 0.25rem 0.5rem;
}
#main table.player-results .col-heading td {
    border-bottom: 1px solid #000;
    padding-top: 0.5rem;
}
#main table.player-results .col-heading td:nth-child(1) { padding-left: 0.75rem; }

#main table.player-results .col-heading td { font-weight: bold; }
#main table.player-results .col-heading td.deemphasize { font-weight: normal; }
#main table.player-results .starter td { font-weight: bold; }
#main table.player-results .free-agent td { color: #aaa; }

#main table.player-results td:first-child a {
    border-bottom: 1px solid transparent;
    color: #000;
    text-decoration: none;
}
    #main table.player-results td:first-child a:hover,
    #main table.player-results td:first-child a:focus {
        border-bottom-color: inherit;
    }


#main table.player-results td:nth-child(1) { width: 80px; }
#main table.player-results td:nth-child(2) { width: 200px; }
#main table.player-results td:nth-child(3) { width: 50px; }
#main table.player-results td:nth-child(4) {
    text-align: right;
    width: 50px; 
}
#main table.player-results td:nth-child(5) { width: 285px; }

#main table.player-results tr.total-row {
    font-weight: bold;
    border-bottom: 0;
    border-top: 3px double #000;
}
#main table.player-results tr.total-row td { padding-bottom: 2rem; }