* {
	margin: 0;
	padding: 0;
}

body {
	padding-right: 0 !important;
}

body nav {
	width: 100%;
	background: #c20f1b;
	margin: 0px auto;
	text-align: center;
 }
 
body nav ul {
	overflow:hidden;
	list-style:none;
	margin: 0px;
}
 
body nav ul li {
	display: inline-block;
	float: none;
	vertical-align: top;
	cursor: pointer;
}
 
body nav ul li a {
	font-family: Arial;
	font-size: 18px;
	text-decoration: none;
	color: #fff;
	padding:15px;
	display:block;
}
 
body nav ul li a:hover {
	background: #720f1b;
	color: #fff;
	text-decoration: none;
}

fieldset p {
    display: table-row;
}
fieldset input, 
fieldset select, 
fieldset label {
    display: table-cell;
    margin: 3px;
}
fieldset label {
    text-align: right;
}

.horario td,
.horario th {
	padding: 4px !important;
	vertical-align: middle !important;
}

.checkbox {
	margin-top: 30px;
	font-size: 15px;
}

.mensaje {
	margin-top: 30px;
	font-size: 15px;
	color: #720f1b;
}

.centrado {
	margin-top: 12px;
	font-size: 15px;
}

.menu_bar {
	display:none;
}

.lector {
	margin: 50px;
	width: 200px;
}

.background { 
	background: rgba(180,0,0,.3) url(../img/portada/1.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: -1;
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 15%, 0 75%);
	clip-path: polygon(0 0, 100% 0, 100% 15%, 0 75%);
}

.overlay {
	background: rgba(180,0,0,.3) url(../img/portada/overlay.png) repeat;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: -1;
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 15%, 0 75%);
	clip-path: polygon(0 0, 100% 0, 100% 15%, 0 75%);
}

.or-seperator {
	margin: 15px 0;
	text-align: center;
	border-top: 1px solid #ccc;
}
.or-seperator i {
	padding: 0 10px;
	background: #fff;
	position: relative;
	top: -11px;
	z-index: 1;
}

.opciones {
	display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
	text-align: right;
}

.footer { 
   position: fixed;     
   text-align: center;    
   bottom: 0px; 
   width: 100%;
}

#dialogo{
    background-color: #fff;
	min-height: 120px;
    max-width: 800px;
    margin: 160px auto 0;
    padding: 20px 40px;
    color: #8e858b;
    box-shadow: 6px 6px 6px rgba(0,0,0,0.2);
}

#dialogo h2{
    padding-bottom: 15px;
    margin: 10px 20px;
    font-size: 20px;
	line-height: 1.5;
}

#dialogo hr{
    margin-top: 38px;
    margin-bottom: 54px;
    margin-left:3px;
    border: 1px solid #cccccc;
}

#dialogo p{
	text-align:left;
	color:#c20f1b;
	font-size: 14px;
	font-weight:bold;
	padding-left: 18px;
}

#dialogo .dia{
	color:#8e858b;
}

#dialogo .form-group{
	/*margin-bottom: 20px;
    float:left;
    text-align: left;*/
}

#dialogo .form-control{
    /*padding: 12px 20px;*/
	padding: 12px;
    height: 45px;
    border-radius: 2px;
}

#dialogo .radio-inline{
    margin-left: 10px;
    margin-right: 10px;
}

#dialogo .gender{
    width: 30%;
    margin-top: 30px;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
}

#dialogo .btn{
	float: right;
	text-align: right;
    outline: none;
	margin: 10px 0;
}

#dialogo .select{
	/*text-indent: 12px;*/
	font-size: 14px;
	color: #8e858b;
}

#dialogo .restante{
	font-size: 25px;
	font-weight: 300;
    padding-top: 5px;
}

#dialogo .lector{
	margin: 20px;
}

#dialogo #lectorMiHorario{
	height: 34px;
    padding: 6px 12px;
	border-radius: 4px;
}

.btn-red {
    color: #fff !important;
    background-color: #c20f1b !important;
    border-color: #720f1b !important;
	outline: none !important;
}

.btn-red:hover {
	color: #fff !important;
	background-color: #720f1b !important;
	border-color: #720f1b !important;
}

.svg {
	color: white;
}

.btn-texto-inventario {
	margin: 30px 15px;
	align-items: flex-end;
	font-size: 18px !important;
	font-weight: bold !important;
}

.btn-group button {
  background-color: #c20f1b;
  border-color: #720f1b;
  border-radius: 4px !important;
  color: white;
  padding: 10px 24px;
  cursor: pointer; /* Pointer/hand icon */
  width: 100%; /* Set a width if needed */
  display: block; /* Make the buttons appear below each other */
  text-align: center !important;
}

a:focus, .btn-red:focus {
	color: #fff;
	text-decoration: none;
}

#body .btn-secondary {
    margin-right: 10px;
}

.modal, .modal-open {
	padding-right: 0 !important;
}

.redText {
	color: #c20f1b;
	font-weight: bold;
}
 
canvas {
  padding: 0;
  margin: 0px;
  display: inline-block;
  vertical-align: middle;
}

table {
	font-family: Arial;
	font-size: 16px;
	width: 60% !important;
}

.table {
	width: 60% !important;
}

td {
	text-align:center;
}

html {
  overflow-y: scroll;
}

.noScroll {
	overflow: hidden;
	position: fixed;
}

/* Estilo para crear un spiner para mostrar mientras se carga el modal con los datos del servidor */
.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hidden {
    display: none;
}

/* Estilo para alinear el switch Sí/No */
.switch {
    vertical-align: middle;
}

/* Estilo para el interruptor */

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  border-radius: 50%;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

/* Cuando el checkbox está marcado */
input:checked + .slider {
  background-color: #4CAF50;
}

/* Mover el círculo al lado derecho cuando está marcado */
input:checked + .slider:before {
  transform: translateX(26px);
}

/* Texto a la izquierda ("No") */
.switch:before {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #fff;
}

/* Texto a la derecha ("Sí") */
.switch input:checked + .slider:after {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #fff;
}

/* Fin del estilo para el interruptor */

/*---------- SLIDES --------------*/

#slider {
	overflow: hidden;
}

#slider figure {
	position: relative;
	width: 2600%;
	margin: 0;
	left: 0;
	animation: 100s slider infinite;
}

#slider figure img {
	width: 3.8461%;
	float: left;
}

@keyframes slider {
	0% { left: 0; }
	3% { left: 0; }
	4% { left: -100%; }
	7% { left: -100%; }
	8% { left: -200%; }
	11% { left: -200%; }
	12% { left: -300%; }
	15% { left: -300%; }
	16% { left: -400%; }
	19% { left: -400%; }
	20% { left: -500%; }
	23% { left: -500%; }
	24% { left: -600%; }
	27% { left: -600%; }
	28% { left: -700%; }
	31% { left: -700%; }
	32% { left: -800%; }
	35% { left: -800%; }
	36% { left: -900%; }
	39% { left: -900%; }
	40% { left: -1000%; }
	43% { left: -1000%; }
	44% { left: -1100%; }
	47% { left: -1100%; }
	48% { left: -1200%; }
	51% { left: -1200%; }
	52% { left: -1300%; }
	55% { left: -1300%; }
	56% { left: -1400%; }
	59% { left: -1400%; }
	60% { left: -1500%; }
	63% { left: -1500%; }
	64% { left: -1600%; }
	67% { left: -1600%; }
	68% { left: -1700%; }
	71% { left: -1700%; }
	72% { left: -1800%; }
	75% { left: -1800%; }
	76% { left: -1900%; }
	79% { left: -1900%; }
	80% { left: -2000%; }
	83% { left: -2000%; }
	84% { left: -2100%; }
	87% { left: -2100%; }
	88% { left: -2200%; }
	91% { left: -2200%; }
	92% { left: -2300%; }
	95% { left: -2300%; }
	96% { left: -2400%; }
	99% { left: -2400%; }
	100% { left: -2500%; }
}

#diapositivas{
	background-color: white;
	width: 75%;
	height: 75%;
	padding: 0;
	margin: 0px;
	border-style: solid;
    border-width: 2px;
}

#diapositivas label {
	margin: 0;
	margin-inline: 0;
}

.tituloContador{
	background-color: black;
	font-size: 18px;
	color: white;
}

.barraContador{
	background-color: #c20f1b;
	font-size: 50px;
	color: white;
}

.kioskoContador{
	background-color: #c2b90f;
	font-size: 50px;
	color: white;
}

.terrazaContador{
	background-color: #0f9bc2;
	font-size: 50px;
	color: white;
}

*:fullscreen, *:-webkit-full-screen, *:-moz-full-screen {
    background-color: rgba(255,255,255,0);
}

#diapositivas:-webkit-full-screen{ 
	border-style: none;
}

#diapositivas:fullscreen{ 
	border-style: none;
}

#diapositivas:-webkit-full-screen .tituloContador{ 
	font-size: 40px;
}

#diapositivas:-webkit-full-screen .barraContador{ 
	font-size: 150px;
}

#diapositivas:-webkit-full-screen .kioskoContador{ 
	font-size: 150px;
}

#diapositivas:-webkit-full-screen .terrazaContador{ 
	font-size: 150px;
}

#diapositivas:fullscreen .tituloContador{ 
	font-size: 40px;
}

#diapositivas:fullscreen .barraContador{ 
	font-size: 150px;
}

#diapositivas:fullscreen .kioskoContador{ 
	font-size: 150px;
}

#diapositivas:fullscreen .terrazaContador{ 
	font-size: 150px;
}

#chat-box {
	background: #fff8f8;
	border: 1px solid #ffdddd;
	border-radius: 4px;
	border-bottom-left-radius:0px;
	border-bottom-right-radius: 0px;
	min-height: 40px;
	padding: 10px;
	overflow: auto;
}

.error {
	color:#FF0000;
}

.chat-connection-ack {
	color: #26af26;
}

.chat-message {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}

.chat-box-html {
	color: #09F;
	margin: 10px 0px;
	font-size:0.8em;
}

.chat-box-message {
	color: #09F;
	padding: 5px 10px;
	background-color: #fff;
	border: 1px solid #ffdddd;
	border-radius: 4px;
	display: inline-block;
}

.chat-input {
	border: 1px solid #ffdddd;
	border-top: 0px;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 8px;
	color: #191919;
}

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {
	.modal-dialog-login { 
		width: 350px;
		margin: auto;
	}
}

/* Custom */ 
@media only screen and (min-width : 558px) {
	.logo {
		margin-right: 70px;
	}
}

@media only screen and (min-width : 577px) {
	.tituloContadorMobile{
		display: none;
	}

	.barraContadorMobile{
		display: none;
	}

	.kioskoContadorMobile{
		display: none;
	}

	.terrazaContadorMobile{
		display: none;
	}
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
	.logo {
		margin-right: 140px;
	}
	
	.inlineCamara {
		margin: 0 !important;
		border: 1px solid #ccc !important;
		height: 45px !important;
		border-radius: 2px !important;
	}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
	
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}

/*==========  Non-Mobile First Method  ==========*/

/* Custom */ 
@media only screen and (max-width : 1300px) {
	.table {
		width: 70% !important;
	}
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Custom */ 
@media only screen and (max-width : 1100px) {
	.table {
		width: 80% !important;
	}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	.table {
		width: 90% !important;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.modal-dialog-mobile { 
		width: 80%;
		margin: 0 auto;
		margin-bottom: 30px;
	}
	
	.table {
		width: 100% !important;
	}
	
	.checkbox {
		margin-top: 20px;
		margin-bottom: 20px;
	}
	
	.inlineCamara {
		width: 100%;
		text-align: center !important;
		margin-top: 10px !important;
		margin-bottom: 15px !important;
		border: 1px solid #ccc !important;
		height: 45px !important;
		border-radius: 2px !important;
	}
}

/* Custom */ 
@media only screen and (max-width : 576px) {
	#dialogo {
		margin: 70px auto 0;
	}
	
	#logo, #display {
		display:none;
	}
	
	body {
		padding-top: 50px;
	}
	
	body nav {
		width:100%;
		height:100%;
		margin:0;
		left:-100%;
		position: fixed;
		top: 58px;
	}
 
	body nav ul li {
		display:block;
		border-bottom:1px solid rgba(255,255,255, .3);
	}
 
	.menu_bar {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 25;
		width: 100%;
		background: #c20f1b;
	}
	
	.menu_bar, .bt-menu {
		padding: 15px;
		background: #c20f1b;
		color: #fff;
		text-decoration: none;
		font-family: Arial;
		font-size: 18px;
		font-weight: bold;
		text-align: center;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		box-sizing:border-box;
		cursor: pointer;
	}
	
	.bt-menu {
		margin-left: 25px;
	}
	
	.bt-menu:hover{
		color: #fff;
		text-decoration: none;
	}
	
	.menu_bar img {
		float: right;
	}
	
	.hidden-xxs{
		display: none;
	}
	
	#diapositivas{
		display: none;
	}
	
	.tituloContadorMobile{
		background-color: black;
		font-size: 15px;
		color: white;
		display: block;
	}

	.barraContadorMobile{
		background-color: #c20f1b;
		font-size: 30px;
		color: white;
		margin-bottom: 10px;
		display: block;
	}

	.kioskoContadorMobile{
		background-color: #c2b90f;
		font-size: 30px;
		color: white;
		margin-bottom: 10px;
		display: block;
	}

	.terrazaContadorMobile{
		background-color: #0f9bc2;
		font-size: 30px;
		color: white;
		margin-bottom: 10px;
		display: block;
	}
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
	
}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {
	
}