/****** Estilos comunes y overrides ******/
body{
    margin: 0;
    padding: 0;
    background-color: #F5F0E5;
}
.left{
    text-align: left;
}
.right{
    text-align: right;
}
.center{
    text-align: center;
}
.hidden{
    display: none;
}
ul{
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}
ul li{
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}
.alerta{
    font-weight: bold;
    background-color: #BE841C;
    color:            #000;
}


/****** NavBar ******/
#navbar{
    padding-top: 10px;
    height: 40px;
    width: 100%;
    background-color: #F2AB29;
}
#navbar .espacio{
    width: 1100px;
    margin: 0 auto;
    height: 100%;
}
#navbar .espacio p{
    margin: 0;
    padding: 0;
}


/****** CePrep ******/
#ceprep{
    display: block;
    position: relative;
    width: 1100px;
    min-height: 475px;
    margin: 0 auto;
    background-image: url('../assets/img/cabecera.png');
    background-position: 0 0px;
    background-repeat: no-repeat;
    padding: 95px 0 35px 0;
    font-family: Palatino;
}
#logo{
    position: absolute;
    top: 0px;
    right: 0;
    z-index: 1000;
    width: 159px;
    height: 129px;
    background-image: url('../assets/img/cabecera_logo.png');
    background-position: top left;
    background-repeat: no-repeat;
}
#loading{
    margin: 0 auto;
    text-align: center;
    font-family: monospace;
    font-size: 20px;
    background-color: #F5F0E5;
}


/****** Encabezado ******/
#encabezado{
    display: block;
    position: relative;
    width: 100%;
    height: 180px;
}
#encabezado ul{
    display: block;
}
#encabezado ul li{
    display: block;
    cursor: pointer;
}


/* Botones de Urna electrónica y tradicional */
#encabezado ul#UeUt{
    margin: 0 0 0 15px;
}
#encabezado ul#UeUt li{
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
    background-image: url('../assets/img/botonesUeUt.png');
    background-repeat: no-repeat;
    margin: 0 0 15px 0;
}
#encabezado ul#UeUt li:last-child{
    margin: 0;
}
#encabezado ul#UeUt li#Ue{
    background-position: -80px 0px;
}
#encabezado ul#UeUt li#Ue:hover{
    background-position: -160px 0px;
}
#encabezado ul#UeUt li#Ue.selected{
    background-position: 0px 0px;
}
#encabezado ul#UeUt li#Ut{
    background-position: -80px -80px;
}
#encabezado ul#UeUt li#Ut:hover{
    background-position: -160px -80px;
}
#encabezado ul#UeUt li#Ut.selected{
    background-position: 0px -80px;
}
#encabezado ul#UeUt li p{
    display: none;
}


/* Botones de Gobernador, Munícipes, Diputados */
#encabezado ul#GoMuDi{
    display: block;
    position: absolute;
    top: 0;
    left: 105px;
}
#encabezado ul#GoMuDi li{
    display: block;
    position: relative;
    width: 191px;
    height: 54px;
    background-image: url('../assets/img/botonesGoDiMu.png');
    background-repeat: no-repeat;
    margin-bottom: 5px;
}
#encabezado ul#GoMuDi li#g{
    background-position: 0px 0px;
}
#encabezado ul#GoMuDi li#g:hover{
    background-position: -191px 0px;
}
#encabezado ul#GoMuDi li#g.selected{
    background-position: -382px 0px;
}
#encabezado ul#GoMuDi li#d{
    background-position: 0px -54px;
}
#encabezado ul#GoMuDi li#d:hover{
    background-position: -191px -54px;
}
#encabezado ul#GoMuDi li#d.selected{
    background-position: -382px -54px;
}
#encabezado ul#GoMuDi li#m{
    background-position: 0px -108px;
    margin: 0;
}
#encabezado ul#GoMuDi li#m:hover{
    background-position: -191px -108px;
    margin: 0;
}
#encabezado ul#GoMuDi li#m.selected{
    background-position: -382px -108px;
}
#encabezado ul#GoMuDi li p{
    display: none;
}


/****** Alerta ******/
.alertaCeprep{
    position:         absolute;
    top:              50px;
    left:             50%;
    margin-left:      -200px;
    padding:          20px 10px;
    border:           1px solid #BDA489;
    width:            410px;
    background-color: #BE841C;
    color:            #000;
    font-size:        15px;
    font-weight:      bold;
    text-align:       center;
    opacity:          0.9;
    filter:           alpha(opacity=90);
    -moz-opacity:     0.9;
    font-family:      monospace;
}


/****** Informativo ******/
#informativo{
    display: block;
    position: absolute;
    width: 280px;
    height: 173px;
    top: 1px;
    left: 310px;
    padding: 0 0 0 20px;
    background-image: url('../assets/img/fondoGrafica.png');
    color: #F5F0E5;
    border: solid #666;
    border-width: 0 0 2px 2px;
}
#informativo h1{
    border-bottom: 2px solid #666;
    font-size: 18px;
    margin: 5px 5px 0 5px;
}
#informativo h2{
    font-size: 15px;
    padding: 0 0 0 20px;
    margin: 0 0 10px 0;
}
#informativo p{
    margin: 0 0 2px 0;
    font-size: 14px;
}
#informativo strong{
    display: inline-block;
    width: 190px;
}


/****** Waiting ******/
#waitingDisplay{
    width: 800px;
    margin: 0 auto;
    background-image: url('../assets/img/cabecera.png');
    background-position: top left;
    background-repeat: no-repeat;
    height: 400px;
    padding-top: 120px;
    text-align: center;
}
#waitingDisplay p.big{
    margin: 0;
    padding: 0;
    font-size: 30px;
}
#waitingDisplay .browsers{
    width: 450px;
    margin: 50px auto 0 auto;
    text-align: justify;
}


/****** Gráficas ******/
#graficas{
    display: block;
    position: absolute;
    width: 470px;
    height: 173px;
    top: 1px;
    left: 625px;
    border: solid #666;
    border-width: 0 0 2px 2px;
    background-image: url('../assets/img/fondoGrafica.png');
}
#graficas ul li{
    display: block;
    float: left;
    font-size: 12px;
    width: 50px;
    height: 170px;
    text-align: center;
    cursor: default;
}
#graficas ul li.leyenda{
    display: block;
    position: absolute;
    width: 100%;
    font-size: 15px;
    font-weight: bold;
    color: #F5F0E5;
    top: 5px;
    text-align: center;
    cursor: default;
}
#graficas .nombrePartido{
    display: block;
    position: absolute;
    width: 100%;
    bottom: 0px;
    padding: 0;
    margin: 0 auto;
    font-size: 8px;
    text-align: center;
}
#graficas .porcentaje{
    display: block;
    position: absolute;
    width: 100%;
    top: -15px;
    margin: 0;
    padding: 0;
    font-size: 10px;
    text-align: center;
    color: #f5f5f5;
}
#graficas .barra{
    display: block;
    position: absolute;
    background-color: transparent;
    width: 100%;
    height: 0;
    left: 0;
    bottom: 25px;
    background-image: url('../assets/img/fondoGraficaBarra.png');
    background-position: bottom center;
    background-repeat: repeat-y;
    border-bottom: 2px solid #F5F0E5;
}
#spanVersion{
    position: absolute;
    padding: 0 10px;
    top: -30px;
    left: 50px;
    font-size: 12px;
    color: #000;
    cursor: crosshair;
}


/****** Barra central con leyendas *****/
#leyendas{
    display: block;
    position: relative;
    margin: 10px 0 0 0;
    font-size: 12px;
    height: 22px;
    line-height: 22px;
    background-color: #ECE5D7;
}
#leyendas li{
    display: block;
    float: left;
    margin: 0 0 0 10px;
    padding: 0;
    height: 22px;
}
#leyendas li#botonRecarga{
    float: right;
    cursor: pointer;
}


/****** Tabla con el detalle de los resultados ******/
#tablaContainer{
    display: block;
    position: relative;
    font-size: 12px;
}
table{
    display: table;
    table-layout: fixed;
    width: 100%;
    border-collapse:collapse;
    border-spacing: 0;
    empty-cells: show;
    border: none;
}
.tablaPrep{
    background-color: #eee;
}
.tablaPrep tr{
    height: 20px;
}
.tablaPrep th,
.tablaPrep td{
    border: 1px solid #BDA489;
    padding: 0 2px;
    line-height: 20px;
    white-space: nowrap;
}
.tableScroller{
    position: relative;
    max-height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
    clear: both;
}
.tableScroller.scrollerDatos{
    min-height: 215px;
}
#tablaHeader{
    border: none;
    background-color: #DBDBDB;
    background-image: url('../assets/img/fondo_tabla_header.png');
    overflow: hidden;
}
#tablaHeader th{
    font-weight: bold;
    text-align: center;
    height: 45px;
    line-height: 20px;
    vertical-align: bottom;
}
#tablaHeader th .partido{
    margin-bottom: 3px;
}
#tablaDatos tr.odd{
    background-color: #fff;
}
#tablaDatos tr:hover{
    background-color: #C3891E;
    color: #F5F0E5;
}
#tablaDatos tr.general{
    cursor: pointer;
}
#tablaFooter{
    width: 100%;
    font-family: monospace;
    border: 1px solid #BDA489;
    height: 20px;
    line-height: 20px;
    background-color: #CECECE;
}
#tablaFooter span{
    margin-left: 10px;
    font-size: 16px;
}
#tablaFooter strong{
    margin-right: 10px;
}
#middleLoading{
    display: block;
    position: absolute;
    top: 3px;
    right: 2px;
}
#tablaFooter #botonRegresar{
    display: none;
    position: absolute;
    background-color: #F2AB29;
    padding: 0 5px;
    font-weight: bold;
    top: 0;
    right: 25px;
    font-size: 12px;
    cursor: pointer;
    border: solid #BDA489;
    border-width: 0 1px 0 1px;
}
#tablaFooter #botonRegresar:hover{
    background-color: #C3891E;
}


/****** Pie del ceprep ******/
#pie{
    display: block;
    position: absolute;
    bottom: 0;
    height: 25px;
    border-top: 2px solid #BDA489;
}
#pie p{
    font-size: 12px;
    text-align: justify;
    margin: 0;
    padding: 0;
}
#ceprep #barraCounter{
    height: 3px;
    background-color: #BDA489;
    width: 100%;
    border: none;
}


/****** Sprite de iconos de estatus ******/
.icon{
    display: block;
    float: left;
    background-image: url('../assets/estatuses.png');
    background-repeat: no-repeat;
    background-position: top left;
    margin: 0 2px;
}
.icon.prep{
    width: 20px;
    height: 20px;
    background-position: 0px -120px;
}
.icon.ceprep{
    width: 20px;
    height: 20px;
    background-position: 0px 0px;
}
.icon.distrital{
    width: 20px;
    height: 20px;
    background-position: 0px -40px;
}
.icon.noregistra{
    width: 40px;
    height: 20px;
    background-position: 0px -100px;
}
.icon.urnatradicional{
    width: 17px;
    height: 20px;
    background-position: 0px -160px;
}
.icon.urnaelectronica{
    width: 17px;
    height: 20px;
    background-position: 0px -140px;
}
.icon.concobertura{
    width: 20px;
    height: 20px;
    background-position: 0px -20px;
}
.icon.excedeboletas{
    width: 20px;
    height: 20px;
    background-position: 0px -60px;
}
.icon.inconsistencia{
    width: 20px;
    height: 20px;
    background-position: 0px -80px;
}
.icon.sincaptura{
    width: 20px;
    height: 20px;
    background-position: 0px -180px;
}
.icon.cargando{
    width: 20px;
    height: 20px;
    background-position: 0px -200px;
}


/****** Sprite de partidos ******/
.partido{
    display: block;
    margin: 0 auto;
    background-image: url('../assets/partidos.png');
    background-repeat: no-repeat;
    background-position: top left;
}
.partido.pan{
    width: 20px;
    height: 20px;
    background-position: 0px -120px;
}
.partido.pri{
    width: 20px;
    height: 20px;
    background-position: 0px -160px;
}
.partido.prd{
    width: 20px;
    height: 20px;
    background-position: 0px -140px;
}
.partido.pt{
    width: 20px;
    height: 20px;
    background-position: 0px -200px;
}
.partido.pvem{
    width: 20px;
    height: 20px;
    background-position: 0px -220px;
}
.partido.mc{
    width: 20px;
    height: 20px;
    background-position: 0px -40px;
}
.partido.nal{
    width: 20px;
    height: 20px;
    background-position: 0px -100px;
}
.partido.pripvem{
    width: 40px;
    height: 20px;
    background-position: 0px -180px;
}
.partido.ptmc{
    width: 40px;
    height: 20px;
    background-position: 0px -200px;
}
.partido.coalpripvem{
    width: 40px;
    height: 40px;
    background-position: 0px 0px;
}
.partido.coalptmc{
    width: 40px;
    height: 40px;
    background-position: 0px -60px;
}
.partido.noreg{
    width: 20px;
    height: 20px;
    background-position: 0px -240px;
}
.partido.nulos{
    width: 20px;
    height: 20px;
    background-position: 0px -260px;
}

