
@import url("https://use.typekit.net/lwq6zey.css");

* {
    font-family: aktiv-grotesk, sans-serif;
}

body {
    margin: 0 !important;
}

svg {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* main page: exemplar case studies */

.legend-title {
    font-family:aktiv-grotesk-condensed,sans-serif;
}

/* CHARTS TOOLTIP*/

.chart-tooltip {
    display: none;
    position: absolute;
    pointer-events: none;
    width: auto;
    height: auto;
    background: #FFFFFF;
    text-align: left;
    border-radius: 2px;
    padding: 10px;
    box-shadow: 0px 3px 9px rgba(0, 0, 0, .15);
    font-size: 12px;
}


.chart-tooltip-lr {
    display: none;
    position: absolute;
    pointer-events: none;
    width: auto;
    height: auto;
    background: #FFFFFF;
    text-align: left;
    border-radius: 2px;
    padding: 10px;
    box-shadow: 0px 3px 9px rgba(0, 0, 0, .15);
    font-size: 12px;
}

.tooltip-value {
    font-weight: bold;
}

.legend-txt {
    /* cursor: pointer; */
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 500;
    fill: #0098A7;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}

.chart-instructions {
    font-size: 11px;
    font-style: italic;
    fill: rgb(121, 154, 174);
    text-align: left;
    
}

.legend-txt-label {
    /* cursor: pointer; */
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 1.2;  
    text-transform: uppercase;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}

.null_value {
    display: none !important;
}

.chart-title-note {
    font-size: 11px;
    font-weight: bold;
}

.toggle-button {
    font-size: 12px;
    font-weight: bold;
    fill: #00416b;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}

.legend-note {
    font-size: 10px;
}


/* BARCHART */

.barchart .bar {
    fill: #87D35B;
}

.barchart .bar:hover {
    /* fill: brown; */
    stroke-width: 5px;
    stroke: #87D35B;
}

.barchart .grid line {
    stroke: #FFFFFF;
    stroke-opacity: 0.7;
    shape-rendering: crispEdges;
}

.barchart .grid path {
    stroke-width: 0;
}


.barchart .axis-label {
    fill: #00416b;
}


/* LINE CHARTS*/
.axis--x path {
    display: none;
}
    
.line {
    fill: none;
    stroke: steelblue;
    stroke-width: 1.5px;
}

.axis--x path {
    display: none;
}

.axis--x line {
    display: none;
}

.axis--y path {
    display: none;
}

.axis--y line {
    display: none;
}

.axis-label {
    font-family: aktiv-grotesk, sans-serif;
    font-weight: 500; 
    font-size: 12px; 
    line-height: 14px; 
    fill: #0098A7; 
    letter-spacing: 1.2px; 
    text-transform: uppercase;

}

.axis-line {
    stroke: #FFFFFF;
    stroke-width: 1;
}

.chart-title {
    font-family: aktiv-grotesk, sans-serif; 
    font-weight: 700; 
    font-size: 16px; 
    fill: #0C4456; 
    letter-spacing: 0;

}

.chart-source {
    font-size: 10px;
    fill: #768194;
}

.chart-background {
    fill: #e6eaec;
}

/* STACKED BAR CHARTS */
.stacked-barchart{
    font-size: 12px;
}

/* .stacked-barchart text{
    fill: #00416b;
} */

.stacked-barchart .bars rect {
    stroke: white;
    stroke-width: 1px;
    opacity: 0.9;
}

.stacked-barchart .bars rect:hover {
    opacity: 1;
    stroke-width: 0;
}

.stacked-barchart .chart-title text {
    font-family: aktiv-grotesk; 
    font-weight: 700; 
    font-size: 16px; 
    fill: #0C4456; 
    letter-spacing: 0;

}

.chart-title.heading5{
    font-family: aktiv-grotesk-condensed; 
    font-weight: 500; 
    font-size: 16px; 
    fill: #0C4456; 
    letter-spacing: 1.14px; 
    text-transform: uppercase;

}

.stacked-barchart .subtitle {
    font-weight: bold;
}

.stacked-barchart .background rect {
    fill: #e7e6e6;
}

.stacked-barchart .axis .domain {
    display: none;
}

.stacked-barchart .axis{
    font-size: 20;
}

.stacked-barchart .axis text.label {
    font-weight: bold;
    text-anchor: middle;
}

.stacked-barchart .y-label {
    font-weight: bold;
    text-anchor: middle;
}

.stacked-barchart .axis .tick{
    font-size: 11px;
}

.stacked-barchart .axis.y-axis line {
    stroke: white;
    stroke-width: 1px;
}

.stacked-barchart .legend .categories circle {
    cursor: pointer;
}

.stacked-barchart .legend text {
    text-anchor: start;
    user-select: none;
}
.stacked-barchart .legend .categories text {
    text-anchor: start;
    font-weight: bold;
    cursor: pointer;
}

.stacked-barchart .legend .legend-message{
    font-size: 10px;
}

.stacked-barchart .foot-note text{
    fill: #768194;
}

.stacked-barchart .foot-note{
    font-size: 10px;
}

.stacked-barchart .legend .disabled circle {
    fill: white;
}

/* BAR CHART GROUPED */

.grouped-barchart .chart-legend text{
    font-size: 12px;
}

.grouped-barchart .axis path,
.grouped-barchart .axis line {
    fill: none;
    display: none;
    stroke: #000;
}

.grouped-barchart .x.axis path {
    display: none;
}

.grouped-barchart .axis {
    font-size: 10px;
    fill: #00416b;
    font-family: Arial;
}

.chart-axis-text {
    font-size: 12px;
    font-weight: bold;
}

.nat_bar:hover {
    opacity: 0.8;
}

.rur_bar:hover {
    opacity: 0.8;
}

.urb_bar:hover {
    opacity: 0.8;
}

rect.deactivated {
    display: none;
}

#nat_circle.deactivated {
    stroke-width: 1px;
    fill: #FFFFFF;
    stroke: #c92196;
}

#rur_circle.deactivated {
    stroke-width: 1px;
    fill: #FFFFFF;
    stroke: #0a6bd1;
}

#urb_circle.deactivated {
    stroke-width: 1px;
    fill: #FFFFFF;
    stroke: #87d45c;
}

.source {
    font-size: 12px !important;
    line-height: 14px !important; 
    letter-spacing: 0 !important;
    font-weight: 400 !important; 
    fill: #768194;
    color: #768194;
    /* font-style: italic; */
    user-select: none !important;
    text-align: left !important;
}

/* .source-margin-top-10 {
    margin-top: 10px;
} */

.legend-element {
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.chart-left-text {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.y-axis-label{
    font-size: 12px;
}

/* SCATTER CHART */

    
/* .scatter-chart .axis path,
.scatter-chart .axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
} */

/* .scatter-chart .axis path {
    display: none;
} */

/* .scatter-chart .axis line {
    display: none;
} */

/* .scatter-chart .axis-label {
    font-size: 16px;
    font-weight: bold;
    fill: #00416b;
} */

/* .scatter-chart .axis-line {
    stroke: #000000;
    stroke-width: 1;
} */

/* #programTooltip:after {
    content:'';
    position: absolute;
    top: 100%;
    left: 10%;
    margin-left: -5px;
    width: 0;
    height: 0;
    border-top: solid 5px #FFFFFF;
    border-left: solid 5px transparent;
    border-right: solid 5px transparent;
    
} */


.buttonLeft {
    color: #FF7700;
    background: #FFFFFF;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    display: inline-block;
    padding: 1px;
    width: 75px;
    border: 1px solid #FF7700;
    text-align: center;
    cursor: pointer;
}

.buttonRight {
    color: #FF7700;
    background: #FFFFFF;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    display: inline-block;
    padding: 1px;
    width: 75px;
    border: 1px solid #FF7700;
    text-align: center;
    cursor: pointer;
}

.buttonActive {
    background: #FF7700;
    color: #FFFFFF;
}

.customSlider {
    -webkit-appearance: none;
    width: 150px !important;
    height: 5px;
    background: #D8D9D8;
    outline: none;
    /* opacity: 0.7; */
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.customSlider:hover {
    opacity: 1;
}

.customSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #0C4456;
    cursor: pointer;
}

.customSlider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #0C4456;
    cursor: pointer;
}

/* CHART BUTTONS */

#ethiopia_equity_buttons .chart-button {
    
    /* font-weight: 700; */
    font-size: 12px;
    border-radius: 3px;
    padding: 5px 10px;
    float: left;
    border: 1px solid #56BBC4;
    color: rgb(86, 187, 196);;
    text-align: center;
    cursor: pointer;
    width: 95%;
    user-select: none;
    
}

#ethiopia_equity_buttons .chart-button.active {
    background: rgb(86, 187, 196);
    color: #FFFFFF;
}


#bangladesh_equity_buttons .chart-button {
    margin-right: 10px;
    box-sizing: border-box;
    /* font-weight: 700; */
    font-size: 12px;
    border-radius: 3px;
    padding: 5px 10px;
    float: left;
    border: 1px solid #56BBC4;
    color: rgb(86, 187, 196);;
    text-align: center;
    cursor: pointer;
    width: 95%;
    user-select: none;
    
}

#bangladesh_equity_buttons .chart-button.active {
    background: rgb(86, 187, 196);
    color: #FFFFFF;
}



#equity_buttons .chart-button {
    margin-right: 10px;
    /* font-weight: 700; */
    font-size: 12px;
    border-radius: 3px;
    padding: 5px 10px;
    float: left;
    border: 1px solid #56BBC4;
    color: rgb(86, 187, 196);;
    text-align: center;
    cursor: pointer;
    width: 95%;
    user-select: none;
    
}

#equity_buttons .chart-button.active {
    background: rgb(86, 187, 196);
    color: #FFFFFF;
}

/************** TABS *****************/

/**************  MARGINS *****************/
.margin-top-5 {
    margin-top: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-20-n {
    margin-top: -20px;
}

.margin-top-24 {
    margin-top: 24px;
}

.margin-top-25 {
    margin-top: 25px;
}

.margin-top-25-n {
    margin-top: -25px;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-top-35 {
    margin-top: 35px;
}

.margin-top-40 {
    margin-top: 40px;
}

.margin-top-50 {
    margin-top: 50px;
}

.margin-top-60 {
    margin-top: 60px;
}

.margin-top-70 {
    margin-top: 70px;
}

.margin-top-80 {
    margin-top: 80px;
}

.margin-top-90 {
    margin-top: 90px;
}

.margin-top-100 {
    margin-top: 100px;
}

.margin-top-30-n {
    margin-top: -30px;
}

.margin-top-100-n {
    margin-top: -100px;
    position: relative;
}

@media (max-width: 767px) {
    .margin-top-100-n {
        margin-top: 10px;
    }
}

.margin-top-110 {
    margin-top: 110px;
}

.margin-top-120 {
    margin-top: 120px;
}

.margin-top-130 {
    margin-top: 130px;
}

.margin-top-140 {
    margin-top: 140px;
}

.margin-top-150 {
    margin-top: 150px;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-left-20-n {
    margin-left: -20px;
}

.margin-left-20 {
    margin-left: 20px;
}

.margin-left-30 {
    margin-left: 30px;
}

.margin-left-40 {
    margin-left: 40px;
}

.margin-left-75 {
    margin-left: 75px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}
