/*!
* jquery.fixedHeaderTable. The jQuery fixedHeaderTable plugin
*
* Copyright (c) 2011 Mark Malek
* http://fixedheadertable.com
*
* Licensed under MIT
* http://www.opensource.org/licenses/mit-license.php
* 
* http://docs.jquery.com/Plugins/Authoring
* jQuery authoring guidelines
*
* Launch  : October 2009
* Version : 1.3
* Released: May 9th, 2011
*
* 
* all CSS sizing (width,height) is done in pixels (px)
*/

/* @group Reset */

.fht-table,
.fht-table thead,
.fht-table tfoot,
.fht-table tbody,
.fht-table tr,
.fht-table th,
.fht-table td {
    /* position */
    margin: 0;
    
    /* size */
    padding: 0;

    /* text */
    font-size: 100%;
    font: inherit;
    vertical-align: top;
    }

.fht-table {
    /* appearance */
    border-collapse: collapse;
    border-spacing: 0;
    }

/* @end */

/* @group Content */

.fht-table-wrapper,
.fht-table-wrapper .fht-thead,
.fht-table-wrapper .fht-tfoot,
.fht-table-wrapper .fht-fixed-column .fht-tbody,
.fht-table-wrapper .fht-fixed-body .fht-tbody,
.fht-table-wrapper .fht-tbody {
    /* appearance */
    overflow: hidden;

    /* position */
    position: relative;
    }

    .fht-table-wrapper .fht-fixed-body .fht-tbody,
    .fht-table-wrapper .fht-tbody {
        /* appearance */
        overflow: auto;
        }

        .fht-table-wrapper .fht-table .fht-cell {
            /* appearance */
            overflow: hidden;

            /* size */
            height: 1px;
            }

    .fht-table-wrapper .fht-fixed-column,
    .fht-table-wrapper .fht-fixed-body {
        /* position */
        top: 0;
        left: 0;
        position: absolute;
        }

    .fht-table-wrapper .fht-fixed-column {
        /* position */
        z-index: 1;
        }

/* @end */

.judicialSelection {
    font-size: 13px;
    position: relative;
    min-width: 300px;
    max-width: 500px;
}
.fht-table-wrapper {
    border: 1px solid rgb(200,200,200);
}
/*
.judicialSelection .scrollPane {
    height: 400px;
    overflow: auto;
    border: 1px solid rgb(200,200,200);
}*/
.judicialSelection table {
    width: 100%;
    margin: 0px;
    border-bottom-width: 0px;
    border-top-width: 0px;
}
.judicialSelection .state {
    padding-left: 3px;
}
.judicialSelection .desktop {
    display: inline;
}
.judicialSelection .mobile {
    display: none !important;
}
.judicialSelection h2 {
    font-size: 170%;
    margin-bottom: 5px;
}
.judicialSelection td, .judicialSelection th {
    width: 20%;
    margin: 0px;
    padding: 0px;
    padding-left: 0px;
    padding-right: 0px;
    border-bottom: 1px solid rgb(200,200,200);
    text-align: left;
    font-weight: normal;
}
.judicialSelection td {
    padding-top: 8px;
    padding-bottom: 8px;
}
.judicialSelection th {
    vertical-align: bottom;
}
.judicialSelection td.categories {
    font-weight: bold;
}
.judicialSelection .true {
    color: green;
    font-size: 15px;
}
.judicialSelection .line {
    width:70%;
    background-color:rgb(220,220,220);
    height:5px;
    margin-bottom:3px;
    display:inline-block;
}
.judicialSelection .gubernatorialAppointment.true, .judicialSelection .vacencyGubernatorialAppointment.true {
    color: #1f77b4;
}
.judicialSelection .fromNominatingCommission.true, .judicialSelection .vacencyFromNominatingCommission.true {
    color: #ff7f0e;
}
.judicialSelection .senateApproval.true {
    color: #d62728;
}
.judicialSelection .retentionElection.true {
    color: #2ca02c;
}
.judicialSelection .retentionElection,
.judicialSelection .partisanElection,
.judicialSelection .fromNominatingCommission,
.judicialSelection .vacencyFromNominatingCommission {
    border-left: 1px solid rgb(200,200,200);
    padding-left: 10px;
}
.judicialSelection .partisanElection.true {
    color: #9467bd;
}
.judicialSelection .nonpartisanElection.true {
    color: #7f7f7f;
}
.judicialSelection .question {
    color: rgb(100,100,100);
}

@media screen and (max-width: 450px) {

    .judicialSelection {
        font-size: 11px;
    }

    .judicialSelection .true {
        font-size: 13px;
    }

    .judicialSelection .line {
        width: 60%;
    }

    .judicialSelection .retentionElection,
    .judicialSelection .partisanElection,
    .judicialSelection .fromNominatingCommission,
    .judicialSelection .vacencyFromNominatingCommission {
        padding-left: 3px;
    }

    .judicialSelection .desktop {
        display: none !important;
    }
    
    .judicialSelection .mobile {
        display: inline;
    }
}