/*photogallery*/
body{margin:0;padding:0;}
a img {border:0px;padding:0;margin:0;}
.phocagallery { text-align: center; width: 400px; margin-right: auto; margin-left: auto; }
.gallery_right .phocagallery { text-align: center; vertical-align: middle; margin-right: 0; margin-left: 0; width: 490px; }
.phocagallery-box-file
{ position:relative; width:60px; height:60px; padding:0; overflow:visible; float: left; margin: 0 5px 5px; }
.gallery_right .phocagallery-box-file { margin: 0 10px 10px 0; padding: 0; position: relative; width: 60px; height: 60px; float: left; overflow: visible; }
.phocagallery-box-file-first
{ position: relative; width:60px; height:60px; overflow: hidden; border: solid 1px white; display: table; }

.phocagallery-box-file-second
{ text-align: center; vertical-align: middle; margin-top: auto; margin-bottom: auto; padding: 2px; display: table-cell; }

.phocagallery-box-file-third
{ text-align: center; vertical-align: middle; display: table-cell; }


#phocagallery a img
{
	border: 0px;
}

#phocagallery a:hover, #phocagallery a:active, #phocagallery a:focus
{
	background: none;border:0px;text-decoration:none;
}
.gallery_right #phocagallery a:hover, .gallery_right #phocagallery a:active, .gallery_right #phocagallery a:focus { text-decoration: none; background: transparent; border: 0; }
#phocagallery .name{margin-top:5px;color:#135cae;font-style:italic;font-weight:bold;text-align:center;}
#phocagallery .detail{text-align:right;}

.phocagallery-box-file:hover, .phocagallery-box-file.hover 
{ background:transparent; text-decoration:none; border-style: none; border-width: 0; }
.gallery_right .phocagallery-box-file:hover, .gallery_right .phocagallery-box-file.hover { text-decoration: none; background: transparent; border-style: none; border-width: 0; }
/*detail*/
.phocagallery-box-file-d
{
position:relative;
float:left;
border:1px solid #E8E8E8;
background:transparent;
text-align:center;
overflow:visible;
width:640px;
height:480px;
}
.phocagallery-box-file-first-d
{
background:transparent;
width:640px;height:480px; overflow: hidden;
display: table; vertical-align:middle;
}

/*download message*/
#download-msg{
font-family:sans-serif;
font-size:83%;
position:absolute;
left: 10%;
top:10%;
background-color: #ebecff;
border: 5px solid #cccccc;
filter:alpha(opacity=80);
opacity: 0.8;
-moz-opacity:0.8;
z-index:1000;
}
	
/*download message text*/ 
#download-msg div table{ 
	padding: 10px; 
	filter:alpha(opacity=100); 
	opacity: 0.8; 
	-moz-opacity:0.8; 
	position: relative; 
	z-index:1000; 
	background-color:transparent; 
} 
#download-msg div table tr td, 
#download-msg div table tr td small, 
#download-msg a { 
	color:#000000; 
	font-weight: bold; 
}

#phocagallery .main-switch-image { text-align: center; }
#phocagallery .main-switch-image-table td { height: 320px; }

#loading-label {
	display:none;
}

#image-box {
	position:relative;
}
#description-msg{
font-size:83%;
text-align:left;
margin:0;padding:0;
position:absolute;
bottom: 0px;
left:0px;
right:0px;
background-color: #000;
filter:alpha(opacity=60);
opacity: 0.6;
-moz-opacity:0.6;
z-index:1000;
width:100%;
}

#description-text{
	color:#fff;
	padding:10px;
/*	filter:alpha(opacity=100); 
	opacity: 0.8; 
	-moz-opacity:0.8; */
	position: relative; 
	z-index:1000; 
	background-color:#000;
}
.thumb_4 { text-align: center; vertical-align: middle; width: 444px; padding-top: 10px; display: table-cell; }
.thumb_4 .phocagallery { text-align: center; width: 360px; margin-right: auto; margin-left: auto; }

