@charset "utf-8";

/* for hyblid anonymous post */

body.anonymous #permalink-post {
	/* height: 80%;
	width: 80%; */
	top: 10%;
	bottom: 10%;
	left: 10%;
	right: 10%;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	border-radius: 0;
	display: block;
	overflow: hidden;
}

body.anonymous #permalink-post .modal-body {
	padding: 0;
	max-height: none;
	overflow: hidden;
	
	position: relative;
	height: 100%;
}

body.anonymous #permalink-post .permalink-post-container {
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

body.anonymous #scroll-top {
	display: none;
}

#permalink-post h2, #permalink-post h3 {
	font-weight: normal;
}

body.anonymous #permalink-post .permalink-left {
	background: black;
	margin-right: 40%;
	
	position: relative;
	height: 100%;
	text-align: center;
	vertical-align: middle;
}

body.anonymous #permalink-post .permalink-right {
	position: absolute;
	top:0;
	right:0;
	height:100%;
	width: 40%;
	
	vertical-align: top;
	font-size: 80%;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	padding: 15px;
}

body.anonymous #permalink-post.posttype-1 .permalink-left {
	width: 40%;
}

body.anonymous #permalink-post.posttype-1 .permalink-right {
	width: 60%;
}

/*****/
/*
body.anonymous #permalink-post .permalink-post-container {
	display: table;
	table-layout: fixed;
}
body.anonymous #permalink-post .permalink-left {
	display:table-cell;
	margin:0;
	width: 60%;
}
body.anonymous #permalink-post .permalink-left > div{
	position: absolute;
	top:0; right:0; left:0; bottom:0;
}
body.anonymous #permalink-post .permalink-right {
	display:table-cell;
	margin:0;
	width: 40%;
	position: relative;
}
*/
/*****/


body.anonymous #permalink-post .permalink-title-message {
	max-height: 50%;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

body.anonymous #permalink-post.posttype-1 .permalink-title-message {
	max-height: 80%;
}

body.anonymous #permalink-post .permalink-info {
	color: #888;
}
body.anonymous #permalink-post .permalink-score {
	font-size: 16px;
	float: right;
}

body.anonymous #permalink-post .permalink-sns {
	margin-top: 15px;
}

body.anonymous #permalink-post .permlink-left img {
	max-height: 100%;
	max-width: 100%;
	width: 100%;
	display: block;
	margin: 0 auto;
}

body.anonymous #permalink-post .permalink-login {
}

body.anonymous #permalink-post .permalink-container {
	text-align: center;
	display: block;
	padding: 15px;
	color: #888;
	background: #eee;
	text-align: center;

	position: absolute; 
	/*
	bottom: 0;
	right: 0;
	margin: 0;
	*/
	
	left: 10%; right: 10%;
	bottom: 25px;
}

body.anonymous #permalink-post .permalink-login img {
	margin: 15px 0;
}

body.anonymous #personal-icons {
	display: none;
}

body.anonymous .permalink-sns > * {
	display: inline-block;
	vertical-align: middle;
}

body.anonymous .permalink-sns > a,
body.anonymous .permalink-sns > a:hover,
body.anonymous .permalink-sns > a:active {
	text-decoration: none;
}

@media ( max-width : 568px ) {
	body.anonymous {
		padding:0;
		overflow-x: hidden;
	}
	body.anonymous #header {
		/* display:none; */
	}
	body.anonymous #permalink-post {
		position: relative;
		top:0;
		right:0;
		left:0;
		bottom:0;
		margin:0;
		width: 100%;
		display: block;
		max-height: none;
		height: auto;
		box-shadow: none;
		border: none;
	}
	body.anonymous #permalink-post {
		position: relative!important;
		overflow-y: visible!important;
	}
	body.anonymous #permalink-post .modal-body {
		height: auto;
		max-height: none;
		overflow: visible;
	}
	body.anonymous #permalink-post .permalink-post-container {
		width: auto;
		height: auto;
	}
	
	body.anonymous #permalink-post .permalink-left {
		position: relative;
		display: block;
		width: 100%;
		max-height: none;
		height: auto;
	}
	body.anonymous #permalink-post.posttype-1 .permalink-right {
		width: 100%;
	}
	body.anonymous #permalink-post .permalink-right {
		position: relative;
		display: block;
		width: 100%;
		max-height: none;
		height: auto;
		margin-right: 0;
	}
	body.anonymous #permalink-post .permalink-container {
		margin: 15px auto;
		
		position: relative;
		top:0;
		left:0;
	}
	body.anonymous #permalink-post .permalink-title-message {
		max-height: none;
		overflow: auto;
	}
}

/* for bots */

#permalink-nav {
	
}

#permalink-users {
	
}
#permalink-users .permalink-users-user {
	display: inline-block;
	vertical-align: top;
	margin: 7px;
	padding: 7px;
	border: 1px solid #ccc;
}

#permalink-users .permalink-users-user > img {
	width: 48px;
	height: 48px;
}

#permalink-user {
	
}

#permalink-posts {
	
}

#permalink-posts .permalink-posts-post {
	display: inline-block;
	position: relative;
	vertical-align: top;
	width: 160px;
	height: auto;
	border: 1px solid #ccc;
	margin: 5px;
	padding: 5px;
}

