h2{
	font-size: 1.3rem;
	margin-top: 2rem;
}

.modalidades{
	margin-bottom: 2rem;
}

.parametros{
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-gap: 1rem;
	max-width: 25rem;
}

.monto{
}

.plazo{
	position: relative;
}

.plazo span{
	position: absolute;
	bottom: 0;
	right: 0;
	user-select: none;
	padding-right: 0.25em;
}

/* Chrome, Safari, Edge, Opera */
.plazo input::-webkit-outer-spin-button,
.plazo input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.plazo input[type=number] {
  -moz-appearance: textfield;
}

.simular{
	margin-top: 2rem;
	font-weight: bold;
}

#monto{
	display: none;
}

input[type="text"]{
	width: 30rem;
	max-width: 100%;
}

#resultado .variante{
	background: white;
	padding: 1rem;
	margin-bottom: 1rem;
	border-radius: var(--soft-radius);
}

.cuota{
	font-size: 2rem;
	font-weight: bold;
	color: black;
}

.cuota::before{
	content:'$';
	font-size: 1rem;
}

.contenedor-plan-de-pagos{
	position: fixed;
	box-sizing: border-box;
	width: 100vw;
	height: 100vh;
	z-index: 15;
	background-color: rgba(0,0,0,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
}

.contenedor-plan-de-pagos .flotante{
	background-color: var(--gray-color);
	padding: 1rem;
	border-radius: var(--soft-radius);
	font-size: 90%;
}

.contenedor-plan-de-pagos .flotante .cabecera{
	display: flex;
	align-items: center;
	padding-bottom: 1rem;
}

.contenedor-plan-de-pagos .flotante .cabecera h2{
	flex-grow: 1;
	margin: 0 1rem 0 0;
}

.plan-de-pagos{
	max-height: calc(100vh - 10rem);
	max-width: calc(100vw - 4rem);
	overflow: auto;
	position: relative;
}

.plan-de-pagos table tr:first-child{
	background-color: var(--gray-color);
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 1;
}

.plan-de-pagos table tr td:first-child,
.plan-de-pagos table tr th:first-child{
	background-color: var(--gray-color);
	width: 3rem;
	position: -webkit-sticky;
	position: sticky;
	left: 0;
}

.plan-de-pagos table{
	border-collapse: collapse;
}

.plan-de-pagos table td,
.plan-de-pagos table th{
	text-align: right;
	white-space: nowrap;
	padding: 0 0.5rem;
}