@font-face {
    font-family: 'Gentium Basic';
    src: url('../fonts/GentiumBasic-Regular.eot');
    src: url('../fonts/GentiumBasic-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/GentiumBasic-Regular.woff') format('woff'),
         url('../fonts/GentiumBasic-Regular.ttf') format('truetype'),
         url('../fonts/GentiumBasic-Regular.svg#Catamaran-Regular') format('svg');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}
body {
	background: #ffffff;
	color: #ffffff;
	border: none;
	padding: 0;
	font-family: 'Gentium Basic',Helvetica,Arial,sans-serif;
  font-size: 100%;
	margin: 0;
	line-height: 1.25;
}

.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.itemtoggle {
	background-color: red;
}

.itemtoggle.active {
	background-color: white;
}

#loadingholder {
	top: 0;
	left: 0;
	width: 100%;
	position: absolute;
	z-index: 2;
	display: block;
}

#loading {
	width: 48px;
	margin: 0 auto;
}

#var {
	display: none;
	width: 4px;
}

@keyframes flash {
	from {
		background: rgba(0,0,0,1);
	}
	to {
		background: rgba(0,0,0,0);
	}
}
@-webkit-keyframes flash {
	from {
		background: rgba(0,0,0,1);
	}
	to {
		background: rgba(0,0,0,0);
	}
}

.dot {
	background: rgba(255,255,255,0);
	height: 12px;
	width: 12px;
	border-radius: 6px;
	display: inline-block;
	animation-name: flash;
	animation-iteration-count: infinite;
	animation-duration: 2000ms;
	-webkit-animation-name: flash;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-duration: 2000ms;
}

.dot:not(:last-child) { margin-right: 6px; }
.dot:first-child { background: black; }
.dot:nth-child(2) {
	animation-delay: 500ms;
	-webkit-animation-delay: 500ms;
}

.dot:nth-child(3) {
	animation-delay: 1000ms;
	-webkit-animation-delay: 1000ms;
}


#header {
	width: 100%;
	height: 80px;
	overflow: hidden;
	padding: 0;
	display: block;
	list-style: none;
}

#branding {
	width: 160px;
	height: 48px;

	margin: 7px;
	float: left;
}

#selectors {
	float: right;
	height: 48px;
	line-height: 48px;
	margin: 7px;
}

#share {
	float: right;
	height: 25px;
}

#share img {
	margin-left: 15px;
	border: none;
}

#container {
	margin: 0 auto;
	padding: 0;
	height: 100%;
}

#grid {
	width: 100%;
	overflow: hidden;
	list-style: none;
	padding: 0;
	margin: 0;
}

#grid ul { list-style-type: none; }

#grid li {
	list-style: none;
	display: block;
	float: left;
	padding: 0;
	opacity: 1;
}

#grid li.double {
	width: 550px;
	height: 550px;
	list-style: none;
	display: block;
	float: left;
	padding: 0;
	opacity: 1;
}


#grid li.shown,
.no-js #grid li,
.no-cssanimations #grid li { opacity: 1; }


#grid li div.messageItem {
	outline: none;
	border: none;
	display: block;
	max-width: 100%;
}

.avatar {
	flex: 0 0 17%;
	margin-top: 1.5%;
}

.avatar img {
	width: 100%;
	border-radius: 50%;
}

.user_screen_name, .date {
  font-size: 75%;
}

.media {
	border: 1px solid #B1B3B3;
}


#grid li media img {
	outline: none;
	display: block;
	max-width: 100%;
}

#grid li media video {
	outline: none;
	display: block;
	max-width: 100%;
}


.messageItem {
	overflow: hidden;
	background-image: url(../img/logo.png);
	background-size: cover;
}

.message {
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.message > a {
	display: inline-block;
	width: 100%;
	height: 100%;
}

.double .message {
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-size: 140%;
}

.message-text {
	position: absolute;
	overflow: hidden;
	display: block;
	position: absolute;
	text-align: center;
	top: 0;
	font-size: 105%;
	padding: 3%;
	box-sizing: border-box;
	margin-top: 30%;
	height: 75%;
	width: 100%;
}

.message-content {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	overflow: hidden;
}

.message-content.sliding {
	top: 100%;
}

.message:hover .message-content.sliding:not(.top) {
	transition: top 0.2s ease-in-out;
	-moz-transition: top 0.2s ease-in-out;
	-webkit-transition: top 0.2s ease-in-out;
}

.message:hover .message-content.sliding:not(.top) {
	top: 80%;
}

.twitterItemWebIntents .message:hover .message-content.sliding:not(.top) {
	top: 72%;
}

.message-content.sliding.top {
	top: 0;
	transition: top 0.2s ease-in-out;
	-moz-transition: top 0.2s ease-in-out;
	-webkit-transition: top 0.2s ease-in-out;
}

.message-meta {
	width: 100%;
	height: 20%;
	display: flex;
	align-items: stretch;
	position: relative;
	padding: 0 3%;
	box-sizing: border-box;
	line-height: .85;
}

.message-meta .meta-text {
	padding: 2% 0 0 2%;
	flex: 1;
	box-sizing: border-box;
}

.context-btn {
  margin: -2px 0 0 0;
	float: right;
	border: none;
	cursor: pointer;
	outline:0;
	padding: 0 2px 0 2px;
}
a.context-btn {
  padding-top: 4px;
}

button.context-btn {
  font-size: 115%;
  padding-top:0;
	background-color: transparent;
}

.source {
	font-size: 130%;
	text-align: right;
	/* right: 0; */
	/* bottom: 1%; */
	margin-right: 5px;
}

.source_instagram:before {
	font-family: FontAwesome;
	content: "\f16d";
}
.source_facebook:before {
	font-family: FontAwesome;
	content: "\f230";
}
.source_twitter:before {
	font-family: FontAwesome;
	content: "\f099";
}
.source_youtube:before {
	font-family: FontAwesome;
	content: "\f167";
}

.source.expanded, .twitter_webintent.expanded {
	width: 40px;
	height: 40px;
	margin: 4px;
}

.media {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.video {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	display: flex;
}

.video-controls {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.video-controls.hide {
	display: none;
}

.video-controls button {
	position: absolute;
	display: block;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	cursor: pointer;
	z-index: 4;
	background-color: transparent;
	background-image: none;
	width: 30%;
	height: 30%;
	background-size: contain;
	border: none;
  outline:0;
}
.video-controls button[data-video="play"] {
	background-image: url('../img/play_button.svg');
}
.video-controls button[data-video="pause"] {
	display: none;
	background-image: url('../img/pause_button.svg');
}
.message:hover .video-controls button[data-video="pause"] {
	display: block;
}

.video video {
	position: relative;
	max-height: 100%;
	max-width: 100%;
	background-size: contain;
	overflow: hidden;
}

.media img {
	position: absolute;
	border: none;
	width: 100%;
	height: 100%;
	opacity: 0;
}
.social_share {
	bottom:0;
	height: 8%;
  width: 100%;
  background-color: rgba(255,255,255,0.8);
}
.twitter_webintent {
	height: 100%;
	width: 25%;
	display: inline-block;
	background-size: contain;
	background-repeat: no-repeat;
	margin: 2px 4px 0px 4px;
	float: right;
	outline: none;
}

.twitter_reply {
	background-image: url('../img/twitter.reply.svg');
}

.twitter_reply:hover {
	background-image: url('../img/twitter.reply.hover.svg');
}

.twitter_reply:active {
	background-image: url('../img/twitter.reply.hover.svg');
}


.twitter_retweet {
	background-image: url('../img/twitter.retweet.svg');
}

.twitter_retweet:hover {
	background-image: url('../img/twitter.retweet.hover.svg');
}

.twitter_retweet:active {
	background-image: url('../img/twitter.retweet.active.svg');
}


.twitter_like {
	background-image: url('../img/twitter.like.svg');
}

.twitter_like:hover {
	background-image: url('../img/twitter.like.hover.svg');
}
.twitter_like:active {
	background-image: url('../img/twitter.like.active.svg');
}





a {
	border: 0px;
	color: inherit;
}

.message a {
	text-decoration: none;
	color: inherit;
}

.message a:hover {
	text-decoration: underline;
}

.left {
	width: 50%;
	float: left;
}

.left img { width: 50%; }

.right {
	width: 50%;
	float: right;
	text-align: right;
}

#sub {
	font-weight: bold;
	font-size: 2em;
	color: rgb(225,17,86);
}

#footer {
	margin: 2em auto;
}

.overlay_copy {
	color: #3c3c3c;
	font-weight: bold;
	font-size: 13px;
}

.overlay_share {
	font-family: arial, sans-serif;
	font-size: 14px;
	font-weight: normal;
	margin-right: 20px;
	margin: 10px 15px 0px 0px;
	line-height: 30px;
	float: left;
}

.overlay_share a .linkLabel {
	text-decoration: underline;
}

.twittershare, .facebookshare {
	margin-right: 1em;
	display: none;
}
.fb_display {
	max-height: 80%;
	max-width: 640px;
	display: flex;
}
.fb_display_media {
	flex: 1 1 60%;
	color: #333;
	text-align: center;
}
.fb_display_media video, .fb_display_left img {
	width: 100%;
}
.fb_display_meta {
	flex: 1 1 40%;
	position: relative;
}
.fb_display_meta .meta-text {
	padding-top: 10px;
}
.fb_display_meta .meta-text {
	color: #333;
	margin-left: 95px;
	font-size: 18px;
}
.fb_display_meta .avatar {
	width: 60px;
	margin-top: 14px;
}
.fb_display_meta .meta-message {
	color: #333;
	padding: 15px;
	font-size: 20px;
}
.img-responsive {
	width: 100%;
}
.user_name {
	position: absolute;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	width: 63%;
	padding-top: 2px;
}

@media (max-device-width: 768px) {
	.fb_display {
		max-height: 100%;
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	.message-meta .meta-text {
		font-size: 60%;
	}
 .message-text {
		font-size: 80%;
	}
}
