.visit-calendar-container {
	width: 100%;

	#visitCalendar {
		display: block;
		background-color: #FFF;
	}

	.key-container {
		position: relative;
		display: flex;
		background-color: #FFF;
		justify-content: center;
		padding: 40px 0;

		.key {			
			display: flex;
			flex-wrap: wrap;
			align-items: center;
			gap: 20px;

			@media screen and (max-width: 767px) {
				justify-content: center;
				gap: 20px 30px;						
				position: relative;
			}

			p {
				font-size: 10px;
				text-transform: uppercase;
				letter-spacing: 3px;

				@media only screen and (max-width: 767px) {
					display: none;
				}
			}

			.key-item {
				display: none;
				align-items: center;
				gap: 5px;
				font-size: 12px;
				color: #000;
				cursor: default;

				&.active {
					display: flex;
				}

				&:hover {
					.key-description {
						opacity: 1;
					}
					
					.swatch {
						background-color: var(--event_hover_bg, #F4F4F4) !important;
					}
				}
			}

			.swatch {
				transition: .25s all ease-in-out;
				height: 25px;
				background-color: var(--eventbg);
				border: 1px solid var(--event_border);
				aspect-ratio: 1;			
			}

			.key-description {
				transition: .25s all ease-in-out;
				position: absolute;
				pointer-events: none;
				opacity: 0;
				background-color: #FFF;
				padding: 5px 10px;
				bottom: calc(100% - 30px);
				left: 0;
				border: 1px solid #DFDFDF;
				font-size: 12px;
				line-height: 1.3;			
				max-width: 250px;	
				
				@media screen and (max-width: 767px) {
					width: calc(100% - 10px);
					text-align: center;
					max-width: 350px;
					left: 50%;
					transform: translateX(-50%);
					bottom: calc(100% + 10px);
				}
			}
		}
	}

	.form-container {
		width: 100%;
		margin: 0 auto;		
	}

	.gform_wrapper {
		width: 100%;
	}
}