/*
	custom.css  custom styles for Cutline that YOU define
	------------------------------------------------------
	
	This stylesheet will allow you to futureproof your
	changes against future releases and upgrades. I know
	you work hard on your modified styles, and I don't
	want you to feel like every upgrade is a total drag!
	
	Instructions:
	
	Modifying existing Cutline styles to your liking is a
	breeze with this handy stylesheet. The <body> tag
	within the header.php file has been appended with a
	CSS class called "custom," and thanks to this, you now
	have the ability to override ANY style that's declared
	in the original Cutline stylesheet.
	
	In practice, you simply need to copy the CSS for the
	element that you want to change (from style.css) and
	then paste it here. Prefix the new CSS declaration
	with .custom, and then make your tweaks as necessary.
	
	Here's an example:
	
	To change the default color of unvisited links from 
	blue to red (#c00) and remove the default underline, 
	this is what you would do:
	
	.custom a { color: #c00; text-decoration: none; }
	
	Cool? Now get to hackin!
*/

/*---:[最上部のバナーを設定]:---*/
#masthead { height: 150px; background: url('http://www.nihonjinkai.hu/wp-content/uploads/banner_MJSZ2.jpg') no-repeat;}

/*---:[トップページ以外はコンテンツの幅を最大値に]:---*/
#content2 { width: 725px; padding: 0 0 0 20px; float: left; }

/*---:[検索ボックス]:---*/
#search_form .search_input {
	background: #D3D3D3 url(http://www.nihonjinkai.hu/wp-content/images/search_icon.png) no-repeat bottom right;
	border-radius: 3px;         /* CSS3 */
	-moz-border-radius: 3px;    /* Firefox */
	-webkit-border-radius: 3px; /* Safari,Chrome */
	width: 200px;
	height: 12px;
	border: 1px solid #808080;
	padding-left:5px; 
}
li.search .search_input { font-size: 0.8em !important; }
ul#nav li.search { padding-right: 0.8em; float: right; }

ul#nav li.rss { padding-top: 1.2em; }

/*---:[右寄せ]:---*/
p.right { text-align: right; margin-right: 15px; z-index:700;}

/*---:[ヘッダー下部の下線を削除]:---*/
ul#nav { border-bottom: none; }

/*---:[訪問者数用]:---*/
#counter2 { color: white; font-size: 12px; text-align: right; margin: 0px 1.0em; padding-top: 130px; }

/*---:[パンくずリスト]:---*/
.breadcrumb
{
	padding-top: 8px;
	font-size: 12px;
	color: green;
	position: relative;
	float: left;
	font-weight: normal;
}

/*---:[For SLIDESHOW SCRIPT]:---*/
.ns_content_slide
{
	margin:5px auto 25px auto;	/* "Air" */
	/* Floating gallery at the right side of other web page content */		
	width:480px;	/* Image width */
	height:360px;	/* Image height */
	padding:0px 0px 0px 0px;
	border:4px solid #D8D8D8 ;
	/* float:left; */
	overflow:hidden;
}
.ns_content_slide #content_slide
{
	list-style:none !important;
	padding:0px !important;
	margin:0px !important;
}
.ns_content_slide #content_slide,.ns_content_slide #content_slide ul,.ns_content_slide #content_slide ul li
{
	list-style:none;
	padding:0px;
	margin:0px;
}

/*---:[サイトマップ用]:---*/
.ddsg-wrapper h2 { font-size: 18px; color: blue; }
.ddsg-wrapper ul ul {
	margin-top: 12px;
	margin-bottom: 15px;
}
.ddsg-wrapper li {
	margin: 0 0 8px 0;
	padding: 0;
}

/*---:[ページナビ]:---*/

/*	リンクの書式設定　*/
.wp-pagenavi a, .wp-pagenavi a:link {
	padding: 2px 4px 2px 4px;
	margin: 2px;
	text-decoration: none;
	border: 1px solid #FFFFFF;
	color: #0066cc;
	background-color: #FFFFFF;
}

/*	訪問済リンクの書式設定　*/
.wp-pagenavi a:visited {
	padding: 2px 4px 2px 4px;
	margin: 2px;
	text-decoration: none;
	border: 1px solid #FFFFFF;
	color: #0066cc;
	background-color: #FFFFFF;
}

/*	リンクのホバー書式設定　*/
.wp-pagenavi a:hover {
	border: 1px solid #1e1e1e;
	color: #1e1e1e;
	background-color: #FF8800;
}

/*	リンクのアクティブ書式設定　*/
.wp-pagenavi a:active {
	padding: 2px 4px 2px 4px;
	margin: 2px;
	text-decoration: none;
	border: 1px solid #0066cc;
	color: #0066cc;
	background-color: #FFFFFF;
}

/*	タイトルの書式　*/
.wp-pagenavi span.pages {
	padding: 2px 4px 2px 4px;
	margin: 2px 2px 2px 2px;
	color: #1e1e1e;
	background-color: #FFFFFF;
}

/*	表示中ページの書式　*/
.wp-pagenavi span.current {
	padding: 2px 4px 2px 4px;
	margin: 2px;
	font-weight: bold;
	color: #FF8800;
	background-color: #FFFFFF;
}

/*	延長部分の書式　*/
.wp-pagenavi span.extend {
	padding: 2px 4px 2px 4px;
	margin: 2px;
	color: #1e1e1e;
	background-color: #FFFFFF;
}

/*---:[スライドショー用]:---*/
#gallery {
	margin: 5px auto 25px 5px;
	position:relative;
	height:360px;
}
#gallery a {
	float:left;
	position:absolute;
}
#gallery a img {
	border:none;
}
#gallery a.show {
	z-index:500;
}
#gallery .caption {
	z-index:600; 
	background-color:#000; 
	color:#ffffff; 
	height:50px; 
	width:100%; 
	position:absolute;
	bottom:0;
}
#gallery .caption .content {
	margin:5px;
}
#gallery .caption .content h3 {
	margin:0;
	padding:0;
	color:#1DCCEF;
}
