@import url(https://fonts.googleapis.com/css?family=Open+Sans:700,600,400,300);

body {
    font-family: "Open Sans";
}

a {
  color: #FF6600;
  text-decoration: none;
  font-weight: 600;
}

p{
    margin: 0px;
}

span{
    font-family: 'Open Sans';

}

#content{
      width: 100%;
}

#content-interior {
    height: 100%;
    margin: 0 auto;
    position: relative;
}

#content-main {
    position: relative;
}

.separador {
    background-color: #eee;
    height: 100%;
    position: absolute;
    right: 315px;
    top: 100px;
    width: 10px;
    display: none;
}

.title{
    float: left;
    line-height: 50px;
}

.title h1 {
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 25px;
    color: #000;
    padding: 0;
    margin: 0;
}

.title span {
    font-weight: 300;
    color: #666;
    font-size: 22px;
}

.header{
    width: 100%;
    border-bottom: 1px solid #ededed;
    padding-top: 5px;
    padding-bottom: 10px;
    height: 50px;
}

.xarxes-socials-header{
    float: right;
    line-height: 50px;
}

#gplus {
    width: 65px;
}

.xarxes-socials-header .social{
    margin-left: 15px;
    float: left;
}

.seccions-left {
    width: 100%;
    margin-bottom: 15px;
}

.ultima-actualitzacio{
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 15px;
    background-color: #FFF;
    color: #000;
}

.actualitzar-dades {
    font-family: "Open Sans";
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 0px;
    text-align: right;
    float: right;
    margin-right: 30px;
    line-height: 12px;
    margin-top: 4px;
}

.seccions-left ul{
      display: inline;
      margin: 0;
      padding: 0;
      text-align: center;
      width: 100%;
      list-style-type: none;
}

.seccions-left li {
    border-right: 1px solid #8F8F8F;
    color: #FFFFFF;
    display: inline;
    font-size: 11px;
    line-height: 1.4em;
    margin-bottom: 0;
    margin-right: 4px;
    margin-top: 0;
    padding-right: 1px;
    float: left;
}

.seccions-left li:last-child{
    border: none;
}

.li-item a, .first-item a {
    color: #8F8F8F;
    font-size: 16px;
    font-family: 'Open Sans';
    font-weight: 600;
    padding-right: 10px;
    padding-left: 10px;
}

.title-item-bold a {
    font-weight: 900;
    color: #000000;
}

 .first-item a {
    padding-left: 0px;
}

#not-right-border {
  border-right: 0 none;
}

.first-item{
    padding-left: 0px;
}

/*PIE*/

#pie_chart_div , #bar_chart_div{
    margin-top: 0px;
    width: 100%;
    float: none;
}

#pie_chart_div {
    margin-top: 30px;
}

#pie_chart_div div, #bar_chart_div div{
    margin: 0 auto;
    float: none;
}

/*TAULA*/

.table-properties{
    float: none;
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 12px;
    clear: both;
    padding: 20px 20px;
}

.bold-table-field{
    font-weight: 600;
}

.table-properties td{

    padding: 5px 0 5px 0;
}

/*.table-properties tr{

    border-bottom: 1px solid #8F8F8F;
}*/

tr.border_bottom td, tr.border_bottom th {
  border-bottom:1pt dotted black;
}

#table-percentatges {
    margin-bottom: 50px;
}

table#table-percentatges th    {
    background-color: #E6E6E6;
    color: #000000;
}

#table-escrutinis, #table-percentatges {
    border-collapse: collapse;
    width: 100%;
}

/*EXTRAS*/

.float-none{
    float: none;
}
.padding-left-0{
    padding-left: 0px;
}

.text-align-right {
    text-align: right;
}
.text-align-left {
    text-align: left;
}


.banner-image{
    width: 100%;
}

.banner-image img{
    display: block;
    margin: auto;
    margin: 20px 0;
}

.ui-widget-content {
    color: #666;
    font-family: "Open Sans";
    font-size: 16px;
}

.ui-widget-content .ui-state-focus {
    background: #ff6600 url("http://download.jqueryui.com/themeroller/images/ui-bg_flat_75_ff6600_40x100.png") repeat-x scroll 50% 50%;
    border: 1px solid #999999;
    color: #212121;
    font-weight: normal;
}

.percent_bar {
    display: table;
    float: left;
    height: 30px;
    padding-top: 20px;
    position: relative;
    width: 570px;
}

.percent_bar > div {
    height: 30px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.percent_no {
    border: 1px solid #CCC;
    color: #CCC;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-collapse: collapse;
}

.percent_si {
    background-color: #119617;
    color: #CFEAD0;
    border-collapse: collapse;
    border: 1px solid #119617;
}

.percent_si.first {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-right: 1px solid #CCC;
}

.vertical_dotted_line
{
    border-left: 1px dashed #000;
    position: absolute;
    left: 50%;
}

.dades {
    padding: 8px 0;
    text-align: center;
    overflow: hidden;
    clear: both;
}

.dades_si {
    color: #119617;
    width: 285px;
    float: left;
}

.dades_no {
    color: #CCC;
    width: 285px;
    float: left;
}

.barra_label {
    float: left;
    font-weight: 600;
    margin-left: 10px;
    padding-top: 23px;
}


 .clearfix:after {
   content: " ";
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}

.content-main-header{
    margin-top: 5px;
}

.content-main-top-left{
    width: 50%;
    padding: 10px 0 10px 0;
    background-color: #FFF;
    float: left;
}

.content-main-top-right{
    width: 50%;
    padding: 10px 0 10px 0;
    background-color: #FFF;
    float: right;
}

.seccions-left.subsection-header-bottom-left{
    width: auto;
    float: left;
}

.seccions-left.subsection-header-bottom-right{
    width: auto;
    float: right;
}

#tuiter{
    float: right;
}

#fb-root{
    float: right;
    margin-left: 15px;
    padding-right: 35px;
}

.info-extra{
    font-size: 12px;
    color: #8F8F8F;
}

.dades_content {
    position: relative;
}

.chart_esquerra {
    width: 50%;
    float: left;
}

.chart_dreta {
    width: 50%;
    float: right;
}

.chart_dreta canvas {
    border-left: 1px solid;
    border-color: #8F8F8F;
}

.chart canvas {
    border-top: 1px solid;
    border-color: #8F8F8F;
}
.chart h2 {
    text-align: center;
}

.titol_escrutini {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 30px;
}

#content-chart-portada {
    width: 70%;
    float: left;
    overflow: hidden;
}
#content-right-portada {
    width: 30%;
    float: right;
    background-color: #444;
    height: 100%;
    padding: 30px;
}

#content-chart-portada h2, #content-right-portada h2 {
    text-align: center;
}

#content-chart-portada h2 {
    font-size: 20px;
}

#content-chart-portada p {
    font-size: 14px;
    font-weight: bold;
    color: #ff6600;
    text-align: center;
}



@media screen and (max-width: 700px) {
    .chart_esquerra {
        width: 100%;
        float: none;
    }

    .chart_dreta {
        width: 100%;
        float: none;
    }

    .chart_dreta canvas {
        border-left: none;
        border-color: #8F8F8F;
    }

    .content-main-top-right, .content-main-top-left {
        width: 100%;
    }

}

@media screen and (max-width: 700px) {
    #content-chart-portada h2 {
       font-size: 15px;
    }
    #content-chart-portada {
        width: 100%;
    }
    #content-right-portada {
        width: 100%;
        background-color: #444;
        padding: 30px;
        height: 140px;
    }
    #content-chart-portada p {
        font-size: 12px;
    }
}

.title-right-portada {
    color: #FF6600;
    font-weight: bold;
    margin-bottom: 10px;
}

.text-right-portada {
    color: #FFF;
}

* { box-sizing: border-box; }

