/* Social media styles for local and external social media links/icons */
/* start with small devices (default) -- no media query */

/* general styles */
.local-social-media,
.external-social-media {
	float: right;
}

.local-social-media a {
	clear: none;
}

.local-social-media a img {
	clear: none;
	margin-bottom: .25em;
	margin-top: .25em;
	margin-right: .5em;
	margin-left: .5em;
}

/* some general styling for alignment of external social-media elements */
.external-social-media div:after  { /*reset the clear-fix */
	content: "";
}

.external-social-media span,
.external-social-media iframe,
.external-social-media div,
.external-social-media > a {
	clear: both;
	display: inline-block;
	max-width: 100%;
	margin: .25em .25em .25em 0;
}

.social-tagline  {
	float: left;
	max-width: 100%;
}

/* begin specific social media styles */
.social-tagline .local-social-media {
	clear: both;
	margin-bottom: 1em;
	width: 100%;
	text-align: left;
}

.social-tagline .external-social-media {
	clear: both;
	margin-bottom: 1em;
	width: 100%;
	/*overflow: hidden;*/
}

.social-tagline .external-social-media span,
.social-tagline .external-social-media iframe,
.social-tagline .external-social-media div,
.social-tagline .external-social-media > a {
	clear: none;
	width: auto;
	max-width: 100%;
	min-width: 32px;
	margin: .25em .25em 0 0;
	vertical-align: top;
}

.social-tagline .external-social-media #fb-root {
		display:none;
	}

.social-menu-mobile .local-social-media {
	clear: both;
	margin-bottom: 1em;
	margin-top: 1em;
	width: 100%;
	text-align: center;
}

.social-menu-mobile .external-social-media {
	clear: both;
	padding: 0 1em;
	width: 100%;
	overflow: hidden;
	text-align: center;
}

.social-menu-mobile .external-social-media span,
.social-menu-mobile .external-social-media iframe,
.social-menu-mobile .external-social-media div,
.social-menu-mobile .external-social-media > a {
	clear: both;
	max-width: 100%;
	margin: 0 .25em 1em 0;
	text-align: center;
}

.social-right {
	margin-top: 0;
	float: right;
	max-width: 100%;
	width: auto;
}

.social-right-mobile  .local-social-media {
	clear: both;
	margin-bottom: 0;
	margin-top: 1em;
	width: 100%;
	text-align: center;
}

.social-right-mobile .external-social-media {
	clear: both;
	margin-bottom: 1em;
	width: 100%;
	overflow: hidden;
}

/* for social-right-mobile, let them flow as they will, rather than stacking at width 100% */
.social-right-mobile .external-social-media span,
.social-right-mobile .external-social-media iframe,
.social-right-mobile .external-social-media div,
.social-right-mobile .external-social-media > a {
	clear: none;
	width: auto;
	max-width: 100%;
	min-width: 32px;
	margin: 1em .25em 0 0;
	vertical-align: top;
}

.social-footer .local-social-media {
	clear: both;
	margin-bottom: 1em;
	margin-top: 1em;
	width: 100%;
	text-align: center;
}

.social-footer .external-social-media {
	clear: both;
	padding: 0 1em;
	width: 100%;
	overflow: hidden;
	text-align: center;
}

.social-footer .external-social-media span,
.social-footer .external-social-media iframe,
.social-footer .external-social-media div,
.social-footer .external-social-media > a {
	clear: both;
	display: inline-block;
	max-width: 100%;
	min-width: 32px;
	margin: .5em 0;
	vertical-align: top;
}

@media (min-width: 480px) {
	.social-right {
		margin-top: 0;
	}
}

/* Small devices (landscape phones 640px and up) */
@media (min-width: 640px) {
	
	.social-tagline .local-social-media,
	.social-tagline .external-social-media {
		margin-bottom: 1em;
		width: 100%;
		text-align: left;
	}

	.social-tagline .external-social-media {
		width: 100%;
	}

	.social-tagline .external-social-media span,
	.social-tagline .external-social-media iframe,
	.social-tagline .external-social-media div,
	.social-tagline .external-social-media > a {
		clear: none;
		display: inline-block;
		width: auto;
		margin: 0 1em .5em 0;
		vertical-align: top;
	}
	
	.social-tagline .external-social-media img {
		max-width: 100%;
	}

	.social-right-mobile .local-social-media,
	.social-right-mobile .external-social-media  {
		margin-bottom: 1em;
		margin-top: 1em;
		width: 100%;
		text-align: left;
	}

	.social-right-mobile .external-social-media span,
	.social-right-mobile .external-social-media iframe,
	.social-right-mobile .external-social-media div,
	.social-right-mobile .external-social-media > a {
		clear: none;
		display: inline-block;
		width: auto;
		margin: 0 .25em .25em 0;
		vertical-align: top;
	}

	.social-footer .external-social-media span,
	.social-footer .external-social-media iframe,
	.social-footer .external-social-media div,
	.social-footer .external-social-media > a {
		clear: none;
		width: auto;
		margin: 0 .25em .25em 0;
	}
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.social-tagline .local-social-media,
	.social-tagline .external-social-media {
		margin-bottom: 1em;
		width: 100%;
		text-align: center;
	}

	.social-tagline .external-social-media span,
	.social-tagline .external-social-media iframe,
	.social-tagline .external-social-media div,
	.social-tagline .external-social-media > a {
		display: inline-block;
		min-width: 32px;
		margin-right: .25em;
		vertical-align: top;
	}

	.social-menu .local-social-media,
	.social-menu .external-social-media {
		clear: both;
		margin-bottom: 1em;
		margin-right: 0;
		float: right;
		text-align: center;
		width: 100%;
	}

	.social-menu .local-social-media img {
		margin-right: 0;
	}

	.social-menu .external-social-media span,
	.social-menu .external-social-media iframe,
	.social-menu .external-social-media div,
	.social-menu .external-social-media > a,
	.social-menu .external-social-media > a img {
		clear: none;
		max-width: 100%;
		min-width: 32px;
		margin: 1em .25em .25em 0;
		text-align: center;
	}

	.social-right {
		float: right;
		text-align: right;
		max-width: 75%;
	}

	.social-right .local-social-media {
		clear: none; /*starts to right of title, so no clear needed */
		margin-bottom: .5em;
		margin-top: 0;
		width: 100%;
		text-align: right;
		float: right;
	}

	.social-right .external-social-media {
		clear: none; /*starts to right of title, so no clear needed */
		margin-bottom: .5em;
		width: 100%;
		overflow: hidden;
		text-align: right;
		float: right;
	}

	.social-footer .local-social-media,
	.social-footer .external-social-media {
		margin-top: 1em;
		margin-bottom: 1em;
	}

	.social-footer .external-social-media span,
	.social-footer .external-social-media iframe,
	.social-footer .external-social-media div,
	.social-footer .external-social-media > a {
		clear: none;
		display: inline-block;
		width: auto;
		min-width: 32px;
		max-width: 100%;
		margin: 0 1em 1em 0;
		vertical-align: top;
	}

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

	.social-right .external-social-media span,
	.social-right .external-social-media iframe,
	.social-right .external-social-media div,
	.social-right .external-social-media > a {
		clear: none;
		display: inline-block;
		width: auto;
		margin: .25em .25em .25em 0;
		min-width: 32px;
		vertical-align: top;
	}

}
/* reset this for all external social media span tags */
.external-social-media span {
	min-width: 32px;
}
