/* Radio part */
gtn650-element #RadioPart {
    width: 100%;
    height: 72%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    background-color: black;
    overflow: hidden;
}
gtn650-element #RadioPart #ComGroup, gtn650-element #RadioPart #NavGroup{
    height: 70%;
}

gtn650-element #RadioPart #NavGroup{
    display: none;
}
gtn650-element #RadioPart #XPDRGroup{
    height: 30%;
}

gtn650-element #RadioPart .buttonsContainer{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    position: relative;
}
gtn650-element #RadioPart .gradientButton {
    font-size: 2.5vw;
    height: 100%;
}
gtn650-element #RadioPart #ComActiveButton, gtn650-element #RadioPart #ComStandbyButton, gtn650-element #RadioPart #NavActiveButton, gtn650-element #RadioPart #NavStandbyButton {
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
gtn650-element #RadioPart #ComActiveButton, gtn650-element #RadioPart #NavActiveButton {
    overflow: visible;
}
gtn650-element #RadioPart #ComActiveButton .gradientButton, gtn650-element #RadioPart #NavActiveButton .gradientButton {
    position: static;
}
gtn650-element #RadioPart #ComStandbyButton, gtn650-element #RadioPart #NavStandbyButton {
    /* max-height: 47%; */
}
gtn650-element #RadioPart .comStdbySep {
    pointer-events: none;
    width: 100%;
    position: absolute;
    bottom: 40%;
    z-index: 2;
    left: 0;
}
gtn650-element #RadioPart .comStdbySep img, gtn650-element #RadioPart .comNavSep img {
    width: 98%;
    margin-left: 1%;
} 
gtn650-element #RadioPart .comNavSep {
    pointer-events: none;
    width: 100%;
    position: absolute;
    bottom: 48%;
    left: 0;
}
gtn650-element #RadioPart .FreqTitle, gtn650-element #RadioPart .FreqName {
    align-self: flex-start;
    /* padding-top: 0.3vw; */
    color: #a7aec7;
    text-align: left;
}
gtn650-element #RadioPart .FreqName {
    font-size: 2vw;
    color: #fbfbfb;
    padding-left: 0.5vw;
    padding-bottom: 0.5vw;
    overflow: hidden;
    min-height: 2.5vw;
}
gtn650-element #RadioPart .ActiveFreq, gtn650-element #RadioPart .StandbyFreq {
    font-size: 4.5vw;
    /* letter-spacing: -0.05em;
    line-height: 4.0vw; */
}
gtn650-element #RadioPart .ActiveFreq {
    color: #00fb00;
}
@keyframes swapFrequencyDown {
    0% {
        top: 110%;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        top: 0;
    }
}
@keyframes swapFrequencyUp {
    0% {
        bottom: 110%;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        bottom: 0;
    }
}
gtn650-element #RadioPart #NavActiveFreq[mode=swap], gtn650-element #RadioPart #ComActiveFreq[mode=swap] {
    position: relative;
    z-index: 3;
    animation: swapFrequencyDown 300ms;
}
gtn650-element #RadioPart #NavStandbyFreq[mode=swap], gtn650-element #RadioPart #ComStandbyFreq[mode=swap] {
    position: relative;
    z-index: 3;
    animation: swapFrequencyUp 300ms;
}
gtn650-element #RadioPart .FrecDecimalDot {
    /* letter-spacing: -0.15em;
    margin-left: -0.15em; */
}
gtn650-element #RadioPart #ComVolume, gtn650-element #RadioPart #NavVolume {
    position: absolute;
    display: none;
    top: 18%;
    left: 4%;
    width: 92%;
    height: 29%;
    background-color: black;
    z-index: 1;
}
gtn650-element #RadioPart #ComVolume #ComVolumeValueCursorContainer, gtn650-element #RadioPart #NavVolume #NavVolumeValueCursorContainer {
    position: relative;
    width: 90%;
    margin-left: 5%;
    height: 90%;
    bottom: 60%;
    background: linear-gradient(to right, #004d8d 0%, #5180ad 70%, #7c9ebb 100%);
    -webkit-clip-path: polygon(100% 0, 0 100%, 100% 100%);
}
gtn650-element #RadioPart #ComVolume #ComVolumeValueCursor, gtn650-element #RadioPart #NavVolume #NavVolumeValueCursor {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 20%;
    background-color: #404040;
}
gtn650-element #RadioPart #ComVolume .title, gtn650-element #RadioPart #NavVolume .title {
    position: absolute;
    right: 2%;
    bottom: 2%;
    color: black;
    font-size: 2.5vw;
}

gtn650-element #RadioPart #XPDRIdentButton {
    display: none;
}
gtn650-element #RadioPart #XPDRIdentButton #XPDRIdentValue {
    font-size: 5vw;
    padding-top: 1vw;
}
gtn650-element #RadioPart #XPDRIdentButton #XPDRIdentIdFlag {
    font-size: 2.3vw;
    position: absolute;
    right: 2%;
    top: 0;
    color: #00fb00;
    visibility: hidden;
}
gtn650-element #RadioPart #XPDRIdentButton #XPDRIdentIdFlag[state=Active] {
    visibility: visible;
}
gtn650-element #RadioPart #XPDRIdentButton #XPDRIdentReportFlag {
    font-size: 2.3vw;
    position: absolute;
    right: 30%;
    top: 0;
    color: #00fb00;
    visibility: hidden;
}
gtn650-element #RadioPart #XPDRIdentButton #XPDRIdentReportFlag[state=Active] {
    animation: FlashVisibility 0.7s infinite;
}
gtn650-element #RadioPart #XPDRValueButton {
    color: #fbfbfb;
}
gtn650-element #RadioPart #XPDRValueButton[state=Active] {
    color: #00fb00;
}
gtn650-element #RadioPart #XPDRValueButton #XPDRValue {
    font-size: 5vw;
    padding-top: 1vw;
}
gtn650-element #RadioPart #XPDRValueButton #XPDRReportFlag {
    font-size: 2.3vw;
    position: absolute;
    right: 2%;
    top: 2.8vw;
    visibility: hidden;
}
gtn650-element #RadioPart #XPDRValueButton #XPDRMode {
    font-size: 2.3vw;
    position: absolute;
    right: 2%;
    top: 0;
}
gtn650-element #RadioPart #XPDRValueButton #XPDRReportFlag[state=Active] {
    animation: FlashVisibility 0.7s infinite;
}
gtn650-element #RadioPart #XPDRValueButton #XPDRIdFlag {
    font-size: 2.3vw;
    position: absolute;
    right: 2%;
    bottom: 0;
    color: #00fb00;
    visibility: hidden;
}
gtn650-element #RadioPart #XPDRValueButton #XPDRIdFlag[state=Active] {
    visibility: visible;
}
gtn650-element #RadioPart .gradientButton[state=Selected] {
    background: none;
    background-color: #008989;
}
gtn650-element #RadioPart .gradientButton[state=Selected] .StandbyFreq {
    color: black;
}
gtn650-element #RadioPart .gradientButton[state=Selected] .FreqName {
    color: black;
}


/* Transponder */
gtn650-element #transponder {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 1vw;
    z-index: 8;
}
gtn650-element #transponder[state=Active] {
    display: flex;
    animation: slideTopIn 200ms;
}
gtn650-element #transponder #transponder_line1 {
    margin: 1% 0 2% 0;
    display: flex;
    justify-content: space-between;
}
gtn650-element #transponder #transponder_line2 {
    display: flex;
    justify-content: flex-end;
}
gtn650-element #transponder #transponder_line3 {
    display: flex;
    justify-content: space-between;
    width: 92%;
    margin-top: 1vw;
}
gtn650-element #transponder .buttonsContainer {
    height: 9vw;
    min-width: 16vw;
}
gtn650-element #transponder .gradientButton {
    height: 100%;
}
gtn650-element #transponder #transponderTitle {
    text-align: right;
    font-size: 5vw;
    color: #fbfbfb;
    margin-top: 3.5vw;
}
gtn650-element #transponder #transponder_CodeDisplay {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 7vw;
    color: #fbfbfb;
    font-size: 5vw;
    line-height: 5vw;
    text-align: center;
    margin: 1vw 8% 1vw 8%;
    width: 30vw;
    background-color: #404040;
}
gtn650-element #transponder #transponder_NumberKeyboard {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    max-width: 80%;
    margin: 0 2% 0 8%;
}
gtn650-element #transponder #transponder_NumberKeyboard .buttonsContainer {
    min-width: 9vw;
    height: 9vw;
    margin: 0 2vw 1vw 0;
}
gtn650-element #transponder #transponder_NumberKeyboard .gradientButton {
    font-size: 5vw;
}
gtn650-element #transponder #transponder_Code .Writed, gtn650-element #transponder #transponder_Code .ToWrite {
    background-color: none;
    color: aqua;
}
gtn650-element #transponder #transponder_Code .Writing {
    animation: SelectedCharKeyboardInputEdit 1s infinite;
    min-width: 0.5vw;
    min-height: 4vw;
    display: inline-block;
}
