@charset "utf-8";
/* CSS Document */

#comments_body
{
    position: relative;
    color: #666;
	min-height:450px;
}

#comments_body dt > a
{
    color: #0054A6;
    text-decoration: underline;
}

#comments_body dt > a:hover
{
    text-decoration: none;
}

#comments_body dt > b
{
    position: absolute;
    right: 32px;
    font-weight: bold;
}

#comments_body dt > span
{
    display: block;
    margin: 5px 0 30px; padding: 20px 30px;
    color: #333;
    font-size: 15px;
    background: #f2f2f2;
	overflow: hidden;
}
#comments_body dt > span > img {
    display: block;
	float:left;
}
/*
#comments_body dt > span > p {
	overflow: hidden;
}
*/
#comments_body form
{
    padding: 0 0 30px;
	overflow:visible;
}

#comments_body h3
{
    margin: 0 0 20px;
    color: #333;
}

#comments_body hr
{
    margin: 30px 0;
}

#comments_head,
#comments_body
{
    padding: 28px 32px 32px;
}

.comments_rule a
{
    position: absolute;
    top: 30px; right: 32px;
    color: #0054A6;
}
.comments_rule .sp {
    color: #f00;
}
.comments_rule .group ,
.comments_rule .close_this
{
	display:none;
}

.group_btn .close_this b
{
    display: inline-block; float: left;
    width: 20px; height: 26px;
    background: url(https://s.udn.com.tw/static/img/sprite.png) no-repeat -15px -2114px;
}

.group_btn .open_this , .group_btn .close_this
{
    position: absolute; float: left;
    top: 0; right: 0;
    width: 48px;
	height: 26px;
    padding: 0 10px;
    color: #4d4d4d;
    font-size: 12px;
    text-decoration: none;
    -moz-border-radius: 2px;
    -moz-box-shadow: #f2f2f2 0 1px 1px;
    -webkit-border-radius: 2px;
    -webkit-box-shadow: #f2f2f2 0 1px 1px;
    background: #FFF;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    box-shadow: #f2f2f2 0 1px 1px;
    line-height: 28px;
}

.group_btn .open_this b
{
    display: inline-block; float: left;
    width: 20px; height: 26px;
    background: url(https://s.udn.com.tw/static/img/sprite.png) no-repeat -116px -1614px;
}

a.post_new {
    padding: 4px 20px;
    color: #FFF;
    text-decoration: none;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background: #6db0f2;
    border: 1px solid #5a9ff0;
    border-radius: 4px;
	cursor:pointer;
	margin:0;
	height:23px;
	display: inline-block;
	float: right;
}

a.post_new:hover
{
    background: #5a9ff0;
    border: 1px solid #488fec;
}











#dis_msg {
	display:block;
}

#face_show {
	position:relative;
	width: 166px;
	height:130px;
	display:none;
}
#face_show b {
	background: #f5f5f5 url(../img/sprite.png) no-repeat -14px -2118px;
	display: block;
	height: 20px;
	width:20px;
	position: absolute;
	right: 0;
	top: 0;
	font-weight:normal;
	color:#000;
}

#emoticons ,
#emoticons_face
{
	width: auto;
}
#emoticons {
	margin: 0 0 10px; 
	text-align: right;
	min-height: 33px;
}
#emoticons_new {
	background: url(../img/sprite.png) no-repeat -159px -2709px;
	width:33px;
	height:33px;
	display:inline-block;
	text-indent:-9999px;
	position:relative;
	float:left;
	
	position:absolute;
	right:0;
	top:0;
}
#emoticons_new b {
	position:absolute;
	top:-10px;
	right:0;
	width:18px;
	height:9px;
	background: url(https://j.udn.com.tw/img/new.gif) no-repeat left top;
}

#emoticons_face {
	position:relative;
	display: inline-block;
	margin: 0 10px 0 0;
	text-align: left;
}
#emoticons_face dl {
	border:6px solid #c4c4c4;
	width:410px;
	position:absolute;
	display:none;
	left:-422px;
	top:0px;
	z-index:1;
	background:#fff;
}
#emoticons_face:hover a b {
	display:none;
}
#emoticons_face dt {
	float:left;
	width:80px;
	height:80px;
	background-color:#fff;
	border:1px dotted #fff;
	cursor:pointer;
}
#emoticons_face dt img {
	max-width:100%;
	width:aoto;
}
#emoticons_face dt:hover {
	border:1px dotted #333;
}





@media (max-width: 766px) {
	.group_btn {
		right: 10px;
	}
}

@media (max-width: 639px) { 
	/*
	#emoticons_face:hover {
		width: 100%;
	}
	*/
	#emoticons_face dl {
	  left: auto;
	  position: relative;
	  width: 100%;
	  max-width:270px;
	  overflow:hidden;
	  top:-33px;
	  margin:auto;
	}
	#emoticons_face dt {
	  width: 32%;
	  height:auto;
	}
	
	#comments_body form > img ,
	#comments_body dt > span > img
	{
		float:none;
		margin:auto;
		display:block;
	}
	#emoticons_new {
		float:right;
	}
	#emoticons {
		margin:10px 0;
	}
	.comments_rule a {
		right: 10px;
	}
}
