/* Page procedure */
gtn650-element #PageProcs .page {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    overflow: hidden;
    position: relative;
}
gtn650-element #MainPart[state=PageProcs] #PageProcs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
gtn650-element #PageProcs #PageProcsContent  {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

gtn650-element #PageProcs #PageProcsContent > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 70%;
}
gtn650-element #PageProcs #PageProcsContent > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28%;
    margin-right: 1%;
}
gtn650-element #PageProcs #PageProcsContent .buttonsContainer {
    height: 10.7vw;
    width: 96%;
    margin-bottom: 1vw;
    margin-top: 0.5vw;
}
gtn650-element #PageProcs #PageProcsContent > div:last-child .titleTop {
    margin-top: 1vw;
}
gtn650-element #PageProcs #PageProcsContent .gradientButton {
    height: 100%;
    width: 100%;
}
gtn650-element #PageProcs #PageProcsContent .ProcMenuName {
    position: absolute;
    bottom: 0;
    text-align: center;
    font-size: 3vw;
    line-height: 3.5vw;
    margin: 0 0 4% 3%;
    width: 95%;
    overflow: hidden;
    white-space: nowrap;
}

/* Procedure selection pages */
gtn650-element #DepartureSelection.popup[state=Active], #ArrivalSelection.popup[state=Active], #ApproachSelection.popup[state=Active] {
    display: block;
    background-color: #262834;
    animation: slideRightIn 200ms;
}
gtn650-element .procSelContent {
    display: flex;
    flex-direction: column;
    width: 98%;
    margin: 1%;
    margin-top: 0;
    height: 96%;
}
gtn650-element .procSelContent > div {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    margin-bottom: 2%;
}
gtn650-element .procSelContent .procSelPreviewContent {
    height: 90%;
    display: none;
}
gtn650-element #DepartureSelection[mode=Preview] .procSelPreviewContent, gtn650-element #ArrivalSelection[mode=Preview] .procSelPreviewContent, gtn650-element #ApproachSelection[mode=Preview] .procSelPreviewContent {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 95%;
    margin-bottom: 0;
    margin-top: 1%;
}
gtn650-element .procSelContent .procSelButtonsContent {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 90%;
    margin-top: 2%;
}
gtn650-element #DepartureSelection[mode=Preview] .procSelButtonsContent, gtn650-element #ArrivalSelection[mode=Preview] .procSelButtonsContent, gtn650-element #ApproachSelection[mode=Preview] .procSelButtonsContent {
    display: none;
}
gtn650-element #DepartureSelection[mode=Preview] .windowTitle .pageTitleImg, gtn650-element #ArrivalSelection[mode=Preview] .windowTitle .pageTitleImg, gtn650-element #ApproachSelection[mode=Preview] .windowTitle .pageTitleImg {
    display: none;
}
gtn650-element #DepartureSelection[mode=Preview] .windowTitle .pageTitle, gtn650-element #ArrivalSelection[mode=Preview] .windowTitle .pageTitle, gtn650-element #ApproachSelection[mode=Preview] .windowTitle .pageTitle {
    font-size: 3.5vw;
    color: #fbfbfb;
}
gtn650-element .procSelContent .procSelButtonsContent >div{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
/* Sequence */
gtn650-element .procSelPreviewContent .SelSequence {
    width: 44%;
    background-color: black;
    position: relative;
}
/* Sequence title */
gtn650-element .procSelPreviewContent .SelSequence .title {
    width: 100%;
    text-align: center;
    height: 8%;
}
/* Sequence lines container */
gtn650-element .procSelPreviewContent .SelSequence .container {
    width: 100%;
    height: 85%;
    position: absolute;
    bottom: 5%;
    overflow-y: scroll;
    overflow-x: hidden;
}
gtn650-element .procSelPreviewContent .SelSequence .container::-webkit-scrollbar {
    width: 2vw;
}
gtn650-element .procSelPreviewContent .SelSequence .container::-webkit-scrollbar-track {
    background: none;
}
gtn650-element .procSelPreviewContent .SelSequence .container::-webkit-scrollbar-thumb {
    background:  #8b8b8b;
}

/* Sequence line */
gtn650-element .procSelPreviewContent .SelSequence .SelSequenceLine {
    display: flex;
    justify-content: space-around;
    width: 100%;
    color: #fbfbfb;
    height: 11.2%;
}
gtn650-element .procSelPreviewContent .SelSequence .SelSequenceLine[state=Inactive] {
    display: none;
}
/* Sequence ident */
gtn650-element .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(1) {
    width: 30%;
    text-align: left;
    padding-left: 2%;
}
/* Sequence logo */
gtn650-element .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(2) {
    width: 9%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
/* Sequence logo image*/
gtn650-element .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(2) img {
    width: 4vw;
    margin-bottom: 1vw;
}
/* Sequence bearing */
gtn650-element .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(3) {
    width: 17%;
    text-align: right;
}
gtn650-element #DepartureSelection[mode=Preview] .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(3), gtn650-element #ArrivalSelection[mode=Preview] .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(3), gtn650-element #ApproachSelection[mode=Preview] .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(3) {
    font-size: 2vw;
}
/* Sequence distance */
gtn650-element .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(4) {
    width: 27%;
    text-align: right;
    padding-right: 2%;
}
gtn650-element #DepartureSelection[mode=Preview] .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(4), gtn650-element #ArrivalSelection[mode=Preview] .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(4), gtn650-element #ApproachSelection[mode=Preview] .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(4) {
    font-size: 2vw;
}
/* Sequence distance unit*/
gtn650-element .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(4) span {
    font-size: 1.5vw;
    padding-left: 5%;
}
gtn650-element #DepartureSelection[mode=Preview] .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(4) span, gtn650-element #ArrivalSelection[mode=Preview] .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(4) span, gtn650-element #ApproachSelection[mode=Preview] .procSelPreviewContent .SelSequence .SelSequenceLine div:nth-child(4) span {
    font-size: 1.5vw;
}
/* Map container */
gtn650-element .procSelContent .procSelMap {
    width: 55%;
    position: relative;
}

/* Buttons */
gtn650-element .procSelContent .procSelButtonsContent .buttonsContainer {
    height: 10.3vw;
    width: 47%;
    margin: 0.7vw;
}
gtn650-element .procSelContent .procSelButtonsContent >div:last-child .buttonsContainer {
    width: 30%;
}
gtn650-element .procSelContent .procSelButtonsContent > div .titleTop {
    margin-top: 2%;
}
gtn650-element .procSelContent .procSelButtonsContent .gradientButton {
    height: 100%;
    width: 100%;
}
gtn650-element .procSelContent .procSelButtonsContent .gradientButton img{
    height: 65%;
}
gtn650-element .procSelContent .procSelButtonsContent .ProcSelButtonValue {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    font-size: 3vw;
    line-height: 3.5vw;
    margin: 0 0 5% 4%;
    width: 93%;
    overflow: hidden;
    white-space: nowrap;
}
