:root {
  --bg-warning: #007bff;
}

@font-face {
   font-family: "Trade Gothic R";
   src: url("../font/TradeGothicLTStd-Regular.otf") format("opentype");
}
@font-face {
   font-family: "Trade Gothic CD";
   src: url("../font/TradeGothicLTStd-Cn18_0.otf") format("opentype");
}
@font-face {
   font-family: "Trade Gothic B";
   src: url("../font/TradeGothicLTStd-Bold.ttf") format("truetype");
}
@font-face {
   font-family: "Trade Gothic L";
   src: url("../font/TradeGothicLTStd-Light.otf") format("opentype");
}
@font-face {
   font-family: "FontAwesome";
   src: url("../font/fontawesome-webfont.ttf") format("opentype");
}

body {
   background-color: #e5ebf3;
}

.bg-headers {
   background: rgb(5,88,168);
   background: linear-gradient(0deg, rgba(5,88,168,1) 0%, rgba(3,41,78,1) 95%);
}

/* ESTILOS COLOR TEXTO */
.txt_blanco { color: #FFF!important; }
.txt_gris_oscuro_75 { color: #757575!important; }
.txt_gris_claro_e2 { color: #e2e2e2!important; }
.txt_gris_value_deshabilitado { color: #d9d9d9!important; }
.txt_gris_d6, a.deshabilitado{ color:#d6d6d6!important; }
.txt_gris_ad{ color:#adadad!important; }
.txt_negro { color: #212121!important; }
.txt_azul_deshabilitado { color: #9cb2d4; }
.txt_azul_label { color: #6686b9!important; }
.txt_azul_value { color: #e4ebf3!important; }
.txt_azul_claro { color: #8fa7cc!important; }
.txt_azul_turquesa {color:#5398a7!important;}
.txt_azul_oscuro, .txt_azul { color: #335ea2!important; }
.txt_amarillo_oscuro { color: #efc833; }
.txt_naranja, .txt_color_naranja, .txt_naranja_label { color: #FF7333!important; }
.txt_rojo { color: #ff5000; }
.txt_rojo_oscuto,  .txt_rojo_oscuro{color:#c34246!important;}
.txt_color_rojo_forumulario{ color:#a60000!important; }
.txt_verde { color: #66b966!important; }
.txt_verde_oscuro { color: #479c47!important; }
.txt_bronce { color: #CD7F32; }

/* ESTILOS COLOR BACKGROUND */
.fondo_transparente {background-color: transparent!important;}
.fondo_blanco { background-color: #ffffff!important; }
.fondo_gris{ background-color: #ededed!important; }
.fondo_gris_medio { background-color: #d2d2d2!important; }
.fondo_gris_oscuro { background-color: #757575!important; }
.fondo_gris_value_deshabilitado, .valor_input_deshabilitado { background-color: #f2f2f2!important; }
.fondo_fila_gris, .fila_par, .fondo_gris_claro { background-color: #e8e8e8!important; }
.fondo_gris_f6{ background-color:#f6f6f6!important; }
.fondo_gris_d6{ background-color:#d6d6d6!important; }
.fondo_gris_ad{ background-color:#adadad!important; }
.fondo_gris_ca{ background-color:#cacaca!important}
.fondo_gris_e0{ background-color:#e0e0e0!important;}
.fondo_negro { background-color: #212121!important; }
.fondo_color_azul_oscuro, .fondo_azul { background-color: #335ea2!important; }
.fondo_azul_label { background-color: #6686b9!important; }
.fondo_azul_value { background-color: #e4ebf3!important; }
.fondo_azul_value_opacidad_3 {
    --bs-table-bg: #b3c3dc!important;
    background-color: #b3c3dc!important;
}
.fondo_azul_claro { background-color: #8fa7cc!important; }
.fondo_azul_turquesa {background-color:#5398a7!important;}
.fondo_color_amarillo_claro {
    --bs-table-bg: #f9f4d4!important;
    background-color: #f9f4d4!important; }
.bg-warning{
    --bs-table-bg: #ffed4a!important;
}
.fondo_amarillo_resaltado, .fondo_color_amarillo_resaltado {
    --bs-table-bg: #FFE082!important;
    background-color: #FFE082!important;
}
.fondo_color_amarillo_oscuro {
    --bs-table-bg: #ffdb51!important;
    background-color: #ffdb51!important;
}
.fondo_naranja_claro {
    --bs-table-bg: #f99364!important;
    background-color: #f99364!important;
}
.fondo_naranja_value {
    --bs-table-bg: #ffe3d7!important;
    background-color: #ffe3d7!important;
}
.fondo_naranja, .fondo_color_naranja, .fondo_naranja_label {
    --bs-table-bg: #FF7333!important;
    background-color: #FF7333!important;
}
.fondo_rojo { background-color: #ff5000!important; }
.fondo_rojo_oscuto, .fondo_rojo_oscuro {background-color:#c34246!important;}
.fondo_color_rojo_formulario{ background-color:#a60000!important; }
.fondo_verde_claro, .fondo_verde_claro {
    --bs-table-bg: #cee4cf!important;
    background-color:#cee4cf!important
}
.fondo_verde { background-color: #66b966!important; }
.fondo_oscuro, .fondo_verde_oscuro { background-color: #479c47!important; }

.disabledContenedor {
      pointer-events: none;
      opacity: 0.4;
}

.img_perfil:hover {
   opacity: 0.5;
   background-color: #D0ECF7;
   cursor: pointer;
}

.elemento_clickable:hover {
   cursor: pointer;
   opacity: 0.5;
}

/** MENÚ PRINCIPAL DESPLEGADO *****************/
.menu_principal_desplegado {
    position: absolute;
    z-index: 9999;
    top: 0em;
    left: 0em;
    width: 330px;
    background-color: #2b3030;
    -webkit-box-shadow: 0px 4px 5px -1px rgba(0, 0, 0, 0.46);
    -moz-box-shadow: 0px 4px 5px -1px rgba(0, 0, 0, 0.46);
    box-shadow: 5px 4px 5px -1px rgba(0, 0, 0, 0.7);
}
.menu_principal_desplegado .menu_principal {
    float: right;
    margin-top: -0.5em;
}

.menu_principal_desplegado>.padding_2em>img{
    cursor:pointer;
}

.menu_principal_desplegado ul {
    padding-left: 0em;
}
.menu_categoria {
    background-color: #262626;
}
.menu_subcategoria {
    background-color: #171717;
}
.menu_grupo_principal li,
.menu_grupo_principal li a {
    font-family: "Trade Gothic CD";
    font-size: 18px;
    color: #e2e2e2;
}
.menu_grupo_principal li a {
    border-left: 0.2em solid transparent;
}
.menu_principal_desplegado nav a {
    display: block;
    padding: 0.5em 1em;
    text-decoration: none;
}
.menu_principal_desplegado nav a:hover,
.menu_principal_desplegado nav a.active {
    border-left: 0.2em solid #ff5000;
    background-color: white;
    color: #212121;
}

/*.menu_principal_desplegado .fa-sort-desc*/
 .menu_principal_desplegado .fa-sort-down {
    float: right;
    -o-transition: all 0.3s ease-out;       /* Opera */
    -moz-transition: all 0.3s ease-out;     /* Mozilla Firefox */
    -ms-transition: all 0.3s ease-out;      /* Internet Explorer */
    transition: all 0.3s ease-out;          /* W3C */
    -webkit-transition: all 0.3s ease-out;  /* Chrome y Safari */
}
ul.menu_categoria li a {
    padding-left: 1.5em;
}
ul.menu_subcategoria li a {
    padding-left: 2em;
}
.menu_grupo_principal ul {
    list-style: none
}

/** MENÚ SERVICIOS DESPLEGADO *****************/
nav.menu_servicios {
    position: absolute;
    min-width: 275px;
    z-index: 9999;
    top: 3em;
    right: 0em;
    background-color: #2b3030;
    -webkit-box-shadow: 0px 4px 5px -1px rgba(0, 0, 0, 0.46);
    -moz-box-shadow: 0px 4px 5px -1px rgba(0, 0, 0, 0.46);
    box-shadow: 5px 4px 5px -1px rgba(0, 0, 0, 0.7);
}
.menu_servicios ul {
    padding-left: 0em;
}
.menu_servicios li {
    display: block;
    padding: 0.25em 0.5em;
    text-decoration: none;
    font-family: "Trade Gothic CD";
    font-size: 18px;
    color: #e2e2e2;
    border-left: 0.2em solid transparent;
    border-bottom: 0.01em solid #3c3e3e;
    cursor: pointer;
}
.menu_servicios li form{
    font-family: "Trade Gothic CD"!important;
}
.menu_servicios li:hover {
    border-left: 0.2em solid #6686b9;
    background-color: white;
    color: #212121;
}
.menu_servicios .subcategoria{ width: 100% }
.menu_servicios .subcategoria li { background-color:#424646;}
.menu_servicios .subcategoria li:hover { background-color:#b3c3dc;}

li.division,
li.division:hover {
    background-color: #6686b9;
    color: #e2e2e2;
    cursor: default;
}
li.deshabilitar {
    color: #545454;
}
li.deshabilitar:hover {
    background-color: #2b3030;
    color: #545454;
    border-left: 0.2em solid transparent;
    cursor: default;
}

/* Capas ocultas en un primer momento pero que pueden mostrarse/ocultarse mediante Javascript */
.toggleable, .fadeable {
    display: none;
}

/* BORDES */
.borde_0 {border:0px solid transparent!important;}

.borde_completo_blanco {border: 0.1em solid #ffffff!important;}
.borde_completo_azul  {border: 1px solid #335ea2}
.borde_completo_naranja  {border: 1px solid #ff7333}
.borde_completo_gris  {border: 1px solid #ddd}
.borde_completo_gris75  {border: 1px solid #757575}
.borde_completo_verde  {border: 0.15em solid #198754}

.borde_superior_azul { border-top: 0.2em solid #6686b9}
.borde_superior_gris { border-top: 1px solid #ddd;}
.borde_superior_rojo { border-top:0.3em solid #c34246;}
.borde_superior_naranja { border-top:0.3em solid #ff7333;}
.borde_superior_naranja_fino { border-top:0.15em solid #ff7333;}


.borde_izquierdo_azul { border-left: 0.2em solid #6686b9}
.borde_izquierdo_gris { border-left: 1px solid #ddd;}
.borde_izquierdo_blanco_1em { border-left:0.6em solid #fff!important;}
.borde_izquierdo_amarillo_1em { border-left:0.3em solid #ffdb51;}
.borde_izquierdo_rojo { border-left:0.2em solid #ff0000; }
.borde_izquierdo_verde { border-left:0.2em solid #33a267; }
.borde_izquierdo_amarillo_claro { border-left:0.2em solid #f9f4d4; }
.borde_izquierdo_amarillo_resaltado { border-left:0.2em solid #FFE082; }

.borde_derecho_blanco { border-right: 0.1em solid #fff}
.borde_derecho_azul { border-right: 0.2em solid #6686b9}
.borde_derecho_gris { border-right: 1px solid #ddd;}

.borde_inferior_blanco {border-bottom: 0.1em solid #ffffff!important;}
.borde_inferior_azul { border-bottom: 0.2em solid #6686b9}
.borde_inferior_azul_input { border-bottom: 0.1em solid #e5ebf3}
.borde_inferior_gris { border-bottom: 1px solid #ddd;}
.borde_inferior_gris_fuerte { border-bottom: 3px solid #c7cace;}
.borde_inferior_rojo { border-bottom:0.3em solid #c34246;}
.borde_inferior_naranja { border-bottom:0.15em solid #ff7333;}
.borde_inferior_azul_form { border-bottom:0.15em solid #335ea2;}
.borde_inferior_gris_form { border-bottom:0.15em solid #757575;}
.borde_inferior_verde { border-bottom: 0.2em solid #198754}

.border_0em{ border: 0em!important }
.border_bottom_0em{ border-bottom: 0em!important }
.border_right_red_02em{ border-right:0.2em solid #c34246; }

/* ESTILOS COLOR BACKGROUND */
.fondo_transparente {background-color: transparent!important;}
.fondo_blanco { background-color: #ffffff!important; }
.fondo_gris{ background-color: #ededed!important; }
.fondo_gris_medio { background-color: #d2d2d2!important; }
.fondo_gris_oscuro { background-color: #757575!important; }
.fondo_gris_value_deshabilitado, .valor_input_deshabilitado { background-color: #f2f2f2!important; }
.fondo_fila_gris, .fila_par, .fondo_gris_claro { background-color: #e8e8e8!important; }
.fondo_gris_f6{ background-color:#f6f6f6!important; }
.fondo_gris_d6{ background-color:#d6d6d6!important; }
.fondo_gris_ad{ background-color:#adadad!important; }
.fondo_gris_ca{ background-color:#cacaca!important}
.fondo_gris_e0{ background-color:#e0e0e0!important;}
.fondo_negro { background-color: #212121!important; }
.fondo_color_azul_oscuro, .fondo_azul { background-color: #335ea2!important; }
.fondo_azul_label { background-color: #6686b9!important; }
.fondo_azul_value { background-color: #e4ebf3!important; }
.fondo_azul_value_opacidad_3 { background-color: #b3c3dc!important; }
.fondo_azul_claro { background-color: #8fa7cc!important; }
.fondo_azul_turquesa {background-color:#5398a7!important;}
.fondo_rojo { background-color: #ff5000!important; }
.fondo_rojo_oscuto, .fondo_rojo_oscuro {background-color:#c34246!important;}
.fondo_color_rojo_formulario{ background-color:#a60000!important; }
.fondo_verde { background-color: #66b966!important; }
.fondo_oscuro, .fondo_verde_oscuro { background-color: #479c47!important; }

.disabledField{
   pointer-events: none;
   color: #000 !important;
}

.nav-link-sms {
   background: #757575 !important;
   color: #FFFFFF !important;
}

.nav-link-sms.active {
   background: #6686b9 !important;
   color: #FFFFFF !important;
}

.nav-link-sms:hover {
   background: #335ea2 !important;
   color: #FFFFFF !important;
}

.cuerpo_pagina {
   background-color: #e5ebf3;
   padding: 1em;
}

.encabezado_bloques, .encabezado_bloques_trayectos, .encabezado_bloque_costes_totales{
   color: white;
   font-family: "Trade Gothic R"!important;
}

.encabezado_bloques, .encabezado_bloques_trayectos {background-color: #6686b9;}
.encabezado_bloque_costes_totales {background-color: #ff7333;}

.encabezado_bloques, .padding_encabezado_bloques, .encabezado_bloque_panel_de_gestion {
   text-transform: uppercase;
   padding: 0.6em 0.5em 0.5em 0.5em
}
.encabezado_bloques h1 {
   margin-top: 0em;
   margin-bottom: 0em;
   font-size: 20px;
   border-bottom: 0em;
   text-transform: uppercase;
   font-family: "Trade Gothic B"!important;
}
.encabezado_bloques.filtros h1 {
   font-size: 15px;
}

.encabezado_bloque_panel_de_gestion h2{
   color: white;
   margin-top: 0em;
   margin-bottom: 0em;
   font-size: 16px;
   text-transform: capitalize!important;
   font-family: "Trade Gothic B"!important;
}

.efecto_button,
.sombra_inferior,
.sombra_button {
    -webkit-box-shadow: 0px 4px 5px -1px rgba(0, 0, 0, 0.46)!important;
    -moz-box-shadow: 0px 4px 5px -1px rgba(0, 0, 0, 0.46)!important;
    box-shadow: 0px 4px 5px -1px rgba(0, 0, 0, 0.46)!important;
}

.fa.fa-chevron-circle-down {
   text-decoration: none;
   transition: 0.2s ease all;
   -moz-transition: 0.2s ease all;
   -webkit-transition: 0.2s ease all;
}
.fa.fa-chevron-circle-down:hover {
   cursor: pointer;
   opacity: 0.5
}
.fa.fa-chevron-circle-down.plegar_encabezado {
   color: white;
   font-size: 22px;
}
.contenido_bloques {
   background-color: #fff;
   padding: 0.5em 1em;
}

.plegado, .rotado_izquierda,
.fa.fa-chevron-circle-down.txt_blanco.txt_22px:active {
    transform: rotate(90deg)
}

.rotado_derecha{
    transform: rotate(-90deg)
}

.card-desplegable:hover {
    cursor: pointer;
    opacity: 0.5;
}
/* Tablas EU "estilo Excel" */
.table-eu>:not(caption)>*>* {padding: 0!important;}
.table-eu {font-size:0.9em!important;white-space: nowrap;}

/* Cambios 210427. EU. Tablas cabecera fija y contenido con scroll */
table.cabecera_fija thead tr{
   z-index: 2 !important;
    position: sticky;
    top: 0; /* Don't forget this, required for the stickiness */
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

#js_cabecera_2 th, .js_cabecera_2 th {top: 20px;}
#js_cabecera_3 th, .js_cabecera_3 th {top: 40px;}

.contenedor_scroll {overflow-y: scroll;  position: relative;}

.form-label {
   font-size: 0.8em;
   margin-bottom: 0;
   color: #335ea2;
}

.form-check-label {
   font-size: 0.8em;
}

.form-control {
   font-size: 0.8em;
}

.btn-outline-secondary {
   padding: 0.4em;
   padding-top: 0.1em;
   padding-bottom: 0.1em;
}

/* PANTALLA DE CARGA */
    .pantalla_de_carga_fija{
        position: fixed;
    }
    .pantalla_de_carga{
        position: absolute;
    }
    .pantalla_de_carga, .pantalla_de_carga_fija {
        top:0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        z-index: 1701;
    }

    .pantalla_de_carga_fondo{
        background-color: #FFFFFF;
        opacity: 0.8;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1700;
    }

    .pantalla_de_carga_fondo_wait {
        background-color: #000000;
        opacity: 0.8;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1700;
    }

    /* Pantalla de carga a toda pantalla */
    .pantalla_de_carga_fondo{ position: fixed;}
    .pantalla_de_carga_fondo_wait{ position: fixed;}

/* CUANDO LE LLEGUE LA HORA, QUITARLO */
.ocultar,
.oculto,
h1.page-title,
.js_fila_oculto {
    display: none!important;
}

.modal-sticky .modal-footer, .modal-sticky .modal-header {
    position: sticky;
    left: 0;
    background: #fff;
}
.modal-sticky .modal-footer {
    bottom: 0;
}
.modal-sticky .modal-header {
    top: 0;
    z-index: 999999;
}
/* QUITAR FLECHAS DE TYPE=NUMBER */
input[type=number].d_none_flecha::-webkit-inner-spin-button,
input[type=number].d_none_flecha::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.js_help {
    margin-top: .25rem;
    font-size: .875em;
    color: #dc3545;
}

/* Cuando un texto desborde el contenido del div aplicaremos este estilo para que dicho texto se corte y se muestren los puntos suspensivos */
.puntos_suspensivos {
    cursor: pointer;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.puntos_suspensivos_simplificado{
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.cursor_pointer{
   cursor: pointer;
}

.row_hovered:hover {
   cursor: default;
   background-color: #e8e8e8;
}

.pantalla_negra_completa {
   background-color: hsla(0, 0%, 2%, 0.90);
   position: absolute;
   top:0;
   width: 100%;
   height: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0;
   z-index: 1701;
}

.navbar-expand-sm .navbar-nav .dropdown-menu-right {
   right: 0;
   left: auto
}

.navbar-expand-md .navbar-nav .dropdown-menu-right {
   right: 0;
   left: auto
}

.navbar-expand-lg .navbar-nav .dropdown-menu-right {
   right: 0;
   left: auto
}

.navbar-expand-xl .navbar-nav .dropdown-menu-right {
   right: 0;
   left: auto
}

.navbar-expand .navbar-nav .dropdown-menu-right {
   right: 0;
   left: auto
}

.dropdown_item_button, .dropdown_item_button .dropdown-item {
   color: #e2e2e2;
}

.dropdown_item_button:hover, .dropdown_item_button:hover .dropdown-item {
   color: #2b3030;
   background-color: #e2e2e2;
   cursor: pointer;
}

.dropdown-toggle::after {
   color: #FFFFFF !important;
}

.borde_izquierdo_verde_03em { border-left:0.3em solid #479c47;}
.borde_izquierdo_amarillo_03em { border-left:0.3em solid #ffdb51;}
.borde_izquierdo_rojo_03em { border-left:0.3em solid #c34246;}

/* FIX Reducir espacio del icono calendario del input date */
::-webkit-calendar-picker-indicator {
    padding: 0;
    margin: 0;
}

.btn-eu {padding:0!important;border:none;margin:0!important;}

/* ESTILOS SELECT MULTIPLE */
.js_multicheck {background-color:#fff;position:relative;width:100%;}
.js_multicheck--contenedor {background-color:#fff;position:absolute;width:auto;overflow:hidden;max-height:400px;top:20px;left:0;z-index:9999;}
.js_multicheck--contenido {position:relative;width:100%;display:none;max-height: 400px;overflow-y:auto;}

.fase_cancelada {
   opacity: 0.5;
   /*pointer-events: none;*/
}

.borde_naranja {
   border: 0.15em solid #ff7333;
}

.borde_azul {
   border: 0.15em solid #335ea2;
}

.borde_gris{border:0.15em solid #757575}

.label_formulario {
   font-size: 12px;
   margin-bottom: 0em;
   color: #212121;
   font-family: "Trade Gothic B";
}

.label_encabazado{
   font-family: "Trade Gothic B";
   font-weight: bold;
}

.title_formulario {
   font-family: "Trade Gothic B";
   font-weight: bold;
}

ul.lista_sin_estilo{ list-style:none}

.borde_rojo_formulario{border:0.15em solid #a60000}

.btn-supereu{
   padding: 0em;
   font-size: 0.8em;
   padding-left: .25rem!important;
   padding-right: .25rem!important;
}

.js_ms_values {
   position: absolute; z-index: 10;
}

.font-size-07em { font-size: 0.7em; }
.font-size-08em { font-size: 0.8em; }

/* LINEAS DE DETALLE */
.js_input_linea_detalle {
    font-family: "Courier New";
    font-size: 0.7em!important;
    width: 100%!important;
    border-left: #000000;
    border-right: #000000;
    font-weight: bold;
}
/**/

/* I - Animación parpadear */
.parpadear {
    animation-name: parpadeo;
    animation-duration: 2s;
    animation-timing-function: ease-in;
    animation-iteration-count: infinite;
    -webkit-animation-name:parpadeo;
    -webkit-animation-duration: 2s;
    -webkit-animation-timing-function: ease-in;
    -webkit-animation-iteration-count: infinite;
}
@-moz-keyframes parpadeo{
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
@-webkit-keyframes parpadeo {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes parpadeo {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
/* F - Animación parpadear */

.offcanvas-footer{
    padding: 1rem 1rem;
    border-top: 1px solid #dee2e6;
}

.borde_izquierdo_mutuas { border-left: 0.8em solid #6686b9}
.borde_izquierdo_general { border-left: 0.8em solid #FF7333}
.borde_izquierdo_undefined { border-left: 0.8em solid #6686b9}
