/* =====================================
   ICS Calendar Style
===================================== */

.ics-calendar-wrapper {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

.calendar-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 900px;
  margin: auto;
}

.calendar-table th,
.calendar-table td {
  border: 2px solid #FF9595;
  width: 14%;
  vertical-align: top;
  padding: 3px;
  height: 60px;
}

.calendar-table th {
  background: #FFE1E1;
  height: 40px;
}

.calendar-table td strong {
  display: block;
  text-align: center;
  font-size: 14px;
  margin-bottom: 4px;
}

.event {
  display: block;
  background: #cce5ff;
  color: #004085;
  border-radius: 4px;
  padding: 3px 4px;
  margin: 4px auto;
  font-size: 13px;
  text-align: center;
  max-width: 90%;
  word-break: break-word;
  line-height: 1.3;
}

.event-time {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}

.noevent {
  display: block;
  color: #555;
  text-align: center;
  font-size: 14px;
  margin-top: 6px;
}

.today {
  background: #fff8d0;
}

.sunday,
.holiday {
  color: red;
}

.saturday {
  color: blue;
}

.calendar-head nav {
  text-align: center;
  margin: 20px;
  font-size: 16px;
}

.calendar-head nav a {
  text-decoration: none;
  color: #0073aa;
  margin: 0 10px;
}

.calendar-head nav a:hover {
  color: #005177;
}

.ics-loading {
  position: absolute;
  top: 45%;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: bold;
  color: #555;
}
