@font-face {
    font-family: 'ticketing';
    src: local('ticketing'), url('Ticketing.ttf') format('truetype');
}
@font-face {
    font-family: 'Unispace';
    font-weight: 400;
    src: local('Unispace'), url('https://fonts.cdnfonts.com/s/26120/UNISI___.woff') format('woff');
}

body{
    background-color: rgb(18, 19, 26);
}

#title{
    height: 60px;
    background-color: #490808;
    margin-bottom: 5px;
    color: white;
    text-align: center;
    font-size: 3em;
}
#title span{
    height: 100%;
}

#container {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
}


#PFD{
    aspect-ratio: 1.36;
    border: 1px solid white;
    width: 45%;
    display: none;
}

#MFD{
    border-left: 2px solid rgb(138, 138, 138);
    border-right: 2px solid rgb(138, 138, 138);
    border-top: 2px solid rgb(138, 138, 138);
    border-bottom: 1px solid rgb(138, 138, 138);
    width: 1024px;
    height: 768px;
    scale: 1;
    position: absolute;
    transform-origin: top;
}

#coms {
    display: flex;
    background-color: rgb(20, 20, 20);
    border: 1px solid white;
    height: auto;
    width: 100%;
}
.coms_text {
    display: flex;
}


.active_coms{
    border: 2px solid cyan;
}
.active_arrows{
    color:  cyan;
    font-weight: bolder;
}

button {
    background-color: rgb(32, 32, 32);
    outline: #ffffff;
    border: white solid 1px;
    color: white;
    border-radius: 6px;
    margin-left: 3px;
}

#main{
    height: 92.5%;
    width: 100%;
    background-color: black;
    display: flex;
    border-bottom: 1px solid white;
}
#engine_para{
    background-color: rgb(18, 19, 26);

    border-right: 1px solid white;
    height: 100%;
    width: 15%;
}
#flight_ins{
    height: 100%;
    width: 85%;
    overflow: hidden;
    position: relative;
    
}

#attitude{
    width: 2000px;
    height: 4000px;
    position: absolute;
    display: none;
}
.speed_num{
    font-size: 30px;
    fill:white; 
    text-anchor: end;
    font-family: "ticketing";
}
.altitude_num{
    font-size: 25px;
    fill:white; 
    text-anchor: end;
    font-family: "ticketing";
}
#speed{
    display: flex;
    position: absolute;
    top: 70px;
    left: 1px;
    width: 86px;
    height: 360px;
    background-color: rgba(0,0,0,.3);
    border: white solid 1px;

}
#tas{
    display: flex;
    position: absolute;
    top: 430px;
    left: 1px;
    width: 86px;
    height: 25px;
    background-color: black;
    border: white solid 1px;

}
#oat{
    display: flex;
    position: absolute;
    top: 475px;
    left: 1px;
    width: 86px;
    height: 25px;
    background-color: black;
    border: white solid 1px;

}
#wind{
    display: flex;
    position: absolute;
    top: 435px;
    left: 90px;
    width: 86px;
    height: 45px;
    background-color: black;
    border: white solid 1px;

}
#Altimeter{
    display: flex;
    position: absolute;
    top: 70px;
    left: 551px;
    width: 107px;
    height: 360px;
    background-color: rgba(0,0,0,.2);
    border: white solid 1px;
}
#vsi{
    display: flex;
    position: absolute;
    top: 82.5px;
    left: 658px;
    width: 68px;
    height: 325px; 
}
#qnh{
    display: flex;
    position: absolute;
    top: 430px;
    left: 551px;
    width: 107px;
    height: 25px;
    background-color: black;
    border: white solid 1px;

}
#time{
    display: flex;
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 123px;
    height: 24px;
    background-color: black;
    border: white solid 1px;

}
#hsi{
    display: flex;
    position: absolute;
    top: 365px;
    left: 146px;
    width: 324px;
    height: 332px;
}
#turncord{
    display: flex;
    position: absolute;
    top: 35px;
    left: 110.5px;
    width: 395px;
    height: 310px;
    
}

#pitch{
    display: flex;
    position: absolute;
    top: 100px;
    left: 208px;
    width: 200px;
    height: 260px;
}
#fix_att{
    display: flex;
    position: absolute;
    top: 239px;
    left: 88px;
    width: 440px;
    height: 41px;
}

#map
{
    background-color: #000000;
    height: 215px;
    width: 275px;
    position: absolute;
    bottom: 30px;
    right: 10px;
    
    filter: invert(100%) hue-rotate(226deg) brightness(100%) contrast(160%);
}
.leaflet-control-attribution,.leaflet-control-container {
    display: none !important;
}
#map2
{
    background-color: #000000;
    height: 215px;
    width: 275px;
    position: absolute;
    bottom: 30px;
    right: 10px;
    border: white solid 2px;
}
#map3
{
    height: 215px;
    width: 275px;
    position: absolute;
    bottom: 30px;
    right: 10px;
    border: white solid 2px;
}


.anim {
    transition: all 1s;
}

#torque {
    width: 100%;
    height: 18.6%;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 2%;
}
#itt {
    width: 100%;
    height: 13%;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 2%;
}
#ng {
    width: 100%;
    height: 13%;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 2%;
}

#prop {
    width: 100%;
    height: 3.35%;
    position: relative;
    display: flex;
    justify-content: center;
    padding: 2%;
}

.guage_text {
    width: 100%;
    height: 6.67%;
    display: flex;
}


#oil_guage_p {
    width: 100%;
    height: 6%;
    display: flex;
}

#oil_guage_t {
    width: 100%;
    height: 6%;
    display: flex;
}
#fuel {
    width: 100%;
    height: 39.52%;
    display: flex;
}

.svg {
    height:100%; 
    width:100%; 
    overflow: hidden;
    fill: transparent;
    transition: all 1s;
}


.T_small{
    font-size: xx-small;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif ;
    stroke-width:0.5px;
    stroke:#ffffff
}

.T_read {
    font-family: 'ticketing';
    text-anchor:end;
    stroke-width:3px; 
    font-weight:500;
    fill: white;
    dominant-baseline: alphabetic;
}

.T_label {
    font-family: 'ticketing';
    text-anchor:start;
    stroke-width:3px; 
    font-weight:500;
    fill: white;
    dominant-baseline: alphabetic;
}
.T_ind {
    font-family: 'ticketing';
    text-anchor:middle;
    stroke-width:3px; 
    font-weight:500;
    fill: white;
    dominant-baseline: alphabetic;
}
.warning_yellow_hand {
    fill: yellow !important;
    stroke: yellow !important;
    animation: blink-animation 1s steps(5, start) infinite;
}
    
.warning_yellow {
    filter: url(#Wrn);
    fill: black;
    animation: blink-animation 1s steps(5, start) infinite;
   
}
.warning_red_hand {
    fill: red !important;
    stroke: red !important;
    animation: blink-animation 1s steps(5, start) infinite;
}

.warning_red {
    filter: url(#Lmt);
    fill: red;
    font-weight: bolder;
    animation: blink-animation 1s steps(5, start) infinite;
}
.warning_green {
    fill: limegreen;
}

.blink {
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1s steps(5, start) infinite;
  }
  @-webkit-keyframes blink-animation {
    to {
      visibility: hidden;
    }
  }


#slider {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background-color: black;
}
.slider:hover {
    opacity: 1;
  }

.slider {
    -webkit-appearance: none;
    width: 80%;
    height: 10px;
    margin-top: 5px;
    border-radius: 5px;  
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%; 
    background: #04AA6D;
    cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #04AA6D;
    cursor: pointer;
  }

#splat{
    
    margin-top: 3%;
    margin-left: 3%;
    width: 40%;
    height: 90%;
    object-fit: cover;
    position: absolute;
    object-position: 60% 50%;
}

#splat_text{
    
    margin-top: 10%;
    margin-left: 53%;
    width: 40%;
    height: 90%;
    object-fit: cover;
    position: absolute;
    color: white;
    stroke: none;
    fill: white;
}
#splat_text :nth-child(1){
    font-family: 'ticketing';
    font-size: 3em;
}
#splat_text :nth-child(2){
    font-family: 'ticketing';
    font-size: 1em;
}
#splat_text :nth-child(3){
    margin-top: 40px;
    font-size: 1.3em;
}
#splat_text :nth-child(5){
    margin-top: 40px;
    font-size: 1.3em;
}
#splat_text :nth-child(6){
    margin-top: 40px;
    font-size: 4em;
    position: absolute;
    right: 0;
}

#dragger{
    margin-top: 30px;
    display: flex;
    height: 200px;
    width: 450px;
    position: relative;
    outline: dashed 5px #223634;
    border-radius: 14px;
    justify-content: space-evenly;
    align-items: center;
    cursor: pointer;
}
#startup_panel{
    background-color: black;
    z-index: 15;
    width: 100%;
    height: 100%;
    position: absolute;
}
#startup_panel_soft{
    z-index: 16;
    height: 25px;
    bottom: -28px;
    position: absolute;
    right: 0;
}
.soft_key{
    background-color: rgb(32, 32, 32);
    font-family: "ticketing";
    font-size: 1.2em;
}
#soft{
    height: 25px;
    bottom: -4px;
    position: relative;
}
#recall_panel{
    background-color: black;
    z-index: 15;
    width: 100%;
    height: 100%;
    position: absolute;
    color: white;
    font-size: 1.2em;
    text-align: center;
}

#recal_body{
    margin-top: 40px;
    margin-left: 40px;
    width: fit-content;
}
#recall_title{
    font-size: 2em;
}

#recall_filebox{
    border: 1px solid gray;
    text-align: left;
}
.recall_cell{
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 3px;
    padding-bottom: 3px;
    width: 100%;
}
.recall_cell:hover {
    background-color: dimgray;
    cursor: pointer;
}
#recall_table_head{
    background-color: #0e4648;
    width: 100%;
    padding-left: 30px;
    color: #82c0f5;
    font-weight: bolder;
}

#recall_table_head2{

    padding-left: 194px;
}
.soft_key:hover{
    background-color: rgb(32 49 86);
}

.media_buttons{
    border-radius: 13px;
    background-color: #223634;
    width: 35px;
    text-align: center;
    font-size: 1.4em;
    border: 1px solid #3b504e;
    margin-left: 3px;
    margin-right: 3px;
}
.media_holder{
    position: absolute;
    top:-31px;
    display: flex;
    left: 42%;
    
}
.media_selected{
    background-color: #00498f !important;
}

.media_buttons:hover {
    background-color: #47706c;
    cursor: pointer;
}