:root {
    --SCALE: 1;
    --BGCOLOR1: #F5F7FA;
    --BGCOLOR2: #6B7280;
    --BGCOLOR3: #f5c84a;
    --BGCOLOR4: #00a0e2;
    --BGCOLOR5: #aac3e4;
    --ACCENT: #00a0e2;
    --FS1: calc( 10px * var(--SCALE));
    --FS2: calc( 12px * var(--SCALE));
    --FS3: calc( 16px * var(--SCALE));
    --FSN1: calc( 9px * var(--SCALE));
    --FSN2: calc( 11px * var(--SCALE));
    --FSN3: calc( 13px * var(--SCALE));
    --FSN4: calc( 14px * var(--SCALE));
    --TXTCOLOR1: #00a0e2;
    --TXTCOLOR2: #2F343A;
    --TXTCOLOR3: #2F343A;
    --TXTCOLOR4: #00BB77;
    --TXTCOLOR5: #00BB77;
}

@font-face {
  font-family: 'Ubuntu';
  src: local('Ubuntu Light'), local('Ubuntu-Light'),
       url('fonts/Ubuntu/Ubuntu-Light.woff2') format('woff2'),
       url('fonts/Ubuntu/Ubuntu-Light.woff') format('woff');
  font-style: normal;
  font-weight: 300;
}
@font-face {
  font-family: 'Ubuntu';
  src: local('Ubuntu Regular'), local('Ubuntu-Regular'),
       url('fonts/Ubuntu/Ubuntu-Regular.woff2') format('woff2'),
       url('fonts/Ubuntu/Ubuntu-Regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: 'Ubuntu';
  src: local('Ubuntu Medium'), local('Ubuntu-Medium'),
       url('fonts/Ubuntu/Ubuntu-Medium.woff2') format('woff2'),
       url('fonts/Ubuntu/Ubuntu-Medium.woff') format('woff');
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: 'Ubuntu';
  src: local('Ubuntu Bold'), local('Ubuntu-Bold'),
       url('fonts/Ubuntu/Ubuntu-Bold.woff2') format('woff2'),
       url('fonts/Ubuntu/Ubuntu-Bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  src: url('fonts/Material_Symbols_Outlined/MaterialSymbolsOutlined-VariableFont_FILL,GRAD,opsz,wght.ttf') format('truetype');
}



.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  color: var(--TXTCOLOR1);
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  vertical-align: middle;

  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* forzar que algunos sean rellenos (Filled) */
.material-symbols-filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}


.material-symbols-outlined_2 {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  color: var(--TXTCOLOR4);
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  vertical-align: middle;

  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-outlined_mapa {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;


  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-filled_mapa {
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}


html, body {
    -ms-overflow-style: -ms-autohiding-scrollbar;
    margin: calc( 0px * var(--SCALE));
    padding: calc( 0px * var(--SCALE));
    background: var(--BGCOLOR1);
    background-color: var(--BGCOLOR1);
    font-family: 'Ubuntu', sans-serif;
    font-size: var(--FS2);
    overflow: hidden;
    height: 100%;
    color: var(--TXTCOLOR2);
}

select {
    font-size: var(--FS2);
    height: calc(22px * var(--SCALE));
}

#planesTable {
    font-size: var(--FS1);
    font-weight: 300;
    white-space: nowrap;
    cursor: default;
  margin: 0;
  padding: 0;
  border-collapse: separate;
  border-spacing: 1px;
}

#layout_container {
    display: flex;
    height: 100%;
}

#selected_infoblock {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width:  calc(180px * var(--SCALE));
    height: 100%;
    overflow: auto;
    z-index: 1;
    background-color: var(--BGCOLOR1);
}
.aggregator-selected-bg:before {
    content: ' ';
    position:absolute;
    display:block;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background-size: calc( 148 * var(--SCALE)) calc( 148 * var(--SCALE));
    background-repeat: no-repeat;
    background-position: calc( 7px * var(--SCALE)) calc( 108px * var(--SCALE));
    background-image: url("images/aggregator-logo.png");
    z-index:2;
    opacity: 0.12;
}
#infoblock-container {
    position:relative;
    overflow: auto;
    height: 100%;
    z-index:3;
}
#sidebar_canvas {
    padding: calc( 5px * var(--SCALE));
    overflow: auto;
}

#sidebar_container {
    display: flex;
    flex-direction: column;
    left: calc( 0px * var(--SCALE)) !important;
    height: 100%;
}


#map_container {
    flex: 1 1 auto;
    position: relative;
    height: 100%;
}

#map_canvas {
    position: absolute;
    width: 100%;
    height: 100%;
}
#iconTestCanvas {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* 1. Base común para aplicar el icono de Google dentro de los botones del sidebar */
.sidebar_button::before {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    
    /* Calculamos el tamaño del icono basándonos en la escala (un poco menor que el botón) */
    font-size: calc(30px * var(--SCALE)) !important; 
    color: white !important;
    
    /* Centrado absoluto perfecto dentro del botón */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. Tu clase base modificada (Limpiada de las propiedades de imagen de fondo) */
.sidebar_button {
    position: relative; /* ¡OBLIGATORIO! Para contener el icono absoluto */
    width: calc(27px * var(--SCALE));
    height: calc(27px * var(--SCALE));
    border-radius: calc(2px * var(--SCALE));
    background-color: var(--ACCENT);
    cursor: pointer;
    border: none;
    outline: none;
    margin-bottom: 4px;
    /* Si el botón original tiene texto nativo dentro, esto lo encoge a 0px */
    font-size: 0 !important; 
    overflow: hidden;
}

/* 3. Asignación dinámica de los iconos de flecha según el estado del sidebar */

/* Mostrar barra lateral -> Flecha Derecha (\e5cc) + Espejo = Apunta a la Izquierda */
#toggle_sidebar_button.show_sidebar {
    transform: scaleX(-1);
}
#toggle_sidebar_button.show_sidebar::before {
    content: "\e5cc";
}

/* Ocultar barra lateral */
#toggle_sidebar_button.hide_sidebar::before {
    content: "\e5cc"; 
}

/* Contraer barra lateral (mapa e55b) */ 
#shrink_sidebar_button::before {
    content: "\e55b"; 
    z-index: 99999 !important; /* El botón pasa al frente */
}

/* Expandir barra lateral -> Flecha Izquierda (\e5cb) + Espejo = Apunta a la Derecha */
#expand_sidebar_button {
    transform: scaleX(-1);
}
#expand_sidebar_button::before {
    content: "\e5cc"; 
}



#credits {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    position: absolute;
    bottom: calc( 10px * var(--SCALE));
    left: calc(50% - 60px * var(--SCALE));
}
.credits-text {
    font-size: var(--FS2);
}
.credits-image {
    display: block;
    width: calc( 24px * var(--SCALE));
    height: calc( 24px * var(--SCALE));
    background-size: calc( 24px * var(--SCALE)) calc( 24px * var(--SCALE));
    background-repeat: no-repeat;
    background-position: 0;
    background-color: transparent;
    border: none;

    z-index: 99;
    opacity: 0.7;
    margin: 4px;
}
.withOverflowingBackground::before {
   z-index: -1;
   background-image: url("images/color_background.png");
}

/* 1. EL TIRADOR DE JQUERY UI (Limpieza absoluta de herencias) */
#splitter {
    cursor: ew-resize;
    display: block !important;
    position: absolute;
    z-index: 10 !important; /* El splitter se queda detrás */
    top:  calc(5px * var(--SCALE));
    left: calc(5px * var(--SCALE));
    float: right;
    width: calc(30px * var(--SCALE)) !important;
    height: calc(30px * var(--SCALE)) !important;
    background-color: transparent !important;
    background-image: none !important; /* Destruye el PNG viejo */
    border: none !important;
    outline: none !important;
    overflow: visible !important; /* Permitimos que salgan hijos visuales */
}

/* 2. CREACIÓN DE UNA CAJA NUEVA E INDEPENDIENTE PARA EL ICONO */
#splitter::after {
    /* Creamos una capa web flotante nueva */
    content: "\ef90" !important; /* Código Unicode swap_horiz */
    font-family: 'Material Symbols Outlined' !important;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24 !important;
    
    /* SOLUCIÓN AL FONT-SIZE 0.1px: Forzamos la escala real rompiendo al padre */
    font-size: calc(33px * var(--SCALE)) !important; 
    color: var(--ACCENT) !important;
    
    /* Forzamos el tipo de renderizado bloque para fuentes tipográficas */
    display: flex !important;
    align-items: center;
    justify-content: center;

    /* Lo posicionamos encima del splitter pero sin heredar su colapso de texto */
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    
    /* Reseteamos transformaciones raras */
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;

    /* Forzamos la rotación de 90 grados para que el recuadro y las flechas queden en horizontal */
    transform: rotate(90deg) !important; 
    
    visibility: visible !important;
    opacity: 1 !important;   
 }

/* 1. CREACIÓN DEL ICONO DE ARRASTRE VERTICAL CON JQUERY UI BYPASS */
#splitter-infoblock::after {
    content: "\e25d" !important; /* Código Unicode para 'drag_handle' (dos líneas de arrastre) */
    font-family: 'Material Symbols Outlined' !important;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24 !important;
    
    /* El tamaño del icono es más grande que el alto del splitter para que se vea bien */
    font-size: calc(20px * var(--SCALE)) !important; 
    color: var(--TXTCOLOR1) !important; /* Usa el color de texto principal para que contraste con el fondo ACCENT */
    
    /* Forzamos el renderizado y eliminamos el colapso de fuente de la librería */
    display: flex !important;
    align-items: center;
    justify-content: center;
    
    /* Lo centramos de forma absoluta flotando sobre la barra */
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important; /* Centrado matemático exacto horizontal y vertical */
    
    width: calc(30px * var(--SCALE)) !important;
    height: calc(20px * var(--SCALE)) !important;
    
    visibility: visible !important;
    opacity: 1 !important;
}

/* 2. CLASE ORIGINAL MODIFICADA (Limpiada de imágenes de fondo) */
#splitter-infoblock {
    cursor: ns-resize;
    display: inline-block;
    position: absolute;
    top: calc(0px * var(--SCALE));
    right: 0;
    margin-left: auto;
    
    /* Eliminamos el duplicado viejo de 'width: 24px' y dejamos el de 100% */
    width: 100%;
    height: calc(4px * var(--SCALE));
    
    /* Mantenemos color de fondo y borde original */
    background-color: var(--ACCENT);
    border: none;
    border-bottom: #234c75;
    border-bottom-width: calc(1px * var(--SCALE));
    border-bottom-style: solid;
    
    /* Limpieza de imágenes PNG antiguas */
    background-image: none !important;
    outline: none !important;
    overflow: visible !important; /* Permite que el icono 'drag_handle' sobresalga un poco hacia arriba y abajo */
    
    /* Forzamos que si hay texto nativo se reduzca a cero */
    font-size: 0 !important;
    color: transparent !important;
}


/* remove the blue highlighting around the map buttons and reset styles */
.ol-control button {
    outline: none;
    z-index: 999;
}


/* 1. CONTENEDOR PADRE */
.ol-zoom {
    background-color: transparent !important;
    left: calc(100% - calc( 65px * var(--SCALE)));
    top: calc(100% - calc( 85px * var(--SCALE)));
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* 2. ICONOS DE GOOGLE */
.ol-zoom-in::before,
.ol-zoom-out::before {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    font-size: calc(28px * var(--SCALE)) !important; 
    color: var(--ACCENT) !important; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.ol-zoom-in::before { content: "\e147"; }
.ol-zoom-out::before { content: "\e644"; }

/* 3. LOS BOTONES LIMPIOS (Eliminan el recuadro interno y encogen el texto nativo) */
.ol-zoom-in {
    position: relative;
    font-size: 0 !important;
    color: transparent !important;
    width: calc(30px * var(--SCALE)) !important;
    height: calc(30px * var(--SCALE)) !important;
    background-color: transparent !important;
    margin-bottom: calc(5px * var(--SCALE)) !important;
    
    /* Forzamos la eliminación del recuadro nativo del botón */
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
    overflow: hidden; 
}

.ol-zoom-out {
    position: relative;
    font-size: 0 !important;
    color: transparent !important;
    width: calc(30px * var(--SCALE)) !important;
    height: calc(30px * var(--SCALE)) !important;
    background-color: transparent !important;
    
    /* Forzamos la eliminación del recuadro nativo del botón */
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
    overflow: hidden; 
}

.ol-attribution {
    font-size: var(--FS1);
}

.warning {
    margin-top: 1em;
    border: calc( 2px * var(--SCALE)) solid yellow;
    background-color: #FFFFA3;
    padding: calc( 5px * var(--SCALE));
    color: black;
}

.error_box {
    position: absolute; bottom: calc( 90px * var(--SCALE)); left: calc( 25px * var(--SCALE)); border: calc( 2px * var(--SCALE)) solid red;
    background-color: #FFFFA3; opacity: 0.75; filter:alpha(opacity=75); padding: calc( 5px * var(--SCALE));
    color: black;
    font-weight: bold;
    font-size: var(--FS3);
    line-height: 150%;
    text-align: center;
}

.inaccurate_warning {
    position: absolute; top: calc( 25px * var(--SCALE)); left: calc( 280px * var(--SCALE));
    width: 50%;
    background-color: var(--BGCOLOR1);
    padding: calc( 5px * var(--SCALE));
}

#js_error {
    position: absolute;
    bottom: 5px;
    left: 5px;
    border: calc( 2px * var(--SCALE)) solid red;
    background-color: #FFFFA3; opacity: 0.75; filter:alpha(opacity=75); padding: calc( 5px * var(--SCALE));
    color: black;
    font-size: var(--FS2);
    line-height: 150%;
    text-align: center;
    z-index: 999;
    white-space: pre-line;
}

#loader {position: absolute; width: 25%; height: 30px; z-index: 9999; top: 50%; left: 37.5%}
#loader_progress { width:  100%; height: 100%; position: absolute; }


.aircraft_table_header {
    cursor: pointer;
    position: sticky;
    top: 0;
    z-index: 10;
}
.aircraft_table_header td {
    background-color: var(--BGCOLOR1);
    font-size: var(--FSN1);
    font-weight: 500;
    color: var(--TXTCOLOR2);
    padding: 0 2px;
    border-bottom: calc( 2px * var(--SCALE)) solid var(--ACCENT);
    padding: calc( 2px * var(--SCALE));
    text-align: center;
    text-transform: uppercase;
}

.verticalRateTriangle {
    font-family: "Courier New",monospace;
}

.icaoCodeColumn {
    font-family: monospace;
    text-transform: uppercase;
}

.plane_table_row {
    cursor: default;
    height: var(--FS2);
}

.hidden { display: none; }

.infoblock_heading a  { text-decoration: none; color:  var(--TXTCOLOR3); font-size: var(--FS2); }

.dim    { opacity: 0.3; filter:alpha(opacity=30); /* For IE8 and earlier */ }

.pointer { cursor: pointer; }

.sidebarButton {
    background-color: #409EDF;
    padding: calc( 4px * var(--SCALE));
    color: #FFFFFF;
    font-weight: normal;
    font-size: var(--FS2);
}

.sidebarButton:hover {
    background-color: #3c6ea3;
}

.altitudeFilterInput {
    width: calc( 40px * var(--SCALE));
    height:  calc(12px * var(--SCALE));
    padding: 2px;
    color: #000;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: var(--FS2);
    background: white;
    transition: all 0.3s;
}
.altitudeFilterInput:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.searchInput {
    width:  calc(100px * var(--SCALE));
    height:  calc(12px * var(--SCALE));
    padding: 2px;
    color: #000;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: var(--FS2);
    background: white;
    transition: all 0.3s;
}
.searchInput:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.formButton {
    font-size: 12px;
    font-weight: normal;
    background: #f8f9fa;
    color: #000;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    margin: auto 2px; 
}

.formButton:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}
.formButton:active {
    transform: translateY(0);
}
.formButton:disabled {
    color: var(--TXTCOLOR3);
}

select.error, textarea.error, input.error {
    color: #FF0000;
}

/* 1. Icono por defecto cuando el panel está CERRADO (capas e53b) */
.layer-switcher button::after {
    content: "\e53b" !important; /* icono de capas 'layers' */
    font-family: 'Material Symbols Outlined' !important;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24 !important;
    
    font-size: calc(22px * var(--SCALE)) !important; 
    color: #fff !important; 
    
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 2. Icono dinámico cuando el panel está ABIERTO (.shown) */
.layer-switcher.shown button::after {
    content: "\f705" !important; /* Cambia automáticamente al icono 'right_panel_close' */
}
.layer-switcher .group button::after {
    content: "\f5d2" !important; /* Cambia automáticamente al icono 'right_panel_close' */
 }
/* ==========================================================================
   CLASES DE ESTRUCTURA Y FORMATO
   ========================================================================== */

.layer-switcher {
    top: calc(3px * var(--SCALE)) !important;
    right: calc(44px * var(--SCALE)) !important;
    z-index: 999;

    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.layer-switcher button {
    position: relative; /* Base para posicionar tu icono ::after */
    width: calc(27px * var(--SCALE)) !important;
    height: calc(27px * var(--SCALE)) !important;
    
    /* SOLUCIÓN RADICAL: Aplastamos el #fafafa y #eee de los otros CSS */
    background-color: var(--ACCENT) !important; /* Forzamos TU color de acento */
    margin: 0 !important;                       /* Destruimos el 'margin: 1px' que te descoloca el botón */
    border: none !important;                     /* Eliminamos cualquier borde residual */
    box-shadow: none !important;                 /* Eliminamos cualquier sombra oculta */
    
    /* Limpieza de imágenes e inputs antiguos */
    background-image: none !important;
    font-size: 0 !important;
    overflow: hidden !important;
    outline: none !important;
    cursor: pointer;
}


.layer-switcher:not(.shown) {
    top: calc(3px * var(--SCALE)) !important;
    right: calc(44px * var(--SCALE)) !important;
    width: calc(32px * var(--SCALE));
    height: calc(32px * var(--SCALE));
    z-index: 999;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.layer-switcher.shown .panel {
    overflow-y: auto;
    height: 95vh;
}
.layer-switcher .group button {
    position: relative; /* Base para posicionar tu icono ::after */
    width: calc(14px * var(--SCALE)) !important;
    height: calc(14px * var(--SCALE)) !important;
    
    /* SOLUCIÓN RADICAL: Aplastamos el #fafafa y #eee de los otros CSS */

    color: var(--ACCENT) !important;
    margin: 0 !important;                       /* Destruimos el 'margin: 1px' que te descoloca el botón */
    border: none !important;                     /* Eliminamos cualquier borde residual */
    box-shadow: none !important; 


}

/* new css */
.dateTime
{
    font-weight: bold;
    font-size: calc( 12px * var(--SCALE));
    line-height: calc( 26px * var(--SCALE));
    color: #FFFFFF;
    color: rgb(255, 255, 255);
    text-align: right;
    display: inline-block;
    padding-right: calc( 20px * var(--SCALE));
    padding-left: calc( 20px * var(--SCALE));
}

@media screen and (max-width: 1 calc(000px * var(--SCALE))) {
    .dateTime {
        display: none;
    }
}

.sectionTitle {
    width: 100%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    background: var(--BGCOLOR4);
}

.section-title-content {
    padding: calc( 3px * var(--SCALE)) calc( 20px * var(--SCALE));
}

.legend
{
    font-size: calc( 10px * var(--SCALE));
    font-weight: 400;
    color:var(--TXTCOLOR2);
    display: flex;
    flex-wrap: wrap;
/*    padding-top: calc( 8px * var(--SCALE)); */
}

.settingsText
{
    font-size: calc( 13px * var(--SCALE));
    line-height: calc( 20px * var(--SCALE));

}

.link, .link a {
    color: var(--TXTCOLOR5);
    text-decoration: underline;
}

#header_side {
    position: absolute;
    right: calc( 0px * var(--SCALE));
    top:  calc( 0px * var(--SCALE));
    width: calc( 38px * var(--SCALE));
    z-index: 9;
}
#header_top {
    text-align: right;
    position: absolute;
    right: calc( 94px * var(--SCALE));
    top: calc( 0px * var(--SCALE));
    height: calc( 38px * var(--SCALE));
    z-index: 9;
}

.svgButton {
    background-color: var(--ACCENT);
    width: calc( 27px * var(--SCALE));
    height: calc( 27px * var(--SCALE));
    cursor: pointer;
    background-position: center;
    margin: calc( 2px * var(--SCALE));
    display: inline-block;
    border-radius: calc( 2px * var(--SCALE));
}

.fullscreenButton {
    background-image: url('images/fullscreen.svg');
    background-size: 90%;
}

.settingsCog {
    background-image: url('images/cog-white.svg');
    background-size: 120%;
}

.replayButton {
    background-image: url('images/replay-white.svg');
}


.button {
    background-color: var(--ACCENT);
    width: calc( 27px * var(--SCALE));
    height: calc( 27px * var(--SCALE));
    border-radius: calc( 2px * var(--SCALE));
    margin: calc( 2px * var(--SCALE));
    display: inline-block;
    cursor: pointer;
    text-align: center;
    background-clip: padding-box;
}


.buttonContainer {
    display: block;
    margin: calc( 1px * var(--SCALE));
    text-align: center;
}
.buttonSpacer {
    margin: calc( 9px * var(--SCALE));
}

.buttonText
{
    font-weight: bold;
    font-size: calc( 15px * var(--SCALE));
    line-height:  calc( 27px * var(--SCALE));
    text-align: center;
    margin: calc( 5px * var(--SCALE));
}
.buttonText_icoMSI
{
    font-size: calc( 18px * var(--SCALE));
    line-height:  calc( 27px * var(--SCALE));
    text-align: center;
    margin: calc( 5px * var(--SCALE));
}
.activeButton {
 color:#333
}
.inActiveButton {
 color:#fff
}

#highlighted_infoblock {
    background-color: var(--BGCOLOR1);
    position: absolute;
    left: calc( 40px * var(--SCALE));
    top: calc( 60px * var(--SCALE));
    min-width:  calc(132px * var(--SCALE));
    padding-right: calc( 5px * var(--SCALE));
    border-radius: 8px;
    box-shadow: calc( 1px * var(--SCALE)) calc( 2px * var(--SCALE)) calc( 4px * var(--SCALE)) #444444;
    cursor: pointer;
    z-index: 9999;
    display: none;
}

.highlightedTitle {
    border-bottom: calc( 1px * var(--SCALE)) solid #67b6c3;
    display: inline-block;
    width: 90%;
}

.identLarge {
    font-size: calc( 22px * var(--SCALE));
    line-height: calc( 24px * var(--SCALE));
    color: var(--TXTCOLOR1);
    font-weight: lighter;
}

.identMedium {
    font-size: calc( 17px * var(--SCALE));
    line-height: calc( 22px * var(--SCALE));
    color: var(--TXTCOLOR1);
    font-weight: lighter;
}

.identSmall {
    font-size: calc( 14px * var(--SCALE));
    font-weight: bold;
    color: var(--TXTCOLOR1);
}
.identSmall2 {
    font-size: calc( 14px * var(--SCALE));
    font-weight: 400;
    color: var(--TXTCOLOR4);
}
.infoSectionTable {
    width: 100%;
    border-collapse: collapse;
    padding: 0;
    margin: 0;
    cursor: default;
}

table.infoSectionTable tr td {
    padding: 0;
    margin: 0;
}

.rSpacer {
    padding-top: calc( 3px * var(--SCALE));
    padding-bottom: calc( 3px * var(--SCALE));
}

.infoHeading {
    margin-top: calc( 2px * var(--SCALE));
    margin-bottom: calc( 2px * var(--SCALE));
    display: inline-block;
}

.infoHeading sub {
    font-weight: normal;
}

.infoData {
    margin-top: calc( 2px * var(--SCALE));
    margin-bottom: calc( 2px * var(--SCALE));
    float: right;
    text-align: right;
    display: inline-block;
}

.infoBlockSection {
    padding-top: calc( 7px * var(--SCALE));
    padding-bottom: calc( 7px * var(--SCALE));
    padding-left: calc( 7px * var(--SCALE));
    padding-right: calc( 7px * var(--SCALE));
}

.largeText a {
    font-weight: bold;
    color: var(--TXTCOLOR4);
    font-size: var(--FS3);
}

.largeText {
    font-weight: bold;
    color: var(--TXTCOLOR1);
    font-size: var(--FS3);
}

.infoBlockTitleText {
    font-weight: bold;
    color:var(--TXTCOLOR3);
}


.legendTitle {
    line-height: calc( 14px * var(--SCALE));
    padding-right: calc( 2px * var(--SCALE));
    padding-left: calc( 2px * var(--SCALE));
    margin: auto;
}

#settings_infoblock {
    position: fixed;
    top: 1%;
    left: 1%;
    overflow: auto;
    max-height: 90%;
    box-shadow: calc( 4px * var(--SCALE)) calc( 4px * var(--SCALE)) calc( 10px * var(--SCALE)) #444444;
    padding: calc( 20px * var(--SCALE));
    z-index: 9999;
    display: none;
    background-color: var(--BGCOLOR1);
}

.settingsColumn {
    display: table-cell;
    width:  calc(199px * var(--SCALE));
}
.settingsOptionContainer {
    display: table;
    padding-top: calc( 3.5px * var(--SCALE));
    padding-bottom: calc( 3.5px * var(--SCALE));
}

.settingsCheckbox {
    width: calc( 12px * var(--SCALE));
    height: calc( 12px * var(--SCALE));
    background-size: calc( 12px * var(--SCALE)) calc( 12px * var(--SCALE));
    margin-left: calc( 5px * var(--SCALE));
    margin-right: calc( 5px * var(--SCALE));
    background-image: url('images/box-empty.png');
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.settingsCheckboxChecked {
    background-image: url('images/box-checked.png') !important;
}

/* 1. Base común para el icono 'X' de cerrar */
.settingsCloseBox::before,
.infoblockCloseBox::before {
    content: "\f230" !important; /* Código Unicode para el icono 'close' (X) */
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    
    /* El icono ocupa el tamaño completo de la caja (20px) */
    font-size: calc(20px * var(--SCALE)) !important; 
    color: var(--ACCENT) !important; /* Puedes cambiarlo por var(--ACCENT) o el color que prefieras */
    
    /* Centrado perfecto */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. Tu clase settingsCloseBox modificada */
.settingsCloseBox {
    position: absolute;
    right: calc(8px * var(--SCALE));
    top: calc(8px * var(--SCALE));
    width: calc(20px * var(--SCALE));
    height: calc(20px * var(--SCALE));
    cursor: pointer;
    
    /* Limpieza de imágenes e inputs de texto nativos */
    background-image: none !important;
    font-size: 0 !important;
    overflow: hidden;
}

/* 3. Tu clase infoblockCloseBox modificada */
.infoblockCloseBox {
    position: absolute;
    right: calc(20px * var(--SCALE));
    top: calc(8px * var(--SCALE));
    width: calc(20px * var(--SCALE));
    height: calc(20px * var(--SCALE));
    cursor: pointer;
    z-index: 99;
    
    /* Limpieza de imágenes e inputs de texto nativos */
    background-image: none !important;
    font-size: 0 !important;
    overflow: hidden;
}



.settingsText {
    line-height: calc( 20px * var(--SCALE));
    display: table-cell;
}

#altitude_chart {
    float: right;
    width: calc(100% - calc( 5px * var(--SCALE)));
    max-width:  calc(800px * var(--SCALE));
    right: calc( 85px * var(--SCALE));
    bottom: calc( 35px * var(--SCALE));
    background-color: transparent !important;
}

#altitude_chart_button {
    background-size: cover;
    background-color: transparent;
    width: 100%;
    height: 0;
    padding: 0;
    padding-bottom: calc(100% * 56 / 1815);
}


#selected_flightaware_link a {
    background-color: #67b6c3;
    color: white;
    text-decoration: none;
    padding: calc( 4px * var(--SCALE));
    line-height: calc( 22px * var(--SCALE));
    border-radius: calc( 4px * var(--SCALE));
}
.bottom-info-container {
    padding-top: calc( 10px * var(--SCALE));
    padding-bottom: calc( 10px * var(--SCALE));
    text-align: center;
    color: var(--TXTCOLOR1);
    line-height: calc( 18px * var(--SCALE));
}
.bottom-info-container img {
    vertical-align: middle;
}
.bottom-info-container .bottom-info-text {
    vertical-align: middle;
    display: inline;
    font-size: 11px;
    font-weight: normal;
}

.ui-tabs {
    background-color: #fff;
}

.ui-tabs-nav {
    background-color: #fff;

}
.ui-tabs-panel {
    background-color: #fff;
}

.greyButton {
    background-color: var(--BGCOLOR2);
    cursor: pointer;
    padding: calc( 2px * var(--SCALE));
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: calc( 15px * var(--SCALE));
    font-weight: bold;
    color: var(--TXTCOLOR1);
}
.greyButton:after {
    content: '\02795\FE0E'; /* Unicode character for "plus" sign (+) */
    float: right;
    margin-left: calc( 5px * var(--SCALE));
}
.greyButton.active:after {
    content: "\2796\FE0E"; /* Unicode character for "minus" sign (-) */
}

.ui-tabs-nav li a:focus {
    outline: none;
    color: #fff;
}

.ui-tabs .ui-tabs-panel {
    padding: 0.5em 0.5em;
}
.ui-tabs .ui-tabs-nav {
    background-color: var(--BGCOLOR4);
    padding: 0.5px;
    margin: 0.5px;
    margin-bottom: 1px;
    color: #fff;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active {
    padding-bottom: 0px;
    color: #ffffff;
}
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {
    border-radius: 4px;
}

.buttonFilter {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: calc( 240px * var(--SCALE));
    cursor: pointer;
}

.ui-widget-content .ui-selectable .ui-selected {
    border-color: #cc6600;
}

.buttonFilter li {
    border-width: 2px;
    border-color: var(--BGCOLOR2);
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 1px;
    float: left;
    width: calc( 85px * var(--SCALE));
    color: var(--TXTCOLOR2);
    font-size: var(--FS2);
    text-align: center;
}

/*
#sortableColumns {
    list-style-type: none;
    margin: 0;
    padding: 0;
    max-width: calc( 2 * 130px * var(--SCALE));
}

#sortableColumns li {
    margin: 3px 3px 3px 3px;
    padding: calc( 0px * var(--SCALE));
   float: left;
    width: calc( 120px * var(--SCALE));
    border-color: var(--ACCENT);
    background-color: var(--BGCOLOR2);
}
*/

#sortableColumns {
  display: flex;
  flex-wrap: wrap;       /* Permite que los elementos pasen a la siguiente línea */
  gap: 8px 12px;             /* Espacio vertical y horizontal entre columnas */
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;           /* Asegura que el contenedor use todo el espacio */
}
#sortableColumns li {
  /* Restamos 8px (la mitad del gap) para que dos columnas entren perfectamente */
  width: calc(50% - 10px); 
  box-sizing: border-box; /* Incluye padding y bordes en el cálculo del ancho */
  
  /* Estilos visuales base */
  background-color: #f8f9fa;
  padding: 1px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: grab;
  color: var(--TXTCOLOR3);
}

/* Opcional: Si arrastras elementos verticalmente, ajustamos la lógica visual */
.column-item.dragging {
  opacity: 0.4;
}

#copyrightInfo {
  position: Relative;
  font-size: var(--FS1);
  font-weight: 300;
}
#selected_photo{
  text-align: center;
  display: block;
}


.ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
  background: var(--BGCOLOR5);
  border: none;
  color: white;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover{
  background: var(--TXTCOLOR1);
  color: white;
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited, a.ui-button, a:link.ui-button, a:visited.ui-button, .ui-button {
  color: white;
}
 .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
 color: white;
}
.ui-widget-header, .ui-widget.ui-widget-content {
    border: none;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
  color: white;
}
.ui-widget-content {
  color: var(--TXTCOLOR2);
}

.ui-slider {
    background-color: var(--BGCOLOR2);
}
.ui-slider .ui-slider-handle {
    background-color: rgb(0, 115, 222);
}


input{
  color:var(--TXTCOLOR1);
}
#histDatePicker{
  background: var(--BGCOLOR1);
}

#replayBar {
  background: var(--BGCOLOR1);
  display: none;
  width: calc(100% - 80px);
  padding-right: 80px;
  position: absolute;
  height: 10px;
  bottom: 0%;
  grid-template-columns: 1fr 1.5fr 5fr 2fr;
  grid-template-rows: 20px 40px 20px 20px;
  justify-items: center;
  align-items: center;
  grid-template-areas:
    "timezone dateHint timeHint speedHint"
    "play datepicker hours speedSelect"
    ". dateHintLocal minutes loading "
    ". . . .";
}

#replayLoading {
  grid-area: loading;
}

#replayTimeZone{
  grid-area: timezone;
}
#replayPlay{
  grid-area: play;
}
#replayDatepicker{
  grid-area: datepicker;
}
#hourSelect{
  width: 90%;
  grid-area: hours;
}
#minuteSelect{
  width: 90%;
  grid-area: minutes;
}
#replaySpeedSelect{
  grid-area: speedSelect;
  width: 90%;
}
#replayTimeHint{
   grid-area: timeHint;
}
#replayDateHintLocal{
  grid-area: dateHintLocal;
}
#replayDateHint{
  grid-area: dateHint;
}
#replaySpeedHint{
  grid-area: speedHint;
}

.tb-aerop, 
.tb-aerop th, 
.tb-aerop td {
    border: none !important;
    border-collapse: collapse !important;
    vertical-align: middle !important;
    line-height: 1.1 !important; /* Reduce la altura de la fila al mínimo */
    font-size: var(--FSN2);
    font-weight: 300;
    color:  var(--TXTCOLOR2);
    text-align: left;
}

.tb-limp, 
.tb-limp th, 
.tb-limp td {
    border: none !important;
    border-collapse: collapse !important;
    vertical-align: middle !important;
    line-height: 1.1 !important; /* Reduce la altura de la fila al mínimo */
    font-size: var(--FSN2);
    font-weight: 400;
    color:  var(--TXTCOLOR2);
    text-align: left;
}


.formularios {
    max-width: 100%;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.formularios .form-group {
    margin-bottom: 20px;
}

.formularios label {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #2d3748;
}

.formularios input,
.formularios textarea {
    width: 100%;
    padding: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    background: white;
    transition: all 0.3s;
}

.formularios input:focus,
.formularios textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.formularios button {
    width: 100%;
    padding: 20px;
    background: #4299e1;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.formularios button:hover {
    background: #3182ce;
    transform: translateY(-2px);
}

.formularios button:active {
    transform: translateY(0);
}

/* Optimizaciones para pantallas pequeñas */
@media (max-width: 480px) {
    .formularios {
        padding: 15px;
    }
    
    .formularios input,
    .formularios textarea {
        padding: 16px;
        font-size: 16px; /* Evita zoom en iOS */
    }
}

.contenedor {
    margin: 10px auto;
    padding: 4px;
    background-color: #fff;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
.contenedor_planestable {
    margin: 10px auto;
    padding: 4px 2px;
    background-color: #fff;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.titulocabecera {
    font-size:  var(--FSN3);
    line-height: 1.2;
    font-weight: 400;
    color: var(--TXTCOLOR1);
}
.titulo_contenedor {
    width: auto;
    display: block;
    margin-left: -4px;
    margin-right: -4px;
    margin-top: -4px;
    margin-bottom: 4px;
    border-radius: 8px 8px 0 0;
    font-size:  var(--FSN3);
    font-weight: 300;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    background: var(--BGCOLOR4);
}

.enlaces, .enlaces a {
    color: var(--TXTCOLOR5);
    text-decoration: none;
    font-weight: 500;
}

.indic_recepc {
font-family: monospace;
    font-size:  var(--FS2);
    font-weight: 500;
    line-height: 1.4;
    color: var(--TXTCOLOR2);
    vertical-align: middle;
}

.titulo_sitio {
    color: var(--TXTCOLOR1);
}