#mainfooter
{
	float:left;
	width:100%;
}

#mainfooter .topfooter
{
	background:#006ab2;
	color:#fff;
	float:left;
	padding:40px 0;
	width:100%;
}

#mainfooter .topfooter .container
{
	align-items:center;
	display:flex;
}

#mainfooter .topfooter .column
{
	margin:0 30px 0 0;
	width:calc(100% / 4 - 90px / 4);
}

#mainfooter .topfooter .column:last-child
{
	margin-right:0;
}

/* Reset Contentelement */
#mainfooter .topfooter .column .contentelement
{
	background:none;
	margin:0 0 20px;
	padding:0;
	width:100%;
}

#mainfooter .topfooter .column .contentelement:last-child
{
	margin-bottom:0;
}

#mainfooter .topfooter .column .contentelement .container
{
	align-items:normal;
	display:block;
	width:100%;
}

#mainfooter .topfooter .column .contentelement .container img
{
	margin:0;
}

#mainfooter .bottomfooter
{
	background:#8a8a8a;
	color:#fff;
	float:left;
	font-size:12px;
	font-weight:700;
	line-height:14px;
	padding:15px 0;
	width:100%;
}

#mainfooter .bottomfooter .container
{
	align-items:center;
	display:flex;
}

#mainfooter .bottomfooter #copyright
{
	display:block;
	margin-right:auto;
}

#mainfooter .bottomfooter #footermenu div
{
	float:left;
	padding:0 10px;
	position:relative;
}

#mainfooter .bottomfooter #footermenu div.last
{
	padding-right:0;
}

#mainfooter .bottomfooter #footermenu div a
{
	color:#fff;
	text-decoration:none;
	text-transform:uppercase;
}

#mainfooter .bottomfooter .socialicons
{
	float:right;
}

#mainfooter .bottomfooter #socialicons
{
	float:right;
	margin:0 0 0 15px;
}

#mainfooter .bottomfooter #socialicons a
{
	color:#fff;
	display:block;
	float:left;
	font-size:20px;
	line-height:20px;
	margin:0 5px;
}

#mainfooter .bottomfooter #socialicons a:last-child
{
	margin-right:0;
}

#mainfooter .bottomfooter #socialicons a:hover
{
	opacity:0.7;
}

@media (min-width:768px) and (max-width:1024px)
{
	#mainfooter .topfooter
	{
		padding:30px 0 0;
	}
	
	#mainfooter .topfooter .container
	{
		flex-wrap:wrap;
	}
	
	#mainfooter .topfooter .column
	{
		margin:0 30px 30px 0;
		width:calc(50% - 15px);
	}
	
	#mainfooter .topfooter .column:nth-child(2)
	{
		margin-right:0;
	}
}

@media (max-width:767px)
{
	#mainfooter .topfooter
	{
		padding:20px 0 0;
	}
	
	#mainfooter .topfooter .container
	{
		flex-wrap:wrap;
	}
	
	#mainfooter .topfooter .column
	{
		margin:0 0 20px 0;
		width:100%;
	}
	
	#mainfooter .bottomfooter .container
	{
		flex-direction:column;
	}
	
	#mainfooter .bottomfooter #copyright
	{
		margin:0 0 10px;
		text-align:center;
	}
	
	#mainfooter .bottomfooter #socialicons
	{
		margin:10px 0 0;
	}
}
