* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
::-webkit-scrollbar-track {
	display: none;
	width: 8px;
	border-radius: 5px;
}

::-webkit-scrollbar-track:hover {
	display: block;
	background-color: lightgray;
}
::-webkit-scrollbar-thumb {
	display: block;
	background-color: grey;
	width: 8px;
	border-radius: 5px;
}
::-webkit-scrollbar-thumb:active {
	display: block;
	background-color: black;
}
::-webkit-scrollbar {
	position: absolute;
	z-index: 100;
	display: block;
	width: 8px;
	border-radius: 5px;
}
.dropdown {
    background:white
}
.dropdown-menu {
    display: none;
    background:#e6e6e6;
    box-shadow:0 0 16px 0 rgba(0,0,0,0.18), 0 16px 16px 0 rgba(0,0,0,0.24);
    border-radius:8px;
    width:160px;
    height:198px;
    position: absolute;
    padding-left:16px;
    padding-top: 10px;
    z-index: 9999;
    margin-top:0;
    left: auto;
    right: 0;
    top: 0;
    float:right;
}
.dropdown::hover .dropdown-menu{
    display: block;
}

/*
z-index 属性指定一个元素的堆叠顺序。
拥有更高堆叠顺序的元素总是会处于堆叠顺序较低的元素的前面。
注意： z-index 进行定位元素(position:absolute, position:relative, or position:fixed)。
*/
.button-green {
    background:#19bb9b;
}
.button-red {
    background:#d43044;
}
.button-green,
.button-red {
    display: block;
    position: relative;
    z-index: inherit;
    border-radius:9px;
    background-position: center;
    width:133px;
    height:35px;
    margin-top: 8px;
    padding: 7px;
    background-repeat: repeat-x;
    font-size:14px;
    color:#ffffff !important;
    text-align: center;
}

/**************************chat-dialog*********************/
.message {
	position: relative;
	width: 100%;
	padding-top: 12px;
}
.message .icon {
	position: absolute;
	display: block;
	height: 44px;
	width: 44px;
	top: 12px;
}
.message .icon.friend{
	left: 9px;
}
.message .icon.user{
	right: 8px;
}
.message .text {
	position: relative;
	display: block;
	border-radius:10px;
	max-width: 223px;
	height: auto;
	padding: 11px 20px 19px 17px;
	font-size:14px;
	color:#4a4a4a;
	resize: none;
	word-break: break-all;/*自动换行*/
	word-wrap: break-word;/*以单词换行*/
	white-space: pre-wrap;
	float: left;
}
.message .text.user {
	background:rgba(24,187,155,0.60);
	right: 69px;
	float: right;
}
.message .text.friend {
	background:#d8d8d8;
	left: 69px;
}
.message .nickname {
	margin: 0;
	padding: 0;
	font-size:12px;
	color:rgba(0,0,0,0.54);
	width:223px;
	line-height:20px;
	left:69px;
}
/*
#profile_block,
#sidebar_search_box,
#sidebar_postcategory>ul,
#sidebar_postarchive>ul,
#sidebar_scorerank ul,
#TopViewPostsBlock {
    display: none;
}*/
#profile_block {
    display: none;
}
.notice {
    padding: 10px 20px;
    background: #ffffff;
}
.notice:hover {
    border: 1px solid #169fe6;
}