#bracket-container {
    width: 729px;
    position: relative;
}
#bracket {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    left: 4px;
    font: bold 12px verdana,arial,clean,sans-serif;
    height: 452px;
    width: auto;
    -webkit-overflow-scrolling:touch;
}

#bracket .round {
    position: relative;
    float: left;
    width: 81px;
}

#bracket .match {
    position: relative;
    float: left;
    border: 1px solid #999;
    height: 30px;
    padding: 2px;
    width: 81px;
}

#bracket .left { border-left: none; }
#bracket .right { border-right: none; }
#bracket .left.right { border-bottom: none; }
/* The center final box abuts the right semifinal box; both would draw a
   border at the same x, doubling the line. Drop the final box's right border
   and let the semifinal box's left border supply that edge. */
#bracket .match.round5 { border-right: none; }

#bracket .team1 {
    position: absolute;
    top: 0px;
    height: 15px;
}
#bracket .team2 {
    position: absolute;
    bottom: 0px;
    height: 15px;
}

#bracket .round1 {
    top: 0px;
    height: 36px;
    margin-bottom: 5px;
    background: #ECECEC;
}

#bracket .round2 {
    top: 18px;
    height: 41px;
    margin-bottom: 41px;
    background: #ECECEC;
}

#bracket .round3 {
    top: 39px;
    height: 81px;
    margin-bottom: 81px;
}

#bracket .round4 {
    top: 78px;
    height: 159px;
    margin-bottom: 163px;
}

#bracket .round5 {
    top: 130px;
    height: 50px;
    background: #FFF;
    text-align: center;
}

#bracket .round5 .team1,
#bracket .round5 .team2 {
    font-size: 15px;
    left: 6px;
}
#bracket .round5 .team1 { top: 7px; }
#bracket .round5 .team2 { bottom: 7px; }

#bracket #champion {
    position: absolute;
    border: 1px solid #999;
    background: #fff;
    top: 6px;
    left: 274px;
    height: 48px;
    width: 170px;
    padding: 4px 6px;
    text-align: center;
    pointer-events: none;
    overflow: hidden;
}
#bracket #champion span {
    display: block;
    font-size: 12px;
    line-height: 15px;
    color: #555;
}
#bracket .teamChampion {
    font-size: 20px;
    line-height: 26px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#bracket #favorites {
    position: absolute;
    top: 322px;
    left: 296px;
}
#bracket #clear {
    position: absolute;
    top: 350px;
    left: 320px;
}
#bracket form span#tiebreak {
    position: absolute;
    top: 208px;
    left: 325px;
    width: 80px;
    text-align: center;
}
#bracket form span#tiebreak label {
    display: inline-block;
    background: #fff;
    padding: 0 2px;
}
#bracket #infoBottom {
    position: absolute;
    top: 418px;
    left: 200px;
    width: 328px;
    height: 30px;
    padding: 5px;
    border: 1px solid #CCCCCC;
    text-align: center;
    pointer-events: none;
}
#bracket #tiebreak_info {
    position: absolute;
    top: 384px;
    left: 269px;
    width: 191px;
    text-align: center;
    font-weight: normal;
    pointer-events: none;
}
#bracket input {
    display: inline-block;
    font-size: 90%;
    font-family: Verdana,arial,sans-serif;
    font-weight: bold;
    text-align: center;
    line-height:16px;
    margin: 0 0 3px 0;
    padding: 2px;
}
#bracket label {
    clear: both;
}
#bracket #submit {
    position: absolute;
    top: 258px;
    left: 339px;
}

#bracket a {
        color: #000;
        text-decoration: none;
}
#bracket a:active,
#bracket a:hover {
        color: #ff4b33;
}

#pick-progress {
    position: absolute;
    top: 295px;
    left: 280px;
    width: 170px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    pointer-events: none;
}
#pick-progress.progress-complete {
    color: #40A100;
}

@keyframes flash-missing {
    0%   { background-color: transparent; }
    20%  { background-color: rgba(255, 75, 51, 0.6); }
    40%  { background-color: transparent; }
    60%  { background-color: rgba(255, 75, 51, 0.6); }
    80%  { background-color: transparent; }
    100% { background-color: rgba(255, 75, 51, 0.35); }
}
#bracket .pick-missing {
    animation: flash-missing 1.2s ease-in-out forwards;
    border-radius: 2px;
    width: 100%;
    min-height: 15px;
    z-index: 1;
}
