@font-face {
    font-family: "BarlowSemiCondensed";
    src: url("fuentes/BarlowSemiCondensed-Regular.ttf");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: "BarlowSemiCondensed";
    src: url("fuentes/BarlowSemiCondensed-Medium.ttf");
    font-weight: bold;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: "BarlowSemiCondensed";
    src: url("fuentes/BarlowSemiCondensed-Italic.ttf");
    font-weight: normal;
    font-style: italic;
    font-display: block;
}
@font-face {
    font-family: "BarlowSemiCondensed";
    src: url("fuentes/BarlowSemiCondensed-MediumItalic.ttf");
    font-weight: bold;
    font-style: italic;
    font-display: block;
}
html, body {
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
}
body {
    font-size: .95rem !important;
    font-weight: 500;
    overflow: hidden;
}
body, .popover-header, .popover-body {
    font-family: "BarlowSemiCondensed" !important;
}
fieldset {
    width: 100%;
    margin: 0 auto;
}
textarea {
    width: 100%;
    resize: none;
}
:focus {
    outline: 0;
}
:disabled {
    cursor: not-allowed;
}
th[rel] {
    cursor: pointer;
}
[draggable] {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -khtml-user-drag: element;
    -webkit-user-drag: element;
}
/*
 * Ajustes de bootstrap
 */
#paginaInicio .alert-dismissible {
    padding: 3em 1.25rem .75rem !important;
}
#paginaInicio .alert-dismissible .close {
    left: 0;
}
i {
    margin: 0 .15rem;
}
.bg-blue {
    background-color: var(--blue) !important;
}
.bg-indigo {
    background-color: var(--indigo) !important;
}
.bg-purple {
    background-color: var(--purple) !important;
}
.bg-pink {
    background-color: var(--pink) !important;
}
.bg-red {
    background-color: var(--red) !important;
}
.bg-orange {
    background-color: var(--orange) !important;
}
.bg-yellow {
    background-color: var(--yellow) !important;
}
.bg-green {
    background-color: var(--green) !important;
}
.bg-teal {
    background-color: var(--teal) !important;
}
.bg-cyan {
    background-color: var(--cyan) !important;
}
.bg-gray {
    background-color: var(--gray) !important;
}
.bg-gray-dark {
    background-color: var(--gray-dark) !important;
}
.text-blue {
    color: var(--blue) !important;
}
.text-indigo {
    color: var(--indigo) !important;
}
.text-purple {
    color: var(--purple) !important;
}
.text-pink {
    color: var(--pink) !important;
}
.text-red {
    color: var(--red) !important;
}
.text-orange {
    color: var(--orange) !important;
}
.text-yellow {
    color: var(--yellow) !important;
}
.text-green {
    color: var(--green) !important;
}
.text-teal {
    color: var(--teal) !important;
}
.text-cyan {
    color: var(--cyan) !important;
}
.text-gray {
    color: var(--gray) !important;
}
.text-gray-dark {
    color: var(--gray-dark) !important;
}
.popover {
    max-width: 800px !important;
}
.w-5 {
    width: 5% !important;
}
.w-10 {
    width: 10% !important;
}
.w-15 {
    width: 15% !important;
}
.w-20 {
    width: 20% !important;
}
.w-30 {
    width: 30% !important;
}
.w-33 {
    width: 33.33% !important;
}
.w-40 {
    width: 40% !important;
}
.w-60 {
    width: 60% !important;
}
.w-66 {
    width: 66.66% !important;
}
.w-70 {
    width: 70% !important;
}
.w-80 {
    width: 80% !important;
}
.w-85 {
    width: 85% !important;
}
.w-90 {
    width: 90% !important;
}
.w-95 {
    width: 95% !important;
}
.x-small {
    font-size: 65%;
}
.btn:focus {
  outline: none;
}
.ui-front {
    z-index: 9999;
}
.badge {
    padding: .35em .4em .25em;
}
.custom-control-inline {
    margin-right: 0 !important;
}
.custom-file-label {
    font-weight: 400;
}
.custom-file-input:lang(es)~.custom-file-label::after {
    content:"Seleccionar";
    font-weight: 400;
}
.custom-select {
    font-size: 0.9rem;
}
.custom-select option {
    padding: .25em .125em;
}
.svg-inline--fa, .fas {
    margin-right: .25em;
}
.col > label {
    line-height: 1em;
    height: 2.25em;
}
.calendario-fijo .daterangepicker::before, .calendario-fijo .daterangepicker::after {
    display: none;
}
.calendario-fijo .daterangepicker {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    float: left;
    width: 100%;
    margin: 0;
}
.calendario-fijo .daterangepicker .drp-calendar {
    width: 100%;
}
.daterangepicker_input svg {
  position: absolute;
  top: 8px;
  left: 8px;
}
.ui-autocomplete {
    overflow: auto;
    max-height: 280px;
}
.lista-intercalada > li:nth-child(even), .ui-autocomplete > li:nth-child(even) {
    background-color: var(--light);
}
.table thead th[rel] {
    position: relative;
}
.table thead th[rel]:before {
    font-family: "FontAwesome Solid";
    position: absolute;
    content: "";
    float: right;
    right: 0;
    opacity: .25;
    top: 30%;
}
.table thead th[rel]:hover:before {
    content: "\f0dc";
}
.table thead th[rel].orden-columna-asc:before {
    content: "\f0de";
    opacity: .75;
}
.table thead th[rel].orden-columna-desc:before {
    content: "\f0dd";
    opacity: .75;
}
.campo-numero .boton-incremento, .campo-numero .boton-decremento {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0 .5rem;
    cursor: pointer;
}
.campo-numero .boton-incremento {
    -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-1.25 0 6 2'><path d='M2 0L0 2h4zm0'/></svg>") no-repeat 50% 50%;
    mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-1.25 0 6 2'><path d='M2 0L0 2h4zm0'/></svg>") no-repeat 50% 50%;
}
.campo-numero .boton-decremento {
    -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-1.25 2.25 6 4'><path d='M2 5L0 3h4z'/></svg>") no-repeat 50% 50%;
    mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-1.25 2 6 4'><path d='M2 5L0 3h4z'/></svg>") no-repeat 50% 50%;
}
/*
 * Estructura
 */
#contenedorPrincipal {
    display: grid;
    grid-template-columns: 240px auto;
    grid-template-rows: auto;
    grid-template-areas: "lateral central";
    justify-items: stretch;
    align-items: stretch;
    justify-content: stretch;
    width: 100vw;
    height: 100vh;
}
#bloqueLateral {
    display: grid;
    grid-area: lateral;
    grid-template-columns: auto;
    grid-template-rows: 3.125em auto;
    grid-template-areas: "boton" "menu";
    justify-items: stretch;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
#botonMenuComponentes {
    grid-area: boton;
}
#bloqueMenu {
    position: relative;
    grid-area: menu;
    overflow-x: hidden;
    overflow-y: auto;
}
#bloqueCentral {
    display: grid;
    grid-area: central;
    grid-template-columns: auto;
    grid-template-rows: 3.125em auto 2.25em;
    grid-template-areas: "superior" "componente" "inferior";
    justify-items: stretch;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
#bloqueSuperior {
    background: transparent url("imagenes/logo.png") scroll no-repeat 50% 50%;
    background-size: auto 85%;
    grid-area: superior;
}
#bloqueComponente {
    position: relative;
    grid-area: componente;
    overflow: auto;
}
#contenedorComponente {
    display: grid;
    width: 100%;
    min-height: 89.9vh;
}
#bloqueInferior {
    grid-area: inferior;
    font-size: 0.75rem;
    overflow: hidden;
}
#paginaInicio #contenedorPrincipal {
    grid-template-columns: 0 auto;
}
#paginaInicio #bloqueCentral {
    grid-template-rows: 7em auto 4em;
}
#contenedorPrincipal.menu-expandido {
    grid-template-columns: 240px auto;
}
#contenedorPrincipal.menu-contraido {
    grid-template-columns: 52px auto;
}
#contenedorPrincipal.menu-expandido.componente-contraido {
    grid-template-columns: 240px auto;
}
#contenedorPrincipal.menu-contraido.componente-contraido {
    grid-template-columns: 52px auto;
}
#contenedorPrincipal.componente-expandido {
    grid-template-columns: 0 auto;
}
#contenedorPrincipal.componente-expandido #bloqueCentral {
    grid-template-rows: 0 100% 0;
}
#mensajeEspera {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    opacity: .85;
    filter: alpha(opacity=85);
}
#bloqueInicioSesion {
    width: 20%;
    min-width: 252px;
    max-width: 352px;
    margin: auto;
}
#botonMenuComponentes {
    cursor: pointer;
}
#menuComponentes a {
    text-decoration: none;
}
/*
 * Estilo
 */
.oculto {
    display: none;
}
.invisible {
    visibility: hidden;
}
.centrado, .centrada {
    text-align: center;
}
.justificado {
    text-align: justify;
}
.derecha {
    text-align: right;
}
.izquierda {
    text-align: left;
}
.negrilla {
    font-weight: 600 !important;
}
.cursiva {
    font-style: italic;
}
.subrayado {
    text-decoration: underline;
}
.tachado {
    text-decoration: line-through;
}
.numero-entero {
    text-align: right;
}
.etiquetaFormulario {
    font-weight: 700;
}
.campo-hora {
    text-transform: uppercase;
}
.menu-seleccion-multiple {
    max-height: 360px;
    overflow: hidden;
    overflow-y: auto;
}
.indicador-espera-campo {
    background: transparent url("imagenes/loading.svg") scroll no-repeat 100% 50%;
    background-size: contain;
}
.lista-simple, .lista-simple ul {
    list-style-type: none !important;
}
.mapa-calor {
    background: #00e600;
    background: -moz-linear-gradient(left,  #00e600 0%, #ffeb00 47%, #ff0000 100%);
    background: -webkit-linear-gradient(left,  #00e600 0%,#ffeb00 47%,#ff0000 100%);
    background: linear-gradient(to right,  #00e600 0%,#ffeb00 47%,#ff0000 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00e600', endColorstr='#ff0000',GradientType=1 );
}
#historial-chat {
    overflow: hidden;
    overflow-y: auto;
    max-height: 265px;
}
.chat-enviado, .chat-recibido {
	position: relative;
	background: var(--light);
	border-radius: .4em;
}
.chat-enviado {
    margin: .125em 0 .125em 25%;
}
.chat-recibido {
    margin: .125em 25% .125em 0;
}
.chat-enviado:after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	width: 0;
	height: 0;
	border: 0.5em solid transparent;
	border-right: 0;
	margin-top: -0.5em;
	margin-right: -0.5em;
}
.chat-recibido:after {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 0;
	height: 0;
	border: 0.5em solid transparent;
	border-left: 0;
	margin-top: -0.5em;
	margin-left: -0.5em;
}
@media (min-width: 320px) {
    #bloquePrincipal.menu-contraido {
        grid-template-columns: 48px auto;
    }
    #bloquePrincipal.menu-expandido {
        grid-template-columns: 240px auto;
    }
}
@media (min-width: 576px) {
}
@media (min-width: 768px) {
}
@media (min-width: 992px) {
}
@media (min-width: 1200px) {
    #bloquePrincipal.menu-contraido {
        grid-template-columns: 66px auto;
    }
    #bloquePrincipal.menu-expandido {
        grid-template-columns: 240px auto;
    }
}
@media (min-width: 1366px) {
    #bloquePrincipal.menu-contraido {
        grid-template-columns: 52px auto;
    }
    #bloquePrincipal.menu-expandido {
        grid-template-columns: 240px auto;
    }
}