:root {
	--fdt-primary:#0071BC;
	--fdt-secondary: #005289;
	--fdt-muted: #eaeff3;
	--fdt-border: #ccc;
	--fdt-radius: 5px;
	--fdt-radius-full: 100%;
	--fdt-font-size: 16px;
	--fdt-font-size-m: 18px;
	--fdt-font-size-l: 24px;
	--fdt-font-size-xl: 28px;
}
/* RESET BOOTSTRAP */
#fdt-nav-pills.nav {
	margin: 0;
	padding: 0;
	list-style-type: none;
	gap: 20px;
	display: grid;
	font-weight: 600;
}
@media only screen and (min-width: 981px) {
	#fdt-nav-pills.nav {
		font-weight: 400;
		grid-template-columns: repeat(3, 1fr);
	}
}
@media only screen and (min-width: 1024px) {
	#fdt-nav-pills.nav {
		grid-template-columns: repeat(4, 1fr);
	}
}
#fdt-nav-pills .nav-link {
	color: var(--fdt-primary);
	background-color: var(--fdt-muted);
	text-transform: uppercase;
}
#fdt-nav-pills .nav-link.active {
	background-color: var(--fdt-primary);
	color: #fff;
}
@media only screen and (max-width: 980px) {
	#fdt-nav-pills .nav-link {
		font-size: 17px;
	}
}
.fdt-turnos-title {
	margin-bottom: 25px;
	font-weight: normal;
	text-align: center;
}

.list-farmacia {
	display: grid;
	gap: 2rem;
}
@media only screen and (min-width: 768px) {
	.list-farmacia {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (min-width: 981px) {
	.list-farmacia {
		grid-template-columns: repeat(3, 1fr);
	}
}
.fdt-item-farmacia {
	border: solid 4px var(--fdt-border);
	border-radius: var(--fdt-radius);
}

.fdt-card-head {
	padding: 10px 15px;
	display: flex;
	gap: 10px;
	align-items: center;
	border-bottom: solid 1px var(--fdt-border);
}

.fdt-item-logo,
.fdt-generic-logo {
	max-width: 30px;
	max-height: 30px;
	border-radius: var(--fdt-radius-full);
	background-color: var(--fdt-muted);
	object-fit: cover;
}
@media only screen and (min-width: 981px) {
	.fdt-item-logo,
	.fdt-generic-logo {
		max-width: 40px;
		max-height: 40px;
	}
}

.fdt-title {
	margin-bottom: 0;
	padding-bottom: 0;
	font-size: var(--fdt-font-size-l);
	font-weight: 600;
	line-height: 1.2em;
	text-transform: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;  
	overflow: hidden;
	display: flex;
	justify-content: space-between;
	width: 100%;
}
@media only screen and (min-width: 981px) {
	.fdt-title {
		font-size: var(--fdt-font-size-xl);
	}
}
.fdt-card-footer {
	padding: 15px;
	border-top: solid 1px var(--fdt-border);
}
.fdt-data-list {
	margin: 0;
	padding: 0 !important;
	font-size: var(--fdt-font-size);
	list-style: none;
	list-style-type: none !important;
}
.fdt-data-list li {
	padding-left: 30px;
	font-size: var(--fdt-font-size-m);
	line-height: 1.1em;
	position: relative;
}
.fdt-data-list li+li {
	margin-top: 20px;
}
.fdt-data-list li a {
	text-decoration: none !important;
	color: var(--fdt-primary);
}
.fdt-data-list-address:before,
.fdt-data-list-phone:before {
	content: "";
	width: 18px;
	height: 18px;
	background-image: url('location.png');
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	opacity: 0.5;
	top: 0;
	left: 0;
}
.fdt-data-list-phone:before {
	background-image: url('phone.png');
}

.list-farmacia article p {
	margin: 0;
}

/* Mapa */
.mapa-farmacia {
	width: 100%;
	min-height: 170px;
	aspect-ratio: 1/1;
	background-color: var(--fdt-muted);
}
@media only screen and (min-width: 981px) {
	.mapa-farmacia {
		min-height: 300px;
	}
}
.fdt-no-map {
	display: flex;
	justify-content: center;
	align-items: center;
}

.ocultar {
	opacity: 0.7;
	border-color: red;
	display: none;
}
