/* These styles provide a minimal degree of styling, allowing most theme defaults to be dominant. */
.mc-main .details {
  background: #fff;
  border: 1px solid #666;
}

.mc-main.mini .mini-event {
  background: #fff;
  border: 1px solid #666;
  padding: 24px 18px;
}

.mc-main.mini .mini-event .details {
  background: none;
  border: none;
}

/* That's the end of all colors set (or set and removed) in this style sheet. */
.mc-main caption {
  font-weight: 700;
  padding: 6px 0 !important;
  font-size: 1.29em;
  background: #eee;
  text-align: center !important;
}
.mini caption {
  font-size: 1.15em;
}

.mc-main .my-calendar-date-switcher {
  padding: 0;
  margin: 0 0 10px;
}

.mc-main .my-calendar-date-switcher input, .mc-main .my-calendar-date-switcher label, .mc-main .my-calendar-date-switcher select {
  margin: 0;
  padding: 0;
}

.mc-main .my-calendar-date-switcher .button {
  font-size: .9em;
}

.mc-main table, .mc-main.calendar {
  width: 100% !important;
  font-size: 100%;
  line-height: 1.2;
  border-collapse: separate !important; 
  border-spacing: 0 !important;
  border: none !important;
}

.mc-main td {
  vertical-align: top;
  text-align: left;
  width: 13%;
  height: 70px;
  padding: 4px 3px; 
  border-right: 1px solid #666; 
  border-bottom: 1px solid #666; 
  background: none;
  text-align: center;
}

.mc-main tr>td:first-child {
  border-left: 1px solid #666;
}
  
.mini td {
  height: auto !important;
}

.mc-main th {
  text-align: center;
  padding: 4px 3px; 
  border-right: none !important;
  border-bottom: 1px solid #666 !important;
  background: #fff !important;
  font-weight: normal;
}

.mc-main th abbr {
  border-bottom: none;
}

.mc-main h3, .mc-main h3 a {
  margin: 3px 0;
  padding: 0 0 1em 0;
  width: 100%;
  font-size: .9em !important;
  font-weight: normal !important;
  border: none !important;
  clear: none;
}

.mini h3, .mini h3 a {
  padding: 0 !important;
  font-size: 1.0em !important;
}

.mc-main h3 a {
  text-decoration: none;
}

.mc-main h3 a:hover, .mc-main h3 a:focus {
  text-decoration: underline;
}

.mc-main h3 img {
  vertical-align: middle;
  margin: 0 3px 0 0 !important;
}

.mc-main .mc-list h3 img {
  vertical-align: middle;
}

.mc-main .list-event h3 {
  font-size: 1.2em;
  margin: 0;
}

.mc-main .calendar-event .details, .mc-main .calendar-events {
  position: absolute;
  left: 15%;
  width: 70%;
  padding: 5px;
  z-index: 3;
}

.mc-main .details .close {
  float: right;
  width: 16px !important;
  padding: 2px 2px 7px 7px;
}

.mc-main.mini .details .close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.mc-main .calendar-events {
  width: 200px !important;
  left: 0px;
  opacity: 1.0;
}

.mc-main .list-event .details {
  margin: 5px 0;
  padding: 5px 5px 0;
}

.mc-main .mc-list {
  margin: 0;
  padding: 0;
}

.mc-main .mc-list li {
  padding: 5px;
  list-style-type: none;
  margin: 0;
}

.mc-main .mc-date {
  display: block;
  padding: 2px 4px;
  font-weight: bold;
}

.mini .mc-date {
  font-weight: normal;
}

.mc-main .category-key {
  padding: 5px;
  margin: 5px 0;
}

.mc-main .category-key ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.mc-main .category-key li {
  margin: 2px 10px;
}

.mc-main .category-key span {
  margin-right: 5px;
  vertical-align: middle;
}

.mc-main .category-key .no-icon {
  width: 10px;
  height: 10px;
  display: inline-block;
}

.mc-list li {
  text-indent: 0;
  margin: 0;
  padding: 0;
}

.mc-main .calendar-event .event-time, .mc-main .list-event .event-time {
  display: block;
  height: 100%;
  margin-right: 10px;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: .9em;
}

.mc-main p {
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

.mc-main .vcard {
  font-size: .9em;
  margin: 10px 0;
}

.mc-main .calendar-event .vcard {
  margin: 0 0 10px;
}

.mc-main {
  position: relative;
}

.mc-main img {
  border: none;
}

.category-color-sample img {
  margin-right: 5px;
  vertical-align: top;
}

.mc-main .my-calendar-nav ul {
  height: 2em;
  margin: 0 !important;
  padding: 0 !important;
}

.mini .my-calendar-nav ul {
  height: 2em !important;
  padding: 5px 12px !important;
}

.mc-main .my-calendar-nav li {
  float: left;
  list-style-type: none !important; /* It really is pretty important. */
  margin: 0 12px 0 0;
}

.mini .my-calendar-nav li {
  margin: 0;
}

.mc-main .my-calendar-nav li:before {
  content: '';
}

.mc-main .my-calendar-nav li a {
  display: block;
  text-align: center;
}

.mini .my-calendar-nav li a {
  font-size: 1.0em;
}

.mini .my-calendar-next {
  text-align: right;
  float: right !important;
  margin: 0;
}

.mc-main.mini .my-calendar-date-switcher label {
  display: block;
  float: left;
  width: 6em;
}

.mc-main.mini .my-calendar-date-switcher {
  padding: 4px;
}

.mc-main.mini td .category-icon {
  display: none;
}

.mc-main.mini h3 {
  font-size: 1.0em;
  font-weight: normal;
  text-align: center;
}

.mc-main.mini .day-with-date span, .mc-main.mini .day-with-date a {
  text-align: center;
}

.mc-main .mini-event .sub-details {
  margin: 0;
  border-bottom: 1px solid #ccc;
  padding: 2px 0 0;
  margin-bottom: 5px;
}

.mc-main .mini-event .details img {
  width: 100%;
}

.mc-main.mini .day-with-date a {
  display: block;
  font-weight: 700;
  text-decoration: underline;
  color: #0b1013;
}

.mc-main.mini .day-with-date a:hover {
  text-decoration: underline;
  color: #40aaef;
}

.mini .my-calendar-nav li a {
  font-size: 1em;
  color: #0b1013;
  text-decoration: underline;
}

.mini .my-calendar-nav li a:hover {
  color: #40aaef;
  text-decoration:underline;
}

.mc-main .nextmonth {
  background: #ededed;
}

.mc-main .vcard, #mc_event .vcard {
  font-size: .9em;
  padding: 10px;
  float: right;
}

.screen-reader-text {
  position: absolute;
  left: -999em;
}

.mini .my-calendar-header { 
  position:absolute;
  width: 100%;
}

.mini .my-calendar-prev {
  float:left;
}
.mini .my-calendar-next {
  text-align: right;
}

td.mcat_closed-all {
  background: #f1b8bb !important;
}
td.mcat_closed-exhi {
  background: #ffe3aa !important;
}
td.mcat_closed-reading {
  background: #c1dff1 !important;
}

th.sun {
  color: #ff0000;
}
th.sat {
  color: #0000ff;
}

.mc-main * {
  outline: none;
}