/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/
/******PAGINA DETTAGLIO VOTAZIONE COMUNE ******/
.elezione-pl1-wrap > .wpb_column,
.elezione-pl2-wrap > .wpb_column,
.elezione-pl3-wrap > .wpb_column{
    padding:0
}
table.elezione-pl1-table,
table.elezione-pl2-table,
table.elezione-pl3-table{
    margin-bottom: 18px;
}
.uncode_text_column.cbutton {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.uncode_text_column.cbutton span{
    margin:0
}
.uncode_text_column.cbutton span{
    width:calc(50% - 18px);
}
table.elezione-pl1-table tr:nth-child(even){
    background:#f1f1f1
}
span.nolink {
    padding: 16px 36px;
    text-align: center;
}
.elezione-partiti-grid {
    display: flex;
    align-items: flex-start;
	    flex-wrap: wrap;
	gap: 9px;
}
.uncode_text_column.cbutton span {
    width: 100%;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;

}
.uncode_text_column.cbutton {
    margin-top: 9px !important;
    padding-top: 9px;
    border-top: 1px solid #a2a0a0;
}
.elezione-partiti-grid > *{
    
}

.party-item {
    width: 55px !important;
    height: 55px;
    min-width: 55px;
    max-width: 55px;
}
a.party-item{
    display: inline-block;
    line-height: 0;
    border: 2px solid #000;
    border-radius: 100%;
    width: 55px !important;
    height: 55px;
    min-width: 55px;
    overflow: hidden;
    transition: all 400ms ease;
    max-width: 55px;
}

a.party-item img{
    transition:all 300ms ease;
}
a.party-item:hover {
    border: 2px solid #fff;
}
a.party-item:hover img{
   transform: scale(1.1);
}
.glb-elezioni-legend{
	display:none
}
.liste_elezione .elezione-pl1-wrap{
    margin-bottom:36px;
    padding-bottom:36px;
    border-bottom:1px solid #f1f1f1
}
.liste_elezione .elezione-pl1-wrap:last-child{
    margin-bottom:36px;
    padding-bottom:36px;
    border-bottom:0px solid #f1f1f1
}
/****** SCHEDA PERSONA *****/
table.glb-elezioni-persona-dettaglio.glb-elezioni-table thead {
    background: #000;
    color: #fff;
}
table.glb-elezioni-persona-dettaglio.glb-elezioni-table tr:nth-child(even){
    background:#f1f1f1;
}
.glb-elezioni-table tr.glb-row-link { cursor: pointer; }
    .glb-elezioni-table tr.glb-row-link:hover td { background: rgba(0,158,249,0.08); }
    .glb-elezioni-table tr.glb-row-link:focus td { outline: 2px solid rgba(0,158,249,0.08); outline-offset: -2px; }
.inline_botton .wpb_wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
}
.inline_botton .wpb_wrapper > :nth-child(5) {
  grid-column: 2;
}
.inline_botton .wpb_wrapper span.btn-container.btn-block,
.inline_botton .wpb_wrapper span.btn-container.btn-block a{
    padding: 0;
    margin-top: 0;

}

.inline_botton .wpb_wrapper span.btn-container.btn-block a{

    border: 1px solid #777676;
}
.inline_botton .wpb_wrapper span.btn-container.btn-block a:hover{

    background:  #777676;
  color:#fff
}
.glb-elezioni-select {
    color: #ffffff !important;
    background-color: #006cff !important;
    border-color: #006cff !important;
    font-size: 10px !important;
    padding: 11px 32px 11px 26px!important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 10em;
    /* display: ruby; */
    width: initial !important;
    max-width: initial;
    min-width: initial;
}
a.comune_link {
    background: #016dff;
    color: #fff;
    border-color: #006cff !important;
    font-size: 10px !important;
    padding: 11px 32px 11px 26px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 10em;
}

/******* mappa ********/
.tornata_select {
    border: 2px solid #da3833 !important;
}
canvas.leaflet-zoom-animated {
    height: inherit !important;
}
.leaflet-container {
  touch-action: auto !important;
}
.glb-legend-item[data-active="1"]  {
    background: #eaeaea;
    border-radius: 3px;
    /* color: #fff; */
    border: 1px solid #c8c7c7;
    box-shadow: 1px 1px 2px 0px #33333336;
    font-weight: 700;
}

.glb-elezioni-map-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.glb-elezioni-map-wrap {
    position: relative;
	    background: #f6f4f4;
}
.glb-elezioni-map-filter {
    width: 100%;
}
div[id^="map_elezioni_"] {
  width: 66% !important;
}
.wrapper-legend_detail { 
    width: 34%;
}
.wrapper-legend_detail h4 ,
.wrapper-legend_detail h5{
    margin-top: 0;
}
.wrapper-legend_detail .glb-elezioni-legend h4{
	display:none;

}
.wrapper-legend_detail .glb-elezioni-detail h4{
	margin-bottom:8px
}
.glb-elezioni-legend,
.glb-elezioni-detail {
    background: #f6f4f4;
    border-radius: 0;
    padding: 18px;
}
.legend_info {
    font-size: 11px;
    font-weight: 500 !important;
}
span.legend_winner {
    display: none !important;
}
.glb-legend-winner {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 10px;
    background: transparent;
    border: 0;
    padding: 2px 12px;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    border: 1px solid #333;
    border-radius: 2px;
}
.glb-legend-winner.glb-legend-item[data-active="1"]  {
    background: #db3832;
    /* color: #fff; */
    border: 1px solid #c8c7c7;
    box-shadow: none;
    font-weight: 700;
	color:#fff;
}
.glb-elezioni-detail {
    /*margin-top: 14px;*/
}

.glb-legend-list-wrapper {
    margin-top: 9px;
    display: flex;
    flex-wrap: wrap;
	justify-content: space-between;
}
a.glb-legend-item{
    width: calc(50% - 4px);
    font-size:12px;
	display:flex; 
	align-items:center; 
	gap:8px; 
	margin:4px 0 0; 
	background:transparent; 
	border:0; 
	padding:2px 0; 
	cursor:pointer; 
	text-align:left;
	align-items: flex-start;
	font-weight: 600;
}

a.glb-legend-item span:nth-child(2){
    width: calc(100% - 14px);
    
}
.box-elezione{ 
	display:none;
}
.detail_main_info > div{
    display:flex;
    justify-content: flex-start;
    gap: 0;
    flex-wrap:wrap;
    margin-bottom: 3px;
    font-size: 14px;
}
.detail_main_info > div > div{
    width:33%
}
.glb-elezioni-detail table {
    border: 0;
}
.glb-elezioni-detail table th,
.glb-elezioni-detail table td{
    border-left: 0;
	font-size: 14px;
	padding: 4px 6px !important;
}
.info_cons {
    font-size: 13px;
}
/************** PAGINA DETTAGLIO *********/

/* Accordion vittorie partito */
.glb-accordion-partito-vittorie .glb-acc-item{
  border: 1px solid rgb(234 234 234);
  overflow: hidden;
  border-width: 1px 0 0;
}

.glb-accordion-partito-vittorie .glb-acc-btn{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  color: #303133;
  line-height: 21px;
}

.glb-accordion-partito-vittorie .glb-acc-btn:focus{
  outline: 2px solid rgba(0,158,249,.35);
  /* outline-offset: 2px; */
}

.glb-accordion-partito-vittorie .glb-acc-panel{
  display: none;
  padding: 0;
}

.glb-accordion-partito-vittorie .glb-acc-item[data-open="1"] .glb-acc-panel{
  display: block;
}

.glb-accordion-partito-vittorie .glb-acc-chevron{
  transition: transform .2s ease;
}

.glb-accordion-partito-vittorie .glb-acc-item[data-open="1"] .glb-acc-chevron{
  transform: rotate(180deg);
}

.glb-accordion-partito-vittorie .glb-acc-list{
  margin: 36px 0;
  padding: 0 !important;
  list-style: none !important;
  display: grid;
  column-gap: 3px;
  flex-wrap: wrap;
  justify-content: space-around;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.glb-accordion-partito-vittorie .glb-acc-list li{
  width: 100%;
  margin: 0 0 9px;
  height: auto;
  line-height: normal;
  /* width: 16.5%; */
  display: flex;
  /* align-items: stretch; */
}
.glb-accordion-partito-vittorie .glb-acc-list li a{
  line-height:normal !important;
  text-align:center;
  display:inline-block;
  white-space: normal;
  display: flex;
  align-items: center;
  align-content: space-between;
  justify-content: center;
}
.glb-accordion-partito-vittorie .glb-acc-item:last-of-type {
    border-width: 1px 0 !important;
}

.glb-acc-item[data-open="1"] button.glb-acc-btn {
  border-bottom: 1px solid rgb(234 234 234);
}
.liste_elezione .wpb_wrapper {
    overflow-x:scroll;
}
/******* MAP OVERLAY ********/
.mapoverlay {
    position: absolute;
    width: 34%;
    height: calc(100% - 56px);
    background: #da3833;
    z-index: 9999;
    color: #fff;
    display: table;
    right: 0;
    margin-top: 56px;
}

.mapoverlay > div {
    display: table-cell;
    vertical-align: top;
	padding-top: 36px;
	
}



.mapoverlay ul {
    list-style: none !important;
    max-width: 400px;
    margin: 0 auto;
	padding-right: 18px !important;
    list-style-type: decimal !important;
    list-style-position: inside !important;
}
.mapoverlay ul li {
    margin-bottom: 18px;
    line-height: 18px;
    padding-bottom: 18px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid #ffffff87;
}
.mapoverlay ul li:last-child{
	border-bottom: 0px solid;
}
/***** GALLERIE  NASCOSTE IN PARTENZA VEDI js ****/
#galleria{
	display: none
}
/********** ELETTE **********/
table.glb-riepilogo-lista.elezione-pl1-table th {
    background: #333;
    color:#fff
}
table.glb-riepilogo-lista.elezione-pl1-table tr:nth-child(odd) {
    background: #dcdcdc;
}
table.glb-riepilogo-lista.elezione-pl1-table tr th:nth-child(1) {
    max-width: 200px;
}

table.glb-riepilogo-lista.elezione-pl1-table {
    table-layout: fixed;
    width:100%;
    margin-top: 0;
}

h3.glb-riepilogo-comune {
    font-size: 16px;
    padding: 9px 18px;
    background: #d22a33;
    color: #fff;
}

h2.glb-riepilogo-tornata {
    color: #d22a33;
}
tr.glb-riepilogo-item a {
    font-weight: 700;
}

h2.glb-riepilogo-tornata:before {
    content: "\e0c3";
    font-family: 'uncodeicon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 45px;
    padding-right: 13.5px;
}
h2.glb-riepilogo-tornata {
    display: flex;
}
span.custom-link.is-disabled {
    /* pointer-events: none; */
    cursor: default;
}