/*
 * Define styles for the footer
 * 
 */

#footer-wrapper{
	margin-top: 1em;
	font-size: 14px;
}

#footer{
	width: 100%;
}

#footerUpper{
	padding: 1.5em;
	margin: 0 auto;
}

.small-footer #footerUpper{
	display: none !important;
}

.splash > #footer-wrapper{
	margin-top: 0;
}

.footerSection{
	-webkit-flex: 1 1 300px;
	flex: 1 1 300px;
	padding: 1.5em 0;
}

@media screen and (min-width: 755px){
	.footerSection{
		border-right: 1px solid #444444;
		padding: 1.5em;
	}
}

/* remove redundant sperator borders (ones that appear to the right of a rightmost panel) */
@media screen and (min-width: 755px) and (max-width: 1159px){
	.footerSection:nth-of-type(2n), .footerSection:last-of-type{
		border-right: none;
	}
}

@media screen and (min-width: 1160px) and (max-width: 1266px){
	.footerSection:nth-of-type(3n), .footerSection:last-of-type{
		border-right: none;
	}
}

@media screen and (min-width: 1267px){
	.footerSection:nth-of-type(4n), .footerSection:last-of-type{
		border-right: none;
	}
}


#copyright{
	padding: 0.5em;
	text-align: center;
	font-size: 80%;
}
