/*
  Project: Sabba Studio
  Date: 14/06/2023
  Author: Josu Eguren
  Version: 3.0
  Description: Custom styles for the Sabba Studio website
*/

/* Styles */

div.policy p {
	margin-top: 2rem;
    /* Ajusta el valor según sea necesario */;
}

.bg-custom {
	background-color: #b5b2b2;
}

.bg-custom:not([style*="background-"]) + .bg-custom:not([style*="background-"]) {
	padding-top: 0;
}

.service-item-caption {
	background: rgba(181, 178, 178, 0.9) !important;
}

/* Move reCAPTCHA v3 badge to the left */
.grecaptcha-badge {
	width: 70px !important;
	overflow: hidden !important;
	transition: all 0.3s ease !important;
	left: 4px !important;
}

.grecaptcha-badge:hover {
	width: 256px !important;
}

/* Google Map */

.map-google {
	height: 250px;
	width: 100%;
}

.map-google img {
	margin-top: 0;
	vertical-align: top;
}

h2 + .map-google {
	margin-top: 50px;
}

@media (min-width: 992px) {
	.map-google {
		height: 470px;
	}
}

@media (min-width: 1600px) {
	.map-google {
		height: 530px;
	}

	h2 + .map-google {
		margin-top: 70px;
	}
}

/* Rd Search */

.rd-search-results .search-list {
	font-size: 0.875rem;
	counter-reset: li;
	list-style-type: none;
}

.rd-search-results .search-list li:only-child::before {
	display: none;
}

.rd-search-results .search-list-item {
	position: relative;
	padding-left: 35px;
}

.rd-search-results .search-list-item::before {
	position: absolute;
	left: 0;
	top: 0;
	font-size: 19px;
	line-height: 1.35;
	font-weight: 400;
	color: #222222;
	content: counter(li, decimal) ".";
	counter-increment: li;
}

.rd-search-results .search-list-item:not(:last-child) {
	padding-bottom: 21.5px;
	border-bottom: 1px solid #e8e8e9;
}

.rd-search-results .match {
	color: #6b39bd;
}

.rd-search-results .match em {
	font-style: normal;
}

.rd-search-results .search {
	background-color: rgba(107, 57, 189, 0.1);
}

.rd-search-results * + p {
	margin-top: 2px;
}

.rd-search-results * + .match {
	margin-top: 6px;
}

.rd-search-results .search-list-item + .search-list-item {
	margin-top: 21.5px;
}

.context-dark .rd-search-results .search-list-item::before {
	color: inherit;
}

@media (min-width: 992px) {
	.rd-search-results .search-list-item {
		padding-left: 43px;
	}

	.rd-search-results .search-list-item:before {
		font-size: 1.5rem;
		line-height: 1.5;
	}

	.rd-search-results .search-list-item:not(:last-child) {
		padding-bottom: 43px;
	}

	.rd-search-results .search-list-item + .search-list-item {
		margin-top: 43px;
	}
}

/* Tarifas */

:root {
	--bg-table-stripe: #f6f6f5;
	--b-table: #e3e3e2;
	--caption: #242423;
}

table {
	background-color: transparent;
	border-collapse: collapse;
	font-family: Arial, Helvetica, sans-serif;
	width: 100%;
}

th {
	text-align: left;
}

.dcf-txt-center {
	text-align: center !important;
}

.dcf-txt-left {
	text-align: left !important;
}

.dcf-txt-right {
	text-align: right !important;
}

.dcf-table caption {
	color: var(--caption);
	font-size: 1.13em;
	font-weight: 700;
	padding-bottom: 0.56rem;
}

.dcf-table thead {
	font-size: 0.84em;
}

.dcf-table tbody {
	border-bottom: 1px solid var(--b-table);
	border-top: 1px solid var(--b-table);
	font-size: 0.84em;
}

.dcf-table tfoot {
	font-size: 0.84em;
}

.dcf-table td, 
.dcf-table th {
	padding-right: 1.78em;
}

.dcf-table-bordered, 
.dcf-table-bordered td, 
.dcf-table-bordered th {
	border: 1px solid var(--b-table);
}

.dcf-table-bordered td, 
.dcf-table-bordered th, 
.dcf-table-striped td, 
.dcf-table-striped th {
	padding-left: 1em;
	padding-right: 1em;
}

.dcf-table-bordered tr:not(:last-child), 
.dcf-table-striped tr:not(:last-child) {
	border-bottom: 1px solid var(--b-table);
}

.dcf-table-striped tbody tr:nth-of-type(2n) {
	background-color: var(--bg-table-stripe);
}

.dcf-table thead td, 
.dcf-table thead th {
	padding-bottom: 0.75em;
	vertical-align: bottom;
}

.dcf-table tbody td, 
.dcf-table tbody th, 
.dcf-table tfoot td, 
.dcf-table tfoot th {
	padding-top: 0.75em;
	vertical-align: top;
}

.dcf-table tbody td, 
.dcf-table tbody th {
	padding-bottom: 0.75em;
}

.dcf-table tfoot tr {
	height: 50px; vertical-align: middle;
} 

.dcf-table-bordered thead th {
	padding-top: 1.33em;
}

.dcf-wrapper-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding-bottom: 1em;
	position: relative;
	right: 50%;
	width: 100vw;
}

/* Ajustes responsivos */
@media only screen and (max-width: 42.09em) {
	.dcf-table-responsive thead {
		clip: rect(0 0 0 0);
		-webkit-clip-path: inset(50%);
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		position: absolute;
		width: 1px;
		white-space: nowrap;
	}

	.dcf-table-responsive tr {
		display: block;
	}

	.dcf-table-responsive td {
		-webkit-column-gap: 3.16vw;
		-moz-column-gap: 3.16vw;
		column-gap: 3.16vw;
		display: grid;
		grid-template-columns: 1fr 2fr;
		text-align: left !important;
	}

	.dcf-table-responsive.dcf-table-bordered, 
	.dcf-table-responsive.dcf-table-bordered thead th {
		border-width: 0;
	}

	.dcf-table-responsive.dcf-table-bordered tbody td {
		border-top-width: 0;
	}

	.dcf-table-responsive:not(.dcf-table-bordered) tbody tr {
		padding-bottom: 0.75em;
	}

	.dcf-table-responsive:not(.dcf-table-bordered) tbody td {
		padding-bottom: 0;
	}

	.dcf-table-responsive:not(.dcf-table-bordered):not(.dcf-table-striped) tbody td {
		padding-right: 0;
	}

	.dcf-table-responsive.dcf-table-bordered tbody tr:last-child td:last-child {
		border-bottom-width: 0;
	}

	.dcf-table-responsive tbody td:before {
		content: attr(data-label);
		float: left;
		font-weight: 700;
		padding-right: 1.78em;
	}
}

/* Asegurar que el tfoot ocupe todo el ancho en móviles */
.dcf-table tfoot tr td {
	display: table-cell;
	width: 100%;
	text-align: center;
}

@media only screen and (max-width: 42.09em) {
	.dcf-table tfoot tr td {
		display: block;
		width: 100%;
		text-align: center;
	}
}

.dcf-overflow-x-auto {
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch;
}

.dcf-w-100\% {
	width: 100% !important;
}

.list-indent {
	padding-left: 1.2em; /* Debe coincidir con el ancho del marcador (1.2em) */
}