#election_tabs {
    width:          100%;
    display:        block;
    margin:         0px;
    padding:        0px;
    border-top:     1px solid white;
    font-family:    sans-serif;
    font-weight:    bold;
    font-size:      16px;
}
    #election_tabs li {
        width:          50%;
        display:        block;
        float:          left;
        padding:        16px;
        margin:         0px;
        background:     #E6E6E6;
        text-align:     center;
    }
        #election_tabs li:first-child {
            border-right:       1px solid white;
        }
        #election_tabs li.selected {
            background:     #D4D4D4;
            position:       relative;
        }
            #election_tabs li span {
                display:        none;
            }
            #election_tabs li.selected span {
                display:        block;
                width:          0; 
                height:         0; 
                border-left:    8px solid transparent;
                border-right:   8px solid transparent;                
                border-top:     8px solid #D4D4D4;
                position:       absolute;
                bottom:         -8px;
                left:           50%;
            }
#election_constituency {
    font-family:    sans-serif;
    font-size:      14px;
    background:     #F6F6F6;
    padding:        0 20px;
    padding-bottom: 20px;
    margin-bottom:  10px;
}
    #election_constituency_holder {
        position:       relative;
    }
    #election_constituency h2 {
        font-family:    sans-serif;
        font-weight:    bold;
        clear:          both;
        padding:        20px 0 10px 0;
        margin:         0px;
        font-size:      20px;
    }
    #election_constituency ul {
        z-index:        2;
        float:          left;
        width:          100%;
        margin:         0;
        padding:        0;
    }
        #election_constituency li {
            width:          100%;
            display:        block;
            border-top:     1px solid #E2E2E2;
            margin-bottom: 0px;
        }
            #election_constituency li a {
                padding:        11px 0;
                width:          100%;
                display:        block;
                color:  #333;
            }
            #election_constituency li img.arrow {
                padding:        0 5px 0 0;
                height:         12px;
            }

            li#election_map {
                display:        inline;
            }
            li#election_map img {
                z-index:        3;
                position:       absolute;
                right:          -5px;
                top:            -25px;
                max-height:     100%;
            }
            #election_constituency .constituency_0 a {
                color:         #E7692B;
            }
            #election_constituency .constituency_1 a {
                color:         #4A9A19;
            }
            #election_constituency .constituency_2 a {
                color:         #2D9FD0; 
            }

    #election_constituency .election_counties {
        text-align:     center;
    }
        #election_constituency .election_counties select {
            width:          100%;
            padding:        10px 20px 10px 10px;
            font-weight:    bold;
            border-color:   #E2E2E2;
            position:       relative;
            z-index:        4;
        }
.election_title {
    font-color:     #F6F6F6;
    font-family:    sans-serif;
    font-weight:    bold;
    font-size:      16px;
    line-height:    16px;
    padding:        20px 0 10px 10px;
}
#election_constituency.election_candidates {
    /*background:     #FFFFFF;*/
    width:          100%;
    padding:        0px;
    background-color:   white;
}
    #election_constituency.election_candidates h2,
    .candidiate_header h2 {
        padding:        18px;
        font-size:      17px;
        line-height:    17px;
        background-color:  #F6F6F6;
        border-bottom:  1px solid #EBEBEB;
    }
        #election_constituency.election_candidates h2 a,
        .candidiate_header h2 a {
            float:          right;
            color:          #006AA0;
            font-size:      14px;
        }
        .candidiate_header h2 {
            font-family:    sans-serif;
            font-weight:    bold;
            clear:          both;
            font-size:      20px;
        }
    #election_constituency.election_candidates .candidate 
    {
        clear:          left;
        background-color:   white;
        position:       relative;
        margin-top:     10px;
        padding:        0 0 10px 20px;
        border-bottom:  1px solid #F5F5F5;
    }
        #election_constituency.election_candidates #candidates_list .candidate:first-child {
            border-top:     1px solid #F5F5F5;
            padding-top:    10px;
            margin-top:     0px;
        }
            #election_constituency.election_candidates #candidates_list .candidate:first-child .state {
                margin-top:    10px;
            }
        .candidate .photo
        {
            margin:         0 10px 0 0;
            float:          left;
        }
            .candidate .photo img
            {
                border:         1px solid #E7E7E7;
            }
        .candidate .details
        {
            margin-top:     9px;
            float:          left;
        }
            .candidate .details .name
            {
                color:      #000000;
                font-weight: bold;
            }
            .candidate .details .party
            {
                font-size:      12px;
                color:     #A7A7A7;
            }
#election_candidate {
    padding:        10px 10px 20px 10px;
    background:     #F6F6F6;
    margin-bottom:  15px;
}
    #election_candidate .photo {
        width:          40%;
        max-width:      100px;
        float:          left;
        margin:         0px;
    }
        #election_candidate img {
            border:         1px solid #E4E4E4;
            width:          100%;
        }
    #election_candidate .details {
        float:          left;
        margin-left:    10px;
        font-family:    sans-serif;
        display:        table-cell;
        vertical-align: middle;  
        height:         100px;    
    }
        #election_candidate .details div {
            margin-top:     5px;
        }
        #election_candidate .details .state_holder {
            width:          100%;
            margin-top:     15px;
        }
        #election_candidate .details .name {
            font-weight:    bold;
            font-size:      18px;
        }
    #election_candidate .description {
        clear:          both;
        font-size:      14px !important;
        float:          left;
        font-family:    sans-serif;
    }
        #election_candidate .description a.website {
            margin-top:     10px;
            display:        block;
            font-family:    sans-serif;
        }
.candidate .state
{
    position:       absolute;
    right:          0;
    top:            0;
    font-size:      12px;
    line-height:    12px;
    padding:        6px;
    color:          white;
}
        #election_candidate.candidate .state {
            position:       static;
        }
.candidate .state_elected
{
    background-color:      #8CC857;
}
.candidate .state_eliminated, .candidate .state_withdrawn
{
    background-color:      #D00604;
}
.candidate .state_running
{
    display:        none;
}




#election_results {
    padding-bottom:  10px;
}
    #election_results h2 {
        padding-bottom:     0px;
    }
    #election_results .sub {
        color:          #A1A1A1;
        padding-bottom:  5px;
        display:        block;
    }
    #election_results .party-counts {
        margin-top:     7px;
        width:          100%;
    }
    #election_results span.seat {
        width:          100%;
        display:        block;
        text-align:     center;
        height:         22px;
        margin-top:     3px;
    }
        #election_results span.seat img {
            height:          21px;
            width:           21px;
        }
    #election_results span.emptyseat {
        width:          100%;
        display:        block;
        height:         22px;
        margin-top:     3px;
    }
#election_results .party-names {
    padding-top:    10px;
    margin-top:     10px;
    text-align:     center;
    clear:          both;
    border-top:     1px solid #E2E2E2;
    color:          #020202;
    font-size:      15px;
}
#election_results .pending, .results-pending {
    width:          100%;
    text-align:     center;
    color:          #A1A1A1;
    margin:         20px 0 20px 0;
}
.elected-pics-holder {
    width:          100%;
    margin-bottom:  10px;
}
    .elected-pics {
    }
    .elected-pics .single {
        margin-top:         20px;
        text-align:         center;
        margin-left:        0;
        margin-right:       0;
        padding-right:      10px;
        padding-left:       0px;
        width: 147px;
        float: left;
        position: relative;
    }
    .elected-pics .single.other {
    }
        .elected-pics .single img {
            width:              100%;
        }
.elected-pics .photo {
    position:   relative;
    border:     1px #E3EAEB solid;
}
    .photo .base-name {
        position:       absolute;
        text-align:     left;
        bottom:         0px;
        width:          100%;
        font-size:      16px;
        display:        block;
        min-height:     35px;
        background-color:rgba(0,0,0,0.75);
        color:          white;
    }
        .photo .base-name-inner {
            padding-left:        10px;
            padding-top:            5px;
            padding-bottom:            5px;

        }
    .photo .base-elected {
        background-color: #8CC857;
        position:       absolute;
        top:            0px;
        right:          0px;
        font-size:      10px;
        line-height:    10px;
        padding:        6px;
        color:          #FFF;
    }
.election_title.long_border span {
    border-bottom:      0px;
    margin-bottom:      0px;
}
.col-xs-2 {
    width: 16.666666666666664%;
    float: left;
}