/************************************************************
 *
 *  Copyright (C) #!Denshiki.Networks 2009 Japan
 *  http://www.denshiki.net
 *
 ************************************************************/

/***** Layout *********************************************
 *
 *  ├ wrap
 *  │   ├ header
 *  │   ├ main
 *  │   │   ├ form
 *  │   │   └ result
 *  │   └ push_footer  // フッタ固定用
 *  └ footer
 *       ├ menu 
 *       └ copyright 
 *
 **********************************************************/


/******************** Initialize ********************/

* {
  margin: 0;
	padding:0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.ime-off {
	ime-mode: disabled;
}

.red {
	color: #ff0000;
}

.blue {
	color: #0000ff;
}

.b {
	font-weight: bold;
}

/******************** Layout ********************/

#header {
/*
	margin-top:20px;
	border-top:solid 1px red;
	margin-bottom:10px;
*/
	text-align:center;
	padding-top:20px;
	padding-bottom:20px;

}

/***** アプリタイトル *****/
#header h1 { 
}

/***** アプリの説明 *****/
#header h2{
	color:#606060;
	margin-top:10px;
	font-size:12px;
}


#form_box {
	text-align: center;
}

#input_form{
	padding:20px;
	text-align:left;
	width: 400px;
	margin: 0 auto 0;

/*
	border-top:solid 1px #c0c0c0;
	border-bottom:solid 1px #c0c0c0;
*/
}


#copyright {
/*	border-top:solid 1px #c0c0c0;
*/	padding:10px;
	line-height:140%;
	text-align:center;
	font-size:x-small;
}



#menu {
/*
	border-top:solid 1px orange;
*/
	height: 20px;
	padding: 5px;
	text-align:center;
	font-size:12px;
}

#result {
	text-align:center;
}



/******************** Fixed Footer ********************/
/* http://ryanfait.com/sticky-footer/ */

html, body {
    height: 100%;
}

.wrapper {
   min-height: 100%;
   height: auto !important;
   height: 100%;
   margin: 0 auto -4em;
}

#footer, #push_footer {
    height: 4em;
}


/******************** Thickbox ********************/

.hide {
	display:none;
}

.thickbox_body {
	padding:10px;
}
/******************** Input Form ********************/

#input_form {
	font-size: 14px;
	color: black;
/*
	background-color: pink;
*/
}

input {
	font-family: Arial, Helvetica, sans-serif;
	font-size:1em;
	border-radius:5px;
	-moz-border-radius:5px;
	background-color:#fff;
	font-weight: bold;
	text-align: center;
	margin-right: 5px;
	margin-left: 5px;
	color: black;
	margin-top: 10px;
}

#y,
#m,
#d,
#r1,
#r2 {
	padding:3px;
	border-top:1px solid #aaa;
	border-right:1px solid #f1f1f1;
	border-bottom:1px solid #f1f1f1;
	border-left:1px solid #aaa;
}

#y,
#r1,
#r2 {
	width:50px;
}

#r1,
#r2,
.form_range {
	font-size: 13px;
	color: #333333;
	font-weight: normal;
}


#m,
#d {
	width:30px;
}

#w {
	width:50px;
	text-align: left;
	font-weight: bold;
	padding:1px;
	border-top:2px solid #aaa;
	border-right:2px solid #f1f1f1;
	border-bottom:2px solid #f1f1f1;
	border-left:2px solid #aaa;
}




#button,
.submit {
	padding:3px;
	padding-left: 10px;
	padding-right: 10px;
	margin-left: 90px;
	border-top:1px solid #f1f1f1;
	border-right:1px solid #aaa;
	border-bottom:1px solid #aaa;
	border-left:1px solid #f1f1f1;
	border-radius:5px;
	-moz-border-radius:5px;
	cursor:pointer;
}

#button,
.submit {
	background-color:#eee;
	font-weight: bold;
}

#button:hover,
.submit:hover {
    background-color:#ddd;
}


/******************** Result Display ********************/

.result_disp {
	line-height: 1.5em;
	margin: 0 auto 0;
	width: 460px;
	font-family: Verdana, Arial ;
}


/***** 結果表示 *****/

#result {
	font-size: 16px;
	font-weight: normal;
	color: black;
	padding-top: 20px;
	text-align: center;
}

#result .wday_en {
	color: black;
}

#result .wday_jp {
	font-size: 150px;
	width: 180px;
	margin-top: 10px;
}

.result_left,
.result_right {
	width: 130px;
}

#result .wday_jp,
.result_left,
.result_right {
	float: left;
}

#menu {
	clear: both; /* 上の結果表示のfloat解除 */
}

.result_left {
	padding-top: 80px;
	padding-right: 10px;
	text-align: right;
}

.result_right {
	padding-top: 80px;
	padding-left: 10px;
	text-align: left;
}


#prev,
#next {
	margin: 10px;
	color: orange;
}

#cur_range,
.goto_top {
	margin: 20px;
	font-size: 12px;
	font-weight: normal;
	color: grey;
}

.wday_color_black {
	color: black;
}

.wday_color_red {
	color: red;
}

.wday_color_blue {
	color: blue;
}

/******************** Validation Error ********************/
/*
div#ClientValidationSummary,
div#valid_msg {
*/

div#valid_msg{
	padding:20px;
	width:350px;
	background-color:#e55;
	border-radius:5px;
	-moz-border-radius:5px;
	color:#fff;
	font-size: 14px;
	text-align: left;
	margin:50px auto 0 auto;
}

div#ClientValidationSummary a,
div#valid_msg a {
	color:white;
}

#ClientValidationSummary ul,
#valid_msg ul {
	margin-left: 30px;
}



/******************** Colors ********************/

body {
	background-color:white;
	color: black;
}


#footer {
/*
	background-color:#f0f0f0;
*/
}

#menu,
#menu a,
#menu a:visited,
#copyright a,
#copyright a:visited {
	color: grey;
}

#menu a:hover,
#copyright a:hover {
	color: orange;
}
