/* General */
/* *********************************************** */

* {
}

body {
    background-color: #FFFFFF;
    color: #404040;
    font-family: Arial,"Trebuchet MS",Verdana,Sans-serif;
    font-size: 12px;
    margin: 0;
	padding: 0px !important;
}

.clear {
	clear: both;
}

#footer {
	clear: both;
	font-size: 10px;
	text-align: center;
}

.content {
	padding: 3px;
}

h1 { 
	color: #ff9900; 
}

h2 { 
	color: #707070; 
	text-align: center; 
}

h2  a { 
	color: #707070; 
}

h3 { 
	color: #707070; 
}

h3  a { 
	color: #707070; 
}

h3  a :hover {  
	color: #707070; 
}

h4 { 
	color: #707070; 
}

img { 
	border: 0 none; 
}

hr {
	border-color: #D5D0BF -moz-use-text-color -moz-use-text-color;
    border-right: 0 none;
    border-style: solid none none;
    border-width: 1px 0 0;
    margin: 1.4em 0;
}

.logo {
	float: right;
	padding: 5px;
}

/* Liens */
/* *********************************************** */

a {
    color: #ff9900;
    text-decoration: none;
	cursor: pointer;
}

a:hover{ 
	color: #c3c7c8; 
}

a.item { 
	color: #FF0066; 
}

a.smallunder { 
	color: white; 
}

a.nounderline { 
	color: #000080; 
}

a.login { 
	color: white; 
}

a.backToFilters {
	clear: both;
	float: left;
}

.pageNumbers a {
	margin-right: 5px;
}

a.currentPage {
	font-weight: bold;
	text-decoration: underline;
}

/* Table */
/* *********************************************** */

table {
	/* border: 1px solid #BBBBBB; */
    border-collapse: collapse;
	/* padding: 5px; */
	margin-top:5px;
	margin-bottom:5px;
}

th {
	background-color: #F0F0F0;
    font-weight: bold;
	padding-top: 3px;
	padding-left: 3px;
	border: 1px solid #BBBBBB;
}

td {
	padding: 3px 4px;
    vertical-align: middle;
	/*border: 1px solid #BBBBBB;*/
}

table.anonymous_results, table.anonymous_results tr, table.anonymous_results td {
	border: 0px;
}

table.anonymous_results {
	width: 800px;
	margin-left: auto;
	margin-right: auto;
	border-collapse: separate;
}

table.anonymous_results tr {
}

table.anonymous_results td {
}

table.anonymous_results th {
  /*background-color: #E2E4FF;*/
  /*background-color: transparent;*/
  background-color: #F0F0F0;
	border: 0px solid black;
}

table.anonymous_results td.title {
	background-color: #F0F0F0;
	font-weight: bold;
}

table.criterias {
	border: 0px solid black;
    border-collapse: collapse;
	margin-left: auto;
	margin-right: auto;
}

table.criterias tr, table.criterias td {
	border: 0px;
	vertical-align: top;
}

table.filters {
	border: 0px solid black;
    border-collapse: collapse;
}

/* Menu */
/* *********************************************** */

#header {
	color: #ffffff;
	background-color: #96a3a9;
	/*background-image:url('/images/top.png');*/
	background-repeat:no-repeat;
	height: 90px;
	width: 100%;
}

#header h1 {
	margin: 0;
	float:left;
}

#header h1 a img, #header h1 img {
	margin-left: 10px;
	margin-top: 5px;
}

/* menu bar */
#menu {
	margin: 0px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    background-color: #ff9900;
    height:24px;
}

#menu .menuitem {
	width: auto;
    height: auto;
    color: #ffffff;
    padding-top: 5px;
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom : 5px;
    float: left;
}

#menu a{
    color: #ffffff;
    font-weight: bold;
}

#menu a:hover{
    color: #f00;
}

#menu ul, #menu li{
    list-style-type: none;
	padding:0;
	margin:0;
}

#menu li {
	margin-left:2px;
	float:left; /*pour IE*/
}

#menu .menuitem-action li {
    height: auto;
    color: #ffffff;
	background-color: #ff9900;
	padding-left: 10px;
	padding-top: 5px;
}

#menu .logout, #menu .login{
    float: right;
}

/* Forms */
/* *********************************************** */

#sf_admin_bar {
    float: left;
    margin-left: 10px;
	margin-right: 20px;
}

.sf_admin_form_row label {
	width: 200px;
}

#sf_admin_container label {
    color: #666666;
    display: block;
    float: left;
    font-weight: normal !important;
    text-align: left;
	padding: 5px;
}

#sf_admin_container .sf_admin_form_row {
    border-bottom: 1px solid #DDDDDD;
    clear: both;
    padding: 2px;
}

label.edisplaystatus_content {
	display: inline-block;
	width: 20px;
	margin-left: 100px;
}

div.edisplaystatus_content {
	padding-left: 150px;
}

span.edisplaystatus_content {
	display: inline-block;
	width: 150px;
}

input[type=checkbox] {
	padding: 5px;
}


.anonymous_search {
	width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.plus {
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    width: 20px;
}

table.progressbar, table.progressbar tr{
	border: 0px !important;
}

table.progressbar td {
    border: 0px !important;
	padding:0;
}

.progress {
    background: url('/images/progress.png');
    border:1px solid #777;
}

.progress_complete {
    background-color: #0f0;
    border:1px solid #777;
}

.progress_excess {
    background-color: #f00;
    border:1px solid #777;
}

/* Results */
.detail_success {
    margin-left:auto;
    margin-right: auto;
    width:800px;
}
.search_success {
    margin-left:auto;
    margin-right: auto;
    width:800px;
}
a.linkJobfile {
    word-break: break-word;
}
.col_LE {
    word-break: break-word;
}

/* Journey MATHEZ */
:root {
    --dark-grey: #9FABAE;
    --light-grey: #DFE3E4;
    --green: #2ECC71;
}

.journey_Container {
    /* margin: 50px auto; */
    margin-top: 20px;
}

.journey_LabelsContainer {
    margin-top: 5px;
}

.progressbar_List {
    list-style: none;
    display: flex;
    /*width: 250px;*/
    padding: 0;
}

.progressbar_List li {
    position: relative;
    width: 40px; /* FGE 2025-06-09 Réduction pour optimisation affichage initialement 60px; => 50px => 40px */
}

.progressbar_List .progressbar_Label {
    color: black;
    text-align: center;
	font-size: smaller;
}

.progressbar_List .progressbar_Valeur:before {
    /* aligner tous au centre */
    display: flex;
    align-items: center;
    justify-content: center;

    /* contenu de l'etape */
    /* content: attr(data-step); */
    content: " ";

    /* cercle */
    width: 10px;
    height: 10px;
    border: 2px solid black;
    border-radius: 50%;

    background: #FFFFFF;
    color: black;

    position: absolute;
    top: -15px;
    left: 15px; /* FGE 2025-06-09 Réduction pour optimisation affichage initialement 25px; => 20px => 15px */
    /*z-index: 99;*/
}

.progressbar_List .progressbar_Valeur:after {
    /*  Trait entre step  */
    content: '';
    width: 20px; /* FGE 2025-06-09 Réduction pour optimisation affichage initialement 40px; => 30px => 20px*/
    height: 3px;
    background: black;
    position: absolute;
    top: -12px;
    left: -10px; /* FGE 2025-06-09 Réduction pour optimisation affichage initialement -20px; => -15px => */
}

.progressbar_List .progressbar_Valeur:first-child:after {
    width: 0;
}

.progressbar_List .progressbar_Valeur.active:before {
    background: #4cae4f;
    color: #fff;
    border:none;
}

.progressbar_List .progressbar_Valeur.active:after {
    background: #4cae4f;
    border:none;
}

.progressbar_List .progressbar_Label.active {
    color: #4cae4f;
}

/* FGE 2025-05-12 ajouts pour champ date IEA */
:root {
    --color-blue-50: #eff6ff;
    --color-blue-600: #2563eb;
    --color-blue-700: #1d4ed8;
    --color-blue-800: #1e40af;
    --color-yellow-600: #ca8a04;
    --color-yellow-700: #a16207;
    --color-red-600: #dc2626;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-green-600: #16a34a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 20px;
    background: #f3f4f6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.date-display {
    position: relative;
    display: inline-block;
}

.date-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px 12px 12px;
    font-size: 13px;
    border-radius: 4px;
    min-width: 120px;
    font-weight: 500;
    margin: 4px 0;
}

.date-badge[data-type="schedule"] {
    border: 1px solid var(--color-blue-700);
    color: var(--color-blue-800);
    background: var(--color-blue-50);
}

.date-badge[data-type="estimated"] {
    border: 1px solid var(--color-yellow-600);
    color: var(--color-yellow-700);
    background: #fefce8;
}

.date-badge[data-type="actual"] {
    background: var(--color-blue-600);
    color: white;
}

.date-badge.past {
    opacity: 0.8;
}

.date-type {
    position: absolute;
    top: -6px;
    right: -3px;
    padding: 1px 4px;
    font-size: 9px;
    background: #f3f4f6;
    color: var(--color-gray-700);
    border-radius: 2px;
    text-transform: capitalize;
}

.delta-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px 4px;
    font-size: 10px;
    font-weight: 500;
    color: white;
    border-radius: 3px;
}

.delta-badge.positive {
    background: var(--color-red-600);
}

.delta-badge.negative {
    background: var(--color-gray-500);
}

.overdue-indicator {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-33%, -33%);
    background: var(--color-red-600);
    color: white;
    padding: 3px;
    border-radius: 50%;
    animation: pulse 2s infinite;
    font-size: 10px;
}

.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 4px;
    width: 220px;
    padding: 10px;
    background: var(--color-gray-800);
    color: white;
    font-size: 11px;
    border-radius: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 10;
}

.dateIEA:hover .tooltip {
    visibility: visible;
    opacity: 1;
}
.datetimeIEA:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.tooltip::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--color-gray-800);
}

.tooltip h4 {
    color: aliceblue;
    font-size: 12px;
    margin: 0 0 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--color-gray-700);
}

.tooltip-row {
    margin: 6px 0;
    display: flex;
    justify-content: space-between;
}

.tooltip-label {
    font-weight: 500;
}

.tooltip-label.schedule { 
    color: #4b7fd5;
    background-color: #eff6ff;
    border: 1px solid #4b7fd5; 
    width: 80px;
    border-radius: 2px;
    padding: 0 2px 0 2px;
}
.tooltip-label.estimated { 
    color: #ca8a04;
    background-color: #fefce8;
    border: 1px solid #ca8a04; 
    width: 80px;
    border-radius: 2px;
    padding: 0 2px 0 2px;
}
.tooltip-label.actual { 
    color: #ffffff;
    background-color: #5182ef;
    width: 80px;
    border-radius: 2px;
    padding: 0px 2px 0px 2px; 
}

.tooltip-deltas {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid var(--color-gray-700);
    font-size: 10px;
}

.tooltip-delta {
    margin: 3px 0;
    display: flex;
    justify-content: space-between;
    color: var(--color-gray-400);
}

.tooltip-delta span {
    color: var(--color-gray-300);
}

.tooltip-delta .positive {
    color: #ffffff;
    background-color: #dc2626;
    border-radius: 2px;
}

.flight-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.flight-table th {
    background: var(--color-gray-800);
    color: white;
    text-align: left;
    padding: 12px;
    font-weight: 500;
    font-size: 14px;
}

.flight-table td {
    padding: 12px;
    border-bottom: 1px solid var(--color-gray-300);
    font-size: 14px;
}

.flight-table tr:last-child td {
    border-bottom: none;
}

.flight-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-planned {
    background: var(--color-blue-50);
    color: var(--color-blue-700);
}

.status-delayed {
    background: #fee2e2;
    color: var(--color-red-600);
}

.status-ontime {
    background: #dcfce7;
    color: var(--color-green-600);
}

.status-inflight {
    background: #f3e8ff;
    color: #7e22ce;
}

@keyframes pulse {
    0% { transform: translate(-33%, -33%) scale(1); }
    50% { transform: translate(-33%, -33%) scale(1.1); }
    100% { transform: translate(-33%, -33%) scale(1); }
}

.pod {
    padding-left: 2px !important;
    padding-right: 2px !important;
    min-width: 50px;
    border-radius: 5px;
    background-color: antiquewhite;
  }
  
  .dau {
    padding-left: 2px !important;
    padding-right: 2px !important;
    min-width: 50px;
    border-radius: 5px;
    background-color: darkgray;
  }
  
  .inv {
    padding-left: 2px !important;
    padding-right: 2px !important;
    min-width: 50px;
    border-radius: 5px;
    background-color: lightgreen;
  }
  
  .bl {
    padding-left: 2px !important;
    padding-right: 2px !important;
    min-width: 50px;
    border-radius: 5px;
    background-color: aliceblue;
  }
  
  .lta {
    padding-left: 2px !important;
    padding-right: 2px !important;
    min-width: 50px;
    border-radius: 5px;
    background-color: skyblue;
  }

  table.dataTable.hover tbody tr:hover,table.dataTable.display tbody tr:hover{
    background-color:inherit;
  }
  table.dataTable.hover tbody tr:hover.selected,table.dataTable.display tbody tr:hover.selected{
    background-color:inherit;
  }
  /* FGE 20250806 on change desormais la bordure et plus le fond **
  table.dataTable tbody tr.completed.selected  {
    background-color: #aab7d1;
  }
  */
  
  table.dataTable tbody tr.selected {
    background-color:transparent;
    border-width: 4px;
    border-color: #B0BED9;
    border-style: solid;
  }
  table.dataTable tbody tr.completed,
  table.dataTable tbody tr:hover.completed,
  table.dataTable tbody tr:hover.selected.completed
   {
    background-color: #f3ffe1;
  }
  table.dataTable tbody tr.cancelled,
  table.dataTable tbody tr:hover.cancelled,
  table.dataTable tbody tr:hover.selected.cancelled
   {
    background-color: #fce1ff;
  }
  .sidenav {
    z-index: 9;
  }
  .notfilled {
    background-color: rgb(241, 215, 219);
  }
  .form-control {
    font-size: inherit;
  }
  #navbar {
    z-index: 9; /* FGE 2025-06-08 Pour être toujours au dessus entête datatable flottante */
  }