@import url("graph-barras-ru17.general.css");
@import url("graph-barras-ru17.colors.css");

/***general***/
.resultadosBox .grid .secBox {bottom:0;margin-bottom:2rem;text-align:center;border-top:0 solid rgba(232, 232, 232, 0);}
.resultadosBox .grid .secBox span {font-family: 'Roboto',arial,sans-serif;font-size:240%;color:#5a5b5c;}
.resultadosBox .grid .gridBox .cell .graphBox{padding-top:3rem;}
.resultadosBox .grid .gridBox {border:0.1rem solid #CCC;padding:1rem 2rem;}
.resultadosBox section.grid {padding:4em;}

.graphBox .barGraph .bar1 .candida {top:-2.5rem;}
.graphBox .num_vot strong, .graphBox .num_vot span {font-size:1.8rem;font-weight:500;}
.graphBox .barGraph  .num_vot {left:100%;font-size:1.7rem;line-height: 1.1;}
.graphBox .barGraph  .bar2 .num_vot {bottom:-.25rem;}
.graphBox .barGraph  .bar1 .num_vot{bottom:0;}
    

/**titular resultados**/
.graphBox .titBox{position:absolute;top:2rem;left:0;}


/* ajustes para portada */
.scoreGB .grid {padding:1rem 0;}
.scoreGB .graphBox .barGraph .bar1 .candida .imaBox .ima {width:5.6rem;height:5.6rem;}
.scoreGB .secBox {width:28%;padding:2em 1em 0 4em;float:left;bottom:0;}
.scoreGB .gridBox  {width:72%;float:left;}
.scoreGB .secBox span {font-family:'Roboto';float:left;clear:both;font-size:2rem;line-height:2.2rem;}
.scoreGB .secBox span:first-child {color:#476190;font-weight:400;}
.scoreGB .secBox .titaux {text-transform:initial;font-size:1.6rem;color:#737578;}
.scoreGB .titBox {bottom:0;top:auto;}
.scoreGB .cell {padding:0;}
.scoreGB .graphBox .barGraph {padding-left:0;float:right;width:100%;}
.scoreGB .graphBox .titBox {width:27%;font-size:1.8rem;text-align:left;display:none;} /*tit de la info*/
.scoreGB .barGraph div {width:100%;}
.scoreGB .barGraph div .TORY,.scoreGB .barGraph div .CON, .scoreGB  .barGraph div .LAB, .scoreGB  .barGraph div .SNP, .scoreGB  .barGraph div .LD, .scoreGB  .barGraph div .UKIP/*,.scoreGB  .barGraph div*/ 
 {display:inline-block;width:20%;float:left;padding:0 0.8rem;/*border-right: 0.1rem solid rgb(200,198,196);*/}
.scoreGB  .barGraph div .UKIP,.scoreGB  .barGraph div .DUP {border-right:0;}
.scoreGB .graphBox .bar1 {width:0 !important;}
.scoreGB .graphBox .bar2 {display:none;}
.scoreGB .graphBox .barGraph .bar1 {display:inline-block;float:left;}
.scoreGB .graphBox .barGraph .bar1 .candida {position:relative;top:0;right:auto;}
.scoreGB .graphBox .barGraph .bar1 .candida em + span {display:none;}
.scoreGB .graphBox .barGraph .bar1 .candida .party {width:0;overflow:hidden;}
.scoreGB .graphBox .num_vot span + span:before {content:none;}
.scoreGB .graphBox .num_vot span + span {display:block;font-size:1.6rem;}
.scoreGB .graphBox .barGraph .TORY .imaBox:after {content:'TORY';display:block;font-size:1.6rem;line-height:1.2;font-weight:500;color:#05a1e1;position:absolute;left:6.2rem;width:100%;height:3rem;}
.scoreGB .graphBox .barGraph .CON .imaBox:after {content:'TORY';display:block;font-size:1.6rem;line-height:1.2;font-weight:500;color:#05a1e1;position:absolute;left:6.2rem;width:100%;height:3rem;}
.scoreGB .graphBox .barGraph .LAB .imaBox:after {content:'LAB';display:block;font-size:1.6rem;line-height:1.2;font-weight:500;color:#dd3a10;position:absolute;left:6.2rem;width:100%;height:3rem;}
.scoreGB .graphBox .barGraph .SNP .imaBox:after {content:'SNP';display:block;font-size:1.6rem;line-height:1.2;font-weight:500;color:#f5d62d;position:absolute;left:6.2rem;width:100%;height:3rem;}
.scoreGB .graphBox .barGraph .LD .imaBox:after {content:'LD';display:block;font-size:1.6rem;line-height:1.2;font-weight:500;color:#fc970a;position:absolute;left:6.2rem;width:100%;height:3rem;}
.scoreGB .graphBox .barGraph .UKIP .imaBox:after {content:'UKIP';display:block;font-size:1.6rem;line-height:1.2;font-weight:500;color:#9f77ae;position:absolute;left:6.2rem;width:100%;height:3rem;}
.scoreGB .graphBox .barGraph .DUP .imaBox:after {content:'DUP';display:block;font-size:1.6rem;line-height:1.2;font-weight:500;color:#8D2B45;position:absolute;left:6.2rem;width:100%;height:3rem;}


.scoreGB .graphBox .barGraph div .OTROS {display:none;}

.scoreGB .graphBox .candida  {display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;flex-flow: row wrap;}
.scoreGB .graphBox .candida .party {-webkit-order:0;}
.scoreGB .graphBox .candida .imaBox {-webkit-order:1;margin:0 auto;}
.scoreGB .graphBox .barGraph .num_vot {top:1.9rem;left:5.8rem;}


.scoreGB .dummy {max-height:10rem;width:auto;}

/*ajustes cajon resultados*/
.resultadosBox  .g2.simply .cell + .cell {padding:0;}