/* =========================================================
   SINGLE EVENT
   ========================================================= */

.xv-single-event-container {
	max-width: 1170px;
	width: 100%;
	margin: 0 auto;
	padding: 40px 15px;
	display: grid;
	grid-template-areas:
		"title title"
		"content sidebar";
	grid-template-columns: 2fr 1fr;
	gap: 20px;
}

.xv-single-event-title {
	grid-area: title;
}

.xv-single-event-section {
	grid-area: content;
	min-width: 0;
}

.xv-single-event-sidebar-section {
	grid-area: sidebar;
	min-width: 0;
}


/* =========================================================
   TITLE AND EVENT INFORMATION
   ========================================================= */

.xv-single-event-title h1 {
	margin: 0 0 12px;
	font-size: clamp(2.125rem, 5vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
}

.xv-single-event-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
}

.xv-single-event-info-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 1rem;
}

.xv-single-event-info-item strong {
	font-weight: 700;
}

.xv-basic-info-single-page-icons {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	vertical-align: middle;
	fill: none;
	stroke: #4C4497;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.xv-single-event-address {
	display: block;
	margin-top: 2px;
	color: #666;
	font-size: 0.875rem;
}


/* =========================================================
   FEATURED IMAGE
   ========================================================= */

.xv-single-event-image {
	width: 100%;
	height: 500px;
	overflow: hidden;
	border-radius: 3px;
	background-color: #F6F6FA;
}

.xv-single-event-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xv-single-event-img-featured {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/* =========================================================
   EVENT CONTENT
   ========================================================= */

.xv-single-event-content {
	margin-top: 2em;
	padding-top: 20px;
	border-top: 1px solid rgb(0 0 0 / 10%);
}

.xv-single-event-content h2 {
	margin-top: 0;
	color: #3D3679;
}

.xv-single-event-description {
	font-size: 1rem;
	line-height: 1.7;
}

.xv-single-event-description > :first-child {
	margin-top: 0;
}

.xv-single-event-description > :last-child {
	margin-bottom: 0;
}

.xv-single-event-description h2 {
	color: #3D3679;
}

.xv-single-event-description h3 {
	display: inline-block;
	margin-top: 30px;
	padding: 6px 10px;
	border-radius: 4px;
	background: #655AC7;
	color: #fff;
	font-size: 1.1rem;
}

.xv-single-event-description h4 {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 4px;
	background: #655AC7;
	color: #fff;
	font-size: 0.9rem;
}

.xv-single-event-description a {
	color: #4C4497;
	font-weight: 600;
}

/*
 * Hide the default Events Organiser metadata if another
 * plugin/template filter adds it inside the content.
 */
.xv-single-event-description .eventorganiser-event-meta {
	display: none;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.xv-single-event-sidebar {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0 30px 30px;
	background: #F6F6FA;
	box-shadow:
		rgba(50, 50, 105, 0.15) 0 2px 5px 0,
		rgba(0, 0, 0, 0.05) 0 1px 1px 0;
}

.xv-single-event-category {
	width: fit-content;
	margin: 0;
	padding: 2px 12px;
	border-radius: 3px;
	background-color: #655AC7;
	color: #fff;
	font-size: 1.4rem;
}

.xv-single-event-heading-form {
	display: inline-block;
	margin: 30px 0 15px;
	padding: 6px 10px;
	border-radius: 4px;
	background: #655AC7;
	color: #fff;
	font-size: 0.9rem;
}


/* =========================================================
   WPFORMS
   ========================================================= */

.xv-single-event-form,
.xv-single-event-form .wpforms-container {
	margin: 0 !important;
}

.xv-single-event-form input,
.xv-single-event-form select,
.xv-single-event-form textarea {
	width: 100% !important;
	max-width: none !important;
	color: #7064DF !important;
	border-color: #4C4497 !important;
}

.xv-single-event-form input::placeholder,
.xv-single-event-form textarea::placeholder {
	color: #7064DF !important;
	opacity: 1;
}

.xv-single-event-form input:focus,
.xv-single-event-form select:focus,
.xv-single-event-form textarea:focus {
	border-color: #3D3679 !important;
	box-shadow: 0 0 0 1px #3D3679 !important;
}

.xv-single-event-form textarea {
	min-height: 120px;
	resize: vertical;
}

.xv-single-event-form .wpforms-submit {
	width: 180px !important;
	height: 55px !important;
	border: 0 !important;
	background-color: #4C4497 !important;
	color: #fff !important;
	font-weight: 700 !important;
}

.xv-single-event-form .wpforms-submit:hover {
	background-color: #3D3679 !important;
}

div.wpforms-container-full .wpforms-confirmation-container-full,
div[submit-success] > .wpforms-confirmation-container-full:not(
	.wpforms-redirection-message
) {
	background: #4c44971a !important;
	border: 1px solid #4c449738 !important;
}


/* =========================================================
   STICKY SIDEBAR
   ========================================================= */

@media (min-width: 1025px) {
	.xv-single-event-sidebar {
		position: sticky;
		top: 10px;
	}
}


/* =========================================================
   TABLET AND MOBILE
   ========================================================= */

@media (max-width: 1024px) {
	.xv-single-event-container {
		grid-template-areas:
			"title"
			"content"
			"sidebar";
		grid-template-columns: 100%;
		padding-right: 15px;
		padding-left: 15px;
	}

	.xv-single-event-sidebar {
		margin-top: 10px;
	}
}

@media (max-width: 767px) {
	.xv-single-event-container {
		padding-top: 30px;
	}

	.xv-single-event-info {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.xv-single-event-image {
		height: 320px;
	}

	.xv-single-event-sidebar {
		padding: 0 20px 25px;
	}

	.xv-single-event-form .wpforms-submit {
		width: 100% !important;
	}
}

/*Events Calendar */


/* =========================================================
   EVENTS CALENDAR CONTAINER
   ========================================================= */

#eo_fullcalendar_1 {
	max-width: 1170px;
	width: 100%;
	margin: 0 auto;
	padding: 40px 15px;
}

#eo_fullcalendar_1 {
	margin: 0;
	color: #262430;
	font-family: inherit;
}


/* =========================================================
   CALENDAR TOOLBAR
   ========================================================= */

#eo_fullcalendar_1 .fc-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 20px;
}

#eo_fullcalendar_1 .fc-toolbar .fc-left,
#eo_fullcalendar_1 .fc-toolbar .fc-right,
#eo_fullcalendar_1 .fc-toolbar .fc-center {
	float: none;
}

#eo_fullcalendar_1 .fc-toolbar .fc-left {
	display: flex;
	align-items: center;
}

#eo_fullcalendar_1 .fc-toolbar .fc-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

#eo_fullcalendar_1 .fc-toolbar .fc-center {
	display: none;
}

#eo_fullcalendar_1 .fc-toolbar .fc-clear {
	display: none;
}

#eo_fullcalendar_1 .fc-toolbar h2 {
	margin: 0;
	color: #262430;
	font-size: clamp(2.125rem, 5vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
}


/* =========================================================
   NAVIGATION BUTTONS
   ========================================================= */

#eo_fullcalendar_1 .fc-button-group {
	display: flex;
	gap: 6px;
	margin: 0;
}

#eo_fullcalendar_1 button.fc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #4C4497;
	border-radius: 3px;
	background: #fff;
	box-shadow: none;
	color: #4C4497;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1;
	text-shadow: none;
	text-transform: capitalize;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

#eo_fullcalendar_1 button.fc-button:hover,
#eo_fullcalendar_1 button.fc-button:focus {
	border-color: #4C4497;
	background: #4C4497;
	color: #fff;
	transform: translateY(-1px);
}

#eo_fullcalendar_1 button.fc-button:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgb(76 68 151 / 15%);
}

#eo_fullcalendar_1 button.fc-today-button {
	background: #4C4497;
	color: #fff;
}

#eo_fullcalendar_1 button.fc-today-button:hover,
#eo_fullcalendar_1 button.fc-today-button:focus {
	background: #3D3679;
}

#eo_fullcalendar_1 button.fc-state-disabled {
	cursor: default;
	opacity: 0.45;
	transform: none;
}

#eo_fullcalendar_1 .fc-button .fc-icon {
	color: inherit;
	font-size: 1.2rem;
}


/* =========================================================
   CALENDAR STRUCTURE
   ========================================================= */

#eo_fullcalendar_1 .fc-view-container {
	overflow: hidden;
	border: 1px solid #e6e4ef;
	border-radius: 4px;
	background: #fff;
	box-shadow:
		rgba(50, 50, 105, 0.15) 0 2px 5px 0,
		rgba(0, 0, 0, 0.05) 0 1px 1px 0;
}

#eo_fullcalendar_1 .fc-view,
#eo_fullcalendar_1 .fc-view > table {
	width: 100%;
}

#eo_fullcalendar_1 .fc-view table {
	border-collapse: collapse;
}

#eo_fullcalendar_1 .fc-widget-header,
#eo_fullcalendar_1 .fc-widget-content {
	border-color: #e6e4ef;
}


/* =========================================================
   WEEKDAY HEADERS
   ========================================================= */

#eo_fullcalendar_1 th.fc-day-header {
	padding: 13px 5px;
	border-color: rgb(255 255 255 / 18%);
	background: #4C4497;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

#eo_fullcalendar_1 th.fc-day-header:first-child {
	border-top-left-radius: 3px;
}

#eo_fullcalendar_1 th.fc-day-header:last-child {
	border-top-right-radius: 3px;
}


/* =========================================================
   CALENDAR DAYS
   ========================================================= */

#eo_fullcalendar_1 .fc-basic-view .fc-body .fc-row {
	min-height: 105px;
}

#eo_fullcalendar_1 td.fc-day {
	background: #fff;
	transition: background-color 0.2s ease;
}

#eo_fullcalendar_1 td.fc-day:hover {
	background: #faf9fe;
}

#eo_fullcalendar_1 td.fc-sat,
#eo_fullcalendar_1 td.fc-sun {
	background: #fcfbff;
}

#eo_fullcalendar_1 td.fc-other-month {
	background: #f8f8fa;
}

#eo_fullcalendar_1 td.fc-day-number {
	padding: 9px 10px;
	color: #333;
	font-size: 0.9rem;
	font-weight: 600;
}

#eo_fullcalendar_1 td.fc-other-month.fc-day-number {
	color: #b1afb8;
}

#eo_fullcalendar_1 .fc-other-month {
	opacity: 0.65;
}


/* =========================================================
   TODAY
   ========================================================= */

#eo_fullcalendar_1 td.fc-today,
#eo_fullcalendar_1 td.fc-state-highlight {
	background: #4c44971a !important;
}

#eo_fullcalendar_1 td.fc-day-number.fc-today {
	color: #4C4497;
	font-weight: 800;
}


/* =========================================================
   EVENTS
   ========================================================= */

#eo_fullcalendar_1 a.fc-event,
#eo_fullcalendar_1 a.eo-event {
	margin: 2px 5px;
	padding: 6px 8px;
	overflow: hidden;
	border: 0 !important;
	border-left: 4px solid #3D3679 !important;
	border-radius: 3px;
	background: #655AC7 !important;
	box-shadow: 0 2px 5px rgb(50 50 105 / 18%);
	color: #fff !important;
	font-size: 0.78rem;
	line-height: 1.35;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

#eo_fullcalendar_1 a.fc-event:hover,
#eo_fullcalendar_1 a.fc-event:focus,
#eo_fullcalendar_1 a.eo-event:hover,
#eo_fullcalendar_1 a.eo-event:focus {
	background: #4C4497 !important;
	box-shadow: 0 4px 10px rgb(50 50 105 / 25%);
	color: #fff !important;
	transform: translateY(-1px);
}

#eo_fullcalendar_1 .fc-event .fc-content {
	display: flex;
	align-items: center;
	gap: 4px;
	overflow: hidden;
	white-space: nowrap;
}

#eo_fullcalendar_1 .fc-event .fc-time {
	flex: 0 0 auto;
	font-weight: 800;
}

#eo_fullcalendar_1 .fc-event .fc-title {
	overflow: hidden;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#eo_fullcalendar_1 .eo-event-past {
	opacity: 0.65;
}


/* =========================================================
   EVENT LINKS ACCESSIBILITY
   ========================================================= */

#eo_fullcalendar_1 a.fc-event:focus-visible {
	outline: 3px solid rgb(76 68 151 / 25%);
	outline-offset: 2px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {
	#eo_fullcalendar_1 {
		padding-right: 15px;
		padding-left: 15px;
	}

	#eo_fullcalendar_1 .fc-basic-view .fc-body .fc-row {
		min-height: 90px;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
	#eo_fullcalendar_1 {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	#eo_fullcalendar_1 .fc-toolbar {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 16px;
	}

	#eo_fullcalendar_1 .fc-toolbar .fc-left,
	#eo_fullcalendar_1 .fc-toolbar .fc-right {
		width: 100%;
	}

	#eo_fullcalendar_1 .fc-toolbar .fc-right {
		justify-content: flex-start;
	}

	#eo_fullcalendar_1 .fc-toolbar h2 {
		font-size: 2rem;
	}

	/*
	 * Αποφεύγουμε να συμπιεστούν οι επτά ημέρες
	 * σε πολύ μικρό πλάτος.
	 */
	#eo_fullcalendar_1 .fc-view-container {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	#eo_fullcalendar_1 .fc-view {
		min-width: 680px;
	}

	#eo_fullcalendar_1 .fc-basic-view .fc-body .fc-row {
		min-height: 85px;
	}

	#eo_fullcalendar_1 th.fc-day-header {
		padding: 11px 4px;
		font-size: 0.72rem;
	}

	#eo_fullcalendar_1 td.fc-day-number {
		padding: 7px 8px;
	}

	#eo_fullcalendar_1 a.fc-event,
	#eo_fullcalendar_1 a.eo-event {
		padding: 5px 6px;
		font-size: 0.72rem;
	}
}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 420px) {
	#eo_fullcalendar_1 button.fc-button {
		min-width: 40px;
		height: 40px;
		padding: 0 12px;
	}

	#eo_fullcalendar_1 button.fc-today-button {
		padding-right: 14px;
		padding-left: 14px;
	}
}