﻿/**************************** Calendar ****************************/
#calendar{
	margin: 0 auto;
	width: 735px;
	text-align: center;
  	position: relative;
}
#calheader{
	width:100%;
	height:72px;
	text-align:center;
}
#calheader h2{
	margin-top:15px;
}
#calcontainer{
	float:left;
	margin-bottom:10px;
}
#daysmonth{
	clear:both;
}
.dayweek{
	width:104px;
	height:30px;
	float:left;
	border-right:1px solid #e5e5e5;
	background-color: #FFFFFF;
}
.dayweek p{
	display:block;
	font-size:15px;
	line-height:31px;
	text-shadow:0 1px 0 #ffffff;
}
.week{
	overflow:auto;
	border-top:1px solid #c2c2c2;
}
.weeku{
	overflow:auto;
	border-top:1px solid #c2c2c2;
	border-bottom:1px solid #e5e5e5;
}
.today{
	background:#fffcdf;
	border-right:1px solid #e5e5e5;
}
.today .daybar{
	background:#fffac1;
}
.day{
	width:104px;
	height: 66px;
	float:left;
	border-right:1px solid #787878;
	border-bottom:1px solid #787878;
	background: url(../Images/Daily.png);
}

.day.today {
	width:104px;
	height: 66px;
	float:left;
	border-right:1px solid #787878;
	border-bottom:1px solid #787878;
	background: url(../Images/Daily-Press.png);
}

.day.dayselected {
	width:104px;
	height: 66px;
	float:left;
	border-right:1px solid #787878;
	border-bottom:1px solid #787878;
	background: url(../Images/Daily-Press.png);
}

.day.sun
{
    height: 66px;
	width:104px;
	float:left;
	color: #FF0000;
	border-right:1px solid #787878;
	border-bottom:1px solid #787878;
	background: url(../Images/Daily.png);
}

.day.sun.dayselected {
	width:104px;
	height: 66px;
	float:left;
	border-right:1px solid #787878;
	border-bottom:1px solid #787878;
	background: url(../Images/Daily-Press.png);
}

.day p 
{
    font-family: Arial;
    font-size: 30px;
    font-weight: bold;
    text-align: right;
    position: relative;
    bottom: 2px;
}

.brn{
	border-right:none;
}
.bun{
	border-bottom:none;
}

.daybar{
	width:100%;float:left;
	background:#f3f3f3;
}
.daybar p{
	margin-left:5px;
	margin-top:3px;
	margin-bottom:3px;
	font-size:15px;
	font-weight:400;
	color:#969696;
	text-shadow:0 1px 0 #ffffff;
}
.dots{
	width:100%;
	height:50px;
	clear:both;
}
.dots ul{
	text-align:center;
	white-space:nowrap;
	overflow:hidden;
}
.dots ul li{
	margin-top:10px;
	display:block;
	/*-webkit-border-radius:14px;*/
	width:12px;height:11px;
	font-size: 10px;
	padding-top: 1px;
	margin-left: 5px;
	position: relative;
	float: left;
}
.big{
	width:107px;
	float:left;
}
.big:hover{
	background:#e9f0f8;cursor:pointer;
}
.big .dots{
	height:65px;
}
.big .dots li{
	margin-top:25px;
}

/**************************** Events when slide is open ****************************/
.open{height:480px;border-top:1px solid #e5e5e5;float:left;clear:both;}
.open li{-webkit-border-radius:10px;margin-left:1px;margin-right:1px;}
.open li p{width:93px;margin-top:5px;margin-left:6px;margin-right:6px;line-height:12px;font-size:10px;color:#ffffff;overflow:hidden;}
.open li:hover{cursor:pointer;}

/**************************** Colors ****************************/
/*
.none{background:#d6d6d6;}
.none:hover{background:#dfdfdf;}
.blue{background:#5496dd;}
.blue:hover{background:#5c9ef9;}
.red{background:#ff454b;}
.red:hover{background:#ff6164;}
.yellow{background:#ffac4d;}
.yellow:hover{background:#ffbd6a;}
.green{background:#94e354;}
.green:hover{background:#98e857;}
.purple{background:#D747FF;}
.purple:hover{background:#E284FF;}
*/

/**************************** Duration of an event ****************************/
.l1{height:20px;overflow:hidden;}
.l2{height:40px;overflow:hidden;}
.l3{height:60px;overflow:hidden;}
.l4{height:80px;overflow:hidden;}
.l5{height:100px;overflow:hidden;}
.l6{height:120px;}
.l7{height:140px;}
.l8{height:160px;}
.l9{height:180px;}
.l10{height:200px;}
.l11{height:220px;}
.l12{height:240px;}
.l13{height:260px;}
.l14{height:280px;}
.l15{height:300px;}
.l16{height:320px;}
.l17{height:340px;}
.l18{height:360px;}
.l19{height:380px;}
.l20{height:400px;}
.l21{height:420px;}
.l22{height:440px;}
.l23{height:460px;}
.l24{height:480px;}

/**************************** Amount of hours between previous event or start of the day ****************************/
.a1{margin-top:20px;}
.a2{margin-top:40px;}
.a3{margin-top:60px;}
.a4{margin-top:80px;}
.a5{margin-top:100px;}
.a6{margin-top:120px;}
.a7{margin-top:140px;}
.a8{margin-top:160px;}
.a9{margin-top:180px;}
.a10{margin-top:200px;}
.a11{margin-top:220px;}
.a12{margin-top:240px;}
.a13{margin-top:260px;}
.a14{margin-top:280px;}
.a15{margin-top:300px;}
.a16{margin-top:320px;}
.a17{margin-top:340px;}
.a18{margin-top:360px;}
.a19{margin-top:380px;}
.a20{margin-top:400px;}
.a21{margin-top:420px;}
.a22{margin-top:440px;}
.a23{margin-top:460px;}
.a24{margin-top:480px;}

/**************************** Legend ****************************/
.calcat{float:right;margin-bottom:20px;margin-right:5px;}
.calcat p{margin-top:4px;float:left;}
.caldot{float:left;width:12px;height:12px;/*border-radius:20px;*/margin-left:10px;margin-top:4px;margin-right:8px;}

#calendar .rightbar  
{
    background: url('../images/TopBar.png'); 
}

#calendar .dayweek  
{
    background: url('../images/Day-header.png'); 
}

#calendar .yearcell  
{
    background: url('../images/Year.png');
    color: #FFFFFF;
    font-family: Arial;
    font-size: 16px;
    *font-size: 15px;
    border: 1px solid #000000;
 }
 
#calendar #daycell  
{
    /* background: rgb(0,101,159); */
    background: url('../images/Day.png');
    color: #FFFFFF;
    font-family: Arial;
    font-size: 31px;
    border: 1px solid #000000;
    
}

#calendar #dayofweekcell  
{
    background: url('../images/Week.png');
    color: #FFFFFF;
    font-family: Arial;
    font-size: 16px;
    border: 1px solid #000000;
    width: 85px;
    height: 40px;
}

#calendar .calnav 
{
    float: left;
    position: relative;
    top: -10px;
}

#calendar .legendlabel 
{
    float: right;
    color: #FFFFFF;
    position: relative;
    top: 10px;
}

#calendar .legendlabellink1
{
    margin-left: 8px;
    margin-right: 3px;
    color: #FFFFFF; 
}
#calendar .legendlabellink2
{
    margin-left: 3px;
    margin-right: 3px;
    color: #FFFFFF; 
}

#calendar .legendimg
{
    position: relative;
    top: 5px;   
}

#calendar .day-ipocommon
{
    padding: 0 0 0 0;
    display: block;
    width: 104px;
    height: 13px;
    overflow: hidden;
    text-align: left;
    font-family: Arial;
    font-size: 12px;
    font-weight: bold;
    color: #505050;
    position: relative;
    top: -10px;
    line-height: 120%;
}

#calendar #daysweek
{
    background: url('../Images/DayBar.png');
    width: 735px;
    height: 31px;
}

.altitem
{
    padding-top: 2px;
    display: block;
    width: 120px;
    background-color: rgb(250, 241, 212);
    padding-left: 10px;
    padding-right: 10px;
    font: 12px;
}

.item 
{
    padding-top: 2px;
    display: block;
    width: 120px;
    background-color: rgb(253, 250, 242);
    padding-left: 10px;
    padding-right: 10px;
    font: 12px;
}

#mainday 
{
    
}

#subday
{
    font-family: Arial;
    font-size: 12px;   
}

.day-ipoheader 
{
    padding: 0 0 0 0;
    display: block;
    width: 104px;
    height: 14px;
    overflow: hidden;
    text-align: left;
    font-family: Arial;
    font-size: 12px;
    font-weight: bold;
    color: #505050;
    position: relative;
    top: -10px;
    line-height: 120%;
    font-weight: bold;
}

.day-ipoheader img 
{
    position: relative;
    top: 1px;  
}

.ipocal_pop
{
    display: none;
    position: absolute;
    border: 1px solid #787878;
    font-family: Arial,新細明體;
    font-size: 12px;
    font-weight: bold;
}