:root {
	--azul: #0069d9;
	--verde: #83c635;
	--rojo: #f01b18;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

html {
	/*  Usado para trabajar con definición 'em'  */
	font-size: 16px;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
	line-height: 1.8em;
	text-align: left;
	color: #000;
	font-weight: 400;
	margin: 2em;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: -moz-none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

.row>* {
	padding: 0;
}

.rubrica {
	box-shadow: 0 0 0 10px #fff, 0 15px 50px;
}

.rubrica .encabezado {
	margin-bottom: 10px;
}

.rubrica .encabezado .info {
	background-color: var(--azul);
	color: #fff;
	text-align: right;
	padding: 10px 20px;
	margin-top: 20px;
}

.rubrica .encabezado .titulo {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.rubrica .encabezado .titulo .headings-int {
	color: #000;
	font-size: 1.8em;
	margin-top: 20px;
}

.estilosinstruccion {
	background-color: var(--azul);
	color: #fff;
	padding: 5px 10px;
	margin-top: 3px;
}

.row {
	margin-left: 0;
	margin-right: 0;
}

.rubrica #reactivos {
	padding: 0;
}

p {
	font-size: 1.1em;
	line-height: 1.8em;
}

.ir-arriba {
	display: none;
	padding: 15px;
	background: #63c9e0;
	font-size: 20px;
	color: #fff;
	cursor: pointer;
	position: fixed;
	bottom: 20px;
	right: 20px;
	border-radius: 50%;
	z-index: 10000;
}

.btn {
	display: flex;
	flex-direction: column;
	cursor: pointer;
	color: #000;
	text-align: left;
	border: 5px;
	margin: 0 5px 0;
	/* background-color: #dfdfdf; */
	border-radius: 0px;
	/* font-size: 0.9em; */
}

.btn.active {
	background-color: #faf7ed;
	border: 5px;
	border-style: inreactivo;
	border-radius: 0px;
}

.pager {
	display: flex;
	justify-content: center;
	margin: 20px 0px;
}

.rubrica .reactivo.row {
	padding: 5px 0;
	border: 1px solid #fff;
}

.rubrica .reactivo.row:nth-of-type(1) {
	border-top: 1px solid;
}

.rubrica .reactivo.row:nth-child(odd) {
	background-color: #f0efef;
}

.rubrica .reactivo.row:nth-child(even) {
	background-color: #e5e5e5;
}

.rubrica .reactivo.vacio {
	border: 1px solid var(--azul);
}

.rubrica #reactivos .reactivo .pregunta {
	margin: auto;
	padding: 5px;
}

.rubrica #reactivos #encabezado {
	position: sticky;
	top: -2px;
	z-index: 100;
	font-family: 'Open Sans', sans-serif;
	line-height: 1.25em;
	text-align: center;
	color: #fff;
	background: #969696;
	padding: 15px;
}

.txt {
	display: none;
}

.btn-group > .btn:hover {
	background-color: #d4d6d6;
}

/* ---------------- */

button {
	margin: 1px;
}

footer {
	clear: both;
}

.main {
	margin: 0 auto;
	padding: 30px;
	text-align: center;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 300;
	letter-spacing: 1px;
}

.container {
	padding: 0;
}

/*******************************************/
/***** RESPONSIVE 480 *****************/
/*******************************************/

@media (max-width: 869px) {
	.rubrica {
		box-shadow: none;
	}
}

/* ------- */
@media (min-width: 992px) {
	/*  lg  BS4   >= 992 px	*/
	.opcion.col-sp {
		flex: 0 0 auto;
		width: 20%;
	}
}

.boton {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	border-radius: 4px;
}

.boton,
.boton:hover,
.boton:active,
.boton:focus {
	background-color: var(--azul);
	color: #fff;
}

.boton:hover {
	background-color: #0062cc;
}

.rubrica #reactivos .reactivo .grupo .opcion {
	display: grid;
}

.opcion .btn-outline-primary:hover {
	color: initial;
	background-color: #f4edd9;
}

@media (max-width: 992px) {
	html {
		margin: 0;
		padding: 0;
	}

	body {
		padding: 0;
		border: none;
		box-shadow: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		margin: 0.5em;
	}

	.container {
		min-width: 100%;
		flex-wrap: wrap;
	}

	.pregunta {
		margin: 0;
	}

	.boton,
	.opcion {
		margin: 5px 0;
	}

	.content-input input[type=radio]+i:before {
		height: 7px;
		width: 7px;
		top: 4px;
		left: 4px;
		background: #0E5496;
		transition: all 0.25s ease;
		transform: scale(0);
		opacity: 0;
	}

	.content-input input[type=radio]+i {
		height: 18px;
		width: 18px;
		border-radius: 100%;
		left: 15px;
	}

	.btn {
		display: flex;
	}

	#encabezado {
		display: none;
	}

	.txt {
		display: inherit;
		display: block;
		right: 0;
		font-family: 'Open Sans', sans-serif;
		line-height: 1em;
		text-align: right;
		color: var(--azul);
		margin-top: auto;
		font-size: 0.9em;
	}

	.btn-check:active + .btn-outline-primary .txt,
	.btn-check:checked + .btn-outline-primary .txt,
	.btn-outline-primary.active .txt,
	.btn-outline-primary.dropdown-toggle.show .txt,
	.btn-outline-primary:active .txt {
		color: #fff;
		transition: none;
	}
}

.btn-check:focus + .btn-outline-primary {
	box-shadow: none;
}
.btn-check:checked + .btn-outline-primary {
	background-color: var(--azul);
	color: #fff;
}
