/**
 * Footer
 *
 * Description: Contains styling for the page-footer. 
 * Version: 1.0.3
 * -----------------------------------------------------------------------------
 */

/**
 * Table of Contents:
 *
 * 1.0 - Footer
 *   1.1 - Footer (responsive)
 * -----------------------------------------------------------------------------
 */


/**
 * 1.0 - Footer
 * -----------------------------------------------------------------------------
 */

#page-footer {
	background-color: $white;
	border-top: 1px solid $grey-light;

	.h-related {
		margin-bottom: em(12px, getFontsize($h5-sizes, 'medium'));
	}

	.layout-width-constrained {
		overflow: hidden;
	}

	.layout-size1of4 {
		border-right: 1px solid $grey-light;
		padding-bottom: em(500px);
		margin-bottom: em(-500px);
	}

	.t-rte {
		$font-size: 18px;
		font-size: em($font-size);
		line-height: em(26px, $font-size);

		p {
			margin-bottom: em(14px, $font-size);
		}
	}
}


/**
 * 1.1 - Footer (responsive)
 * -----------------------------------------------------------------------------
 */

@media (max-width: $device-small-max) {
	#page-footer {
		.layout-size1of4 {
			border-right: 0;
			padding-bottom: 0;
			margin-bottom: 0;
		}

		.layout-unit {
			padding: 0 $margin-standard / 2;
			margin-bottom: $margin-standard / 2;
		}

		.page-logo {
			margin-left: $margin-standard / 2;
		}
	}
}