html {
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}
body {
	background-color: #fbfbfb;
	margin:  0;
	font-size: 16px;
	font-family: "Times New Roman", Serif;
}
/* ---- overal layout  -----*/

/* Three image containers (use 25% for four, and 50% for two, etc) */

.row::after {
	content: "";
	clear: both;
	display: table;
}


.link {
	margin-left: -1.25em;
}
.link:before {
	display: inline-block;
	width: 1.25em;
	content: "→";
}
hr{
	opacity: 0.2;
	margin:1em 0 1em 0;
}
figure{
	margin: 0;
}
img{
	max-width: 100%;
	height:  auto;
}
#topbar {
	position: absolute;
	top:  0;
	width: 100%;
	padding: 1rem 3%;
	height: 3rem;
	position: fixed;
	background-color: #fbfbfb;
	color: red;
	box-shadow: 0 2px 10px rgb(0 0 0 / 20%);
	z-index: 1;
}
#topbar nav {
	display: flex;
	justify-content: start;
}
#topbar nav div {
	margin-right: 10px;
}
main{
	margin-top: 3rem;
	position: absolute;
}
header, article, footer section {
	margin-left: 25%;
	margin-right: 20%;
}
header {
	margin-top: 3rem;
	margin-bottom: 7rem;
}
.go_home a:hover{
	text-decoration: none;
}
section{
	margin-bottom: 3rem;
}
figure{
	margin: 1rem 0;
}
#icons {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}

/* ---- data visualizations -----*/

#dataviz_01 {
	border:  none;
	max-width: 100%;
	height: auto;
}
.download {
	display: flex;
	justify-content: space-between;
	margin: 2rem 30%;
}

/* #map {
	width: 100%;
	height: 400px;
} */

.mapboxgl-popup-content p {
	font-size: 0.7rem;
	margin: 0;
}

/* ---- footer -----*/

footer {
	margin-bottom: 3rem;
	border-top: 1px solid #d0d0d0;
	padding-top: 3rem;
}
footer section {	
	display: flex;
	justify-content: space-between;
}
footer section div{
	width: 45%;
}

/* ---- typography -----*/

h1 {
	font-size: 2.1rem;
	font-weight: bold;
	margin: 0 0 0.5rem;
}
h2 {
	font-size: 1.7rem;
	font-weight: normal;
	margin: 0 0 1rem;
}
h3 {
	font-size: 1rem;
	font-weight: normal;
	margin: 0 0 1rem;
}
h4 {
	font-size: 1.2rem;
	font-weight: bold;
	margin: 0 0 0.5rem;
}
p{
	font-size: 1.1rem;
	margin: 0 0 1rem;
}
figcaption{
	font-size: 0.8rem;
}
a{
	text-decoration: none;
}
a:hover{
	text-decoration: underline;
}
ul{
	margin:0;
	padding: 0;
	list-style: none;
}
.author {
	width: 200px;
	display: inline-block;
}
#abstract{
	font-size: 1.7rem;
	margin-bottom: 2rem;
}
figcaption{
	padding: 0;
}
.no_margin figcaption {
	padding: 0 3%;
}
@font-face {
	font-family: "Ubuntu";
	src: local("Ubuntu"), url("../font/Ubuntu/Ubuntu-Regular.ttf") format(truetype);
	font-style: normal;
	font-weight: regular;
}
#abstract {
	font-family: "Ubuntu";
	font-style: normal;
	font-weight: regular;
	font-size: 1.4rem;
	line-height: 130%;
	background-color: #f3f2f2;
	padding: 1rem;
}

iframe[seamless] {
    width: 1500;
	height: 500;
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
  }

/* ---- map -----*/

#map01{
	width: 100%;
    height: 400px;
}
#map02_container{
	border-top: 1px solid #f2e8e8;
	border-bottom: 1px solid #f2e8e8;
	display: flex;
	justify-content: space-between;
}
#map02{
	width: calc(100% - 300px);
	height: 400px;
}
#sidebar_map02 {
	width: 300px;
	height: 400px;
	background-color: white;
	z-index: 1;
	overflow-x: scroll;
}
#sidebar_map02 li {
	padding: 1rem;
	border-bottom: 1px solid #f2e8e8;
	list-style: none;
}
#map03{
	width: 100%;
    height: 400px;
}


/* ---- interaction -----*/

#switch_contentB, #switch_contentC {
	display: none;
}

#dropdown_contentB, #dropdown_contentC {
	display: none;
}

.myDropdown {
	width: 100%;
	height: 2rem;
}

/* ---- tablet version -----*/

@media only screen and (max-width: 768px) {
	h1 {
		font-size: 1.9rem;
	}
	h2, #abstract {
		font-size: 1.5rem;
	}
	.author {
		display: block;
	}
	li {
		margin-bottom: 1em;
	}
	header, article, footer section {
		margin-left: 5%;
		margin-right: 5%;
	}
	footer section{
		display: block;
	}
	footer section div:nth-child(1) {
		margin-bottom: 3rem;
	}
	.download {
		display: flex;
		justify-content: space-between;
		margin: 1rem 5%;
	}
	figcaption{
		padding: 0%;
	}
	.no_margin figcaption {
		padding: 0 5%;
	}
	footer section div{
		width: 100%;
	}

	/* ---- map -----*/

	#map02{
		width: calc(100% - 180px);
	}
	#sidebar_map02 {
		width: 180px;
	}

}



