/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

.color-yellow {
	color: yellow;
}

.iconlist-color-primary {
	--cnvs-iconlist-color: var(--bs-primary);
}

.iconlist-color-danger {
	--cnvs-iconlist-color: var(--bs-danger);
}

.iconlist-color-success {
	--cnvs-iconlist-color: var(--cnvs-themecolor);
}

.min-height-prices {
	min-height: 368px;
}

/* STATIC PAGES */
.static-page h4 {
	margin-top: 2rem !important;
}

.static-page ul,
.static-page ol {
	margin-top: 1rem !important;
  	margin-bottom: 1rem !important;
	margin-right: 3rem !important;
  	margin-left: 3rem !important;
}

.static-page ul li,
.static-page ol li {
	margin-bottom: 0.5rem !important;
}
/* END STATIC PAGES */

.position-relative {
	position: relative;
}

#notroyals_map_legend {
	background:white;
	padding:10px;
	margin:10px;
	font-size:14px;
	border-radius:6px;
	box-shadow:0 2px 6px rgba(0,0,0,0.3);
	position: absolute;
	top: 100px;
	left: 0;
	z-index: 999;
}

.expandable-container {
	margin-top: 1rem;
}

.expandable-container .expand-toggle {
	display: none;
}

.expandable-container .text-content {
	position: relative;
	overflow: hidden;
	margin-bottom: 15px;
}

.expandable-container .expand-toggle:not(:checked) ~ .text-content {
    display: -webkit-box;
	line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.expandable-container .expand-toggle:not(:checked) ~ .text-content {
	max-height: 4.8em; 
}

.expandable-container .expand-toggle:checked ~ .text-content {
	max-height: none;
}

.expandable-container .expand-toggle:checked ~ .text-content::after {
	display: none;
}

.expandable-container .expand-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--cnvs-themecolor);
	cursor: pointer;
	font-weight: 500;
	font-size: 14px;
	transition: color 0.2s;
	user-select: none;
}

.expandable-container .expand-label:hover {
	color: #0052a3;
	text-decoration: underline;
}

.expandable-container .arrow {
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid currentColor;
	transition: transform 0.3s ease;
}

.expandable-container .expand-toggle:checked ~ .expand-label .arrow {
	transform: rotate(180deg);
}

.expandable-container .expand-label .label-text::before {
	content: 'Más información';
}

.expand-toggle:checked ~ .expand-label .label-text::before {
	content: 'Menos información';
}


@media (max-width: 767.98px) {
	.min-height-prices {
		min-height: auto;
	}
}