/*photogallery*/
body{margin:0;padding:0;}
a img {border:0px;padding:0;margin:0;}

#phocagallery-module{
text-align:center;
margin-left: auto;
margin-right:auto;
}

#phocagallery-module .phocagallery-box-file
{
position:relative;
width:120px;
height:140px;
border:1px solid #E8E8E8;
padding:5px;
background:#fcfcfc;
margin:5px;
text-align:center;
overflow:visible;
}
#phocagallery-module  .phocagallery-box-file-first
{
background:#f5f5f5;
width:100px;height:100px; overflow: hidden;
display: table; vertical-align:middle;
}

#phocagallery-module  .phocagallery-box-file-second
{
display: table-cell; vertical-align: middle;
}

#phocagallery-module  .phocagallery-box-file-third
{
	text-align:center;
}


#phocagallery-module a img
{
	border: 0px;text-decoration:underline;background:#fc0000;
}

#phocagallery-module a:hover, #phocagallery-module a:active, #phocagallery-module a:focus
{
	background: none;border:0px;text-decoration:none;
}

#phocagallery-module .name{margin-top:5px;color:#135cae;font-style:italic;font-weight:bold;text-align:center;}
#phocagallery-module .detail{text-align:right;}

#phocagallery-module .phocagallery-box-file:hover, #phocagallery-module .phocagallery-box-file.hover 
{
	border:1px solid #135cae;padding:5px;background:#f5f5f5;text-decoration:none;
}

/*detail*/
#phocagallery-module .phocagallery-box-file-d
{
position:relative;
float:left;
border:1px solid #E8E8E8;
background:#fcfcfc;
text-align:center;
overflow:visible;
width:640px;
height:480px;
}
#phocagallery-module .phocagallery-box-file-first-d
{
background:#f5f5f5;
width:640px;height:480px; overflow: hidden;
display: table; vertical-align:middle;
}

