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

	padding-top: 7em;
}

.main_wrap
{
	width: 80vw;

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

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

	background-image: url('/img/game/countries/paper.png');

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

.main_wrap h1
{
	margin:0;

	color: white;
	text-shadow: 1px 1px 5px black;
	font-weight: bold;
	font-size:2em;
	text-align: center;

	width: 100%;

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

	transition: all 0.3s;

	user-select: none;
}

.main_wrap_content
{
	width: 100%;
	padding-bottom: 1.5em;
}

#country
{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.flag
{
	width: 40%;

	margin-top: 1em;
	margin-bottom: 1em;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.flag img
{
	display: block;
	width: 90%;
	transition: all 0.5s;

	box-shadow: 5px 5px 30px black;
}

.flag img:hover
{
	transform: scale(1.03);
}

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

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

	height: 4em;
	width: 7em;

	margin-top: 1em;
	margin-bottom: 0.5em;

	text-decoration: none;
	color:rgba(255,255,255,0.8);
	font-weight:bolder;
	font-size: 1.1em;

	transition: all 0.5s;
}

a.button:hover
{
	text-shadow: 0px 0px 5px lightblue;
	transform: scale(1.1);
}

a.button:hover svg
{
	fill: white;
}

a.button svg
{
	transition: all 1s;
}

.section svg
{
	fill: #b3b014;
}

.map svg
{
	fill: #517259;
}

.edit svg
{
	fill: black;
}

.construction svg
{
	fill: #cf220e;
}

.army svg
{
	fill: #11330e;
}

.techs svg
{
	fill: #1a5b9c;
}

.influence svg
{
	fill: #a32c72;
}

.cities svg
{
	fill: #474747;
}

.content
{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;

	margin-top: 1em;
	width: 100%;
}

.content .infos
{
	width: 50%;
	padding-left: 1em;
	padding-right: 0.5em;
}

.content .infos > div
{
	height: 100%;
	background-color: #8c8b62;
	background-image: url('/img/game/countries/infos.png');

	padding-top: 0.5em;
	padding-left: 1em;
	padding-right: 1em;

	box-shadow: 5px 5px 10px black;

	transition: all 0.5s;
}

td
{
	vertical-align: center;
	text-align: justify;
	padding-bottom: 0.5em;
}

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

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

td:first-child
{
	font-weight: bold;
	white-space: nowrap;
	padding-right: 1em;
}

tr:last-child td
{
	padding-bottom: 0;
}

#leader
{
	margin-top: 1rem;
	padding-bottom: 1rem;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#leader > img
{
	display: block;
	height: 10rem;
	margin-top: 0.3rem;
	border: solid 2px white;
}

.content .stats
{
	width: 50%;
	padding-right: 1em;
	padding-left: 0.5em;
}

.content .stats > div
{
	height: 100%;
	background-color: #628c6d;
	background-image: url('/img/game/countries/infos.png');
	box-shadow: 5px 5px 10px black;

	padding-top: 0.5em;
	padding-left: 1em;

	transition: all 0.5s;
}

h2
{
	margin: 0;
	margin-bottom: 0.5em;

	font-size: 1.3em;
}

h3
{
	display:none;
	margin: 0;
	margin-bottom: 0.2em;

	font-size: 1.1em;
}

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

	margin-top: 0.5em;

	font-size: 0.95em;
}

.assets > .asset
{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;

	margin-top: 0.5em;
}

.asset > .body
{
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;

	width: 100%;
}

.asset > .body > .icon
{
	width: 10%;
	margin-right: 1em;
}

.asset > .body > .icon > svg
{
	width: 100%;
}

.civilian .icon svg
{
	fill: #ed6f00;
}

.military .icon svg
{
	fill: #7a7a7a;
}

.scientific .icon svg
{
	fill: #0c0c7d;
}

.media .icon svg
{
	fill: #750c7d;
}
