/* blue: #0b8bc5 */
/* light blue: #00c7f2 */
/* light grey: #f5f5f6 */
/* dark grey: #5e5e5e */
/* middle grey: #bfbfbf */

@font-face {
    font-family: 'Druk-Bold';
    src: url('fonts/Druk-Bold.eot');
    src: url('fonts/Druk-Bold.woff2') format('woff2'),
         url('fonts/Druk-Bold.woff') format('woff'),
         url('fonts/Druk-Bold.ttf') format('truetype'),
         url('fonts/Druk-Bold.svg#Druk-Bold') format('svg'),
         url('fonts/Druk-Bold.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    /*color: #5e5e5e;*/
    color: #000;
}

/* Absolute Center Spinner */
.loading {
    display: none;
    position: fixed;
    z-index: 9999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.loading.show {
    display: block;
}

/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 1500ms infinite linear;
    -moz-animation: spinner 1500ms infinite linear;
    -ms-animation: spinner 1500ms infinite linear;
    -o-animation: spinner 1500ms infinite linear;
    animation: spinner 1500ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#home-featured {
    background-image: url(../images/home-featured-bg.jpg);
    background-repeat: no-repeat;
    height: 400px;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home-featured-text {
    background-color: rgba(60, 170, 200, 0.9);
    padding: 50px;
    color: #fff;
    margin-left: 10%;
    margin-right: 10%;
    text-align: center;
    border-radius: 10px;
}

.path-frontpage.page-node-type-page article {
    margin-bottom: 0;
}

.m-0 {
    margin: 0!important;
}

.m-1 {
    margin: 5px!important;
}

.m-2 {
    margin: 10px!important;
}

.m-3 {
    margin: 20px!important;
}

.m-4 {
    margin: 30px!important;
}

.m-5 {
    margin: 60px!important;
}

.mt-0 {
    margin-top: 0!important;
}

.mt-1 {
    margin-top: 5px!important;
}

.mt-2 {
    margin-top: 10px!important;
}

.mt-3 {
    margin-top: 20px!important;
}

.mt-4 {
    margin-top: 30px!important;
}

.mt-5 {
    margin-top: 60px!important;
}

.mr-0 {
    margin-right: 0!important;
}

.mr-1 {
    margin-right: 5px!important;
}

.mr-2 {
    margin-right: 10px!important;
}

.mr-3 {
    margin-right: 20px!important;
}

.mr-4 {
    margin-right: 30px!important;
}

.mr-5 {
    margin-right: 60px!important;
}

.mb-0 {
    margin-bottom: 0!important;
}

.mb-1 {
    margin-bottom: 5px!important;
}

.mb-2 {
    margin-bottom: 10px!important;
}

.mb-3 {
    margin-bottom: 20px!important;
}

.mb-4 {
    margin-bottom: 30px!important;
}

.mb-5 {
    margin-bottom: 60px!important;
}

.ml-0 {
    margin-left: 0!important;
}

.ml-1 {
    margin-left: 5px!important;
}

.ml-2 {
    margin-left: 10px!important;
}

.ml-3 {
    margin-left: 20px!important;
}

.ml-4 {
    margin-left: 30px!important;
}

.ml-5 {
    margin-left: 60px!important;
}

.p-0 {
    padding: 0!important;
}

.p-1 {
    padding: 5px!important;
}

.p-2 {
    padding: 10px!important;
}

.p-3 {
    padding: 20px!important;
}

.p-4 {
    padding: 30px!important;
}

.p-5 {
    padding: 60px!important;
}

.pt-0 {
    padding-top: 0!important;
}

.pt-1 {
    padding-top: 5px!important;
}

.pt-2 {
    padding-top: 10px!important;
}

.pt-3 {
    padding-top: 20px!important;
}

.pt-4 {
    padding-top: 30px!important;
}

.pt-5 {
    padding-top: 60px!important;
}

.pr-0 {
    padding-right: 0!important;
}

.pr-1 {
    padding-right: 5px!important;
}

.pr-2 {
    padding-right: 10px!important;
}

.pr-3 {
    padding-right: 20px!important;
}

.pr-4 {
    padding-right: 30px!important;
}

.pr-5 {
    padding-right: 60px!important;
}

.pb-0 {
    padding-bottom: 0!important;
}

.pb-1 {
    padding-bottom: 5px!important;
}

.pb-2 {
    padding-bottom: 10px!important;
}

.pb-3 {
    padding-bottom: 20px!important;
}

.pb-4 {
    padding-bottom: 30px!important;
}

.pb-5 {
    padding-bottom: 60px!important;
}

.pl-0 {
    padding-left: 0!important;
}

.pl-1 {
    padding-left: 5px!important;
}

.pl-2 {
    padding-left: 10px!important;
}

.pl-3 {
    padding-left: 20px!important;
}

.pl-4 {
    padding-left: 30px!important;
}

.pl-5 {
    padding-left: 60px!important;
}

/* Nice checkbox */
.checkbox {
    margin-left: 20px;
}

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

.checkbox label {
    display: block;
    padding-left: 5px; 
    position: relative;
}

.checkbox.checkbox-right label {
    padding-left: 0; 
    padding-right: 25px; 
}

.checkbox label:before {
    -o-transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    background-color: #fff;
    border-radius: 1px; 
    border: 1px solid #ddd;
    content: "";
    display: inline-block;
    height: 15px;
    left: 0;
    top: 3px;
    margin-left: -20px;
    position: absolute;
    transition: 0.3s ease-in-out;
    width: 15px;
    outline: none;
    border-radius: 4px;
}    

.checkbox.checkbox-right label:before {
    left: auto;
    right: 0;
    margin-left: 0;
}

.checkbox label:after {
    display: inline-block;
    font-size: 14px;
    height: 16px;
    margin-left: -20px;
    padding-left: 3px; 
    padding-top: 1px; 
    position: absolute;
    left: 2px;
    top: -1px; 
    width: 16px;
}    

.checkbox.checkbox-right label:after {
    left: auto;
    right: -2px;
    margin-left: 0;
}

.checkbox input[type="checkbox"] {
    cursor: pointer;
    opacity: 0;
    z-index: 1;
    position: absolute;
    left: 0px;
    outline: none;
}

.checkbox.checkbox-right input[type="checkbox"] {
    left: auto;
    right: 0px;
}

.checkbox input[type="checkbox"]:disabled + label {
    opacity: 0.65;
}

.checkbox input[type="checkbox"]:focus + label:before {
    outline-offset: -2px;
    outline: none;
}

.checkbox input[type="checkbox"]:checked + label:after {
    content: "\f00c";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.checkbox input[type="checkbox"]:disabled + label:before {
    background-color: #eee;
    cursor: not-allowed;
}


.data-filter-item-label {
    display: flex;
    flex-direction: row;
    position: relative;
    line-height: 38px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.data-filter-item-label .data-filter-item-checkbox {
    position: absolute;
    right: 4px;
    margin: 0;
    top: 8px;
    z-index: 1;
}

.data-filter-item-label .data-filter-item-checkbox.checkbox label:after{
    top: -10px;
}

.collapsible .fa-chevron-up {
    position: absolute;
    right: 30px;
    top: 10px;
}

.data-filter-item-wrapper >.selectible >.item-name {
    max-width: calc(100% - 30px);
    overflow: hidden;
    text-overflow: ellipsis;
}

.data-filter-item-wrapper > .collapsible >.item-name {
    max-width: calc(100% - 48px);
    overflow: hidden;
    text-overflow: ellipsis;
}

.data-filter-item-wrapper.level-one .item-name {
    font-weight: bold;
}

.data-filter-item-wrapper.level-one >.data-filter-item-label {
    border-bottom: 1px solid #ccc;
}

.data-filter-item-wrapper.level-two .item-name {
    font-weight: normal;
    font-style: italic;
}

.data-filter-item-wrapper.level-two >.data-filter-item-label {
    border-bottom: 1px solid #eee;
    padding-left: 15px;
}

.data-filter-item-wrapper.level-three .item-name {
    font-weight: normal;
    font-style: italic;
}

.data-filter-item-wrapper.level-three >.data-filter-item-label {
    border-bottom: 1px solid #eee;
    padding-left: 30px;
}

.collapsible.collapsed .fa-chevron-up {
    transform: rotate(180deg);
}

.indicators-wrapper {
    margin-bottom: 60px;
}

.indicators-wrapper .select-all,
.metropolises-wrapper .select-all {
    margin-bottom: 0px;
    font-size: 14px;
}

.indicators-wrapper .select-all.selected,
.metropolises-wrapper .select-all.selected,
.indicators-wrapper .select-all:hover,
.metropolises-wrapper .select-all:hover {
    color: #00c7f2;
}

.indicators-wrapper .select-all.selected label:before,
.metropolises-wrapper .select-all.selected label:before,
.indicators-wrapper .select-all:hover label:before,
.metropolises-wrapper .select-all:hover  label:before {
    /*border-color: #0b8bc5;*/
}

.indicators-wrapper .select-all.selected label:after,
.metropolises-wrapper .select-all.selected label:after,
.indicators-wrapper .select-all:hover label:after,
.metropolises-wrapper .select-all:hover  label:after {
    color: #0b8bc5;
}

.indicators-wrapper >h4,
.metropolises-wrapper >h4 {
    margin-top: 0;
    font-weight: bold;
    font-style: italic;
}

#explore-data-map {
    height: calc(100vh - 150px);
    /*height: 680px;*/
    width: 100%;
}
.leaflet-fixed-pane {
    position: absolute;
    left: 50%!important;
    display: flex;
    z-index: 401!important;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.popup-fixed {
    transform: none!important;
    bottom: auto!important;
    left: 50%!important;
    top: auto;
    margin-top: 0;
    margin-left: -120px;
    width: 260px;
    max-height: calc(100% - 180px);
    display: flex;
}
.popup-map .leaflet-popup-content-wrapper {
    color: inherit;
    border-radius: 0;
    background-color: #fff;
    font-weight: 400!important;
    text-align: left!important;
    opacity: 1;
    /*
    min-height: 200px;
    max-height: 100%;
    overflow-y: auto;
    width: 100%;
    */
}
.popup-fixed .leaflet-popup-content-wrapper {
    color: inherit;
    border-radius: 0;
    background-color: #fff;
    font-weight: 400;
    text-align: left;
    opacity: 0.9;
    min-height: 200px;
    max-height: 100%;
    overflow-y: auto;
    width: 100%;
}
.popup-fixed .leaflet-popup-tip-container {
    display: none;
}
.popup-fixed .leaflet-popup-close-button {
    margin-top: 5px;
    margin-right: 25px;
    background-color: transparent;
    color: inherit;
}
.popup-map .leaflet-popup-close-button {
    margin-top: -1px;
}
.popup-map .leaflet-popup-close-button {
    margin-top: 5px;
    margin-right: 25px;
    background-color: transparent;
    color: inherit;
}
.metropolis-card h3 {
    font-weight: 200;
}

.metropolis-card .metropolis-indicator-wrapper {
    /*border-left: 5px solid #00c7f2;*/
    /*padding-left: 8px;*/
    padding-left: 34px;
    position: relative;
    line-height: 15px;
}

.metropolis-card .metropolis-indicator-wrapper:before {
    content: '\2139';
    display: block;
    background-color: #00c7f2;
    width: 16px;
    height: 16px;
    position: absolute;
    left: 7px;
    border-radius: 500px;
    top: 7px;
    color: white;
    font-size: 20px;
    z-index: 1;
    line-height: 16px;
    text-align: center;
}

.metropolis-card .metropolis-indicator-wrapper:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    border: 1px solid #00c7f2;
    background-color: #00c7f2;
    border-radius: 500px;
    width: 30px;
    height: 30px;
    top: 0;
}

.metropolis-card .parent_code_1 {
    font-size: 14px;
    font-weight: bold;
}

.metropolis-card .code_1 {
    font-size: 14px;
}

.metropolis-card .code_2 {
    font-size: 12px;
}

.metropolis-card .metropolis-year {
    font-size: 13px;
    margin-top: 10px;
    border-bottom: 1px solid lightgrey;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.metropolis-card .metropolis-data {
    font-size: 28px;
    font-weight: bold;
}

.metropolis-card .metropolis-unit {
    font-size: 15px;
    text-transform: lowercase;
    margin-top: -10px;
}

.metropolis-card .metropolis-scale {
    margin-top: 10px;
    font-size: 13px;
    padding-left: 34px;
    position: relative;
    line-height: 15px;
}

.metropolis-card .metropolis-scale:before {
    content: '';
    display: block;
    background-color: #00c7f2;
    width: 16px;
    height: 16px;
    position: absolute;
    left: 7px;
    border-radius: 500px;
    top: 7px;
}

.metropolis-card .metropolis-scale:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    border: 1px solid #00c7f2;
    border-radius: 500px;
    width: 30px;
    height: 30px;
    top: 0;
}

.metropolis-card .metropolis-scale .title {
    font-weight: bold;
}

.background-light {
    background-color: #f5f5f6;
}
.background-dark {
    background-color: #5e5e5e;
}

#explore-buttons {
    padding-left: 20px;
    padding-right: 20px;
}

.explore-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background-color: white;
    font-weight: bold;
    font-size: 14px;
    margin: 2px 2px;
    cursor: pointer;
    border-radius: 5px;
}
.explore-button:hover,
.explore-button.active {
    color: white;
    background-color: #00c7f2;
}
.explore-button:first-of-type {
    margin-top: 20px;
}
.explore-button:last-of-type {
    margin-bottom: 20px;
}

.explore-button svg {
    font-size: 34px;
    padding: 8px;
    background-color: #00c7f2;
    border-radius: 100px;
    color: white;
    margin-right: 10px;
}
.explore-button:hover svg,
.explore-button.active svg {
    background-color: #000;
}
.explore-data-item {
    display: none;
}
.explore-data-item.active {
    display: block;
}
#explore-years-alert {
    display: flex;
    width: 100%;
    position: absolute;
    justify-content: center;
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
}
#explore-years-alert .alert {
    z-index: 9999;
}
.metropolitan-space-button {
    max-width: 100%;
    white-space: normal;
    margin-top: 17px;
    display: block;
    background-color: #00c7f2;
    color: white!important;
    border-radius: 3px;
    padding: 6px 15px;
    text-align: center;
    width: 160px;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
}
.metropolitan-space-button:hover {
    background-color: #0b8bc5;
}
#explore-map-legend {
    display: none;
    position: absolute;
    margin-top: -80px;
    z-index: 999;
    justify-content: flex-end;
    width: 100%;
    padding-right: 10%;
}
#explore-map-legend.active {
    display: flex;
}
#explore-map-legend .legend-item {
    font-style: italic;
    display: flex;
    align-items: center;
    margin-right: 34px;
}
#explore-map-legend .legend-item .circle-color {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 500px;
    margin-right: 10px;
}
.explore-filters-scroll {
    position: absolute;
    width: calc(100% - 60px);
    max-height: calc(100% - 90px);
    overflow: auto;
    padding-right: 20px;
    padding-bottom: 30px;
}
.explore-title {
    line-height: 30px;
    font-weight: bold;
}
.row.flex-row,
.flex-row {
    display: flex;
    flex-direction: row;
}
.home-fringe-white {
    padding: 60px 0;
    font-size: 18px;
    text-align: center;
}
.home-fringe-white strong {
    color: #00c7f2;
}
.home_counters--block {
    padding: 60px 0;
}
span.round-counter {
    background-color: #00c7f2;
    width: 50px;
    height: 50px;
    display: inline-block;
    color: white;
    line-height: 50px;
    border-radius: 40px;
    margin-right: 20px;
}
.home-blue-fringe {
    background-image: url(../images/home-featured-bg.jpg);
    background-repeat: no-repeat;
    height: 400px;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.home-blue-fringe >.container {
    background-color: rgba(0, 172, 230, 0.8);
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
}
.home-indicators-fringe {
    background-color: #f5f5f6;
    padding: 40px 0;
}
.home-indicators-fringe .col-md-2 .ve--rich_text {
    text-align: center;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 40px;
    margin-top: 20px;
}
.indicator-icon {
    background-color: #000;
    display: block;
    font-size: 0;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 80px;
}
.indicator-icon:before {
    width: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 18px;
    filter: invert(1);
}
.indicator-icon.context-and-governance:before {
    content: url(../icons/context-governance.svg);
}
.indicator-icon.economic-development:before {
    content: url(../icons/economic-dev.svg);
}
.indicator-icon.social-cohesion:before {
    content: url(../icons/social-cohesion.svg);
}
.indicator-icon.gender-equality:before {
    content: url(../icons/gender-equality.svg);
}
.indicator-icon.environmental-sustainability:before {
    content: url(../icons/environment.svg);
}
.indicator-icon.quality-of-life:before {
    content: url(../icons/quality-life.svg);
}
.min-height {
    min-height: 740px;
}
#compare-table {
    overflow-x: auto;
}
#compare-table table {
    min-width: 100%;
}
#compare-table th {
    font-weight: 600;
    text-align: center;
    padding: 10px;
}
#compare-table th.th-parent-code-1 {
    background-color: #f5f5f6;
    border-left: 1px solid #bfbfbf;
    border-right: 1px solid #bfbfbf;
}
#compare-table th.th-code-1 {
    font-weight: normal;
    font-style: italic;
    text-align: left;
    border-left: 1px solid #bfbfbf;
    border-right: 1px solid #bfbfbf;
    border-bottom: 1px solid #bfbfbf;
    vertical-align: bottom;
}
#compare-table th.th-first-col {
    font-weight: 600;
}
#compare-table th.th-metropolitan-space {
    border-top: 1px solid #bfbfbf;
    border-bottom: 1px solid #bfbfbf;
}
#compare-table th.th-code-2 {
    border-bottom: 1px solid #bfbfbf;
}
#compare-table th.th-code-2-total {
    border-left: 1px solid #bfbfbf;
}
#compare-table th.th-code-2-year {
    border-right: 1px solid #bfbfbf;
}
#compare-table td {
    padding: 10px;
    text-align: center;
}
#compare-table tbody tr:nth-child(even) {
    background-color: #f5f5f6;
}
#compare-table td.td-metropolis {
    text-align: left;
}
#compare-table td.td-total {
    border-left: 1px solid #bfbfbf;
}
#compare-table td.td-year {
    border-right: 1px solid #bfbfbf;
}
#compare-table .th-metropolitan-space,
#compare-table .td-no-data {
    white-space: nowrap;
}
#compare-table .th-parent-code-1 {
    line-height: 58px;
    padding-top: 0;
    padding-bottom: 0;
}
.table-indicator-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    float: none;
    line-height: 58px;
    font-size: 0;
}
.table-indicator-icon:before {
    width: 40px;
    float: left;
}
.table-indicator-icon.context-and-governance:before {
    content: url(../icons/context-governance.svg);
}
.table-indicator-icon.economic-development:before {
    content: url(../icons/economic-dev.svg);
}
.table-indicator-icon.social-cohesion:before {
    content: url(../icons/social-cohesion.svg);
}
.table-indicator-icon.gender-equality:before {
    content: url(../icons/gender-equality.svg);
}
.table-indicator-icon.environmental-sustainability:before {
    content: url(../icons/environment.svg);
}
.table-indicator-icon.quality-of-life:before {
    content: url(../icons/quality-life.svg);
}
.grey-header {
    color: #f5f5f6;
    font-weight: bold;
}
#compare-scale-legend {
    display: none;
}
#compare-scale-legend.active {
    display: block;
}
#compare-buttons {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
#compare-buttons .buttons-wrapper {
    display: flex;
}
#compare-buttons .buttons-wrapper .btn {
    margin-right: 10px;
    color: inherit;
}
#compare-buttons .buttons-wrapper .btn svg {
    margin-right: 5px;
    font-size: 20px;
}
#compare-buttons .buttons-wrapper .btn.btn-show {
    display: none;
}
#compare-buttons .buttons-wrapper .btn.btn-show.active {
    display: block;
}
#compare-table {
    display: none;
}
#compare-table.active {
    display: block;
}
#compare-charts {
    display: none;
    padding-top: 30px;
}
#compare-charts.active {
    display: block;
}
#compare-charts .compare-chart-item {
    display: none;
}
#compare-charts .compare-chart-item.active {
    display: block;
}
#compare-charts-buttons {
    display:none;
}
#compare-charts-buttons.active {
    display: block;
}
.regions-legend {
    display: flex;
    justify-content: center;
}
.regions-legend .region {
    margin: 0 5px;;
}
.regions-legend .region span {
    width: 15px;
    height: 15px;
    display: inline-block;
    border-radius: 100px;
}
#explore-population-legend {
    display: none;
    position: absolute;
    margin-top: -40px;
    z-index: 999;
    justify-content: flex-end;
    width: 100%;
    padding-right: 10%;
}
#explore-population-legend.active {
    display: flex;
}
#explore-population-legend .legend-item {
    font-style: italic;
    display: flex;
    align-items: center;
    margin-right: 34px;
}
#explore-population-legend .legend-item .circle-color {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 500px;
    margin-right: 10px;
}
#population-chart-metropolis-select {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    justify-content: center;
    display: flex;
    background-color: white;
    padding-top: 30px;
}
#population-chart-metropolis-select .dropdown-selected {
    width: 160px;
    text-align: center;
}
#population-chart-metropolis-select .dropdown-selected.btn .caret {
    margin-left: 10px;
}
#population-chart-metropolis-select .dropdown-menu {
    width: 160px;
    text-align: center;
    margin-left: 0;
    max-height: 320px;
    overflow: auto;
}
#population-chart-metropolis-select .dropdown-menu li:before {
    display: none;
}
#population-chart-metropolis-select .dropdown-menu .population-metropolis-item {
    width: 100%;
}
.population-chart-item {
    display: none;
}
.population-chart-item.active {
    display: block;
}
#home-featured.metropolis-header {
    align-items: flex-end;
}
#home-featured.metropolis-header #home-featured-text {
    border-radius: 10px 10px 0 0;
    max-width: 780px;
    min-width: 320px;
    padding: 20px 50px;
    text-align: left;
}
.metropolis-indicators {
    padding-bottom: 40px;
    padding-top: 24px;
}
.metropolis-indicators h3 {
    text-align: center;
    font-style: italic;
    font-weight: normal;
    margin-bottom: 30px;
}

.metropolis-indicator {
    text-align: left;
    padding: 8px 30px;
}
.metropolis-indicator a {
    display: inline-block;
    line-height: 47px;
}

.metropolis-indicator .indicator-icon {
    width: 45px;
    height: 45px;
    margin-right: 10px;
    float: left;
}
.metropolis-indicator .indicator-icon:before {
    width: 28px;
    padding-top: 10px;
}
.metropolis-indicator .text {
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    color: #000;
}
.metropolis-indicator a:hover .indicator-icon {
    background-color: #0b8bc5;
}
.bg-light {
    background-color: #f5f5f6;
}
.table {
    display: table;
}
.table-row {
    display: table-row;
}
.table-cell {
    display: table-cell;
}
.flex-align-center {
    align-items: center;
}
.flex-justify-center {
    justify-content: center;
}
.flex-col {
    display: flex;
    flex-direction: column;
}
.block-center {
    margin-left: auto;
    margin-right: auto;
}
.width-auto {
    width: auto;
}
.indicators-header-fringe {
    background-image: url(../images/header-2.jpg);
    background-repeat: no-repeat;
    height: 400px;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.indicators-header-text {
    background-color: rgba(255, 255, 255, 0.8);
    float: right;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    color: black;
}
.indicator-description-column {
    margin-left: auto;
    margin-right: auto;
    float: none;
}
.indicator-description-text ol {
    padding-top: 20px;
    padding-bottom: 20px;
}
.indicator-description-text ol li {
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    line-height: 48px;
}
.indicator-description-text ol li:before {
    color: white;
    background-color: #bfbfbf;
    border-radius: 40px;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    margin-bottom: 5px;
    font-style: normal;
}
.indicator-description-chart {
    margin-bottom: 40px;
}
.indicators-row {
    align-items: flex-start;
    justify-content: space-between;
}
.indicator-icon-text {
    padding: 15px;
    font-weight: 600;
    font-size: 17px;
    max-width: 150px;
    text-align: center;
}
.indicator-icon.icon-small-blue {
    background-color: #00c7f2;
    float: left;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-right: 10px;
}
.indicator-icon.icon-small-blue:before {
    width: 24px;
    padding-top: 8px;
}
.indicator-text.small-indicator {
    line-height: 40px;
    font-weight: 600;
    font-style: italic;
    font-size: 18px;
}
.indicator-text.small-indicator.big {
    font-size: 20px;
}
.child-indicator-select {
    margin-bottom: 15px;
    margin-left: 5px;
}
.child-indicator-index {
    background-color: #bfbfbf;
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    color: white;
    margin-right: 10px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 18px;
}
.child-indicator-text {
    font-weight: 500;
    font-style: italic;
    line-height: 30px;
    font-size: 18px;
}
.child-indicator-select:hover .child-indicator-text,
.child-indicator-select.active .child-indicator-text {
    color: #00c7f2;
}
.indicator-icon-text:hover .indicator-icon,
.indicator-icon-text.active .indicator-icon {
    background-color: #00c7f2;
}
.child-indicator-select:hover,
.indicator-icon-text:hover {
    cursor: pointer;
}
.child-indicator-info,
.indicator-tab-content {
    display: none;
}
.child-indicator-info.active,
.indicator-tab-content.active {
    display: block;
}
.child-indicator-info {
    background-color: #f5f5f6;
}
.child-indicator-info-title {
    background-color: #00c7f2;
    padding: 20px;
    color: white;
    font-weight: 600;
    font-style: italic;
    font-size: 17px;
}
.child-indicator-info-item {
    padding: 20px;
}
.child-indicator-info-item-title {
    font-weight: 600;
    font-style: italic;
}
.child-indicator-info-item-content {
    font-weight: 500;
}
.methodology-header-fringe {
    background-image: url(../images/header-3.jpg);
    background-repeat: no-repeat;
    height: 400px;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.italic {
    font-style: italic;
}
.about-header-fringe {
    background-image: url(../images/header-4.jpg);
    background-repeat: no-repeat;
    height: 400px;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
span.round-counter.big {
    width: 120px;
    height: 120px;
    line-height: 120px;
    border-radius: 500px;
    font-weight: 200;
    font-size: 40px;
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}
.home_counters--block,
.about_counters--block {
    font-size: 24px;
    font-weight: 300;
}
.step-header {
    padding: 10px 20px;
    background-color: #00c7f2;
    color: white;
    position: relative;
}
.step-header h3 {
    margin: 0;
    font-weight: 600;
    font-style: italic;
    font-size: 22px;
}
.step-image {
    width: auto!important;
    max-width: 100%!important;
    margin-left: auto;
    margin-right: auto;
}
.step-description {
    background-color: #f5f5f6;
    padding: 30px;
    padding-left: 100px;
    position: relative;
    display: none;
    margin-bottom: 20px;
}
.step-description .fa-question-circle {
    position: absolute;
    left: 20px;
    width: 65px;
    height: 60px;
}
.showhide {
    position: absolute;
    right: 10px;
    top: 10px;
    display: inline-block;
    font-weight: 500;
    font-style: italic;
    line-height: 22px;
    cursor: pointer;
}
.showhide span {
    display: none!important;
    margin-left: 8px;
}
.showhide span.active {
    display: inline-block!important;
}
.showhide-all {
    text-align: right;
    padding: 20px;
}
.showhide-all .show-all {
    margin-right: 10px;
    cursor: pointer;
    font-style: italic;
    font-weight: 500;
}
.showhide-all .hide-all {
    margin-left: 10px;
    cursor: pointer;
    font-style: italic;
    font-weight: 500;
}
.showhide-all svg {
    margin-right: 5px;
}
.sex-icon {
    width: 80px;
    opacity: 0.7;
}
.metropolis-indicator-title {
    font-weight: 600;
    font-size: 18px;
}
.metropolis-indicator-data {
    font-weight: 600;
    font-size: 28px;
}
.metropolis-indicator-unit {
    line-height: 18px;
    margin-top: -8px;
}
.lowercase {
    text-transform: lowercase;
}
h4.bold {
    font-weight: 600;
}
.metropolis-indicator-iconcircle,
.metropolis-indicator-barchart,
.metropolis-indicator-circle,
.metropolis-indicator-graph {
    text-align: center;
    position: relative;
    margin-bottom: 60px;
    max-width: 262px;
    margin-left: auto;
    margin-right: auto;
}
.metropolis-indicator-iconcircle.double {
    max-width: 100%;
}
.metropolis-indicator-iconcircle .iconcircle-title,
.metropolis-indicator-circle .circle-title,
.metropolis-indicator-barchart .barchart-title,
.metropolis-indicator-graph .graph-title {
    font-weight: 600;
    font-style: italic;
    line-height: 20px;
    height: 40px;
    text-align: center;
}
.metropolis-indicator-iconcircle .iconcircle-footer,
.metropolis-indicator-circle .circle-footer,
.metropolis-indicator-graph .graph-footer {
    font-weight: 500;
    /*text-transform: lowercase;*/
}
.metropolis-indicator-graph .graph-data {
    left: 28%;
    position: absolute;
    margin-top: -35%;
    color: white;
    font-weight: 900;
    font-size: 32px;
}
.metropolis-indicator-graph .small + .graph-data {
    left: 15%;
    margin-top: -52%;
    font-size: 28px;
}
.metropolis-indicator-iconcircle .iconcircle-data,
.metropolis-indicator-circle .circle-data {
    font-weight: 900;
    font-size: 24px;
    line-height: 25px;
    height: 162px;
    width: 162px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #dcdcdc;
    border-radius: 500px;
    margin-top: 9px;
    margin-bottom: 9px;
    flex-direction: column;
}
.metropolis-indicator-iconcircle .iconcircle-icon {
    text-align: center;
    max-width: 100%;
    margin-bottom: 10px;
}
.metropolis-indicator-iconcircle .iconcircle-icon img {
    min-width: 60%;
    opacity: 0.7;
    max-height: 86px;
    width: 60px;
}
.metropolis-indicator-iconcircle .iconcircle-icon img {
}
.metropolis-indicator-barchart .barchart-chart > div > div,
.metropolis-indicator-graph .graph-chart > div > div {
    margin-left: auto;
    margin-right: auto;
}
.metropolis-indicator-barchart .barchart-chart text {
    fill: #000;
}
.metropolis-table .table-cell {
    text-align: center;
    padding: 10px;
    vertical-align: middle;
}
.metropolitan-space-table-circle {
    background-color: #00c7f2;
    display: inline-block;
    border-radius: 100px;
    font-size: 0;
}
.metropolitan-space-table-circle.circle-0 {
    background-color: transparent;
    border: 2px solid #00c7f2;
    width: 16px;
    height: 16px;
}
.metropolitan-space-table-circle.circle-1 {
    width: 20px;
    height: 20px;
}
.metropolitan-space-table-circle.circle-2 {
    width: 30px;
    height: 30px;
}
.metropolitan-space-table-circle.circle-3 {
    width: 40px;
    height: 40px;
}
.metropolis-table .table-cell.left {
    text-align: left;
}
.metropolis-table .table-cell.header {
    border-bottom: 1px solid #000;
}
.metropolis-table-legend {
    line-height: 40px;
    font-weight: 600;
}
.metropolis-table-legend .metropolitan-space-table-circle {
    margin-right: 10px;
    float: left;
}
.metropolis-table-legend .circle-0,
.metropolis-table-legend .circle-1 {
    margin-top: 10px;
}
.metropolis-table-legend .circle-2 {
    margin-top: 5px;
}
.metropolis-indicator-circle .small .circle-data {
    height: 140px;
    width: 140px;
    margin-top: 8px;
    margin-bottom: 8px;
}
.home-header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.home-header-text .tex2jax_process {
    background-color: rgba(60, 170, 200, 0.9);
    padding: 40px;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    position: relative;
    width: 720px;
    height: auto;
}
#header-slider {
    position: relative;
}
.white-header-text {
    background-color: rgba(255, 255, 255, 0.8);
    float: right;
    justify-content: center;
    align-items: center;
    display: flex;
    color: black;
    position: absolute;
    bottom: 0;
    width: 500px;
    height: auto;
    padding: 50px;
    right: 20%;
}
.cursor-pointer {
    cursor: pointer;
}
.how-it-works:hover {
    color: #00c7f2;
}
.how-it-works-select-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 0;
}
.how-it-works-select-wrapper .select-all {
    margin-top: 0;
}
#home-featured.metropolis-header #home-featured-text {
    min-width: 450px;
}
#home-featured.metropolis-header #home-featured-text td {
    vertical-align: top;
}
.child-indicator-info-item-content .MathJax {
    font-size: 20px;
    margin-top: 20px;
    display: block;
}
.child-indicator-info-item-content a {
    max-width: 100%;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
}
.metropolis-indicator-barchart .barchart-chart + .barchart-title {
    margin-top: 50px;
}
ol.carousel-indicators li::before {
    display: none!important;
}
.hide-indicators-description {
    visibility: hidden;
}
.hide-indicators-description.visible {
    visibility: visible;
}
.hide-indicators-description:hover {
    color: #00c7f2;
}
#home-featured.metropolis-header {
    background-image: none;
    height: 300px;
    margin-top: -300px;
    width: 100%;
    position: absolute;
}
#navbar.sticky {
	position: fixed;
	z-index: 9999;
	width: 100%;
	top: 0;
	margin-top: 0;
}
#navbar.sticky + .main-container {
	margin-top: 38px;
}
.freeze-table {
	max-height: 100vh;
}
.clone-head-table-wrap {
    border-bottom: 1px solid #bfbfbf;
}
.png-indicator.indicator-icon {
	position: relative;
}
.metropolis-indicator a {
   text-decoration: none;
}
.png-indicator.indicator-icon:before {
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    content: '';
    margin-top: 0;
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    filter: none;
}
.png-indicator.indicator-icon.icon-small-blue:before {
    width: 40px;
    height: 40px;
    background-size: 26px;
}
.png-indicator.indicator-icon.context-and-governance:before {
    content: '';
    background-image: url(../images/context-governance-white.png);
}
.png-indicator.indicator-icon.economic-development:before {
    content: '';
    background-image: url(../images/economic-dev-white.png);
}
.png-indicator.indicator-icon.social-cohesion:before {
    content: '';
    background-image: url(../images/social-cohesion-white.png);
}
.png-indicator.indicator-icon.gender-equality:before {
    content: '';
    background-image: url(../images/gender-equality-white.png);
}
.png-indicator.indicator-icon.environmental-sustainability:before {
    content: '';
    background-image: url(../images/environment-white.png);
}
.png-indicator.indicator-icon.quality-of-life:before {
    content: '';
    background-image: url(../images/quality-life-white.png);
}
body {
    background-color: #000;
}
#block-externalrecitymenu {
     float: left;
     width: 100%;
}
.menu--external-re-city-menu {
    display: flex;
    justify-content: space-between;
}
.menu--external-re-city-menu.nav > li > a:hover, .menu--external-re-city-menu.nav > li > a:focus {
    background-color: transparent;
}
.menu--external-re-city-menu.nav > li > a {
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
}
.topbar {
    text-align: center;
}
.navbar-default .navbar-nav {
    display: flex;
    justify-content: space-between;
}
.menu--external-re-city-menu.nav > li,
.navbar-default .navbar-nav > li {
    width: 100%;
}
.region-header .logo {
    display: block;
    margin-bottom: 30px;
    margin-top: 30px;
}
footer {
    background: #000;
    color: #fff;
}
footer.footer-2 {
    text-align: center;
}
footer a:hover {
    text-decoration: none;
}
footer:hover, .footer-right a:hover {
    text-decoration: none !important;
}
footer.footer-1 {
    background-image: none;
    padding: 10px 0;
    background-color: transparent;
    padding-top: 50px;
}
footer.footer-1 section {
    width: 50%;
}
footer.footer-1 .region-footer-1 {
    display: flex;
}
footer.footer-1 section svg { 
    font-size: 44px;
    margin: 0 15px;
}
footer ul { 
    display: flex;
    justify-content: center;
}
footer ul li:before { 
    display: none!important;
}
footer a {
    color: #fff;
}
footer a:hover {
    color: #eee;
}
footer.footer-1 h2 {
    margin-bottom: 20px;
} 
h2 {
    text-transform: uppercase;
    letter-spacing: 0px;
    margin: 0;
    font-family: 'Druk-Bold';
    font-size: 60px;
    color: #fff;
}
footer.footer-1 .field--type-text-with-summary ul, footer.footer-1 .field--type-text ul {
    margin-left: 0;
}
.main-container {
    background-color: #fff;
}
body:not(.page-node-type-page):not(.path-taxonomy) .main-container {
    padding-bottom: 50px;
    padding-top: 50px;
}
.navbar-default .menu--external-re-city-menu > li:hover, .navbar-default .navbar-nav > li:hover {
    background: #4caf50;
}
.ciutat-term-title {
    background-color: #000;
    padding: 40px 0 15px 0;
}
.ciutat-term-title h1 {
    text-transform: uppercase;
    letter-spacing: 0px;
    margin: 0;
    font-family: 'Druk-Bold';
    font-size: 60px;
    color: #fff;
}
.subapartats-links {
    background-color: #000;
    padding-bottom: 40px;
}
.subapartats-links img {
    filter: invert(1);
}
.subapartats-links a {
    width: 68px;
    display: inline-block;
    padding: 10px;
}
.ciutat-indicadors-wrapper {
    background-color: #e5e5e5;
    padding-top: 60px;
    padding-bottom: 60px;
}
.ciutat-indicadors-wrapper .subapartat-head h3 {
    color: #5e5e5e;
    font-weight: 500;
}
.ciutat-indicadors-wrapper .subapartat-head img {
    max-width: 120px;
}
.ciutat-indicadors-wrapper .subapartat-wrapper {
    padding-top: 60px;
}
.subapartat-indicador-wrapper {
    width: 50%;
    padding: 20px;
}
.subapartat-indicadors-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.subapartat-indicador-wrapper h3 {
    font-weight: bold;
    font-family: Druk-Bold;
    font-size: 26px;
    font-style: italic;
    font-weight: bold;
    letter-spacing: 0.5pt;
    margin-bottom: 20px;
}
.subapartat-indicador-wrapper .subapartat-indicador-genere {
    font-weight: 500;
    font-family: Druk-Bold;
    font-size: 20px;
    font-style: italic;
    border-top: 4px solid #000;
    letter-spacing: 0.3pt;
    height: 18px;
}
.subapartat-indicador-wrapper .subapartat-indicador-valor {
    font-family: Druk-Bold;
    font-size: 54px;
    letter-spacing: 0.05em;
    line-height: 58px;
    margin-top: 10px;
}
.subapartat-indicador-wrapper .subapartat-indicador-valor.nan {
    font-size: 28px;
}
.subapartat-indicador-wrapper .subapartat-indicador-unitat {
    font-size: 14px;
    text-transform: lowercase;
    line-height: 14px;
}
h1.view-title {
    font-family: Druk-Bold;
    font-size: 54px;
    letter-spacing: 0.05em;
    line-height: 58px;
    margin-top: 10px;
    color: #000;
    text-align: center;
    text-transform: uppercase;
}
.view-id-publications >.view-content {
    display: flex;
}
.view-id-publications >.view-content .publication-row {
    width: 25%;
    padding: 40px;
}
.view-id-publications >.view-content .publication-row .publication-title {
    margin-top: 10px;
    font-weight: bold;
    font-size: 16px;
    color: #000000;
}
.view-id-publications >.view-content .publication-row a:hover .publication-title {
    opacity: 0.7;
}
h1.ve--heading {
    font-family: Druk-Bold;
    font-size: 54px;
    letter-spacing: 0.05em;
    line-height: 58px;
    margin-top: 10px;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    padding-top: 40px;
    padding-bottom: 40px;
}
.topbar .block-language {
    padding: 0;
    float: right;
    position: absolute;
    right: 0;
    top: 0;
}
.region-header {
    position: relative;
}
.topbar .block-language li a, .topbar .social-media-item a {
    color: #fff;
}
.topbar .block-language li.is-active a,
.topbar .block-language li a.active,
.topbar .block-language li a:hover {
    color: #4caf50;
    opacity: 1;
}
.topbar .block-language li {
    border-right: 2px solid #fff;
    line-height: 18px;
    padding: 0 5px;
}
.topbar .block-language li:last-of-type {
    border-right: none;
}
/*
li.metropolis-compare,
li.metropolis-tab {
    display: none!important;
}
.data_results--block .download-csv {
    display: none!important;
}
*/
.indicador-info-wrapper .left-col {
    text-align: justify;
}
.math {
		font-size: 13px;
}

.subapartats-links .subapartat-link {
    font-size: 50px;
    font-weight: bold;
    font-family: Druk-Bold;
    height: 68px;
    line-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    color: #fff;
}
.subapartats-links >.container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.subapartat-wrapper .subapartat-head >span{
    font-size: 50px;
    font-weight: bold;
    font-family: Druk-Bold;
    height: 68px;
    line-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}
