
#yshout * {
	margin: 0;
	padding: 0;
}

#yshout a {
	text-decoration: none;
	color: #588fb9;
}

#yshout a:hover {
	color: #3d464d;
}

#yshout a:active {
	color: #282e33;
}

#yshout {
		margin: 0px auto;
		width: 99%;
		position: relative;
		overflow: hidden;
		font-size: 13px;
		line-height: 1.4;
}

/* Posts
------------------------------------- */

#yshout #ys-before-posts {
	height: 5px;
	width: 99%;
	background: url(../images/ys-bg-posts-top.png) no-repeat;
	overflow: hidden;	
	_background: none;
}

#yshout #ys-posts {
		position: relative;
		background: url(../images/bg-posts.png) repeat-y;
		_background: none;
		_height: 1%;
		margin-top: 0px;
		margin-bottom: 0px;
		padding-top: 0px;
		padding-bottom: 0px;
}

#yshout #ys-after-posts {
	height: 5px;
	width: 99%;
	background: url(../images/ys-bg-posts-bottom.png) no-repeat;
	_background: none;
}

#yshout .ys-post {
		border-top: 1px solid #fdfdfd;
		border-bottom: 1px solid #f1f1f1;
		background: #f5f5f5 url(../images/bg-post.gif) repeat-x;
		padding: 5px 25px 5px 5px;
		position: relative;
		_position: static;
		overflow: hidden;
		width: auto;
		margin-left: 5px;
}


#yshout .ys-admin-post .ys-post-nickname {
	padding-left: 11px;
	background: url(../images/star.png) 0 2px no-repeat;
	_background: url(../images/star.gif) 0 2px no-repeat;
}


#yshout .ys-post-timestamp {
	color: #b3b3b3;
}

#yshout .ys-post-nickname {
	color: #1a1a1a;
} 

#yshout .ys-post-message {
	color: #595959;
}


/* Banned
------------------------------------- */

#yshout .ys-banned-post .ys-post-nickname,
#yshout .ys-banned-post .ys-post-message, 
#yshout .ys-banned-post {
	color: #b3b3b3 !important;
}

#yshout #ys-banned {
	position: absolute;
	z-index: 75;
	width: 99%;
	height: 100%;
	_height: 430px;
	top: 0;
	left: 0;
	margin: 0 5px;
	background: url(../images/bg-banned.png);
	_background: none;
}

#yshout #ys-banned span {
	position: absolute;
	display: block;
	height: 20px;
	margin-top: -10px;
	top: 50%;
	padding: 0 20px;
	color: #e5e5e5;
	text-align: center;
	font-size: 1em;
	z-index: 80;
}

#yshout #ys-banned a {
	color: #90bada;
}

#yshout #ys-banned a:hover {
	color: #fff;
}
	
/* Hover Controls
------------------------------------- */

#yshout .ys-post-actions {
		display: none;
		position: absolute;
		top: 0;
		right: 0;
		padding: 5px;
		font-size: 1em;
		z-index: 50;
		background: #f5f5f5 url(../images/bg-post.gif) repeat-x;
		color: #b3b3b3;
}

#yshout .ys-post-actions a {
	color: #7a8c99;
}

#yshout .ys-post-actions a:hover {
	color: #3d464d;
}

#yshout .ys-post:hover .ys-post-actions {
	display: block;
}

#yshout .ys-post-info {
		color: #999;
		font-size: 0.9em;
}

#yshout .ys-post-info em {
	font-style: normal;
	color: #1a1a1a;
}

#yshout .ys-info-overlay {
	display: none;
	position: absolute;
	z-index: 45;
	top: 0;
	left: 0;
	width: 99%;
	height: 100%;
	background: #f5f5f5 url(../images/bg-post.gif) repeat-x;
	padding: 5px;
}

#yshout .ys-info-inline {
	display: none;
	margin-top: 2px;
	padding-top: 3px; 
	border-top: 1px solid #f2f2f2;
}

/* Post Form
------------------------------------- */

#yshout #ys-post-form {
/*入力欄とリストの間はここのheightで調整
*/		height: 40px;
		width: 99%;
		background: url(../images/bg-form.png) no-repeat;
		line-height: 58px;
		_background: none;
		_z-index: 5;
}

#yshout #ys-post-form.ys-inverse {
		background: url(../images/bg-form-inverse.png) no-repeat;
		_background: none;
		line-height: 30px;
}

	#yshout #ys-input-nickname,
	#yshout #ys-input-message {
/*このmargin-topが入力欄の調整
*/		font-size: 1em;
		padding: 2px;
		background: #fcfcfc;
		border: 1px solid #c3c3c3;
		margin-top: 10px;
		margin-bottom: 0px;
	}
	
	#yshout #ys-post-form fieldset {
		_position: absolute;
		border: none;
		padding: 0 10px;
		_margin-top: 16px;
		_z-index: 10;
	}
	
	#yshout #ys-post-form.ys-inverse fieldset {
		_margin-top: 0px;
	}

	#yshout #ys-input-nickname {
		width: 45px;
		margin-left: 5px;
	}
	
	#yshout #ys-input-message {
		margin-left: 5px;
		width: 260px;
	}
	
	#yshout #ys-input-submit {
		font-size: 1em;
		width: 64px;
		height: 22px;
		margin-left: 5px;
		background: url(../images/bg-button.gif) no-repeat;
		border: none;
	}
	
	#yshout #ys-input-submit:hover {
		cursor: pointer;
	}

	#yshout .ys-before-focus {
		color: #b3b3b3;
	}
	
	#yshout .ys-after-focus {
		color: #000;
	}
	
	#yshout .ys-input-invalid {

	}

	#yshout .ys-post-form-link {
		margin-left: 5px;
		
	}


/* Control Panel - This should go in all YShout styles
------------------------------------- */

#ys-overlay {
		position: fixed;
		_position: absolute;
		z-index: 100;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background-color: #000;
		filter: alpha(opacity=60);
		-moz-opacity: 0.6;
		opacity: 0.6;
		font-size: 1em;
}

* html body {
	height: 100%;
	width: 580px;
}

#ys-closeoverlay-link,
#ys-switchoverlay-link {
	display: block;
	font-weight: bold;
	height: 13px;
	color: #fff;
	text-decoration: none;
	margin-bottom: 1px;
	outline: none;
	float: left;
}

#ys-switchoverlay-link {
	float: right;
}

.ys-window {
	z-index: 102;
	position: fixed;
	_position: absolute;
	top: 50%;
	left: 50%;
}
	
	#ys-cp {
		margin-top: -220px;
		margin-left: -310px;
		width: 620px;
	}
	
	#ys-yshout {
		margin-top: -250px;
		margin-left: -255px;
		width: 500px;
	}
	
	#ys-history {
		margin-top: -220px;
		margin-left: -270px;
		width: 540px;
	}

#yshout .ys-browser {
	border: none !important;
	outline: none !important;
	z-index: 102;
	overflow: auto;
	background: transparent !important;
}

	#yshout-browser {
		height: 580px;
		width: 100%;
	}
	
	#cp-browser {
		height: 440px;
		width: 620px;
		_height: 450px;
		_width: 440px;
	}
	
	#history-browser {
		height: 440px;
		width: 580px;
		border-top: 1px solid #545454;
		border-left: 1px solid #545454;
		border-bottom: 1px solid #444;
		border-right: 1px solid #444;
	}

	
/* Inane IE Compatibility PNG fixes
------------------------------------- */

#yshout #ys-before-posts { _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images/ys-bg-posts-top.png',sizingMethod='crop'); }
#yshout #ys-posts { _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images/bg-posts.png',sizingMethod='scale'); }
#yshout #ys-after-posts { _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images/ys-bg-posts-bottom.png',sizingMethod='crop'); }
#yshout #ys-banned { _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images/bg-banned.png',sizingMethod='scale'); }
#yshout #ys-post-form { _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images/bg-form.png',sizingMethod='crop'); }	
#yshout #ys-post-form.ys-inverse { _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images/bg-form-inverse.png',sizingMethod='crop'); }	
