
@font-face {
    font-family: 'FlamaMedium';
    src: url('fonts/Flama-Medium-A.otf');
}


@font-face {
    font-family: 'FlamaBook';
    src: url('fonts/Flama-Book-A.otf');
}

@font-face {
    font-family: 'FlamaBold';
    src: url('fonts/Flama-Bold-A.ttf');
}

@font-face {
    font-family: 'PTRegular';
    src: url('fonts/PT_Serif-Web-Regular.ttf')  format('truetype');
}
@font-face {
    font-family: 'PTBold';
    src: url('fonts/PT_Serif-Web-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'PTItalic';
    src: url('fonts/PT_Serif-Web-Italic.ttf') format('truetype');
}
@font-face {
    font-family: 'PolEgy';
    src: url('fonts/EgyptienneRegular.ttf') format('truetype');
}

body {
	font-family: 'FlamaBook';
	font-size: 18px;
}

.climate-credits strong {
	font-family: 'FlamaBold';
	font-weight: normal;
}

.climate-credits {
	background-color: #fff;
	width: 1320px;
	margin: 20px auto 0;
	overflow: hidden;
}

.climate-credits .overlay {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    background-color: white;
    z-index: 99;
    padding-top: 200px;
}

.climate-credits h1 {
	font-family: 'FlamaMedium';
	font-size: 44px;
}

.climate-credits .translate p {
	margin: 10px 0 40px 0; 
	text-align: right;
	font-size: 14px;
}


.climate-credits h2 {
	position: relative;
	font-family: 'FlamaMedium';
	font-size: 30px;
	color: #005D82;
	padding-left: 35px;
}
.climate-credits .hero p {
	position: relative;
	font-family: 'FlamaBook';
	padding-left: 30px;
}

.climate-credits h2:before, .climate-credits .hero p:before {
	content: '→';
	position: absolute;
	left: 0;
	color: #005D82;
	font-family: 'FlamaMedium';
	font-size: 30px;
}

.climate-credits .hero p:before {
	margin-top: -10px; 
}

.climate-credits h3 {
	font-family: 'FlamaMedium';
	font-size: 24px; 
	margin: 0;

}

.climate-credits .row {
	position: relative;
	padding: 20px 0;
}

.picker {
	width: 25%;
}

.top {
	clear: both;
}


.climate-credits .header, .climate-credits .pickers {
	width: 70%;
	float: left;
    margin: 0 0 30px 0;
	align-items: flex-end;
}

.climate-credits .hero {
	width: 30%;
	float: right;
}

.climate-credits .pickers .picker {
	width: 25%;
}


.climate-credits .stats .load_all {
	text-align: right; 
}

.climate-credits .pickers .clear p, .climate-credits .stats .load_all span {
    color: #a5a5a5;
    font-size: 12px;
	cursor: pointer;
	margin-bottom: 4px;
	text-decoration: underline;
}

.climate-credits .pickers .search-form {
	width: 195px;
}

.climate-credits .selectize-control.single .selectize-input {
	background: none;
	background-image: none;
	border: none;
	padding: 15px 15px 0px 0px;
	min-height: 38px;
	border-bottom: 1px solid black;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-border-radius: none;
	border-radius: 0px;
	text-align: left;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.climate-credits .selectize-control.single .selectize-input:after {
	background-image: url(images/search.svg);
    position: absolute;
    right: 0;
    width: 14px;
    height: 14px;
    right: 3px;
    bottom: 3px;
    background-size: 14px;
    border:none;
}


.climate-credits .selectize-input > * {
	text-overflow: ellipsis;
    max-width: 170px;
    overflow: hidden;
}

.climate-credits .search-list__item {
	cursor: pointer;
	border-bottom: 1px dotted lightgrey;
	padding: 5px 0;
	overflow: hidden;
}

.climate-credits .search-list__item:hover {
	background-color: #efefef;
}

.climate-credits .search-list-wrapper {
	width: 200px !important;
	overflow: hidden;
}

.climate-credits .search-list {
	width: 200px !important;
}

.climate-credits .hide {
	display: none;
}

.climate-credits .highlight, .climate-credits .pickers .item {
	background-color: rgba(255,239,102,0.4);
}

.climate-credits input {
	width: 93%;
	border: none; 
}

.climate-credits .magnifier {
    position: absolute;
    width: 5%;
    right: 1%;
    top: 12px;
}

.climate-credits .splitter {
    display: flex;
    align-items: center;
    height: 120px;
    clear: both;
}

.climate-credits .bottom .splitter {
    height: 80px;
}

.climate-credits .bottom .row {
    padding: 0;
}

.climate-credits .splitter .dash {
    height: 1px;
    background-image: linear-gradient(to right, black 33%, rgba(255,255,255,0) 0%);
    background-position: bottom;
    background-size: 6px 1px;
    background-repeat: repeat-x;
}

.climate-credits .download p {
	padding: 3px 6px; 
	margin:0; 
	text-align: center;
	background-color: rgba(255,239,102,1);
    font-size: 14px;
    margin-top: 25px;
	cursor: pointer;
}

.climate-credits .stats .wrapper {
	margin-right: 20%; 
}

.climate-credits .stats .wrapper h3 {
	min-height: 120px;
	margin-bottom: 20px; 
}

.climate-credits table {
	width: 100%;
}

.climate-credits tr {
	border-bottom: 1px solid #ddd;
}


.climate-credits tr:first-child {
	border-bottom: 1px solid #000;
}

.climate-credits td:last-child, .climate-credits th:last-child  {
	text-align: right;
	width: 30%;
}

.climate-credits td.pickable, .climate-credits div.pickable {
	cursor: pointer;
}

.climate-credits figure {
	font-size: 13px;
}

.climate-credits figure .highcharts-legend-item {
	margin-top: -5px;
    left: 10px !important;
}


.climate-credits .pol_logo {
	width: 200px;
	margin: 20px auto;
}


.climate-credits .footer {
	text-align: center;
}
.climate-credits .bylines p {
	font-size: 14px;
	margin-bottom: 3px; 
}


.climate-credits.english .danish {
	display: none;
}

.climate-credits.danish .english {
	display: none;
}

@media (max-width: 1360px) {

	.climate-credits {
		width: 950px;
		margin:auto;
	}

	.climate-credits .pickers .picker {
		width: 33%;
	}

	.climate-credits .pickers .search-form {
		width: 170px;
	}

	.climate-credits .pickers .clear {
		margin-top: 10px;
	}

	.climate-credits .stats .col-lg-4 {
		max-width: 50%;
		flex: auto;
		margin-bottom: 60px;
	}

	.climate-credits .stats .wrapper {
		margin-right: 0;
	}

	.climate-credits .stats .wrapper h3 {
		min-height: 80px; 
	}
	.climate-credits .stats .wrapper table {
		width: 80%;
	}

	.climate-credits .col-lg-4:last-child {
		max-width: 100%
	}
}


@media (max-width: 992px) {


	.climate-credits {
		width: 90%;
		margin:auto;
	}


	.climate-credits .pickers {
		width: 100%;
		max-width: auto;
		max-width: 600px;	
	}

	.climate-credits .pickers .picker {
	margin-top: 20px; 
	}

	.climate-credits .selectize-control.single .selectize-input {
		min-height: 33px;
		padding-top: 10px; 
	}

	.climate-credits .pickers .search-form, .climate-credits .pickers .picker, .climate-credits .header, .climate-credits .hero  {
		width: 100%;
		max-width: initial;
	}


	.climate-credits .row.pickers .col-lg-2 {
		margin: 0 0 20px 0;
	}

	.climate-credits .row.splitter {
	    height: 40px;
	}

	.climate-credits .download p {
		display: none
	}

	.climate-credits .stats .wrapper table {
		width: 100%;
	}

	.climate-credits .stats .col-lg-4 {
		max-width: 100%;
	}

	.climate-credits .overlay {
	    padding-top: 80px;
	}

	.climate-credits h1 {
		font-size: 34px;
	}
}



