﻿/* = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =
= = = = = = = = = = = == = = = = == = = = = = FORMATEANDO TODO EL DOCUMENTO = = = = = = = = = = = == = = = = == = = = = = = */
html, body {
	background-color: White;
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	margin: 0; padding: 0;
	border: none 1px fuchsia;
	font-family: Arial !important;
	font-size: 8pt;
	overflow: hidden;
}

body div {
    border: solid 1px #E6E6E6;
}

table, tr, td{
    border: solid 1px #E6E6E6; 
    border-collapse:collapse;
}


/* = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =
   = = = = = = = = = = = == = = = = == = = = = Formateando los paneles principales = = = = = = = = = = = == = = = = == = = = */
#leftPanel, #rightPanel {
    position:absolute;
    top: 44px; bottom: 1px;
    border: solid 1px #E6E6E6;
}
            
#leftPanel{
    left: 0px; width: 300px;
}
            
#rightPanel{
    left: 303px; right:1px;
}

/* = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =
   == = = = = == = = Sobre la derecha, formateando los paneles del mapa y el panel de status del equipo = = = = = = = = = = = */
#mapPanel, #statusPanel {
    position:absolute;
    left: 1px; right: 1px;
    /*border: solid 1px #E6E6E6;*/
}
            
#mapPanel {
    top: 1px;
    bottom: 354px;
    overflow:hidden;
     /*border: solid 1px blue;*/
     padding:0;
     margin:0;
}
            
.mapContainer {
    position: absolute;top: 1px; left: 1px; right:1px; bottom:1px;
    border: none 1px red;
    background-image: url(../img/ajaxLoader/default.png)
}
            
#statusPanel {
    bottom: 1px;
    height: 350px;
}

/* = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =
  Los mapas tienen un contenedor, el que "contiene" el mapa de google y navteq (no el mapa en si, sino más bien el contenedor directo del mapa)
  Loader, se aplica al contenedor directo del mapa y es para este caso el logo xtrak y el mensaje de "cargando mapa"
   = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =*/

.loader {
    position: absolute;
    top: 50%; left: 50%;
    width: 250px; margin-left: -125px; /*ajustando el punto medio sobre el ancho*/
    height: 200px; margin-top: -100px; /*ajustando el punto medio sobre el alto*/
    border: none 1px lime;
    text-align: center;
    font-family:Monotype Corsiva;
    font-size: 13pt;
    font-weight:bold;
}

/* = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =
	sobre la panel de la izquierda, se configuran los contenedores de los tabs
   = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =*/
#tabs, #statusTabs {
    position: absolute;
    top: 1px; left: 1px; right: 1px; bottom: 1px;
    /*border: solid 0px lime;*/
}

/* = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =
	Dentro del contenedor de los tabs, se colocan los contenedores de cada tab
   = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =*/
#devicesPanel, #alertsPanel, #searchPanel {
    position: absolute;
    top: 40px; left:0px; right:0px; bottom: 0px;
    /*border: solid 1px #E6E6E6;*/
    padding: 0; margin:0;
}

/* = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =
	Estilo para los toogleHandler
   = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =*/
.tooglehoveredIn {
    background-color: #EEEEEE;
    cursor:pointer;
}

.tooglehoveredOut{
    background-color: #DDDDDD;
    cursor:default;
}

/* = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =
	Estilo para los headers/categorias
   = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =*/
.realzeTitle {
	text-align:center;
	font-weight: bold;
	text-transform:uppercase;
}

hr{
	color: #FCFCFC;
}

select {
	width: 215px; height: 20px;
	font-size: 8pt;
	text-transform:capitalize;
}

.optionDisabled {
	text-decoration: line-through;
	background-color: #EBEBEB;
}

.letraNormal {
    font-size: 8pt;
}

a.selectableElement,
a.selectableLandMark {
	color: #0000CD;
}

a.selectableElement:hover,
a.selectableLandMark:hover {
	text-decoration: none;
    cursor:pointer;	
}

a.selectableElementReference {
    color: #0000CD;
}

a.selectableElementReference:hover {
    text-decoration: none;
    cursor:pointer;	
}
/* = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =
	Definición de estilos para el panel de vehículos y alertas
   = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =*/
#devicesFilterPanel, #devicesListPanel {
    position: absolute;
    left: 1px; right: 1px;
    overflow:auto;
}
            
#devicesFilterPanel {
    top: 1px;
}
             
#devicesFilterPanel div {
    border: none;
}
             
#devicesListPanel  {
    bottom: 1px;
    overflow: hidden !important;
}
            
#devicesListPanel div {
    position: absolute;
    left:0px; right: 0px;
    /*border: 1px solid orange;*/
}
            
#devicesListPanel div#devicesListHeaders{
    top: 1px;
    height: 38px;
}
            
#devicesListPanel div#devicesListResult{
    top: 42px; bottom: 64px;
    overflow: auto;
}
            
#devicesListPanel div#devicesListStatusMessage{
    bottom: 1px;
    height: 60px;
    /*border: solid 1px red;*/
}
            
#devicesListResult table{
    text-align:center;            	
}
             
.imparRow {
    background-color: #F2F2F2;
}
                 
.parRow{
    background-color: white;
}
         	
#devicesListStatusMessage img {
    width: 17px; height: 17px;
}
            
/*Para el panel de alertas*/
div#alertsPanel #alertsSumary, div#alertsPanel #alertsContainer {
    position:absolute;
    left:1px; right:1px;
}
            
div#alertsPanel #alertsSumary{
    bottom: 1px;
    height: 35px;
}
            
div#alertsPanel #alertsContainer{
    top: 1px;
    bottom: 39px;
    overflow:auto;
}
            
/*Este es el objeto generico que representa al equipo con la colección de alertas*/
div#alertsPanel #alertsContainer .alertRootObject{
    border: 0px dashed orange;
    margin-top:4px;            	
}


/***/
div #searchPanel > .searchContainer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 1px 1px 1px 1px;
    border: 1px solid #EEEEEE;
}

div #searchPanel #search-header {
    height: 145px;
}

div #searchPanel #search-result {
    top: 116px;
    bottom: 0;
}

    div #searchPanel #search-result .search-result-container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        margin: 1px 1px 1px 1px;
        border: 1px solid #EEEEEE;
    }

    div #searchPanel #search-result #search-result-tableHeader {
        height: 25px;
    }

    div #searchPanel #search-result #search-result-tableBody {
        top: 28px;
        bottom: 0;
        overflow: auto;
    }
            
/*El encabezado del objeto generico de alerta*/
#alertsContainer .alertRootObject .headerAlertCollection{
    text-align: left;
}
            
/*la colección de alertas en el objeto generico de alerta*/
#alertsContainer .alertRootObject .contentAlertCollection{
    margin-top: 1px;
    border: 0px solid purple;
}
            
/*Dentro de la colección de alertas hay varios objetos de tipo Alerta, estas representan cada una de las alertas que el device ha reportado*/
#alertsContainer .alertRootObject .contentAlertCollection .alertEventObject{
    margin-top: 2px;
    border: 0px solid red;
}
            
/*Quitando los bordes y los colores de fondo de las capas div dentro de la colección de alertas*/
#alertsContainer .alertRootObject .contentAlertCollection .alertEventObject div{
    border: none;
    background-color: transparent;
}
           
#alertsContainer .alertRootObject .contentAlertCollection .alertEventObject .eventHeader{
    text-transform: capitalize;
    font-size: 8pt;
    text-align: center;
    font-weight:bold;
}
            
#alertsContainer .alertRootObject .contentAlertCollection .alertEventObject .eventType_15{
    background-color:Orange !important;
}
            
#alertsContainer .alertRootObject .contentAlertCollection .alertEventObject .eventType_16{
    background-color:Yellow !important;
}
            
#alertsContainer .alertRootObject .contentAlertCollection .alertEventObject .eventType_17{
    background-color:Red !important;
}

#alertsContainer .alertRootObject .contentAlertCollection .alertEventObject .eventType_600{
    background-color:#8B6969 !important;
    color: white;
}

#alertsContainer .alertRootObject .contentAlertCollection .alertEventObject .eventType_601{
    background-color:#8B4513 !important;
    color: white;
}
/* = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =
	Definición de estilos Para los comandos.
   = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = = = == = = = = = = = = = = = = = = = = == = = =*/
option.newCategory {
    background-color:#DDDDDD !important;
    text-transform:uppercase;
}

div.cmdInterface {
    border: 0px solid yellow !important;
}

 
div.cmdInterface div.cmdInterfaceBody, div.cmdInterface div.cmdInterfaceFooter {
    border: 0px dashed fuchsia !important;
}

div.cmdInterface div.cmdInterfaceFooter {
    text-align:center;
    margin: 1px;
    padding-top: 5px;
}

div.cmdInterface div.cmdInterfaceFooter input {
    width: 80px;
}

input.textCapture {
    text-align: center;
    width: 208px;
}

.ReadOnly_Data {
	 text-align: center !important;
	 color: blue !important;
}

/*Estilos para el panel de status (el panel inferior derecho)*/
div#statusPanel div#appServicesAndMapOptions, div#statusPanel div#appTaskTab{
    position:absolute;
    left: 1px; right:1px;
}
            
div#statusPanel #appServicesAndMapOptions {
    top: 1px;
}
            
span.accessService
{
    margin: 0 0 0 3px;
    border: 1px solid Silver;
    font-weight: bold;
    cursor: pointer;
}
            
div#statusPanel #appTaskTab {
    bottom: 1px;
}
            
#appServicesAndMapOptions div{
    margin: 1px;
}
            
#statusTabs{
    top: 20px;
    /*border: 1px solid fuchsia;*/
}
            
#statusTabs div#deviceStatusPanel, 
#statusTabs div#reports, 
#statusTabs div#landMarksPanel, 
#statusTabs div#geoFencesPanel,
#statusTabs div#operationOptions {
    position: absolute;
    top: 38px; left: 1px; right: 1px; bottom: 1px;
    /*border: 1px solid blue;*/
    overflow: auto;
}
            
#statusTabs div#deviceStatusPanel table{
    position: absolute;
    top: 1px; left: 1px;
    width: 1280px;
}

/*Estilos para el panel de los reportes.*/
#reports #reportOptions, #reports #reportBody{
    position: absolute;
    left:1px; right: 1px;
}

#reports #reportOptions{
    top: 1px;
    height: 15px;	
}
            
#reports #reportBody{
    top: 23px;
    bottom: 1px;
}
            
#reportTabs{
    position: absolute;
    top: 1px; left: 1px; right: 1px; bottom: 1px;
    /*border: 1px dashed #7B68EE;*/
}
            
div.reportHeaders, div.reportContent {
    position: absolute;
    left: 1px; right: 1px;
    /*border: 1px solid blue;*/
}
            
div.reportContent {
    top: 35px;
    bottom: 1px;
    overflow: auto;
}
            
select.eventContainer{
    width: 270px;
	height: 150px;
			    
}
            
div#reports span.reportStatusMessage{
    position: absolute;
    top: 1px; bottom: 1px; right: 1px;
    background-color: #DDDDDD;
    font-size: 8pt;
}

/*El estilo que define a la etiqueta de los marcadores en el mapa de google (Vehículos)*/
.markerLabel {
        background-color: #8cd503;
        border: 1px solid black !important;
        color: Black;
        text-align: center;
        font-weight:bold;
        white-space: nowrap;
        /*width: 100px;*/
}

/*El estilo que define a la etiqueta de los marcadores en el mapa de google (Rutas)*/
.routeLabel {
        background-color: #8cd503;
        border: 1px solid black !important;
        color: Black;
        font-weight:bold;
        text-align: center;
        white-space: nowrap;
}
            
/*Estilo para las leyendas en los marcadores*/
.landMarkLabel {
        background-color: #FFA54F;
        border: 1px solid black !important;
        color: Black;
        text-align: center;
        white-space: nowrap;
        width: 100px;
}

/*Estilo para las leyendas en las geocercas*/
.geoFenceLabel {
        background-color: #04B404;
        border: 1px solid black !important;
        color: Black;
        text-align: center;
        white-space:nowrap;
        width: 150px;
}
        
/*Estilos para los marcadores (Sitios de interés)*/
#landMarksPanel .landMarkContainer {
    position: absolute;
    top: 1px; bottom: 1px;
    width: 300px;
}
            
#landMarksPanel #landMarkFilter {
    left: 1px;
    width: 250px;
}
            
#landMarksPanel #landMarkCatalog {
    left: 253px;
}
            
#landMarksPanel #landMarkFavoritesCatalog {
    left: 556px;
}
            
#landMarksPanel .landMarkContainer .header, #landMarksPanel .landMarkContainer .body, #landMarksPanel .landMarkContainer .footer {
    position: absolute;
    left: 1px; right: 1px;
    /*border: 0px solid fuchsia;*/
}
            
#landMarksPanel .landMarkContainer .header {
    height: 40px;
}
            
#landMarksPanel .landMarkContainer .body {
    top: 43px;
    bottom: 24px;
    overflow:auto;
}
            
#landMarksPanel .landMarkContainer .footer {
    bottom: 1px;
    height: 20px;
    text-align: center;
}

/*Deficiones de estilos para las geocercas*/
#geoFencesPanel .geoFencesContainer {
    position: absolute;
    top: 1px; bottom: 1px;
    width: 300px;
}
            
#geoFencesPanel #geofencesFilter {
    left: 1px;
    width: 250px;
}
            
#geoFencesPanel #geofencesCatalog {
    left: 253px;
}
            
#geoFencesPanel #geofencesFavoritesCatalog {
    left: 556px;
}
            
#geoFencesPanel .geoFencesContainer .header, #geoFencesPanel .geoFencesContainer .body, #geoFencesPanel .geoFencesContainer .footer {
    position: absolute;
    left: 1px; right: 1px;
    /*border: 0px solid fuchsia;*/
}
            
#geoFencesPanel .geoFencesContainer .header {
    height: 40px;
}
            
#geoFencesPanel .geoFencesContainer .body {
    top: 43px;
    bottom: 24px;
    overflow:auto;
}
            
#geoFencesPanel .geoFencesContainer .footer {
    bottom: 1px;
    height: 20px;
    text-align: center;
}

/*Deficiones de estilos para el panel de opciones de operación*/
#operationOptions {
    position: absolute;
    top: 1px; bottom: 1px;
    right: 1px;
}
  
/*
#operationOptions #optionsDetails {
    left: 1px;
    width: 300px;
}
*/

.celdas-Contenido-Centrado-Letra-Normal {
    text-align: center;    
}

.celdas-Contenido-Centrado-Letra-Negrita {
    text-align: center;
    font-weight:bold;    
}

.celdas-Contenido-Izquierda-Letra-Negrita-Fondo-Gris {
    text-align:left;
    font-weight:bold;
    background-color: #EEE;
}

.celdas-Contenido-Centrado-Letra-Negrita-Fondo-Gris {
    text-align: center;
    font-weight:bold;
    background-color: #EEE;
}

.celdas-Contenido-Izquierda-Letra-Normal-Fondo-Gris {
    text-align:left;
    background-color: #EEE;
}

.celdas-Contenido-Centrado-Letra-Normal-Fondo-Gris {
    text-align: center;
    background-color: #EEE;
}

div#panelInfo {
    position: absolute;
    top: 0; left: 0; right: 0; height: 40px;
    margin: 1px; padding: 0;
    border: solid 1px #E6E6E6;
}

div#panelInfo span{
    position: absolute;
    top: 0; bottom: 1px;
    border: 1px none red;
}

div#panelInfo span#logoTipo {
    text-align: center;
    left:1px; width: 120px;
}

            
div#panelInfo span#Alerts {
    left: 124px; right: 800px;
    padding-top: 10px;
}
            
div#panelInfo span#Alerts img {
    cursor: pointer;
}
            
div#panelInfo span#loginInfo {
    width:791px; right: 1px;
    text-align:right;
    padding: 5px 5px 0 0;
    font-size: 9pt;
}

a {
    color: blue;
}

a:hover {
    color: #DC2800;
}

/* Modal de confirmación para comandos */
.cmd-confirmation-modal .ui-dialog-titlebar {
    background-image: linear-gradient(rgba(255, 0, 0, 0.6), rgba(255, 0, 0, 0.6)), linear-gradient(#f6f6f6, #d7d7d7);
    background-blend-mode: multiply;
    color: white;
}

.cmd-confirmation-modal .ui-dialog-titlebar-close .ui-icon {
    filter: invert(1);
}