:root {
  --blanco: #fafafa;
  --grisClaro: #eee;
  --grisMedio: #d0d0d0;
  --grisOscuro: #aaa;
  --azul: #0cc;
  --azulMarcado: #6cc;
  --azulTexto: #0c6782;
  --rojoSuave: #ff8888;
}

body {
  color: var(--azulTexto);
  font-family: Verdana, Geneva, sans-serif, Trebuchet, "Trebuchet MS";
  background-color: var(--blanco);
  margin: 0 auto;
  font-size: 12px;
}
.cursiva {
  font-style: italic;
}
.negrita {
  font-weight: bold;
}
.marcada {
  font-weight: bold;
  background-color: #57d2f8;
  color: #000;
}
.mayusculas {
  text-transform: uppercase;
}
.tablePadding td {
  padding: 2px;
}
#cabecera {
  color: var(--grisClaro);
  position: fixed;
  background-color: var(--azulTexto);
  text-align: right;
  height: 60px;
  width: 100%;
}
#cabecera a:link,
#cabecera a:visited {
  text-decoration: underline;
  color: var(--azul);
}
#cabecera a:hover,
#cabecera a:active {
  text-decoration: underline;
  color: var(--azulMarcado);
}

#cabeceraHueco {
  height: 40px;
  padding: 10px;
}

#datosFijos button:disabled {
  background-color: #aaa;
}

#datosFijos button:disabled img {
  opacity: 0.4;
}

#contenido {
  width: 100%;
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/*Makes the active Fancytree node bold*/

ul.fancytree-container {
  background-color: transparent;
  border: none;
  outline: none;
}
.fancytree-active {
  font-weight: bold;
}

/*Miscellaneous styles*/

.ventana {
  display: inline-block;
  border-style: solid;
  border-width: 1px;
  padding: 5px;
  background-color: var(--blanco);
}

.tituloVentana {
  padding: 5px 5px 0px 5px;
  margin: 0 auto;
  font-weight: bold;
  text-align: center;
}

.fondoBlanco {
  background-color: var(--blanco);
}

input[type="radio"]:focus+label, input[type="checkbox"]:focus+label {
  border: 2px solid rgb(37, 218, 218);
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

/*Table styles*/

table, th, td {
  border-collapse: collapse;
}

.th {
  padding: 3px;
  background-color: var(--grisMedio);
}

.td {
  padding: 2px;
  height:1em;
}

.fila, .row {
  background-color: var(--blanco);
}

.filaSize {
  max-height: 3.5em;
  overflow: -moz-scrollbars-none;
  overflow-y: auto;
}

.filaNoScroll {
  display: inline-block;
  overflow: hidden;
}

table tr:nth-child(odd) {
  background-color: var(--grisClaro);
}
table tr:nth-child(even) {
  background-color: var(--blanco);
}
table .td + .td,
table .tdidentif + .tdidentif {
  border-left: 1px solid var(--grisMedio);
}

.thidentif {
  padding: 5px;
  background-color: var(--grisMedio);
}

.tdidentif {
  padding: 5px;
  background-color: var(--blanco);
}

.seleccionado {
  background-color: var(--grisOscuro) !important;
}

.inconsistencia {
  background-color: var(--rojoSuave);
}

.caracteristicaTramite, .inicioBucle, .bucle, .finBucle {
  background-color: var(--grisMedio);
}

.drop-hover {
  background-color: var(--grisMedio);
}

/*
.selection {
  position: absolute;
  border: 1px solid #89B;
  background: #BCE;
  background-color: #BEC;
  border-color: #8B9;
  }
.dropped {
  background-color: #EBC;
  border-color: #B89;
  }
.active {
  background-color: #CEB;
  border-color: #9B8;
  }
*/

/* For dialogs (for example, changing an element's margin in the graphical designer) */

.no-close .ui-dialog-titlebar-close, .ui-dialog-titlebar {
  display: none;
}

/* Styles for highlighting textboxes */
input, textarea {
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  transition: all 0.30s ease-in-out;
  outline: none;
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid #DDDDDD;
  border-radius: 4px;
}

input:focus, textarea:focus {
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid rgba(81, 203, 238, 1);
}


/* Tab styles */
#tabs {
  background: transparent;
  border: none;
}
#tabs .ui-widget-header {
  background: transparent;
  border: none;
  border-bottom: 1px solid #c0c0c0;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
}
#tabs .ui-tabs-nav .ui-state-default {
  background: transparent;
  border: none;
}
#tabs .ui-tabs-nav .ui-state-active {
  background: transparent;
  border: none;
}
#tabs .ui-tabs-nav .ui-state-default a {
  color: #808080;
}
#tabs .ui-tabs-nav .ui-state-active a {
  color: #0c6782;
}

/* Tab styles in Seguridad -> Organizaciones y Usuarios */
.lista {
    border-bottom-color: rgb(192, 192, 192);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    font-family: Lucida Grande,Lucida Sans,Arial,sans-serif;
    list-style-type: none;
    padding-bottom: 0px;
    padding-left: 2.63333px;
    padding-right: 2.63333px;
    padding-top: 2.63333px;
    overflow: hidden;
  }
  .lista > li {
    float: left;
    list-style-type: none;
    padding-bottom: 6.6px;
    padding-left: 13.2px;
    padding-right: 13.2px;
    padding-top: 6.6px;
    white-space: nowrap;
  }
  .lista a {
    text-decoration: none;
    font-family: Lucida Grande,Lucida Sans,Arial,sans-serif;
    font-size: 1.1em;
    font-weight: bold;
  }
  .lista .on {
    color: rgb(12, 103, 130);
  }
  .lista .off {
    color: rgb(192, 192, 192);
  }


/* Hide native password reveal and clear controls */
::-ms-reveal,
::-ms-clear {
  display: none !important;
}

#ventanaAlerta {
    position: absolute;
    top: 40%;
    left: 20%;
    padding: 10px;
    background-color: #d8d8d8;
    color: #000;
    font-size: 2em;
    border: 5px solid #a00;
    border-radius: 15px;
    z-index: 1000;
}

a.config-link {
  display: inline-block;
  line-height: 0;
}
