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  -----*/

.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{
	width: 100%;
	height: auto;
	margin-left: 25%;
	margin-right: 25%;
}
#topbar {
	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: 25%;
}
header {
	margin-top: 3rem;
	margin-bottom: 4rem;
}
.go_home a:hover{
	text-decoration: none;
}
section{
	margin-bottom: 3rem;
}
figure{
	margin: 1rem 0;
}

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

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

.dropdown {
  position: center;
	display:flex;
	justify-content: center;
}

.dropbtn {
  background-color: #04AA6D;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
	position: relative;
}

.dropdown-content {
	display: inline-block;
	position: relative;
  	background-color: #f1f1f1;
  	min-width: 160px;
  	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  display: inline-block;
}

.dropdown-content a:hover {background-color: #ddd; cursor: pointer;}
.dropdown-content a:focus {background-color: yellowgreen; cursor: pointer;}

.dropdown:hover .dropdown-content {display: inline-block; text-decoration-style: unset}

.dropdown:hover .dropbtn {background-color: #3e8e41; height: min-content}



/* ---- 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: bold;
	margin: 0 0 1rem;
}
h3 {
	font-size: 1.4rem;
	font-weight: bold;
	margin: 0 0 1rem;
}
h4 {
	font-size: 1.2rem;
	font-weight: bold;
	margin: 0 0 0.5rem;
}
p{
	font-size: 1rem;
	margin: 0 0 1rem;
}
figcaption{
	font-size: 0.8rem;
}
a{
	text-decoration: none;
	color:black;
}
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%;
}

.tg  {
	border-collapse:collapse;border-spacing:0;
}
.tg td{
	border-color:black;
	border-style:solid;
	border-width:1px;
	font-family:Arial, sans-serif;
	font-size:14px;
  	overflow:hidden;
	padding:10px 5px;
	word-break:normal;
}
.tg th{
	border-color:black;
	border-style:solid;
	border-width:1px;
	font-family:Arial, sans-serif;
	font-size:14px;
  	font-weight:normal;
	overflow:hidden;
	padding:10px 5px;
	word-break:normal;
}
.tg .tg-amwm{
	font-weight:bold;
	text-align:center;
	vertical-align:top
}
.tg .tg-0lax{
	text-align:left;
	vertical-align:top
}


/* ---- 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%;
	}
}
