@charset 'utf-8';

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

body.posts #posts .post {
	position: relative;
}

body.posts .navbar .nav.for-posts {
	display:block;
}

body.posts #posts .post_main {
	display: block;
	margin: 7px 7px 0 7px;
}

body.posts #posts .post_main,
body.posts #posts .post_user,
body.posts #posts .post_info {
	background: white;
}

body.posts #posts .post_main_link {
	color: #666;
	text-decoration: none;
}

body.posts #posts .post_question_link {
	text-decoration: none;
}

body.use-hover.posts #posts .post_question_link:hover
body.use-hover.posts #posts .post_main_link:hover {
	text-decoration: none;
}

body.posts #posts .post_user {
	display: block;
	padding: 7px;
	overflow: hidden;
	position: relative;
}

body.posts #posts .post_user_link {
	color: #666;
	text-decoration: none;
	position: relative;
	display: block;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.use-hover body.posts #posts .post_user_link:hover {
	color: #666;
	text-decoration: none;
}

body.posts #posts .post_user_link img {
	width: 24px;
	height: 24px;
	/* border-radius: 4px;  for IE8 bug*/
}

body.posts #posts .post_user_name {
	white-space: nowrap;
}

body.posts #posts .post_user_link .btn {
	padding: 2px 5px 2px;
}

body.posts #posts .post_user_link {
	overflow: hidden;
}

body.posts #posts .heads_marker {
	/*
	color: white;
	background: #999;
	*/
	color:#666;
	background: #f8f8f8;

	padding: 1px 7px 0 7px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.posts #posts .heads_marker a:hover,
body.posts #posts .heads_marker a {
	color: #666;
	text-decoration: none;
}

body.posts #posts .heads_marker [class^="icon-"],
body.posts #posts .heads_marker [class^=" icon-"] {
	color: inherit;
	font-size: 100%;
	margin-right: 0.35em;
	position: relative;
	top: -1px;
}

body.posts #posts .heads_marker.user_type {
	/* background: #333; */
	/* background: #ccc; */
}

body.posts #posts .post .pinned {
	position: absolute;
	/* top: -8px; */
	top: 7px;
	left: 7px;
	
	height: 20px;
	width: 20px;
	margin-bottom: -20px;
	
	font-size: 14px;
	line-height: 14px;
	
	text-align: center;
}

html.is-mobile body.posts.stream #posts .post .pinned {
	top: -2px;
}

body.posts #posts .post .pinned [class^="icon-"],
body.posts #posts .post .pinned [class*=" icon-"] {
	color: #666;
}
/* body.posts #posts .post.has_image .pinned .icon-pushpin { */
body.posts #posts .pinned .icon-pushpin {
/* IEではうまくいかない */
	text-shadow: -1px -1px 1px #fff, 1px -1px 1px #fff, -1px 1px 1px #fff, 1px 1px 1px #fff;
}

body.posts #posts .post .popular {
	/*
	position: absolute;
	z-index: 5;
	top: 0;
	left: 0;
	*/
	position: relative;
	margin-bottom: -20px;
	
	color: red;
	font-size: 24px;
}

body.posts #posts .post>a.post_link {
	display: block;
	color: #888;
	text-decoration: none;
	padding: 10px;
	color: #888;
}

body.posts #posts .post .post_title {
	/* margin: 0 0 8px 0; */
	margin: 12px 0 0 0;
	font-size: 150%;
	line-height: 150%;
	color: #666;
	overflow: hidden;
}
body.posts #posts .post.noimage .post_title {
	margin-top: 0;
}

body.posts #posts .post .post_file_name {
	font-size:120%;
	line-height:120%;
	margin-top:5px;
}
body.posts #posts .post .post_file_name img.post_file_icon {
	height: 1em;
	vertical-align: baseline;
}

body.posts #posts .post .post_pic {
	position: relative;
	border-bottom: 1px solid #ddd;
}

body.posts #posts .post.has_embed .post_pic {
	border-bottom: none;
}

body.posts #posts .post .post_pic img {
	display: block;
	width: 100%;
	height: auto;
	/* margin: 5px auto; */
	margin: 0 auto;
}

body.posts #posts .post .post_link_marker {
	float: right;
}
body.posts #posts .post .post_link_marker [class^="icon-"]{
	color: #888;
}

/* body.posts #posts .post .post_pic */ .post_image_marker {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -32px;
	margin-left: -32px;
}

/* body.posts #posts .post .post_pic */ .post_image_marker [class^='icon-']{
	font-size: 64px;
	line-height: 64px;
	height: 1em;
	width: 1em;
	color: white;
	-webkit-opacity: 0.75;
	-moz-opacity: 0.75;
	-ms-filter: "alpha(opacity=75)";
	filter: alpha(opacity=75);
	opacity: 0.75;
}

body.posts #posts .post .post_message {
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 7px 0;
	line-height: 1.6em;
}

body.posts #posts .post .post_info {
	color: #aaa;
}

body.posts #posts .post .post_info .post_created_at {
	padding-right: 5px;
}

body.posts #posts .post .post_info .post_score {
	float: right;
	font-weight: bold;
	font-size: 150%;
	margin-left: 10px;
}

body.posts #posts .post.is_freezed {
}

body.posts #posts .post.is_freezed > * {
	display: none !important;
}

body.posts #posts .post.is_freezed > .for-freezed {
	display: block !important;
	height: 1em;
	line-height: 1em;
	padding: 7px;
	-webkit-opacity: 0.5;
	-moz-opacity: 0.5;
	-ms-filter: "alpha(opacity=50)";
	filter: alpha(opacity=50);
	opacity: 0.5;
}

body.posts #posts .post.is_freezed > .for-freezed > a,
body.posts #posts .post.is_freezed > .for-freezed > a:hover,
body.posts #posts .post.is_freezed > .for-freezed > a:active {
	text-align: center;
	display: block;
	color: #888;
	background: #eee;
	text-decoration: none;
	padding: 2px;
}

/* @media ( max-width:568px ) { */
	html.is-mobile body.posts #posts .post {
		float: none;
		width: auto;
	}
	html.is-mobile body.posts #posts .post.double {
		font-size: inherit;
		line-width: inherit;
		width: auto;
	}
/* } */

body.tenant-type-public.posts #posts .post .post_score {
	display: none;
}


