*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.tab_container h1 {
    color: #004785;
}

.tab_container a {
    color: #004785;
    text-decoration: none;
    outline: none;
}

/*Fun begins*/
.tab_container {
    margin: 0 auto;
    padding-top: 10px;
    position: relative;
}

.tab_container input, .tab_container section {
    clear: both;
    padding-top: 10px;
    display: none;
}

.tab_container label {
    font-weight: 700;
    font-size: 16px;
    display: block;
    float: left;
    width: 25%;
    padding: 1.5em 0.3em;
    color: #004785;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    background: #f0f0f0;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5 {
    display: block;
    padding: 20px 0;
    background: #fff;
    color: #004785;
    border-bottom: 2px solid #f0f0f0;
}

.tab_container .tab-content p,
.tab_container .tab-content h3 {
    -webkit-animation: fadeInScale 0.7s ease-in-out;
    -moz-animation: fadeInScale 0.7s ease-in-out;
    animation: fadeInScale 0.7s ease-in-out;
}

.tab_container .tab-content h3 {

}

.tab_container [id^="tab"]:checked + label {
    background: #fff;
    box-shadow: inset 0 3px #0CE;
}

.tab_container [id^="tab"]:checked + label .fa {
    color: #0CE;
}

.tab_container label .fa {
    font-size: 1.3em;
    margin: 0 0.4em 0 0;
}

.table > thead > tr > th {
    color: #ffF !important;
    background: #004784 !important;
}
span.Wins {
    margin-left: 10px;
}
span.party {
    color: #fff;
    padding: 5px 10px;
    border-radius: 30px;
}

span.democrat {
    background: #004785;
}

span.republican{
    background: red;
}
 .candidate {padding-left:10px;}

.table-responsive {
    max-width:100%;
    overflow-x: auto;
}
/*Media query*/
@media only screen and (max-width: 930px) {
    .tab_container label span {
        font-size: 14px;
    }

    .tab_container label .fa {
        font-size: 14px;
    }
}

@media only screen and (max-width: 768px) {
    .tab_container label span {
        display: none;
    }

    .tab_container label .fa {
        font-size: 16px;
    }

    .tab_container {
        width: 98%;
    }
    .results-col{
        padding-right:0px;
        padding-left:0px;
    }
}

/*Content Animation*/
@keyframes fadeInScale {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.winner{
    font-weight:bold;
}
/*
.table tbody tr:nth-child(1) td:nth-child(5){
    font-weight:bold;
}*/

select#selectRace {
    width: 100%;
    height: 36px;
    border-radius: 1px;
}

/*IE FIX */
select#selectRace{
    width:100%;
}

select:focus#selectRace {
    width:auto\9;
}
.loader{
    padding-top:200px;
    height:300px;
    width:100px;
    text-align: center;
    margin-left:auto;
    margin-right:auto;
}
.loader img {
    width:100%;
    text-align: center;
}

/**********PRIMARIES **************/
h3.contest-title {
    font-size: 2em;
    border-bottom: 1px solid;
    margin-bottom: 15px;
    font-weight:900;
    color:#000;
   /* background-color:#000;
    color:#fff;
    padding:10px;*/
}

h5.party-Name {
    font-size: 1.1em;
    font-weight: 700;
    margin-left:10px
}
.Democratic{
    color:Blue;
}
.Republican{
    color:red;
}