.drawsIntroBox {
    background: #fff;
    padding-bottom: 30px;
}

.drawsIntroBox h1 {
    font-size: 19px;
    font-weight: 700;
}

.drawsIntroBox p {
    font-size: 15px;
}

.drawsTabsBox {
    background: #fff;
}

.drawsTabsBox .container-fluid {
    border-top: 1px solid #d4d4d4;
    border-bottom: 1px solid #d4d4d4;
    padding-top: 20px;
    background: url("/images/front/bg_social_sponsors.jpg") no-repeat center center;
    -webkit-background-size: cover; /* For WebKit*/
    -moz-background-size: cover;    /* Mozilla*/
    -o-background-size: cover;      /* Opera*/
    background-size: cover;         /* Generic*/
}

.drawsTabsBox .nav-tabs {
    margin-bottom: 30px;
}

.drawsTabsBox .btnGrey {
    border: 3px solid #dfdfdf;
    background: transparent;
    line-height: 30px;
    font-size: 16px;
    float: right;
    margin-bottom: 30px;
    color: #2a2a2a;
    height: auto;
    padding: 6px 12px;
}

.drawsTabsBox /*.owl-theme .owl-controls*/ .owl-nav div {
    //display: none!important;
    color: #2a2a2a;
    position: absolute;
    top: -50px;
    padding: 5px 10px;
    font-size: 14px;    
    border: 3px solid #ffc600;

}

.drawsTabsBox /*.owl-theme .owl-controls*/ .owl-nav div:hover{
	color: #ffc600;
	text-decoration: none;
}
 
.drawsTabsBox /*.owl-theme .owl-controls*/ .owl-nav .owl-prev{
    left: 0px;
}

.drawsTabsBox /*.owl-theme .owl-controls*/ .owl-nav .owl-next{
    right: 0px;
}

.drawsTabsBox .table>tbody>tr>td {
    padding: 30px 0 0 0 ;
    border: 0;
}

.drawsTabsBox .table>thead>tr>th {
    position: relative;
    vertical-align: middle;
    border: 0;
    padding: 0 10px;
    margin-top: 20px;
}

.mobile-draw {
    display: none;
}    

.drawsTabsBox .custom-width-max {
    width: 300px;
    display: inline-block;
}

.drawsTabsBox .custom-width {
    width: 210px;
}
    
.currently-played-before {
    position: absolute;
    z-index: 2;
    left: calc(50% - 49px);
    top: -30px;
    color: #737373;
    font-weight: 400;
}

.currently-played-after {
    position: absolute;
    z-index: 2;
    left: calc(50% - 49px);
    bottom: -30px;
    color: #737373;
    font-weight: 400;
}

.currently-played-before:before, .currently-played-after:after {
    z-index: 2;
    position: absolute;
    left: 44px;
    content:'';
    width: 0;
    height: 0;
    border-left: solid 10px transparent;
    border-right: solid 10px transparent;
}

.currently-played-before:before {
    bottom: -12px;
    border-top: solid 10px transparent;
}

.round1 .currently-played-before:before {
    border-bottom: solid 10px #000c1b;
}
.round2 .currently-played-before:before {
    border-bottom: solid 10px #002351;
}
.quarterfinal .currently-played-before:before {
    border-bottom: solid 10px #002351;
}
.semifinal .currently-played-before:before {
    border-bottom: solid 10px #002f6c;
}
.final .currently-played-before:before {
    border-bottom: solid 10px #ffc600;
}

.currently-played-after:after {
    top: -12px;
    border-top: solid 10px #000;
}

.round1 .currently-played-after:after {
    border-top: solid 10px #000c1b;
}
.round2 .currently-played-after:after {
    border-top: solid 10px #002351;
}
.quarterfinal .currently-played-after:after {
    border-top: solid 10px #002351;
}
.semifinal .currently-played-after:after {
    border-top: solid 10px #002f6c;
}
.final .currently-played-after:after {
    border-top: solid 10px #ffc600;
}

th.round1, th.round2, th.quarterfinal, th.semifinal, th.final {
    height: 33px;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
}

th.round1 {
    background: url("/images/front/draws-bg-round1.jpg") no-repeat left top;
    text-align: left;
}
th.round2{
    background: url("/images/front/draws-bg-round2.jpg") no-repeat left top;
}
th.quarterfinal {
    background: url("/images/front/draws-bg-quarterfinal.jpg") no-repeat left top;
}
th.semifinal {
    background: url("/images/front/draws-bg-semifinal.jpg") no-repeat left top;
}
th.final {
    background: url("/images/front/draws-bg-final.png") no-repeat left top;
}

th.final > * {
    display: inline-block;
    vertical-align: middle;
}

th.final .champ {
    display: inline-block;
}

th.final .champ img {    
    height:20px;
    width: auto;
    padding: 0 10px 0 0;
}

.round1 {
    width: 320px;
}

.round2, .quarterfinal, .semifinal, .final {
    width: 225px;
}

/************************************************** SINGLES **************************************************/
.game {
    position: relative;
    display: block;
    width: 278px;
    margin: 20px 0 0;
}

.game:after {
    content: " ";
    position: absolute;
    z-index: 1;
    top: 27px;
    right: -10px;
    width: 15px;
    height: 67px;
    border-top: 3px solid #dfdfdf;
    border-right: 3px solid #dfdfdf;
    border-bottom: 3px solid #dfdfdf;
}

.player {
    position: relative;
    display: block;
    margin-bottom: 10px;
}

.player .pos-number {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    width: 15px;
}

.player-details > *, .winner-details > * {
    vertical-align: middle;
}

.player .player-details {
    position: relative;
    display: inline-block;
    border: 3px solid #dfdfdf;
    width: 256px;
    height: 56px;
    padding: 5px;
    vertical-align: middle;
}

.player .player-details .avatar {
    display: inline-block;
}

.player .player-details .avatar img {
    width: 40px;
    height: 40px;    
}

.player .player-details .name,
.winner .name {
    display: inline-block;
    width: 115px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    padding-left: 5px;
}
.player .player-details .name b,
.winner .name b {
    display: block;
}

.player .player-details .seed-number, .legend .seed-number {
    display: inline-block;
    width: 40px;
    height: 40px;  
    font-family: Verdana, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffc600;
    background: #000;
    text-align: center;
    line-height: 40px;
}

.player .player-details .seed-number-empty {
    background: transparent!important;    
}

.player .player-details .flag {
    display: inline-block;
    font-family: Verdana, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #000;
    text-align: center;
}

.player .player-details .flag img {
    display: block;
}

.player .game-result {
    display: block;
    position:absolute;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 400;
    bottom: -20px;    
    text-align: center;
    width: 186px;
}

.round2 .game,
.quarterfinal .game,
.semifinal .game,
.final .game {
    width: 187px;
    margin: 0 0;
}

.round2 .game:before, 
.quarterfinal .game:before,
.semifinal .game:before {
    content: " ";
    position: absolute;
    z-index: 1;
    top: 27px;
    left: -15px;
    width: 15px;
    height: 145px;
    border-top: 3px solid #dfdfdf;
    border-bottom: 3px solid #dfdfdf;
}

.round2 .game:after {
	height: 145px;
}

.round2 .player {
    margin-top: 53px;
    margin-bottom: 86px;
}

.quarterfinal .game:before, .quarterfinal .game:after
{
    height: 288px;
}

.quarterfinal .player {
    margin-top: 126px;
    margin-bottom: 228px;
}

.round1 .game:last-child .player:last-child {
    margin-bottom: 60px;
}
.round2 .game:last-child .player:last-child {
    margin-bottom: 93px;
}
.quarterfinal .game:last-child .player:last-child {
    margin-bottom: 162px;
}
.semifinal .game:last-child .player:last-child {
    margin-bottom: 302px;
}
.final .game:last-child .player:last-child {
    margin-bottom: 784px;
}

.semifinal .game:before, .semifinal .game:after
{
	height: 572px;
}

.semifinal .player {
    margin-top: 270px;
    margin-bottom: 512px;
}

.final .game {
    padding: 760px 0 0 0;   
}

.final .game:before, .final .game:after
{
	display: none;
}

.final .player {
    margin-top: 0px;
    margin-bottom: 200px;
}

.final .winner {
    position: relative;
    display: block;
    padding: 10px;
    background: #ffc600;
    width: 187px;
    margin-bottom: 200px;
}

.final .winner .avatar img {
    width: 100%;
}

.winner .winner-details, .winner .game-details {
    position: relative;
    padding-top: 10px;
}

.winner .winner-details .name {
    padding-left: 0;
}

.winner .winner-details .seed-number {
    position: absolute;
    width: 20px;
    height: 15px;
    top: 20px;
    right: 20px;
    font-family: Verdana, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #ffc600;
    background: #000;
    text-align: center;
    line-height: 15px;
}

.winner .winner-details .flag {
    position: absolute;
    top: 20px;
    right: 0;
    width: 20px;
    height: 15px;  
}

.winner .winner-details .flag img {
    width: 20px;
    height: 15px;
    vertical-align: top;
}

.winner .game-details .game-result {
    position: relative;
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-align: left;
    color: #fff;
    padding-top: 10px;
}

.winner .game-details .champ {
    display: inline-block;
    float: right;
}

.winner:before {
    content: " ";
    position: absolute;
    z-index: 1;
    top: -175px;
    left: 90px;
    width: 3px;
	height: 175px;
    border-right: 3px solid #dfdfdf;
}

.winner:after {
    content: " ";
    position: absolute;
    z-index: 1;
    bottom: -200px;
    left: 90px;
    width: 3px;
	height: 200px;
    border-right: 3px solid #dfdfdf;
}

.final .player.final1:before {
    content: " ";
    position: absolute;
    z-index: 1;
    top: -175px;
    left: -15px;
    width: 108px;
	height: 175px;
    border-top: 3px solid #dfdfdf;
    border-right: 3px solid #dfdfdf;
}

.final .player.final2:after {
    content: " ";
    position: absolute;
    z-index: 1;
    bottom: -175px;
    left: -15px;
    width: 108px;
	height: 150px;
    border-bottom: 3px solid #dfdfdf;
    border-right: 3px solid #dfdfdf;
}

.round2 .player .player-details,
.quarterfinal .player .player-details,
.semifinal .player .player-details,
.final .player .player-details {
    width: 185px;
}

.round2 .player .player-details .flag,
.quarterfinal .player .player-details .flag,
.semifinal .player .player-details .flag,
.final .player .player-details .flag {
    position: absolute;
    left: 25px;
    bottom: 5px;
    width: 20px;
    height: 15px;    
}

.round2 .player .player-details .flag span,
.quarterfinal .player .player-details .flag span,
.semifinal .player .player-details .flag span,
.final .player .player-details .flag span {
    display: none;
}

.round2 .player .player-details .flag img,
.quarterfinal .player .player-details .flag img,
.semifinal .player .player-details .flag img,
.final .player .player-details .flag img {
    width: 20px;
    height: 15px;
}

.round2 .player .player-details .seed-number,
.quarterfinal .player .player-details .seed-number,
.semifinal .player .player-details .seed-number,
.final .player .player-details .seed-number {
    position: absolute;
    left: 5px;
    bottom: 5px;
    width: 20px;
    height: 15px;
    font-size: 12px;
    line-height: 15px;
}

/************************************************** DOUBLES **************************************************/

#doubles-pane .game:after {
    top: 53px;
    height: 119px;
}

#doubles-pane .player-details > * {
    vertical-align: middle;
}

#doubles-pane .player .player-details {
    height: 106px;
    padding: 0 5px;
}

#doubles-pane .player-details .avatar {
    padding: 5px 0;
}

#doubles-pane .player-details .avatar-unknown {
    display:block;
    padding-bottom: 5px;
}

#doubles-pane .quarterfinal .game:before, #doubles-pane .semifinal .game:before {
    top: 50px;
}

#doubles-pane .quarterfinal .game:before, #doubles-pane .quarterfinal .game:after
{
    height: 246px;
}

#doubles-pane .semifinal .game:before, #doubles-pane .semifinal .game:after
{
    height: 488px;
}

#doubles-pane .quarterfinal .player {
    margin-top: 79px;
    margin-bottom: 136px;
}

#doubles-pane .semifinal .player {
    margin-top: 202px;
    margin-bottom: 376px;
}

#doubles-pane .final .game {
    padding: 530px 0 0 0;
}

#doubles-pane .final .winner, #doubles-pane .final .player {
    margin-bottom: 100px;
}

#doubles-pane .final .winner:before {
    top: -75px;
    height: 75px;
}

#doubles-pane .final .winner:after {
    bottom: -100px;
    height: 100px;
}

#doubles-pane .final .player.final1:before {
    top: -125px;
    height: 125px;
}

#doubles-pane .final .player.final2:after {
    bottom: -125px;
    height: 100px;
}

#doubles-pane .quarterfinal .game:last-child .player:last-child {
    margin-bottom: 117px;
}
#doubles-pane .semifinal .game:last-child .player:last-child {
    margin-bottom: 242px;
}
#doubles-pane .final .game:last-child .player:last-child {
    margin-bottom: 561px;
}

/************************************************* QUALIFYING ************************************************/
#qualifying-pane .semifinal .game:after,
#qualifying-pane .quarterfinal .game:after
{
    display: none;
}
/************************************************* QUALIFYING ************************************************/

.legend > * {
    vertical-align: middle;
}

.legend {
    font-family: Verdana,sans-serif;
    font-size: 15px;
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    min-height: 60px;
    line-height: 60px;
    margin: 30px 0;
}

.legend .bold {
    font-size: 19px;
}

.legend span  {
    padding-right: 40px;
}

.legend ul, .legend li {
    display: inline-block;
}

.slider-top-nav {  
    position: fixed; left:0px; top:-60px; float: none; width:100%; height:60px;
    z-index:0;
    background: #f4f4f4;
    border-bottom: 1px solid #d4d4d4;
    opacity: 0;
    display: block;
    padding: 13px 15px 12px 15px;
    -webkit-transition: opacity ease-in 0.3s;
    -moz-transition: opacity ease-in 0.3s;
    -o-transition: opacity ease-in 0.3s;
    transition: opacity ease-in 0.3s;
    outline: none;
    text-align: center;
}

.slider-top-nav.active {
    top:60px;
    opacity: 1;
    z-index:997;
}

.slider-top-prev {
    display: inline-block;
    float: left;
}

.slider-top-next {
    display: inline-block;
    float: right;
}

.curr-round {
    display: inline-block;
    width: 100px;
    margin: 0 auto;
    line-height: 36px;
    
}