/**
 * Footer Styles
 *
 * This document contains all of the styles for the bottom portion of the 
 * Wordpress theme.
 *
 * @package WordPress
 * @subpackage Southcoast
 * @since Southcoast 1.0
 */

.footer {
	background: $grey-dark;
}

.footer-wrapper {
	background-image: url("images/icon-footer-mark-regular.png");
	background-position: 30px 70px;
	background-repeat: no-repeat;
	margin: 0 auto;
	max-width: 1060px;
	min-height: 60px;
	padding: 70px 30px 70px 170px;
}

.footer-wrapper:after {
	clear: both;
	content: "";
	display: table;
}

.footer-menu-first,
.footer-menu-second,
.footer-menu-third {
	border-left: 1px solid $black;
	float: left;
	font-size: 13px;
	line-height: 18px;
	margin-bottom: 0;
	margin-top: 0;
	min-height: 260px;
	padding-left: 20px;
	padding-right: 60px;
}

.footer-menu-first li,
.footer-menu-second li,
.footer-menu-third li {
	margin-bottom: 14px;
	margin-top: 0;
}

.footer-menu-first li:before,
.footer-menu-second li:before,
.footer-menu-third li:before {
	display: none;
}

.footer-menu-first a {
	color: $white;
}

.footer-menu-second a,
.footer-menu-third a {
	color: $grey-medium;
}

.footer-menu-first a:hover,
.footer-menu-second a:hover,
.footer-menu-third a:hover {
	color: $pink;
}

.footer-info {
	float: right;
	text-align: right;
}

.footer-social-link {
	background-position: center center;
	background-repeat: no-repeat;
	display: inline-block;
	height: 50px;
	margin-left: 15px;
	opacity: 0.3;
	overflow: hidden;
	text-indent: 999px;
	width: 50px;
	@include transition( opacity 0.4s );
}

.footer-social-link:hover {
	opacity: 1;
}

.footer-facebook-link {
	background-image: url("images/icon-footer-facebook-regular.png");
}

.footer-twitter-link {
	background-image: url("images/icon-footer-twitter-regular.png");
}

.footer-youtube-link {
	background-image: url("images/icon-footer-youtube-regular.png");
}

.footer-google-plus-link {
	background-image: url("images/icon-footer-google-regular.png");
}

.footer-info-phone {
	margin-bottom: 0;
	margin-top: 30px;
}

.footer-info-phone-link {
	color: $white;

	a {
		color: $white;
	}
	
	a:hover {
		color: $pink;
	}

}

.copyright {
	background-color: #101010;
	color: #dbdbdb;
	font-size: 11px;
	line-height: 16px;
	margin-bottom: 0;
	padding: 17px 30px;
	text-align: center;
}

.copyright-link {
	color: $grey-light;
}

.copyright-link:hover {
	color: $pink;
}

@media ( -webkit-min-device-pixel-ratio: 2 ), ( min-resolution: 192dpi ) {

	.footer-wrapper {
		background-image: url("images/icon-footer-mark-retina.png");
		background-size: 60px 60px;
	}

	.footer-facebook-link {
		background-image: url("images/icon-footer-facebook-retina.png");
		background-size: 50px 50px;
	}

	.footer-twitter-link {
		background-image: url("images/icon-footer-twitter-retina.png");
		background-size: 50px 50px;
	}

	.footer-youtube-link {
		background-image: url("images/icon-footer-youtube-retina.png");
		background-size: 50px 50px;
	}

	.footer-google-plus-link {
		background-image: url("images/icon-footer-google-retina.png");
		background-size: 50px 50px;
	}

}

@media ( max-width: 1100px ) {

	.footer-wrapper {
		background-position: 30px 70px;
		padding: 160px 30px 40px 30px;
	}

	.footer-info {
		clear: both;
		float: none;
		padding-top: 60px;
		text-align: left;
	}

	.footer-social-link {
		margin-left: 0;
		margin-right: 15px;
	}

}

@media ( max-width: 600px ) {

	.footer-wrapper {
		background-position: 30px 40px;
		background-size: 40px 40px;
		padding: 100px 30px 30px 30px;
	}

	.footer-menu-first,
	.footer-menu-second,
	.footer-menu-third {
		float: none;
		margin-top: 20px;
		min-height: 0;
		padding-bottom: 4px;
		padding-top: 4px;
	}

	.footer-info {
		padding-top: 50px;
	}

	.footer-social-link {
		background-size: 40px 40px;
		height: 40px;
		width: 40px;
	}

	.copyright {
		padding: 17px 30px 60px 30px;
	}

}

.callouts {
	@include clearfix;
}

.callout {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
	float: left;
	height: 330px;
	position: relative;
	text-align: center;
	width: 25%;

	@media ( max-width: 1100px ) {
		width: 50%;
	}

	@media ( max-width: 600px ) {
		width: 100%;
	}

	&:before {
		background-color: rgba( 40, 40, 40, 0.3);
		content: '';
		display: block;
		height: 100%;
		left: 0;
		position: absolute;
		top: 0;
		width: 100%;
	}
	
}

.callout-link {
	background-color: $white;
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	line-height: 14px;
	margin-top: 138px;
	padding: 20px 24px;
	position: relative;
	text-transform: uppercase;

	&:after {
		background-image: url("images/icon-front-next-regular.png");
		background-repeat: no-repeat;
		content: '';
		display: inline-block;		
		height: 14px;
		margin-bottom: -2px;
		margin-left: 4px;
		width: 22px;

		@media ( -webkit-min-device-pixel-ratio: 2 ), ( min-resolution: 192dpi ) {
			background-image: url('images/icon-front-next-retina');
			background-size: 22px 14px;
		}

	}

}
