::selection {
	background-color: #F0EEE9;
	color: #000;
}
::-moz-selection {
	background-color: #F0EEE9;
	color: #000;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit;}

table {border-collapse: collapse; border-spacing: 0;}
caption, th, td {text-align: left; font-weight: normal;}
form legend {display: none;}
blockquote:before, blockquote:after, q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
ol, ul {list-style: none;}
hr {display: none; visibility: hidden;}

:focus {outline: 0;}
charle
.clear { clear:both; }

body { background: #fff; 	overflow-x: hidden !important;}

#frame { width: 1258px; margin: 0 0 0 20px; padding: 0 10px; }

#header { height: 160px;}

#logo { margin-top: 16px;  position: fixed;} 

#nav { width: 220px; float: left; position: fixed;}

div#nav a { position: relative; display: block; height: 16px; width: 184px; margin: 8px 0; }

#nav img.off { position: absolute; left: 0; top: 0; z-index: 10; }

#nav img.on { position: absolute; left: 0; top: 0; }

#content { width: 1038px; float: left; margin-left: 250px;}
	
	.portfolio { margin: 0 0 40px;}
/* 	.portfolio { margin: 0 0 40px; width: 900px; text-align: center; left: 50%; position: absolute; margin-left: -400px;} */

	.portfolio img { margin: 15px 0 0 0; }
/* 	.portfolio img.hor { margin: 15px 0 0 -100px; } */

	div#thumbs a { position: relative; display: block; height: 150px; width: 340px; margin: 0 6px 6px 0; float: left; }
 
	#thumbs img.off { position: absolute; left: 0; top: 0; z-index: 10; }
 
	#thumbs img.on { position: absolute; left: 0; top: 0; }	
	
	.back { margin-bottom: 18px; margin-top: 10px; }
	
	.img_about { margin-bottom: 15px;  }
	
	h1 { padding-bottom: 5px; border-bottom: 1px solid #989793; margin-right: 6px; }
	
		h1 em { font-size: 10px; float: right; color: #919396; font-family: Georgia, serif; font-style: italic; margin-top: 3px; }
		
	h4 { font-size: 10px; color: #000; font-family: Georgia, serif; font-style: italic; margin-top: 5px; padding-bottom: 0; }
		
	p { font-size: 12px; font-family: Georgia, serif; line-height: 15px; color: #191917; margin: 14px 0 4px; }

	p a { color: #000; font-style: italic; text-decoration: none; }
	p a:hover { 		background-color: #F0EEE9 !important; }
	
	p em { font-style: italic; }
	
	.form {
	width:335px;
	height:21px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:11px;
	font-style:italic;
	border-style: solid;
	border-width: 1px;
	border-color:#424242;
	background-color:#fff;
	color:#000;
	margin-left:0px;
	margin-right:0px;
	padding:3px;
}	
.textarea {
	width:335px;
	height:120px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:11px;
	font-style:italic;
	border-style: solid;
	border-width: 1px;
	border-color:#424242;
	background-color:#fff;
	color:#000;
	margin-left:0px;
	margin-right:0px;
	padding:3px;


#footer { padding-top: 30px; font-size: 8px; margin-left: 9px}

.foot { 
	clear: both; 
	width: 180px; 
	border-top: 1px solid #989793; 
	padding-top: 10px; color: #707070; 
	font-family: Georgia, serif  !important; 
	font-style: italic  !important;
	font-size: 8px !important;
 } 




/* coon */
body{
	overflow-x: hidden !important;
}
#content{
	width: 80%;
}
.xnc_wrap{
	width: 100%;
	height: auto;
}
.portfolio:after{
	clear: both;
	content: '';
	height: 0;
	display: block;
}
.hor{
	margin-left: -368px;
}