/* Social media styles for local and external social media links/icons */
/* start with small devices (default) -- no media query */

/* general styles */
.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;
}

.external-social-media div:after  { /*reset the clear-fix for this element */
	content: "";
}

/* 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: 1em .25em 0 0;
	vertical-align: top;
}

.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%;
	min-width: 32px;
	margin: 0 .25em 1em 0;
	text-align: center;
	vertical-align: top;
}

.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 1em 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;
}

/* 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: 74%;
		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,
	.social-tagline .external-social-media a img {
		max-width: 100%;
		height: auto;
		vertical-align: top;
	}
		
	.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 .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;
		max-width: 100%;
		min-width: 32px;
		margin: 1em .25em 1em 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: .25em;
		width: 100%;
		text-align: center;
	}
	
	.social-tagline .local-social-media a img {
		margin-left: 0;
	}
	
	.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 {
		margin-bottom: 1em;
		margin-right: 0;
		float: left;
		max-width: 100%;
		word-wrap: break-word;
	}
	
	.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: 0 .25em 1.5em 0;
		vertical-align: top;
	}
	
	.social-menu .external-social-media iframe {
		margin-top: 1.5em;
	}
	
	.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%;                                                                  
	}
	
	.social-right .external-social-media {
		clear: none; /*starts to right of title, so no clear needed */
		margin-bottom: .5em;
		width: 100%;
		overflow: hidden;
		vertical-align: top;
	}

	.social-right .local-social-media,
	.social-right .external-social-media  {
		text-align: right;
		float: right;
	}
	
	.social-right .external-social-media span,
	.social-right .external-social-media iframe,
	.social-right .external-social-media div,
	.social-right .external-social-media > a,
	.social-right .external-social-media > a img {
		clear: none;
		max-width: 100%;
		min-width: 32px;
		margin: .25em .25em .25em 0;
	}

	.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-footer .external-social-media {
		width: 100%;
		padding-left: 2em;
	}

	.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;
	}
	
}

.external-social-media span {
	min-width: 32px;
}
