﻿.pms-app-bar .mdc-top-app-bar__row{
    height: 50px !important;
}

/*app bar language selecting*/
.language-select-box {
    appearance: menulist-button !important;
    -webkit-appearance: listbox !important;
    width: 70px !important;
    padding: 0 !important;
    margin: 0;
    border: 1px solid black;
    font-size: 10px !important;
    height: 23px;
    animation: fadeIn 1.7s ease-in-out forwards;
}

@media only screen and (min-width: 1200px) {
    .language-select-box {
        width: 75px !important;
        font-size: 12px !important;
        height: 24px;
    }
}
@media only screen and (min-width: 1400px) {
    .language-select-box {
        width: 80px !important;
        font-size: 14px !important;
        height: 25px;
    }
}
@media only screen and (min-width: 1600px) {
    .language-select-box {
        width: 85px !important;
        font-size: 15px !important;
    }
}
@media only screen and (min-width: 1800px) {
    .language-select-box {
        width: 90px !important;
        font-size: 16px !important;
    }
}

/*app bar logo*/
.gtc-logo-menu {
    width: 140px;
    animation: fadeIn 1.1s ease-in-out forwards;
}

/*page captions*/
.page-header-context {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 12px;
}

.pageCaption {
    margin: 0;
    min-width: 0;
    max-width: 100%;
    color: black !important;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-header-help-link {
    display: inline-flex;
    flex: 0 0 auto;
    text-decoration: none;
}

.pms-app-bar .sectionend {
    flex: 0 0 auto;
}
/*grid captions*/
.grid-caption{
    color: black !important;
    width: fit-content;
    padding: 5px;
    text-align: center;
    font-size: 16px;
}
.section-highlight-background{
    background-color: #ededed;
    border: 1px solid gray;
    border-radius: 5px;
    padding: 5px;
    margin: 5px 0 5px 0;
}

@media only screen and (max-width: 1800px) {
    .pageCaption{
        font-size: 28px;
    }
}
@media only screen and (max-width: 1600px) {
    .page-header-context {
        padding: 0 8px;
    }
}
@media only screen and (max-width: 1200px) {
    .pageCaption{
        font-size: 23px;
    }
}
@media only screen and (max-width: 800px) {
    .pageCaption{
        font-size: 18px;
    }
}
@media only screen and (max-width: 500px) {
    .pageCaption{
        font-size: 13px;
    }
}

/*moved from NewAppBar razor*/
.logout-button{
    background-color: transparent;
    border: none !important;
    font-size: 24px !important;
    padding: 0;
}
.logout-button span{
    font-size: 24px !important;
}
.logout-button:hover{
    background-color: transparent;
    text-decoration: underline;
}

.matwhite .mat-drawer{
    width: fit-content;
}

.date-time-link{
    margin-bottom: 0 !important;
}

.sectionend button.matwhite {
    color: white;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    padding: 5px 5px;
    gap: 5px;
    align-items: center;
    font-size: 20px !important;
}
.login-buttons button span{
    font-size: 20px !important;
}
.page > .main > .pms-app-bar{
    padding: 0!important;
}

.pms-mdc-drawer{
    top: 50px;
    right: 0;
    height: auto;
    position: fixed;
}
.profile-settings-menu{
    width: auto !important;
}

/* User Notification Message Center bell */
.unmc-notification-bell {
    position: relative;
    width: 35px;
    height: 35px;
    margin: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-color-white, #fff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: fadeIn 1.4s ease-in-out forwards;
}
.unmc-notification-bell:hover {
    background: rgba(255, 255, 255, 0.12);
}
.unmc-notification-bell .material-icons,
.unmc-notification-bell .mat-icon {
    color: var(--text-color-white, #fff);
    font-size: 26px;
}
.unmc-notification-badge {
    position: absolute;
    top: 1px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: #d32f2f;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    font-weight: 700;
}

/*help center right top bar button*/
.help-center-button {
    width: 35px;
    height: 35px;
    margin-left: 0;
    border-radius: 50px;
    background: linear-gradient(56deg, rgba(47, 229, 224, 1) 0%, rgba(26, 185, 223, 1) 100%) !important;
    z-index: 10;
    border: 2px solid white;
}
.help-center-button::after {
    content: attr(data-tooltip);
    transform: translateX(-50%);
    background: rgba(0,0,0,0.75);
    color: white;
    font-size: 13px !important;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.help-center-button:hover::after {
    opacity: 1;
}
.help-center-button img{
    width: 100%;
}

/*nav bar animated*/
.menu-app-bar-button {
    animation: fadeIn 0.8s ease-in-out forwards;
}
.login-info .account-info, .profile-app-bar-button {
    animation: fadeIn 1.4s ease-in-out forwards;
}
.login-info .date-and-time{
    animation: fadeIn 1.1s ease-in-out forwards;
}