/**
 * Tablinks
 */

.pbuic-tablinks {
	margin: 0 20px;
}

/**
 * Grid
 */

h1 {
	padding: 0 20px;
}

#opoi-map {
	height: 520px;
}

.opo-map-container {
	position: relative;
}

#oiko-project-overview-loader-container,
#oiko-project-overview-notice-container {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: #fff;
	background: rgba(255, 255, 255, 0.75);
	z-index: 999;
}

#oiko-project-overview-loader {
	display: block;
	width: 32px;
	height: 32px;
	background: url(../img/ajax-loader.gif) no-repeat 50% 50%;
	margin: 150px auto;
}

#oiko-project-overview-notice {
	display: block;
	margin: 150px auto;
	font-size: 14px;
	font-weight: bold;
	color: #133d8d;
	text-align: center;
}

/**
 * Search & filter toggle
 */

.opo-project-search-filter {
	box-sizing: border-box;
	display: table;
	width: 100%;
	padding: 0 20px;
}

.opo-project-search,
.opo-project-filter-container {
	display: table-cell;
}

/** search icon added in font-icons.css */
label.opo-search {
	position: relative;
	overflow: hidden;
	float: right;
	width: 40px;
	height: 38px;
	margin-left: -40px;
	line-height: 38px;
	text-align: center;
	color: #113e8d;
}

label.opo-search::before {
	margin: 0 1em;
}

input#opo-search {
	box-sizing: border-box;
	top: 0;
	right: 0;
	width: 100%;
	padding: 9px 10px;
}

/**
 * Result numbers / details
 */

#opo-result-count-container {
	display: inline-block;
	margin-top: 1.5em;
	margin-bottom: 1em;
	padding-left: 20px;
	color: #666;
}

#opo-result-count-container span {
	color: #999;
}

.opo-project-disclaimer {
	margin: 1.5em 0 0;
	font-size: 12px;
	color: #666;
}

/**
 * Filter toggle
 */

.opo-filter-toggle {
	box-sizing: border-box;
	width: 95%;
	margin-left: 5%;
	text-align: center;
	white-space: nowrap;
}

.opo-filter-toggle:before {
	margin-right: .3em;
	font-size: 1.2em;
}

/**
*	Filter
*/

.opo-project-filter {
	position: relative;
	overflow: hidden;
	max-height: 0;
	padding: 0 20px;
	z-index: 999;
	transition: max-height .4s;
	will-change: max-height;
}

.oikoFilter--open .opo-project-filter {
	max-height: 1200px;
}

.opo-project-filter-inner {
	position: relative;
	overflow: hidden;
	margin-top: 20px;
	padding: 20px;
	background-color: #e9f2f7;
}

.opo-project-filter h3 {
	font-size: 14px;
	font-weight: bold;
}

.opo-project-filter ul {
	border-bottom: 1px solid #c7dfe9;
	margin: 1.3em 0 2.5em;
	list-style: none;
	font-size: 13px;
	color: #113d8d;
}

.opo-project-filter li {
	padding: .5em 0;
	border-top: 1px solid #c7dfe9;
	cursor: pointer;
}

.opo-project-filter span {
	color: #8fbfd4;
}

.opo-project-filter input {
	float: right;
	margin: 3px 5px 0 0;
}

.opo-project-filter label {
	display: block;
	font-weight: normal;
}

.opo-project-filter li:hover,
.opo-project-filter li:hover * {
	color: #113d8d;
	text-decoration: underline;
}

/**
 * Remove filter option
 */

.opop-selected .opopsfl-remove {
	overflow: hidden;
	float: right;
	width: 24px;
	height: 24px;
	margin-top: -2px;
	line-height: 24px;
	text-align: center;
	color: #1586be;
}

.opop-selected:hover .opopsfl-remove {
	text-decoration: none;
	color: #b8124e;
}

/**
 * Reset button
 */

#opo-project-filter-reset,
#opo-project-filter-reset span {
	text-decoration: none;
	color: #c6285f;
}

#opo-project-filter-reset:before {
	margin-right: .3em;
	font-size: 1.2em;
}

/**
 * Filter icons
 */

.opo-icon-list li {
	padding-left: 24px;
	background-image: url(../img/project-icons.png);
	background-repeat: no-repeat;
}

.agriculture {
	background-position: 0 -110px;
}

.agriculture-agri-services-processing {
	background-position: 0 -110px;
}

.construction-real-estate {
	background-position: 0 7px;
}

.education {
	background-position: 0 -533px;
}

.financial-inclusion {
	background-position: 0 -54px;
}

.financial-services {
	background-position: 0 -54px;
}

.health-care {
	background-position: 0 -193px;
}

.livestock-fishery {
	background-position: 0 -411px;
}

.manufacturing {
	background-position: 0 -353px;
}

.trade {
	background-position: 0 -252px;
}

.transport {
	background-position: 0 -473px;
}

.other {
	background-position: 0 -312px;
}

.fair-trade {
	background-position: 0 -593px;
}

.environment {
	background-position: 0 -655px;
}

.equity {
	background-position: 0 -713px;
}

.renewable-energy {
	background-position: 0 -780px;
}

.pre-selection {
	background-position: 0 -844px;
}

/**
 * Pre selection filter
 */

.opo-project-pre-selection-filter label {
	margin-right: 20px;
}

/**
 * Change filter grid
 */

@media screen and (max-width: 979px) {
	#opo-project-filter-reset {
		position: absolute;
		top: 22px;
		right: 20px;
	}
	/*#opo-project-filter-reset span {*/
		/*display: none;*/
	/*}*/
}

@media screen and (min-width: 650px) and (max-width: 979px) {
	.opo-project-filter-inner > div {
		float: left;
		width: 47%;
		margin-right: 3%;
	}

	.opo-project-filter-inner .opo-project-disclaimer {
		width: 100%;
		margin-right: 0;
	}

	.opo-project-filter ul {
		margin-bottom: 0;
	}
}

@media screen and (min-width: 980px) {
	/**
	 * Tablinks
	 */

	.pbuic-tablinks {
		position: absolute;
		top: -5px;
		right: 0;
	}

	#partner-overview .pbuic-tablinks ul {
		border-bottom: 0;
	}

	/**
	 * Grid
	 */

	#oiko-project-overview-inner {
		margin-top: -38px;
		margin-left: 250px;
	}

	.opo-project-filter {
		max-height: none;
		float: left;
		width: 210px;
		margin-top: 38px;
		margin-left: -250px;
	}

	/**
	 * Filter
	 */

	.opo-project-search-filter {
		width: 250px;
	}

	.opo-project-filter-inner {
		padding: 0;
		background-color: transparent;
	}

	/**
	 * Details
	 */

	.opo-project-filter-container,
	#opo-result-count-container {
		display: none;
	}
}

/**
 * Info window
 */

.opo-info-window {
	width: 400px;
	height: auto;
}

.opo-info-window h2 {
	padding-bottom: .5em;
	border-bottom: 1px solid #bcd7e5;
}

.opo-info-thumbnail {
	float: right;
	margin-left: 1em;
}

.opo-info-country {
	overflow: hidden;
	margin-bottom: .5em;
	line-height: 25px;
}

.opo-info-flag {
	float: left;
	margin-right: 10px;
}

.opo-info-loan-type {
	display: block;
	margin-bottom: .5em;
}

.opo-info-loan-amount {
	margin-bottom: .5em;
	padding-bottom: .5em;
	border-bottom: 1px solid #bcd7e5;
	font-size: 18px;
}
