/* switch to legacy */
/*#switch-to-legacy-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 4px;
    padding-bottom: 4px;
}

#switch-to-legacy-view > a {
    font-size: 16px;
    font-weight: bold;
}*/

#switch-to-legacy {
    background-color: #1a0b82;
}

#switch-to-legacy-view {
    display: flex;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 6px;
    padding-bottom: 6px;
}

#switch-to-legacy-view > a {
    color: #f2f2f2;
    font-size: 16px;
}

#switch-to-legacy-view > a:hover {
    text-decoration: underline;
}

/* hot links */
#hot-links {
    background-color: #1a0b82;
    z-index: 2;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
}

#hot-links-view {
    justify-content: space-between;

}

.hot-links-span {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hot-link-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.hot-link-wrapper:hover > .hot-link-item > p {
    text-decoration: underline;
}

.hot-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    padding-bottom: 16px;
    cursor: pointer;
    align-self: stretch;
}

.hot-link-icon {
    height: 16px;
}

.hot-link-hint-dropdown {
    width: 12px;
    opacity: 50%;
}

.hot-link-item > p {
    font-size: 16px;
    color: #f2f2f2;
    font-weight: bold;
    white-space: nowrap;
    transform: translateY(1.25px);
}

.hot-link-separator > img {
    height: 24px;
    opacity: 25%;
}

.hot-link-translation {
    height: 16px;
    border-radius: 2px;
}

.hot-link-dropdown {
    position: absolute;
    display: flex;
    top: 100%;
    width: max-content;
    background-color: #1a0b82;
    flex-direction: column;
    border-radius: 0px 0px 8px 8px;
    z-index: 1;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: none;
}

.hot-link-dropdown > p {
    background-color: transparent;
    color: #f2f2f2;
}

.hot-link-dropdown-left {
    left: 0px;
}

.hot-link-dropdown-right {
    right: 0px;
}

.dropdown-item {
    padding-right: 16px;
    padding-left: 16px;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-item:hover .dropdown-cabinet-status p {
    opacity: 90%;
}

.dropdown-item > div:nth-child(1) {
    display: flex;
    gap: 8px;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

.dropdown-item > div:nth-child(1) > p {
    font-size: 16px;
    color: #f2f2f2;
}

.dropdown-item-disabled {
    pointer-events: none;
    opacity: 50%;
}

.dropdown-item-disabled:hover {
    background-color: initial !important;
}

.dropdown-link {
    height: 12px;
    opacity: 50%;
}

.dropdown-cabinet-status {
    background-color: #f2f2f2;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 4px;
}

.dropdown-cabinet-status > p {
    color: #1a0b82;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.dropdown-cabinet-status-loading {
    height: 12px;
}

.dropdown-separator {
    width: 100%;
    height: 2px;
    background-color: #f2f2f2;
    opacity: 25%;
}

.hot-link-dropdown-country {
    height: 16px;
    border-radius: 2px;
    /*border: 1px solid #f2f2f2;*/
}

/*#translationItem {
    opacity: 50%;
    cursor: not-allowed;
}*/

/* customer info */
#customer-info {
    padding-top: 16px;
    padding-bottom: 16px;
}

#customer-info-view {
    justify-content: space-between;
    height: fit-content;
}

#customer-info-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

#customer-info-logo > img {
    width: 128px;
}

#customer-info-logo > p {
    font-size: 16px;
    font-weight: bold;
    color: #0d0d0d;
}

.customer-info-separator {
    display: inline-block;
    width: 2px;
    align-self: stretch;
    background-color: #0d0d0d;
    border-radius: 1px;
    opacity: 25%;
}

#customer-info-support {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#customer-info-support > div:nth-of-type(1) > p {
    font-size: 16px;
}

#customer-info-support-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#customer-info-support-links > a {
    display: flex;
    align-items: center;
    gap: 8px;
}

#customer-info-support-links > a > img {
    height: 16px;
}

#customer-info-support-links > a > p {
    font-size: 18px;
    color: #0d0d0d;
}

#customer-info-submit {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#customer-info-submit > div:nth-child(1) {
    display: flex;
    align-items: center;
    gap: 8px;
}

#customer-info-submit > div:nth-child(1) > p {
    font-size: 16px;
}

.customer-cabinet-status {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 4px;
}

.customer-cabinet-status-error {
    background-color: #A80000;
}

.customer-cabinet-status-ok {
    background-color: #006000;
}

.customer-cabinet-status > p {
    font-size: 12px;
    font-weight: bold;
    color: #f2f2f2;
}

#customer-info-submit > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#customer-info-submit > div:nth-child(2) > a {
    font-size: 16px;
}

#customer-info-submit img {
    height: 16px;
}

#customer-info-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#customer-info-methods > div:nth-of-type(1) > p {
    font-size: 16px;
}

#customer-info-methods > div:nth-of-type(2) {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

#customer-info-methods > div:nth-of-type(2) > div > img {
    width: 64px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0px 2.5px 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

/* navbar */
#navbar {
    background-color: #1a0b82;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    /*margin-bottom: 48px;*/
}

#navbar-view {
    justify-content: space-between;
}

.navbar-item-wrapper {
    display: flex;
    position: relative;
    align-self: stretch;
    align-items: center;
}

.navbar-item-wrapper:hover > .navbar-item > div > p {
    text-decoration: underline;
}

.navbar-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 8px;
    align-self: stretch;

}

.navbar-item > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar-item > div > p {
    font-size: 16px;
    color: #f2f2f2;
    font-weight: bold;
    text-align: center;
}

.navbar-dropdown {
    position: absolute;
    display: flex;
    top: 100%;
    width: max-content;
    background-color: #1a0b82;
    flex-direction: column;
    border-radius: 0px 0px 8px 8px;
    z-index: 1;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;

    display: none;
}

.nav-bar-hint-dropdown {
    width: 12px;
    opacity: 50%;
}

.nav-bar-separator > img {
    height: 24px;
    opacity: 25%;
}

/* mobile */
#header-mobile {
    position: fixed;
    background-color: #1a0b82;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 48px;
    z-index: 4;
    touch-action: none;
}

#header-mobile-view {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: 32px;
}

#header-mobile-view > div {
    display: flex;
    width: 80px;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    -webkit-tap-highlight-color: transparent;
}

#header-mobile-view > div:first-of-type {
    justify-content: left;
}

#header-mobile-view > div:last-child {
    justify-content: right;
    gap: 8px;
}

.header-mobile-logo > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.header-mobile-logo > a > img {
    width: 64px;
}

.header-mobile-item {
    cursor: pointer;
}

.header-mobile-item > img:nth-child(1) {
    width: 24px;
}

.header-mobile-item > img:nth-child(2) {
    width: 18px;
    opacity: 50%;
}

.header-mobile-dropdown {
    position: fixed;
    width: 100%;
    background-color: #1a0b82;
    padding-top: 80px;
    flex-direction: column;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    overflow: auto;
    max-height: 100%;
    z-index: 3;
    border-radius: 0px 0px 16px 16px;
    display: none;
}

*.mobile-dropdown-item {
    display: flex;
    flex-direction: row;
    padding-left: 32px;
    padding-right: 32px;
    gap: 16px;
    align-items: center;
    cursor: pointer;
}

*.mobile-dropdown-cabinet-item {
    display: flex;
    flex-direction: column;
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 16px;
    cursor: pointer;
}

.mobile-dropdown-cabinet-item-nest {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-dropdown-cabinet-item-nest > p {
    font-size: 18px;
    color: #f2f2f2;
    font-weight: bold;
}

.mobile-dropdown-cabinet-item-nest > img {
    height: 18px;
}

.header-mobile-dropdown > *:not(:last-child) {
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
}

*.mobile-dropdown-item > p {
    font-size: 18px;
    color: #f2f2f2;
    font-weight: bold;
    margin-top: 16px;
    margin-bottom: 16px;
}

*.mobile-dropdown-item > .country {
    height: 18px;
    border-radius: 2px;
}

*.mobile-dropdown-item > .arrow-right {
    width: 18px;
    margin-left: auto;
}

*.mobile-dropdown-cabinet-item > .cabinet-status {
    width: 18px;
    align-self: center;
}

*.mobile-dropdown-item > .arrow-left {
    width: 18px;
    opacity: 100%;
}

*.mobile-dropdown-item > .spacer-left {
    display: inline-block;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
}

.header-mobile-dropdown > *.disabled {
    opacity: 50%;
    pointer-events: none;
}

*.mobile-dropdown-cabinet-item > .status-box {
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: #f2f2f2;
    border-radius: 6px;
    align-self: center;
}

*.mobile-dropdown-cabinet-item > .status-box > p {
    font-size: 14px;
    font-weight: bold;
    color: #1a0b82;
    white-space: nowrap;
}

.mobile-dropdown-cabinet-status {
    display: flex;
    background-color: rgba(0, 0, 0, 0.25);
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding-left: 32px;
    padding-right: 32px;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
}

.mobile-dropdown-cabinet-status > p {
    font-size: 18px;
    font-weight: bold;
    color: #f2f2f2;
    text-align: center;
}

.mobile-dropdown-cabinet-status > img {
    width: 18px;
    opacity: 50%;
}

.mobile-dropdown-cabinet-status > div {
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 3px;
    border-radius: 6px;
}

.mobile-dropdown-cabinet-status > div.ok {
    background-color: #006000;
}

.mobile-dropdown-cabinet-status > div.error {
    background-color: #A80000;
}

.mobile-dropdown-cabinet-status > div > p {
    font-size: 14px;
    font-weight: bold;
    color: #f2f2f2;
    white-space: nowrap;
}

#headerMobileDropdownBackground {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 50%;
    z-index: 2;

    display: none;
}

#headerMobileTopPadding {
    display: block;
    width: 100%;
    height: 80px;
}

/* weird thingy */
#navbar-margin-replace {
    width: 100%;
    height: 48px;
}