﻿.page-content {
    /*background-color: #f5f7fa;*/
    min-height: 100px;
    width: 100%;
}
.tablink {
    width: 100%;
    display: block;
    box-sizing: border-box;
    background-color: #004494;
    color: white;
    border: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 20px;
    text-align: center;
}
    .tablink:hover {
        background-color: white;
        color: #000;
        top: -0.25rem;
        transition: top 0.25s;
    }

    .tablink.active {
        background-color: #003776;
        border-radius: 2px;
        color: #FFF;
        font-weight: bold;
    }

    .tablink.active::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 20%;
            width: 60%;
            height: 3px;
/*            background: #004494;*/
            border-radius: 2px;
        }

    /* TAB SPECIALE */
    .tablink.alt {
        background-color: #004494;
       /*#0A66C2;*/
    }
    .tablink.alt:hover {
        background-color: white;
        color: #000;
        top: -0.25rem;
        transition: top 0.25s;
    }

    .tablink.alt.active {
        background-color: #003776;
        border-radius: 2px;
        color: #FFF;
        font-weight: bold;
    }

.conflictLabel {
    font-size: 20px;
    text-align: center;
    padding: 10px 0;
    color: #555;
    position: relative;
    transition: all 0.2s ease;
}
    .conflictLabel.active {
        font-weight: 600;
        color: #003776;
        transform: translateY(-1px);
    }
        .conflictLabel.active::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 30%;
            width: 40%;
            height: 3px;
            background: #003776;
            border-radius: 2px;
        }
.tabcontent {
    display: none; /* di base nascosto */
    padding: 10px 20px;
}
.tabcontentVisible {
    display: block;
    animation: fadeIn 0.3s ease-in;
    /*background: #f8f9fa;*/
    border-radius: 6px;
    padding: 15px;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*----------------------------------------------------------------------------------------------
    months available
*/
/* months availables */
.slider-container {
    width: 100%;
}

.range-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 30px; /* spazio per labels */
}

/* SLIDER */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    position: relative;
    z-index: 2;
}

    /* TRACK */
    input[type="range"]::-webkit-slider-runnable-track {
        height: 6px;
        background: #004494; /*#1b3a6b;*/
        border-radius: 3px;
    }

    input[type="range"]::-moz-range-track {
        height: 6px;
        background: #1b3a6b;
        border-radius: 3px;
    }

    /* THUMB */
    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        height: 16px;
        width: 16px;
        border-radius: 50%;
        background: #004494; /*#1b3a6b;*/
        margin-top: -5px;
        cursor: pointer;
        transition: transform 0.15s;
    }

        input[type="range"]::-webkit-slider-thumb:hover {
            transform: scale(1.2);
        }

    input[type="range"]::-moz-range-thumb {
        height: 16px;
        width: 16px;
        border-radius: 50%;
        background: #004494; /*#1b3a6b;*/
        border: none;
        cursor: pointer;
    }

/* TICKS */
.ticks {
    position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.tick {
    width: 2px;
    height: 15px;
    background: #004494; /*#1b3a6b;*/
}
/* LABELS */
.labels {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.labels {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
}

    .labels .label {
        position: absolute;
        transform: translateX(-50%);
        white-space: nowrap;
        font-size: 15px;
        cursor: pointer;
    }


/*------------------------
    mappe
--*/
#mapGCRIGlobal, #mapDCRMGlobal {
    width: 100%;
    height: 100vh;
    transition: height 0.5s ease;
}
    #mapGCRIGlobal.shrink, #mapDCRMGlobal.shrink {
        height: 25vh; /* stato ridotto */
    }

#mapHeatmap {
    height: 100vh; /* stato normale */
    transition: height 0.5s ease;
    width: 100%;
}


/**maps*/
.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}

    .info h4 {
        margin: 0 0 5px;
        color: #777;
    }

.gradient {
    width: 180px;
    white-space: nowrap;
    position: relative;
    display: inline-block;
    top: 4px;
    padding-bottom: 15px;
    /*height:20px;*/
}

.legend {
    line-height: 18px;
    color: #555;
}


/*Analytics*/
/*CET*/
.cetColDashWrapper {
    display: flex;
    flex-wrap: wrap;
}

.cetColDash {
    flex: 0 0 20%;
    box-sizing: border-box;
    margin-bottom: 100px;
    position: relative;
    overflow: visible !important;
    z-index: 1;
}

[data-chart] {
    overflow: visible !important;
    position: relative;
    z-index: 2;
}

.highcharts-container,
.highcharts-root,
.highcharts-series-group,
.highcharts-contextmenu {
    overflow: visible !important;
}

.highcharts-contextmenu {
    bottom: auto !important;
    top: 5px;
}
.highcharts-menu {
    padding: 0 !important;
}
.highcharts-menu hr {
    margin: 0px 0 0px !important;
}

/*info buttons '?'*/
.infoClose {
    position: relative;
    top: -1.5em;
    left: 1em;
    cursor: pointer;
}

/*.info {
    text-align: justify;
    background-color: #ebebeb;
    box-sizing: border-box;
    border: 2px solid #000;
    padding: 2em;
    position: absolute;
    width: 40rem;
    left: 18rem;
    top: 4rem;
}*/

.infoLegend {
    text-align: justify;
    background-color: #ebebeb;
    box-sizing: border-box;
    border: 2px solid #000;
    padding: 2em;
    position: absolute;
    /*    left: 18rem;
        top: 4rem;
    */
    width: 40rem;
}
.infoLeaflet {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}
    /**CET Customise charts*/
    .symbol {
    width: 20px;
    height: 20px;
    margin-right: 2px;
    float: left;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
.serieName {
    float: left;
    cursor: pointer;
}
.item {
    height: 40px;
    clear: both;
    /*display: inline-block;
    margin-left: 40px;*/
}

.deleted {
    text-decoration: line-through;
}

.ai-icon {
    position: absolute;
    top: 5px;
    right: 32px;
    z-index: 5;
}

.infoLegendHeatmap {
    padding: 8px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    height: 70px;
}

.grad-step {
    display: inline-block;
    height: 20px;
    width: 1%;
}
#gradient {
    height: 20px;
    width: 180px;
    background-color: orange; /* For browsers that do not support gradients */
    background-image: linear-gradient(to right, rgba(235, 237, 160, 1), rgba(254, 217, 118, 1), rgba(252, 78, 42, 1), rgba(128, 0, 38, 1));
}
.gradient .domain-min {
    position: absolute;
    /*left: 10px;*/
    left: 0;
    font-size: 11px;
    bottom: 0px;
}

.gradient .domain-med {
    position: absolute;
    right: 25%;
    left: 25%;
    text-align: center;
    font-size: 11px;
    bottom: 0px;
}

.gradient .domain-max {
    position: absolute;
    /*right: 10px;*/
    right: 0;
    font-size: 11px;
    bottom: 0px;
}
.domain-max {
    position: absolute;
    right: 2px;
    font-size: 12px;
    bottom: 0px;
    font-weight: bold;
}

.domain-min {
    position: absolute;
    left: 2px;
    font-size: 12px;
    bottom: 0px;
    font-weight: bold;
}

.leaflet-control-resetview a .leaflet-control-resetview-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 7px;
    background-image: url('./Style/images/redo_xs.png');
}

/*suggestino autocomplete*/
.typeahead-container {
    position: relative;
}

.typeahead-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.typeahead-item {
    padding: 8px;
    cursor: pointer;
}

    .typeahead-item:hover {
        background: #f0f0f0;
    }


.ecl-message__description {
    color: #404040;
    font: normal normal 400 1rem/1.5rem arial,sans-serif;
    margin: 0 0 .5rem;
    margin-bottom: 0.5rem;
    max-width: 100%;
    padding-bottom: 2rem;
}

.video-box {
    float: right;
    width: 420px;
    margin: 0 0 1.5rem 2rem;
}

.video-list {
    margin: 0;
    padding: 0;
}

.video-item {
    margin-bottom: 1.5rem;
}

.video-loading {
    position: relative;
    height: 200px;
}

.video-box video {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.video-box figcaption {
    margin-top: .5rem;
}

@media (max-width: 768px) {
    .video-box {
        float: none;
        width: 100%;
        margin: 0 0 1.5rem 0;
    }
}

@media (max-width: 996px) {
    .video-box {
        float: none;
        width: 100%;
        margin: 0 0 1.5rem 0;
    }
}

/**Registration Form*/
.request-card {
    max-width: 1100px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.intro-text {
    margin-bottom: 2rem;
}

.ecl-form-group {
    margin-bottom: 1.5rem;
}

.ecl-text-input,
.ecl-text-area {
    width: 100%;
}

.disclaimer-box {
    margin-top: 2rem;
    padding: 24px;
    background: #f5f7fa;
    border-left: 5px solid #004494;
    border-radius: 6px;
}

.acceptance-box {
    margin-top: 2rem;
    padding: 20px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
}

.acceptance-title {
    font-weight: 700;
    margin-bottom: 12px;
}

.acceptance-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

    .acceptance-checkbox input {
        margin-top: 4px;
        flex-shrink: 0;
    }

.button-wrapper {
    margin-top: 2rem;
    text-align: center;
}

.button-wrapper .ecl-button {
    min-width: 220px;
}


.field-help {
    min-height: 48px;
    margin-bottom: 8px;
}


/*@media (min-width:996px) {

    .ecl-col-l-3 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}*/


.terms-tagsinput {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    /*border-radius: 4px;*/
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    outline: none;
    margin-bottom: 5px;
    vertical-align: middle;
    max-width: 100%;
    cursor: text;
}

.terms-tagsinput-focused {
    outline: 3px solid #ffd617;
    outline-offset: -3px;
    /*border-color: #66afe9;
            outline: 0;
            -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
            box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);*/
}

.typeahead, .tt-input, .tt-query, .tt-hint {
    border: none;
    box-shadow: none;
    outline: none;
    background-color: transparent;
    padding: 0;
    margin: 0;
    width: auto !important;
    max-width: inherit;
}

.tt-hint {
    color: #999;
}

.terms-list {
    position: absolute;
    width: 100%;
    padding: 0px 2px;
    z-index: 1;
}

.terms-tag {
    cursor: default;
    background-image: -webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);
    background-image: -o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));
    background-image: linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    background-repeat: repeat-x;
    border-color: #28a4c9;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    color: #fff;
    background-color: #5bc0de;
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    -webkit-user-select: none;
}

.terms-remove, .terms-remove:hover {
    cursor: pointer;
}

.terms-tagsinput .tt-dropdown-menu {
    /*width: 600px;*/
    margin-top: 12px;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    padding: 6px 12px;
}

.tt-dropdown-menu {
    overflow-y: scroll;
    max-height: 300px;
}

.tt-suggestion {
    cursor: pointer;
    padding: 8px 20px;
    font-size: 14px;
    line-height: 18px;
}

    .tt-suggestion + .tt-suggestion {
        font-size: 14px;
        border-top: 1px solid #ccc;
    }

.tt-suggestions .repo-language {
    float: right;
    font-style: italic;
}

.tt-suggestions .repo-name {
    font-size: 20px;
    font-weight: bold;
}

.tt-suggestions .repo-description {
    margin: 0;
}

.twitter-typeahead .tt-suggestion.tt-cursor {
    background-color: #03739c;
    color: #FFF;
}


@media (min-width: 480px) {
    .terms-tagsinput {
        padding: calc(.75rem - 1px);
        min-height: 44px;
        width: 253px;
    }
}

@media (min-width: 768px) {
    .terms-tagsinput {
        padding: calc(.75rem - 1px);
        min-height: 44px;
        width: 50%;
    }
}

@media (min-width: 996px) {
    .terms-tagsinput {
        padding: calc(.75rem - 1px);
        min-height: 44px;
        width: 253px;
        box-sizing: border-box;
    }
}

@media (min-width: 1140px) {
    .terms-tagsinput {
        padding: calc(.75rem - 1px);
        min-height: 44px;
    }
}

@media (min-width: 1400px) {
    .terms-tagsinput {
        padding: calc(.75rem - 1px);
        min-height: 44px;
    }
}


.selected-countries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.selected-country {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: #eef4fb;
    border: 1px solid #b5d3f2;
    border-radius: 999px;
    font-size: 0.875rem;
    color: #004494;
    transition: background .2s;
}

    .selected-country:hover {
        background: #e2eefb;
    }

.selected-country__name {
    white-space: nowrap;
}

.selected-country__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    transition: background .2s, color .2s;
}

    .selected-country__remove:hover {
        background: #d4351c;
        color: white;
    }


.ecl-notification {
    border: 1px solid transparent;
    border-left-color: rgb(36, 161, 72);
    border-radius: 0;
    box-sizing: border-box;
    color: #26324a;
    display: flex;
    margin: 0;
    padding-bottom: 1.25rem;
    padding-inline-start: 1.25rem;
    padding-inline-end: 1.5rem;
    padding-top: 1.25rem;
    position: relative
}

.ecl-notification__icon {
    flex-shrink: 0;
    -webkit-margin-end: var(--s-xs);
    margin-inline-end: var(--s-xs)
}

.ecl-notification__content {
    display: grid;
    grid-template-columns: auto -webkit-max-content;
    grid-template-columns: auto max-content;
    width: 100%
}

.ecl-notification__title {
    font: normal normal 400 1.25rem/1.75rem arial,sans-serif;
    font-weight: 400;
    grid-column-start: 1;
    margin-bottom: 0;
    max-width: var(--max-w)
}

.ecl-notification__description {
    grid-column-start: 1;
    margin: 0;
    max-width: var(--max-w)
}

.ecl-notification__link {
    grid-column-start: 1
}

.ecl-notification__close {
    align-self: self-start;
    color: var(--c-d);
    font: var(--f-m);
    grid-column-start: 2;
    grid-row-end: span 2;
    grid-row-start: 1;
    -webkit-margin-end: calc(var(--s-m) - var(--s-xl));
    margin-inline-end: calc(var(--s-m) - var(--s-xl));
    margin-top: calc(var(--s-m) - var(--s-xl))
}

.no-js .ecl-notification__close {
    display: none
}

.ecl-notification--success {
    background: var(--c-n-20);
    border-color: var(--c-n);
    -webkit-border-start: 4px solid var(--c-su);
    border-inline-start: 4px solid var(--c-su)
}

    .ecl-notification--success .ecl-notification__icon {
        fill: #23a148;
    }

.ecl-notification--floating {
    position: fixed;
    top: 15rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: #f5f6f7; /* stesso effetto di var(--c-n-20) */
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    min-height: 5rem;
    min-width: 50rem;
    max-width: 80rem;
    margin: 0;
}

@media (max-width: 767px) {
    .ecl-notification--floating {
        left: var(--s-s);
        right: var(--s-s);
        top: var(--s-m);
        min-width: auto;
        max-width: none;
    }
}