/* Darkseagreen colors https://www.htmlcsscolor.com/hex/8FBC8B */
html,
body {
    overflow: auto;
}

main {
    background-color: darkseagreen;
    font-family: Tahoma, Sans-Serif;
    font-size: 20px;
    margin: 0px;
    /*height: 100vh;
    width: 100vw; */
}

.pointer {
    cursor: pointer;
}
  
.collapsible {
    background-color: #d5ffd5;;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    font-weight: bold;
  }
  
 .active, .collapsible:hover {
    background-color: #d5ffd5;
  }
 

  .content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: darkseagreen;
  }

  .collapsible:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: white;
    float: right;
    margin-left: 5px;
  }
  
  .active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
  }
  
input[type='number'] {
    width: 4rem;
}

p {
    margin: 0;
}

a {
    color: blue;
}

h1 {
    margin: 0;
    padding: 0;
}

thead {
    background-color: #d5ffd5;
    font-weight: bold;
    text-align: bottom;
    cursor: pointer;
}

div#header_section {
    background-color: darkseagreen;
    color: black;
    height: 100%;
    padding: 0%;
    overflow: auto;
    font-size: large;
}

div#datetime {
    background-color: darkseagreen;
    text-align: center;
    font-size: 0.6em;
    font-weight: bold;
    
}

div#map_container {
    background-color: darkseagreen;
    height 100%;
    width: 100%;
    position: relative;

}

div#map_canvas {
    height: 500px;
    border: white;
    border-style: solid;
    border-width: 2px;
}

div#meters {
    overflow-y: auto;
    height: 100%;
    border: white;
    border-style: solid;
    border-width: 1px;
}

div#planes {
    height: 100%
    overflow-y: auto;
    border: white;
    border-style: solid;
    border-width: 1px;
}

div#selected_infoblock {
    background-color: yellow;
    color: black;
}

div#update_error {
    position: absolute;
    bottom: 25px;
    left: 25px;
    border: 2px solid red;
    background-color: #FFFFA3;
    opacity: 0.75;
    filter: alpha(opacity=75);
    padding: 5px;
    text-align: center;
}

#MapReset {
    position: absolute;
    right: 0.5em;
    top: 0.5em;
    font-size: 0.75em;
    padding: 0.25em;
    border-radius: 0.25em;
    z-index: 900;
    color: black;
    background-color: #BC8BA8;
}

#tableinfo,
#sudo_buttons {
    font-size: x-small;
    font-family: monospace;
}

.vPosition {
    font-weight: bold;
    background-color: #d5ffd5;
}

.selected {
    background-color: yellow;
}

.plane_table_row {
    cursor: pointer;
}

.hidden {
    display: none;
}

.infoblock_heading {
    font-size: larger;
}

.infoblock_heading a {
    text-decoration: none;
    color: blue;
    font-size: x-small;
}

.infoblock_body {
    font-size: small;
}

#selected_icao {
    font-size: x-small;
}

#selected_registration {
    font-size: large;
}

#selected_icaotype {
    font-size: x-small;
}

.dim {
    opacity: 0.3;
    filter: alpha(opacity=30);
    /* For IE8 and earlier */
}

@media only screen and (min-width: 1100px) {
    .layout-grid {
        display: grid;
        gap: 1px;
        grid-template-columns: 3fr 1.2fr 1.8fr;
        grid-template-rows: 2.5em 90%;
        grid-template-areas: 'header datetime datetime' 'map meters planes'; 
        height: 100%;
        width: 100%;
        position: absolute;
    }
    div#map_canvas {
        height: 100%;
    }  
    div#header_section {
        grid-area: header;
        font-size: larger;
    }
    div#datetime {
        grid-area: datetime;
        line-height: 50px;
    }
    div#map_container {
        grid-area: map;
    }
    div#meters {
        grid-area: meters;

    }
    div#planes {
        grid-area: planes;
        overflow-x: auto;
    }
}
