/*---------------------------------------------
	TOPページ　Ajaxバナー用
										専用CSS
  ---------------------------------------------*/
div#ajax_top_bnr {
	width: 950px;
	background-color: #fff;
	margin: 0 auto;
	text-align: center;
	overflow: hidden;
	height: 360px;/*ナビゲーションが出ている時は高さを変えてやる必要がある*/
}
div#ajax_top_bnr div#top_bnr {
	text-align:center;
	width: 910px;
	margin: 0 auto;
}
div#ajax_top_bnr div#ads {
	clear: both;
	padding: 12px 0 12px 66px;
}
div#ajax_top_bnr div#footer {
	clear: both;
	color: #777;
	margin: 0 auto;
	padding: 20px 0 40px;
	text-align: center;
}

div#ajax_top_bnr div.content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	float: right;
	width: 700px;
}
div#ajax_top_bnr div.content a, div.navigation a {
	text-decoration: none;
	color: #777;
}
div#ajax_top_bnr div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div#ajax_top_bnr div.controls {
	margin-top: 0px;
	/*height: 23px;*/
}
div#ajax_top_bnr div.controls a {
	padding: 5px;
}
div#ajax_top_bnr div.ss-controls {
	float: left;
}
div#ajax_top_bnr div.nav-controls {
	float: right;
}
div#ajax_top_bnr div.slideshow-container {
	position: relative;
	clear: both;
/*	height: 300px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div#ajax_top_bnr div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('img/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 550px;
	height: 170px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div#ajax_top_bnr div.slideshow {

}
div#ajax_top_bnr div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: -17px;
	left: 0;
}
div#ajax_top_bnr div.slideshow a.advance-link {
	display: block;
	width: 700px;
/*	height: 300px; /* This should be set to be at least the height of the largest image in the slideshow */
/*	line-height: 300px; /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
}
div#ajax_top_bnr div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div#ajax_top_bnr div.slideshow img {
	vertical-align: middle;
	border: 1px solid #ccc;
}
div#ajax_top_bnr div.download {
	float: right;
}
div#ajax_top_bnr div.caption-container {
	
}
div#ajax_top_bnr span.image-caption {
	display: block;
	position: absolute;
}
div#ajax_top_bnr div.caption {
	background-color: #000;
	padding: 12px;
	color: #ccc;
}
div#ajax_top_bnr div.caption a {
	color: #fff;
}
div#ajax_top_bnr div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}

div#ajax_top_bnr div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div#ajax_top_bnr div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}
div#ajax_top_bnr ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
	display: block;
	overflow: hidden;
}

div#ajax_top_bnr ul.thumbs li {
	float: left;
	padding: 0;
	margin: 2px 10px 5px 0;
	list-style: none;
}

/*IE以外のモダンブラウザ対応*/
:root *> div#ajax_top_bnr div.controls {
	margin-top:0px;
}

div#ajax_top_bnr a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
div#ajax_top_bnr ul.thumbs li.selected a.thumb {
	background: #BFCFD8;
}
div#ajax_top_bnr a.thumb:focus {
	outline: none;
}
div#ajax_top_bnr ul.thumbs img {
	border: none;
	display: block;
	overflow: hidden;
}
div#ajax_top_bnr div.pagination {
	clear: both;
}
div#ajax_top_bnr div.navigation div.top {
	margin-bottom:5px;
	overflow:hidden;
}
div#ajax_top_bnr div.navigation div.bottom {
	margin-top: 5px;
	overflow:hidden;
}
div#ajax_top_bnr div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
div#ajax_top_bnr div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div#ajax_top_bnr div.pagination span.current {
	font-weight: bold;
	background-color: #003B72;
	border-color: #003B72;
	color: #fff;
}
div#ajax_top_bnr div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
div#ajax_top_bnr #captionToggle a {
	float: right;
	display: block;
	background-image: url('caption.png');
	background-repeat: no-repeat;
	background-position: right;
	margin-top: 5px;
	padding: 5px 30px 5px 5px;
}

div#ajax_top_bnr div#top_bnr #gallery {
	text-align:left;
	
}

