@charset 'utf-8';

/**********共通***********/

html.is-mobile body.posts.gallery #header {
	margin-bottom: 0;
}

body.posts.gallery #posts.vgrid {
	/* padding-top: 15px; */
}

body.posts.gallery #posts.vgrid .post {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/* padding: 2px 0 0 2px; */
	padding:0;
	float: left;
}

body.posts.gallery #posts.vgrid .post_main_link {
	display: block;
}

body.posts.gallery #posts.vgrid .post > .post_main {
	padding:0;
	margin: 0;
	/* border-bottom: 1px solid #ccc !important; */
	border: none;
}

body.posts.gallery #posts.vgrid .post .post_pic {
	border: none;
}

body.posts.gallery #posts.vgrid .post.noimage .post_title {
	font-weight: bold;
}

body.posts.gallery #posts.vgrid .post.noimage:nth-child(6n) > .post_main *,
body.posts.gallery #posts.vgrid .post.noimage:nth-child(6n) > .post_main {
	background: #555555;
	color: #ddd;
}
body.posts.gallery #posts.vgrid .post.noimage:nth-child(6n+2) > .post_main *,
body.posts.gallery #posts.vgrid .post.noimage:nth-child(6n+2) > .post_main {
	background: #666666;
	color: #eee;
}
body.posts.gallery #posts.vgrid .post.noimage:nth-child(6n+4) > .post_main *,
body.posts.gallery #posts.vgrid .post.noimage:nth-child(6n+4) > .post_main {
	background: #cccccc;
	color: #222;
}
body.posts.gallery #posts.vgrid .post.noimage:nth-child(6n+1) > .post_main *,
body.posts.gallery #posts.vgrid .post.noimage:nth-child(6n+1) > .post_main {
	background: #d3d3d3;
	color: #222;
}
body.posts.gallery #posts.vgrid .post.noimage:nth-child(6n+3) > .post_main *,
body.posts.gallery #posts.vgrid .post.noimage:nth-child(6n+3) > .post_main {
	background: #dddddd;
	color: #222;
}

body.posts.gallery #posts.vgrid .post.noimage:nth-child(6n+5) > .post_main > *,
body.posts.gallery #posts.vgrid .post.noimage:nth-child(6n+5) > .post_main {
	background: white;
	color: #222;
}

body.posts.gallery #posts.vgrid .post.noimage > .post_main {
	padding: 10px;
}

body.posts.gallery #posts.vgrid .post.has_image > .post_main {
	border: none;
}

body.posts.gallery #posts.vgrid > .post .post_user,
body.posts.gallery #posts.vgrid > .post .post_info,
body.posts.gallery #posts.vgrid > .post .post_user_manip,
body.posts.gallery #posts.vgrid > .post .heads_markers {
	display: none !important;
}

body.posts.gallery #posts.vgrid .post .post_pic {
	margin: 0;
}

body.posts.gallery #posts.vgrid > .post.has_image.has_question .post_question_result,
body.posts.gallery #posts.vgrid > .post.has_image .post_link_marker,
body.posts.gallery #posts.vgrid > .post.has_image .post_message,
body.posts.gallery #posts.vgrid > .post.has_image .post_title {
	display: none !important;
}

/********** mob **********/

html.is-mobile body.posts.gallery #main-container {
}

html.is-mobile body.posts.gallery #list {
	padding-left: 0!important;
	padding-right: 0!important;
	/* background: #f0f0f0; */
	/*
	padding-top: 6px;
	*/
	margin-left: -7px;
	margin-right: -7px;
	width: 100vw;
}

html.is-mobile body.posts.gallery #posts.vgrid {
	/* margin: 6px; */
	margin: 0;
	left: auto;
	/* margin-right: 6px; */
}

/* |6|xxx|6|xxx|6| */
html.is-mobile body.posts.gallery #posts.vgrid .post {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	
	width: 50%;
	
	display: block;
	overflow: hidden;
	margin:0;
	/* padding: 6px 0 0 6px; */
	padding:0;
	
	float: left;
}

html.is-mobile body.posts.gallery #posts.vgrid .post.double {
	width: 100% !important;
}

html.is-mobile body.posts.gallery #posts.vgrid .post > .post_main {
	margin: 0;
	font-size: 8px;
}

html.is-mobile body.posts.gallery #posts.vgrid .post .post_pic {
	margin: -7px;
}

html.is-mobile body.posts.gallery #posts.vgrid .post .post_question_graph {
	text-align: center;
}

html.is-mobile body.posts.gallery #posts.vgrid .post .post_question_result_bar {
	display: none;
}

/*** post ****/
body.gallery #modal-dopost .dopost-question-image-optional-note,
body.gallery .dopostimagelink-useimage,
body.gallery a[href="#dopost-text"] {
	display: none!important;
}

body.gallery.posts #posts .post .pinned {
	display: none;
}

body.gallery.posts.loginuser-admin #posts .post .pinned {
	display: block;
}
