main
{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;

	padding-top: 7em;
}

.main_wrap
{
	width: 80vw;

	padding-bottom: 0.5em;

	box-shadow: 1px 1px 10px rgb(53, 60, 74);
}

.main_wrap h1
{
	margin:0;
	padding: 0.7em;
	padding-left: 1em;

	background-color: #383e51;

	color: white;
	font-weight: bold;
	font-size:1em;

	width: auto;

	border-top-left-radius: 5px;
	border-top-right-radius: 5px;

	transition: all 0.3s;
}

.main_wrap h1:hover
{
	cursor:default;
	color: #b0942e;
}

.button
{
	display:flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;

	background-color: #383e51;
	color: white;
	text-decoration: none;

	margin-right: 0.5em;

	padding-left: 0.5em;
	padding-right: 0.5em;
	padding-top: 0.3em;
	padding-bottom: 0.3em;

	transition: all 0.3s;
}

.button:hover
{
	background-color: #b0942e;
	color:white;
}

.button .icon
{
	width:1.2em;
	height: 1.2em;
	fill: white;

	margin-right: 0.5em;
}

.toolbox
{
	width: 100%;

	display:flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: stretch;

	margin-top: 0.5em;
}

.country
{
	margin-top: 0.5em;

	display:flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;

	color: white;
	text-shadow: 1px 1px 5px black;

	transition: all 0.5s;
}

.country:hover
{

}

.flag
{
	width: 15%;
	padding:0.5em;
}

.country > .flag > a
{
	width: 100%;
}

.country > .flag > a > img
{
	display: block;
	width: 100%;
	height: auto;

	transform: scale(1);
	transition: all 0.5s;
}

.country:hover > .flag > a > img
{
	transform: scale(1.05);
}

.country > .body
{
	padding-left: 0.5em;

	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;

	padding-top: 0.5em;
	padding-bottom: 0.5em;

	flex-grow: 1;
}

h2
{
	margin:0;
}

h2 a
{
	text-decoration: none;
	color: white;
}

h2 a:hover
{
	text-decoration: underline;
}

dl
{
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;

	margin: 0;
	padding: 0;

	margin-top: 0.5em;
	margin-right: 1em;
}

dt
{
	width: 1.5em;
	height: 1.5em;
}

dt > svg, dd > svg
{
	width: 100%;
}

dd
{
	margin: 0;
	padding: 0;

	margin-left: 0.5em;
}

.population svg
{
	fill:#990000;
}

.gdp svg
{
	fill: #146e0a;
}

.gdppc svg
{
	fill: darkblue;
}

.activity svg
{
	fill: white;
	stroke: #b0942e;
	stroke-width: 3px;
}

.assets
{
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;

	margin: 0;
	padding: 0;
	margin-bottom: 0.5em;
}

.stats
{
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;

	margin: 0;
	padding: 0;
}

.civilian svg
{
	fill: #ed6f00;
}

.military svg
{
	fill: #7a7a7a;
}

.scientific svg
{
	fill: #0c0c7d;
}

.media svg
{
	fill: #750c7d;
}

.arrow
{
	padding-right: 1em;
	width: 10%;
}

.arrow a
{
	display: block;
	width: 100%;
	transform: scale(0.7);
	transition: all 0.5s;
}

.arrow:hover a
{
	transform: scale(0.8);
}

.arrow svg
{
	width: 100%;
}
