/* Match setup */

#match_teams_header {
    overflow: hidden;
    padding: 10px 0;
}

#setup-home-team,
#setup-away-team {
    float: left;
    width: 45%;
}

#setup-header-vs {
    float: left;
    width: 10%;
    margin: 18px 0 0 0;
    font-size: 15px;
    font-weight: bold;
    color: #6d6d6d;
    text-align: center;
}

    #setup-home-team img {
        float: right;
        margin: 0 0 10px 10px;
    }

    #setup-away-team img {
        float: left;
        margin: 0 10px 10px 0;
    }
    
    #setup-home-team h2 {
        text-align: right;
    }

    #setup-home-team h2,
    #setup-away-team h2 {
        margin: 20px 0 0 0;
        font-weight: bold;
    }
    
.challenge_left {
    float: left;
    width: 250px;
}

.challenge_right {
    float: left;
    width: 300px;
}

.challenge_right #doubles_cards,
.challenge_right #singles_cards {
    padding-left: 0 !important;
}

/* Nomination cards */

#singles_cards,
#doubles_cards {
    list-style: none;
    margin: 0;
    padding: 0;
}

#singles_cards {
    padding-left: 20px;
}

#doubles_cards {
    padding-left: 70px;
}

    #singles_cards li,
    #doubles_cards li {
        margin: 10px 10px 10px 0;
        padding: 0;
        float: left;
    }
    
    #doubles_cards li {
        margin-right: 80px;
    }
    
    #doubles_cards .nomination_card {
        float: left;
        margin-right: 10px;
    }
    
.nomination_card {
    width: 148px;
    height: 214px;
    background: url(img/match_setup/nomination_card.gif);
    position: relative;
}

    .nomination_card .match_number {
        position: absolute;
        text-align: center;
        top: 5px;
        left: 10px;
        color: #606060;
        font-weight: bold;
    }
    
    .nomination_card .player_photo {
        display: block;
    }
    
    .nomination_card .player_tactics {
        padding: 116px 0 0 0;
        text-align: center;
    }
    
        .nomination_card .player_tactics label {
            font-size: 11px;
            color: #606060;
            line-height: 12px;
            display: block;
        }
    
    .nomination_card .player_name {
        top: 100px;
        left: 8px;
        font-size: 12px;
        width: 130px;
        position: absolute;
        text-align: center;
		padding: 0 5px;
    }
    
    .nomination_card .player_spot {
        position: absolute;
        top: 19px;
        left: 40px;
        width: 74px;
        height: 74px;
        display: block;
    }
    
        .nomination_card .player_spot:hover {
            background: transparent !important;
        }

    .nomination_card .click_to_choose {
        font-size: 12px;
        width: 70px;
        padding: 20px 5px;
        position: absolute;
        text-align: center;
        line-height: 1.0em;
    }
        
    #doubles_cards li {
        background: url(img/match_setup/doubles_nomination_card.gif) 0 0 no-repeat;
        width: 288px;
        height: 214px;
    }
    
    #doubles_cards .nomination_card {
        width: 128px;
        background: none;
    }
    
    #doubles_cards .player_tactics {
        position: relative;
        left: 83px;
        z-index: 20;
    }
/* Nomination 24h before math */
   .match_setup_cards {
        list-style: none;
        margin: 10px 0;
        padding: 0;
   }
        .match_setup_cards > li {
            width: 100%;
            height: 130px;
            background: url(img/match_setup/match_separator.png) center 70px no-repeat;
            padding-top: 20px;
            position: relative;
        }
            .match_card_1v1_home, 
            .match_card_1v1_away {
                width: 285px;
                height: 130px;
                float: left;
                position: relative;
                background: url(img/match_setup/player24before.png) left top no-repeat;
            }

            .match_card_1v1_home {
                position: absolute;
                left: 90px;
            }

            .match_card_1v1_away {
                position: absolute;
                left: 440px;
            }
                .match_card_1v1_home .match_number ,
                .match_card_2v2_home .match_number ,
                .match_card_1v1_away .match_number ,
                .match_card_2v2_away .match_number {
                    position: absolute;
                    text-align: center;
                    top: 5px;
                    left: 12px;
                    color: #606060;
                    font-weight: bold;
                }
                .match_card_1v1_home .left_part ,
                .match_card_1v1_away .left_part {
                    float:left;
                    width: 45%;
                    height: 100%;
                }
                    .left_part .player_photo{
                        display: block;
                        margin: 24px 0px 0px 30px;
                    }

                    .left_part .player_name {
                        text-align: center;
                        margin-top: 5px;
                    }
                
                .match_card_1v1_home .right_part ,
                .match_card_1v1_away .right_part {
                    float: left;
                    width: 55%;
                    height: 100%;
                }
                    .right_part .player_tactics { 
                        margin-top: 20px;
                    }

                    .right_part .player_info {
                        margin-top: 25px;
                    }

            .match_card_2v2_home, 
            .match_card_2v2_away {
                width: 353px;
                height: 130px;
                float: left;
                position: relative;
                background: url(img/match_setup/player2v224before.png) left top no-repeat;
            }

            .match_card_2v2_home {
                position: absolute;
                padding-left:15px;
                left: 0px;
            }

            .match_card_2v2_away {
                position: absolute;
                padding-left:15px;
                left: 440px;
            }
                .match_card_2v2_home .match_number ,
                .match_card_2v2_away .match_number {
                    position: absolute;
                    text-align: center;
                    top: 5px;
                    left: 12px;
                    color: #606060;
                    font-weight: bold;
                }
                .match_card_2v2_home .left_part ,
                .match_card_2v2_away .left_part {
                    float:left;
                    width: 62%;
                    height: 100%;
                }
                    .left_part .player_1 {
                        float: left;
                        height: 100%;
                        width: 105px;
                    }
                    .left_part .player_2 {
                        float: left;
                        height: 100%;
                        width: 105px;
                    }
                        .player_1 .player_photo {
                            display: block;
                            margin: 24px 0px 0px 16px;
                        }

                        .player_2 .player_photo {
                            display: block;
                            margin: 23px 0px 0px 17px;
                        }

                        .left_part .player_name {
                            text-align: center;
                            margin-top: 5px;
                        }
                
                .match_card_2v2_home .right_part ,
                .match_card_2v2_away .right_part {
                    float: left;
                    width: 38%;
                    height: 100%;
                }
                    .right_part .player_tactics { 
                        margin-top: 20px;
                    }

                    .right_part .player_info {
                        margin-top: 25px;
                    }
/* Nomination card friendly match */
.friendly_singles {
    padding-top: 20px;
    padding-left: 210px;
    padding-bottom: 20px;
}
.friendly_doubles {
    padding-top: 10px;
    padding-left: 70px;
}


/* Available players */

.avail_players {
    display: none;
}

.assigned {
    display: none;
}

#fancy_content .player_cards .even {
    margin-right: 15px;
}
