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

/* * {
    font-family: "Open Sans";
} */

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

p{
    margin: 0px;
}

span{
    font-family: 'Open Sans';

}

#content{
      width: 100%;
}

.content-main-header {
    margin-bottom: 10px;
}

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

#content-main {
    position: relative;
    border-bottom: solid 1px #ccc;
    height: 160px;
}


#main-container {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 768px){
    #main-container {
        padding-left: 0px;
        padding-right: 0px;
    }
}


#content-main-left.content-main-portada {
    min-height: 548px;
    border-right: none;
    width: 650px;
}

.content-main-right-portada {
    position: absolute;
    width: 290px;
    right: 0;
}

.content-main-left, .content-main-right {
    padding-top: 20px;
    width: 475px;    
    background-color: #FFF;
    float: left;
}

.content-main-right{
    float: right;
    border-left: solid 1px #ccc;
    padding-left: 9px;
}

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

.content-main-right.content-main-right-portada a {
    color: #FFF;
}

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

.title h1 {
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 25px;
    color: #F60;
    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: 10px;
}

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

.actualitzar-dades {
    font-family: "Open Sans";
    font-size: 15px;
    font-weight: 400;
    margin-top: 15px;
}

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

.seccions-left li {
    color: #FFFFFF;
    display: inline;
    font-size: 11px;
    line-height: 1.4em;
    margin-bottom: 0;
    margin-right: 2px;
    margin-top: 0;
    padding: 5px 15px;
    float: left;
    background-color: #e5e5e5;
}

.seccions-left li.selected a {
    color: #fff;
}

.seccions-left li.selected {
    background-color: #333;
}

.seccions-left li:last-child {
     background-color: #ff6600;
 }

.seccions-left li:last-child a {
    color: white;
 }

.li-item a, .first-item a {
    color: #8F8F8F;
    font-family: 'Open Sans';    
}

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

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


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

.sub-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;
}

.sub-seccions-left li.selected a {
    font-weight: 600;
}

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

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

.sub-seccions-left span {
    font-size: 16px;
    color: #000;    
}

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

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

.content-main-top-left{
    width: 650px;
    background-color: #FFF;
    float: left;
}

.content-main-top-right{
    width: 290px;
    background-color: #FFF;
    float: right;
}


.form-cerca-municipi{
    padding-top: 10px;
    padding-bottom: 50px;
    margin-right: -20px;
    font-size: 14px;
}

/*.search-municipi-field{
 *     height: 25px;
 *         float: left;
 *             width: 85%;
 *             }*/

.search-municipi-field{
    width: 80%;
}

input.search-municipi-field, 
input.search-municipi-field:focus, 
textarea.search-municipi-field:focus {
    border: 1px solid #8F8F8F;
    float: left;
    height: 25px;
    width: 85%;
}

.text-form-right{
    font-weight: 400;
    font-size: 15px;
    padding-top: 25px;
}

#button-form{
     border: none;
    border-top: 0px;
    padding: 0;

    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(img/button_enter.png) no-repeat;
    background-position: 50% 50%;
    height: 25px;
    width: 30px;
    float: left;
    cursor: pointer;
}

.content-main-right-noticies-link{
    padding-top: 40px;
    font-family: 'Open Sans';
    font-weight: 600;
}

/*PIE*/

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

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

/*TAULA*/

.table-properties{
    margin-top: 55px;
    width: 100%;
    float: none;
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 12px;
    clear: both;
    overflow: auto;
}

.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; 
}

/*EXTRAS*/

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

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

.list-municipis-right{
    width: 100%;   
    clear: both; 
}

.list-municipis-right ul{    
    width: 100%;
    list-style-type: none;
    padding-left: 20px;
    margin-bottom: 0;
    margin-top: 0px;
    padding-top: 15px;
}

.list-municipis-right li {
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 0;
    margin-right: 5px;
    margin-top: 0;
    padding-right: 1px;
    width: 100%;
    text-align: left;
    font-family: 'Open Sans';
    font-weight: 100;
}

.list-municipis-right_bottom_portada {    
    font-size: 15px;    
    padding-top: 5px;
}

.list-municipis-right_portada ul {
    margin-top: 5px;
}

.list-municipis-right_portada li {
    font-size: 19px;
    font-weight: lighter;
    line-height: 32px;
}

#title_cerca {
    padding-top: 20px;
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 15px;
}

.list-municipis-right_portada #title_cerca  {
    line-height: 18px;    
    font-weight: normal;
    font-size: 15px;
}

.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: 5px;
    position: relative;
    width: 570px;
    margin-bottom: 5px;
}

.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: 10px;
    border-bottom-left-radius: 10px;
    border-right: 1px solid #CCC;
}

.vertical_dotted_line
{
    border-left: 2px dashed #000;
    position: absolute;
    left: 50%;
    height: 40px !important;
    bottom: -5px;
} 

.percent {
    color: #CFEAD0;
    border-collapse: collapse;
}

.percent_bar .percent:nth-child(2),
.percent_bar .percent:nth-child(3)
 {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-right: 1px solid #CCC;
}

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

.dades_si {
    color: #000;    
}

.dades_no {
    color: #CCC;
}

.barra_label {
    font-weight: 600;
    padding-top: 8px;
}

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

#pie_chart_div > div > div:nth-child(1) > div > svg > g > g > g:nth-child(2) > text {
    display: none;
}

.text_2016 {
    /* position: absolute;
    top: 100px;
    left: 200px; */
    border-bottom: 1px solid #ccc;
    text-align: center;
    padding-bottom: 10px;
    margin-top: 0;
}

.text_2015 {
    /* position: absolute;
    top: 100px;
    left: 700px; */
    border-bottom: 1px solid #ccc;
    text-align: center;
    padding-bottom: 10px;
    margin-top: 0;
}


/* Disseny 28-A 2019  */

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.menu li {
    display: inline;
}

ul li.selected a {
    color: #8F8F8F;
}

ul.menu li+li.li-item:before {
  content: '|';
  color: #ff6600;  
}
ul.menu.menu-black li+li:before {
  color: #333;
  padding: 0px;
  margin: -2px; 
}
ul.menu li img {
    width: 20px;
}

ul .li-item a {
    color: #000;
}

form {
    display: inline;
}

.text-vilaweb {
    color: #F60 !important;
    font-weight: 600;
    font-size: 16px;
}
.text-vilaweb-regular {
    color: #F60 !important;
    font-weight: 400;
    font-size: 18px;
}
.text-vilaweb-links {
    color: #F60 !important;
    font-weight: 200;
    font-size: 15px;
}
.text-vilaweb-links-mobile {
    color: #F60 !important;
    font-weight: 600;
    font-size: 15px;
}
.text-vilaweb-black {
    color: #777 !important;
    font-weight: 400;
    font-size: 16px;
}
.text-vilaweb-blackselected {
    color: #000 !important;
    font-weight: 800;
    font-size: 16px;
}
.custom-select.selector-main{
    font-size: 14px;
    color: #666;
    font-weight: 600;
    width: fit-content
}
@media (max-width: 768px){
    .custom-select.selector-main{
        width: 100% !important;
    }
}
.custom-select.selector-secondary,
input.selector-secondary{
    font-size: 14px;
    color: #999;
    font-weight: 400;
}
.color-33{
    color:#333;
}

.bg-vilaweb {
    background-color: #F60 !important;
}

.btn-vilaweb {
    background-color : #F60 !important;
    color            : #FFF !important;
}

.block-portada-menu{
    background: #555;
    color:#fff;
    padding: 25px 25px!important;
}
.block-portada-menu ul .li-item a{
    color: #fff;
}

.block-title{
    font-size: 18px;
    line-height: 22px;
}

.percent_bar > div.percent-visible{
        display: none;
    }
@media (min-width: 768px){
    .percent_bar > div.percent-visible{
        display: table-cell;
    }

    .titol_grafic {
        margin-left: 50px;
    }

    .block-portada-title-mobile {
        display: none;
    }

    .block-portada{
        background: #fff;
        padding: 25px 15px 0px 15px!important;
    }
}

.block-portada-title-mobile {
    padding-top: 25px !important;
    padding-bottom: 30px !important;
    padding-left: 15px;
}

h3 {
    font-size: 22px !important;
}
h3 a,
h3 a:hover{
    text-decoration: none;
    color: #333;
}

h5 {
    font-size: 18px !important;
}
.main-left-container{
    padding-left: 0!important;
    padding-right: 0!important;
}
.main-right-container {
    padding-left: 10px!important;
    padding-top: 18px;
}
.main-right-container li.nav-item a {
    color: #ff6600;
    font-weight: 600;
    font-size: 16px;
    padding-bottom: 2px;
    padding-left: 0;
    line-height: 1em;
}

.main-right-container .xxss img{
    width: 30px;
    height: auto;
    margin-right: 5px;
}

.text-escrutini{
    font-size: 15px;
    font-weight: 200;
    color: #666; 
    margin-top: -24px;
}

.legend { list-style: none; line-height: 30px;
    font-size: 15px;
    font-weight: 200;
    color: #333;}
.legend li { float: left; margin-right: 15px; }
.legend span { float: left; width: 15px; height: 15px; margin-right: 5px; margin-top: 6px;}

.mb-35{
    margin-bottom: 35px;
}
.mb-25{
    margin-bottom: 25px;
}

.main-left-container h3{
    margin-top: 15px!important;
}

.gpie-chart{
    margin-bottom: -5px!important;
}

.gbar-chart{
    margin-bottom: 18px!important;
}

@media (max-width: 768px) {
    h3{
        font-size: 17px!important;
    }
    .text-escrutini{
        /* margin-top: 5px; */
        font-size: 13px;
    }
    .table-properties{
        margin-top:40px;
    }    
    .main-left-container h3{
        font-size: 18px!important;
    }
    .gpie-chart{
        margin-bottom: 0!important;
    }

    #buscador-localitats .form-group {
        margin-bottom: 7px;
    }
}

.row {
    margin-left: auto !important;
    margin-right: auto !important;
}

.col {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

@media (max-width: 768px) {
    .tipus-grafic-percentatge .text-box {
        display: none;
    }
}

.responsive-rows {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.col1{
    max-width: 55%;
    margin-right: 40px;
    padding: 0 !important;

}
.col2{
    max-width: 30%;
    padding: 0  !important;
    padding-left: 70px !important;
    border-left: 1px solid rgb(175,178,182);
}

@media (max-width: 768px) {
    .responsive-rows {
        display: block;
    }
    .col1{
        max-width: 100% !important;
        margin-bottom: 30px;
        margin-right: 0px;
    }
    .col2{
        max-width: 100% !important;
        padding-left: 0px !important;
        border-left: none;
    }
    .o-container {
        margin-top: -5px !important;
        padding-top: 0px !important;
        align-self: center;
    }
    .sm\:justify-content-center {
        justify-content: center;
    }
}

.bullet {
    position: relative;
    display: inline-flex;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: rgba(255,102,0,1);
    margin-right: 10px;
}

.text-13{
    font-size: 13px !important;
}

.text-16{
    font-size: 15px;
}

.mt-10px{
    margin-top: 10px;
}


.form-cerca-municipi{
    padding-top: 10px;
    padding-bottom: 50px;
}

/*.search-municipi-field{
 *     height: 25px;
 *         float: left;
 *             width: 85%;
 *             }*/

.search-municipi-field{
    width: 80%;
}

input.search-municipi-field, 
input.search-municipi-field:focus, 
textarea.search-municipi-field:focus {
    border: 1px solid #8F8F8F;
    float: left;
    height: 25px;
    width: 75%;
}

.text-form-right{
    font-weight: 400;
    font-size: 15px;
    padding-top: 25px;
}

#button-form{
     border: none;
    border-top: 0px;
    padding: 0;

    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(img/button_enter.png) no-repeat;
    background-position: 50% 50%;
    height: 25px;
    width: 30px;
    float: left;
    cursor: pointer;
}

.mt-30px{
    margin-top: 30px;
}

.roboto{
    font-family: 'Roboto', sans-serif !important;
}

.mw-80{
    max-width: 80%;
}

.o-container{
    font-size: 18px;
    color: #999;
    font-weight: 600;
    padding-top: 5px;
}

html.dark .text-vilaweb-blackselected, html.dark .color-33, html.dark .text-escrutini, html.dark .legend, html.dark .table {
    color: rgb(252, 252, 252) !important;
}

html.dark body, html.dark .ultima-actualitzacio {
    background-color: rgba(21,21,21,1);
    color: rgb(252, 252, 252);    
}

html.dark svg text {
    fill: rgb(252, 252, 252) !important;
}

hr {
    background-color: black;
}
html.dark hr {
    background-color: rgb(252, 252, 252);
}

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

@media (max-width: 768px) {
    .title-align{
        text-align: center;
    }
}