:root {
	--azul: #0069d9;
	--verde: #83c635;
	--rojo: #f01b18;

	--tamano: 50px;
	--tam-sonar: 25px;
	--color-OK: #83c635;
	--color-noOK: #f01b18;
}

* {
	margin: 0;
	padding: 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;
}

.ordenar {
	box-shadow: 0 0 0 10px #fff, 0 15px 50px;
}

.encabezado {
	margin-bottom: 10px;
}

.encabezado .info {
	background-color: var(--azul);
	color: #fff;
	text-align: right;
	padding: 10px 20px;
	margin-top: 20px;
}

.titulo {
	padding: 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.headings-int {
	color: #000;
	font-size: 1.8em;
	text-align: left;
	margin-top: 20px;
}

.instrucciones {
	padding: 0;
}

.estilosinstruccion {
	background-color: var(--azul);
	color: #fff;
	padding: 5px 10px;
	margin-top: 3px;
}

.barraInferior {
	text-align: center;
	clear: both;
}

.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;
}

.pager {
	text-align: center;
	margin-top: 20px;
}

.ordenar .reactivos .reactivo {
	position: relative;
	border: 1px solid #FFF;
}

.ordenar .reactivos .reactivo:nth-child(even),
[id^=lista]:nth-child(even) {
	background-color: #e9e182;
}

.ordenar .reactivos .reactivo:nth-child(odd),
[id^=lista]:nth-child(odd) {
	background-color: #f9a931;
}

.ordenar .reactivos .reactivo.bien {
	border: 1px solid var(--color-OK);
	padding: 10px;
}

.ordenar .reactivos .reactivo.mal {
	border: 1px solid var(--color-noOK);
	padding: 10px;
}

.ordenar .reactivos .reactivo.bien .contenido,
.ordenar .reactivos .reactivo.mal .contenido {
	padding-left: 30px;
}

.ordenar .reactivos .reactivo.bien.intento .contenido {
	padding: 5px;
}

.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;
}

#btnPaginador {
	margin-left: 5px;
	margin-right: 5px;
	opacity: 1;
	cursor: default;
}

.ordenar .lista {
	clear: both;
	padding: 5px;
	margin: 5px 0;
}

.vacio {
	border: 1px solid var(--azul) !important;
}

.ordenar .sortable,
ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 100%;
	display: table-cell;
}

.ordenar .sortable li,
ul li {
	margin: 5px;
	padding: 0.4em;
	font-size: 1em;
	cursor: move;
	float: left;
	text-align: center;
	border: 1px solid #000;
	background-color: #fff;
}

.listaTexto>label.contenido>span.opcion {
	text-align: left;
}

hr {
	margin-top: 5px !important;
	margin-bottom: 5px !important;
}

.blink {
	animation: blink 2s linear infinite;
	-webkit-animation: blink 2s linear infinite;
}

@keyframes blink {
	50% {
		opacity: 0.0;
	}
}

@-webkit-keyframes blink {
	50% {
		opacity: 0.0;
	}
}

.bullet {
	display: table-cell;
	vertical-align: middle;
}

.listaAudio {
	width: 100px;
}

.listaVideo {
	width: 20%;
}

.listaImagen {
	width: 12%;
	position: relative;
}

.lupa {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	opacity: 0.6;
	font-size: 2em;
}

.imagen {
	width: 100%;
}

.imagenResp {
	width: 10%;
	margin: 0 10px 10px 0;
}

.mostrar {
	display: initial;
}

.ocultar {
	display: none;
}

.resp1,
.resp2 {
	color: var(--rojo);
}

video {
	width: 100%;
}

@media (max-width: 992px) {
	body {
		padding: 0;
		border: none;
		box-shadow: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		margin: 0.5em;
	}

	.listaImagen {
		width: 45%;
	}

	.imagenResp {
		width: 25%;
	}
}

/* ------------------ CLASES PARA RETROALIMENTACIONES TOOLTIP ------------------ */
.tooltip {
	filter: drop-shadow(2px 4px 10px #444);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tooltip-inner {
	font-size: 1.1em;
	text-align: left;
	min-width: 280px;
	padding: 10px;
	z-index: 1000001;
}

@media (min-width: 992px) {
	/*  lg  BS4   >= 992 px	*/
	.tooltip-inner {
		min-width: 480px;
	}
}

.tooltip.show {
	opacity: 1;
}

.tooltip.primary .tooltip-inner {
	background-color: #337ab7;
}

.tooltip.info .tooltip-inner {
	background-color: #31b0d5;
}

.tooltip.success .tooltip-inner {
	background-color: var(--color-OK);
}

.tooltip.warning .tooltip-inner {
	background-color: #ec971f;
}

.tooltip.danger .tooltip-inner {
	background-color: var(--color-noOK);
}

.success.bs-tooltip-end .tooltip-arrow:before {
	border-right-color: var(--color-OK);
}

.danger.bs-tooltip-end .tooltip-arrow:before {
	border-right-color: var(--color-noOK);
}

.success.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,
.success.bs-tooltip-top .tooltip-arrow::before {
	border-top-color: var(--color-OK);
}

.success.bs-tooltip-bottom .tooltip-arrow::before {
	border-bottom-color: var(--color-OK);
}

.danger.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,
.danger.bs-tooltip-top .tooltip-arrow::before {
	border-top-color: var(--color-noOK);
}

.danger.bs-tooltip-bottom .tooltip-arrow::before {
	border-bottom-color: var(--color-noOK);
}


/* ----------------------------------------------------------------------------- */

/* ---------------------- EFECTO PULSO PARA PALOMITAS Y TACHES ----------------- */
.pulso {
	width: var(--tam-sonar);
	height: var(--tam-sonar);
	position: absolute;
	margin: auto;
	border-radius: 50%;
	font-size: calc(0.7 * var(--tam-sonar));
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	z-index: 1;
	top: 50%;
	transform: translateY(-50%);
}

.pulso:before,
.pulso:after {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	border-radius: 50%;
	z-index: -1;
	opacity: 0.7;
}

.pulso:before {
	animation: pulso 1s ease-out infinite;
}

.pulso:after {
	animation: pulso 1s 0.5s ease-out infinite;
}

.pulso i {
	font-size: var(--tam-sonar);
}

@keyframes pulso {
	100% {
		transform: scale(2.5);
		opacity: 0;
	}
}

.OK {
	color: var(--color-OK);
}

.OK:before,
.OK:after {
	background: var(--color-OK);
}

.noOK {
	color: var(--color-noOK);
}

.noOK:before,
.noOK:after {
	background: var(--color-noOK);
}

/* ----------------------------------------------------------------------------- */
#myImg {
	border-radius: 5px;
	cursor: pointer;
	transition: 0.3s;
}

#myImg:hover {
	opacity: 0.7;
}

/* The Modal (background) */
.modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 1;
	/* Sit on top */
	padding-top: 100px;
	/* Location of the box */
	left: 0;
	top: 0;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgb(0, 0, 0);
	/* Fallback color */
	background-color: rgba(0, 0, 0, 0.9);
	/* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 650px;
}

/* Caption of Modal Image */
#caption {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	color: #ccc;
	padding: 10px 0;
	height: 150px;
}

/* Add Animation */
.modal-content,
#caption {
	-webkit-animation-name: zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: zoom;
	animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
	from {
		-webkit-transform: scale(0)
	}

	to {
		-webkit-transform: scale(1)
	}
}

@keyframes zoom {
	from {
		transform: scale(0)
	}

	to {
		transform: scale(1)
	}
}

/* The Close Button */
.close {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
}

.close:hover,
.close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

.close:before {
	transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}

.close::after {
	transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}

@media only screen and (max-width: 700px) {
	.modal-content {
		width: 100%;
	}
}

label {
	font-weight: normal;
	margin-bottom: 0;
}

.contenido {
	position: relative;
	cursor: pointer;
	padding: 5px;
}

.opcion {
	text-align: center;
	display: inline-block;
	max-width: -webkit-fill-available;
}

[id^=ctrlDes].rangos {
	height: 15px;
	visibility: visible;
	width: 100%;
}

:not(.controlesVid)>span[id^=play],
:not(.controlesVid)>span[id^=pause] {
	padding: 20px;
}


@media (max-width: 576px) {
	.listaVideo {
		width: 83%;
	}
}

@media (min-width: 576px) {
	.listaImagen {
		width: 23%;
	}

	.listaVideo {
		width: 37%;
	}
}

@media (min-width: 768px) {
	.listaImagen {
		width: 23%;
	}

	.listaVideo {
		width: 35%;
	}
}

@media (min-width: 992px) {
	.listaImagen {
		width: 15%;
	}

	.listaVideo {
		width: 25%;
	}
}

@media (min-width: 1200px) {
	.listaImagen {
		width: 15%;
	}

	.listaVideo {
		width: 20%;
	}
}

@media only screen and (max-width: 992px) {
	body {
		padding: 0;
		border: none;
		box-shadow: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		margin: 0.5em;
	}

	.info,
	.estilosinstruccion p {
		color: #fff;
	}
}

@media (max-width: 869px) {
	.ordenar {
		box-shadow: none;
	}
}

@media only screen and (max-width: 480px) {
	html {
		margin: 0;
		padding: 0;
	}
}

.posicion {
	--tam: 10px;

	width: var(--tam);
	height: var(--tam);
	border: var(--tam) solid transparent;
	background-color: transparent;
	transform: translateY(-50%);
}

li.ui-sortable-placeholder:before {
	background-color: transparent;
	position: absolute;
	content: '';
	width: 0;
	height: 0;
	margin-top: -5px;
	left: -5px;
	top: -4px;
	border: 10px solid transparent;
	border-top-color: red;
	border-bottom: none;
}

.ui-sortable-helper {
	transform: scale(0.5);
	transition: transform 0.4s;
}
.ui-sortable-disabled,
.ui-sortable-disabled li {
	cursor: default;
	opacity: 0.65;
}
