:root {
  --main-color: #c79e53;
  --secondary-color: #96aba4;
}

.panelMedium {
    display: flex;
    flex-wrap: nowrap;
    /*border-bottom: #bfbfbf 1px solid;*/
    margin-top: 8px;
    margin-bottom: 8px;
}

.mainIcon {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    flex: 0 0 20%;
  
}

  .btn-tabs {
  	background-color: #F5F5F5;
    color: #2b4380;
    font-size: 20px;
    font-weight: bold;
    border-radius: 0px;
  }
  	
  .btn-tabs:hover {
  	background-color:#26374A;
  	color: #FFF;
  }

  .btn-tabs.active {
    background-color: #26374A;
    color: #FFF;
    font-size: 20px;
    font-weight: bold;
    box-shadow: none;
    border-radius: 0px;
  }
  
  .btn-tabs-mobile {
  	background-color: #F5F5F5;
    color: #2b4380;
    font-size: 20px;
    font-weight: bold;
    border-radius: 0px;
  }

  .btn-tabs-mobile.active {
    background-color: #F5F5F5;
    color: #26374A;
    font-size: 20px;
    font-weight: bold;
    box-shadow: none;
    border-radius: 0px;
    border-bottom: 5px solid #26374A;
  }
      
  .blue-header {
  	background-color: #26374A;
  	color: #FFF;
  	margin-top: 5px;
  }

  .btn-tabs, .btn-tabs:visited {
	  display: inline-block;
	  text-decoration: none;
	}
	
  .pdf{	
    color: #FFF;
	}
      	
  .pdf, .pdf:visited {
  	display: inline-block;
  	text-decoration: none;
  	color: #FFF;
  }
      	
  .app-name {	
    color: #d3d3d3;
  }

  .app-name, .app-name:visited {
  	display: inline-block;
  	text-decoration: none;
  	color: #d3d3d3;
  }

  .app-name, .app-name:visited, .app-name:focus, .app-name:hover {
  	color: #d3d3d3;
  }
  
  .app-name:active, .app-name:focus, .app-name:hover {
  	text-decoration: underline;
	}
  .blue-header.span  {
  	 color: white;
  }

  /* breadcrumbs */
  
  #wb-bc li:before {
      color: #333;
      content: "\f054";
      font-family: "Font Awesome 5 Free";
      font-size: .7em;
      font-weight: 900;
  }
  
  #wb-bc li:first-child a {
    padding-lef: 8px;
  }
  
  #wb-bc a {
      padding: 5px 0px;
  }
  
  
  #wb-bc ol {
      margin-top: 2px;
      padding-left: 0;
      padding-right: 0;
  }
  
  
  /* end breadcrumbs */
  
  /*h1 */
  h1 {
   border-bottom: none;
  }
  h1#wb-cont::after {
   content: ""; /* This is necessary for the pseudo element to work. */
   display: block; /* This will put the pseudo element on its own line. */
   width: 70px; /* Change this to whatever width you want to have before hover. */
   padding-bottom: 8px; /* This creates some space between the element and the border. */
   border-bottom: .18em solid #af3c43; /* This creates the border. Replace black with whatever color you want. */
  }
  h1 span.stacked {
   display: flex;
   flex-direction: column-reverse;
   margin-left: -9999px;
  }
  h1 span.stacked span:nth-child(1) {
   margin-top: -1.1em;
  }
  h1 span.stacked span:nth-child(1), h1 span.stacked span:nth-child(2) {
   margin-left: 9999px;
  }
  h1 span.stacked span:nth-child(2) {
   font-size: 26px;
   color: #d3d3d3;
   font-weight: 500;
   margin-bottom: 0.17em;
  }


  .global-footer h3 {
    color: white;
  }

  .icon {
    min-height: 0px;
  }

  /* .wayfinder {
    border-right: 1px solid white;
    margin-right: 60px;
  } */

  .wayfinder {
    border-right: 1px solid white;
  }

  .btn-contact {
    background-color: #ccc;
    border-radius: 0;
    color: #26374a !important;
    font-weight: bold !important;
    margin-bottom: 16px;

  }

  #wb-info .landscape2 {
    background: #e3e3e3;
  }

  /* .provisional.contributors {
	font-size: 16px;
	font-weight: 600;
} */

  .provisional.from {
    font-size: 17px;
    margin-top: 3px;
  }

  .provisional.contributors ul {
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
  }

	.blue-header {
  	background-color: #26374A;
  	color: #FFF;
	}

	.fa-tachometer-alt  {
	  color: white;
	}

	/*.fa-chart-bar  {*/
	/*  color: white;*/
	/*}*/

	.fa-chart-pie{
	  color: white;
	}

  .btn-block {
	  background-color: #FFF;
    border : 5 px;
	}

  .accordion {
    background-color: #fff;
    color: #444;
    cursor: pointer;
    padding: 12px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-weight: bold;
  }

  .active, .accordion:hover {
    background-color: #ccc;
  }
  
  /*.panel {*/
  /*  padding: 0 18px;*/
  /*  background-color: white;*/
  /*  display: none;*/
  /*  overflow: hidden;*/
  /*}*/

/* Tooltip styling */   
.tooltip {
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    position: fixed;
    max-width: 250px;
    font-size: 20px;
}


.ttFuncMapRect {
    /*padding: 5px;*/
    width: 15px;
    height: 15px;
    display: inline-block;
}


.d-flex {
    display: flex;
    justify-content: space-between;
}

.chart-container {
    width: 50%;
  
}
.tabNav li a {
    text-wrap: balance;
}
.contextBox {
    padding: 10px;
    /*background-color: #eaebed;
    border: #bfbfbf 1px solid; */
    list-style-type: none;
    margin-bottom: 1em;
    margin-top: 1em;
}

.tabNav {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
}

td:nth-child(2), td:nth-child(3), td:nth-child(4), td:nth-child(5), td:nth-child(6), td:nth-child(7)  {
    text-align: center;
}
td:first-child {
    width: 35%;
}

#svp_table {
  border-bottom: none;
  margin-bottom: 1em;
}

html {
    scroll-behavior: smooth;
}



.tooltipDesc {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltipDesc .tooltiptext {
  background-color: #eaebed;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    width: 450px;
    font-size: 20px;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -110px;
}

.tooltipDesc:hover .tooltiptext {
  visibility: visible;
}

.checkboxDiv{
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
}

.selectionLabel{
            margin-bottom: 0px!important;
            width: 225px;
            text-align: left;
        }
        
        
.indicatorInput {
  display: inline-block;
  margin-right: 20px
}

#genderSelect, #dataSelect, #breakSelect, #ageCheck {
    margin-left: 18px;
    display: inline-block;
}

.optionLabel {
    margin-left: 5px;
    margin-right: 5px;
    font-weight: normal;
    margin-bottom: 0px!important;
}

#dataSelect {
  justify-content: space-evenly;
}

#vaccPregMap, #vaccPregSvg {
  overflow: visible;
}

#vaccPregSvg, #fig0-svg, #sociodemographicSvg, #internationalPertussisSvg, #KABSvg {
  max-width: 900px;
}

#drop-container-wrapper {
  padding-left: 0;
}

#DropdownsContainer select {
    width: 100%;
}

#DropdownsContainer {
  background-color: #F2F2F2; 
  padding: 20px; 
  border-radius: 4px; 
}

.min-note {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.inactive-note {
  display: none;
}

.data-download-link {
  margin-bottom: 3rem;
}

.date-checkbox-container {
  text-align: center;
  font-size: 26px;
  margin-top: 4rem;
}

.data-table-wrapper {
  background: none;
}

.symbol-explanations {
    margin-top: 4rem;
}

button.table-download {
  margin-bottom: 2rem;
}

/*section.custom-section {*/
/*    border-top: solid 2px;*/
/*}*/

.table-pre {
  margin-bottom: 2rem;
}

.table-post {
  margin-top: 2rem;
}

#sociodemographicSvg text.bar-label {
    font-size: 10px;
}
#ReasonsSvg text.bar-label {
    font-size: 9px;
}

#fig0-container .container {
    display: flex;
    justify-content: start;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 0;
}

#fig0-container .vaccine-group {
    display: flex;
    gap: 20px;
    align-items: end;
}

#fig0-container .circle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#fig0-container.standing .circle-container {
  max-width: 200px;
  position: relative;
}

#fig0-container .circle {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: #004d40;
}

#fig0-container .circle.large {
    width: 250px;
    height: 250px;
}

#fig0-container .circle.medium {
    width: 210px;
    height: 210px;
}


#fig0-container .circle.pertussis {
    background-color: #2b736f; /* Pertussis Coverage color */
}

#fig0-container .circle.influenza {
    background-color: #7F50B9; /* Influenza Coverage color */
}

#fig0-container .circle img {
    width: 97%;
    height: auto;
    transform: translate(-10px, 10px);
}

#fig0-container .percentage {
    font-size: 1.2em;
    position: absolute;
}

#fig0-container .circle.large .percentage {
    right: 14%;
    bottom: 53%;
}

#fig0-container .year {
    margin-top: 10px;
    font-size: 1.8em;
}

#fig0-container .legend-row {
    display: flex;
    gap: 140px;
    flex-wrap: wrap;
}

#fig0-container .colour {
    width: 20px;
    height: 20px;
    /*border: solid black 1px;*/
    border-radius: 10px;
    transform: translateY(3px);
}

#fig0-container .legend-item.pertussis .colour {
  background-color: #2b736f;
}

#fig0-container .legend-item.influenza .colour {
  background-color: #7F50B9;
}

#fig0-container .legend-item {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 10px;
}

#map-hover {
    min-width: 240px;
    max-width: 260px;
    margin-top: 3rem;
}

#SDF-hover, #KAB-hover {
  min-width: 260px;
  max-width: 260px;
}

#SDF-hover {
  padding-left: 15px;
}

#KAB-hover {
  margin-top: 1.5rem;
}

#vaccPregMap, #sociodemographicDiv, #KABDiv {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}

#sociodemographicDiv, #KABDiv, #ReasonsDiv {
  margin-top: 4rem;
}

.panelMedium>div {
  max-width: 100%;
}

#sociodemographicFactorDD {
  max-width: 600px; 
  text-overflow: ellipsis;
}

#fig0-svg g.c0 g.tick text, 
#internationalPertussisSvg g.c0 g.tick text,
#KABSvg g.c0 g.tick text {
    font-size: 14px;
}

@media (max-width: 1200px) {
  #map-hover {
    margin-bottom: 3rem; 
    max-width: none;
  }
  
  #SDF-hover, #KAB-hover {
    max-width: none;
  }
  
  #vaccPregMap, #sociodemographicDiv, #KABDiv {
    flex-wrap: wrap-reverse;
  }
}

@media (max-width: 767px) {
  .panelMedium {
      flex-direction: column;
  }
  
  #sociodemographicFactorDD {
    max-width: 90vw;
  }
  
  #fig0-svg g.c0 g.tick text, 
  #internationalPertussisSvg g.c0 g.tick text {
      font-size: 18px;
  }
  
  #KABSvg g.c0 g.tick text {
    font-size: 17px;
  }
  
  #fig0-container .legend-row { 
     gap: 0 !important;
     flex-direction: column;
  }
}

@media (max-width: 991px) {
  .panelMedium {
    flex-wrap: wrap;
  }
  
  #fig0-container .legend-row {
    gap: 70px;
  }
}