/* ************************** */
/* Special styling for Charts */
/* ************************** */

* {
    font-family: Times;
}


/* ************************** */
/* Homepage Styles            */
/* ************************** */

.dim {
    opacity: .65;
}

.homebanner {
    display: grid;
    grid-template-columns: 29% 71%;
    padding: 10px 5px 10px 5px;
    background-image: linear-gradient(to right, #998472, #f4d8c1);
}

.homebanner h1 {
    color: #ffae00;
    font-weight: bold;
    text-align: center;
}

.homebanner h2 {
    color: #444444;
    font-weight: bold;
}

.homebanner p {
    color: #444444;
    font-size: 1.4rem;
    text-align: justify;
    padding-left: 10px;
    padding-right: 10px;
}

.homecenter {
    text-align: center;
}

.homemap :hover {
    opacity: .7;
}







/* ************************** */
/* Sidebar                    */
/* ************************** */

.chart__explain__sub {
	color: black;
	padding: 0px .5rem .5rem .5rem;
	background-color: #e9e3db;
}

.country-sidebar {
	background-color: #c2e5f7;
	padding: 5px 0;
	position: sticky;
	position: -webkit-sticky;
	top: -1px;
    min-width: 150px;
}

.country-sidebar-container {
	position: sticky;
	position: -webkit-sticky;
	top: 70px;
}

.dropdown-label {
	display: inline;
	color: #566c11;
	font-weight: bold;
	font-size: .9em;
	margin-bottom: 5px;
}

.dropdown-input {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	font-size: .75em;
}

.dropdown-input select {
  background-color: #ffffff;
  color: #000000;
  font-size: inherit;
  padding: .5em;
  padding-right: 2.5em;
  border: 0;
  margin: 0;
  border-radius: 3px;
  text-indent: 0.01px;
  text-overflow: '';
  -webkit-appearance: button; /* hide default arrow in chrome OSX */
}

.sidebar-title {
	margin: 10px 20px;
	color: #f37221;
	font-weight: bold;
}

.dropdown-select {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 10px 20px;
}

.dropdown-select > p {
	margin: 0 0 5px 0;
}

.menu__partner {
	background-color: #422716;
	padding: 1px 0px 1px 0px;
	position: sticky;
	position: -webkit-sticky;
    height: 2.5em;
    line-height: 2.5em;
    vertical-align: middle;
	top: -1px;
    align-self: flex-start;
	width: 100%;
    z-index: 10;
    display: flex;
}

.menu__partner h3 {
    float: left;
    vertical-align: middle;
    padding: 1px 5px 1px 5px;
    margin: 0;
    margin-right: 2px;
    border-right: 1px solid white;
}

.menu__partner h3:hover {
    background-color: #59341d;
}

.menu__drawer {
    background-color: #422716;
    width: 100%;
    z-index: 12;
    position: sticky;
    position: -webkit-sticky;
    top: 43px;
}

.menu__drawer__holder__short {
    display: grid;
    grid-template-columns: auto auto auto;
    width: 95%;
    margin-left: 20px;
    margin-bottom: 20px;
    max-height: 350px;
    overflow: auto;
}

.menu__drawer__search {
    display: grid;
    grid-template-columns: 30% 65%;
    width: 100%;
    margin-left: 20px;
    margin-bottom: 20px;
    max-height: 350px;
    overflow: auto;
}

.menu__drawer__search__search {
	font-size: 1rem;
}

.menu__drawer__search__results__grid {
    display: grid;
    grid-template-columns: auto auto auto;
    margin-right: 25px;
}

.searchresult {
    display: block;
    position: relative;
    cursor: pointer;
    margin-bottom: 3px;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
    border: 1px solid #fff;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #666666;
    width: 95%;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-right: 5%;
}

.radioside:hover {
    background-color: #f37221;
    transition: background-color 300ms ease-in;
}

.radioside.is_active {
    background-color: #f37221;
}


.menu__location {
    margin-top: 2px;
    background-image: linear-gradient(to right, #998472, #f4d8c1);
	padding: 1px 0px 1px 0px;
	position: sticky;
	position: -webkit-sticky;
	top: 41px;
	width: 100%;
    border-top: 2px solid white;
    z-index: 10;
}

.menu__location__tab {
    background-color: #566c11;
    border: 1px solid #354432;
    padding: 1px 5px 1px 5px;
    margin-top: 3px;
    margin-left: 10px;
    color: white;
    display: inline-block;
    width: auto;
    cursor: pointer;
}


.radioside {
	display: block;
	position: relative;
	cursor: pointer;
	margin-bottom: 3px;
	text-align: center;
	color: #fff;
	font-size: 0.9rem;
	border: 1px solid #fff;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-color: #666666;
	width: 95%;
	padding-top: 3px;
	padding-bottom: 3px;
	margin-right: 5%;
}

.radioside:hover {
	background-color: #f37221;
	transition: background-color 300ms ease-in;
}

/*.radioside.is_active {
	background-color: #f37221;
	width:100%;
	margin-right:0%;
}*/

.radioside input {
	position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.service__tooltip {
	display: inline;
	position: relative;
}

#service__tooltip__item {
	display: none;
	position: absolute;
}

.service__tooltip:hover + #service__tooltip__item, #service__tooltip__item:hover {
	display: block;
	position: absolute;
	margin-left: 110px;
	margin-top: -10px;
	border: 1px black solid;
	font-weight: normal;
	z-index: 50;
	width: 420px;
}

.sidebar_grid {
    display: grid;
    grid-template-columns: auto auto;
    width: 95%;
}

.yearside {
    cursor: pointer;
    margin: 1px;
    color: #fff;
    font-size: 0.9rem;
    border: 1px solid #fff;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #666666;
    width: 100%;
    padding-top: 2px;
    padding-bottom: 2px;
}




/* ************************** */
/* Header / Footer            */
/* ************************** */

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

.footer {
  background-color: #a5abb7;
	color: #e9e3db;
  margin-top: 46px;
	padding: .8rem 0;
}

.footer__first {
	float: left;
	max-width: 60%;
	/* margin-right: 2rem; */
}

.footer__second {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.footer__link {
  color: #666666;
  font-size: 0.7894736842rem;
	text-decoration: none;
	margin-right: 10px;
}

.header {
	background-color: #fff;
	padding: 1.2631578947rem 0 1rem;
}


.header__first {
	display: flex;
	justify-content: space-around;
}

.nav--header {
	display: flex;
}

.nav--header__item {
	padding: 15px 0px;
	min-width: 105px;
}

.nav--header__item > a {
	text-decoration: none;
	color: #666666;
}

.site-name__link {
	display: flex;
	align-items: center;
	max-width: 80%;
  padding: 0.1447368421rem 0;
  text-decoration: none; }

.site-name__logo {
  border-right: 1px solid #e9e3db;
  display: inline-block;
  margin-right: 0.4rem;
  padding-right: 0.5789473684rem;
	vertical-align: middle;
}

.site-name__logo__bottom {
  border-right: 1px solid #666666;
  display: inline-block;
  margin-right: 0.4rem;
	padding-right: 0.5789473684rem;
	vertical-align: middle;
}

.site-name__slogan {
  color: #f37221;
  font-size: 1.2105263158rem;
  font-weight: 700;
  vertical-align: middle; }


/* ************************** */
/* Page Framing               */
/* ************************** */

.country-layout {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
    vertical-align: baseline;
    color: white;
    width: 100%;
}

.main-layout {
	display: flex;
}

.l-constrain {
	margin-left: auto;
	margin-right: auto;
	max-width: 90%;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.l-constrain--no-padding {
	padding-left: 0;
	padding-right: 0;
}

.l-constrain--wide {
	max-width: 90%;
}

@media (max-width: 50em) {
    .l-constrain--wide {
        max-width: 100%;
    }
}

@media (max-width: 62.5em) {
    .l-constrain--wide-mobile {
        max-width: 90%;
    }
}

.l-constrain--narrow {
    max-width: 50%;
}

.background {
    width: 100%;
    fill: none;
    background-color: #8c8ea6;
}

.hide { display: none; }

.leftfloat { float: left; }
.rightfloat { float: right; }
.clearfloat { clear: both; }


/* ************************** */
/* Country Page Banner        */
/* ************************** */

.big-blue-btn {
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.blue-btn_short {
	background-color: #00629C;
	color: #ffffff;
	font-weight: bold;
	padding: 0px 30px 0px 30px;
	text-align: center;
	text-decoration: none;
	width: 160px;
	cursor: pointer;
}

.blue-btn_sub {
	background-color: #00629C;
	color: #ffffff;
	display: flex;
	flex-direction: row;
	font-weight: bold;
	font-size: 0.7rem;
	float: left;
	text-align: center;
	text-decoration: none;
	width: 220px;
	border-top: 1px solid white;
	cursor: pointer;
}

.grey-btn_item {
	background-color: #bec6d3;
	text-decoration: none;
	width: 33.333333333%;
	color: white;
	border-left: 1px solid white;
}

.blue-btn_item {
    background-color: #00629C;
	text-decoration: none;
	width: 33.333333333%;
	color: white;
	border-right: 1px solid white;
}

.chart__area {
    background-color: white;
    color: gray;
    border: 1px solid gray;
    margin: 15px 20px;
    padding: 10px 10px;
    box-shadow: 0 0 5px 1px rgba(35, 35, 35, 0.25);
}

.chart__area h2 {
    color: #f37221;
}

.chart__area p {
    margin-right: 15px;
    margin-left: 15px;
}

@media only screen and (max-width: 450px){
    .chart__area p {
        margin-right: 15px;
        margin-left: 15px;
        font-size: .5rem;
    }
}


.chart__container {
    display: grid;
    grid-template-columns: 66% 34%;
}

.chart__container__partner {
    display: grid;
    grid-template-columns: 33.333333333% 33.333333333% 33.333333333%;
}

.chart__container__partner h4 {
    color: #f37221;
    text-align: center;
    margin: 3px;
}

.chart__element {
    margin-right: 15px;
}

.chart__buttons {
    display: grid;
    grid-template-columns: auto auto auto;
}

.chart__buttons__partner {
    display: grid;
    grid-template-columns: auto auto;
}

.chart__button {
    color: white;
    background-color: #f37221;
    width: 100%;
    border: 1px solid white;
    cursor: pointer;
}

.is_active {
    background-color: #f37221 !important;
}

.chart__actual {
    width: 100%;
}

.funding { color: #f37221; }

.chart__table {
    width: 100%;
}

.chart__table__table {
    width: 100%;
    max-height: 350px;
    overflow: auto;
    cursor: pointer;
}

.chart__table__table table {
    width: 100%;
}

.chart__table h2 {
    padding: 0;
    margin: 0;
    float: right;
}

.chart__table th {
    font-weight: bold;
    font-size: 1rem;
    border-bottom: 2px solid gray;
}

.table__buttons {
    display: grid;
    grid-template-columns: auto auto;
}

.table__button {
    color: white;
    background-color: #766d68;
    font-size: 1.7rem;
    font-weight: bold;
    width: 100%;
    border: 1px solid white;
    cursor: pointer;
}

.loc--header {
	background-image: linear-gradient(to right, #998472, #f4d8c1);
	display: flex;
	justify-content: space-around;
	padding: 2rem;
}

.loc--header__left {
	display: flex;
	margin-left: 5%;
	justify-content: flex-start;
	flex-direction: column;
}
.loc--header__right {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.loc--header__left > h1 {
	margin: 0;
	color: #566c11;
}

.loc--header__detail {
	display: flex;
	flex-direction: row;
	min-width: 600px;
}

.loc--header__detail h4 {
	color: #666666;
}

.loc--header__detail ul {
	font-size: 14px;
	padding: 0;
	width: 50%;
}

.loc--header__detail li {
	list-style: none;
	padding-bottom: 5px;
	font-size: 14px;
}

.loc--header__detail li:first-child {
	font-weight: bold;
	padding-bottom: 10px;
	font-size: 18px;
}

.loc-select {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 0;
}

/* ************************** */
/* Data Table                 */
/* ************************** */

.datatable {
    width: 100%;
    font-size: .87rem;
    color: #2b2b2b;
}

.datatablehead {
    z-index: 10;
    cursor: pointer;
    font-weight: bold;
    vertical-align: top;
    color: #fff;
    background-color: #44546a;
}

.datatableheadcol:hover .sortarrowdiv {
    opacity: 0.4; }

.datatablebody tr:nth-child(even) {background-color: #e2e2e2;}

.datarowright {
    text-align: right;
}

.sortarrowdiv {
    opacity: 0;
    float: right;
    vertical-align: top;
}

/* ************************** */
/* Country Page               */
/* ************************** */

.districts {
    fill: none;
    stroke: #666666;
    stroke-width: 0.1px;
    stroke-linejoin: round;
}

.mapsection {
    display: grid;
    grid-template-columns: 80% 20%;
	width: 100%;
	z-index: 10;
	overflow: visible;
}

.mapactual {
    background-color: #e2edff;
    margin-right: 15px;
}

.mapactualsvg { background-color: white; }

.svgtable {
    font-size: 2pt;
    border-collapse: collapse;
    color: #41454c;
}

.svgtable td:nth-child(1) {
    width: 50px;
}

.svgtable td:nth-child(2) {
    width: 12px;
}

div.tooltip {
    position: absolute;
    text-align: center;
    width: auto;
    height: auto;
    padding: 2px;
    font: 12px sans-serif;
    background: #c1c1c1;
    color: black;
    border: 1px solid #afafaf;
    border-radius: 8px;
    z-index: 10;
    opacity: 0;
}

.highlight {
    stroke: #ff38c0;
    stroke-width: .8px;
}

.highlight2 {
    stroke: #fff200;
    stroke-width: 2.2px;
}

.highlight__fill {
    fill: #ff38c0;
}


