/* General configuration */
.flex {
    display: flex;
}

.flexOne {
    flex: 1;
}

.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 100px;
    z-index: 1;
}

.d4cwidget-dataset-card div.dataset-item>.d4cwidget,
.d4cwidget-dataset-card div.dataset-item>d4c-dashboard .d4cwidget-dashboard,
.d4cwidget-multidatasets-card div.dataset-item>.d4cwidget,
.d4cwidget-multidatasets-card div.dataset-item>d4c-dashboard .d4cwidget-dashboard {
    position: relative;
    height: 100%
}

.d4cwidget-dataset-card div.dataset-item>d4c-dashboard,
.d4cwidget-multidatasets-card div.dataset-item>d4c-dashboard {
    display: block
}

.d4cwidget-dashboard-tooltip {
    min-height: 30px;
    position: relative
}

.d4cwidget-dashboard-tooltip__record {
    overflow: auto;
    max-height: 235px;
    padding: 0 1rem 0 1rem
}

.d4cwidget-dashboard-tooltip__record-values {
    margin: 0;
    color: #333;
    padding: 0
}

.d4cwidget-dashboard-tooltip__header {
    font-weight: 600;
    text-align: left;
    font-size: 1.2rem;
    margin-bottom: .4rem;
    color: #777;
    padding-left: 0;
    padding-right: 0;
    word-wrap: break-word;
    overflow-wrap: break-word
}

.d4cwidget-dashboard-tooltip__field-name {
    color: #333;
    overflow-wrap: break-word;
    font-weight: 700
}

.d4cwidget-dashboard-tooltip__field-value {
    margin-left: 0;
    margin-bottom: .4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: break-word
}

.d4cwidget-dashboard-tooltip .d4cwidget-dashboard-tooltip__record-values a {
    color: #333
}

.d4cwidget-dashboard-tooltip__field-value:last-child {
    margin-bottom: .6rem
}

.d4cwidget-dashboard-tooltip__spinner {
    position: absolute;
    top: 50%;
    left: 50%
}

.d4cwidget-dashboard-tooltip__limited-results-warning {
    text-align: center;
    font-size: 1rem;
    color: #888
}

.d4cwidget-dashboard-tooltip__scroll-control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #666;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    margin: 0;
    border-top: 1px solid #e5e5e5;
    padding-top: .33rem;
    margin-bottom: -.66rem
}

.d4cwidget-dashboard-tooltip__scroll-amount {
    margin-left: .3rem;
    margin-right: .3rem;
    color: #666
}

.d4cwidget-dashboard-tooltip__scroll-left,
.d4cwidget-dashboard-tooltip__scroll-right {
    padding: .66rem;
    color: #333;
    border-radius: .4rem;
    border: none;
    background-color: transparent
}

.d4cwidget-dashboard-tooltip__scroll-left:focus,
.d4cwidget-dashboard-tooltip__scroll-left:hover,
.d4cwidget-dashboard-tooltip__scroll-right:focus,
.d4cwidget-dashboard-tooltip__scroll-right:hover {
    color: #333;
    background-color: #f5f5f5
}

.d4cwidget-dashboard__dashboard.leaflet-container a.leaflet-popup-close-button {
    color: #666;
    min-width: 32px;
    height: 32px;
    padding: 8px;
    font-weight: 400;
    font-size: 1.44rem;
    text-shadow: none;
    z-index: 1
}

.d4cwidget-dashboard__dashboard.leaflet-container a.leaflet-popup-close-button:hover {
    color: #333
}

.d4cwidget-dashboard__dashboard .leaflet-popup-content {
    margin: 2rem 0 1rem 0
}

.d4cwidget-dashboard-tooltip--reverse {
    height: 0
}

.d4cwidget-dashboard-tooltip--reverse .leaflet-popup-tip-container {
    position: absolute;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    top: -20px;
    left: 0;
    right: 0
}

.d4cwidget-dashboard {
    position: relative;
    min-height: 400px;
    overflow: hidden
}

.d4cwidget-dashboard--fullscreen {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 100% !important;
    z-index: 9999999
}

.d4cwidget-dashboard__dashboard {
    height: 100%;
    min-height: 400px
}

.d4cwidget-dashboard--fullscreen .d4cwidget-dashboard__dashboard {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important
}

.d4cwidget-dashboard__loading {
    position: absolute;
    left: 50%;
    margin-left: -24px;
    background: rgba(255, 255, 255, .9);
    padding: 5px 12px;
    color: #333;
    font-size: 30px;
    pointer-events: none
}

.d4cwidget-dashboard__limited-data-warning.d4c-message-box {
    font-size: .833rem;
    position: absolute;
    bottom: 20px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    margin-bottom: 0;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .65);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .65)
}

.d4cwidget-picto.d4cwidget-dashboard-picto svg {
    width: 18px;
    height: 18px
}

.d4cwidget-dashboard__legend {
    border-radius: 2px;
    text-align: left;
    line-height: 18px;
    color: #555;
    background-color: #fff;
    padding: .4em;
    min-width: 200px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.d4cwidget-dashboard__legend-title {
    text-align: center;
    overflow: hidden;
    font-weight: 700
}

.d4cwidget-dashboard__legend-color {
    height: 18px;
    width: 10%;
    padding: 0;
    display: inline-block;
    opacity: .8;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-style: solid;
    border-color: #000;
    border-width: 1px 1px 1px 0
}

.d4cwidget-dashboard__legend-color:first-child {
    margin-left: 5%;
    border-left-width: 1px
}

.d4cwidget-dashboard__legend-color:last-child {
    margin-right: 5%;
    border-right-width: 1px
}

.d4cwidget-dashboard__legend-counts {
    text-align: center
}

.d4cwidget-dashboard__legend-value {
    padding: 1px;
    line-height: .7rem;
    font-size: .7rem
}

.d4cwidget-dashboard__legend-value:first-child {
    float: left
}

.d4cwidget-dashboard__legend-value:last-child {
    float: right
}

.d4cwidget-dashboard__legend-value:first-child:last-child {
    float: none
}

.d4cwidget-dashboard__dashboard--with-searchbox .leaflet-top.leaflet-left {
    top: 45px
}

.d4cwidget-dashboard__dashboard--with-display-control .leaflet-top.leaflet-right {
    -webkit-transition: right .25s ease-in;
    transition: right .25s ease-in;
    right: 310px
}

.d4cwidget-dashboard .dashboard-timezone-caption {
    color: rgba(0, 0, 0, .5);
    font-size: .85em;
    padding-top: .5em
}

.d4cwidget-dashboard-display-control {
    position: absolute;
    top: 10px;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .65);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .65);
    border-radius: 4px;
    -webkit-transition: right .25s ease-in;
    transition: right .25s ease-in
}

.d4cwidget-dashboard-display-control__toggle {
    background-color: #fff;
    border: none;
    position: absolute;
    top: 100px;
    right: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 1.33rem;
    padding: 0;
    width: 1em;
    height: 2em;
    border-radius: 4px 0 0 4px;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .65);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .65)
}

.d4cwidget-dashboard-display-control__toggle:hover {
    background-color: #f4f4f4
}

.d4cwidget-dashboard-display-control__groups,
.d4cwidget-dashboard-display-control__no-groups {
    width: 300px;
    overflow-y: auto;
    margin: 0;
    padding: 10px;
    background-color: #fff;
    min-height: 150px;
    max-height: calc(100% - 2*10px);
    border-radius: 4px
}

.d4cwidget-dashboard-display-control__groups {
    list-style: none;
    position: relative
}

.d4cwidget-dashboard-display-control__no-groups {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.d4cwidget-dashboard-display-control__group {
    margin-left: 0;
    -webkit-transition: margin-left .2s, border-left-width .2s, opacity .2s;
    transition: margin-left .2s, border-left-width .2s, opacity .2s;
    border: solid 1px #E5E5E5;
    border-left-width: 5px;
    padding: 5px
}

.d4cwidget-dashboard-display-control__group:hover {
    background-color: #f4f4f4
}

.d4cwidget-dashboard-display-control__group:not(:last-child) {
    margin-bottom: 10px
}

.d4cwidget-dashboard-display-control__group--disabled {
    margin-left: 20px;
    border-left-width: 1px;
    opacity: .5
}

.d4cwidget-dashboard-display-control__group--not-toggleable[ng-click] {
    cursor: auto
}

.d4cwidget-dashboard-display-control__group-title {
    font-size: 1.1rem;
    color: #2C3F56;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline
}

.d4cwidget-dashboard-display-control__group-title--error {
    color: #C42B23
}

.d4cwidget-dashboard-display-control__picto {
    display: inline-block;
    vertical-align: sub
}

.d4cwidget-dashboard-display-control__group-description--error,
.d4cwidget-dashboard-display-control__group-title--error,
.d4cwidget-dashboard-display-control__picto--error {
    color: #C42B23
}

.d4cwidget-dashboard-display-control__group-description {
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden
}

.d4cwidget-dashboard-search-box {
    position: absolute;
    left: 0;
    top: 0;
    padding: 10px;
    background-color: transparent;
    -webkit-transition: background-color .1s, width .25s ease;
    transition: background-color .1s, width .25s ease;
    z-index: 8
}

.d4cwidget-dashboard-search-box__toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 4px;
    background-color: #fff;
    border: none;
    width: 20px;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1.33rem
}

.d4cwidget-dashboard-search-box__box-wrapper {
    position: relative
}

.d4cwidget-dashboard-search-box__box-wrapper:before {
    font-family: FontAwesome;
    content: '\f002';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    line-height: 2;
    font-size: 1.4rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

html[dir=rtl] .d4cwidget-dashboard-search-box__box-wrapper:before {
    right: 5px;
    left: auto
}

.d4cwidget-dashboard-search-box__box {
    padding-left: 3ch;
    padding-right: 3ch;
    width: 100%;
    font-size: 1.2rem;
    line-height: 2;
    outline: 0;
    -webkit-transition: border-color .1s;
    transition: border-color .1s;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .65);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .65);
    border: none
}

.d4cwidget-dashboard-search-box__box--datasearch {
    border-color: rgba(0, 0, 0, .1)
}

.d4cwidget-dashboard-search-box__box-cancel {
    position: absolute;
    right: 5px;
    top: 0;
    bottom: 0;
    border: none;
    background-color: transparent;
    outline: 0
}

html[dir=rtl] .d4cwidget-dashboard-search-box__box-cancel {
    left: 5px;
    right: auto
}

.d4cwidget-dashboard-search-box__suggestions {
    background-color: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
    border: solid 1px #90A4AE
}

.d4cwidget-dashboard-search-box__suggestions:hover {
    cursor: pointer
}

.d4cwidget-dashboard-search-box__suggestion {
    padding: 10px;
    border-top: solid 1px #E5E5E5
}

.d4cwidget-dashboard-search-box__suggestion em {
    font-style: normal;
    font-weight: 600
}

.d4cwidget-dashboard-search-box__suggestion--selected {
    color: #EC643C
}

.d4cwidget-dashboard-search-box__search-suggestion {
    padding: 10px;
    border-top: solid 1px #E5E5E5
}

.d4cwidget-dashboard-search-box__search-suggestion:first-child {
    border-top: none
}

.d4cwidget-dashboard-search-box__search-suggestion--selected {
    color: #EC643C
}

.d4cwidget-dashboard-search-box__suggestion-localization {
    font-size: .8rem;
    opacity: .6
}

.d4cwidget-dashboard-search-box__suggestion-icon {
    font-size: 1.2rem
}

.d4cwidget-dashboard-search-box--datasearch {
    background-color: #fff;
    bottom: 0;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.d4cwidget-dashboard-search-box__box-wrapper--datasearch {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-bottom: 10px
}

.d4cwidget-dashboard-search-box__data-search {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.d4cwidget-dashboard-search-box__data-search__datasets {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    max-height: 100px;
    overflow: auto;
    list-style: none;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    margin: 10px -10px 10px -10px;
    border-top: solid 1px #90A4AE
}

.d4cwidget-dashboard-search-box__data-search__dataset--active {
    color: #EC643C
}

.d4cwidget-dashboard-search-box__data-search__dataset {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    line-height: 1.5
}

.d4cwidget-dashboard-search-box__data-search__dataset-title {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1
}

.d4cwidget-dashboard-search-box__data-search__dataset-count {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    text-align: right
}

.d4cwidget-dashboard-search-box__data-search__pagination {
    height: 40px;
    line-height: 40px;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-bottom: -10px;
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 20px;
    padding-right: 20px;
    border-top: solid 1px #90A4AE;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.d4cwidget-dashboard-search-box__data-search__pagination-counter {
    text-align: left;
    display: inline-block;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1
}

.d4cwidget-dashboard-search-box__data-search__pagination-pages {
    display: inline-block;
    text-align: right;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1
}

.d4cwidget-dashboard-search-box__data-search__pagination-button {
    background-color: transparent;
    outline: 0;
    border: none
}

.d4cwidget-dashboard-search-box__data-search__pagination-button:disabled {
    opacity: .5
}

.d4cwidget-dashboard-search-box__data-search__results {
    list-style: none;
    margin-top: 0;
    margin-left: -10px;
    margin-right: -10px;
    padding: 0;
    border-top: solid 1px #90A4AE;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    overflow: auto
}

.d4cwidget-dashboard-search-box__data-search__result:hover {
    cursor: pointer
}

.d4cwidget-dashboard-search-box__data-search__no-results {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 20px;
    opacity: .8
}

.d4cwidget-dashboard-search-box__data-search__result {
    padding: 15px
}

.d4cwidget-dashboard-search-box__data-search__result-empty {
    font-style: italic;
    opacity: .6
}

.d4cwidget-dashboard-search-box__data-search__result-icon {
    font-size: 1.2rem;
    margin-right: 5px
}

.d4cwidget-dashboard-search-box__data-search__result:not(:first-child) {
    border-top: solid 1px #E5E5E5
}

.d4cwidget-dashboard-search-box__data-search__result-preview {
    display: table
}

.d4cwidget-dashboard-search-box__data-search__result-preview-line {
    display: table-row;
    padding: 10px
}

.d4cwidget-dashboard-search-box__data-search__result-preview-label {
    display: table-cell;
    font-weight: 700;
    padding-right: 20px;
    text-align: right
}

.d4cwidget-dashboard-search-box__data-search__result-preview-value {
    display: table-cell
}

.d4cwidget-dashboard-search-box__close-search-icon {
    font-size: 1.2rem
}

.d4c-widget__d4c-search-marker {
    opacity: 0;
    -webkit-transition: opacity .3s linear;
    transition: opacity .3s linear
}

.d4cwidget-dashboard-legend {
    width: 300px;
    position: absolute;
    bottom: 50px;
    right: 10px;
    background-color: #fff;
    padding: 5px 5px 25px 5px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .65);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .65)
}

.d4cwidget-dashboard-legend__display {
    width: 300px;
    height: 20px;
    position: absolute;
    bottom: 25px;
    right: 10px;
    background-color: #fff;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .65);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .65);
    text-align: center;
}

.d4cwidget-dashboard-legend--extended {
    width: 400px;
    overflow: hidden
}

.d4cwidget-dashboard-legend__categories-container--extended {
    -webkit-column-count: 2;
    column-count: 2
}

.d4cwidget-dashboard-legend__categories--condensed {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: distribute;
    justify-content: space-around
}

.d4cwidget-dashboard-legend__categories--condensed__item {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 80px;
    padding: 2px;
    text-align: center
}

.d4cwidget-dashboard-legend__categories__color-block,
.d4cwidget-dashboard-legend__choropleth__color-block {
    width: 16px;
    height: 16px;
    border: solid 1px #000;
    display: inline-block
}

.d4cwidget-dashboard-legend__categories--extended {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: distribute;
    justify-content: space-around
}

.d4cwidget-dashboard-legend__categories__item {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 190px;
    padding: 2px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: .9rem
}

.d4cwidget-dashboard-legend__categories__item-color {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-right: 5px
}

html[dir=rtl] .d4cwidget-dashboard-legend__categories__item-color {
    margin-left: 5px;
    margin-right: 0
}

.d4cwidget-dashboard-legend__categories__item-value {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left
}

html[dir=rtl] .d4cwidget-dashboard-legend__categories__item-value {
    text-align: right
}

.d4cwidget-dashboard-legend__categories__item-value--remaining {
    font-style: italic
}

.d4cwidget-dashboard-legend__choropleth__item-value--remaining {
    font-style: italic;
    font-size: .9rem;
    text-align: right;
    width: 100%
}

html[dir=rtl] .d4cwidget-dashboard-legend__choropleth__item-value--remaining {
    text-align: left
}

.d4cwidget-dashboard-legend__categories__item-value--others {
    font-style: italic
}

.d4cwidget-dashboard-legend__choropleth__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0 2px
}

.d4cwidget-dashboard-legend__choropleth__item-color {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-right: 5px
}

html[dir=rtl] .d4cwidget-dashboard-legend__choropleth__item-color {
    margin-left: 5px;
    margin-right: 0
}

.d4cwidget-dashboard-legend__choropleth__item-range {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    font-size: .9rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.d4cwidget-dashboard-legend__choropleth__item-range--center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.d4cwidget-dashboard-legend__choropleth__item-range__bound {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    text-align: right;
    width: 50%
}

html[dir=rtl] .d4cwidget-dashboard-legend__choropleth__item-range__bound {
    text-align: left
}

.d4cwidget-dashboard-legend__choropleth__item-range__bound-arrow {
    margin-left: 10px
}

html[dir=rtl] .d4cwidget-dashboard-legend__choropleth__item-range__bound-arrow {
    margin-right: 10px;
    margin-left: 0
}

.d4cwidget-dashboard-legend__default-container {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 190px;
    padding: 2px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: .9rem
}

.d4cwidget-dashboard-legend__simple-container {
    text-align: center
}

.d4cwidget-dashboard-legend__default__color-block {
    width: 16px;
    height: 16px;
    border: solid 1px #000;
    display: inline-block;
    margin-right: 5px
}

html[dir=rtl] .d4cwidget-dashboard-legend__default__color-block {
    margin-left: 5px;
    margin-right: 0
}

.d4cwidget-dashboard-legend__simple__color-block {
    width: 60%;
    height: 16px;
    border: solid 1px #000;
    display: inline-block;
    margin-top: 10px
}

.d4cwidget-dashboard-legend__simple__color-block:last-child {
    margin-bottom: 10px
}

.d4cwidget-dashboard-legend__simple__color-block-subtext {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 60%;
    font-size: .8rem;
    margin-bottom: 10px
}

.d4cwidget-dashboard-legend__simple__color-block-subtext-left {
    width: 50%;
    text-align: left
}

html[dir=rtl] .d4cwidget-dashboard-legend__simple__color-block-subtext-left {
    text-align: right
}

.d4cwidget-dashboard-legend__simple__color-block-subtext-right {
    width: 50%;
    text-align: right
}

html[dir=rtl] .d4cwidget-dashboard-legend__simple__color-block-subtext-right {
    text-align: left
}

.d4cwidget-dashboard-legend__title {
    position: relative;
    font-weight: 600;
    text-align: center;
    display: inline
}

.d4cwidget-dashboard-legend__picto {
    display: inline-block;
    vertical-align: sub
}

.d4cwidget-dashboard-legend__label {
    font-size: .9rem;
    text-align: center
}

.d4cwidget-dashboard-legend__header {
    text-align: center;
    margin-bottom: 5px;
    margin-right: 20px
}

.d4cwidget-dashboard-legend--not-toggleable[ng-click] {
    cursor: auto
}

.d4cwidget-dashboard-legend__title-toggle {
    position: absolute;
    right: 5px;
    top: 0;
    bottom: 0;
    border: none;
    background-color: transparent;
    color: #888;
    border-radius: .4rem
}

.d4cwidget-dashboard-legend__title-toggle:hover {
    color: #333
}

.d4cwidget-dashboard-legend__pagination {
    position: absolute;
    bottom: 5px;
    right: 5px
}

.d4cwidget-dashboard-legend__pagination-button {
    background-color: transparent;
    border: none;
    outline: 0;
    color: #333;
    border-radius: 4px
}

.d4cwidget-dashboard-legend__pagination-button:hover {
    color: #333;
    background-color: #f5f5f5
}

.d4cwidget-dashboard-legend__pagination-button.ng-hide {
    display: inline-block !important;
    visibility: hidden
}

.d4cwidget-dashboard-legend__no-legend-placeholder {
    text-align: center;
    font-style: italic
}

.d4cwidget-geo-search__dashboard {
    width: 100%;
    height: 200px
}

.d4cwidget-dashboard-search-box__box-wrapper:before {
    font-family: d4cui;
    content: '\f131'
}

.d4cwidget-dataset-feedback__dashboard-container {
    display: inline-block
}

.d4cwidget-dataset-feedback__dashboard-container .dashboard {
    height: 350px;
    width: 410px
}

.d4c-dataset-visualization__tab-dashboard {
    padding: 0
}

.d4c-embed-watermark--dashboard {
    position: fixed;
    bottom: 0;
    left: 140px;
    background: rgba(255, 255, 255, .7);
    padding: 5px
}

.d4c-form__group d4c-dashboardbuilder-color-categories .d4c-form__group,
.d4c-form__group d4c-dashboardbuilder-color-choropleth .d4c-form__group,
.d4c-form__group d4c-dashboardbuilder-color-heatdashboard .d4c-form__group {
    margin-left: 0;
    margin-right: 0
}

.d4c-message-box.d4c-dashboardbuilder__layer-configuration__message {
    background-color: #f5f5f5;
    color: #666
}

d4c-dashboardbuilder-modal-selector .d4c-message-box {
    border: none;
    border-radius: 0;
    padding: 20px;
    margin: -20px -20px 20px -20px
}

.d4c-basedashboard-configuration__extra {
    border-left: 3px solid #FFF;
    padding: .33rem .67rem;
    margin-top: .33rem
}

.d4c-basedashboard-configuration__dashboard {
    height: 150px;
    width: 100%;
    min-width: 150px
}

.d4c-basedashboard-configuration__dashboard .leaflet-control-zoom-in,
.d4c-basedashboard-configuration__dashboard .leaflet-control-zoom-out {
    opacity: .6
}

.d4c-dashboard-location-selector {
    position: relative
}

.d4c-dashboard-location-selector__dashboard {
    height: 300px;
    width: 400px
}

.d4c-dashboard-location-selector__overlay {
    position: absolute;
    left: 50px;
    top: 50px;
    height: 200px;
    width: 300px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid #888;
    opacity: .7;
    pointer-events: none
}

.d4c-dashboardbuilder__actions {
    width: 250px;
    flex-shrink: 0; /* Prevent shrinking */
    flex-grow: 0; /* Prevent growing */
    flex-basis: 250px; /* Ensure the basis is 250px */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.d4c-dashboardbuilder__main-panel {
    background-color: #fff;
    opacity: 0.6;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .65);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .65);
    color: #333;
    transition: all ease 0.5s;
}

.d4c-dashboardbuilder__main-panel:hover {
    opacity: 1;
    transition: all ease 0.5s;
}

/* .d4c-dashboardbuilder__ai-panel {
    margin: 5px 0px;
    background-color: #fff;
    opacity: 0.6;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .65);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .65);
    color: #333;
    transition: all ease 0.5s;
    overflow: hidden;
}
    
.chat-dialogs {
    padding: 5px;
    border-bottom: 1px solid lightgray;
    margin-bottom: -1px;
    display: flex;
    flex-direction: column;
    overflow: auto;
    flex: 1;
    position: absolute;
}

.chat-dialog {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #d4edda;
    color: #155724;
    max-width: 60%;
    width: 60%;
    text-align: left;
    display: flex;
}
    
.chat-dialog-response {
    background-color: #cce5ff;
    color: #004085;
    align-self: flex-end;
    display: flex;
}

.d4c-dashboardbuilder__ai-panel__textarea {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    margin: 5px;
    outline: 0;
}

.d4c-dashboardbuilder__ai-panel__textarea {
    width: 100%;
    padding: 0px 5px;
} */

.d4c-dashboardbuilder__ai-panel {
    padding: 10px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

.d4c-dashboardbuilder__ai-panel__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: visible;
}

.d4c-dashboardbuilder__ai-panel__label {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0px !important;
}

.input-container {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-width: 700px;
}

.input-container-content {
    display: flex;
    flex-grow: 1;
    width: 100%;
    gap: 10px;
}

.d4c-dashboardbuilder__ai-panel__textarea {
    border: none;
    padding: 10px;
    border-radius: 5px;
    background-color: #f1f1f1;
    font-size: 16px;
    flex-grow: 1;
}

.d4c-dashboardbuilder__main-panel__button {
    background-color: #4CAF50; /* Green background */
    border: none; /* Remove borders */
    color: white; /* White text */
    padding: 10px 20px; /* Some padding */
    text-align: center; /* Center the text */
    text-decoration: none; /* Remove underline */
    display: inline-block; /* Make the container inline-block */
    font-size: 16px; /* Increase font size */
    margin: 4px 2px; /* Some margin */
    cursor: pointer; /* Pointer/hand icon */
    border-radius: 5px; /* Rounded corners */
}

.d4c-dashboardbuilder__main-panel__button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.chat-dialogs {
    max-height: 500px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    position: absolute;
    bottom: 115px;
    left: 0;
    right: 0;
    background-color: #f7f8fa;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chat-dialogs.visible {
    opacity: 0.8;
    pointer-events: auto;
}

.chat-dialog {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.chat-dialog-response {
    background-color: #e9f3ff;
    padding: 10px;
    border-radius: 5px;
}

.chat-dialog__avatar {
    margin-top: 5px;
    margin-right: 12px;
}

.chat-dialog__avatar i {
    font-size: 24px;
}

.chat-dialog__content {
    flex-grow: 1;
}

.chat-dialog__text {
    background-color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.d4c-dashboardbuilder__main-panel__top-bar {
    border-bottom: solid 1px rgba(0, 0, 0, .1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    /* border-top-left-radius: 4px; */
    /* border-top-right-radius: 4px; */
    /* overflow: hidden; */
    text-align: center;
}

.d4c-dashboardbuilder__main-panel__dashboard-selection {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.d4c-dashboardbuilder__main-panel__dashboard-name {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    margin: 5px;
    outline: 0;
}

.d4c-dashboardbuilder__main-panel__dashboard-type {
    margin-left: 5px;
    margin-right: 5px;
}

.d4c-dashboardbuilder__main-panel__mode-switch {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 5px;
    padding-right: 5px;
}

.d4c-dashboardbuilder__main-panel__button {
    color: #333;
    background-color: transparent;
    border: none;
    padding: 10px;
    outline: 0
}

.d4c-dashboardbuilder__main-panel__button:focus,
.d4c-dashboardbuilder__main-panel__button:hover {
    background-color: #f4f4f4;
    color: #333
}

.d4c-dashboardbuilder__main-panel__button:disabled {
    color: inherit;
    opacity: .4
}

.d4c-dashboardbuilder__main-panel__button-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    /* border-bottom-left-radius: 4px; */
    /* border-bottom-right-radius: 4px; */
    overflow: hidden;
}

.d4c-dashboardbuilder__ai-panel__content {
    height: 100%;
}

.d4c-dashboardbuilder__main-panel__button--flexible {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1
}

.d4c-dashboardbuilder__main-panel__last-save {
    font-size: .8rem;
    opacity: .8
}

.d4c-dashboardbuilder__main-panel__button--with-disabled-tooltip {
    width: 100%
}

.d4c-dashboardbuilder__datasets-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 400px;
    background-color: #EFEFEF;
    -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .65);
    box-shadow: 0 4px 5px rgba(0, 0, 0, .65);
    z-index: 8
}

.d4c-dashboardbuilder__datasets-panel__groups {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    max-height: 100%;
    background-color: #FFF
}

.d4c-dashboardbuilder__datasets-panel__groups>div:first-child {
    overflow-y: auto
}

.d4c-dashboardbuilder__datasets-panel__group-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 1rem;
    color: #777;
    line-height: 40px;
    padding: 0 15px
}

.d4c-dashboardbuilder__datasets-panel__group-container:not(:first-child) {
    border-top: solid 1px rgba(0, 0, 0, .1)
}

.d4c-dashboardbuilder__datasets-panel__group-container--multiple-items .d4c-dashboardbuilder__datasets-panel__layer {
    padding-left: 30px
}

html[dir=rtl] .d4c-dashboardbuilder__datasets-panel__group-container--multiple-items .d4c-dashboardbuilder__datasets-panel__layer {
    padding-right: 30px;
    padding-left: 0
}

.d4c-dashboardbuilder__datasets-panel__group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.d4c-dashboardbuilder__datasets-panel__layer-edition-container {
    max-height: 100%;
    background-color: #FFF;
    overflow-y: auto
}

.d4c-dashboardbuilder__datasets-panel__layer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1rem;
    color: #777;
    line-height: 40px
}

.d4c-dashboardbuilder__datasets-panel__layer--error {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #C42B23;
    font-size: 1.4rem;
    padding-left: 5px;
    padding-right: 5px
}

.d4c-dashboardbuilder__datasets-panel__group-title {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.d4c-dashboardbuilder__datasets-panel__group-title:hover::after {
    content: '\f040';
    font: normal normal normal 14px/1 FontAwesome;
    position: absolute;
    left: 100%;
    top: 0;
    line-height: 1.33em
}

.d4c-back-section__edit-link {
    display: inline-block;
    position: relative;
    margin-right: 1em;
    padding-right: .33em
}

.d4c-dashboardbuilder__datasets-panel__group-icon {
    font-size: 1.44rem;
    opacity: .5;
    margin-right: 10px
}

.d4c-dashboardbuilder__datasets-panel__group-picto {
    font-size: 1.44rem;
    margin-right: 10px;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-width: 18px
}

.d4c-dashboardbuilder__datasets-panel__layer-button-icon,
.d4c-dashboardbuilder__datasets-panel__layer-button-zoom-icon {
    display: none
}

.d4c-dashboardbuilder__datasets-panel__layer-button-icon {
    opacity: .5
}

.d4c-dashboardbuilder__datasets-panel__layer-button-zoom-icon {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

.d4c-dashboardbuilder__datasets-panel__layer-button {
    color: #313131;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    font-size: 1.4rem;
    padding-left: 5px;
    padding-right: 5px;
    outline: 0;
    border: none;
    background-color: transparent;
    height: 30px;
    -webkit-transition: all .2s;
    transition: all .2s;
    border-radius: .25rem
}

.d4c-dashboardbuilder__datasets-panel__layer-button:hover {
    background-color: #333;
    color: #313131
}

.d4c-dashboardbuilder__datasets-panel__layer-button:hover .d4c-dashboardbuilder__datasets-panel__layer-button-zoom-icon {
    display: inline-block
}

.d4c-dashboardbuilder__datasets-panel__layer-button:not(:hover) .d4c-dashboardbuilder__datasets-panel__layer-button-icon {
    display: inline-block
}

.d4c-dashboardbuilder__datasets-panel__layer-name {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0 5px
}

.d4c-dashboardbuilder__datasets-panel__layer-name--error {
    color: #C42B23
}

.d4c-dashboardbuilder__datasets-panel__layer-edit {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    padding-left: 5px;
    padding-right: 5px
}

.d4c-button.d4c-dashboardbuilder__add-first-dataset-button,
.d4c-page-legacy .btn.d4c-dashboardbuilder__add-first-dataset-button {
    padding: .37rem 0.5rem;
    /* display: -webkit-box; */
    display: -ms-flexbox;
    /* display: flex; */
    -webkit-box-align: center;
    -ms-flex-align: center;
    position: relative;
    /* right: 5px; */
    top: 5px;
    width: 100%;
    /* left: 5px; */
    font-size: 12px;
    align-items: center;
}

.d4c-button.d4c-dashboardbuilder__add-first-dataset-button i {
    font-size: 21px;
    vertical-align: middle;
}

.d4c-button.d4c-dashboardbuilder__add-first-dataset-button span {
    vertical-align: middle;
}

.d4c-dashboardbuilder__add-first-dataset-button__image {
    fill: currentColor;
    width: 50px;
    height: 50px;
    margin-right: 1rem;
    display: inline-block
}

.d4c-dashboardbuilder__add-first-dataset-button__image svg circle,
.d4c-dashboardbuilder__add-first-dataset-button__image svg path,
.d4c-dashboardbuilder__add-first-dataset-button__image svg polygon,
.d4c-dashboardbuilder__add-first-dataset-button__image svg rect {
    fill: currentColor
}

.d4c-dashboardbuilder__add-first-dataset-button__image svg {
    width: 50px;
    height: 50px
}

.d4c-dashboardbuilder__datasets-panel__add-dataset {
    line-height: 40px;
    padding-left: 20px;
    border-top: solid 1px rgba(0, 0, 0, .1);
    border-bottom: solid 1px rgba(0, 0, 0, .1);
    border-left: none;
    border-right: none;
    display: block;
    cursor: pointer;
    background-color: #FFF;
    color: #333;
    text-align: left
}

html[dir=rtl] .d4c-dashboardbuilder__datasets-panel__add-dataset {
    padding-right: 20px;
    padding-left: 0
}

.d4c-dashboardbuilder__datasets-panel__add-dataset-icon {
    fill: currentColor;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    display: inline-block
}

.d4c-dashboardbuilder__datasets-panel__add-dataset-icon svg circle,
.d4c-dashboardbuilder__datasets-panel__add-dataset-icon svg path,
.d4c-dashboardbuilder__datasets-panel__add-dataset-icon svg polygon,
.d4c-dashboardbuilder__datasets-panel__add-dataset-icon svg rect {
    fill: currentColor
}

.d4c-dashboardbuilder__datasets-panel__add-dataset-icon svg {
    width: 24px;
    height: 24px
}

.d4c-dashboardbuilder__datasets-panel__add-first-dataset {
    /* display: -webkit-box; */
    display: -ms-flexbox;
    /* display: flex; */
    height: 100%;
    /* -webkit-box-align: center; */
    -ms-flex-align: center;
    /* align-items: center; */
    /* -webkit-box-pack: center; */
    -ms-flex-pack: center;
    /* justify-content: center; */
    /* -webkit-box-orient: vertical; */
    /* -webkit-box-direction: normal; */
    -ms-flex-direction: column;
    /* flex-direction: column; */
    position: relative;
}

.d4c-dashboardbuilder__datasets-panel__dataset-tooltip-title {
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: .5rem
}

.d4c-dashboardbuilder__datasets-panel__dataset-tooltip-filters {
    font-style: italic;
    margin-bottom: .5rem
}

.d4c-dashboardbuilder__displaymodes-list {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    -webkit-transition: background-color .2s linear;
    transition: background-color .2s linear;
    pointer-events: none
}

.d4c-dashboardbuilder__displaymodes-list__container {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    pointer-events: none
}

.d4c-dashboardbuidler__displaymodes-list__container-backdrop {
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    pointer-events: initial
}

.d4c-dashboardbuilder__displaymodes-list__mode {
    border: solid 1px rgba(0, 0, 0, .1);
    min-height: 80px;
    background-color: #FFF;
    border-radius: .25rem;
    padding: 10px;
    pointer-events: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out
}

.d4c-dashboardbuilder__displaymodes-list__mode:focus,
.d4c-dashboardbuilder__displaymodes-list__mode:hover {
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    background-color: #f2f2f2
}

.d4c-dashboardbuilder__displaymodes-list__mode--disabled {
    color: #aaa;
    cursor: not-allowed
}

.d4c-dashboardbuilder__displaymodes-list__mode--disabled:hover {
    background-color: #f5f5f5
}

.d4c-dashboardbuilder__displaymodes-list__mode-disabled-warning {
    font-style: italic
}

.d4c-dashboardbuilder__displaymodes-list__display-preview {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60px;
    flex: 0 0 60px;
    height: 60px
}

.d4c-dashboardbuilder__displaymodes-list__mode-details {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    margin-left: 10px
}

html[dir=rtl] .d4c-dashboardbuilder__displaymodes-list__mode-details {
    margin-right: 10px;
    margin-left: 0
}

.d4c-dashboardbuilder__displaymodes-list__mode-label {
    font-weight: 600;
    max-width: 268px
}

.d4c-dashboardbuilder__displaymodes-list__mode-description {
    max-width: 268px;
    font-size: .9rem
}

.d4c-dashboardbuilder__displaymodes-list__mode-toggle {
    color: #777;
    line-height: 60px;
    font-size: 2rem
}

.d4c-dashboardbuilder__displaymodes-list:hover .d4c-dashboardbuilder__displaymodes-list__mode-toggle {
    opacity: 1
}

.d4c-dashboardbuilder__displaymodes-list__mode--active .d4c-dashboardbuilder__displaymodes-list__mode-label {
    color: #333
}

.d4c-dashboardbuilder__marker-configuration {
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.d4c-dashboardbuilder__marker-configuration__choice-preview {
    font-size: 1.3rem;
    height: 1.3rem;
    line-height: 0;
    display: inline-block;
    vertical-align: bottom;
    margin-left: 5px
}

.d4c-dashboardbuilder__marker-configuration__choice-name__information {
    font-size: .833rem
}

.d4c-dashboardbuilder__marker-configuration__choice-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.d4c-dashboardbuilder__marker-configuration__form__label {
    font-size: .95rem;
    width: 70px;
    margin-right: 1rem
}

.d4c-dashboardbuilder__marker-configuration__choice-description {
    font-style: italic
}

.d4c-dashboardbuilder__marker-configuration__choice {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 10px
}

.d4c-dashboardbuilder__marker-configuration__choice-radio {
    padding: .5rem;
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out
}

.d4c-dashboardbuilder__marker-configuration__choice-radio:hover {
    cursor: pointer
}

.d4c-dashboardbuilder__marker-configuration__choice-control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-bottom: 1rem
}

.d4c-dashboardbuilder__marker-configuration__checkbox-details {
    margin-left: 10px
}

.d4c-dashboardbuilder__layer-configuration__section {
    padding: 10px 20px
}

.d4c-dashboardbuilder__layer-configuration__section-title {
    font-size: 1.1rem
}

.d4c-dashboardbuilder__layer-configuration .d4c-range-input__value-input {
    width: 60px
}

.d4c-dashboardbuilder__layer-configuration__form__inline-label {
    display: block;
    margin-bottom: 5px
}

.d4c-dashboardbuilder__layer-configuration__form__text-field {
    width: 100%
}

.d4c-dashboardbuilder__layer-configuration__message-box {
    margin: 10px
}

.d4c-dashboardbuilder__layer-configuration__description {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1
}

.d4c-dashboardbuilder__layer-configuration__description-help {
    width: 100%;
    text-align: right
}

.d4c-dashboardbuilder__layer-configuration__description-input {
    min-height: 150px;
    width: 100%;
    resize: none
}

.d4c-dashboardbuilder__group-configuration__section {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: solid 1px rgba(0, 0, 0, .1)
}

.d4c-dashboardbuilder__group-configuration__section-title {
    font-size: 1.1rem
}

.d4c-dashboardbuilder__group-configuration__form__label {
    width: 70px;
    font-size: .95rem
}

.d4c-dashboardbuilder__group-configuration__form__controls {
    margin-left: 80px
}

.d4c-dashboardbuilder__group-configuration__form__controls>select {
    cursor: pointer
}

.d4c-dashboardbuilder__group-configuration .d4c-range-input__value-input {
    width: 40px
}

.d4c-dashboardbuilder__group-configuration__form__inline-label {
    display: block;
    margin-bottom: 5px
}

.d4c-dashboardbuilder__group-configuration__form__text-field {
    width: 100%
}

.d4c-dashboardbuilder__group-configuration__message-box {
    margin: 10px
}

.d4c-dashboardbuilder__group-configuration__description {
    width: 100%
}

.d4c-dashboardbuilder__group-configuration__description-input {
    width: 100%;
    min-height: 150px;
    resize: none
}

.d4c-dashboardbuilder__layer-edition {
    height: 100%;
    max-height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.d4c-dashboardbuilder__layer-edition__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    min-height: 40px;
    line-height: 40px;
    padding: 0 15px
}

.d4c-dashboardbuilder__layer-edition__header-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-item-align: center;
    align-self: center;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.d4c-dashboardbuilder__layer-edition__header-item:active,
.d4c-dashboardbuilder__layer-edition__header-item:focus,
.d4c-dashboardbuilder__layer-edition__header-item:hover {
    text-decoration: none;
    color: #333
}

.d4c-dashboardbuilder__layer-edition__header-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-item-align: center;
    align-self: center;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin: 0 5px;
    font-weight: 700
}

.d4c-dashboardbuilder__layer-edition__header-filters {
    padding-left: 5px;
    padding-right: 5px
}

.d4c-dashboardbuilder__layer-edition__header-back {
    padding-left: 5px;
    padding-right: 5px
}

.d4c-dashboardbuilder__layer-edition__header-icon {
    font-size: 1.2rem;
    color: #777
}

.d4c-dashboardbuilder__layer-edition__layer-button {
    color: #313131;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    font-size: 1.4rem;
    padding-left: 5px;
    padding-right: 5px;
    outline: 0;
    border: none;
    background-color: transparent;
    height: 30px;
    -webkit-transition: all .2s;
    transition: all .2s;
    border-radius: .25rem
}

.d4c-dashboardbuilder__layer-edition__layer-button:hover {
    background-color: #333;
    color: #313131
}

.d4c-dashboardbuilder__layer-edition__layer-button-icon,
.d4c-dashboardbuilder__layer-edition__layer-button-zoom-icon {
    display: none
}

.d4c-dashboardbuilder__layer-edition__layer-button-icon {
    opacity: .5
}

.d4c-dashboardbuilder__layer-edition__layer-button-zoom-icon {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

.d4c-dashboardbuilder__layer-edition__layer-button:hover .d4c-dashboardbuilder__layer-edition__layer-button-zoom-icon {
    display: inline-block
}

.d4c-dashboardbuilder__layer-edition__layer-button:not(:hover) .d4c-dashboardbuilder__layer-edition__layer-button-icon {
    display: inline-block
}

.d4c-dashboardbuilder__layer-edition__top-buttons-bar {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-bottom: solid 1px rgba(0, 0, 0, .1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row
}

.d4c-dashboardbuilder__layer-edition__top-button {
    display: inline-block;
    background-color: transparent;
    line-height: 37px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0;
    outline: 0;
    color: #313131
}

.d4c-dashboardbuilder__layer-edition__top-button:hover {
    background-color: transparent;
    color: #333
}

.d4c-dashboardbuilder__layer-edition__top-button--active {
    color: #333;
    border-bottom-color: #333
}

.d4c-dashboardbuilder__layer-edition__top-button--flexible {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1
}

.d4c-dashboardbuilder__layer-edition__content {
    overflow-y: auto;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    height: 100%
}

.d4c-dashboardbuilder__layer-edition__remove-panel {
    text-align: center;
    border-bottom: solid 1px rgba(0, 0, 0, .1)
}

.d4c-dashboardbuilder__layer-edition__remove-panel-button {
    font-size: 1.1rem;
    margin-top: 5rem;
    margin-bottom: 5rem
}

.d4c-dashboardbuilder__layer-edition__configuration-container {
    position: relative;
    padding-top: calc(100px);
    height: 100%
}

.d4c-dashboardbuilder__layer-edition__unsupported-display-message-container {
    margin: 2rem
}

.d4c-dashboardbuilder__group-edition {
    height: 100%;
    max-height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

d4c-dashboardbuilder__group-edition {
    height: 100%;
    max-height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.d4c-dashboardbuilder__group-edition__header {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    line-height: 40px;
    border-bottom: solid 1px rgba(0, 0, 0, .1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding: 1px 20px
}

.d4c-dashboardbuilder__group-edition__top-buttons-bar {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-bottom: solid 1px rgba(0, 0, 0, .1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row
}

.d4c-dashboardbuilder__group-edition__top-button {
    display: inline-block;
    background-color: transparent;
    line-height: 40px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    border: none;
    padding: 0;
    outline: 0
}

.d4c-dashboardbuilder__group-edition__top-button--flexible {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1
}

.d4c-dashboardbuilder__group-edition__group-button-icon,
.d4c-dashboardbuilder__group-edition__group-button-zoom-icon {
    display: none
}

.d4c-dashboardbuilder__group-edition__group-button-icon {
    opacity: .5
}

.d4c-dashboardbuilder__group-edition__group-button-zoom-icon {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

.d4c-dashboardbuilder__group-edition__group-button {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    font-size: 1.4rem;
    margin-left: 15px;
    padding-left: 5px;
    padding-right: 5px;
    outline: 0;
    border: none;
    background-color: transparent;
    height: 30px;
    margin-top: 5px
}

.d4c-dashboardbuilder__group-edition__group-button:hover {
    background-color: #333;
    color: #313131
}

.d4c-dashboardbuilder__group-edition__group-button:hover .d4c-dashboardbuilder__group-edition__group-button-zoom-icon {
    display: inline-block
}

.d4c-dashboardbuilder__group-edition__group-button:not(:hover) .d4c-dashboardbuilder__group-edition__group-button-icon {
    display: inline-block
}

.d4c-dashboardbuilder__group-edition__top-button--active {
    color: #333
}

.d4c-dashboardbuilder__group-edition__top-button:hover {
    background-color: transparent
}

.d4c-dashboardbuilder__group-edition__content {
    overflow-y: auto;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1
}

.d4c-dashboardbuilder__group-edition__header-title {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-right: 5px
}

.d4c-dashboardbuilder__group-edition__header-back {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.d4c-dashboardbuilder__group-edition__header-icon {
    font-size: 1.2rem;
    color: #777
}

.d4c-dashboardbuilder__group-edition__configuration-container {
    position: relative;
    padding-top: calc(90px)
}

.d4c-dashboardbuilder__modal-selector__dashboard-slug {
    font-size: .833rem
}

.d4c-dashboardbuilder__modal-selector__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 20px
}

.d4c-dashboardbuilder__modal-selector__untitled {
    font-style: italic
}

.d4c-dashboardbuilder__modal-selector__draft {
    color: rgba(49, 49, 49, .55)
}

.d4c-dashboardbuilder__modal-selector__details {
    color: rgba(49, 49, 49, .55);
    font-size: .833rem
}

.d4c-dashboardbuilder__modal-groups__actions {
    margin-bottom: 10px;
    border-bottom: solid 1px #ccc;
    padding-bottom: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.d4c-dashboardbuilder__modal-groups__groups-list {
    padding: 0
}

.d4c-dashboardbuilder__modal-groups__group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 10px;
    border: solid 1px #ccc;
    border-radius: 2px
}

.d4c-dashboardbuilder__modal-groups__group ul {
    list-style: none;
    margin-left: 1rem
}

.d4c-dashboardbuilder__modal-groups__group-icon {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    vertical-align: bottom
}

.d4c-dashboardbuilder__modal-groups__group input {
    margin-right: 1rem
}

.d4c-dashboardbuilder__modal-groups__group__actions {
    margin: -1rem 0
}

.d4c-dashboardbuilder__modal-groups__group__actions i {
    font-size: 1.5rem
}

.d4c-dashboardbuilder__modal-groups__group__actions-move {
    cursor: move
}

.d4c-dashboardbuilder__modal-share__widget-code {
    width: 100%;
    height: 200px
}

.d4c-dashboardbuilder__modal-share__widget-code textarea {
    direction: ltr
}

h2.d4c-dashboardbuilder-modal-share__title {
    margin-top: 2rem
}

.d4c-dashboardbuilder-modal-share__size-input {
    width: 80px
}

.d4c-form__group.d4c-dashboardbuilder-modal-share__error-messages {
    margin-bottom: 1rem
}

.d4c-dashboardbuilder-modal-share__input-separator {
    margin-top: 1rem;
    margin-left: .3rem !important;
    margin-right: .3rem !important
}

.d4c-dashboardbuilder-modal-share__disclaimer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 20px
}

.d4c-dashboardbuilder-modal-share__disclaimer-icon {
    font-size: 1.5em;
    margin-right: 1rem
}

html[dir=rtl] .d4c-dashboardbuilder-modal-share__disclaimer-icon {
    margin-left: 1rem;
    margin-right: 0
}

.d4c-dashboardbuilder-modal-share__select option {
    direction: ltr
}

.d4c-dashboardbuilder-modal-share__inputs {
    direction: ltr;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

html[dir=rtl] .d4c-dashboardbuilder-modal-share__inputs {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end
}

.d4c-dashboardbuilder-modal-share__inputs .d4c-form__group {
    direction: ltr
}

html[dir=rtl] .d4c-dashboardbuilder-modal-share__inputs .d4c-form__group {
    direction: rtl
}

.d4c-dashboardbuilder-modal-share__inputs>.d4c-form__group:last-child {
    margin-bottom: 1rem
}

.d4c-dashboardbuilder__color-categories__categories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    overflow-x: hidden
}

.d4c-dashboardbuilder__color-categories__categories__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 3;
    width: calc(50% - 20px/2)
}

.d4c-dashboardbuilder__color-categories__categories__item-other {
    font-style: italic
}

.d4c-dashboardbuilder__color-categories__categories__value {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-weight: 600;
    text-align: left;
    margin-right: 10px
}

.d4c-dashboardbuilder__color-categories-field {
    font-weight: 600
}

.d4c-dashboardbuilder__color-categories-values-count {
    font-style: italic
}

.d4c-dashboardbuilder__color-choropleth {
    display: inline-block
}

.d4c-dashboardbuilder__color-choropleth-field {
    font-weight: 600
}

.d4c-dashboardbuilder__color-choropleth__ranges__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 10px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.d4c-dashboardbuilder__color-choropleth__ranges__extra {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    text-align: center
}

.d4c-dashboardbuilder__color-choropleth__ranges__value {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-weight: 600;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.d4c-dashboardbuilder__color-choropleth__ranges__value-start {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    text-align: right;
    width: 50%;
    max-width: 160px
}

.d4c-dashboardbuilder__color-choropleth__ranges__value-end {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    text-align: center;
    width: 50%;
    max-width: 160px
}

.d4c-dashboardbuilder__color-choropleth__ranges__value-end-input {
    margin-left: .5em;
    margin-right: .5em;
    width: calc(100% - 1em);
    text-align: left;
    text-overflow: ellipsis
}

.d4c-dashboardbuilder__color-choropleth__ranges__value-separator {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    padding: 0 10px
}

.d4c-dashboardbuilder__color-choropleth__ranges__color {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.d4c-dashboardbuilder__color-heatdashboard {
    display: inline-block
}

.d4c-dashboardbuilder__color-heatdashboard__color {
    margin-bottom: 5px
}

.d4c-dashboardbuilder__color-heatdashboard__button {
    line-height: 1.6
}

.d4c-dashboardbuilder-gradient-preview {
    border: solid 1px #000;
    height: 40px;
    width: 100%
}

.d4c-dashboardbuilder-modal-signup__disclaimer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 20px
}

.d4c-dashboardbuilder-modal-signup__disclaimer-icon {
    font-size: 1.5em;
    margin-right: 1rem;
    margin-top: .33em
}

.d4c-app-embed-dataset__visualization--analyze,
.d4c-app-embed-dataset__visualization--images,
.d4c-app-embed-dataset__visualization--dashboard,
.d4c-app-embed-dataset__visualization--table {
    height: 100%
}

.d4c-dashboardbuilder__main {
    margin: 0
}

.d4c-dashboardbuilder__dashboard-container {
    position: relative;
    margin-right: 400px
}

.d4c-dashboardbuilder__container--preview {
    margin-right: initial
}

.d4c-dashboardbuilder__language-choice {
    text-transform: uppercase
}

.d4c-dashboardbuilder__container {
    position: relative
}

.leaflet-top.leaflet-left {
    -webkit-transition: top .2s;
    transition: top .2s
}

.d4c-dashboardbuilder__link-button:hover {
    color: #333;
    text-decoration: none
}

.d4c-dashboardbuilder__main .d4c-slack-feedback {
    right: auto;
    left: 150px
}

.d4c-dashboardbuilder-embed,
.d4c-dashboardbuilder-embed__dashboard,
.d4c-dashboardbuilder-emmbed__dataset-card {
    height: 100%
}

.d4c-dashboardbuilder-embed {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0
}

.d4c-dashboardworkspace__main-panel {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.d4c-dashboardworkspace__main-panel-content {
    flex: 1;
}

.d4c-dashboardworkspace__main-panel__top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px;
    border-bottom: 1px solid #ccc;
}

.left-icons {
    display: flex;
    gap: 5px;
}

.right-icons {
    margin-left: auto;
}

.d4c-dashboardworkspace-tools {
    width: 200px;
    flex-shrink: 0; /* Prevent shrinking */
    flex-grow: 0; /* Prevent growing */
    flex-basis: 200px; /* Ensure the basis is 250px */
    display: inline-block;
    overflow: hidden;
    border: 1px solid #d3d3d3;
    box-shadow: 1px 5px 5px 0 #9b9b9b;
    margin-bottom: 5px;
    margin-right: 5px;
}

.d4c-dashboardworkspace-tool {
    width: 100%;
    height: 50px;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: center;
    line-height: 50px;
    border-bottom: 1px solid lightgray;
    border-top: 1px solid lightgrey;
    display: flex;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

.d4c-dashboardworkspace-tool:hover {
    background-color: #f0f0f0;
    color: #007bff;
    cursor: pointer;
}

.d4c-dashboard-tool-logo {
    width: 25px;
    margin: 0 15px;
}

.d4c-dashboard-tool-label {
    font-size: large;
    font-weight: bold;
    margin-left: 10px;
}

.d4c-dashboardworkspace-tool-top {
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 5px;
    transition: background-color 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.d4c-dashboardworkspace-tool-top:hover {
    background-color: #f0f0f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.d4c-dashboardworkspace-tool-top:focus {
    outline: none;
}

.d4c-dashboard-workspace {
    border: 1px solid #d3d3d3;
    box-shadow: 1px 5px 5px 0 #9b9b9b;
    margin-bottom: 5px;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    width: calc(100% - 200px - 250px);
    max-width: 100%;
    overflow: auto;
    flex: 1;
}

.d4c-dashboard-workspace-content {
    flex-grow: 1;
    overflow: auto;
    position: relative;
}

/* Workspace drop zone active state when empty */
.d4c-dashboard-workspace-content.workspace-drop-zone-active {
    background-color: #e3f2fd;
    border: 2px dashed #2196F3;
}

.d4c-dashboard-workspace-content.workspace-drop-zone-active::after {
    content: 'Drop widget here';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #2196F3;
    font-weight: bold;
    pointer-events: none;
}

#dashboard-widget-container {
    background-color: white;
}

.dashboard-widget-wrapper {
    flex: 0 0 auto;
    max-width: 100%;
    min-width: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Overlay to block iframe pointer events during drag operations */
.dashboard-iframe-drag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: transparent;
    display: none;
    pointer-events: none;
}

/* Show overlay when dragging is active */
body.dashboard-dragging-active .dashboard-iframe-drag-overlay {
    display: block;
    pointer-events: all;
}

.dashboard-widget-panel-edit {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Constrain all widget content when container has fixed height */
.dashboard-container-content[style*="height"] .dashboard-widget-panel-edit > *,
.dashboard-container-content[style*="height"] .dashboard-widget,
.dashboard-container-content[style*="height"] .fullHeight,
.dashboard-container-content[style*="height"] .d4c-chart-configuration,
.dashboard-container-content[style*="height"] .d4cwidget-charts,
.dashboard-container-content[style*="height"] .d4cwidget-dashboard,
.dashboard-container-content[style*="height"] .d4cwidget-map,
.dashboard-container-content[style*="height"] .d4cwidget-table {
    max-height: 100%;
    overflow: auto;
}

.dashboard-container-content[style*="height"] .d4c-chart,
.dashboard-container-content[style*="height"] .chartplaceholder {
    max-height: 100% !important;
    overflow: hidden !important;
}

.dashboard-container-content[style*="height"] canvas {
    max-height: 100% !important;
    height: auto !important;
}

.dashboard-widget-panel-ppt-container {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    bottom: 40px;
    right: 0;
    overflow-y: auto;
}

.dashboard-widget-panel-ppt-container.active {
    display: block;
}

.dashboard-navigation-ppt {
    position: absolute;
    bottom: 0px;
    display: flex;
    align-items: center;
    height: 35px;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

.dashboard-ppt-controls-btn {
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.d4c-widget-chart-associated-text {
    margin: 40px;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: auto !important;
}

/* When widget has associated text in a fixed-height container, use flex layout */
.dashboard-container-content[style*="height"] .d4c-widget--with-associated-text {
    display: flex;
    flex-direction: column;
}

/* Content wrapper should take remaining space, text stays at bottom */
.dashboard-container-content[style*="height"] .d4c-widget-chart-content-wrapper {
    flex: 1;
    min-height: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

/* Ensure chart content fills the wrapper */
.dashboard-container-content[style*="height"] .d4c-widget-chart-content-wrapper > d4c-dataset-context,
.dashboard-container-content[style*="height"] .d4c-widget-chart-content-wrapper > .d4cwidget {
    flex: 1;
    min-height: 0;
}

.dashboard-dots-container {
    display: flex;
    gap: 5px;
}

.dashboard-ppt-dot {
    width: 13px;
    height: 13px;
    border: 2px solid #000;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dashboard-ppt-dot.active {
    background-color: #000;
}

.dashboard-widget-panel {
    flex: 1;
    position: relative;
    min-width: 0;
}

.dashboard-widget-panel-ppt {
    overflow: auto;
    width: 100%;
    height: 100%;
    background-color: white;
}

.dashboard-widget {
    width: calc(100% - 20px);
    border: 1px solid #ccc;
    margin: 10px;
    position: relative;
    padding: 25px;
    overflow-y: auto;
    height: 100%;
    box-sizing: border-box;
}

#dashboard-widget-container:fullscreen .dashboard-widget-panel-ppt-container {
    top: 0px;
}

#dashboard-widget-container:fullscreen .d4cwidget-map--fullscreen {
    position: relative !important;
}

#dashboard-widget-container:fullscreen .dashboard-widget,
#dashboard-widget-container:fullscreen .d4c-widget {
    width: 100% !important;
    height: 100% !important;
    margin: 0;
    background-color: #fff;
    overflow: auto;
}

.dashboard-widget-panel:fullscreen > .dashboard-widget,
.dashboard-widget-panel:fullscreen > .d4c-widget {
    width: 100% !important;
    height: 100% !important;
    margin: 0;
    background-color: #fff;
    overflow: auto;
}

/* Maintain flex layout for widgets with associated text in fullscreen */
#dashboard-widget-container:fullscreen .d4c-widget--with-associated-text,
.dashboard-widget-panel:fullscreen > .d4c-widget--with-associated-text {
    display: flex !important;
    flex-direction: column !important;
}

#dashboard-widget-container:fullscreen .d4c-widget-chart-content-wrapper,
.dashboard-widget-panel:fullscreen > .d4c-widget--with-associated-text .d4c-widget-chart-content-wrapper {
    flex: 1 !important;
    min-height: 0 !important;
    overflow: auto !important;
}

#dashboard-widget-container:fullscreen .d4c-widget-chart-associated-text,
.dashboard-widget-panel:fullscreen > .d4c-widget--with-associated-text .d4c-widget-chart-associated-text {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: auto !important;
}

.dashboard-widget .d4cwidget-map, .dashboard-widget .d4cwidget-charts, .dashboard-widget .d4cwidget-table {
    height: 100%;
    min-height: 20px !important;
}

.dashboard-widget .d4cwidget-table__records {
    height: calc(100% - 30px) !important;
}

.d4c-widget--label {
    font-size: 1.75rem !important;
    line-height: 2.25rem !important;
    height: 100%;
    overflow: auto;
}

.d4c-dashboard-label-title {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 10;
}

.d4c-dashboard-configuration-title {
    color: #ccc;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.9);
}

.dashboard-widget-content {
    padding: 1rem;
}

.dashboard-widget-content_label {
    width: 100%;
    margin-right: 10px;
}

.dashboard-widget-content_html, .dashboard-widget-content_document-pdf {
    width: 100%;
    height: 100%;
}

.dashboard-widget-content_document-any {
    display: flex;
}

.dashboard-widget-content_document-any-label {
    font-size: unset;
    font-weight: bold;
    margin-top: 10px;
}

/* Widget actions */
.dashboard-item-dropdown {
    position: absolute;
    top: 2px;
    right: 2px;
}

.dashboard-item-dropdown-toggle {
    display: block;
    height: 36px;
    width: 36px;
    background-size: 26px 26px;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-transition: all 0.1s;
    transition: all 0.1s;
}

.dashboard-item-move-button-panel {
    position: absolute;
    top: 2px;
    right: 35px;
    display: flex;
}

.dashboard-item-move-button {
    margin-left: 5px;
}

.dashboard-item-dropdown-toggle:hover,
.dashboard-item-dropdown-toggle:focus {
    background-color: #f9f8f6;
    border: 1px solid #a6a6a6;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.125);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.125);
    outline: none;
}

.dashboard-item-dropdown-actions {
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 36px;
    z-index: 100;
    background: #f9f8f6;
    border: 1px solid #a6a6a6;
    border-radius: 5px 0 5px 5px;
    -webkit-box-shadow: 0 2px 6px 0 #aaa;
    box-shadow: 0 2px 6px 0 #aaa;
}

.item-list .dashboard-item-dropdown-actions {
    list-style: none;
}

.item-list .dashboard-item-dropdown-actions li {
    margin: 0;
    list-style: none;
}

.paragraphs-dropdown.open .dashboard-item-dropdown-actions {
    display: block;
}

.dashboard-item-dropdown-action {
    width: 100%;
}

.dashboard-item-dropdown-action.button {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
    /* background: transparent; */
    border: 0;
    border-radius: 0;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}

.dashboard-item-dropdown-action.button:focus {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

.form-wrapper .dashboard-item-dropdown-action.button {
    margin-top: 0;
    margin-bottom: 0;
}

.d4c-item-configuration-panel, .d4c-image-configuration-panel, .d4c-image-configuration-panel-size {
    display: flex;
}

.d4c-configuration-panel, .d4c-image-configuration-panel {
    margin-top: 10px;
}

.d4c-configuration-parameter-label {
    width: 130px;
}

.d4c-item-dataset-selection-list {
    flex: 1;
    margin-left: 10px;
}

.d4c-chart-configuration, .d4c-map-configuration, .d4c-table-configuration {
    text-align: center;
    padding: 15px;
}

.d4c-html-options-panel {
    margin-top: 10px;
    margin-left: 10px;
}

.d4c-html-configuration, .d4c-image-configuration, .d4c-text.configuration, .d4c-analysis-configuration {
    text-align: center;
}

.d4c-item-configuration-list-visualization {
    border: 1px solid lightgrey;
    margin-right: 10px;
    width: 450px;
    height: 300px;
    overflow: auto;
}

.d4c-html-options-panel-filter-dataset {
    position: relative;
}

.autocomplete-suggestions {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
    width: calc(100% - 40px);
    z-index: 10;
    top: 60px;
}

.autocomplete-suggestion {
    padding: 8px;
    cursor: pointer;
}

.autocomplete-suggestion:hover {
    background: #f0f0f0;
}

.list-item {
    display: flex;
    padding: 10px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.list-item-label {
    flex-grow: 1;
}

.list-item-link {
    margin: 2px;
}

.list-item-link:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}

.list-item:hover {
    background-color: #f0f0f0;
}

.list-item.selected {
    background-color: #007BFF;
    color: white;
    border-color: #0056b3;
    font-weight: bold;
}

.list-item.selected:hover {
    background-color: #0056b3;
}

.highlight-class {
    color: blue;
}

.d4c-item-configuration-widget-value {
    height: 300px;
    width: 100%;
    border: solid 1px #ccc;
    min-width: 0;
}

.d4c-item-configuration-widget-value > textarea {
    height: 100%;
    width: 100%;
    resize: none;
}

.d4c-item-size {
    width: 320px;
}

.d4c-item-ppt {
    margin: 10px;
    width: 100%;
}

.d4c-size-unit-configuration-parameter-lst {
    margin-top: 28px;
    height: 26px !important;
    padding: 0px !important;
    width: 80px;
}

.d4c-info-configuration-btn {
    position: absolute;
    right: 22px;
    height: 40px;
}

.d4c-info-configuration-parameter-label {
    width: 145px;
}

.d4c-info-configuration-parameter-textarea {
    min-height: 250px;
}

.d4c-item-configuration-parameter {
    display: flex;
    margin-top: 10px;
}

.d4c-image-configuration-parameter {
    flex: 1;
    margin-left: 10px;
}

.d4c-image-content {
    display: flex;
}

.d4c-analysis-content {
    overflow: auto;
    text-align: left;
}

.d4c-widget--image {
    display: flex;
    width: 100%;
}

.d4c-widget--iframe, .d4c-widget--document {
    width: 100%;
}

.d4c-widget--iframe-content {
    height: 100%;
    width: 100%;
}

.d4c-widget--aianalysis {
    overflow: auto;
}

.d4c-item-configuration-reset-btn {
    margin-left: 10px;
    font-size: 14px;
}

.d4c-item-configuration-parameter-add {
    margin-top: 10px;
}

.d4c-item-configuration-parameter-content {
    padding: 5px 20px;
    flex: 1;
 }

 .d4c-item-configuration-parameter-content-check {
     padding: 5px 35px;
     flex: 1;
  }

.d4c-item-configuration-parameter-remove {
    height: 32px !important;
    width: 32px !important;
    padding: 0px !important;
    margin-top: 30px;
    margin-left: 8px;
}

.d4c-item-configuration-chart-type {
    display: flex;
    gap: 10px;
    margin: 10px 5px 5px 20px;
}

.d4c-item-configuration-chart-type-label {
    margin-top: 7px;
    margin-right: 7px;
}

.dashboard-chart-select-type {
    width: 100px;
    height: 26px;
    margin-left: 5px;
    position: relative;
}

.dashboard-chart-select-button {
    background-color: white;
    border: 1px solid #ccc;
    padding: 8px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.dashboard-chart-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    background-color: white;
    z-index: 10;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 150px;
    overflow-y: auto;
}

.dashboard-chart-select-options li {
    padding: 8px;
    cursor: pointer;
}

.dashboard-chart-select-options li:hover {
    background-color: #f0f0f0;
}

.d4c-item-serie-color {
    margin-top: 10px;
}

.d4c-item-serie-color-viewer {
    margin-top: 25px;
}

.d4c-item-serie-radio-default {
    margin-left: 25px;
    margin-top: 10px;
}

.d4c-item-serie-radio {
    margin-top: 10px;
}

.display-column {
    display: flex;
    flex-direction: column;
}

/* Dashboard item with parameters */
.d4c-item-with-filter {
    position: relative;
}

.d4c-item-with-filter d4c-dataset-context {
	display: flex;
	width: 100%;
    height: 100%;
    gap: 1rem;
}

.d4c-item-with-filter d4c-dataset-context > d4c-facets {
	flex: 0 0 280px;
	overflow: auto;
    transition: all 0.3s ease;
    max-height: 560px;
}

.d4c-item-with-filter d4c-dataset-context > .d4cwidget.d4cwidget-charts,
.d4c-item-with-filter d4c-dataset-context > d4c-map {
	flex: 1;
    min-width: 0;
}

/* Facets collapsed state */
.d4c-item-with-filter.facets-collapsed d4c-dataset-context > d4c-facets {
    flex: 0 0 0;
    width: 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
}

/* Facets toggle button */
.facets-toggle-btn {
    position: absolute;
    top: 2px;
    left: 0px;
    z-index: 100;
    border-radius: 3px;
    width: 28px;
    background: transparent !important;
    border: none !important;
    padding: 6px 8px !important;
    cursor: pointer;
    color: #6c757d !important;
    transition: all 0.2s ease-in-out;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    min-width: 32px;
    box-shadow: none !important;
}

.facets-toggle-btn:hover {
    color: #495057 !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    text-decoration: none;
}

.facets-toggle-btn i {
    margin: 0;
    transition: transform 0.3s ease;
    font-size: 14px !important;
    color: inherit !important;
}

.d4c-item-with-filter.facets-collapsed .facets-toggle-btn i {
    transform: rotate(180deg);
}


/* Margins */
.margin-left-10 {
    margin-left: 10px;
}

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

/* Dashboard Frame */
.dashboard-frame {
    padding: 15px;
    background-color: white;
}

.dashboard-datasets-list {
    padding: 10px;
}

/* Dashboard container wrapper - contains content, resize handle, and drop zone */
.dashboard-container-wrapper {
    display: flex;
    flex-direction: column;
}

/* Dashboard container content - the actual content area with fixed height */
.dashboard-container-content {
    display: flex;
    flex-direction: column;
}

.dashboard-container-content[style*="height"] {
    min-height: 100px;
}

/* Dashboard row */
.dashboard-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    height: 100%;
}

.dropped-item {
    border: dashed 1px lightgrey;
    flex: 1;
    margin: 10px;
}

.dropped-item-workspace {
    height: 100px;
}

.dropped-item-slider {
    border: 1px dashed lightgrey;
    margin: 3px;
    text-align: center;
    width: 40px;
    height: 25px;
    float: left;
}

.fullHeight {
    height: 100%;
}

.d4c-item-configuration-slider-pager {
    height: 50px;
    border: 1px solid lightgrey;
    margin: 5px;
    display: flex;
}

.d4c-slider-pager {
    height: 40px;
    margin: 5px;
    display: flex;
}

.d4c-slider-pager-pager-element-selection {
    margin: 4px;
}

.d4c-pager-active {
    background-color: #ccc;
    border-color: #ccc;
    text-decoration: none;
}

.d4c-item-configuration-slider-pager-element {
    margin: 4px
}

.d4c-draggable-helper {
    background-color: #f9f8f6;
    border: 1px solid #a6a6a6;
    border-radius: 5px;
    padding: 10px;
}

.d4c-drop-item-here {
    border: 1px dashed lightgrey;
    margin: 3px;
    text-align: center;
    line-height: 40px;
}

.d4c-drop-item-here-main {
    height: 40px;
    line-height: 40px;
}

.d4c-slider-nav-button {
    height: 34px;
    padding: 3px;
    line-height: 34px;
    cursor: pointer;
}

.d4c-item-cart-selection-list {
    width: 100%;
}

/* Filters */
.dashboard-filters {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
}

.filter-container {
    margin-top: 5px;
    margin-right: 10px;
    max-height: 200px;
    overflow: auto;
    width: 210px;
}

.dashboard-filter-btn {
    height: 40px;
    margin-left: 10px;
}

/* Dashboards viewer */
.d4c-dashboards-list-item-row {
    padding: 3rem 0;
    border-bottom: 1px dotted rgba(var(--texte), 25%);
    cursor: pointer;
    display: flex;
}

.d4c-dashboards-list-item {
    flex: 1;
    margin-top: 15px;
    font-size: large;
    font-weight: bold;
}

.d4c-dashboards-list-item-row a {
    margin: 5px;
}

.d4c-dashboards-list-item-image {
    max-width: 100px;
    max-height: 100px;
    margin-right: 25px;
}

.d4c-dashboards-list-item-content {
    display: flex;
    align-items: center;
    flex: 1;
}

#dashboard-viewer {
    margin-top: 90px;
}

.d4c-dashboard-top-options-container {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: flex-end;
    padding: 5px;
    margin-top: -100px;
    margin-bottom: 10px;
}

.d4c-dashboard-top-options-container-frame {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: flex-end;
    padding: 5px;
    margin-top: 0px;
}

.d4c-slider-pager-element {
    display: flex;
}

.d4c-filter-definition {
    padding-bottom: 4px;
    margin-top: 10px;
    padding-top: 0px;
}

.d4c-dashboard-selector {
    max-height: 400px;
}

.d4c-item-configuration-slider-pager-element-selection {
    height: 40px;
    line-height: 40px;
}

.slider-component {
    display: none;
}

.slider-component.active {
    display: block;
}

/* Configuration */
.dashboard-configuration-panel {
    border: 1px solid #ccc;
    position: relative;
    padding: 10px;
}

.dashboard-configuration-panel-label {
    color: #ccc;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.dashboard-configuration-panel-label-content {
    width: 100%;
    padding: 10px;
    height: 92%;
}

.dashboard-configuration-logo {
    width: 200px;
    height: 200px;
}

.dashboard-configuration-logo img {
    max-height: 120px;
    width: 100%;
}

.dashboard-configuration-panel-upload {
    position: absolute;
    left: 5px;
    bottom: 5px;
}

/** Dashboard panel */
.path-dashboard .dialog-off-canvas-main-canvas {
	height: calc(100vh - .6px);
}

.path-dashboard .row, .path-dashboard .region-content {
	height: 100%;
}

.path-dashboard .row > section {
	height: calc(100% - 35px);
}

.path-dashboard .row > section > main {
	height: 100%;
}

.full-height {
	height: 100%;
}

/* Quick actions */
/* Quick Actions Container */
.quick-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

/* Quick Action Buttons */
.quick-actions button {
    background-color: transparent;
    color: inherit;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-actions-logo {
    width: 25px;
}

/* Hover and Active States */
.quick-actions button:hover {
    background-color: #f0f0f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.quick-actions button:active {
    background-color: #e0e0e0;
    transform: translateY(0);
}

/* Timer */
.circle-container {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circular-chart {
    display: block;
    margin: 10px auto;
    max-width: 80%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke-width: 2.8;
    stroke: #4caf50;
    stroke-linecap: round;
    transition: stroke-dasharray 0.35s;
    transform: rotate(0deg); /* Change from -90deg to 0deg */
    transform-origin: 50% 50%;
  }
  

.percentage {
    fill: #666;
    font-family: sans-serif;
    font-size: 0.5em;
    text-anchor: middle;
}

/* Chart options */
.widget-top {
    top: 0;
}

.widget-bottom {
    bottom: 0;
}

.widget-left {
    left: 0;
}

.widget-top, .widget-bottom {
    position: absolute;
    z-index: 1000;
}

.widget-control {
    gap: 5px
}

.widget-control-options {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.widget-control-options-toggle {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: block;
}

.widget-control-options-toggle {
    background-image: url(../img/set-v3/pictos/linechart.svg);
    width: 36px;
    height: 36px;
}

.widget-control-options-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.widget-control-options-btn i {
    font-size: 16px;
    color: #333;
}

.widget-control-options {
    position: relative; /* Ensure the panel positions relative to this container */
}

.widget-control-options-type-list {
    gap: 5px;
}

.widget-control-options-type-list, .widget-control-options-chart-list {
    display: none;
    position: absolute;
    bottom: 100%; /* Position above the toggle link */
    left: 0;
    margin-bottom: 0px; /* Optional space between link and form */
    z-index: 10;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
}

.widget-control-options-chart:hover .widget-control-options-chart-list {
    display: block;
}

.widget-control-options-type:hover .widget-control-options-type-list {
    display: flex;
}

.widget-options-panel {
    margin-bottom: 15px;
    width: 750px;
}

.widget-options-container {
    display: flex;
    gap: 5px; /* Space between chart options */
    flex-wrap: wrap; /* Allows items to wrap if they don’t fit in one line */
}

.widget-option {
    display: inline-block;
    padding: 5px 10px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.widget-option-reset {
    display: none;
}

.widget-option-reset.active {
    display: block;
}

.widget-option.selected {
    border: 2px solid #007bff;
    background-color: #e0f0ff;
}

.widget-option:hover {
    background-color: #f0f0f0;
}

.widget-option label {
    display: block;
    font-size: 0.9em;
    margin-top: 5px;
}

.widget-option-icon {
    width: 20px;
    height: 20px;
}

.widget-option-icon-fa {
    width: 20px;
    height: 20px;
}


.dashboard-widget-panel-edit.resizing {
    transition: flex 0.1s ease, max-width 0.1s ease;
}

.d4c-size-configuration-parameter {
    margin-top: 30px;
    margin-bottom: 5px;
}

/* Dashboard Widget Resize Handles - positioned in the gap between widgets */
.dashboard-widget-resize-handle {
  width: 10px;
  min-height: 100%;
  cursor: col-resize;
  background: transparent;
  border: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s ease;
  transform: translateX(-50%);
}

.dashboard-widget {
  position: relative;
}

.dashboard-widget-resize-handle:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 30px;
  background: #007cba;
  border-radius: 2px;
  opacity: 0.7;
}

.dashboard-widget:hover .dashboard-widget-resize-handle {
  opacity: 1;
}

.dashboard-widget-resize-handle:hover {
  opacity: 1 !important;
}

.dashboard-widget-resize-handle:hover:before {
  background: #005a87;
  opacity: 1;
}

.dashboard-widget-resize-handle.dragging {
  opacity: 1 !important;
}

.dashboard-widget-resize-handle.dragging:before {
  background: #005a87;
  opacity: 1;
  box-shadow: 0 0 4px rgba(0, 124, 186, 0.5);
}

.dashboard-widget.resizing {
  transition: width 0.1s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Dashboard Container Vertical Resize Handle - positioned between containers/rows */
.dashboard-container-resize-handle {
  height: 10px;
  width: 100%;
  cursor: row-resize;
  background: transparent;
  border: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s ease;
  position: relative;
  margin: 5px 0;
}

.dashboard-container-resize-handle:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 4px;
  background: #007cba;
  border-radius: 2px;
  opacity: 0.7;
}

.dashboard-container-wrapper:hover .dashboard-container-resize-handle {
  opacity: 1;
}

.dashboard-container-resize-handle:hover {
  opacity: 1 !important;
}

.dashboard-container-resize-handle:hover:before {
  background: #005a87;
  opacity: 1;
}

.dashboard-container-resize-handle.dragging {
  opacity: 1 !important;
}

.dashboard-container-resize-handle.dragging:before {
  background: #005a87;
  opacity: 1;
  box-shadow: 0 0 4px rgba(0, 124, 186, 0.5);
}

.dashboard-row.resizing {
  transition: height 0.1s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dashboard-resize-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 9999;
  cursor: col-resize;
  display: none;
}

.dashboard-resize-overlay.active {
  display: block;
}

/* TO DELETE */
.img-test {
    border: 1px solid lightgrey;
    width: 30px;
    padding: 5px;
    margin: 5px;
}

.img-test-fa {
    margin: 5px;
    width: 30px;
    height: 30px;
    padding: 5px;
    border: 1px solid lightgrey;
}

.d4c-dashboard-list {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.d4c-dashboard-card, .d4c-dashboard-card--selected{
    width: 32.5%;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
    border: solid 1px black;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.d4c-dashboard-card--selected {
    opacity: .5;
}

.d4c-dashboard-card-link-title{
    font-size: 16px;
    font-weight: bold;
    color: #004c9d;
    text-decoration: none;
}

.d4c-dashboard-card-link {
    color: #007bff;
    text-decoration: none;
}

.d4c-dashboard-card-actions {
    text-align: center;
    margin-top: 10px;
}

/* Spinner animation for loading indicators */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Drag and Drop Styles */
.widget-with-drag-handle {
    position: relative;
    transition: all 0.2s ease;
}

/* Drag Handle Button */
.widget-drag-handle {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: move;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 1;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.widget-drag-handle:hover {
    background: rgba(0, 124, 186, 0.1);
    border-color: #007cba;
    opacity: 1 !important;
}

.widget-drag-handle i {
    color: #666;
    font-size: 12px;
}

.widget-drag-handle:hover i {
    color: #007cba;
}

/* Show drag handle on widget hover */
.widget-with-drag-handle:hover .widget-drag-handle {
    opacity: 0.8;
}

.widget-with-drag-handle:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.widget-with-drag-handle.dragging {
    opacity: 0.5;
    transform: rotate(2deg);
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Position indicators for precise drop placement */
.widget-with-drag-handle.drop-before::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #007cba;
    z-index: 1000;
    box-shadow: 0 0 8px rgba(0, 124, 186, 0.6);
}

.widget-with-drag-handle.drop-after::after {
    content: "";
    position: absolute;
    right: -2px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #007cba;
    z-index: 1000;
    box-shadow: 0 0 8px rgba(0, 124, 186, 0.6);
}

.dashboard-row.container-drag-over {
    border: 2px dashed #007cba;
    background-color: rgba(0, 124, 186, 0.05);
    min-height: 60px;
    position: relative;
}

.dashboard-row.container-drag-over::before {
    content: "Drop widget here";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #007cba;
    font-weight: bold;
    pointer-events: none;
}

/* Row drop zones for creating new rows - Always visible */
.row-drop-zone {
    height: 20px;
    margin: 8px 0;
    border-radius: 4px;
    transition: all 0.2s ease;
    opacity: 0.3;
    position: relative;
    background: rgba(0, 124, 186, 0.05);
    border: 1px dashed rgba(0, 124, 186, 0.3);
    pointer-events: auto;
    z-index: 100;
}

/* Enhanced visibility when dragging */
body.dragging-widget .row-drop-zone {
    opacity: 0.6;
    height: 25px;
    background: rgba(0, 124, 186, 0.1);
    border: 2px dashed rgba(0, 124, 186, 0.5);
    margin: 10px 0;
}

.row-drop-zone.row-drop-zone-active {
    opacity: 1;
    height: 40px;
    background: linear-gradient(135deg, rgba(0, 124, 186, 0.1), rgba(0, 124, 186, 0.2));
    border: 2px dashed #007cba;
}

.row-drop-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #007cba;
    font-weight: bold;
    font-size: 12px;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.row-drop-zone.row-drop-zone-active .row-drop-indicator {
    opacity: 1;
}

/* Bottom drop zone - always visible */
.row-drop-zone-bottom {
    min-height: 25px;
    height: 25px;
    opacity: 0.4;
    background: rgba(0, 124, 186, 0.06);
    border: 1px dashed rgba(0, 124, 186, 0.4);
}

.row-drop-zone-bottom .row-drop-indicator {
    opacity: 0.5;
    font-size: 11px;
}

body.dragging-widget .row-drop-zone-bottom {
    opacity: 0.6;
    height: 30px;
    background: rgba(0, 124, 186, 0.1);
    border: 2px dashed rgba(0, 124, 186, 0.5);
}

body.dragging-widget .row-drop-zone-bottom .row-drop-indicator {
    opacity: 0.8;
}

/* Show drop indicators when dragging */
body.dragging-widget .row-drop-zone .row-drop-indicator {
    opacity: 0.8;
    font-size: 12px;
    color: #007cba;
}

/* Hide arrow buttons when drag and drop is available */
.dashboard-item-move-button-panel {
    display: none;
}

/* Ensure drop indicators don't conflict with drag handle */
.widget-with-drag-handle.drop-before .widget-drag-handle,
.widget-with-drag-handle.drop-after .widget-drag-handle {
    opacity: 0.3;
}

.d4c-python-loading-indicator {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media screen and (min-width:768px) {
    .d4c-form__group.d4c-form__group--horizontal .d4c-form__label.d4c-basedashboard-configuration__label-language-code {
        min-width: 2rem;
        max-width: 2rem;
        font-weight: 700;
        text-transform: uppercase
    }

    .d4c-form__group--horizontal .d4c-form__label--dashboardbuilder-layer-configuration {
        width: 100px;
        min-width: 100px;
        max-width: 100px;
        font-size: .95rem
    }
}

@media (min-width: 768px) {
    .dashboard-item-dropdown-toggle {
        height: 26px;
        width: 26px;
    }

    .dashboard-item-dropdown-actions {
        top: 26px;
    }

    .d4cwidget-dashboard-search-box__toggle {
        display: none
    }

    .d4cwidget-dashboard-search-box {
        width: 420px
    }

    .d4cwidget-dashboard-display-control__toggle {
        display: none
    }

    .d4cwidget-dashboard-display-control {
        right: 10px
    }
}

@media (max-width: 768px) {
    .form-wrapper .dashboard-item-dropdown-action.button {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .quick-actions {
        flex-wrap: wrap;
    }

    .quick-actions button {
        flex: 1 1 100%;
        margin-bottom: 10px;
    }

    .d4cwidget-dashboard-search-box__suggestions--expanded {
        max-height: none;
        opacity: 1;
        overflow: inherit
    }

    .d4cwidget-dashboard-search-box__suggestions {
        max-height: 0;
        opacity: 0;
        overflow: hidden
    }

    .d4cwidget-dashboard-search-box--expanded {
        width: 100%
    }

    .d4cwidget-dashboard-search-box {
        width: 100px
    }

    .d4cwidget-dashboard-display-control--expanded {
        right: 10px
    }

    .d4cwidget-dashboard-display-control {
        right: -260px
    }

    .dashboard-row {
        display: block;
    }

    .dashboard-widget {
        height: unset !important;
    }

    .d4cwidget-dashboard__dashboard--with-display-control .leaflet-top.leaflet-right.collapsed {
        right: 40px
    }
}

@media screen and (max-width:767px) {
    .d4c-dashboardbuilder__color-categories__categories__item {
        width: 100%
    }
}