@charset 'utf-8';

body.posts #posts.vgrid {
	/*
	margin-left: auto;
	margin-right: auto;
	position: relative;
	*/
	/* left: -7px; */
	margin-left: -7px;
	margin-right: -7px;
}

body.user.posts #posts.vgrid {
	top: -7px;
}

html.is-mobile body.posts #posts.vgrid {
	left: 0;
	margin-left:-5px;
	margin-right: -5px;
}

body.posts #posts.vgrid .for-vgrid {
	display: inherit;
}

body.posts #posts.vgrid .post {
	padding: 0;
	margin: 0;
	/* for masonry */
	float: left;
	margin: 0;
}

body.posts #posts.vgrid .post {
	width: auto;
	/* override by common.js */
}

body.posts #posts.vgrid .post.double {
	font-size: 150%;
	line-height: 150%;
	
	/* width: 440px; */
	
}

body.posts #posts.vgrid .post > .post_main,
body.posts #posts.vgrid .post > .post_user,
body.posts #posts.vgrid .post > .post_info,
body.posts #posts.vgrid .post > .post_user_manip,
body.posts #posts.vgrid .post > .heads_markers {
	margin-left: 7px;
	margin-right: 7px;
}

body.posts #posts.vgrid .post > .post_main,
body.posts #posts.vgrid .post > .post_user,
body.posts #posts.vgrid .post > .post_info,
body.posts #posts.vgrid .post > .post_user_manip {
	border: 1px solid #ccc;
	padding: 10px;
}

body.posts #posts.vgrid .post > .heads_markers {
	margin-top: 1px;
}

body.posts #posts.vgrid .post > .heads_markers > .heads_marker {
	padding: 4px 10px 2px 10px;
	border: 1px solid #ccc;
	border-top: none;
	margin-top: -1px;
	line-height: 1em;
}

body.posts #posts.vgrid .post > .heads_markers > .heads_marker.tmpl_disabled {
	margin-top: 0;
}

body.posts #posts.vgrid .post_main {
}

body.posts #posts.vgrid .post > .post_user,
body.posts #posts.vgrid .post > .post_info {
	border-top-width: 0;
	border-bottom-width: 0;
}

body.posts #posts.vgrid .post > .heads_marker > .heads_marker {
	border-top-width: 0;
}

body.posts #posts.vgrid .post > .post_user,
body.posts #posts.vgrid .post > .post_info {
	padding-top: 4px;
	padding-bottom: 4px;
}

body.posts #posts.vgrid .post > .post_user_manip {
	border-top-width: 0;
	padding-top: 4px;
	padding-bottom: 4px;
}

body.posts #posts.vgrid .post_user {
	position: relative;
	color: #666;
	text-decoration: none;
	
	overflow: hidden;
	*zoom: 1;
}

html.is-touch-device body.posts #posts.vgrid .post_user {
	min-height:35px;
}

body.posts #posts.vgrid .post_user_link img {
	margin-right: 5px;
	float: left;
}

body.posts #posts.vgrid .post_user_name {
	font-size: 110%;
	display: block;
	line-height: 1.1em;
}

body.posts #posts.vgrid .post_created_at {
	display: block;
	line-height: 1.3em;
	font-size: inherit;
	color: #ccc;
	text-align: right;
}

body.posts #posts.vgrid .post_user_link {
	display: block;
	width: auto;
}

body.posts #posts.vgrid .post_info > span + span {
	margin-left: 1em;
}

body.posts #posts.vgrid .post_user_manip {
	background: #f8f8f8;
}

body.posts #posts.vgrid .post_user_manip > a {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	width: 33%;
	position: relative;
	display: inline-block;
	text-align: left;
	
	color: #888;
}

html.is-mobile body.posts #posts.vgrid .post_user_manip > a,
html.is-touch-device body.posts #posts.vgrid .post_user_manip > a {
	font-size: 11px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

/* firefox bug workaround */
body.posts.ua-mozilla #posts.vgrid .post_user_manip .btn-group:after {
	clear: none;
}

body.posts #posts.vgrid .post .post_pic {
	margin: -10px -10px 10px -10px;
}
body.posts #posts.vgrid .post .post_pic img {
	margin: 0 0 0 0;
}

body.posts #posts.vgrid .post .post_pic .post_message_box {
	position: absolute;
	max-height: 90%;
	width: 100%;
	left: 0;
	bottom: 0;
	background: white;
	overflow: hidden;
	display: none;
	
	-webkit-opacity: 0.75;
	-moz-opacity: 0.75;
	-ms-filter: "alpha(opacity=75)";
	filter: alpha(opacity=75);
	opacity: 0.75;
}

body.use-hover body.posts #posts.vgrid .post .post_main_link:hover .post_pic .post_message_box {
	display: block;
}

body.posts #posts.vgrid .post .post_pic .post_message_box .post_message {
	padding: 5px;
	height: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.posts #posts.vgrid .post.post_type_1 .post_message p {
	clear:both;
}

p.dropcap {
	line-height: 1.8em;
}

p.dropcap:first-letter {
	float:left;
	/* font-size: 28px; /* 10px * 2 + 8px; */
	/* line-height: 36px; /* 28px + 8px; */
	font-size: 2.8em;
	line-height: 1em;
	margin-right: 5px;
}

/* @media ( max-width:568px ) { */

	html.is-mobile body.posts #posts.vgrid .post {
		width: 153px; /* overwrite by common.js */
		/* font-size: 65%; */
	}
	html.is-mobile body.posts #posts.vgrid .post + .post {
		margin-bottom: 15px;
	}
	
	html.is-mobile body.posts #posts.vgrid .post.double {
		width: 306px; /* overwrite by common.js */
		/* font-size: 80%; */
	}
	
	html.is-mobile body.posts #posts.vgrid .post > .post_main,
	html.is-mobile body.posts #posts.vgrid .post > .post_user,
	html.is-mobile body.posts #posts.vgrid .post > .post_info,
	html.is-mobile body.posts #posts.vgrid .post > .post_user_manip {
		margin-left: 5px;
		margin-right: 5px;
		padding: 7px;
	}
	
	html.is-mobile body.posts #posts.vgrid .post > .heads_markers {
		margin-left: 5px;
		margin-right: 5px;
	}
	
	html.is-mobile body.posts #posts.vgrid .post > .post_main {
		margin-top: 5px;
	}
	
	html.is-mobile body.posts #posts.vgrid .post .post_title {
		font-size: 120%;
		line-height: 140%;
		margin-bottom: 7px;
		font-weight: bold;
	}
	
	html.is-mobile body.posts #posts.vgrid .post.noimage .post_title {
		margin-top: 7px;
		font-size: 130%;
		line-height: 140%;
	}
	html.is-mobile body.posts #posts.vgrid .post .post_pic {
		margin: -7px -7px 7px -7px;
		overflow: hidden;
	}
	
	html.is-mobile body.posts #posts.vgrid .post_user_link {
		height: 36px;
		font-size;
	}
	html.is-mobile body.posts #posts.vgrid .post_user_link img {
		width: 36px;
		height: 36px;
		float: left;
		margin-right: 10px;
	}
	
	html.is-mobile body.posts #posts.vgrid .post_user_link .post_user_name {
		display:block;
		margin-right: 58px;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	
	html.is-mobile body.posts #posts.vgrid .post_user_manip {
	}
	
	html.is-mobile body.posts #posts.vgrid .post_user_manip .btn-group {
		display:inline-block;
	}
	
/* } */