body {
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
	line-height: 1.5;
	font-size: 11px;
	color: #333333;
	padding: 0px;
	margin: 0px;
	word-break: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}

a {
	color: #003366;  
	text-decoration: none; font-weight: bold;
}
a:hover{
	text-decoration: underline; 
}
a img{
	border: 0px;
}

/* Honey pot */
a.hp {
	display: none;
}

#friends2follow_widget_postfeed_wrapper{
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	overflow: auto;
	overflow-y: scroll; /* has to be scroll, not auto */
	-webkit-overflow-scrolling: touch;
	padding: 0px 8px 8px 8px;
}

.live_news_item{
	margin: 14px 0px;
	overflow: hidden;
}
.live_news_item:last-child{
	border-bottom: 0px;
}

.live_news_item .time{
	display: block;
	color: #6a6a6a;
	border-top: 1px solid #eeeeee;
	background-color: #f6f6f6;
	text-align: center;
	margin-bottom: 6px;
	margin-top: 2px; /* Odd overflow issue */
	hyphens: auto;
}
.live_news_item .avatar,
.live_news_item .photo{
	float: left;
	clear: left;
	margin: 4px 10px 4px 0px;
}
.live_news_item .avatar{
	width: 32px;
}
.live_news_item .photo{
	max-width: 45%;
}
.live_news_item .username{
	color: #333333;
}
.live_news_item h5 {
	font-size: 11px;  
	margin: 0px;  
	padding-bottom: 2px;
}
.live_news_item p{
	margin: 0px;
}

.live_news_item.instagram p.caption{
	padding-bottom: 2px;
}

.logo img {
	max-width: 100%; 
	height: auto;
	margin: 12px auto 6px auto;
	display: block;
}

.live_news_item.sponsor .time{
	padding-bottom: 12px;
	background: url('../img/sponsor_tag.png') no-repeat center 16px;
}

#friends2follow_self_service_cta{
	opacity: 0;
	position: fixed;
	bottom: 20px;
	width: 100%;
	text-align: center;
	z-index: 9997;
}
#friends2follow_self_service_cta.active {
	opacity: 1;
	transition: opacity .5s ease-in-out;
   -moz-transition: opacity .5s ease-in-out;
   -webkit-transition: opacity .5s ease-in-out;
}
#friends2follow_self_service_cta.shake {
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
   animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-name: shake;
  -webkit-animation-name: shake;
  -moz-animation-name: shake;
}
#friends2follow_self_service_cta a{
	padding: 10px;
	border-radius: 20px;
}
#friends2follow_self_service_cta .bubble{
	display: none;
	white-space:nowrap;
	position: absolute;
	top: -56px;
	padding: 10px;
	/* This is overwritten based on verbage length */
	left: -140px;
	border-radius: 3px;
}
#friends2follow_self_service_cta .bubble:after {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(255, 255, 255, 0);
	border-top-color: #ffffff;
	border-width: 6px;
	margin-left: -6px;
}
#friends2follow_self_service_cta a:hover .bubble{
	display: block;
}

#friends2follow_self_service_modal_vale{
	display: none;
	background-color: #ffffff;
	position: fixed;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	opacity: 0.6;
	z-index: 9998;
}

#friends2follow_self_service_modal {
	display: none;
	position: fixed;
	z-index: 9999;
	width:100%;
	height: 100%;
}
#friends2follow_self_service_modal .modal_wrapper{
	display: table;
	width: 100%;
	height: 100%;
}
#friends2follow_self_service_modal .modal_content{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
#friends2follow_self_service_modal .modal_content .modal_body{
	display: block;
	position: relative;
	text-align: left;
	max-width: 450px;
	margin: 22px 16px;
	padding: 22px 26px;
	background-color: white;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px; /* future proofing */
	-khtml-border-radius: 3px; /* for old Konqueror browsers */
}
#friends2follow_self_service_modal .modal_content .modal_close{
	position: absolute;
	top: -12px;
	right: -12px;
}
#friends2follow_self_service_modal .modal_content .modal_close a{
	color: #FFF;
	background-color: #2C3E50;
	border: 2px solid #FFF;
	border-radius: 20px;
	padding: 8px;
}

#friends2follow_powered_by{
	position: fixed;
	bottom: 0px;
	width: 100%;
	background-color: none;
	text-align: right;
	font-size: 10px;
	color: #cccccc;
	display: none;
}
#friends2follow_powered_by a{
	color: #cccccc;
}

#postfeed-loading{
   box-sizing: border-box;
	position: fixed;
	bottom: 50px;
	left: 50%;
	margin-left: -60px;
    width: 110px;
	z-index: 999;
	font-size: 12px;
	font-weight: bold;
	color: black;
	padding: 8px 18px;
	text-align: center;
	background-color: white;
	-moz-box-shadow:    0px 0px 7px 2px #bbbbbb;
	-webkit-box-shadow: 0px 0px 7px 2px #bbbbbb;
	box-shadow:         0px 0px 7px 2px #bbbbbb;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px; /* future proofing */
	-khtml-border-radius: 3px; /* for old Konqueror browsers */
}

/**** Shake animation for "Add my Business CTA" ****/
@keyframes shake {
  from, to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  20%, 40%, 60%, 80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
}

@media only screen and (min-width: 250px) and (min-device-width: 250px){

	.live_news_item{
		margin: 0px;
		padding: 10px 0px 10px 55px;
		position: relative;
		border-bottom: 1px solid #eeeeee;
	}
	.live_news_item:last-child{
		border-bottom: 0px;
		padding-bottom: 0px;
	}
	.live_news_item .time{
		left: 0;
		top: 12px;
		position: absolute;
		width: 47px;
		border: 0px;
		margin-bottom: 0px;
		margin-top: 0px;
		text-align: left;
		background: none;
	}

	.live_news_item.sponsor .time{
		padding-bottom: 12px;
		background-position: bottom left;
	}

	#friends2follow_self_service_cta{
		right: 26px;
		width: auto;
	}
	#friends2follow_self_service_cta .bubble{
		top: -10px;
	}
	#friends2follow_self_service_cta .bubble:after {
		left: 100%;
		top: 50%;
		border: solid transparent;
		content: " ";
		height: 0;
		width: 0;
		position: absolute;
		pointer-events: none;
		border-color: rgba(255, 255, 255, 0);
		border-left-color: #ffffff;
		border-width: 6px;
		margin-top: -6px;
		margin-left: 0px;
	}

	#postfeed-loading{
		margin-left: -86px;
		width: 172px;
		font-size: 16px;
	}

}

/* Wide and tall enough for "Powered by" (IAB Half-Page)*/
@media screen and (min-width: 300px) and (min-device-width: 300px) and (min-height: 600px) {
	
	#friends2follow_widget_postfeed_wrapper{
		margin-bottom: 16px;
	}
	#friends2follow_self_service_cta{
		bottom: 36px;
	}
	#friends2follow_powered_by{
		display: block;
	}

}

@media only screen and (min-width: 400px) and (min-device-width: 400px){
	
	.live_news_item .avatar{
		width: 40px;
	}

	#postfeed-loading{
		margin-left: -125px;
		width: 250px;
		font-size: 24px;
	}

}

@media only screen and (min-width: 500px) and (min-device-width: 500px){
	
	body {
		font-size: 12px;
	}
	.live_news_item .time{
		font-size: 11px;
	}
	.live_news_item{
		padding: 12px 0px 12px 55px;
	}

	#postfeed-loading{
		margin-left: -135px;
		width: 270px;
		font-size: 26px;
	}

}

/* Self Service modal needs to be horizonally centered */
@media screen and (min-width: 532px) and (min-device-width: 532px) {

	#friends2follow_self_service_modal .modal_content .modal_body{
		margin: 22px auto;
	}
	
}

