@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');

html {scroll-behavior: smooth;}

body { background-color: #F2F5FA; font-size: 16px; line-height: 1.8; color: #6c757d; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Proxima Nova", "Proxima Nova Semibold", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; }

h1 {font-family: 'Open Sans', sans-serif; font-style: normal; font-weight: 800; font-size: 36px; color: #393939;}

h2 {font-family: 'Open Sans', sans-serif; font-style: normal; font-weight: 700; color: #393939;}

h3 {font-family: 'Open Sans', sans-serif; font-style: normal; font-weight: 600; color: #969696; font-size: 16px;}

h4 {font-family: 'Open Sans', sans-serif; font-style: normal; font-weight: 800; font-size: 18px; color: #393939;}

h5 {font-family: 'Open Sans', sans-serif; font-style: normal; font-weight: 700; font-size: 12px; color: #393939;}

h6 { font-family: 'Open Sans', sans-serif; font-style: normal; font-weight: 700; font-size: 18px; color: #393939;}

p { font-family: 'Open Sans', sans-serif; font-style: normal; font-weight: 400; font-size: 15px; line-height: 1.5; color: #7f8490;}

text    {font-family:'Open Sans', sans-serif ; text-anchor:left;}

label    {font-family:'Open Sans', sans-serif ; text-anchor:left;}

a   {font-family:'Open Sans', sans-serif ;}

path {cursor: pointer;}

button  {float:left; padding: 30px; margin:0 !important;}

.myBtn {width: 40px; height: 40px; display: none; position: fixed; bottom: 20px; right: 30px; z-index: 99; font-size: 18px; border: 0px solid #313639; border-radius: 2px;  outline: none!important; box-shadow: none; background-color: #8d8d8d; color: rgb(82, 82, 82); cursor: pointer; padding: 3px;}
  
.myBtn:hover {background-color: rgb(160, 160, 160);}

.btn {font-family:'Open Sans', sans-serif; font-size: 14px ;  width:12rem; height:44px;}

.btn-secondary {color:#4a4a4a; background-color: #fff; border: none;}

.btn-secondary:hover {color: #393939; background-color: #c9c9c9;}

.btn-secondary:active{color: #393939; background-color: #c9c9c9;}

.buttons2 {float:left; padding: 40px 0; width: 8rem;}

.donut {float: left; }

.donut svg {width: 521px; height:440px; margin-left: 0rem;margin-bottom: 1vh; font-size: 12px; float:inline-start;}

svg.sD_pie  {width:110px; height:136px;}

.sD_box_top {cursor: pointer;}

.smallDonut-wrapper {border-radius: 20px; width: 360px; height: 440px; float: right; background-color: #FCFDFE; margin-top: 20px !important; box-shadow: rgba(53, 53, 53, 0.05) 0px 2px 10px 0px;}

text.sD_text {font-size: 12px; color:#4a4a4a; font-weight: 600;}

.sD_box_top  {border-radius: 2px;}

.gram {position: absolute; bottom: 44%; left: 49%; }

.gram {font-weight: 400;color:#4a4a4a;}

.axis line {fill:none;/* stroke:#ddd;*/shape-rendering: crispEdges;}

.axis path  {fill:none;}

.axis text {font-size:11px; font-family:'Open Sans', sans-serif;}

div.donut-tip {position: absolute; text-align: center; padding: .5rem; background: #FFFFFF; color: #313639; border: 0.5px solid #313639; border-radius:2px; pointer-events: none; font-size: 13px; font-family:'Open Sans', sans-serif;}

/* #overallButtons2 {margin-top: 30px;} */

.chartWbutton {width: 800px; text-align: center; margin-left: 100px;}

text.c-legend {font-size: 18px; font-family:'Open Sans', sans-serif; font-weight: 700;}

text.rect-legend {font-size: 12px; font-family:'Open Sans', sans-serif; font-weight: 400;}

.age-wrapper {width: 900px; text-align: center; display: inline-block;}

.allAgeplot {width:100%;}

.ageLegend {cursor: pointer;}

.checkbox {text-align: center; cursor: pointer;}

input {font-size: 18px;}

label{font-family:'Open Sans', sans-serif; font-size: 14px; font-weight:400 ;margin: 0px 12px 0px 7px; color: #53575f; cursor: pointer;}

#checkboxes {width:800px; padding-left: 130px; padding-bottom: 0px;}

.ageplot {margin-left: 80px; margin-top: 2px; display: inline;}

.bpTitle {font-size: 18px;}

.top-nav {display: flex; justify-content: center;font-family:'Open Sans', sans-serif; font-size: 14px; font-weight:700 ; overflow: hidden; background-color: #fff; width: 100%; min-width:900px; position: fixed; top: 0; align-items: center;}

.top-nav a {
    float: left;
    color: #9C9C9C;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    width: 300px;
  }

  .top-nav a:hover {
    color: #393939;
  }
  
  .top-nav a.active {
    color: #393939;
    border-bottom: 5px solid rgba(134,117,255);
    font-weight: 700;
  }

.dashboard {padding-top: 4em;}

.overallfood {min-width: 900px;}

.foodgroup {min-width: 900px;}

.wrapper {width: 900px; text-align: center; display: inline-block;}

.foodgroup-wrapper {background-color: #FCFDFE; border-radius: 20px; box-shadow: rgba(53, 53, 53, 0.05) 0px 2px 10px 0px;}

.wrapper-foodgroup {padding-top: 20px; padding-left: auto; padding-right: auto;}

.group-item {margin-top: 20px;}

.percentage {font-size: 15px;}

.country-nav {
    font-size: 14px;
    color:#707070;
    /* padding: 20px 20px; */
    width: 180px;
    position: fixed;
    top: 465px;
    transform: translate(0,-50%);
    background-color: #ffffff;
    transition: 0.3s;
    border-radius: 10px;
    z-index: 100;
    box-shadow: rgba(53, 53, 53, 0.05) 0px 2px 10px 0px;
    line-height: 50px;
    background-clip: border-box;  
    
}


.country-nav__button {display:block;}

.country-nav__button:not(:last-child) {border-bottom: 1px solid rgba(0,0,0,.15);}
  
nav.country-nav a:hover
  {
    color: rgba(61, 61, 61, 0.8);
  }
  
nav.country-nav a {
    display: block;
    /* padding: 2px 20px; */
    text-decoration: none;
    color: #707070;
    transition: background-color 0.4s ease;
    text-align: left;
    padding-left: 20px;
    background-clip: border-box;  
  }

nav.country-nav a:first-child{
    border-top-left-radius: 5px;
    border-top-right-radius: 10px;    
  }

nav.country-nav a:last-child{
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 10px;      
  }
  
nav.country-nav a.active {
    color: rgba(61, 61, 61, 0.8);
    background-color: rgba(194, 194, 243, 0.5);
    font-weight:700;
    padding-left: 15px;
    border-left: 5px solid rgba(61, 61, 61, 0.8);
  }

  
  .foodgroup-nav {
    font-size: 14px;
    color:#707070;
    /* padding: 20px 20px; */
    width: 180px;
    position: fixed;
    top: 375px;
    transform: translate(0,-50%);
    background-color: #ffffff;
    transition: 0.3s;
    border-radius: 10px;
    z-index: 100;
    box-shadow: rgba(53, 53, 53, 0.05) 0px 2px 10px 0px;
    line-height: 50px;
    background-clip: border-box;  
    
}


.foodgroup-nav__button {display:block;}

.foodgroup-nav__button:not(:last-child) {border-bottom: 1px solid rgba(0,0,0,.15);}

nav.foodgroup-nav a:hover
  {
    color: rgba(61, 61, 61, 0.8);
  }
  
nav.foodgroup-nav a {
    display: block;
    /* padding: 2px 20px; */
    text-decoration: none;
    color: #707070;
    transition: background-color 0.4s ease;
    text-align: left;
    padding-left: 20px;
    background-clip: border-box;
}

nav.foodgroup-nav a:first-child{
    border-top-left-radius: 5px;
    border-top-right-radius: 10px;    
  }

nav.foodgroup-nav a:last-child{
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 10px;      
  }
  
  nav.foodgroup-nav a.active {
    color: rgba(61, 61, 61, 0.8);
    background-color: rgba(194, 194, 243, 0.5);
    font-weight:700;
    padding-left: 15px;
    border-left: 5px solid rgba(61, 61, 61, 0.8);
  }



  