/* SBCSK Rental Calendar styles 3.2.0 */

.sbcsk-rentals-container-wrapper 			{ background-color:inherit; display:flex; justify-content:center; max-width:400px; overflow-y:auto; box-shadow:6px 6px 9px rgba(0,0,0,0.2);}

.sbcsk-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);
											}

.sbcsk-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%; 
											}


.sbcsk-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; 
											}

/* SBCSK Availability tooltips */

.sbcsk-units								{ position:relative; display:inline-block; cursor: pointer;}

.sbcsk-units .sbcsk-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;
											}
										
.sbcsk-units .sbcsk-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;
											}
										
.sbcsk-units:hover .sbcsk-unit-text			{ visibility:visible; }

.sbcsk-rentals-legend						{ grid-area: legend; font-weight:600 !important; }

/* SBCSK Rental Highlights */

.sbcsk-new-year								{ color:#fff !important; background-color:#050505; border-radius:15% !important; }

.sbcsk-rentals-0							{ color:#000 !important; cursor: default;} 
.sbcsk-rentals-1							{ color:#000 !important; background-color:#d2eafd; }
.sbcsk-rentals-2							{ color:#000 !important; background-color:#a6d4fa; }
.sbcsk-rentals-3							{ color:#000 !important; background-color:#79bff8; }
.sbcsk-rentals-4							{ color:#fff !important; background-color:#4daaf6; }
.sbcsk-rentals-5, 
.sbcsk-rentals-6,
.sbcsk-rentals-7,
.sbcsk-rentals-8,
.sbcsk-rentals-9							{ color:#fff !important; background-color:#0a69b7; }

/* Placeholders for legend examples */

.sbcsk-legend-1								{ grid-area: ex1;}
.sbcsk-legend-2								{ grid-area: ex2;}
.sbcsk-legend-3								{ grid-area: ex3;}
.sbcsk-legend-4								{ grid-area: ex4;}
.sbcsk-legend-5								{ grid-area: ex5;}

/* Specific attributes for different screen sizes */

@media only screen and (max-width: 430px)	{

.sbcsk-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, 28px); 
											  grid-template-rows: repeat(9, 28px);
											}
											
	.sbcsk-rentals-grid-container > div			{ align-content:center; border:2px solid transparent; border-radius:50%; color:#000; 
											  font-size:9px; font-weight:400; line-height:normal; text-align:center; width:100%; height:100%; 
											}
											
	.-sbcsk-rentals-container-wrapper 		{max-width:360px; min-width:240px;}
	.-sbcsk-rentals-flex-container 			{padding:4px 6px 4px 6px; width:276px;}
	.-sbcsk-rentals-flex-container > div 	{font-weight:400; width:20px; height:20px;}
	
	/* Title and Legends */ 
	.sbcsk-rentals-header					{font-size:6px;}	
	.sbcsk-rentals-legend					{width:60px !important; border-radius:0% !important;}
	.sbcsk-legend-items						{font-size:6px !important;}

}
@xmedia only screen and (max-width: 800px)	{

	.sbcsk-rentals-container-wrapper 		{max-width:404px; min-width:240px;}
	.sbcsk-rentals-flex-container 			{padding:4px 8px 4px 8px; width:308px;}
	.sbcsk-rentals-flex-container > div 	{font-weight:600; width:32px; height:32px;}
	
	/* Title and Legends */
	.sbcsk-rentals-header					{font-size:12px;}	
	.sbcsk-rentals-legend					{width:68px !important; border-radius:0% !important;}
	.sbcsk-legend-items						{font-size:6px !important;}

}
@xmedia only screen and (min-width: 801px)	{

	.sbcsk-rentals-container-wrapper 		{max-width:404px; min-width:360px;}
	.sbcsk-rentals-flex-container 			{padding:8px 16px 8px 16px; width:356px;}
	.sbcsk-rentals-flex-container > div 	{font-weight:700; width:36px; height:36px;}
	
	/* Title and Legends */ 
	.sbcsk-rentals-header					{font-size:12px;}	
	.sbcsk-rentals-legend					{grid-area: legend; -width:116px !important; -border-radius:0% !important;}
	.sbcsk-legend-items						{font-size:10px !important;}

}

