/* =============================================
   My Calendar — Ignite Skin
   Upload to: wp-content/plugins/my-calendar/css/
   Then select "ignite" in My Calendar > Design
   ============================================= */

/* === Main wrapper === */
.mc-main.ignite, .mc-main.ignite .mc-list {
	background: #EEEDE8;
	color: #373B41;
	font-family: "lusitana", Georgia, serif;
	padding: 5px;
	border-radius: 0;
}

/* === Links === */
.mc-main.ignite a {
	color: #e6a117;
	text-decoration: none;
}

.mc-main.ignite a:hover {
	color: #A87227;
	text-decoration: underline;
}

/* === Month / week heading bar — hidden (redundant with date switcher) === */
.mc-main.ignite .heading,
.mc-main.ignite .my-calendar-month,
.mc-main.ignite .my-calendar-week {
	display: none;
}

/* === Single event heading === */
.mc-main.ignite .mc-single {
	background: #E3E2DC;
	color: #373B41;
	font-family: "lusitana", Georgia, serif;
	font-weight: 400;
	font-size: 1.1em;
	text-align: left;
	padding: 6px 8px;
	margin: 2px 0;
	border: none;
	border-left: solid 4px #e6a117;
	border-radius: 0;
}

/* === Navigation prev/next === */
.mc-main.ignite .my-calendar-nav li a,
.mc-main.ignite .my-calendar-header a,
.mc-main.ignite .my-calendar-footer a {
	color: #373B41;
	background: #e6a117;
	border: none !important;
	outline: none !important;
	border-radius: 6px;
	padding: 4px 12px;
	text-decoration: none;
	font-family: "lusitana", Georgia, serif;
	transition: background 0.2s ease;
}

.mc-main.ignite .my-calendar-nav li a:hover,
.mc-main.ignite .my-calendar-header a:hover,
.mc-main.ignite .my-calendar-footer a:hover {
	background: #A87227;
	color: #fff;
	text-decoration: none;
}

.mc-main.ignite .my-calendar-footer .mc-active,
.mc-main.ignite .my-calendar-header .mc-active {
	background: #A87227;
	color: #fff;
}

.mc-main.ignite .my-calendar-next {
	text-align: right;
}

.mc-main.ignite .my-calendar-next a {
	border-radius: 0;
}

.mc-main.ignite .my-calendar-prev a {
	border-radius: 0;
}

/* === Day-of-week header cells === */
.mc-main.ignite th {
	background: #373B41;
	color: #e6a117;
	font-family: "lusitana", Georgia, serif;
	font-size: .8em;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 1px;
	padding: 5px 0;
	border: none;
}

.mc-main.ignite th abbr {
	border-bottom: none;
}

/* === Day cells === */
.mc-main.ignite td {
	background: #EEEDE8;
	border: solid 1px #D9DCDF;
	color: #373B41;
	vertical-align: top;
}

/* === Date number in cell === */
.mc-main.ignite .mc-date {
	display: block;
	padding: 2px 6px;
	background: #E3E2DC;
	color: #7C7D7F;
	font-size: .85em;
	text-align: right;
}

/* === Weekend cells === */
.mc-main.ignite .weekend {
	background: #E8E7E1;
}

.mc-main.ignite .weekend .mc-date {
	background: #D9D8D2;
	color: #7C7D7F;
}

/* === Today === */
.mc-main.ignite .current-day {
	background: #fff8ee;
}

.mc-main.ignite .current-day .mc-date {
	background: #e6a117;
	color: #373B41;
	font-weight: 700;
}

/* === Next/prev month cells === */
.mc-main.ignite .nextmonth,
.mc-main.ignite .nextmonth .weekend {
	color: #7C7D7F;
	opacity: .5;
}

.mc-main.ignite .nextmonth .mc-date {
	background: #E0DFD9;
	color: #7C7D7F;
}

/* === Event titles in cells === */
.mc-main.ignite td .event-title,
.mc-main.ignite td .event-title a {
	display: block;
	background: #e6a117;
	color: #373B41;
	font-family: "lusitana", Georgia, serif;
	font-size: 12px !important;
	font-weight: 400;
	border-radius: 0;
	padding: 1px 5px;
	margin-top: 2px;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	clear: none;
}

.mc-main.ignite td .event-title a:hover,
.mc-main.ignite td .event-title a:focus {
	background: #A87227;
	color: #fff;
	text-decoration: none;
}

/* === Date switcher (month/year jump form) === */
.mc-main.ignite .my-calendar-date-switcher {
	background: #E8EAEE;
	padding: 5px;
	border: none;
}

.mc-main.ignite .my-calendar-date-switcher input,
.mc-main.ignite .my-calendar-date-switcher select {
	background: #EEEDE8;
	color: #373B41;
	border: solid 1px #D9DCDF;
	border-radius: 0;
	padding: 3px 6px;
	font-family: "lusitana", Georgia, serif;
	margin: 0;
}

.mc-main.ignite .my-calendar-date-switcher input[type="submit"] {
	background: #e6a117;
	color: #373B41;
	border: none;
	cursor: pointer;
}

.mc-main.ignite .my-calendar-date-switcher input[type="submit"]:hover {
	background: #A87227;
	color: #fff;
}

/* === Event detail popup === */
.mc-main.ignite .calendar-event .details,
.mc-main.ignite .calendar-events,
.mc-main.ignite .calendar-events .details {
	background: #EEEDE8 !important;
	color: #373B41 !important;
	border: solid 1px #D9DCDF !important;
	border-left: solid 4px #e6a117 !important;
	border-radius: 0 !important;
	box-shadow: 2px 2px 6px rgba(55,59,65,0.18) !important;
	padding: 16px !important;
}

.mc-main.ignite .calendar-events {
	width: 100%;
	left: -10px;
	padding: 10px !important;
}

.mc-main.ignite .details .mc-event-date {
	font-weight: 700;
	font-size: 1.1em;
	color: #e6a117;
}

.mc-main.ignite .details .close {
	position: absolute;
	background: #e6a117;
	color: #373B41;
	right: 1px;
	top: 1px;
	border: none;
	cursor: pointer;
}

/* === List view === */
.mc-main.ignite .mc-list {
	margin: 0;
	padding: 0;
}

.mc-main.ignite .mc-list li {
	list-style-type: none;
	list-style-image: none;
	background-image: none;
	border-bottom: solid 1px #D9DCDF;
	margin: 0;
	padding: 0;
	text-indent: 0;
}

.mc-main.ignite .mc-list .mc-events {
	padding: 1px 4px;
}

.mc-main.ignite .mc-list .odd {
	background: #E8EAEE;
}

.mc-main.ignite .mc-list .odd .details {
	background: #EEEDE8;
}

.mc-main.ignite .list-event .details {
	background: #E8EAEE;
	margin: 8px;
	border-left: solid 3px #e6a117;
	border-radius: 0;
	padding: 10px;
	box-shadow: none;
}

.mc-main.ignite .list-event .event-title {
	margin: 0;
}

/* === Upcoming events widget === */
.upcoming-events .past-event {
	color: #7C7D7F;
}

.upcoming-events .today {
	color: #373B41;
	font-weight: 700;
}

.upcoming-events .future-event {
	color: #303338;
}

/* === Headings inside calendar === */
.mc-main.ignite h2 {
	font-family: "lusitana", Georgia, serif;
	font-weight: 400;
	color: #373B41;
}

/* === Mini calendar === */
.mc-main.ignite.mini td {
	height: auto !important;
}

.mc-main.ignite.mini .mc-date {
	padding: 4px 2px !important;
}

.mc-main.ignite.mini td .event-title {
	font-size: 1em !important;
	font-weight: 700;
}

.mc-main.ignite.mini td .category-icon {
	display: none;
}

.mc-main.ignite.mini .day-with-date span,
.mc-main.ignite.mini .day-with-date a,
.mc-main.ignite.mini .current-day span,
.mc-main.ignite.mini .current-day a {
	font-size: .9em;
	padding: 1px;
	text-align: center;
}

.mc-main.ignite.mini .day-with-date a {
	display: block;
	font-weight: 700;
	text-decoration: underline;
}

/* === Event modal dialog === */
dialog.my-calendar-modal .mc-modal-title-container {
	background: #373B41;
	color: #e6a117;
}

.my-calendar-modal #mc-modal-content {
	background: #EEEDE8;
	color: #373B41;
}

.my-calendar-modal #mc-modal-content a {
	color: #e6a117;
}

.my-calendar-modal-overlay {
	background: rgba(55, 59, 65, 0.7);
}

/* === Edit links (admin only) === */
.mc-main.ignite .mc_edit_links {
	background: #E8EAEE;
	border: solid 1px #D9DCDF;
}

.mc_edit_links button.mc-toggle-edit {
	color: #e6a117;
}

/* === Single event page === */
.mc-main.ignite .mc-single {
	font-size: 1.1em !important;
	text-align: left;
	padding: 4px;
	background: #E8EAEE;
	border-left: solid 3px #e6a117;
	font-family: "lusitana", Georgia, serif;
	font-weight: 400;
}

/* === vCard / location block === */
.mc-main.ignite .vcard,
#mc_event .vcard {
	float: right;
	width: 33%;
	margin-left: 12px;
	background: #E8EAEE;
	border: solid 1px #D9DCDF;
	padding: 8px;
}

.mc-day {
	margin: 5px 0;
	padding: 5px;
	clear: right;
}

/* === Category key bar at bottom === */
.mc-main.ignite .category-key {
	background: #E3E2DC;
	border-top: solid 2px #D9DCDF;
	padding: 8px 5px;
	margin-top: 4px;
}

.mc-main.ignite .category-key ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.mc-main.ignite .category-key li {
	margin: 0;
	padding: 0;
	list-style: none;
	list-style-image: none;
}

.mc-main.ignite .category-key a,
.mc-main.ignite .category-key button {
	background: #EEEDE8;
	color: #373B41;
	border: none !important;
	outline: none !important;
	border-radius: 6px;
	padding: 3px 10px;
	font-family: "lusitana", Georgia, serif;
	font-size: .85em;
	text-decoration: none;
	cursor: pointer;
	display: inline-block;
}

.mc-main.ignite .category-key a:hover,
.mc-main.ignite .category-key button:hover {
	background: #e6a117;
	color: #373B41;
	border-color: #e6a117;
	text-decoration: none;
}

.mc-main.ignite .category-key .mc-active,
.mc-main.ignite .category-key .mc-active button {
	background: #e6a117;
	color: #373B41;
	border-color: #e6a117;
}

.mc-main.ignite .category-key .no-icon {
	border: solid 1px #D9DCDF;
}
