.container{
    height: auto !important;
}
.comparatore-cp{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1rem;
    background: #f9f9f9;
    margin-bottom: 2rem;
}

.comparatore-cp > div{
    width: 39%;
}

.page-header-title{
    max-width: 100% !important;
}

.wp-block-latest-posts__list li{
    border-bottom: 1px solid #bbb;
    padding-bottom: 6px;
    margin-bottom: 18px;
}

.wp-block-latest-posts__list li:last-child{
    margin-bottom: 0;
    padding-bottom: 0;
}

.wp-block-latest-posts__post-title{
    margin-top: 5px;
    display: inline-block;
}

.wp-block-latest-posts__post-excerpt{
    display: none;
}

form.professione-fabbisogni-search-form {
    margin-bottom: 2rem;
}

.comparatore-cp > div select{
    background: #fff;
    font-size: 18px;
    padding: 15px 10px;
}

.comparatore-cp label{
    font-weight: 700;
}

.comparatore-cp > div.action{
    width: 19%;
}

.comparatore-cp > div.action button{
    margin: 0;
    width: 100%;
    display: block;
}

.result-comparatore-cp{
    align-items: flex-start;
}

.result-comparatore-cp .sublevel{
    display: none;
}

.result-comparatore-cp.rilascio-livello .risultato-rilascio:hover{
    color: #333;
}

.hide-hp{
    display: none;
    padding: 10px 0;
}

ul.hide-hp{
    padding-top: 0;
    margin-top: -1rem;
}

#right-sidebar-inner .sidebar-box {
    margin-bottom: 15px;
}

.margin-bottom-none{
    margin-bottom: 5px;
}

.colonne-bordo-widget{
    padding: 1rem;
    border: 1px solid #e5e5e5;
}

.leggi-di-piu-hp{
    display: inline-block;
    margin-bottom: 10px;
}

.no-margin-bottom{
    margin-bottom: 0;
}

.result-comparatore-cp .show-lvl > .sublevel{
    display: block;
}

.province-autonome-popup.active{
    display: flex;
}

.province-autonome-popup .btn{
    display: block;
    text-align: center;
}

.btn.btn-block{
    display: block;
    width: 100%;
    text-align: center;
}

.graph-tab-nav{
    border-bottom: 1px solid #ccc;
    display: flex;
    width: 100%;
    align-items: stretch;
    justify-content: space-between;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.graph-tab-nav a{
    width: 49%;
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    border: 1px solid #ccc;
    border-radius: 0.25rem 0.25rem 0 0;
    text-align: center;
    padding: 0.75rem;
    border-bottom: none;
    padding-top: 0.81rem;
}

.graph-tab-nav a.active{
    border-bottom: 4px solid #003567;
    color: #0059b3;
}

.graph-tab-content{
    display: none;
}

.graph-tab-content.active{
    display: block;
}


.province-autonome-popup{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.33);
    align-items: center;
    justify-content: center;
    display: none;
    padding: 1rem;
    z-index: 99;
}

.province-autonome-popup .popup-content{
    width: 500px;
    max-width: 100%;
    background: #fff;
    padding: 1rem;
}

.province-autonome-popup .popup-header a{
    color: #444;
    cursor: pointer;
}

.province-autonome-popup .popup-header{
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 1rem;
    line-height: 1;
    border-bottom: 1px solid #e5e5e5;
    font-size: 2rem;
    width: 100%;
    display: flex;
    margin-bottom: 2rem;
}

.content-wrap-graphs .container{
    max-width: 100% !important;
}

.territorio{
    display: flex;
    align-items: flex-start;
}

.result-list{
    display: none;
}

.result-list.active{
    display: block;
}

.territorio-left{
    min-width: 40%;
    width: 40%;
    padding-right: 3rem;
}


body.page-template-scheda .page-header:not(.custom-page-header){
    display: none;
}

.wrap h1{
    font-size: 27px;
}

.result-list-title{
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

#consulta-intera-economia{
    margin-bottom: 1rem;
}

.btn{
    display: inline-block;
    background: #003567;
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    min-width: 126px;
    border-radius: 5px;
    margin-bottom: 5px;
}

.container-flex{
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1rem;
    margin-top: 1rem;
    position: relative;
}

.container-flex .half{
    width: 45%;
}

.container-flex .column-2-3{
    width: 64%;
}

.container-flex .column-1-3{
    width: 32%;
}

.container-flex .half-no-margin div span{
    font-weight: 700;
    padding: 0 10px;
}

.container-flex .half-no-margin div{
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    padding: 4px 0;
}
.container-flex .half-no-margin{
    width: 50%;
}

.table-bordered{
    border: 1px solid #e5e5e5;
    width: 100%;
    margin-bottom: 30px;
}

.table-bordered td, .table-bordered th{
    padding: 5px;
}

.table-bordered th{
    text-align: left;
}

.table-bordered thead{
    background: #eee;
}

.table-bordered thead th{
    font-weight: 700;
    padding: 8px;
    border-right: 1px solid #bbb;
}

.table-bordered tbody td{
    border-bottom: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    padding: 8px;
}

.fonte{
    margin-top: 45px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}


.container-row{
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ccc;
}

.half-legenda{
    margin-left: auto;
    font-weight: 700;
    padding: 1rem 2rem;
    background: #eee;
    border-radius: 0.25rem;
}

.bar-label{
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
}

.bar-label.bar-label--orange{
    color: #f78a25;
}

.bar-label.bar-label--red{
    color: #DD0425;
}

.bar-label.bar-label--green{
    color: #27A033;
}


.half-legenda span{
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    top: 2px;
    margin-right: 0.25rem;
}

.container-row .label{
    width: 40%;
    padding-right: 2rem;
    text-align: right;
}

.container-row .container-row-half{
    width: 60%;
}

.bars .bar{
    display: flex;
    align-items: center;
    justify-content: space-between; 
}

.bars .bar .bar-progress{
    background: red;
    height: 0.5rem;
    margin: 0.1rem 0;
    border-radius: 0 0.25rem 0.25rem 0;
}

.grafici-list-container > div{
    flex: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background: #efefef;
}

.grafici-list-container ul{
    margin-bottom: 0;
    padding-left: 1.2rem;
}