/*MAG レイアウト*/

*{
	padding: 0 ;
	margin: 0 ;
}


body{
	height: 100% ;
	font-size: 12px ;
	text-align: center ;
	background: #ededed ;
}


#bodyWrap {
	position: relative ;
	height: 1% ;
	width: 770px ;
	padding: 0px 5px ;
	margin: auto ;
	text-align: center ;
	background: url("/mag/css_images/container.gif") center repeat-y ;
}


table, textarea {
	font-size: 100% ;
}


body > #bodyWrap {
	width: 770px ;
}

h5 {
	margin-top: 20px;
	margin-bottom: 0px;
	font-size: 120% ;
}

#main {
	width: 700px ;
	padding: 10px ;
	padding-bottom: 2em ;
	margin: auto ;
	margin-left: 1px solid #666 ;
	text-align: left ;
}


#footer {
	background : url("/mag/css_images/footer.gif") bottom repeat-x ;
	border : 1px solid #fff ; /*font-size : 10px ;*/ color : #fff ;
	text-align : right ;
	padding : 30px 10px 3px; 
}


#contents {
}


#contents table, #contents textarea {
	width: 100% ;
	margin: 10px auto ;
	border-top: e8e8e8 ;
}


#contents th, #contents td {
	padding: 7px;
	border-right: 1px solid #d8d8d8 ;
	border-bottom: 1px solid #d8d8d8 ;
}


#contents th {
	/*width: 22%;*/
	font-weight: normal ;
	color: #000 ;
	background: #A4BDCA ;
	white-space : nowrap ;
}


#contents td {
	background: #ECF2FE ;
}


#contents th span {
	font-weight: normal ;
}


#contents .trColor1 td {
        white-space: normal;
	background: #F5F8FE ;
}


#contents .trColor2 td {
        white-space: normal;
	background: #ECF2FE ;
}


#contents #homeDetail{
	text-align: center ;
}


#contents #homeDetail th{
	width: 9%;
	white-space: nowrap;
}


#contents #searchMessage span {
	font-weight: bold ;
}


/*ヘッダ*/
#header {
	position: relative ;
	height: 110px ;
	margin-bottom: 20px ;
	background: url("/mag/css_images/header.gif") repeat-x ;
}


#logout {
	position: absolute;
	top: 10px ;
	right: 20px ;
	z-index: 100 ;
}



#loginUser {
	position : absolute ;
	top : 76px ;
	right :30px ; 
	/*font-size : 14px ;*/
	height : 30px ;
	line-height : 30px ;
 
}




#header img {
	position: absolute ;
	top: 7px ;
	right: 10px ;
}




#header h2 {
	position: absolute ;
	left: 30px;
	top: 20px;
	font-size: 18px ;
}



/*メイン*/
#nowTitle {
	height: 30px ;
	margin-bottom: 20px ;
	font-size: 16px ;
	color: #fff ;
	line-height: 30px ;
	text-align: center ;
	background: url("/mag/css_images/title.gif") repeat-x ;
}




.pankuzu {
	position: relative ;
	left: 0px;
	top: 2px;
	right: 50px;
	padding: 0px 10px ;
	margin-bottom: 10px ;
}

/*エラー*/
#error {
	padding: 10px ;
	margin: 1em 100px ;
	border: 3px double #ff9999 ;
	color: red ;
	background: #ffffdc ;
}

.error {
	color: red ;
}

#errorTitle {
	font-style: italic ;
	font-weight: bold ;
	color: orange ;
}




#error2 {
	padding: 10px ;
	margin: 1em 100px ;
	border: 3px double #ff9999 ;
	text-align: center ;
	background: #ffffdc ;
}




/*フォーム*/

input .wide {
	width: 20em ;
}




#tableWrap input,
#tableWrap textarea,
#tableWrap option,
#tableWrap select {
	border: 1px solid #d8d8d8 ;
}




.tableWrap input,
.tableWrap textarea,
.tableWrap option,
.tableWrap select {
	border: 1px solid #d8d8d8 ;
}


#popupBodyWrap input,
#popupBodyWrap textarea,
#popupBodyWrap option,
#popupBodyWrap select {
	border: 1px solid #d8d8d8 ;
}






h3 {
	margin: auto ;
	margin-bottom: 0.8em;
	border-bottom: 2px solid #26566E ;
	color: #26566E ;
}




#bukkenSearch th {
	font-weight: normal ;
	text-align: left ;
}




.buttonWrap {
	margin-bottom: 30px ;
	text-align: center ;
}


.tableWrap .buttonWrap {
	margin-top: -30px ;
}



.buttonWrap input {
	height: 2em ;
	width: 100px ;
	color: #fff ;
	line-height: 2em ;
	background: #26566e ;
}





.buttonWrap2 input {
	height: 2em ;
	width: 15em;
	color: #fff ;
	line-height: 2em ;
	background: #26566e ;
}




.buttonWrap2 {
	text-align: center ;
}





small {
	/*font-size: 90% ;*/
}



/*footer*/
address {
	font-style: normal ;
}


/*てーぶる*/
#manageLog th {
	text-align: center ;
	white-space: no-wrap ;
}


#manageLog td {
}


/*pagenavi*/
.pageNavi {
	text-align: right ;
}




.pageNaviNow {
	text-align: right ;
}




#tableWrap {
	width: 100% ;
	margin: auto auto 30px;
}


.tableWrap {
	width: 100% ;
	margin: auto ;
	margin: auto auto 30px;
}


#tableWrap table {
	width: 100% ;
}


.tableWrap table {
	width: 100% ;
}



textarea {
}


.trColor1 td {
	background: #F5F8FE ;
}




.trColor2 td {
	background: #ECF2FE ;
}


/*login*/

#login {
	padding: 20px 50px ;
	margin: 50px 100px ;
	border: 3px solid #A4BDCA ;
	text-align: center ;
	background: #fff ;
}


#loginError {
	padding: 3px ;
	margin: 20px auto ;
	color: red ;
	text-align: left ;
	background: #ffc ;
}



#login table caption{
	/*font-size: 11px ;*/
	text-align: center ;
}


#login td {
	text-align: left ;
	background: #ECF2FE ;
}


#login td input {
	width: 10em ;
	padding: 2px ;
	border: 1px solid #d8d8d8 ;
	background: #fff ;
}



#loginButton {
	clear: both ;
}



#loginButton input {
	padding: 3px ;
	font-weight: bold ;
	color: #fff ;
	background: #26566E ;
}



.tab ul{
	height: 1% ;
	overflow: hidden ;
	border-bottom: 5px solid #a4bdca ;
}


.tab li {
	float: left ;
	width: 155px ;
	margin-right: 3px ;
	list-style-type: none ;
}


.tab li a {
	height: 30px ;
	color: #333 ;
	line-height: 30px ;
	text-decoration: none ;
	display: block ;
	text-align: center ;
	background: url("/mag/css_images/navi.gif") no-repeat ;
	background-position: 0px -50px ;
}

.tab li a:hover, .tab li.on a{
	background: url("/mag/css_images/navi.gif") ;
	background-position: 0px 0px ;
}

.tab_crm ul{
	height: 1% ;
	overflow: hidden ;
	border-bottom: 5px solid #a4bdca ;
}


.tab_crm li {
	float: left ;
	width: 124px ;
	margin-right: 3px ;
	list-style-type: none ;
}


.tab_crm li a {
	height: 30px ;
	color: #333 ;
	line-height: 30px ;
	text-decoration: none ;
	display: block ;
	text-align: center ;
	background: url("/mag/css_images/navi_crm.gif") no-repeat ;
	background-position: 0px -50px ;
}

.tab_crm li a:hover, .tab_crm li.on a{
	background: url("/mag/css_images/navi_crm.gif") ;
	background-position: 0px 0px ;
}

blockquote {
	padding: 5px ;
	margin: 2em 7% ;
	border: solid 1px #d8d8d8 ;
	color: #333 ;
	background: #fff ;
}



#tableCaption {
	font-size: 10px ;
	list-style-type: none ;
}


option {
	padding-right: 10px ;
}


