/* PageNearestAirport page */
gtn650-element #PageNearestAirport {
    position: relative;
}
gtn650-element #PageNearestAirport #NearestAirport_List {
    background-color: black;
}
gtn650-element #PageNearestAirport >div:first-child.windowTitle {
    display: none;
}

/* PageNearestIntersection page */
gtn650-element #PageNearestIntersection {
    position: relative;
}
gtn650-element #PageNearestIntersection #NearestIntersection_List {
    background-color: black;
}
gtn650-element #PageNearestIntersection >div:first-child.windowTitle {
    display: none;
}

/* PageNearestVOR page */
gtn650-element #PageNearestVOR {
    position: relative;
}
gtn650-element #PageNearestVOR #NearestVOR_List {
    background-color: black;
}
gtn650-element #PageNearestVOR >div:first-child.windowTitle {
    display: none;
}

/* PageNearestNDB page */
gtn650-element #PageNearestNDB {
    position: relative;
}
gtn650-element #PageNearestNDB #NearestNDB_List {
    background-color: black;
}
gtn650-element #PageNearestNDB >div:first-child.windowTitle {
    display: none;
}

/* PageNearestAirspace page */
gtn650-element #PageNearestAirspace .windowTitle {
    height: 10%;
}
gtn650-element #PageNearestAirspace >div:first-child.windowTitle {
    display: none;
}
gtn650-element #PageNearestAirspace >div:last-child {
    margin: auto;
    width: 99%;
    height: 99%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: black;
}
gtn650-element #PageNearestAirspace >div:last-child >div:first-child {
    height: 7%;
    margin: 0 1% 0 1%;
    width: 95%;
    padding-right: 10%;
    display: flex;
}
gtn650-element #PageNearestAirspace >div:last-child >div:first-child >div:last-child {
    position: relative;
    left: 58%;
}
gtn650-element #PageNearestAirspace #NearestAirspaceList_LinesBlock {
    height: 92%;
    margin: 0 1% 0 1%;
    width: 98%;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
    padding-right: 1%;
}
gtn650-element #PageNearestAirspace .buttonsContainer {
    width: 100%;
    height: 96%;
    margin: 0.5%;
}
gtn650-element #PageNearestAirspace .gradientButton {
    width: 100%;
    height: 100%;
    color: #fbfbfb;
    text-align: left;
    font-size: 3vw;
    line-height: 3vw;
}
gtn650-element #PageNearestAirspace .gradientButton >div {
    margin: 2%;
}
/* Type */
gtn650-element #PageNearestAirspace .gradientButton .type {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 1% 1% 0 1%;
    padding-left: 10%;
    z-index: 2;
    background-color: black;
    font-size: 2.5vw;
}
gtn650-element #PageNearestAirspace .gradientButton:Hover:Active .type {
    background: linear-gradient(0deg, #0f3170 0%, #1c4680 100%);
}
gtn650-element #PageNearestAirspace .gradientButton .type[type="Prohibited"], gtn650-element #PageNearestAirspace .gradientButton .type[type="Danger"] {
    color: red;
}
gtn650-element #PageNearestAirspace .gradientButton .type[type="Restricted"] {
    color: orange;
}

gtn650-element #PageNearestAirspace #NearestAirspaceList_LinesBlock::-webkit-scrollbar {
    width: 2vw;
}
gtn650-element #PageNearestAirspace #NearestAirspaceList_LinesBlock::-webkit-scrollbar-track {
    background: none;
}
gtn650-element #PageNearestAirspace #NearestAirspaceList_LinesBlock::-webkit-scrollbar-thumb {
    background:  #8b8b8b;
}
gtn650-element #PageNearestAirspace #NearestAirspaceList_LinesBlock .LineContainer {
    height: 32%;
    margin-top: 1%;
}
gtn650-element #PageNearestAirspace #NearestAirspaceList_LinesBlock .LineContainer[state=Inactive] {
    display: none;
}
gtn650-element #PageNearestAirspace #NearestAirspaceList_LinesBlock .LineContainer[state=Active] {
    display: flex;
}
gtn650-element #PageNearestAirspace #NearestAirspaceList_LinesBlock .LineContainer {
    display: flex;
}
gtn650-element #PageNearestAirspace #NearestAirspaceList_LinesBlock .LineContainer >div:first-child {
    flex-grow: 1;
}
gtn650-element #PageNearestAirspace #NearestAirspaceList_LinesBlock .LineContainer >div:last-child {
    min-width: 40%;
    max-width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 1%;
    padding-right: 1%;
}
