#medialinks {
	background-color: #bfbfbf;
	clear: both;
}

#medialinks > aside {
	margin: 0 auto;
	max-width: 998px;
	text-align: center;
	width: 100%;
}

#medialinks img {
	border: 0;
	height: auto;
	margin: 0;
	padding: 8px;
	width: 40px;
}

#medialinks img:hover {
	/*background-color: rgba(0,0,0,0.1);*/
	height: auto;
	padding: 6px;
	width: 44px;
}


#footer {
	background-color: #f2f2f2;
	clear: both;
	min-height: 350px;
	width: 100%;
}

#footer * {
	color: rgb(80, 80, 80);
}

#footer footer {
	margin: 0 auto;
	max-width: 998px;
	padding: 1em 0;
}

#footer > footer > div {
	box-sizing: border-box;
	display: inline-block;
	padding: 1em;
	position: relative;
	vertical-align: top;
	width: 33%;
}

#footer > footer > div.doublecolumn {
	width: 66%;
}

#footer > footer > div.doublecolumn ul {
	-webkit-column-count 2;
	-moz-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 2em;
	-moz-column-gap: 2em;
	column-gap: 2em;
}

#footer ul {
	list-style-type: none;
	margin-bottom: 25px;
	margin-right: auto;
	padding: 0;
}

#footer ul.meta {
	margin-bottom: 0.5em;
	text-align: right;
}

#footer li {
	line-height: 1.4em;
	margin-bottom: 0.6em;
}

#footer ul.meta li {
	display: inline;
	margin-left: 0.8em;
}

#footer .services li {
	font-weight: 600;
	line-height: 2.5em;
	max-width: inherit;
	width: 240px;
}

#footer img.footer-shortcut {
	height: 32px;
	margin-right: 0.5em;
	opacity: 0.6;
	vertical-align: middle;
	width: 32px;
}

#footer li a:hover{
	color: rgb(0, 0, 0);
	cursor: pointer;
}

#footer div h5 {
	border-bottom: 1px solid lightgrey;
	color: #000000;
	font-size: 1.2em;
	font-weight: 400;
	line-height: 20px;
	padding-bottom: 0.6em;
	margin: 1.2em 0 0 0;
}

#footer #language_selector {
	margin-top: 2em;
}

#footer #language_selector ul {
	margin-bottom: 0.6em;
	margin-top: 0;
}

#footer #language_selector img {
	height: 20px;
	margin-right: 5px;
	vertical-align: bottom;
	width: auto;
}

#footer #copyright {
	display: block;
	margin: 0 0 0 auto;
	padding: 0 0 1em 0;
	text-align: right;
	width: 50%;
}

@media screen and (max-width: 50em) {
	
	#footer footer {
		padding-left: 10px!important;
		padding-right: 10px!important;
	}
	
	#footer > footer > div {
		padding-top: 0!important;
		width: 49%;
	}
	
	#footer > footer > div.doublecolumn {
		width: 49%;
	}

	#footer > footer > div.doublecolumn ul {
	-webkit-column-count 1;
	-moz-column-count: 1;
	column-count: 1;
	}
	
	#footer #copyright {
		margin: 4em 0 0 0;
		width: 100%;
	}
	
}

@media screen and (max-width: 35.6em) {
	
	#footer > footer > div {
		padding-top: 0!important;
		width: 100%;
	}
	
	#footer > footer > div.doublecolumn {
		width: 100%;
	}
	
}


