/*COLORS*/
:root {
--amaranth-red: #d72638ff;
--french-blue: #0573baff;
--indian-yellow: #dda448ff;
--dark-sea-green: #7fb285ff;
--dark-purple: #140f2dff;
--english-violet: #51355aff;
}

body {
    font-family: Quicksand;
    margin:0; 
}

/****** Title *******/
#title{
    position:absolute;
    top: 5px;
    right: 5px;
    color: #140f2d;
}
#toptitle{
    font-size: 50px;
    text-align: right;
}
#subtitle{
    font-size: 25px;
    text-align: right;
}



/****** Welcome box *******/
.innerFancy {
    max-width: 750px;
    min-width: 650px;
    padding: 10px 15px;
}
.paddingleft{
    padding-left:30px;
}

/******* UI *********/
.fa{
    color:#0573baff;
}
.layer-switcher {
    position: initial;
}
#infocircle {
    right: 50px;
    position: absolute;
    cursor: pointer;
}
/* Resorgs */
#resorglegendleft{
    float:left;
    width:120px;
}
#resorglegendright{
    float:left;
    width:120px;
    padding: 30px 0px 0px 40px;
}
#resorglegend{
    height:120px;
    margin-top:10px;
}
.shapeborder { border:1px solid black; }

.circle { border-radius: 50%; }

.outer {
    /* background-color:blue; */
    width:50px; /* You can define it by % also */
    height:50px; /* You can define it by % also */
    position:relative;
    border:1px solid black;
    border-radius: 50%;
}

.inner {
    /* background-color:yellow; */
    top: 30%; 
    left:15%; /* of the container */
    width:66%; /* of the container */
    height:66%; /* of the container */
    position: relative;
    border:1px solid black;
    border-radius: 50%;
}
div {
	position: relative;
}
span.ccircle {
	position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-53%,-18%);
    font-size:10px;
}
span.ccircle:last-child {
	top: 66%;
    left: 66%;
    transform: translate(-66%, -66%);
}

/* Countries */
#countries_nbresearched,
#countries_nbset {
    margin-top: 20px;
}
#countrymap_switch,#resorgmap_switch{
    width: 243px;
    height: 23px;
}
.switchleft,.switchright{
    border: 1px solid rgb(7, 115, 186);
    height: 21px;
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.switchleft{
    float:left;
    width: 80px;
    border-radius: 10px 0px 0px 10px;
}
.switchright{
    float:left;
    border-radius: 0px 10px 10px 0px;
    border-left: 0px;
    width: 100px;
}
.switchmiddle{
    border: 1px solid rgb(7, 115, 186);
    width: 57px;
    height: 21px;
    display: flex;
    /* margin: auto; */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    float:left;
    border-left: 0px;
}
.countractive {
    color: white;
    background-color: #0773ba;
}
.switchleft:hover,
.switchright:hover,
.switchmiddle:hover{
    background-color: rgba(7, 115, 186,0.3);
}

/* Metadata */
.container{
    width: 95%;
    margin: 0 auto;
}

ul.tabs{
    margin: 0px;
    padding: 0px;
    list-style: none;
}
ul.tabs li{
    background: none;
    color: #222;
    display: inline-block;
    padding: 10px 15px;
    cursor: pointer;
}

ul.tabs li.current{
    background: #ededed;
    color: #222;
}

.tab-content{
    display: none;
    background: #ededed;
    padding: 15px;
    font-size: 12px;
}
p.tab-content {
  margin-bottom: 2em ;
}

.tab-content.current{
    display: inherit;
}

/* Diseases */
#diseases_select {
    padding: 10px 0 0 0;
}

/* PANEL Drop-down */
.select2-dropdown {
    z-index:99999;
}

.select2-container--default .select2-search--inline .select2-search__field{
    font-family: Quicksand;
}
.js-example-basic-multiple{
    width: 75%
}
button.select2-selection__choice__remove{
    float: inherit;
    width: inherit;
    height: inherit;
    background-image: inherit;

}
li.pp_list_diseases{
    display: inline-block;
    margin: 2px;
    border: 1px solid black;
    padding: 0px 1px;
    color: black;
    border-radius: 3px;
    font-size: 10px;
}
ul {
    padding: 5px;
}

/** Content **/
#smallnotes{
    padding-top: 20px;
    font-size: 13px;
    margin: 0 5px 0 0;
}
#metadata {
    margin: 5px 10px 10px 10px;
}
#diseases_panel {
    margin: 10px 10px 10px 10px;
}


/** Page Switcher **/
#pageswitcher{
    width: 120px;
    top: 5px;
    height: 40px;
    background-color: white;
    position: relative;
    z-index: 10000;
    border-radius: 10px;
    float: none;
    margin: 0 auto;
  }
#pageswitcher:hover{
    cursor: pointer;
}
#switchtomap, #switchtonetwork{
    text-align: center;
    padding: 10px 20px;
}
#switchtomap{
    float:left;
    border-radius: 10px 0px 0px 10px;
}
#switchtonetwork {
    float:right;
    border-radius: 0px 10px 10px 0px;
}
.pageactive {
    background-color: #0773ba;
    font-weight: bold;
}
#switchtomap > a,
#switchtonetwork > a {
    text-decoration: none;
    color: #0773ba;
}
#pageswitcher > div > a > i.fa {
    color: #0773ba;
}
#pageswitcher > .pageactive > a > i.fa {
    color: white;
}
#switchtomap,#switchtonetwork {
    border: 1px solid #0773ba;
}



/******* MAP ********/
.map {
    width: 100%;
    height: 100%;
    position:fixed;
    /* background-color: #00d0ff24; */
    top:0;
}
.ol-zoom {
    right: 0.5em;
    left: auto;
    /* bottom: 1em; */
    position: fixed;
    top: 35%;
}
.zoomtoworld {
    bottom: 75px;
    right: 8px;
}
.white {
    color: white;
}
/* POPUP */
.ol-popup {
    position: absolute;
    min-width: 250px;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #ccc;
    bottom: 12px;
    left: -50px;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
    z-index: 100000;
}
.ol-popup-closer:after {
    content: "x";
}
#popup-content h3 {
    margin: 0 15px 2px 0;
}
.pp_div_diseases {
    max-height: 5em;
    overflow: auto;
}
.pp_div_diseases ul{
    margin: 0 2px;
}


/****** GRAPHS ***/
/* Line graphs */

.y-axis line {
	opacity:.2;
}
.y-axis path {
	display:none;
}
.x-axis path {
    stroke: none;
  }
.line {
	fill: none;
	stroke-width: 1.5px;
	opacity:.75;
}
.overlay {
	fill: none;
	pointer-events: all;
}
.lineHoverText {
	text-shadow:
	-2px -2px 0 #fff,
	2px -2px 0 #fff,
	-2px 2px 0 #fff,
	2px 2px 0 #fff;
}
.hoverCircle {
	opacity: .75;
}


/* === Minimal stable sidebar (final) === */
.sidebar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;             /* leave space for rail */
  width: 360px;
  max-width: 85vw;
  background: #fff;
  z-index: 1000;
  overflow: auto;
  transition: transform .25s ease-in-out;
  box-shadow: none;       /* no shadow */
  margin: 10px 0px;
}

/* Caret */
.sidebar .sidebar-close, .sidebar .sidebar-close i { cursor: pointer; }
.sidebar .sidebar-close i.fa-caret-left { transition: transform .25s; }
.sidebar.collapsed .sidebar-close i.fa-caret-left { transform: rotate(180deg); }
.sidebar.collapsed { transform: translateX(-100%); }

.sidebar-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 2;
  padding: 0px 16px 1px 3px;
  margin:0;
  font-size: 1.7em;
}

.sidebar-content { background: #fff; }
.sidebar-pane { display: none; background: #fff;}
.sidebar-pane .sidebar-header {  
    background: var(--french-blue) !important;  /* #0573ba */
    color: #fff;
    border-bottom: 0;                            /* remove the line under “Data” */
  }
.sidebar-pane.active { display: block; }
.sidebar-pane .sidebar-header i.fa,
.sidebar-pane .sidebar-header .sidebar-close i {
  color: #fff;
  padding: 0px;
}

/* Left rail tabs (no shadow) */
.sidebar-tabs {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40px;
  background: #fff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  margin: 10px 0px;
}
.sidebar-tabs > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sidebar-tabs > ul > li { text-align: center; background: #fff; }
.sidebar-tabs > ul > li > a { display: block; padding: 8px 0; }
.sidebar-tabs > ul > li > a > i.fa { font-size: 16px; }
.sidebar-tabs > ul > li:hover { background: rgba(7,115,186,0.12); }
.sidebar-tabs > ul > li.active { background: #0773ba; }
.sidebar-tabs > ul > li.active > a > i.fa { color: #fff; }



