@import "./vcalendar/calendarShared.css";

/* Calendar Vertical Scrolling List ------------------------------------------- */
#calendarList.frontPage {
  background: transparent url(/vimages/L9/chBG.jpg) no-repeat;
  clear: right;
  float: right;
  margin: 0 0 10px 15px;
  padding: 8px 10px;
  width: 284px; /* 284 + (10 * 2) = 304 */
}

#calendarList.subPage {
  background-color: #fff;
  padding: 0 0 10px;
}

#calendarList h2 {
  color: #000;
  font-size: 24px;
  margin: 0 0 .5em;
  text-align: center;
}

#calendarList.subPage h3 {
  background-color: #000;
  color: #fff;
  margin: 0;
  padding: .5em 0;
  text-align: center;
}

#calendarList.frontPage ul.eventList {
  list-style: none;
  margin: 0;
  padding: 0;
}

#calendarList.subPage ul.eventList {
  list-style: none;
  margin: 0;
  padding: 8px 4px;
}

#calendarList ul.eventList a {
  color: #000;
}

#calendarList ul.eventList li {
  background-color: #fff;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
          border-radius: 3px;
  list-style: none;
  margin: 0 0 10px;
  padding: 8px 10px;
}

#calendarList.subPage ul.eventList li {
  padding: 5px;
}

#calendarList .listWrapper {
  height: 100%;
  overflow: hidden;
}

#calendarList .eventList .eventDate {
  border-bottom: 1px solid #ccc;
  font-size: 116%;
  font-weight: bold;
  margin: 0 0 0.5em;
  padding: 0 0 0.25em;
}

#calendarList.subPage .eventList .eventDate {
  font-size: 100%;
}

#calendarList .eventList .evDay {
  display: block;
  float: left;
  width: 80px;
}

#calendarList.subPage .eventList .evDay {
  width: 55px;
}

#calendarList .eventList p {
  color: #000;
  margin: 0 0 0.25em;
  padding: 0;
  text-align: left;
}

#calendarList .eventList p.eventTime {
  float: left;
  width: 75px;
}

#calendarList.subPage .eventList p.eventTime {
  font-size: 90%;
  width: 50px;
}

#calendarList .eventList p.eventTitle {
  font-weight: bold;
}

#calendarList .eventList p.eventTitle, #calendarList .eventList p.eventLocation {
  margin-left: 80px;
}

#calendarList.subPage .eventList p.eventTitle, #calendarList.subPage .eventList p.eventLocation {
  font-size: 90%;
  margin-left: 55px;
}

#calendarList p {
  margin: 1em 0;
  text-align: center;
}

/* Calendar Month ------------------------------------------------------------- */
#calendarMonth {
  background: transparent url(/vimages/L9/chBG.jpg) no-repeat;
  float: right;
  margin: 0 0 10px 15px;
  padding: 8px 10px;
  position: relative;
  width: 284px; /* 284 + (10 * 2) = 304 */
}

#calendarMonth h2 {
  color: #000;
  font-size: 24px;
  margin: 0 0 .5em;
  text-align: center;
}

#calendarMonth table {
  width: 100%;
}

#calendarMonth caption {
  background-color: #000;
  color: #fff;
  font-size: 123.1%; /* 16px */
  font-weight: bold;
  margin: 0;
  padding: 9px 5px;
}

#calendarMonth th {
  background-color: #999;
  border: 1px solid #000;
  border-right: 0;
  color: #fff;
}

#calendarMonth td {
  background-color: #fff;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  color: #000;
  font-weight: bold;
  text-align: center;
}

#calendarMonth th.last, #calendarMonth td.last {
  border-right: 1px solid #000;
}

#calendarMonth td.notInMonth {
  background-color: #eee;
  color: #666;
}

#calendarMonth td.event {
  color: #ad1b1b;
}

#calendarMonth td a {
  display: block;
}

#calendarMonth .event a:link, #calendarMonth .event a:visited, #calendarMonth .event a:hover {
  color: #ad1b1b;
  text-decoration: none;
}

#calendarMonth p {
  font-size: 85%; /* 11px */
  font-weight: bold;
  text-align: center;
}

#calendarMonth p a {
  color: #000;
}

#calendarMonth .eventBalloon {
  left: -999em;
  position: absolute;
  width: 250px;
  z-index: 3;
}

#calendarMonth .eventBalloon div {
  background-color: #fff;
  border: 2px solid #111;
  -webkit-border-radius: 3px 0 3px 3px;
          border-radius: 3px 0 3px 3px;
  -webkit-box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
          box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
  padding: 8px 12px;
  text-align: left;
}

#calendarMonth .eventBalloon.rounded div {
  -webkit-border-radius: 3px;
          border-radius: 3px;
}

#calendarMonth .eventBalloon p {
  font-size: 100%;
}

#calendarMonth .eventBalloon ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#calendarMonth .eventBalloon li {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
}

#calendarMonth .eventBalloon a {
  display: inline;
  font-weight: normal;
}

#calendarMonth .eventBalloon p a {
  font-weight: bold;
}

#calendarMonth .event .eventBalloon a:link, #calendarMonth .event .eventBalloon a:visited {
  color: #000;
}

#calendarMonth .event .eventBalloon a:hover {
  color: #666;
  text-decoration: underline;
}

/* Calendar Week -------------------------------------------------------------- */
#calendarWeek {
  background-color: #fff;
  border-top: 1px solid #999;
  padding: 8px 10px;
}

#calendarWeek p.hd {
  font-weight: bold;
  float: left;
  margin: 0;
  padding: 0 0 7px 7px;
}

#calendarWeek a.hd {
  color: #000;
  font-size: 93%;
  float: right;
}

#calendarWeek table {
  clear: both;
  font-size: 93%;
  margin: 0;
  width: 100%;
}

#calendarWeek thead {
  background-color: #666;
  color: #fff;
  line-height: 22px;
}

#calendarWeek th {
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  font-weight: bold;
  padding: 0 0 0 8px;
  text-align: left;
}

/* IE needs */
#calendarWeek th span {
  float: left;
}

#calendarWeek th a:link, #calendarWeek th a:visited, #calendarWeek th a:link {
  float: left; /* IE needs */
  color: #fff;
}

#calendarWeek th.last, #calendarWeek td.last {
  border-right: 0;
}

#calendarWeek th span.date {
  background-color: #000;
  float: right;
  padding: 0 8px;
}

#calendarWeek td {
  background-color: #fff;
  border-right: 2px solid #000;
  padding: .5em;
  vertical-align: top;
  width: 14%;
}

#calendarWeek td div {
  min-height: 120px;
  overflow: hidden;
}

#calendarWeek td ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#calendarWeek td li {
  margin: 0;
  padding: 0;
}

#calendarWeek td li + li {
  margin-top: 1em;
}
