/**
* Topic Preview - Latte Pendragon Theme
*
* Color schema:
* backgrounds: #ffffff
* borders:     #cecece
* box shadows: #cecece
* font colors: #333333
*/
.topic_preview_container {
	font-size: 11px;
	font-style: normal;
	text-decoration: none;
	text-shadow: 1px 1px 2px #836D59;
	border-radius: 4px;
	background-color: rgba(131, 109, 89, 0.95);
	background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.25) 0, rgba(255, 255, 255, 0) 100%);
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 0, rgba(255, 255, 255, 0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#40FFFFFF', endColorstr='#00FFFFFF');
	color: #FFF;
	position: absolute;
	z-index: 10;
	display: none;
	min-width: 40px;
	margin-left: -40px;
	padding: 10px;
}

.topic_preview_container:before {
	/* Upper Triangle */
	background: #A08F81;
	border: 0;
	border-top: 1px solid #A08F81;
	border-right: 1px solid #A08F81;
	position: absolute;
	display: block;
	width: 10px;
	height: 10px;
	margin-top: -16px;
	margin-left: 15px;
	content: "";
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.topic_preview_container.invert:after {
	/* Lower Triangle */
	background: #836D59;
	border: 0;
	border-bottom: 1px solid #836D59;
	border-left: 1px solid #836D59;
	position: absolute;
	top: 100%;
	display: block;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	margin-left: 15px;
	content: "";
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.topic_preview_container.invert:before {
	/* Hide upper triangle */
	display: none;
	content: "";
}

.topic_preview_container hr {
	margin: 5px 0;
}

/* Avatars and Text */
.topic_preview_avatar {
	position: relative;
	float: left;
	width: 60px;
	height: 60px;
	margin: 0 12px 2px 0;
}

.topic_preview_avatar img {
	border: solid 1px #A38C77;
	width: auto;
	max-width: 60px;
	height: auto;
	max-height: 60px;
}

.topic_preview_avatar.rtl {
	/* rtl languages */
	float: right;
	margin: 0 0 2px 12px;
}

.topic_preview_first,
.topic_preview_last {
	word-wrap: break-word;
	overflow: hidden;
	max-height: 200px;
}

.topic_preview_break {
	font-size: 0;
	display: block;
	clear: both;
	width: 100%;
	height: 0;
	margin: 0;
	padding: 5px 0;
}

/* Pure CSS no-avatar */
.topic_preview_no_avatar {
	background: #625040 url('images/no_avatar_eso.png') !important;
	box-shadow: 0 0 0 1px #625040;
	position: relative;
	overflow: hidden;
	width: 60px;
	height: 60px;
}

/* Pure CSS no-avatar body */
/*.topic_preview_no_avatar:before {
	background: #b2bec6 url("images/no_avatar.gif") center center no-repeat !important;
	border-radius: 100%;
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 80%;
	height: 80%;
	margin: 0 0 -35% -40%;
	content: "";
} */

/* Pure CSS no-avatar head */
/*.topic_preview_no_avatar:after {
	background: #F5F3EB;
	border-radius: 50%;
	box-shadow: 0 0 0 3px #b2bec6;
	position: absolute;
	top: 10%;
	left: 50%;
	width: 50%;
	height: 50%;
	margin: 0 0 0 -25%;
	content: "";
} */

/* responsive design */
@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {
	.topic_preview_container {
		max-width: 300px;
	}
}

@media only screen and (max-width: 360px), only screen and (max-device-width: 360px) {
	.topic_preview_container {
		max-width: 220px;
	}
}
