
body {
    padding-top: var(--nav-height);
}
/* 
    Data Sources section
*/

.access-button{
  border-radius: 5px;
  background-color: rgb(247,227,213);
  border:none;
  color: #D5742F;
  font-weight: bold;
  padding: 5px;
  
}

#data-period-toggler {
    border: none;
    border-radius: 5px;
    font-weight: bold;
    color: #717171;
    fill: #717171;
    margin: 0.1em;
    font-size: 0.75em;
}
    #data-period-toggler svg {
        height: 0.75em;
        width: 0.75em;
    }

    #data-period-toggler:hover {
        background-color:  rgb(247,227,213);
        color: #D5742F;
    
    }
    #data-period-toggler:hover svg {
        fill: #D5742F;
    }

/* .modal-content{
    position: relative;
    display: table; 
    overflow-y: auto;    
    overflow-x: hidden;
    width: auto;
    
  }
.modal-dialog{
    position: relative;
    display: table;
    overflow-y: auto;    
    overflow-x: hidden;
    width: auto;
    

  } */
  
  
  .page-item.active .page-link {
    background-color: #D5742F;
    border: 1px solid black;
  }
  .page-link {
    color: black !important;
  }
  
  #accessed-reports {
   min-width: 90vw;
  }
  
  .table.dataTable thead tr {
    color: #D5742F;
  }
  
  
  .ui-slider .ui-slider-range { 
    background: rgb(247,227,213);
  }

/*
  map tooltips on landing page

*/
.badge-terms {
    color:  #D5742F;
    background-color: rgb(247,227,213);
    }
.badge-theme-0 {
    color: #eef0f2;
    background-color: #BA6B55;
 }
.badge-theme-1 {
    color: #eef0f2;
    background-color: #426FBC;
 }
.badge-theme-2 {
    color: #eef0f2;
    background-color: #319B86;
 }

 /*
    Sidebar and navbar
 */
 :root {
    --fews-text-color: #d5742f; 
    --foot-height: 0;
    --nav-icon-padding: 7px;
    --nav-sb-icon-height: 27px;
    --nav-sb-icon-wh-ratio: 1;
    --nav-height: 8vh;
    --sb-bg-color-light: rgb(251, 251, 251);
    --sb-bg-color-orange: #d5742f;
    --sb-border: 3px;
    --sb-border-radius: 2px;
    --sb-content-width: 290px;
    --sb-height: 84vh;
    --sb-height-sm: 95vh;
    --sb-padding: 7px;
    --sb-width: 300px;
    --sb-width-sm: 95vw;
    --sidebar-collapse-width:40px;
    --sidebar-min-height: 700px;
    --ld-switch-width: 36px;
    --fews-orange-light: rgb(247,227,213);
    --ld-switch-transition-time: 0.2s;
    --phase2-blue-light: rgb(48,80,136);
    --phase2-blue-dark: rgb(29, 48, 82);
    --phase2-bg-chart: rgb(74, 89, 117);
    --ocean-light-blue: rgb(188,218,233);
    --country-grey: rgb(209,211,212);
    --phase2-blue-super-light: rgb(231, 241, 255);
}

#fews-nav{
    height: var(--nav-height);
    /* overflow: hidden; */
}

.jcee {
    margin: auto;
    max-width: 80%;
}
.hcs {
    display: flex;
    overflow: hidden;
    height: 100%;
    flex-grow: 1;
}
.nav-icon-container {
    padding: var(--nav-icon-padding);
    height: calc(var(--nav-sb-icon-height) + 2*var(--nav-icon-padding));
    width: calc(var(--nav-sb-icon-height)*var(--nav-sb-icon-wh-ratio) + 2*var(--nav-icon-padding));
    
}

.navbar-collapse * {
    text-align: right;
}

.navbar  button{
   margin-left: auto;
}

#period-selector {
    border: 0;
    color: var(--fews-text-color);
    font-weight: bold;
    background-color: var(--sb-bg-color);   
}

#pills-tabContent {
    padding-left: var(--sidebar-collapse-width);
}

.pg-content {
    min-height: calc(var(--sidebar-min-height) + 300px);
    height: 100%;
 }

.sb{
    background-color: var(--sb-bg-color-light);
    border: var(--sb-border) solid transparent;
    border-left: none;
    border-top-right-radius: var(--sb-border-radius);
    border-bottom-right-radius: var(--sb-border-radius);
    box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.25);
    box-sizing: content-box;
    height: calc((100vh - 2*var(--nav-height)));
    left: 0;
    min-width: calc(var(--sb-content-width) + var(--nav-sb-icon-height)*var(--nav-sb-icon-wh-ratio) + 2*var(--nav-icon-padding) + 2*var(--sb-border));
    overflow: hidden;
    padding-bottom: calc(2*var(--sb-padding));
    padding-left: var(--sb-padding);
    padding-right: var(--sb-padding);
    padding-top: calc(2*var(--sb-padding)); 
    position: fixed;
    top: var(--nav-height); 
    transition: all 0.5s;
    width: calc(var(--sb-content-width) + var(--nav-sb-icon-height)*var(--nav-sb-icon-wh-ratio) + 2*var(--nav-icon-padding) + 2*var(--sb-border));
    z-index: 1050;

 }

    .sb * {
        font-size: 0.9rem;  /* should use media queries for this */
        
    }

    .sb *.jc{
        display: flex;
        justify-content: center;
        margin: auto;
    }
    
    .sb .sb-collapser {
        text-decoration: none;
        display: flex;
        flex-direction: column;
        background-color: transparent;
        justify-content: center;
        align-items: center;
    }

    /* .sb .sb-collapser span {
        font-size: 1.15rem;
        transform: rotate(-90deg);
        font-weight: 400;
        color: var(--fews-text-color);
    } */
    .sb .sb-span-collapsed {
        display: none;
    }
    .sb .sb-close-sm {
        display: none;
    }
    .sb #sb-toggle{
        transform: rotate(-180deg) ;
    }

.sb.collapsed{
    min-width: calc(var(--nav-sb-icon-height)*var(--nav-sb-icon-wh-ratio) + 2*var(--nav-icon-padding) + 2*var(--sb-border));
    width: 0;
    padding-left: 0;
    padding-right: 0;
    background-color: var(--sb-bg-color-orange);
    display: none;
}
    .sb.collapsed #sb-toggle{
        transform: rotate(-90deg) translate(50%, -50%);
        }
    .sb.collapsed .sb-toggler span {
        color: white;
        
    }
    .sb.collapsed .sb-span-collapsed {
        display: block;
        
    }
    .sb.collapsed .sb-span-open {
        display: none;
    }
    .sb.collapsed #sb-content {
        display: none;
    }
    .sb.collapsed .sb-toggler {
        height: auto;
    }
    
    

.sb-toggler {
    text-decoration: none;

}


#sb-close-sm{
    display: none;
}

.sb-collapser {
    /* display: inline-block; */
    display: flex; 
    align-items: center;
    height: 100%;
    width: var(--sidebar-collapse-width);
    position: absolute;
    right: 0;
}

#sb-content{ 
    /* margin-left: var(--sidebar-collapse-width); */
    box-sizing: border-box;
    height: calc(100% - 2.5*var(--sb-padding)); 
    position: absolute;
    width: var(--sb-content-width);
    right: calc(var(--sidebar-collapse-width));
    display: inline-block;
    overflow-x: auto;
    padding: var(--sb-padding);
   /*  -ms-overflow-style: none;  /* Internet Explorer 10+ */
   /* scrollbar-width: none;  /* Firefox */  
}

/* Nascondi la scrollbar di default */
#sb-content::-webkit-scrollbar {
    width: 0.15rem; /* Larghezza desiderata della scrollbar */
    background-color: transparent; /* Colore di sfondo trasparente */
  }
  
  /* Mostra la scrollbar solo quando in hover */
#sb-content:hover::-webkit-scrollbar {
    width: 0.1rem; /* Larghezza desiderata della scrollbar */
    background-color: rgba(80, 80, 80, 0.2); /* Colore di sfondo semi-trasparente */
  }
  

  
  /* Stile della thumb della scrollbar quando in hover */
#sb-content:hover::-webkit-scrollbar-thumb {
    background-color: var(--fews-text-color); /* Colore della thumb in hover */
    opacity: 0.9;
  }


.sb-content-container {
    position: absolute;
    width: var(--sb-content-width);
    max-height: 100%;
    min-height: var(--sidebar-min-height);
    right: calc(var(--sb-border) + var(--sb-padding) + var(--sidebar-collapse-width));
    white-space: nowrap;        
}



#sb-toggle{
    height: var(--nav-sb-icon-height);
    width: calc(var(--nav-sb-icon-height)*var(--nav-sb-icon-wh-ratio));
    fill: #717171;
    transition: fill 0.3s ease;
 }

    #sb-toggle:hover {
        fill: var(--fews-text-color);
    }


#sb-button-nav {
    display: none;
    width: 30px;
    height: 30px;
}

.gl-button {
    margin: 0px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 30px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    background-color: transparent;
    color: #000000;
    z-index: 2147483630;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 0px;
}


.gl-button-classic {
    background-color: #d5742f;
    color: #ffffff;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    top: 50%;
    left: 0px;
    right: auto;
    position: fixed;
    transform: rotate(90deg) translate(-50%, -100%);
    transform-origin: 0% 0%;
    padding: 9px 20px;
    text-align: center;
    box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.25);
    font-size: 1.1rem;
    font-weight: 40;
}

    .gl-button.hidden {
        display: none;
    }

    /* use this to place the gl-button on the right

    .bb-feedback-button-classic {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        top: 50%;
        right: 0px;
        position: fixed;
        transform: rotate(-90deg) translate(50%, -50%);
        transform-origin: 100% 50%;
        padding: 9px 20px;
        text-align: center;
        background-color: #485bff;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        font-family: sans-serif;
        font-size: 16px;
        color: #fff;
        box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.25);
    } */


/* switch for legacy data*/


.switch {
    position: relative;
    display: inline-block;
    height: 1.2em;
    width: var(--ld-switch-width);
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 5%;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.2em;
    width: var(--ld-switch-width);
    background-color: var(--fews-orange-light);
    -webkit-transition: var(--ld-switch-transition-time);
    transition: var(--ld-switch-transition-time);
    border-width: 5px;
    border-color: rgb(120, 120, 120);
    
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 1.1em;
    width: 1.1em;
    left: 1px;
    bottom: 0px;
    background-color: rgb(120, 120, 120);
    -webkit-transition: var(--ld-switch-transition-time);
    transition: var(--ld-switch-transition-time);
  }
  
  input:checked + .slider {
    background-color: var(--fews-text-color);
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px var(--fews-text-color);
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(calc(var(--ld-switch-width) - 1em - 2*1px));
    -ms-transform: translateX(calc(var(--ld-switch-width) - 1em - 2*1px));
    transform: translateX(calc(var(--ld-switch-width) - 1em - 2*1px));
    background-color: rgb(220, 220, 220);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }


  .ld-body {
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--fews-text-color);
    background-color: var(--fews-orange-light);
    border-color: var(--fews-orange-light);
    border-width: var(--bs-modal-border-width);
    border-radius: var(--bs-modal-border-radius);

  }
    .ld-body svg>path, .ld-header svg>path {
        fill: var(--fews-text-color);
    }
  .ld-header {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
  }
  .modal-center {
    top: 50%!important;
    transform: translateY(-50%)!important;
    margin-left: auto!important;
    margin-right: auto!important;
    }
    /* .tooltip.show {
        opacity: 1!important;
    }
    .tooltip-inner {
        background-color: white;
        box-shadow: 0px 0px 20px rgb(80, 80, 80);
        color: black;
        opacity: 1 !important;
      }
      .tooltip-arrow::before {
        border-top-color: white!important;
        
    } */

@media screen and (min-width: 2000px)  {
    .sb {
        --sb-content-width: calc(290px + 0.6vw);
    }
    .sb * {
        font-size: calc(0.9rem + 0.1vh);
    }
}
    
@media (max-width: 680px) {
    #sb-button-nav {
        display: block;
        margin-right: auto;
    }
    .sb.collapsed {
        display: none;
    }
    #pills-tabContent {
        padding-left: 0;
    }
    #fews-nav {
        min-height: 100px;
    }
    /* .highcharts-caption {
        display: none;
    } */
    .navbar-brand {
        flex-basis: 100%;
    }
    .sb {
        width: var(--sb-width-sm);
        height: var(--sb-height-sm);
        top: calc(0.5*(100vh - var(--sb-height-sm)));
        left: calc(0.5*(100vw - var(--sb-width-sm)));
        right: calc(0.5*(100vw - var(--sb-width-sm)));
        bottom: calc(0.5*(100vh - var(--sb-height-sm)));
        box-sizing: border-box;   
        border-left: var(--sb-border) solid #e5e5e5;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #sb-content {
        position: static;

    }
    .sb .sb-close-sm{
        display: block;
        margin-left: auto;
        padding: 10px;

    }
        .sb .sb-close-sm svg {
            fill: var(--fews-text-color);
            width: 20px;
            height: 20px;
        }
    .sb .sb-collapser {
        display: none;
    }
    

.gl-button {
    display: none;
}


}

@media (max-width: 610px) {
    .split-text span {
        display: block;
      }
    .modal-content *{
        font-size: .6rem;
    }
}
/*
    Footer
*/
.cg-logo {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0;

}
    .cg-logo.focus img {
        transform: scale(1);
    }
    .cg-logo img {
        max-height: 60px;
        width: 100%;

    }

/* .cgiar-logos{
    padding-top: 6px;
    padding-bottom: 6px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    
} */

.logos .row{
    gap: 22px;
}

.cgiar-logos {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 36px;
}
    .cgiar-logos img {
        height: 60px;
        overflow-clip-margin: content-box;
        overflow: clip;
    }


.fews-logo img{
    height: 60px;
}

.fews-logos {
    padding-top: 6px;
    padding-bottom: 6px;
}


footer {
    padding-left: var(--sidebar-collapse-width);
    
}

@media (max-width:1200px) {
    footer div .row{
        flex-direction: column;
    }
    .fews-logo, .cgiar-logos, .logos {
        margin-right: auto;
    }
    .policy {
        margin-left: auto;
    }
}

@media (max-width:680px){
    .cgiar-logos {
        flex-wrap: wrap;
    }
}



/* Style the buttons that are used to open and close the accordion panel */
.accordionc {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
  }
  
  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .active, .accordionc:hover {
    background-color: #ccc;
  }
  
  /* Style the accordion panel. Note: hidden by default */
  .panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
  }

  #domains {
    position: fixed;
    top: calc(var(--nav-height) + 40px);
    left: 50px;
    z-index: 10;
    width: 20%;
    border: 1px solid rgb(214, 214, 218);
}

#ham-filter {
    position: fixed;
    top: calc(var(--nav-height) + 40px);
    right: 50px;
    z-index: 10;
    width: 20%;
    
}
    #ham-filter * {
        color: var(--phase2-blue-light);
    }
    

.phase2-nav {
    background-color: var(--phase2-blue-light);
}

.phase2-text {
    color:rgb(220, 220, 220);
    text-transform: uppercase;
}

.phase2-text-menu {
    color: var(--phase2-blue-light);
    background-color: white;
}

.phase2-text-menu-reverse {
    background-color: var(--phase2-blue-light);
    color: white;
}

/* #sentiment-map .highcharts-background {
    fill: #bcdae9;
}

#sentiment-map .highcharts-point {
    fill: #d1d3d4 !important;
} */

.country-header {
    background-color: var(--phase2-blue-dark);
    
}

.fews-tab-content {
    background-color: var(--phase2-blue-dark);
}
  
.country-chart-spinner {
    color: var(--phase2-blue-light);
}

.filter-bar {
    /* display: flex; */
    justify-content: space-between;
    background-color: var(--phase2-blue-dark);
    width: 100%;
}
.filter-bar .modal {
    position: fixed;
    z-index: 1001;
}
.form-open .modal{
    display: none;
}


.filter-top {
    display: flex;
    background-color: var(--phase2-blue-dark);
}
.query-builder {
    display: flex;
    flex-wrap: wrap;

}
.action-buttons {
    margin-left: auto;   
}
.query-button, .reset-button{
    background-color: white;
    border: 1px solid var(--phase2-blue-dark);
    height: 3rem;
    border-radius: 0.3rem;
    margin: 0.3rem;
    color: var(--phase2-blue-light);
    font-weight: 550;
}
#modal-overlay {
    display: none; /* Hide the overlay by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }


.builder-container {
    display: none;
    position: absolute;
    /* top: 50%;
    left: 50%; */
    /* transform: translate(-50%, -50%); */
    padding: 20px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.builder-container .modal {
    display: block;
}

.form-open {
    display: flex;
  align-items: center;
  flex-grow: 1;
  border-radius: 8px;
  border: 1px solid #ccc;
  overflow: hidden;
}
    .form-open .icon {
        background-color: white;
        height: 100%;
        align-content: center;
        
    }
    .form-open .icon  img {
        height: 2em;
        padding: 5px;
    }
    .form-open .icon .svg path {
        color: var(--phase2-blue-dark);
    }

.condition-mod.icon > img{
    height: 2em;
        padding: 5px;
}
.search-bar {
    flex-grow: 1;
    padding: 10px;
    border: none;
    outline: none;
    background-color: var(--phase2-blue-dark);
    height: 100%
  }
.query-form {
    background-color: rgb(231, 241, 255, 0.7);
    border-radius: 0.8rem;
    
}
.query-form form{
    display: flex;
    justify-content: space-between;
    
}

.datepicker {
    padding: 0px;
    margin-left: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    align-items: center;
}
    .datepicker span  {
        color: #ccc;
    }
/* .condition {
    display: flex;
} */

.right {
    margin-left: auto;
}


.bs-none {
    background-color: transparent !important;
}
.cards-separator {
    display: flex;
    align-items: center;
    margin: 20px 0; /* Spazio sopra e sotto il separatore */
}
.cards-separator::before,
.cards-separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #fff;
    margin: 0 10px; /* Spazio ai lati della linea */
}

.widget-title {

    font-weight: bold;
}

.logic {
    display: flex;
    justify-content: center;
    padding: 5px 5px;
    text-transform: uppercase;
    background-color: white;
}

.sub-condition {
    padding: 10px 10px;
}

#ham-filter .filter-icon svg{
    background-color: var(--phase2-blue-light);
    width: 40px;
    height: 40px;
}
#ham-filter .filter-icon svg>path{
    fill: white;
}

.filter-toggler {
    background-color: transparent !important;
}
.filter-toggler .filter-icon{
    margin-left: auto;
    margin-right: 0;
}

.filter-body {
    border: 1px solid rgb(214, 214, 218);
    background-color: white;
    display: none;
}

.section-name p{
    font-weight: bold;
    font-size: 1.2em;
}

/* .charts-container {
    height: 90vh;
} */

.chart-square {
    min-height: calc(var(--upper-row-min-h)/2);
    max-height: calc(var(--upper-row-max-h)/2);
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
}

:root {
    --upper-row-max-h: 1200px;
    --upper-row-min-h: 1000px

}
.charts-upper-row {
    min-height: var(--upper-row-min-h);
    max-height: var(--upper-row-max-h);
    overflow: hidden;
    padding-bottom: 30px;
}

#mc-stories {
    /* min-height: var(--upper-row-min-h);
    max-height: var(--upper-row-max-h); */
    height: 100%;
}

.tp-table {
    height: 100%
}


.accordion-button.clicked {
    background-color: #e7f1ff;
}


input.discard{
    background-image: url("/static/img/trash-bin.svg"); /* 16px x 16px */
    background-color: transparent; /* make the button transparent */
    background-repeat: no-repeat;  /* make the background image appear only once */
    background-position: 0px 0px;  /* equivalent to 'top left' */
    border: none;           /* assuming we don't want any borders */
    cursor: pointer;        /* make the cursor like hovering over an <a> element */
    height: 16px;           /* make this the size of your image */
    padding-left: 16px;     /* make text start to the right of the image */
    vertical-align: middle; /* align the text vertically centered */
}

.calendar-icon{
    background-color: white;
    padding: 2px;
    height: 100%;
    align-items: center;
}
:root {
    --card-max-height: 450px;
    --card-min-height: 450px;
}

.card {
    height: 100%;
    width: 100%;
    background-color:  var(--phase2-bg-chart);
    padding: 10px;
    box-sizing: border-box;
    background-clip: content-box;
    min-height: var(--card-min-height);
    max-height: var(--card-max-height);
}

.long-card {
    max-height: calc(2*var(--card-max-height));
    min-height: calc(2*var(--card-min-height));
}

.three-cards-long-card {
    max-height: calc(3*var(--card-max-height));
    min-height: calc(3*var(--card-min-height));
}

.table-card caption, .table-card tbody, .table-card thead, .widget-title, .mc-card, .tg-card, .cards-separator{
    padding: 5px;
}


/* Works on Firefox */
* {
    scrollbar-width: 2px;
    scrollbar-color: var(--phase2-blue-light);
  }
  
  /* Works on Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 2px;
  }
  
  *::-webkit-scrollbar-track {
    background: transparent;
  }
  
  *::-webkit-scrollbar-thumb {
    background-color: var(--phase2-blue-light);
    border-radius: 20px;
    border: 3px solid transparent;
  }


  .sub-condition select, .vscomp-ele {
    width: 300px !important;
    max-width: 300px !important;
    text-overflow: ellipsis;
    padding: 0 !important;
  }


.vscomp-toggle-button, .sub-condition select {
    border: 1px solid var(--flowsight-border-subtle) !important;
    height: 2rem !important;
    background-color: var(--flowsight-card) !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    color: var(--flowsight-text) !important;
    font-weight: normal !important;
    border-radius: 0.2rem !important;
}

/* Virtual Select Dropdown Theming */
.vscomp-dropbox {
    background-color: var(--flowsight-card) !important;
    border: 1px solid var(--flowsight-border-subtle) !important;
    color: var(--flowsight-text) !important;
}

.vscomp-option {
    color: var(--flowsight-text) !important;
}

.vscomp-option.focused, .vscomp-option:hover {
    background-color: var(--flowsight-surface) !important;
}

.vscomp-option.selected {
    background-color: var(--flowsight-accent-surface) !important;
    color: var(--flowsight-accent-soft) !important;
}

.vscomp-search-container {
    background-color: var(--flowsight-card) !important;
    border-bottom: 1px solid var(--flowsight-border-subtle) !important;
}

.vscomp-search-input {
    color: var(--flowsight-text) !important;
}

.vscomp-no-options, .vscomp-no-search-results {
    color: var(--flowsight-muted) !important;
}

.table-container {
    height: 100%;
    width: 100%;
    margin-bottom: 0.8rem;
    overflow-y: auto;
    
}

#tg-messages, #mc-stories {
    overflow-y: hidden;
    margin-bottom: 0.8rem;
}

.mc-author {
    font-weight: bold;
}

#tg-talking-points table tr:first-child th:first-child,
#tg-talking-points table tr:first-child td:first-child, 
#mc-talking-points table tr:first-child th:first-child,
#mc-talking-points table tr:first-child td:first-child {
    width: 40%;
}

#available-fields li, #selected-fields li, #available-variables li, #selected-variables li{
    background-color: var(--flowsight-surface);
    color: var(--flowsight-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style-type: none;
    border-radius: .5rem;
    margin-bottom: .8rem;
    padding-left: .8rem;
    padding-right: .8rem;
    padding-top: .3rem;
    padding-bottom: .3rem;

}

#available-fields ul, #selected-fields ul, #available-variables ul, #selected-variables ul{
    list-style-type: none;
    padding-inline-start: 0px;
    padding-left: .8rem;
    padding-right: .8rem;
}

.field-header *{
    color: white;
    padding-left: 1rem;
   
}

.no-max-height {
    max-height: none;
    
}

#available-fields, #selected-fields, #available-variables, #selected-variables  {
    margin-top: 1rem;
}


/* Link the series colors to axis colors */
.highcharts-axis.hc-xAxis text {
    fill: white;
}
.highcharts-axis.hc-yAxis text {
    fill: white;
}

#chart-select, #country-select {
    margin-left: .8rem;
}

#create-chart {
    height: 5rem;
    background-color: var(--phase2-bg-chart);
    padding: 10px;
    box-sizing: border-box;
    background-clip: content-box;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#create-chart-button {
    width: 15%;
}

.vh50{
    min-height: none;
    max-height: none;
    height: 50vh;

}

.vh60{
    min-height: none;
    max-height: none;
    height: 60vh;

}

.popup-container {
    display: none;
    position: absolute;
    z-index: 10000000;
    max-height: 50vh;
    min-height: 10vh;
    min-width: 20vw;
    max-width: 30vw;
    /* overflow: hidden; */
}
.popup {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    z-index: 1000;
    min-width: 10vw;
    max-width: 20vw;
    border-radius: .2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

.popup .detected-topics, .popup .full-text {
    border: 0.1rem, solid, var(--phase2-blue-light);
    margin: 0.2rem;
    padding: .2rem;
    border-radius: .2rem;
}

.center-text {
    text-align: center;
}

li a,  .dropbtn{
    display: inline-block;
    color: white;
    text-align: center;
    /* padding: 14px 16px; */
    text-decoration: none;
  }
  
  /* li a:hover, .dropdown:hover .dropbtn {
    background-color: red;
  } */
  
  li.dropdown {
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    list-style: none;
    max-height: 40vh;
    overflow: scroll;
    padding-left: .5rem;
    border-radius: .3rem;
  }
  
  .dropdown-content a {
    color: var(--phase2-blue-light);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  
  .dropdown-content a:hover {background-color: #e7f1ff;}
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  

  :root {
    --user-guide-sw: 15rem;
  }
  .content-container {
    margin-left: var(--user-guide-sw);
  }
  .about-body {
    background-color: var(--phase2-bg-chart);
    color: white;
    
    width: 80%;
    box-sizing: border-box;
    padding-left: 4rem;
    padding-right: 4rem;
    
  }
    .about-body table {
        color: white;
    }
  /* .dropbtn {
    border-bottom: 3px solid red;
   } */
  
  /* .dropbtn::after {
    content: 'v';
    color: red;
    padding-left: 5px;
  } */

  .bold {
    font-weight: bold;
  }

  .hc-title {
    color: white;
    margin-right: .5rem;
    font-weight: 600;
    font-size: 16px;
  }

  .highcharts-info-label-box {
    fill: white !important;
  }


  .info-icon {
    /* height: .8rem;
    width: .8rem; */
    height: 12px;
    width: 12px;
    padding: 0;
  }
  
  .info-icon-blue {
    fill: var(--phase2-blue-light);
  }
  
  .info-icon-xl {
    height: 1.5rem;
    width: 1.5rem;
  }
  /* .popup-trigger {
    padding: 0;
  } */

  /* .highcharts-title svg {
    height: .8rem;
    width: .8rem;
  } */

  


   .bs-custom-tooltip.show {
        opacity: 1!important;
    }
    .bs-custom-tooltip .tooltip-inner {
        background-color: white;
        box-shadow: 0px 0px 20px rgb(80, 80, 80);
        color: black;
        opacity: 1 !important;
      }
      .bs-custom-tooltip .tooltip-arrow::before {
        /* display: none; */
        border-top-color: white!important;
        
        }

/* 
    pure css tooltip classes. 
    Usage: popover__wrapper is the container of the popover__title (the title of the popover, 
    always visibile even when the tooltip is closed) 
    and the popover__content (the content of the popover) 
    
 */
.popover__title {
    font-size: 24px;
    line-height: 36px;
    text-decoration: none;
    color: rgb(228, 68, 68);
    text-align: center;
    padding: 15px 0;
}

.popover__wrapper {
    position: relative;
    display: inline-block;
}
.popover__content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0px;
    top: 0;  /* allows to create continuity between wrapper and content to hover */
    transform: translate(0, 10px);
    /* background-color: #fefefe; */
    padding: .1rem;
    /* box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); */
    width: auto;
    
}
/* .popover__content:before {
    position: absolute;
    z-index: -1;
    content: "";
    right: calc(50% - 10px);
    top: -8px;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #bfbfbf transparent;
    transition-duration: 0.3s;
    transition-property: transform;
} */
.popover__wrapper:hover .popover__content {
    z-index: 10; 
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0px);
    transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97);
}
.popover__message {
    text-align: center;
}
.top-part {
    /* position: absolute;
    top: 0;
    left: 0; */
    width: 100%; 
    height: 2rem; 
    opacity: 0 !important; 
}

.info-box {

    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    border-radius: .4rem;
    overflow: hidden;
    /* min-width: 25vw;
    max-height: 50vh; */
}
.info-box-title {
    padding: .9rem;
    text-align: center;
    text-wrap: nowrap;
    font-weight: bold;
    font-size: 1.5rem;
    background-color: var(--phase2-blue-super-light);
    
}
.info-box-content {
    padding: .9rem;
    font-weight: normal;
    background-color: white;
    overflow-y: auto;
    /* max-height: 50vh; */
    
    
}

.info-box-header {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--phase2-blue-light);

}

.info-box-section p, .info-box-section li {
    font-size: .9rem;
    font-weight: normal;
    color: var(--phase2-blue-light);
    text-align: left;
}

.info-box-sub-header {
    font-weight: bold;
    font-size: .9rem;
    color: var(--phase2-blue-light);
}

.info-box-content .hcs {
    min-width: 35vw;
}

.accordion-title {
    background-color: white;
    color: var(--phase2-blue-light);
    padding: 18px;
    width: 100%;
    text-align: left;
    transition: 0.4s;
    font-size: 1.35rem;
    font-weight: 620;
    border-bottom: .3rem double var(--phase2-blue-light);
}

.accordion-button .info-icon svg {
    fill: var(--phase2-blue-light);
    cursor: pointer;
}

.info-icon-filters {
    stroke: var(--phase2-blue-light);
    opacity: 1;
}

.modal-header-landing-main {
    background-color: var(--phase2-blue-light);
    color: white;
}

.no-bg {
    background: none;
    border: none;
}

.white {
    color: white;
}

.hc-map-legend {
    display: flex;
    align-items: center;
}
.hc-map-legend .highcharts-legend-box{
    
    fill: white;
    stroke: var(--phase2-blue-super-light);
    stroke-width: 2px;
}

.hc-map-legend .highcharts-legend-title text, .hc-map-legend .highcharts-coloraxis-labels text{
    fill: var(--phase2-blue-dark);

}

.user-guide-img {
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border: 2px solid white;
    max-width: 80%;
    height: auto;
}


.user-guide-burger {
    background-color: var(--phase2-blue-light);
    width: 2rem;
    height: 2rem;
    fill: white;
    border: 1px solid var(--phase2-blue-super-light);
}

.user-guide-table {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-collapse: collapse;
}

.user-guide-table th, .user-guide-table td {
    
    padding: 8px;            /* Spazio interno delle celle */
    text-align: center;    
}

.user-guide-table td{
    border: 1px solid white; /* Bordo intorno a tutte le celle */
}
.user-guide-table td:last-child {
    text-align: left;
}

.user-guide-table th:first-child, .user-guide-table td:first-child {
    border-left: none; /* Rimuovi il bordo sinistro delle prime celle */
  }
  .user-guide-table th:last-child, .user-guide-table td:last-child {
    border-right: none; /* Rimuovi il bordo destro delle ultime celle */
  }
  .user-guide-table tr:first-child th {
    border-top: none; /* Rimuovi il bordo superiore delle celle nell'intestazione */
  }
  .user-guide-table tr:last-child td {
    border-bottom: none; /* Rimuovi il bordo inferiore dell'ultima riga */
  }

.ul-dashed {
    list-style-type: none;

}
.ul-dashed > li:before {
    content: "- ";
    /* text-indent: -5px; */
  }


  .user-guide-filter-icon {
    background-color: var(--phase2-blue-super-light);
    width: 2rem;
    height: 2rem;
    padding: 2px;
    border: 1px solid white;
    border-radius: .2rem;
}


.user-guide-sidebar {
    
        width: var(--user-guide-sw);
    
        padding: 1.5rem;
        position: fixed; /* Fissa la sidebar */
        height: 100%;
        overflow-y: auto;
        border-right: 1px solid #ccc;
}

/* .user-guide-sidebar a {
    display: block;
    padding: 8px;
    margin: 4px 0;
    text-decoration: none;
    color: black;
    border: 1px solid #ddd;
}
.user-guide-sidebar a:hover {
    background-color: #ddd;
}


.user-guide-sidebar .submenu a {
    padding-left: 50px; 
} */

.user-guide-sidebar .chapter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    margin: 4px 0;
    color: white;
    cursor: pointer;
   
}
.user-guide-sidebar .chapter a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    flex-grow: 1;
}
.expand-icon {
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    user-select: none;
    transition: .1s transform ease;
}
.expand-icon.open {
    transform: rotate(90deg); /* Ruota l'icona quando aperta */
}
.submenu {
    display: none; /* Nasconde i sotto capitoli */
    margin-left: 15px;
}
.user-guide-sidebar a {
    display: block;
    padding: .2rem .2rem;
    text-decoration: none;
    color: white;
    border: 1px solid transparent;
    margin: 4px 0;
    cursor: pointer;
}
.user-guide-sidebar a:hover {
    background-color: var(--phase2-blue-super-light);
    border-radius: .3rem;
    color: var(--phase2-blue-light);

    
}

