a:focus, a:hover, a:active {
	text-decoration: underline;
}
p, li {
	line-height: 1.8em;
}
.modoru{
	clear: both;
	font-size: 14px;
}
#container{
	width: 630px;
	margin: 15px auto 50px auto;
}

/*=== gallerifficスタイル以下 ====*/

div.content {
	display: block;
	width: 630px; 
}
div.navigation{
	width: 100%;
}
div.content a, div.navigation a {
	text-decoration: none;
	color: #777;
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div.controls {
	height: 40px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}

/* 右スライドショー部分 */

div.slideshow-container {
	position: relative;
	clear: both;
	height: 490px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow-container.display{
	height:650px;
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('../wedding/css/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 630px;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
}

div.slideshow img{
width:100%;
height:auto;
}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
div.slideshow a.advance-link {
	display: block;
	width: 630px;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
	line-height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
}
div.slideshow a.advance-link.PG {
position: relative;
}
div.slideshow a.advance-link.PG:before{
position: absolute;
content:'　';
background:url("../../images/display/PG.png") no-repeat,#FFF;
background-size:contain;
width: 30px;
height: 30px;
top:0;
left:0;
color:#FFF;
line-height: 0;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
	vertical-align: middle;
	position: absolute;
	left: 0;
}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	clear: left;
	height: 75px;
}
span.image-caption {
	display: block;
	position: absolute;
	width: 550px;
	top: 0;
	left: 0;
}
div.caption {
	padding: 12px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}

/* 左サムネイル部分 */

ul.thumbs {
	clear: both;
	margin: 0 ;
	padding: 0;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
}
ul.thumbs li:nth-child(5n){
	margin:5px 0;
}
a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
	width:112px;
}
a.thumb.PG {
position: relative;
}
a.thumb.PG:before{
position: absolute;
content:'　';
background:url("../../images/display/PG.png") no-repeat,#FFF;
background-size:contain;
width: 30px;
height: 30px;
top:2px;
left:2px;
color:#FFF;
line-height: 0;
}
a.thumb img{
	width:100%;
	height:auto;
}
ul.thumbs li.selected a.thumb {
	background: #006634;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	margin-top:10px;
	padding: 0 7px 0 7px;
	
}
div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color: #006634;
	border-color: #006634;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}

