/* ----------------------------------------------------------------------------------------------------------------*/
/* ---- global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0; margin: 0;}
html, body {
min-height: 100%;
height: auto !important;
height: 100%
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---- thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window a:link {color: #000000;}
#TB_window a:visited {color: #00000;}
#TB_window a:hover {color: #000000;}
#TB_window a:active {color: #00000;}
#TB_window a:focus{color: #000000;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---- thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
	min-width: 100%; /* 画面サイズを変更した場合への対策 */
	min-height: 100%; /* スクロールが発生していない場合への対策 */
}

.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.TB_overlayBG {
	background-color:#000000;
	filter:alpha(opacity=50);
	-moz-opacity: 0.5;
	opacity: 0.50;
}

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
	position: fixed;
	background: #fefdfc;
	z-index: 102;
	display:none;
	text-align:left;
	top:50%;
	left:50%;
	border-style:none;
	border-width:0;
	border-radius:7px;
	-webkit-border-radius:7px;
	-moz-border-radius:7px;
	-opera-border-radius:7px;

}

* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
	display:block;
	margin: 15px 0 0 15px;
	border-right: 0px none;
	border-bottom: 0px none;
	border-top: 0px none;
	border-left: 0px none;
}

#TB_caption{
	height:40px;
	padding:7px 30px 10px 25px;
	text-align: center;
	font: normal 10px "ヒラギノ丸ゴ Pro W4", "Hiragino Maru Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", "メイリオ", "Meiryo", Verdana, Arial, sans-serif;
	color: #000000;
	letter-spacing: 0.05em;
}

#TB_secondLine {
	font: bold 10px Verdana, Arial, sans-serif;
	color:#000000;
	text-align: center;
	padding: 5px 0 0;
	margin-right: auto;
	margin-left: auto;
}

#TB_next a,#TB_prev a{
	position:absolute;
	bottom:25px;
	display:block;
	width:6em;
	padding:5px 0;
	background:#dddddd;
	color:#000000;
	text-align:center;
	text-decoration:none;
	font: bolder 12px Verdana, Arial, sans-serif;
}
#TB_next a{
	right:0;
	-moz-border-radius-topleft:5px;
    -moz-border-radius-bottomleft:5px;
	-webkit-border-top-left-radius:5px;
    -webkit-border-bottom-left-radius:5px;
	-opera-border-top-left-radius:5px;
    -opera-border-bottom-left-radius:5px;
	border-top-left-radius:5px;
    border-bottom-left-radius:5px;
}
#TB_prev a{
	left:0;
	-moz-border-radius-topright:5px;
    -moz-border-radius-bottomright:5px;
	-webkit-border-top-right-radius:5px;
    -webkit-border-bottom-right-radius:5px;
	-opera-border-top-right-radius:5px;
    -opera-border-bottom-right-radius:5px;
	border-top-right-radius:5px;
    border-bottom-right-radius:5px;
}
#TB_next a:hover,
#TB_prev a:hover {
  background: #aaaaaa;
  color:#ffffff;
}


#TB_closeWindow{
	height:15px;
	padding:0px;
	font: bold 12px Verdana, Arial, sans-serif;
	color: #000000;
	text-decoration: none;
	text-align: center;
	display: block;
	margin: 0px auto;
	position: relative;
	bottom: 5px;
	width: 6em;
}

#TB_closeAjaxWindow{
	padding:7px 10px 5px 0;
	margin-bottom:1px;
	font: bold 14px Verdana, Arial, sans-serif;
	color: #000000;
	text-decoration: none;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
	
}

#TB_title{
	background-color:#fefdfc;
	height:30px;
	font: bold 14px Verdana, Arial, sans-serif;
	color: #000000;
	border-top: 10px solid #fefdfc;
	border-right: 10px solid #fefdfc;
	border-bottom: 0px none;
	border-left: 10px solid #fefdfc;
	-moz-border-radius-topleft:7px;
    -moz-border-radius-topright:7px;
	-webkit-border-top-left-radius:7px;
    -webkit-border-top-right-radius:7px;
	-opera-border-top-left-radius:7px;
    -opera-border-top-right-radius:7px;
	border-top-left-radius:7px;
    border-top-right-radius:7px;
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
	z-index:99;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#ffffff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
	clear:both;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
	border-top: 0px none;
	border-right: 10px solid #fefdfc;
	border-bottom: 10px solid #fefdfc;
	border-left: 10px solid #fefdfc;
	-moz-border-radius-bottomleft:7px;
	-moz-border-radius-bottomright:7px;
	-webkit-border-bottom-left-radius:7px;
	-webkit-border-bottom-right-radius:7px;
	-opera-border-bottom-left-radius:7px;
	-opera-border-bottom-right-radius:7px;
	border-bottom-left-radius:7px;
	border-bottom-right-radius:7px;
}

