#chartheight-container {
    height: 910px;
}
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.1);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.05);
}

#controlbar {
    position: fixed;
    top: 38px;    /* was 41px */
    left: 0px;
    /*height: 80px;*/
    width: 100%;
    height: 92px;
    background: rgba(255,255,255,.8);
    opacity: 1.0;
    z-index: 2;
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 4px;
    font: 11px Helvetica Neue, Helvetica, Arial, sans-serif;
    border-bottom: 1px solid #bbc0c4;
    vertical-align: middle;
}
#controlbar .label-small {
    font-size: 11.9px;
}
.controlbar-button {
    margin-top: 17px;
}
.dropdown-menu{
    font-size: 12px;
    min-width: 83px;
}
.dropdown-menu > li > a {
    padding-left: 15px;
    padding-right: 15px;
}
.nav-tabs {
    /*height: 10px;*/
}

#allTabs {
    font-size: 12px;
    position: absolute;
    padding: 0px;
    margin-left: 0px !important;
    margin-bottom: 50px;
    top: 132px;
    left: 0px;
    /*overflow-y: hidden;*/
    background-color: white; /* #f1f1f1; */
    width: calc(100%);
    width: -moz-calc(100%);
    width: -webkit-calc(100%);
    /*overflow-y: scroll;*/
}
#mainTabDiv{
    /*top: 0px;*/
    overflow-x: hidden;
}
#playerbar {
    position: fixed;
    padding: 0px;
    margin-left: 0px !important;
    top: 173px;
    left: 0px;
    /*-webkit-background-size: cover;*/
    height: 770px;
    width: 180px;
    z-index: 1;
    opacity: 1.0;
    background-color: white; /* #f1f1f1; */
    /*border-top: 1px solid #bbc0c4;*/
    border-right: 1px solid #bbc0c4;
}

#newsbar {
    position: fixed;
    padding-top: 5px;
    padding-left: 0px;
    padding-right: 0px;
    /*margin: 0px !important;*/
    margin-left: 3px;
    top: 128px;
    right: 0px;
    /*-webkit-background-size: cover;*/
    height: 695px;
    width: 270px;
    z-index: 1;
    opacity: 1.0;
    background: white;
    /*border-top: 1px solid #bbc0c4;*/
    border-left: 1px solid #bbc0c4;

}

#sc {
    position: absolute;
    /*border-top: 1px solid #bbc0c4;*/
    background-color: white; /*#f1f1f1; */
    top: 41px;           /* was 123px */
    /*width: calc(100% - 185px);*/
    /*width: -moz-calc(100% - 185px);*/
    /*width: -webkit-calc(100% - 185px);*/
    width: calc(100% - 450px);
    width: -moz-calc(100% - 450px);
    width: -webkit-calc(100% - 450px);
    padding: 0;
    /*height: 920px;*/
    /*width: 1500;  */
    left: 180px;
    overflow-x: scroll;
    overflow-y: hidden;
    z-index: 1;
    font: 11px Helvetica Neue, Helvetica, Arial, sans-serif;
}


#comparebox {
    position: absolute;
    border-top: 1px solid #bbc0c4;
    background-color: white; /*#f1f1f1; */
    top: 305px;           /* was 123px */
    width: calc(100% - 450px);
    width: -moz-calc(100% - 450px);
    width: -webkit-calc(100% - 450px);
    height: 600px;
    padding: 15px;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 5px;
    /*height: 920px;*/
    /*width: 1500;  */
    left: 180px;
    overflow-x: scroll;
    overflow-y: hidden;
    z-index: 1;
    font: 11px Helvetica Neue, Helvetica, Arial, sans-serif;
    opacity: 0;
    display: none;
}
.comparebox-rowchart {
    width: 210px;
    height: 180px;
    font-size: 11px;
}
.comparebox-rowchart.dc-chart g.row text {
    font-size: 10px;
    fill: black;
}
.comparebox-chart-md {
    width: 162px;
    height: 150px;
}
.compare-shifts-footnote {
    font-size: 10px;
    padding-left: 10px;
    /*font-style: italic;*/
}

#forum {
    position: absolute;
    top: 925px;
    margin-left: 50px;
}

#scoreboard {
    font: 11px Helvetica Neue, Helvetica, Arial, sans-serif;
    /*align: center;*/
    text-align: center;
    margin-top: 0px;
    /*background: lightsteelblue;*/
}
table {
    width: 100%;
    margin: 0 auto;
}
#scoreboardTopLine{
    font-size: 11px;
    text-align: center;
}
#scoreboard .teamName {
    font: 13px Helvetica Neue, Helvetica, Arial, sans-serif;
    /*margin-left: 5px;*/
    /*margin-right: 5px;*/
    width: 37%;
    font-weight: normal;
    /*color: white;*/
    /*text-shadow:*/
        /*-1px -1px 0 #000,*/
        /*1px -1px 0 #000,*/
        /*-1px 1px 0 #000,*/
        /*1px 1px 0 #000;*/
}
#teamLocationAway, #teamCommonNameAway {
    text-align: left;
}
#teamLocationHome, #teamCommonNameHome {
    text-align: right;
}
.score {
    font: 24px Helvetica Neue, Helvetica, Arial, sans-serif;
    margin-left: 0;
    margin-right: 0;
    vertical-align: bottom;
}
#scoreboardPeriod {
    font-size: 11px;
    font-weight: normal;
}
#scoreboardTime{
    margin: 0 auto;
    font-size: 14px;
    font-weight: normal;
    width: 25%;
}
#scoreboardButtons{
    margin-top: 2px;
    margin-bottom: 2px;
}

#layersButton{
    font-size: 12px;
}


@media ( max-width: 767px ) {
    #sc {
        width: calc(100% - 185px);
        width: -moz-calc(100% - 185px);
        width: -webkit-calc(100% - 185px);
    }
    .navbar-collapse {
        border: 1px solid;
        padding-left: 20px;
    }
}

@media ( max-width: 640px ) {
    .navbar-nav > li > a {
        font-size: 12px;
    }
    #scoreboardTopLine {
        font-size: 8px !important;
    }
    #scoreboard {
        font: 10px Helvetica Neue, Helvetica, Arial, sans-serif !important;
    }
    #scoreboard .teamName {
        font: 10px Helvetica Neue, Helvetica, Arial, sans-serif !important;
    }

    #scoreboard #scoreboardPeriod {
        font: 9px Helvetica Neue, Helvetica, Arial, sans-serif !important;
    }
    #scoreboardTime{
        font: 10px Helvetica Neue, Helvetica, Arial, sans-serif !important;
    }
    #scoreboard .score {
        font: 20px Helvetica Neue, Helvetica, Arial, sans-serif !important;
    }
    #playerbar {
        width: 145px;
    }
    #sc, #comparebox {
        left: 145px;
        width: calc(100% - 145px);
        width: -moz-calc(100% - 145px);
        width: -webkit-calc(100% - 145px);
    }
    #navbar-site {
        position: fixed;
        top: 37px;
        width: 306px;
        margin-left: 0px;
        padding-left: 20px;
        font: 13px;
        border-width: 1px solid;
    }
    .controlbar-button {
        padding-left: 0px;
    }
    .btn-datepick {
        padding-left: 5px;
        padding-right: 5px;
    }
    #gamelist {
        margin-left: 0px;
    }
    .btn-sm, .btn-group-sm>.btn {
        font-size: 11px;
    }
    #navbar-site .btn-sm, #navbar-site .btn-group-sm>.btn {
        padding-left: 5px;
        padding-right: 5px;
    }
}

.playerRow line {
    fill: none;
    stroke: grey;
    stroke-width: 1;
    opacity: 1;
    shape-rendering: crispEdges;
}
line.period {
    stroke: grey;
    stroke-width: 1;
    opacity: 1;
    shape-rendering: crispEdges;
    stroke-dasharray: 2, 2;
}
.playerbarLabel {
    text-anchor: start;
    font-size: 12px;
    font-weight: normal;
}
.playerRow line {
    stroke-width: 1;
}
.playerRow text {
    font: 11px Helvetica Neue, Helvetica, Arial, sans-serif;
    font-weight: normal;
}
.playerRow .onIce {
    fill: black;
}
.playerRow .offIce {
    opacity: 0.5;
}
.playerRow .playerRowRect, .playerRowRectBG {
    stroke: none;
    stroke-width: 2;
    fill: none;
    /*opacity: 1 !important;*/
    shape-rendering: crispEdges;
    pointer-events: all;
}
.playerRowRectBG {
    stroke: none;
    stroke-width: 0;
    shape-rendering: crispEdges;
}
.playerRow .playerRowRect:hover, .playerRowRect.hoverover {
    stroke: orange; /*#4183c4*/
    stroke-opacity: 1;
    stroke-width: 2;
    shape-rendering: crispEdges;
}
.playerRow .playerRowRectBG.compare{
    fill: orange;
    fill-opacity: 0.3;
    stroke-opacity: 0.5;
    stroke: white;
    stroke-width: 2;
}
.A .shift, .goalLine.A {
    stroke: #007FFF;
    fill: #007FFF;
    fill-opacity: 1;
    /*stroke-width: 3px;*/
}
.H .shift, .goalLine.H {
    fill: #ff7b00;
    stroke: #ff7b00;
    fill-opacity: 1;
    /*stroke-width: 3px;*/
}
.shiftRect {
    stroke-width: 1;
    pointer-events: all;
}
.playerRow .shiftTick {
    stroke: lightgrey;
    stroke-width: 1;
    opacity: 1;
    /*shape-rendering: crispEdges;*/
}
.playerRow .shiftDurationLabel {
    /*font-size: 7px;*/
    /*text-anchor: end;*/
    font-size: 9px;
    fill: dodgerblue;
    text-rendering:  optimizeLegibility;
}
.playerRow .shiftCumDurationLabel {
    font-size: 7px;
    fill: green;
    text-anchor: end;
    text-rendering:  optimizeLegibility;
}
.playerRow .shiftDurationLabel.hidden, .playerRow  .glyphicon.glyphicon-ok.check.hidden {
    display: none;
}
.playerRow .glyphicon.glyphonicon-ok.check {
    display: inline;
}


rect {
    stroke-width: 1;
    pointer-events: all;
}

.offIceRect {
    fill: #F0F0F5;
    opacity: 0.85;
}

#timeRect {
    fill: #428bca;
}
.timeRectSeparator {
    stroke: white;
    stroke-width: 1;
    opacity: 1;
}
#timeRectCover {
    fill: white;
    opacity: 1;
}
.playerRow .goalEventLabel {
    font-size: 11px !important;
    font-weight: bolder;
    /*fill: none;*/
    fill-opacity:1;
    /*stroke: black;*/
    /*stroke-width:1px;*/
    /*stroke-opacity:1;*/
    /*font-family:Bitstream Vera Sans;*/
    /*text-rendering:  optimizeLegibility;*/
}

.penaltyEventLabel {
    /*font-size: 10px !important;*/
    fill: darkorange;
    stroke: darkorange;
    /*stroke-width: 1;*/
    font-weight: bolder;
    opacity: 1;
    text-rendering:  optimizeLegibility;
    pointer-events: all;
    cursor: pointer;
}

.playerRow .sharedTOILabel, .textPctTOI {
    font: 11px Helvetica Neue, Helvetica, Arial, sans-serif;
    text-rendering:  optimizeLegibility;
}
.textPctTOI {
    fill: cornflowerblue;
}

#clockLine, #clockLineTime {
    font: 11px Helvetica Neue, Helvetica, Arial, sans-serif;
    fill: navy;
    text-anchor: left;
    /*font: 12px Arial;*/
    font-weight: bold;
    /*fill: steelblue;*/
    /*stroke: steelblue;*/
    /*stroke-width: 1;*/
    /*color: steelblue;*/
    shape-rendering: auto;
    /*font-weight: bold;*/
}
#clockLinePeriod {
    font-size: 9px;
    fill: darkorange;
    /*font-weight: bold;*/
}
#clockLine line, circle {
    fill: navy;
    stroke: navy;
    /*stroke-width: 1;*/
    shape-rendering: auto;
}
#clockLine > #clockLineOuterInvisible {
    stroke-width: 50;
    stroke-opacity: 0;
}
#clockLine > #clockLineInner {
    stroke-width:   1;
    shape-rendering: crispEdges;
}
#clockLine > #clockLineOuterTranslucent {
    stroke:         blue;
    /*stroke:         orange;*/
    stroke-width:   14;
    stroke-opacity: 0.20;
}
#clockLine > #clockLineTimeRect {
    /*stroke:  darkblue;*/
    /*stroke-width: 2;*/
    /*stroke-opacity: 0.4;*/
    /*fill:    rgb(200,200,254);*/
    /*stroke:    rgb(200,200,254);*/
    fill:    white;
    fill-opacity: 0.9;
    shape-rendering: crispEdges;
}
.facLine {
    stroke-width: 1;
    opacity: 1;
    /*shape-rendering: crispEdges;*/
    pointer-events: all;
}
.facLineOuter {
    stroke-width: 3;
    opacity: 0.25;
    shape-rendering: crispEdges;
    pointer-events: all;
    stroke: white;
}
.facLineInner {
    stroke-width: 2;
    opacity: 1;
    shape-rendering: crispEdges;
    stroke: #FF5CFF;
}
.facLine.hidden {
    display: none;
}
.goalLine {
    /*fill: orange;*/
    /*stroke: #236e2a;  *//* north stars green!*/
    stroke-width: 1;
    opacity: 1;
    shape-rendering: crispEdges;
    pointer-events: all;
}
.goalLine > .goalLineHighlight {
    stroke: yellow;
    stroke-width: 10;
    opacity: 0.4;
}
.goalLineOuter {
    stroke-width: 4;
    opacity: 0.8;
    shape-rendering: crispEdges;
}
.goalLineStripe {
    stroke-width: 1px;
    /*stroke-dasharray: 15, 15;*/
    /*opacity: 1;*/
    /*shape-rendering: crispEdges;*/
}
.goalLineWindow {
    pointer-events: all;
    stroke: none;
    fill: none;
    /*visibility: hidden;*/
}
.goalLine.H > .goalLineOuter {
    stroke-width: 5;
}
.goalLine.A > .goalLineStripe {
    stroke-width:       2;
    stroke-dasharray:   15, 10;
}
.goalFlagPath {
    /*fill: white;*/
    /*fill-opacity: 1;*/
    stroke-width: 1;
    shape-rendering: crispEdges;
    /*stroke-opacity: 0.7;*/
}
.goalLineFlagTeam {
    font-size: 8px;
    stroke-width: 0px;
    shape-rendering: auto;
    text-rendering:  auto;
    /*writing-mode:               tb;*/  /* not supported in firefox */
    /*glyph-orientation-vertical: 0;*/
}
.goalLineScoreRect {
    fill:         white !important;
    stroke:          none !important;
    /*shape-rendering: crispEdges;*/
    /*text-rendering:  optimizeLegibility;*/
}
.goalLineScoreText {
    font-size: 9px;
    stroke-width: 0px;
    shape-rendering: crispEdges;
    /*text-rendering:  optimizeLegibility;*/
}
.penaltyRect {
    pointer-events: none;
    stroke: gray;
    stroke-width: 1;
    stroke-opacity: 1;
    /*shape-rendering: crispEdges;*/
}
.penaltyRectPath {
    stroke:         lightgreen; /*gets overwritten*/
    stroke-width:   1;
    stroke-opacity: 0.2;
    shape-rendering: crispEdges;
}
#penaltyRectAwayFill {
    stroke-width: 1;
    stroke-opacity: 1;
    /*stroke-dasharray: none;*/
    fill-opacity: 1;
    shape-rendering: crispEdges;
}

.brush .extent {
    stroke: gray;
    fill: navy;
    fill-opacity: 0.25;
}

.axis path,
.axis line {
    fill: none;
    stroke: lightgrey;
    stroke-width: 1;
    shape-rendering: crispEdges;
}
.x.axis line {
    stroke: lightgrey;
}
.grid  {
    stroke: lightblue;
    stroke-width: 1;
    opacity: 1;
    /*shape-rendering: crispEdges;*/
}
.onIceSeparator, .offIceTeamSeparator, .offIceFDSeparator {
    stroke: black;
    stroke-width: 1;
    opacity: 1;
    shape-rendering: crispEdges;
    /*stroke-dasharray: 10, 3;*/
    display: none;
}
.offIceTeamSeparator {
    stroke: grey;
    opacity: 0.9;
    /*shape-rendering: auto;*/
}
.offIceFDSeparator {
    stroke: forestgreen;
    opacity: 0.4;
    /*shape-rendering: auto;*/
}
.shotAttempts.outer {
    stroke: white;
    stroke-width: 5;
    opacity: 1;
    shape-rendering: crispEdges;
}
.shotAttempts.inner {
    stroke: black;
    stroke-width: 3;
    opacity: 1;
    shape-rendering: crispEdges;
}
.shotAttempts.hidden, .tipcircle.hidden {
    display: none;
}

svg text {
    pointer-events: none;
}

#tooltip, #goaltip, #penaltytip  {
    position: absolute;
    min-width: 80px;
    height: auto;
    padding: 7px;
    background-color: white;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid red;
    opacity: 0.9;
    /*-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);*/
    /*-moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);*/
    /*box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);*/
    pointer-events: none;
    z-index: 5;
    text-rendering:  optimizeLegibility;
}
#goaltip {
    /*background-color: navy;*/
}
#penaltytip {
    background-color: darkorange;
    color: white;
}
#tooltip.hidden, #goaltip.hidden, #penaltytip.hidden {
    display: none;
}
#tooltip p, #goaltip p, #penaltytip p {
    margin: 0;
    font: 11px Helvetica Neue, Helvetica, Arial, sans-serif;
    line-height: 14px;
    white-space: nowrap;
}
.tipcircle {
    stroke: grey;
    fill: grey;
    /*stroke-opacity: 0.5;*/
    /*fill-opacity: 0.2;*/
    stroke-opacity: 0.0001;
    fill-opacity: 0.0001;
}
.tipcircle.SOG {
    stroke: blue;
    fill: green;
    stroke-opacity: 0.2;
    fill-opacity: 0.2;
}

.factip1 {
    font-size: 8pt;
    text-align: center;
    margin-bottom:4px;
    /*margin-top:0px;*/
}
.factip2 {
    font-size: 7pt;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 2px;
}
.factip3 {
    font-size: 8pt;
    text-align: center;
    margin-bottom:1px;
    /*margin-top:0px;*/
}
.tip1 {
    font-size: 7.5pt;
    text-align: center;
    margin-bottom:2px;
    /*margin-top:0px;*/
}
.tip2 {
    font-size: 7pt;
    text-align: center;
    margin-top: 3px;
    margin-bottom: 2px;
}
.tip3 {
    font-size: 7.5pt;
    text-align: center;
    margin-bottom:1px;
    /*margin-top:0px;*/
}
#newsbar {
    font: 11px Helvetica Neue, Helvetica, Arial, sans-serif;
}
#newsbar-table {
    margin-top: 2%;
    width: 90%;
    font-size: 11.5px;
    padding: 0px;
    border: none;
    line-height: 16px;
}
#newsbarPlayerName {
    text-align: left;
    font-size: 12px;
    /*width: 100%;*/
}
#newsbar-table #newsbarPlayerTeam {
     width: 80%;
}
#newsbar-table .table-col-L {
    width: 50%;
}
#newsbar-table .table-col-R {
    width: 50%;
}
#newsbar-charts {
    margin-left:    5px;
    margin-right:   15px;
}
.newsbar-chart-sm {
    width: 50%;
    height: 140px;
}
#newsbar-shifts-histogram {
    width: 255px;
    height: 155px;
}
#newsbar-shifts-histogram rect {
    fill: steelblue;
    shape-rendering: auto;
}
#hist-title {
    font-size: 11.5px;
    font-weight: bold;
    margin-left: 5%;
    margin-top: 2%;
}
#svgHistogram, .label {
    font-family: sans-serif;
    font-size: 9px;
    font-weight: normal;
    text-anchor: end;
    /*shape-rendering: crispEdges;*/
    /*stroke-width: 0.5;*/
}

.barAllPlayers {
    fill: snow;
    stroke: grey;
    stroke-width: 1;
    /*color: steelblue;*/
    opacity: 1;
}
.barSelectPlayer {
    fill: steelblue;
    stroke: black;
    stroke-width: 1;
    /*color: steelblue;*/
    opacity: 0.3;
}

.bar {
    stroke-width: 1;
    stroke: grey;
    pointer-events: all;
    fill: #bbb;
    /*shape-rendering: crispEdges;*/
}

.meanLine {
    stroke-width: 2;
    stroke: black;
    /*shape-rendering: crispEdges;*/
}

.line {
    fill: none;
    stroke: #000;
    stroke-width: 3px;
}

#twitter-stream {
    margin-left: 5%;
}