#subHeader {
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 11;
    transition-duration: .3s;
}

#languageSelectDesktopSubheader {
    display: none;
}

#languageDetectionContainer {
    display: none;
}

#mobilePlatformSelected {
    display: block;
    position: fixed;
    opacity: .7;
    right: 12px;
    top: calc(12px + var(--mobileTopAnchorHeight));
    width: 26px;
    height: 26px;
    background-size: cover;
    z-index: 8;
}

#mobilePlatformContainer {
    display:block;
}

#platformOverlay {
    position: fixed;
    display: none;
    background-color: rgba(0, 0, 0, .7);
    width: 100vw;
    height: calc(100vh - 50px);
    top: 50px;
    left: 0;
    opacity: 0;
    z-index: 9;
    transition-duration: .3s;
}

.platformPC {
    top: 50px;
}

.platformPS4 {
    top: 150px;
}

.platformXbox {
    top: 250px;
}

.platformSwitch {
    top: 350px;
}

.platform {
    display: block;
    position: fixed;
    right: -100px;
    z-index: 10;
    transition-duration: .3s;
}

@media (max-width: 800px) {
    .platform {
        left: auto !important;
    }
}

.platformImg {
    display: block;
    width: 80px;
    margin: 10px;
}

.platformText {
    display: none;
}

#pricesInKeysContainer {
    display: none;
}

@media (min-width: 800px) {
    /* #subHeader{
        display: block;
        background-color: rgba(54, 54, 54, .75);
        color: #b5b5b5;
        left: 0;
        padding: 0;
        top: 50px;
        width: 100% !important;
        max-width: 1280px;
        height: 40px;
        letter-spacing: .5px;
        text-align: left;
        top: 80px;
        font-size: 14px;
    } */




    #pricesInKeysContainer {
        display: flex;
        flex-flow:row nowrap;
        justify-content: space-between;
        float: right;
        cursor: default;
        margin-right: 40px;
    }



    #pricesInKeysText {
        white-space: nowrap;
        float: left;
        margin: 0;
        font-size: 12px;
        line-height: 40px;
    }

    #pricesInKeysIconContainer{
        float: right;
        margin: 8px;
        height: 24px;
        width: 24px;
    }

    #keyIcon {
        width:100%;
    }
    
    #creditIcon{
        width:  20px;
        margin: 10px 0 10px 10px;
    }
    
    
    #mobilePlatformSelected {
        top: 12px;
    }
    /*
    #platformOverlay {
        display: none !important;
    }

    .platformPC {
        top: 0;
    }

    .platformPS4 {
        top: 0;
    }

    .platformXbox {
        top: 0;
    }

    .platformImg {
        display: none;
    }

    .platformSelected .platformText {
        border: 1px solid #b5b5b5;
    }*/
}

#subHeaderFlexContainer{
    display:none;
}

@media (min-width: 1250px) {
    #subHeader {
        display:block;
        background-color:rgba(52,52,52,.9);
        color:#b5b5b5;
        width:1280px;
        left: 0;
        right: 0;
        margin: 0 auto;
        padding:0;
        max-width: 1280px;
        height:40px;
        letter-spacing:.5px;
        text-align: left;
        top:80px;
        font-size: 14px;
        box-shadow: 0 2px 4px rgba(0,0,0,.2);
    }
    
    #mobilePlatformContainer {
        display:none;
    }

    .platformText{
        display:inline-block;
        line-height:20px;
        margin:9px 0;
        padding:1px 3px;
    }

    #subHeaderFlexContainer{
        left: 277px;
        width: 739px;
        visibility: hidden;
        position:relative;
        display:flex;
        flex-flow:row nowrap;
        justify-content: space-between;
    }

    #subHeaderLeftFlexContainer{
        display:flex;
        flex-flow:row nowrap;
        justify-content: space-between;
        width: 190px;
    }

    #subHeaderRightFlexContainer{
        display:flex;
        flex-flow:row nowrap;
        justify-content: flex-end;
    }

    #languageSelectDesktopSubheader {
        display: block;
        margin-top: 5px;
        width: fit-content;
    }

    #languageSelectLabelDesktopSubheader {
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-end;
        cursor: pointer;
        padding-top: 4px;
        background-color: rgba(30, 30, 30, 0);
        transition: background-color 0.2s;
    }

    #languageSelectLabelDesktopSubheader:hover {
        background-color: rgba(30, 30, 30, 0.5);
    }

    #languageSelectLabelDesktopSubheader:hover #languageSelectIconSubheader {
        opacity: .85;
    }

    #languageSelectLabelDesktopSubheader:hover #languageSelectionArrowSubheader {
        filter: invert(1);
    }

    #languageSelectLabelDesktopSubheader:hover #languageSelectTextSubheader {
        color: white;
    }

    #languageSelectIconSubheader{
        margin-left: 10px;
        opacity: .65;
        transition: opacity .2s;
    }

    #languageSelectIconSubheader img {
        width: 24px;
    }

    #languageSelectTextSubheader {
        display: block;
        line-height: 24px;
        font-size: 12px;
        transition: color 0.2s;
        font-family: welcomePageSubTitle, sans-serif;
        text-transform: uppercase;
        margin-left: 10px;
    }

    #languageSelectionArrowSubheader {
        transition: transform .2s, filter 0.2s;
        filter: invert(0.7);
        height: 24px;
    }

    #languageSelectionArrowSubheader img {
        width: 24px;
        height: 24px;
    }

    #languageSelectDropdownContainerDesktopSubheader {
        position: absolute;
        overflow-y: hidden;
        right: -59px;
        display: none;
        width: 183px;
        padding: 8px 0;
        background-color: RGB(30, 30, 30);
        z-index: 30;
        height: fit-content;
        max-height: calc(100vh - 200px);
        opacity: 0.5;
        transition: opacity 0.3s, max-height 0.3s;

    }

    .languageSelectOptionContainerSubheader {
        display: flex;
        flex-flow: row nowrap;
        justify-content: start;
        margin: 3px 0;
        padding: 0px 20px 0 34px;
        background-color: rgba(0, 0, 0, 0);
        transition: background-color 0.1s;
        cursor: pointer;
        height: 24px;
    }

    .languageSelectOptionContainerSubheader img {
        filter: brightness(100%) saturate(100%);
        transition: filter 0.1s;
    }

    .languageSelectOptionContainerSubheader:hover {
        background-color: rgba(0, 0, 0, 0.3);
    }

    .languageSelectOptionContainerSubheader:hover .languageSelectOptionLabelSubheader {
        color: white;
    }

    .languageSelectOptionContainerSubheader:hover img {
        filter: brightness(120%) saturate(120%);
    }

    .languageFlagsContainerSubheader {
        display: flex;
        flex-flow: row nowrap;
        overflow: hidden;
        justify-content: flex-end;
        width: 78px;
        height: 100%;
    }

    .languageFlagSpriteSubheader {
        margin-left: 3px;
        height: 100%;
        width: 24px;
    }

    .languageSelectOptionLabelSubheader {
        margin-left: 10px;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 18px;
        line-height: 26px;
        transition: color 0.1s;
        /* text-transform: uppercase; */
    }

    .languageFlagSprite {
        margin-left: 3px;
        height: 100%;
        width: 24px;
    }

    .languageFlagSprite img {
        width: 100%;
        margin: 0;
    }
    
    .regionInfoText{
        margin: 14px 20px 5px 20px;
        padding: 10px 0 0 0;
        border-top: rgba(255,255,255,.2) solid 1px;
        color: rgb(170,170,170);
        cursor: default;
        font-size: 13px;
        text-align: center;
    }
    
    #languageDetectionContainer {
        display: flex;
        position: absolute;
        opacity: 0;
        flex-flow: column nowrap;
        justify-content: flex-start;
        transition: opacity .8s;
        top: 32px;
        right: 0;
    }
    
    #lDPointer {
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid rgb(54, 88, 101);
    
        margin: 0;
        left: calc(100% - 20px);
        /* right: 8px; */
        position: relative;
    }
    
    #lDMainContainer {
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-start;
        margin: 0;
        padding: 20px;
        background-color: rgb(54, 88, 101);
    }
    
    #lDQuery {
        font-size:14px;
        color: white;
        line-height: 18px;
        cursor: default;
    }
    
    #lDButtonContainer {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        margin-top: 15px;
        width: fit-content;
    }
    
    .lDButton {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        padding: 10px;
        background-color: rgba(0,0,0,.2);
        filter: brightness(1);
        color: white;
        cursor: pointer;
        transition: background-color .3s, filter .3s;
        margin-right: 20px;
    }
    
    .lDButton:last-child {
        margin-right: 0;
    }
    
    .lDButton:hover{
        filter: brightness(1.2);
        background-color: rgba(0,0,0,.35);
    }
    
    .lDFlag {
        height: 30px;
        width: 30px;
        margin: auto;
    }
    
    .lDFlag img{
        height:100%;
    }
    
    .lDText {
        font-size: 12px;
        line-height: 30px;
        text-transform: uppercase;
        margin:0 10px;
    }
    
    #mobilePlatformSelected{
        display:none;
    }

    #platformOverlay{
        display:none !important;
    }

    .platformPC{
        top:0;
    }
    .platformPS4{
        top:0;
    }
    .platformXbox{
        top:0;
    }
    .platformSwitch{
        top:0;
    }
    .platform{
        display:inline-block;
        position:relative;
        margin:0;
        right:auto;
        z-index:10;
    }

    .platformImg{
        display:none;
    }
    .platformSelected .platformText{
        border:1px solid #b5b5b5;
        margin: 8px -1px;
    }

}
