/* CSS Document
Danny Dickinson v5
www.dannydickinson.co.uk
General Template
*/

/* Toolbox */
a img {border: 0;}
.left {float: left;}
.right {float: right;}
.clear {clear: both}
/* Toolbox */

/*---------------------------------------- Default Body ----------------------------------------*/
html, body 	{
	margin: 0; 
	padding: 0;
	width: 100%;
	background: #d2d2d2 url(../ippanshakai/bg.jpg);
}
body,td,th {
	color: #454545;
	font-family: "Trebuchet MS", Helvetica, "Helvetica Neue"; 
	font-size: 13px;
}
/*---------------------------------------------------------------------------------------------*/
/*---------------------------------------- General Text ----------------------------------------*/
.text_black {
	color: #000;
}
.text_caps {
	font-weight: bold;
	text-transform: uppercase;
}
.text_title {
	font-size: 16px;
}
/*----------------------------------------------------------------------------------------------*/
/*---------------------------------------- Hyperlinks ----------------------------------------*/
a:link, a:visited, a:active {
	color: #004080;
	text-decoration: none; 
	outline: none; /*Removed Ants Outline*/
}
	a:hover { 
		color: #333;
		text-decoration: underline; 
	}
a.link2, a.link2:visited, a.link2:active {
	color: #333;
	text-decoration: none;
}
	a.link2:hover { 
		color: #004080;
		text-decoration: none; 
	}
a.link_footer, a.link_footer:visited, a.link_footer:active {
	color: #5f5f5f;
	text-decoration: none; 
	font-size: 12px;
}
	a.link_footer:hover { 
		color: #333;
		text-decoration: none; 
	}	
/*--------------------------------------------------------------------------------------------*/
/*---------------------------------------- General Layout ----------------------------------------*/
#frame {
	position: relative;
	height: 100%;
	width: 100%;
}
#bar_fill {
	position: absolute;
	height: 4px;
	width: 100%;
	top: 0px;
	left: 0px;
	background: #535353 url(../ippanshakai/top_fill.png) repeat-x;
}
/*------------------------------------------------------------------------------------------------*/
/*---------------------------------------- Content Layout ----------------------------------------*/
#content_frametop {
	position: relative;
	width: 818px;
	height: 10px;
	margin: 40px auto 0 auto;
	background: url(../ippanshakai/content_bgtop.jpg) no-repeat;
}
#content_framebottom {
	position: relative;
	width: 818px;
	height: 29px;
	margin: 0 auto 20px auto;
	background: url(../ippanshakai/content_bgbottom.jpg) no-repeat;
}
#content_frame {
	position: relative;
	width: 818px;
	height: auto;
	margin: 0 auto;
	background: #eee url(../ippanshakai/content_bg.jpg) repeat-y;
}
#content_box {
	position: relative;
	width: 800px;
	margin: 0 auto;
	padding: 20px 0 10px 0;
	background: #eeeeee url(../ippanshakai/content_gradient.jpg) top no-repeat;
}
#header {
	position: relative;
	width: 800px;
	height: 162px;
	margin: auto;
	background: url(../ippanshakai/header_bg.jpg);	
}
	#header_text {
		position: absolute;
		height: 30px;
		font-size: 24px;
		color: #344652;
		bottom: 60px;
		padding: 3px 20px 3px 40px;
		background: url(../ippanshakai/header_textbg.png) right;
	}
.section_frame {
	position: relative;
	margin: 0 auto 20px auto;
	width: 750px;
}
.section_frame1 {
	position: relative;
	margin: 0 auto 10px auto;
	width: 750px;
}
.section_top {
	position: relative;
	width: 750px;
	height: 5px;
	margin: auto;
	background: url(../ippanshakai/section_frame.png) top;		
}
.section_bottom {
	position: relative;
	width: 750px;
	height: 5px;
	margin: auto;
	background: url(../ippanshakai/section_frame.png) bottom;		
}
.section_content {
	position: relative;
	width: 728px;
	padding: 5px 10px;
	border-left: 1px solid #BBB;
	border-right: 1px solid #BBB;	
	background: #f2f1f1;
}
.section_label {
	position: absolute;
	width: 133px;
	height: 35px;
	line-height: 29px;
	padding-left: 30px;
	color: #444;
	font-size: 16px;
	font-weight: bold;
	top: 10px;
	left: -16px;
	background: url(../ippanshakai/section_label.png) no-repeat;
}
/*------------------------------------------------------------------------------------------------*/
/*---------------------------------------- Nav Layout ----------------------------------------*/
#navigation {
	position: relative;
	width: 800px;
	height: 35px;
	margin: auto;
	background: #a6a6a6 url(../ippanshakai/nav_bg.jpg);
}
#nav_icon {
	position: relative;
	float: left;
	width: 44px;
	height: 34px;
	top: 0px;
}
#nav_name {
	position: relative;
	float: left;
	width: 220px;
	height: 34px;
	top: 0px;
	margin-left: 10px;	
}
#nav_portfolio {
	position: relative;
	float: right;
	width: 95px;
	height: 34px;
	top: 0px;
	background: url(../ippanshakai/nav_buttons.jpg) no-repeat 0 0;
}
	#nav_portfolio:hover {
		background: url(../ippanshakai/nav_buttons.jpg) no-repeat 0 -34px;
	}
#nav_download {
	position: relative;
	float: right;
	width: 107px;
	height: 34px;
	top: 0px;
	background: url(../ippanshakai/nav_buttons.jpg) no-repeat -95px 0;
}
	#nav_download:hover {
		background: url(../ippanshakai/nav_buttons.jpg) no-repeat -95px -34px;
	}
#nav_services {
	position: relative;
	float: right;
	width: 90px;
	height: 34px;
	top: 0px;
	background: url(../ippanshakai/nav_buttons.jpg) no-repeat -202px 0;
}
	#nav_services:hover {
		background: url(../ippanshakai/nav_buttons.jpg) no-repeat -202px -34px;
	}
#nav_contact {
	position: relative;
	float: right;
	width: 88px;
	height: 34px;
	top: 0px;
	background: url(../ippanshakai/nav_buttons.jpg) no-repeat -292px 0;
}
	#nav_contact:hover {
		background: url(../ippanshakai/nav_buttons.jpg) no-repeat -292px -34px;
	}
#nav_bio {
	position: relative;
	float: right;
	width: 52px;
	height: 34px;
	top: 0px;
	background: url(../ippanshakai/nav_buttons.jpg) no-repeat -380px 0;
}
	#nav_bio:hover {
		background: url(../ippanshakai/nav_buttons.jpg) no-repeat -380px -34px;
	}
/*-----------------------------------------------------------------------------------------------*/
/*---------------------------------------- Footer Layout ----------------------------------------*/
#footer {
	position: relative;
	width: 800px;
	height: 140px;
	margin: auto;
	background: url(../ippanshakai/footer_bg.jpg) repeat-x;	
}
.footer_links {
	position: relative;
	float: left;
	width: 100px;
	padding-top: 10px;
	height: 120px;
	margin: 15px 0 0 15px;
	border-right: 1px solid #aaa;
}
.footer_links0 {
	position: relative;
	float: left;
	width: 100px;
	padding-top: 10px;
	height: 120px;
	margin: 15px 0 0 15px;
}
#copyright {
	position: absolute;
	bottom: 0px;
	right: 20px;
	text-align: center;
	font-size: 11px;
	color: #555;
	text-shadow: #eee 0px 1px 0px;
}
#flag {
	position: absolute;
	top: 15px;
	right: 120px;
	width: 55px;
	height: 95px;
	background: url(../ippanshakai/flag.jpg);
}
/*	#flag:hover {
		background: url(../ippanshakai/flag.jpg) no-repeat bottom;
	}*/
#copyright_frame {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 300px;
	height: 100%;
	background: #d2d2d2 url(../ippanshakai/footer_bgd.jpg) repeat-x;
	border-left: 1px solid #bbb;	
}	
/*-----------------------------------------------------------------------------------------------*/
/*---------------------------------------- Error Layout ----------------------------------------*/
#e_frame {
	position: absolute;
	width: 802px;
	height: 375px;
	top: 50%;
	left: 50%;
	margin-left: -401px;
	margin-top: -210px;
}
#error_frame {
	position: relative;
	width: 802px;
	height: 419px;
	background: url(../ippanshakai/error404.jpg) bottom no-repeat;
}
#error_frame2 {
	position: relative;
	width: 802px;
	height: 419px;
	background: url(../ippanshakai/error403.jpg) bottom no-repeat;
}
#error_frame3 {
	position: relative;
	width: 802px;
	height: 419px;
	background: url(../ippanshakai/error401.jpg) bottom no-repeat;
}
#error_frame4 {
	position: relative;
	width: 802px;
	height: 419px;
	background: url(../ippanshakai/hotlink.jpg) bottom no-repeat;
}
#error_text {
	position: absolute;
	width: 500px;
	height: auto;
	font-size: 14px;
	line-height: 18px;
	right: 35px;
	top: 280px;
}
#error_text2 {
	position: absolute;
	width: 500px;
	height: auto;
	font-size: 14px;
	line-height: 18px;
	right: 35px;
	top: 250px;
}
