.tour-page {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.tour-page.full-tour {
	--current-tour: var(--full-tour);
}

.tour-page.complete-tour {
	--current-tour: var(--complete-tour);
}

.tour-page.incomplete-tour {
	--current-tour: var(--incomplete-tour);
}

.full-event .fc-event-main {
	color: var(--full-tour);
}

.complete-event .fc-event-main {
	color: var(--complete-tour);
}

.incomplete-event .fc-event-main {
	color: var(--incomplete-tour);
}

.tips {
	display: inline-flex;
	align-items: center;
	font-family: var(--e-global-typography-accent-font-family);
	font-size: var(--e-global-typography-accent-font-size);
	font-weight: var(--e-global-typography-accent-font-weight);
	color: var(--e-global-color-text);
}

.tips:before {
	content: '';
	margin-right: 10px;
	border-radius: 50%;
	display: inline-block;
	width: 17px;
	height: 17px;
}

.complete-tips:before {
	background-color: var(--complete-tour);
}

.incomplete-tips:before {
	background-color: var(--incomplete-tour);
}

.tour-header {
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	padding: 10px;
	max-width: var(--container-width);
	width: 100%;
}

.tour-title {
	font-family: Helvetica;
	font-size: 28px;
	font-weight: 500;
	color: var(--e-global-color-38979a7);
}

.tour-destination {
	font-family: var(--e-global-typography-accent-font-family);
	font-size: var(--e-global-typography-accent-font-size);
	font-weight: var(--e-global-typography-accent-font-weight);
	color: var(--e-global-color-accent);
}

.tour-share-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tour-share-wrapper a {
	border-radius: 50%;
	border: 1px solid var(--default-border-color);
	box-shadow: var(--default-shadow);
	width: 44px;
	height: 44px;
	line-height: 44px;
	font-size: 15px;
	color: var(--default-border-color);
	text-align: center;
}

.tour-share-wrapper .favour.active {
	color: var(--incomplete-tour);
}

.tour-preview-wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 8px;
	margin: 0 auto;
	padding: 10px;
	max-width: var(--container-width);
	width: 100%;
}

.tour-gallery-wrapper {
	overflow: hidden;
}

.tour-gallery-wrapper .thumbnail-splide {
	margin-top: 5px;
}

.tour-gallery-wrapper .thumbnail-splide .splide__slide {
	width: 11%;
	height: 50px;
}

.tour-calendar-wrapper {
	display: flex;
	flex-direction: column;
	gap: 10px;
	border: 1px solid var(--default-border-color);
	border-radius: var(--small-border-radius);
	padding: 15px 20px;
}

.tour-calendar-title {
	font-family: var(--e-global-typography-text-font-family);
	font-size: var(--e-global-typography-text-font-size);
	font-weight: var(--e-global-typography-text-font-weight);
	color: var(--e-global-color-primary);
}

.tour-calendar {
	--fc-button-bg-color: var(--light-background-color);
	--fc-button-text-color: var(--e-global-color-accent);
}

.tour-calendar .fc-toolbar.fc-header-toolbar {
	margin-bottom: 10px;
}

.tour-calendar.fc-direction-ltr .fc-toolbar>*>:not(:first-child) {
	margin: 0;
}

.tour-calendar .fc-button {
	border: 0;
	padding: 6px;
	box-shadow: none !important;
	font-size: 15px;
	line-height: 1;
}

.tour-calendar .fc-button .fc-icon {
	font-size: inherit;
}

.tour-calendar .fc-prev-button {
	border-radius: var(--small-border-radius) 0 0 var(--small-border-radius);
}

.tour-calendar .fc-next-button {
	border-radius: 0 var(--small-border-radius) var(--small-border-radius) 0;
}

.tour-calendar .fc-toolbar-title {
	display: inline-block;
	margin-left: 15px !important;
	font-family: var(--e-global-typography-accent-font-family);
	font-size: var(--e-global-typography-accent-font-size);
	font-weight: var(--e-global-typography-accent-font-weight);
	color: var(--e-global-color-text);
}

.tour-calendar th.fc-day {
	background-color: var(--light-background-color);
}

.tour-calendar .fc-day {
	font-size: 10px;
}

.tour-calendar .fc-day.active {
	border: 2px solid var(--current-tour);
}

.tour-calendar-tips {
	display: flex;
	gap: 40px;
}

.tour-tab-wrapper {
	background-color: var(--light-background-color);
}

.tour-tabs {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 0 auto;
	padding: 0 30px;
	max-width: var(--container-width);
	width: 100%;
}

.tour-tab {
	border-bottom: 4px solid transparent;
	padding: 25px;
	padding-bottom: 21px;
	font-family: var(--e-global-typography-92340c2-font-family);
	font-size: var(--e-global-typography-92340c2-font-size);
	font-weight: 400;
	color: var(--e-global-color-38979a7);
}

.tour-tab.active,
.tour-tab:hover {
	border-bottom: 4px solid var(--e-global-color-primary);
	color: var(--e-global-color-primary);
	transition: border-bottom .3s, color .4s;
}

.tour-main-wrapper {
	display: grid;
	grid-template-columns: 7fr 3fr;
	grid-gap: 0 40px;
	align-items: start;
	margin: 0 auto;
	padding: 10px;
	max-width: var(--container-width);
	width: 100%;
}

.tour-content-wrapper {
	display: flex;
	flex-direction: column;
}

.tour-info {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-bottom: 100px;
	border-bottom: 1px solid var(--default-border-color);
	padding-bottom: 100px;
}

.tour-info-title {
	font-family: Helvetica;
	font-size: 32px;
	font-weight: 500;
	color: var(--e-global-color-38979a7);
}

.tour-content {
	font-family: Helvetica;
	font-size: 16px;
	font-weight: 400;
	color: var(--e-global-color-secondary);
}

.trips {
	display: flex;
	flex-direction: column;
	gap: 50px 0;
	border-radius: var(--medium-border-radius);
	box-shadow: var(--default-shadow);
	padding: 20px 25px;
	background-color: #fcfcfc;
}

.trip {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-gap: 22px 30px;
	align-items:center;
	padding-bottom: 50px;
}

.trip:not(:last-child) {
	border-bottom: 1px dashed var(--default-border-color);
}

.trip-day {
	border: 1px solid var(--default-border-color);
	border-radius: var(--small-border-radius);
	padding: 12px 35px;
	font-family: Helvetica;
	font-size: 24px;
	font-weight: 500;
	color: var(--current-tour);
	background-color: #ffffff;
}

.trip-destination {
	font-family: Helvetica;
	font-size: 24px;
	font-weight: 500;
	color: var(--e-global-color-secondary);
}

.trip-description {
	grid-column: 2 span;
	font-family: var(--e-global-typography-text-font-family);
	font-size: var(--e-global-typography-text-font-size);
	font-weight: 400;
	color: var(--e-global-color-secondary);
}

.tour-booking-wrapper {
	display: flex;
	flex-direction: column;
	gap: 25px 0;
	border: 1px solid var(--light-background-color);
	border-radius: var(--large-border-radius);
	box-shadow: var(--default-shadow);
	padding: 25px;
}

.tour-booking-wrapper[disabled] {
	opacity: 0.5;
	pointer-events: none;
}

.tour-booking-instruction {
	font-family: Helvetica;
	font-size: 24px;
	font-weight: 500;
	color: var(--e-global-color-secondary);
}

.tour-booking-radio-wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.tour-booking-options {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--light-background-color);
	border-radius: var(--large-border-radius);
}

.tour-booking-option {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0 20px;
	padding: 20px;
}

.tour-booking-option:not(:last-child) {
	border-bottom: 1px solid var(--light-background-color);
}

.tour-booking-label {
	font-family: var(--e-global-typography-secondary-font-family);
	font-size: var(--e-global-typography-secondary-font-size);
	font-weight: 500;
	color: var(--e-global-color-secondary);
}

.tour-booking-label-mute {
	font-family: var(--e-global-typography-accent-font-family);
	font-size: var(--e-global-typography-accent-font-size);
	font-weight: 400;
	color: var(--e-global-color-secondary);
}

.tour-booking-label-mute a {
	text-decoration: underline;
	color: var(--e-global-color-primary);
}

.tour-booking-total-wrapper {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
}

.tour-booking-total-label {
	font-family: var(--e-global-typography-secondary-font-family);
	font-size: var(--e-global-typography-secondary-font-size);
	font-weight: var(--e-global-typography-secondary-font-weight);
	color: var(--e-global-color-secondary);
}

.tour-booking-total {
	border-bottom: 1px dashed var(--incomplete-tour); 
	font-family: Helvetica;
	font-size: 24px;
	font-weight: bold;
	color: var(--incomplete-tour);
}

.tour-booking-total-wrapper:not(:hover) .tour-booking-total-table {
	display: none;
}

.tour-booking-total-table {
	position: absolute;
	z-index: 1;
	top: 100%;
	right: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px 50px;
	border: 1px solid var(--light-background-color);
	border-radius: var(--medium-border-radius);
	box-shadow: var(--default-shadow);
	padding: 25px;
	background-color: #ffffff;
	white-space: nowrap;
}

.tour-booking-total-table-header,
.tour-booking-total-table-row:not(.template) {
	display: contents;
}

.tour-booking-button-wrapper {
	padding: 10px 20px 30px;
}

.tour-booking-button {
	border: none;
	border-radius: var(--small-border-radius);
	padding: 12px;
	width: 100%;
	font-family: var(--e-global-typography-secondary-font-family);
	font-size: var(--e-global-typography-secondary-font-size);
	font-weight: var(--e-global-typography-secondary-font-weight);
	color: #ffffff;
	background-color: var(--current-tour);
	text-align: center;
	cursor: pointer;
}

.tour-booking-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

@media (max-width: 767px) {
	.tour-preview-wrapper,
	.tour-main-wrapper {
		grid-template-columns: 100%;
	}
}