/* calendar area */
.mc-main.calendar {
    width: 100%;
    line-height: 1.2;
}

/* calendar prev & next */
.my-calendar-nav ul {
	display: flex;
	margin: 0;
    padding: 0;
	height: auto;
	border: 1px solid #29709c;
	font-size: 16px;
}
.my-calendar-nav li {
	float: none;
	margin: 0;
	border: 1px solid #29709c;
	list-style-type: none;
}
.my-calendar-nav .my-calendar-prev,
.my-calendar-nav .my-calendar-next {
	flex-basis: 50%;
	flex-grow: 1;
    padding: 0;
	max-width:50%;
}
.my-calendar-nav li a {
	position: relative;
    display: block;
    padding: 6px 20px;
    text-align: center;
	color: #278bc4;
}
.my-calendar-nav li a:hover,
.my-calendar-nav li a:focus {
	background-color: #278bc4;
	color: #fff;
	text-decoration: none;
}
.my-calendar-nav .my-calendar-prev a::before,
.my-calendar-nav .my-calendar-next a::before {
	position: absolute;
}
.my-calendar-nav .my-calendar-prev a::before {
	content: "<";
	left: 20px;
}
.my-calendar-nav .my-calendar-next a::before {
	content: ">";
	right: 20px;
}

@media (min-width:600px) {
	.my-calendar-nav ul {
		font-size: 20px;
	}
}



/* calendar table */
.my-calendar-table {
	width: 100%;
	border: 1px solid #278bc4;
    border-collapse: collapse;
}
.my-calendar-table th,
.my-calendar-table td {
	border: 2px solid #278bc4;
	color: #278bc4;
	font-size: 16px;
}
@media (min-width:600px) {
	.my-calendar-table thead th,
	.my-calendar-table tbody td {
		font-size: 20px;
	}
}
/* calendar caption */
.my-calendar-table .heading {
	margin: 0;
	padding: 10px 20px;
	text-align: center;
	background-color: #278bc4;
	color: #fff;
	font-weight: bold;
	caption-side: top;
}

/* calendar table head */
.my-calendar-table thead {
	background-color: transparent !important;
}
.my-calendar-table thead th {
	padding: 6px;
	color: #278bc4;
}
.weekend-heading.sat {
	color: #80bdd4;
}
.weekend-heading.sun {
	color: #eaaba1;
}
.my-calendar-table thead abbr {
	text-decoration: none;
}
/* calendar data */
.my-calendar-table td {
    padding: 2px !important;
    width: 13%;
    min-height: 70px;
    text-align: left;
    vertical-align: top;
}
.my-calendar-table td span[aria-hidden] {
	display: block;
	text-align: right;
	font-weight: bold;
}

.my-calendar-table .nextmonth {
	color: #bec5bc;
}

.my-calendar-footer {
	margin: 10px 0 !important;
}



/* These styles provide a minimal degree of styling, allowing most theme defaults to be dominant. */
.mc-main .details {
    background: #fff;
    border: 1px solid #000;
}

.mc-main.mini .mini-event {
    background: #fff;
    border: 1px solid #000;
    padding: 5px;
}

.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 .my-calendar-date-switcher {
    padding: 4px;
    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;
}



.mini td {
    height: auto !important;
}

.mc-main th {
    text-align: center;
    padding: 5px 0 !important;
    letter-spacing: 1px;
}

.mc-main th abbr {
    border-bottom: none;
}

.mc-main h3, .mc-main h3 a {
    display: block;
    border-radius: 2px;
    font: 400 15px Arial, Verdana, sans-serif;
    margin: 3px 0;
    padding: 0 3px;
    width: 100%;
    clear: none;
}

.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: 8px;
    right: 8px;
}

.mc-main .calendar-events {
    width: 200px !important;
    left: 0px;
}

.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;
    margin: -2px -2px 2px;
    padding: 2px 4px;
}

.mc-main th {
    font-size: .8em;
    text-transform: uppercase;
    padding: 2px 4px 2px 0;
}

.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 {
    height: 100%;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: .9em;
}

.mc-main p {
    line-height: 1.5;
    margin: 0 0 1em;
    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;
}


.mini .my-calendar-nav ul {
    height: 2em !important;
}


.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.1em;
}

.mc-main.mini .day-with-date span, .mc-main.mini .day-with-date a {
    font-size: .9em;
    padding: 1px;
    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 .list-event .details img {
    width: auto;
    max-width: 100%;
}

.mc-main.mini .day-with-date a {
    display: block;
    margin: -2px;
    font-weight: 700;
    text-decoration: underline;
}

.mini td {
    height: auto !important;
}

.mini .my-calendar-nav ul {
    height: 2em !important;
}

.mini .my-calendar-nav li a {
    padding: 1px 3px !important;
    font-size: .7em;
}


.mc-main .vcard, #mc_event .vcard {
    font-size: .9em;
    padding: 10px;
    float: right;
}
