div#calendar{
  margin:0px auto;
  padding:0px;
  width:360px;
  max-width: 360px;
  font-family:Helvetica, "Times New Roman", Times, serif;
}
/*總頭*/
div#calendar div.boxtitle{
    position:relative;

    width:360px;
	padding-top:8px;
	padding-bottom:8px;
	text-align:center;
	font-weight:700;  
	border-top-left-radius:5px; 
	border-top-right-radius:5px;
	font-size:140%;
	color:orange; 	
    background-color:#000;
}
div#calendar div.box{
    position:relative;
    top:0px;
    left:0px;
    width:360px;
    height:40px;	
    background-color:#005a87;
	text-align:center;	
}
 
div#calendar div.header{
	padding:2px auto 2px auto;
    line-height:40px;  
    vertical-align:middle;
    position:absolute;
    left:11px;
    top:0px;
	width:100%;
    max-width:360px;
    height:40px;   
    text-align:center;
}
 
div#calendar div.header a.prev,div#calendar div.header a.next{ 
    position:absolute;
    top:0px;   
    height: 17px;
    display:block;
    cursor:pointer;
    text-decoration:none;
    color:#FFF;
}
 
div#calendar div.header span.title{
    color:#FFF;
    font-size:11pt;
}
 
 
div#calendar div.header a.prev{
    left:0px;
}
 
div#calendar div.header a.next{
    right:22px;
}
 
 
 
 
/*******************************Calendar Content Cells*********************************/
div#calendar div.box-content{
    border:1px solid #555555;
	border-top:none;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	text-align:center;
	background:#FFFFFF;
}
 
 
/*星期幾表頭*/
div#calendar ul.label{

	width:340PX;
	border:none;
    float:left;
    margin: 0px auto 0px auto;
    padding: 0px;
    margin-top:5px;
    margin-left: 2px;
}
 
div#calendar ul.label li{
    
    padding-left:0px;
    margin-right:4px;
margin-left:3px;	
    float:left;
    list-style-type:none;
    width:40px;
    height:40px;
    line-height:40px;
    vertical-align:middle;
    text-align:center;
    color:#000;
    font-size: 15px;
    background-color: transparent;
}
 
 
div#calendar ul.dates{
    float:left;
    margin: 0px;
    padding: 0px;
    margin-left: 3px;
    margin-bottom: 5px;
	background:#ffffff;
}
 
/** overall width = width+padding-right**/
div#calendar ul.dates li{
    margin:0px;
    padding:0px;
    margin-right:1px;
	margin-left:2px;
    margin-top: 5px;
    line-height:44px;
    vertical-align:middle;
    float:left;
    list-style-type:none;
    width:44px;
    height:44px;
    font-size:11pt;
    background-color: #ffffff;
    color:#000;
    text-align:center; 
}
 
:focus{
    outline:none;
}
 
div.clear{
    clear:both;
} 
input[type=submit]
{
width:36px;height:36px;
margin:0px 0px;

line-height:19px;
font-size: 90%;
color: #222; 
border:1px solid #3C56FF;
border-radius:50%; 
-moz-border-radius:50%; 
-webkit-border-radius:50%;
box-shadow: 0 1px 1px 0 rgba(100, 100, 100, 0.3);
-moz-box-shadow: 0 1px 1px 0 rgba(100, 100, 100, 0.3);
-webkit-box-shadow: 0 1px 1px 0 rgba(100, 100, 100, 0.3);
cursor:  pointer;
}
input[type=submit] .blue
{
	display:inline-block;*display:inline;
	padding:7px 20px;
	margin-bottom:10px;
	font-size:12pt;
	font-weight:700;
	line-height:28px;
	color:#333 !important;
	text-align:center;
	vertical-align:middle;
	cursor:pointer;
	border:1px solid #dedede;*border:0;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	border-color:#eeeeee,#dedede,#dedede;
	        border-radius:4px;
	     -o-border-radius:4px;
	    -ms-border-radius:4px;
	   -moz-border-radius:4px;
	-webkit-border-radius:4px;
	background-color: #f5f5f5;
	background-image: linear-gradient(top, #f9f9f9, #efefef);
	background-image: -ms-linear-gradient(top, #f9f9f9, #efefef);
	background-image: -moz-linear-gradient(top, #f9f9f9, #efefef);  
	background-image: -webkit-linear-gradient(top, #f9f9f9, #efefef);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f9f9f9', EndColorStr='#efefef');
}
input[type=submit].cancell{
border:1px solid #888888;
background:#005a87;
color:#ffffff;
font-size:11pt;
}
input[type=submit].today{
border:2px solid #71172C;
background:#BC2749;
color:#fff;
font-size:11pt;
font-weight:700;
}
.weekend{
color:RED;
}


/*外掛* BUTTON*/
	.note {
		background-color: #ffffff; 
		padding: 10px 10px; 
		color: #333333; 
		border:1px solid #bbb;
				border-radius:5px; 
		   -moz-border-radius:5px; 
		-webkit-border-radius:5px;
				box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
	       -moz-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
		-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
	}
	.note p{line-height:160%;}
	
button{
	display:inline-block;*display:inline;
	padding:7px 20px;
	margin-bottom:10px;
	font-size:12pt;
	font-weight:700;
	line-height:28px;
	color:#333 !important;
	text-align:center;
	vertical-align:middle;
	cursor:pointer;
	border:1px solid #dedede;*border:0;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	border-color:#eeeeee,#dedede,#dedede;
	        border-radius:4px;
	     -o-border-radius:4px;
	    -ms-border-radius:4px;
	   -moz-border-radius:4px;
	-webkit-border-radius:4px;
	background-color: #f5f5f5;
	background-image: linear-gradient(top, #f9f9f9, #efefef);
	background-image: -ms-linear-gradient(top, #f9f9f9, #efefef);
	background-image: -moz-linear-gradient(top, #f9f9f9, #efefef);  
	background-image: -webkit-linear-gradient(top, #f9f9f9, #efefef);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f9f9f9', EndColorStr='#efefef');
}
button:hover, button:active{
	background:#eee;
	background:-webkit-gradient(linear, left top, left bottom, from(#eee), to(#f8f8f8));
	background:-moz-linear-gradient(top, #eee, #f8f8f8);
}



button.blue{ /* --- blue color button --- */
	color:#fff !important;
	background-color:#0085c6;
	background: linear-gradient(#008fd5, #0085c6);
	background: -o-linear-gradient(#008fd5, #0085c6);
	background: -ms-linear-gradient(#008fd5, #0085c6);
	background: -moz-linear-gradient(#008fd5, #0085c6);
	background: -webkit-linear-gradient(#008fd5, #0085c6);
	background: -webkit-gradient(linear, left top, left bottom, from(#008fd5), to(#0085c6));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#008fd5', EndColorStr='#0085c6');
}
button.blue:hover, button.blue:active{
	background:#008fd5;
	background:-moz-linear-gradient(top, #008fd5, #009de9);
	background:-webkit-gradient(linear, left top, left bottom, from(#008fd5), to(#009de9));
}

button.red{ /* --- red color button --- */
	color:#fff !important;
	background-color:#bd362f;
	background: linear-gradient(#bd362f, #b1322c);
	background: -o-linear-gradient(#bd362f, #b1322c);
	background: -ms-linear-gradient(#bd362f, #b1322c);
	background: -moz-linear-gradient(#bd362f, #b1322c);
	background: -webkit-linear-gradient(#bd362f, #b1322c);
	background: -webkit-gradient(linear, left top, left bottom, from(#bd362f), to(#b1322c));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#bd362f', EndColorStr='#b1322c');
}
button.red:hover, button.red:active{
  background:#bd362f;
  background:-webkit-gradient(linear, left top, left bottom, from(#bd362f), to(#cc3b34));
  background:-moz-linear-gradient(top, #bd362f, #cc3b34);
}
a:link {
  text-decoration: none;
}