@import "reset.css";
@import "facebox.css";

body {
	color: #505050;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 62.5%;
	background: #6F3C28 url(../images/bg2.gif);
	padding-bottom: 80px;
	}

img, div {
	behavior: url(../js/iepngfix.htc);
	}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
	}

.clearfix {
    display:inline-block;
	}
/* Hide from IE Mac \*/

.clearfix {
    display:block;
	}
/* End hide from IE Mac */

a:link, a:visited {
	color: #D94F18;
	text-decoration: none;
	}

a:hover, a:active {
	color: #D77853;
	text-decoration: none;
	}

#wrapper {
	width: 576px;
	margin: 40px auto 0;
	}

/* ~~~~~~~~~~ HEADER STYLE ~~~~~~~~~~ */

#hd {
	margin-bottom: 30px;
	}

#hd h1 {
	height: 37px;
	padding-left: 24px;
	}

#hd h1 a {
	background: url(../images/h1.png) top left no-repeat;
	height: 37px;
	width: 182px;
	display: block;
	text-indent: -9999px;
	}

/* ~~~~~~~~~~ MAIN STYLE ~~~~~~~~~~ */

.main {
	background: url(../images/permalink-t.png) top no-repeat;
	padding-top: 29px;
	}

.main .bd {
	background: url(../images/permalink-b.png) bottom no-repeat;
	padding: 30px 32px 62px;
	}

/* ~~~~~~~~~~ MESSAGE STYLE ~~~~~~~~~~ */

.message {
	font-size: 1.2em;
	}

.message img {
	float: left;
	border: #E9E9E9 1px solid;
	padding: 1px;
	}

.message .info {
	float: right;
	width: 412px;
	}

.message .info ul {
	margin-bottom: 12px;
	}

.message ul li {
	background: url(../images/blank.gif) no-repeat;
	float: left;
	margin-right: 10px;
	margin-bottom: 0;
	padding: 0;
	color: #bbb;
	line-height: 1.5;
	}

.message ul li.username {
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1.1;
	margin-right: 14px;
	}

.message ul li.time {
	background: url(../images/icon-clock.gif) left no-repeat;
	padding-left: 16px;
	}

.message ul li.permalink a {
	background: url(../images/icon-link.gif) top left no-repeat;
	background-position: 0 1px;
	color: #bbb;
	padding-left: 16px;
	}

.message ul li.permalink a:hover {
	background: url(../images/icon-link.gif) top left no-repeat;
	background-position: 0 -15px;
	color: #333;
	}

.message ul li.delete a {
	background: url(../images/icon-delete.gif) top left no-repeat;
	background-position: 0 1px;
	color: #bbb;
	padding-left: 16px;
	}

.message ul li.delete a:hover {
	background: url(../images/icon-delete.gif) top left no-repeat;
	background-position: 0 -15px;
	color: #333;
	}

.message ul li.channel a {
	background: url(../images/icon-channel.gif) top left no-repeat;
	background-position: 0 1px;
	color: #414141;
	padding-left: 16px;
	margin-right: 0;
	}

.message ul li.channel a:hover {
	background: url(../images/icon-channel.gif) top left no-repeat;
	background-position: 0 -15px;
	color: #000;
	}

.message p {
	line-height: 1.4;
	}

.message p img {
	float: right;
	border: 0;
	padding: 0;
	padding-top: 2px;
	margin: 0 0 4px 4px;
	}

.message .talkto {
	background: url(../images/icon-talkto.gif) left no-repeat;
	padding-left: 18px;
	margin: -7px 0 2px;
	}

.message .talkto .photo {
	float: none;
	border: 1px solid #D3D3D3;
	vertical-align: middle;
	padding: 1px;
	}

.message .talkto .nickname {
	padding-left: 4px;
	}

/* ~~~~~~~~~~ FOOTER STYLE ~~~~~~~~~~ */

.footer {
	padding: 26px 32px 0;
	font-size: 1.2em;
	color: #8d685b;
	}

.footer a {
	padding-left: 10px;
	}

div.message .talkto img.avatar {
    float: none;
    border: 1px solid #D3D3D3;
    vertical-align: middle;
    padding: 1px;
}

div.message div.info div.image {
    width: 40px;
    height: 40px;
    overflow: hidden;
    float: right;
    border: none;
    margin: 0 0 5px 5px;
}

div.message div.info div.qrcode.image {
    width: 80px !important;
    height: 80px !important;
}

div.message div.info div.image img {
    width: 100%;
    border: none;
}
