body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 10px;
    background-color:transparent;
    background-color:black; ;
    font-family: Arial, Helvetica, sans-serif;
    
}

/* For Webkit browsers (Chrome, Safari, etc.) */
body::-webkit-scrollbar {
    display: none;
}

/* For all browsers */
html, body {
    scrollbar-width: none;  /* For Firefox */
    -ms-overflow-style: none;  /* For Internet Explorer and Edge */
}


.tablet {
    width: 550px;
    height: 750px;
    background-color: #333;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px 3px #f2ececb4;
    padding-top: 10px;
    padding: 10px;
    box-sizing: border-box;
    margin-top: 40px;
    position: relative;
    border: white;
}

.menu-bar {
    height: 50px;
    display: block;
    align-items: center;
    background-color: #333; /* Slightly lighter gray for contrast */
    padding: 0 10px; /* Increased padding for better spacing */ 
    border-radius: 30px; /* Rounded corners for the menu bar */
    color: white;
    padding-right: 7px;
    font-size: small;
    justify-content: space-between; /* Pushes left and right elements apart */
    align-items: center;

}

.screen {
    height: 250px;
    max-height: 250px;
    width:100%;
    max-width: 100%;
    min-width: 100%;
    max-height: 250px;
    overflow: hidden; /* Ensure content does not cause overflow */
    background-color: black;

    border: 2px solid #888; /* Light gray border for the screen area */
    justify-content: left;
    align-items: left;
    padding: 5px;
    box-sizing: border-box; /* Ensure padding/border is included in height calculation */
    border-radius: 20px;
    margin-bottom: 5px;
}






.table-container {

    margin-top: 5px;
    width:100%;
    height: 300px; /* Reduced height to fit within the tablet */
    background-color: #222222;
    border-radius: 20px;
    border: 2px solid #888; /* Light gray border for the table container */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto; /* Push to the bottom of the tablet */
    box-sizing: border-box; /* Ensure padding/border is included in height calculation */
    overflow: hidden; /* Turn off scrollbars */
    background: black;
}

.footer-bar {
    width: 100%;
    height: 40px; /* Increased size for the footer */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px; /* Margin to space out from other elements */
   
}

.footer-content {
    color: white;
    font-size: 18px;
}


/*************** Drop down menus ***************/

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;

}

/* Dropdown button */
.dropbtn {
    background-color: #333;
    color: white;
    font-size: small;
    border: none;
    cursor: pointer;

}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(200, 196, 196, 0.2);
    z-index: 1;
    font-size: small;
    width: 160px;
    z-index: 5000;
    border-radius: 20px;
    border-bottom-right-radius: 30px;
    border-top-right-radius: 30px;
}




/* Links inside the dropdown */
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-narrow {
    width: 100px;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #575757}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #575757;
}

/*************** ***************/

.fas {
    padding-left: 5px;
    padding-right: 5px;
}

#ATSULabel {
    font-weight: bold;
    width: 80px;


}

.ATSUSpan {
    width:120px;
    padding-left: 2px;

}

.tabulator {
    width:100%;
    white-space: normal;
    word-wrap: break-word;
}

.tabulator-cell {
    white-space: normal;
    word-wrap: break-word;
}

.tabulator .tabulator-tableHolder {
    overflow: -moz-scrollbars-none;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background: black;
}

.tabulator .tabulator-tableHolder::-webkit-scrollbar {
    display: none;
}


/***** Blink *****/
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  /* Blinking class */
  .blink {
    animation: blink 1s step-start infinite;
  }

  /*    footer */
.footer-span {
    display: inline-block;
    width: 33.33%;
  /*  text-align: left; */
    color:white;
}


#span2 {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 11pt;
    font-family: B612;

}





#clockSpan {
 /*   padding-left:60px; */
    right: 11px; 
    top: 0px;
    z-index: 5000;
    color: greenyellow;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; 

 }

.screenImage{
    background-color: #151415;
    align-items: center;
    justify-content: center;
    display: flex;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;

}

#ACARSIndicator {
    padding-left: 20px;
}


.pdcSync {
    color: white;
    position: absolute;
    font-size: medium;
    z-index: 5000;
    left: 35;
    top: 5;
}


.simple-keyboard.hg-layout-default .hg-button.hg-green {


    background-color: darkgreen;
    color: white;
}

.simple-keyboard.hg-layout-default .hg-button.hg-red {
    background-color: rgba(173, 22, 22, 0.915);
    color: white;
}

.simple-keyboard.hg-layout-default .hg-button.hg-amber {
    background-color:rgba(194, 132, 25, 0.64);
    color: white;
}


  .label.hg-cyan {
    color:cyan
}

#acarStatus.label.hg-cyan {
    color:rgb(38, 255, 0)
}

}

.label.hg-white {
    color:rgb(255, 255, 255)
}


/*   cookie banner */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgb(97 95 96 / 93%);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 16px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    display: none;
}

.cookie-banner p {
    margin: 0;
    padding-right: 20px;
    flex-grow: 1;
}

.cookie-banner button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.cookie-banner button:hover {
    background-color: #45a049;
}

/*   overlaytext */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark background with transparency */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's on top of everything */
    opacity: 0;
    transition: opacity 0.5s ease; /* Smooth fade-in and fade-out */
}

/* Visible state */
.overlay.show {
    display: flex;
    opacity: 1;
}

/* Image inside the overlay */
.overlay-image {
    max-width: 100%;
    max-height: 80%;
    border: 3px solid white;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5);
    cursor: pointer; /* Indicate the user can click */
}

.closeOverlay{
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 24px;
    cursor: pointer;
}


/** version */
.versiondiv {
    position:absolute;
    left:0px;
    bottom:0px;
    padding-bottom: 5px;


    color:rgb(206, 205, 205);
    font-size: smaller;    
    opacity: 1;
    transition: opacity 10s ease;
}


  .fade-out {
    opacity: 0;
  }


  .fade-out {
    opacity: 0;
  }

  /*** Tooltip ***/ 
   /* Tooltip text */
   .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 800;
    font-size: small;
    font-weight: lighter;
}
.tooltip_left {
    top: 0px;      
    right: 50px;
    font-size: medium;
      
}

.tooltip_right {
    top: 0px;      
    left: 40px;
    font-size: medium;
      
}

.tooltip_top {
    bottom: 70px;      
    font-size: medium;
    left:-60px;      
}

.tooltip_bottom {
    top: 50px;      
    font-size: medium;
    right:0px;
      
}


/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    z-index: 800;
}

.bottomIcon {
    padding-left:10px;
}

i:hover {
    cursor: pointer;
}

/**** flight ID *****/
#flight_id {    

    color: rgb(255, 255, 255);

    font-family: 'B612';
}

#CALLSIGN {
   min-width:120px;
   width:120px
}

.callsign {
    min-width:100px;
    width:100px
 }

.ICAO {
    min-width: 65px;
}