/* SBC Rental Calendar styles 3.2.0 */

.sbc-rentals-container-wrapper 			{ background-color:inherit; display:flex; justify-content:center; max-width:400px; overflow-y:auto; }

.sbc-rentals-grid-container 			{ align-content:space-around; align-items:center; background-color:#fff; border:2px solid grey; 
											display:grid; gap:0.5rem; padding:0.5rem;
											grid-template-areas: 
												"header	header	header	header	header	header	header	header"
												".		.		.		.		.		.		.		."
												".		.		.		.		.		.		.		."
												".		.		.		.		.		.		.		."
												".		.		.		.		.		.		.		."
												".		.		.		.		.		.		.		."
												".		.		.		.		.		.		.		."
												".		.		.		.		.		.		.		."
												"legend	legend	legend	ex1		ex2		ex3		ex4		ex5";
											grid-template-columns: repeat(8, 40px); 
											grid-template-rows: repeat(9, 40px);
										}

.sbc-rentals-grid-container > div		{ align-content:center; border:2px solid transparent; border-radius:50%; color:#000; 
											font-size:12px; font-weight:400; line-height:normal; text-align:center; width:100%; height:100%; 
										}


.sbc-rentals-header						{ grid-area: header; align-content:space-around !important; background-color:#0a69b7; border-radius:0% !important; 
											color:#fff !important; font-size:16px !important; font-weight:600 !important; 
										}

/* SBC Availability tooltips */

.sbc-units								{ position:relative; display:inline-block; cursor: pointer;}

.sbc-units .sbc-unit-text				{ visibility:hidden; background-color:#000; border-radius:6px; color:#fff; padding:6px 0; text-align:center; 
											position:absolute; width:50px; z-index:1; top:100%; left:50%; margin-left:-25px;
										}
										
.sbc-units .sbc-unit-text::after		{ content:""; border-width:5px; border-style:solid; border-color:transparent transparent black transparent;
											position:absolute; bottom:100%; left:50%; margin-left:-5px;
										}
										
.sbc-units:hover .sbc-unit-text			{ visibility:visible; }

.sbc-rentals-legend						{ grid-area: legend; font-weight:600 !important; }

/* SBC Rental Highlights */

.sbc-new-year							{ color:#fff !important; background-color:#050505; border-radius:15% !important; }

.sbc-rentals-0							{ color:#000 !important; cursor: default;}  /* In case background-color:#f2f9fe; */
.sbc-rentals-1							{ color:#000 !important; background-color:#d2eafd; }
.sbc-rentals-2							{ color:#000 !important; background-color:#a6d4fa; }
.sbc-rentals-3							{ color:#000 !important; background-color:#79bff8; }
.sbc-rentals-4							{ color:#fff !important; background-color:#4daaf6; }
.sbc-rentals-5, 
.sbc-rentals-6,
.sbc-rentals-7,
.sbc-rentals-8,
.sbc-rentals-9							{ color:#fff !important; background-color:#0a69b7; }

/* Placeholders for legend examples */

.sbc-legend-1							{ grid-area: ex1;}
.sbc-legend-2							{ grid-area: ex2;}
.sbc-legend-3							{ grid-area: ex3;}
.sbc-legend-4							{ grid-area: ex4;}
.sbc-legend-5							{ grid-area: ex5;}

/* Specific attributes for different screen sizes */

@xmedia only screen and (max-width: 400px) {

	.sbc-rentals-container-wrapper 		{max-width:360px; min-width:240px;}
	.sbc-rentals-flex-container 		{padding:4px 8px 4px 8px; width:276px;}
	.sbc-rentals-flex-container > div 	{font-weight:600; width:28px; height:28px;}
	
	/* Title and Legends */ 
	.sbc-rentals-header					{font-size:10px;}	
	.sbc-rentals-legend					{width:68px !important; border-radius:0% !important;}
	.sbc-legend-items					{font-size:6px !important;}

}
@xmedia only screen and (max-width: 800px) {

	.sbc-rentals-container-wrapper 		{max-width:404px; min-width:240px;}
	.sbc-rentals-flex-container 		{padding:4px 8px 4px 8px; width:308px;}
	.sbc-rentals-flex-container > div 	{font-weight:600; width:32px; height:32px;}
	
	/* Title and Legends */
	.sbc-rentals-header					{font-size:12px;}	
	.sbc-rentals-legend					{width:68px !important; border-radius:0% !important;}
	.sbc-legend-items					{font-size:6px !important;}

}
@xmedia only screen and (min-width: 801px) {

	.sbc-rentals-container-wrapper 		{max-width:404px; min-width:360px;}
	.sbc-rentals-flex-container 		{padding:8px 16px 8px 16px; width:356px;}
	.sbc-rentals-flex-container > div 	{font-weight:700; width:36px; height:36px;}
	
	/* Title and Legends */ 
	.sbc-rentals-header					{font-size:12px;}	
	.sbc-rentals-legend					{grid-area: legend; -width:116px !important; -border-radius:0% !important;}
	.sbc-legend-items					{font-size:10px !important;}

}

