/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
	background: #fff !important;
	color: #000 !important;
	/* Black prints faster */
	box-shadow: none !important;
	text-shadow: none !important;
  }

  a,
  a:visited {
	text-decoration: underline;
  }

  a[href]::after {
	content: " (" attr(href) ")";
  }

  abbr[title]::after {
	content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
	content: "";
  }

  pre {
	white-space: pre-wrap !important;
  }

  pre,
  blockquote {
	border: 1px solid #999;
	page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
	display: table-header-group;
  }

  tr,
  img {
	page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
	orphans: 3;
	widows: 3;
  }

  h2,
  h3 {
	page-break-after: avoid;
  }
}

body{
  font-family: 'Roboto', sans-serif;
  color: #5E5E5E;
  margin-top: 2rem;
  overflow-x: hidden;
}
.cursor{
  cursor: pointer;
}
.float_btn, .material-icons.float_btn{
  cursor: pointer;
  font-size: 1em;
  display: inline-block;
  line-height: 2em;
  width: 2em;
  height: 2em;
  text-align: center;
  color: white;
  background: #2B88D9;
  border-radius: 1em;
  box-shadow: 1px 1px 2px gray;
  transition: .15s ease-in-out;
}
.float_btn:hover{
  color: white;
  box-shadow: 0px 1px 2px black;
}
@keyframes btnThinking {
	0%{
	  width: 10%;
	  left: 0px;
	  opacity: 1;
	}
	50%{
	  width: 100%;
	  left: 0%;
	  opacity: .5;
	}
	100%{
	  width: 10%;
	  left: 90%;
	  opacity: 1;
	}
}
.thinking {
	position: relative;
	background: #a2aab5;
	border-color: #a2aab5;
	cursor: wait;
}
.thinking:before {
	content: " ";
	position: absolute;
	width: 100%;
	height: 5px;
	bottom: 0px;
	background: #2B88D9;
	animation-name: btnThinking;
	animation-duration: 1s;
	animation-direction: alternate;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
	transition: .2s ease-in-out;
}
.thinking.btn-outline-danger {
	background: unset;
}
.thinking.btn-danger:before, .thinking.btn-outline-danger:before {
	background: #E74C12;
}

@keyframes spin {
	from {
		transform:rotate(0deg);
	}
	to {
		transform:rotate(-360deg);
	}
}

.spin {
  animation-name: spin;
  animation-duration: 3000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

body > .container {
	min-height: calc(100vh - 4em);
}
h1 span.material-icons {
	font-size: 1em;
	vertical-align: middle;
	color: #F2B705;
}

h1 {
	margin-bottom: 1em;
	position: relative;
}

h1:after {content: "";display: block;position: absolute;bottom: 0px;left: 1.2em;width: 5em;height: 5px;background: #F2B705;}

.sFontSize{
  font-size: .8em;
}

span.material-icons {
	vertical-align: middle;
	height: 1em;
}

div#toastContainer {
  position: fixed;
  top: 4.5rem;
  right: 1em;
  z-index: 7000;
}

span.chip {
	line-height: 2em;
	color: #2B88D9;
	border: solid 1px #2B88D9;
	display: inline-block;
	padding-left: 1.5em;
	padding-right: 1.5em;
	border-radius: 1em;
	cursor: pointer;
	transition: .15s ease-in-out;
	font-size: .8em;
}

span.chip:hover {
	color: white;
	background: #2B88D9;
}

span.chip.active {
  color: white;
  background: #2B88D9;
}

.ficha{
  padding: 1em;
  margin: 1em;
  border: solid 1px #a2aab5;
  border-radius: 5px;
  position: relative;
}
.form-fecha input.dia {
	width: 4em;
	display: inline-block;
}

.form-fecha label {
	display: block;
}

.form-fecha select.mes {
	display: inline-block;
	width: 5em;
	margin-left: .5em;
	margin-right: .5em;
}

.form-fecha input.anio {
	display: inline-block;
	width: 6em;
}

textarea.Objeto{
  display: none;
}
span#toogleMenu {
	position: fixed;
	left: .5rem;
	top: .5rem;
	background: white;
	font-size: 2em;
	width: 1.5em;
	height: 1.5em;
	line-height: 2em;
	text-align: center;
	border-radius: 2em;
	box-shadow: 1px 2px 3px #BBB;
	transition: .15s ease-in-out;
	line-height: 1.5em;
	background: #E35B16;
	color: white;
	z-index: 100;
}
table.reorder thead th .orderByControl {
  cursor: pointer;
  color: #DDD;
  margin-left: .5em;
  transition: .15s ease-in-out;
  opacity: 0;
}

table.reorder thead th .orderByControl:hover {
  color: #5E5E5E;
}

table.reorder thead th:hover .orderByControl {
  opacity: 1;
}

table.reorder thead th.orderBy .orderByControl {
  opacity: 1;
  color: #5E5E5E;
}
table.reorder thead th.orderBy.desc .orderByControl {
  transform: rotate(180deg);
}
table.reorder td.number{
  text-align: right;
  white-space: nowrap;
}
.nowrap{
  white-space: nowrap;
}
span#toogleMenu:hover{
  box-shadow: 1px 1px 2px #999;
}
h5#menuPrincipalLabel img {
	max-width: 50%;
}
.navbar-nav .nav-link{
  color: #5E5E5E;
}
.navbar-nav .nav-link:hover{
  color: #5E5E5E;
}
.navbar-nav .nav-link .material-icons {
	vertical-align: bottom;
	margin-right: .5em;
}
.navbar-nav .nav-link:hover .material-icons, .navbar-nav .nav-link:hover {
	color: #F29F05;
}
nav.navbar ul.cuentas {
	list-style: none;
	padding-left: 4em;
}

nav.navbar ul.cuentas li a {
	transition: .15s ease-in-out;
}

nav.navbar ul.cuentas li a:hover {
	color: #F2B705;
}
span#toggleNotificaciones {
	position: absolute;
	top: 10px;
	right: 7.5em;
	cursor: pointer;
	width: 2.75em;
	border: solid 1px #dee2e6;
	text-align: center;
	line-height: 2.75em;
	height: 2.75em;
	border-radius: 2em;
	font-size: 1.1em;
	transition: .15s ease-in-out;
	z-index: 80;
}
span#toggleNotificaciones:hover {
  color: #F29F05;
  border-color: #F29F05;
}
span#contadorNotificaciones {
	position: absolute;
	top: 5px;
	right: 11em;
	font-size: .7em;
	background: #F29F05;
	width: 2em;
	height: 2em;
	text-align: center;
	line-height: 2em;
	border-radius: 2em;
	color: white;
	cursor: pointer;
	display: none;
	z-index: 81;
}
ul#listNotificaciones, ul#menuUsuario {
	position: absolute;
	top: calc(20px + 3em);
	right: 15px;
	border: solid 1px #dee2e6;
	list-style: none;
	background: rgba(255,255,255,.9);
	padding: 0px;
	margin: 0px;
	transition: .15s ease-in-out;
	transform: translateX(calc(100% + 15px));
	z-index: 80;
	width: 20em;
}
ul#listNotificaciones.shown, ul#menuUsuario.shown {
  transform: none;
}
span#closeNotificaciones, span#closeMenuUsuario {
	position: absolute;
	right: 0px;
	top: 0px;
	background: #dee2e6;
	font-size: 1em;
	width: 1.5em;
	text-align: center;
	height: 1.5em;
	line-height: 1.5em;
	cursor: pointer;
	border-radius: 2em;
	transform: translate(50%,-50%);
	z-index: 81;
}
ul#listNotificaciones p.noNotificaciones {
	padding: 1em;
	padding-bottom: 0px;
	text-align: center;
	font-size: .8em;
	color: gray;
}
ul#listNotificaciones li, ul#menuUsuario li {
	font-size: .9em;
	padding: 1em;
	border-bottom: solid 1px #dee2e6;
	text-align: right;
	position: relative;
	transition: .15s ease-in-out;
	max-height: 7em;
}
ul#listNotificaciones li.borrando{
  max-height: 0em;
  padding-top: 0px;
  padding-bottom: 0px;
  overflow: hidden;
  max-height: 0px;
  border-bottom: none;
}
ul#listNotificaciones li.borrando span.checkNotificacion{
  color: #F2B705;
}
ul#listNotificaciones li:last-child, ul#menuUsuario li:last-child {
	border: none;
}

ul#listNotificaciones li p {
	margin: 0px;
	text-align: left;
}

ul#listNotificaciones li .btn {
	font-size: 1em;
}
ul#listNotificaciones li span.checkNotificacion {
	cursor: pointer;
	font-size: 1.4em;
	color: #dee2e6;
}
ul#listNotificaciones li:hover span.checkNotificacion {
	color: #F2B705;
}
ul#listNotificaciones li span.fecha {
	font-size: .8em;
	font-style: italic;
	position: absolute;
	left: 1em;
	bottom: 0.5em;
}
ul#menuUsuario {
	padding: 0px !important;
}
ul#menuUsuario li {
	text-align: left;
	padding: .2em;
	padding-left: 1em;
	padding-right: 1em;
}
div#iconUsuario {
	position: absolute;
	top: 10px;
	right: 4em;
	cursor: pointer;
	width: 2.75em;
	border: solid 1px #dee2e6;
	text-align: center;
	line-height: 2.75em;
	height: 2.75em;
	border-radius: 2em;
	font-size: 1.1em;
	transition: .15s ease-in-out;
	z-index: 80;
	background: #99D0F2;
	background-size: cover;
	background-position: 50% 50%;
}
form#formSearch {
	position: absolute;
	top: 10px;
	right: 0px;
	z-index: 85;
}
#toggleSearch{
  cursor: pointer;
  color: white;
  background: #F2B705;
  line-height: 2em;
  padding-left: .2em;
  padding-right: .3em;
  margin-right: -.1em;
  border-radius: 2em;
  transition: .15s ease-in-out;
  width: 2em;
  height: 2em;
  text-align: center;
  z-index: 1;
  box-shadow: 1px 2px 3px #BBB;
}
#toggleSearch:hover{
  background: #F29F05;
  box-shadow: 1px 1px 2px #999;
}
#inputSearch{
  transition: .15s ease-in-out;
  max-width: 0px;
  padding-left: 0px;
  padding-right: 0px;
  width: 15em;
  opacity: 0;
}
#inputSearch:focus{
  box-shadow: none;
}
.showSearch #inputSearch{
  max-width: 20em;
  padding-left: calc(0.75rem + 1em);
  padding-right: 0.75rem;
  opacity: 1;
  margin-left: calc(-1em - 6px);
}

footer{
  font-size: .7em;
  padding-right: 1em;
  padding-top: 1em;
}
footer img{
  max-height: 1.5em;
  margin-right: .5em;
  vertical-align: baseline;
  margin-bottom: -.4em;
}
#modalReportarError p.notaError {
	font-size: .8em;
	margin-top: 1em;
	line-height: 1.2em;
}

#modalReportarError p.notaError a {
	cursor: pointer;
	color: #2B88D9;
}
#modalReportarError .infoAdicional{
  overflow: hidden;
  max-height: 0em;
  transition: .15s ease-in-out;
  padding: 0em;
  font-size: .8em;
  padding-left: 1em;
  padding-right: 1em;
}
#modalReportarError .infoAdicional.show{
  overflow: auto;
  max-height: 10em;
  padding: 1em;
  white-space: pre-line;
}
#textAreaToCopy{
  position: absolute;
  bottom: 1px;
  right: 1px;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
canvas#screenshot {
	width: 100vw;
	height: 100vh;
	position: absolute;
	top: 0px;
	left: 0px;
	transform: translateX(100vw);
}
div#capture canvas {
	max-width: 100%;
	width: unset !important;
	height: unset !important;
	border: solid 1px #f5da55;
}
tr.inactivo{
  color: #b7b7b7;
}
td.monto{
  text-align: right;
}
/***** Ajustes mobile ***/
@media only screen and (max-width: 576px) {
  span#toogleMenu {
	  top: unset;
	  bottom: .5rem;
	  background: #2B88D9;
	  color: white;
  }
}