/***********

variables

************/

:root {
    --small-content-height: 60px;
    --aside-nav-button-margin: 2px;
}
/***********
    main
************/

/* general */



/* titles */
h1 {
    font-size: 1.25rem !important;
    font-weight: bold !important;
}

h2 {
    font-size: 1.25rem !important;
}

h3 {
    font-size: 1rem !important;
    font-weight: bold !important;
}

h4 {
    font-size: 1rem !important;
}   

h5 {
    font-size: 0.875rem !important;
}

.sapMLnkDsbl {
    color: black !important;
    opacity: 1 !important;
}

.green-dot-badge {
    background-color: var(--sapBrandColor);
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}
.nav-item-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: relative;
}

.nav-item {
    width: 100%;
    border-radius: 10px;
    background: transparent;
    height: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: start;
}

.nav-item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 1000;
    padding: 0.5rem;
    margin: 0.5rem;
    width: 100%;
}

.nav-item-content-left {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 80%;
}

.nav-item-content-right {
    display: flex;
    align-items: center;
    justify-content: end;
}

.nav-icon {
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item-sublist-container {
    margin-left: 50px;
    flex-grow: 100;
    width: calc(100% - 50px);
}

.nav-item-sublist > * {
    width: 100%;
}

.nav-item-sublist {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
}

.nav-expander {
    align-self: end;
    justify-self: end;
}

.border-bottom {
    width: 80%;
    bottom: 0;
    border-bottom: 2px solid lightgray;
    position: absolute;
    flex: none;
    border-radius: 0;
}

.nav-item:hover {
    box-shadow: 0px 15px 10px -12px var(--sapBrandColor);
}

.mainPage {
    background-color: white;
}

.transparent {
    background-color: transparent;
}

.navigation-list > li > * {
    background-color: transparent;
}

.main-content {
    padding: 2rem;
}

.main-content > * {
    width: 100%;
    height: 100%;
}

.side-content {
    transition: width 0.5s;
    container-name: sidenav;
    container-type: size;
}

@container sidenav (width < 12rem) {
    .logo-image {
        padding: 5px !important;
        border-radius: 5px !important;
        width: 80% !important;
    }
    .nav-text {
        display: none !important;
        transition: display 0.5s;
        overflow: hidden;
    }
    .logo-text {
        display: none !important;
    }
    .logo-container {
        justify-content: center;
    }
    .logo-container > *{
        width: auto !important;
    }
    .nav-expander {
        display: none !important;
    }

    .nav-item-content-right {
        display: none !important;
    }

    .nav-item-content-left {
        justify-content: center;
    } 
}

.tab-container {
    height: 100%;
    width: 100%;
}

.sapTntNLIWithExpander.sapTntNLITwoClickAreas .sapUiIcon:last-of-type {
    border-left: none !important;
}

.vertical-separator {
    justify-self: center;
    border-left: 1px solid var(--sapBrandColor);
    height: 90%;
    position: relative;
    top: 5%;
}
.MCsmallDescription {
    font-size: 0.8em; /* Adjust size as needed */
    color: #6c757d;   /* Optional: Change the color */
}


.logo-image {
    background-color: #ffffff89;
    border-radius: 15px;
    width: 40%;
    padding: 15px;
}

.logo-text {
    font-size: 1em;
    font-weight: 500;
    padding-right: 0.5em;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo-container > * {
    width: 100%;
    display: flex;
    justify-content: center;
}

.logo-img {
    border-radius: 5px;
    height: 90%;
    background-color: #ffffff;
    margin: 5px;
}

.scroll-container {
    height: 100% !important;
    margin: 0% !important;
    padding: 0% !important;
}
.scroll-container > * {
    width: 100%;
    height: 100%;
}

.nav-container {
    height: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.hidden-if-empty:empty {
    display: none;
}

.aside {
    margin: 16px 16px 0 16px;
    width: calc(4 * (var(--small-content-height) + var(--aside-nav-button-margin)) + 16px + 8px);
    min-width: calc(4 * (var(--small-content-height) + var(--aside-nav-button-margin)) + 16px + 8px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    container-name: aside;
    container-type: size;   
}

.aside > * {
    margin-bottom: 1rem;
}

.sapUiTableHdr {
    padding-left: 0 !important;
}

.options {
    margin: 16px 16px 0 16px;
    width: calc(4 * (var(--small-content-height) + var(--aside-nav-button-margin)) + 16px + 8px) !important;
}

@media screen and (max-width: 1400px) {
    .aside {
        width: 3rem;
        min-width: 3rem;
    }

    .mc-search-table {
        width: 100% !important;
    }

    .mc-search-aside {
        width: 100% !important;
    }
    
}

/* .aside:not(.aside:has(.mc-link)) {
    width: 3rem;
    min-width: 3rem;
} */

@container aside (width < 5rem) {

    .mc-link .sapMText{
        display: none;
    }

    .mc-options-hbox {
        flex-wrap: wrap !important;
    }

    .mc-options-hbox > * {
        margin: 0 0 1rem 0 !important;
    }

    .mc-options {
        margin-bottom: 0 !important;    
    }
}   
.sapFAvatarColorAccent6 {
    background-color: var(--sapBrandColor) !important;
}

/* .sapMTitleStyleAuto {
    font-size: 1.125rem !important;
} */

.header-container {
    margin: 16px 1rem 0 16px;
    width: auto !important;
}

.header-container > * {
    flex-grow: 1;
}

.main {
    margin: 16px 0 0 16px;
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: start;
    flex-wrap: wrap;
    min-width: min-content;
    width: fit-content;
}

.main .mc-quicksearch {
    width: 100%;
    order: 0 !important;
}

.mc-quicksearch-input > div{
    border-radius: 5px;
}

.main > * {
    margin-bottom: 1rem;
    margin-right: 1rem;
    order: 100;
}

.sapMScrollContScroll {
    width: 100%;
    height: min-content;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.sapMScrollContScroll > .sapMFlexBox {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    overflow: overlay;
}

/***********************
    custom controls  
************************/

/* link */
.mc-link {
    height: var(--small-content-height);
    max-width: 25rem;
    background-color: transparent;
    padding: 0 0;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    color: var(--sapButton_Emphasized_Background);
    cursor: pointer;
    min-width: var(--small-content-height);    
    border-color: var(--sapButton_Emphasized_Background);
    border-width: 0.5px;
    border: solid;
    width: 100%;
    container-type: size;
    container-name: mc-link;
}

@container mc-link (width < 6rem) {
    .mc-link .mc-link-vbox {
        display: none;
    }
}



.mc-link .mc-link-control {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mc-link > * {
    height: 100%;
}

.mc-link-icon {
    width: 3rem;
    margin-left: 4px;
    margin-right: 4px;
}


.mc-link-vbox {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 0.5rem;
    width: 100%;
}

.mc-link-header {
    color: var(--sapButton_Emphasized_Background);
    line-height: 1rem;
    font-weight: bold;
}

.mc-link-description {
    overflow: hidden;
    line-height: 0.9rem;
    color: var(--sapButton_Emphasized_Background);
}

/* .mc-link .sapUiIcon {
    fill: white; 
    padding-right: 10px;
} */

.mc-link:hover {
    box-shadow: 0px 15px 10px -12px var(--sapBrandColor);
}

.mc-link:active {
    background-color: whitesmoke;
}

.breadcrumb-container > * {
    flex-grow: 1 !important;
}

/*************
    subtask 
**************/

/* add */

/* options */


.mc-options { 
    flex-wrap: wrap !important;
    width: 100%;
}

.mc-options .sapMHBox {
    
    justify-content: flex-start !important;
    align-items: center !important;
}

.mc-options .sapMHBox > * {
    width: var(--small-content-height) !important;     
    background-color: var(--sapButton_Emphasized_Background);
    border-radius: 5px;
    margin: 0 1rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--small-content-height);
}

.mc-options .sapMBtnInner {
    height: var(--small-content-height);
    width: 100%;
    justify-content: center;
    align-items: center; 
}


.mc-options .sapMBtn .sapMBtnIcon {
    display: block;
    font-size: calc(var(--small-content-height) / 2);
    margin: 16px calc(var(--small-content-height) / 2) 16px 16px;
}

.mc-options .sapMBtn {
    height: var(--small-content-height);
    width: var(--small-content-height);
}

/* Table */

.no-border > * {
    border: none;
    background: transparent;
}

.sapUiTableCellInner:has(.actions-container){
    padding: 0 !important;
}

.mc-table {
    width: 100%;
    height: 100% !important;
    background-color: transparent;
}

.mc-table > * {
    flex-grow: 1 !important;
}

.mc-table-toolbar {
    height: auto !important;
    align-items: center !important;
}

.mc-table-filter-container {
    width: 70%;
}

.menu-button {
    width: 1rem !important;
}

.sapMTCMenuPopup .sapMOTB {
    visibility: hidden !important;
    height: 0 !important;
}

.columnMenuContainer{
    border-radius: 5px !important;
    padding: 10px !important;
}
.columnMenuButtonLeft .sapMBtnInner{
    justify-content: flex-start !important;
}
.columnMenuButtonLeft > span{
    color: var(--sapBrandColor); 
}
.columnMenuFooterBox > div{
    width: 100% !important;
}
.columnMenuSearch > div{
    border-radius: 4px;
    border-color:lightgray;
}


/* Quicksearch */
.mc-quicksearch {
    height: var(--small-content-height);
    align-self: flex-end;
    justify-self: flex-start;
    display: flex;
    align-items: end;
    justify-content: start;
    width: 100%;
}

/* Mod, Show, Add */

.mc-form, .mc-mod, .mc-show, .mc-add {
    width: 100%;
    background-color: #fafafa;
    border-radius: 16px;
    padding: 1rem;
}

.mc-form .sapMTitle {
    margin-left: 16px;
}

.mc-form-tabbar {
    width: 100%;
    
}

.mc-form-tabbar > .sapMITBContainerContent > *{
    background-color: transparent;
    background-color: white !important;
    border-radius: 5px;
    border-bottom: none !important;
    box-shadow: #5858584d 0px 0px 3px 0px;
}

/* search */
.mc-search-aside {
    margin-top: 15px;
    width: 100%;
    background-color: transparent;
}
.mc-search-table {
    width: calc(100% - 1rem);
    background-color: transparent;
}

.mc-search-input-container{
    border: 1px solid #B0B0B0;
    width: 100%;
    border-radius: 5px;
    height: 53px;
    margin-bottom: 7px;
}
.mc-search-input-container > div:first-child{
    height: 18px;
    margin: 0px 0px 2px 11px;
}
.mc-search-input-label{
    padding: 2px 0px 0px 0px;
    color: lightslategray;
}
.mc-search-input > div{
    border: none;
}
.mc-add-input,
.mc-add-select{
    height: 30px !important;
}
.mc-searchadv-input{
    margin-bottom: 10px !important;
}
.mc-add-input > div, 
.mc-add-select > div {
    border-radius: 5px;
    height: 30px !important;
}
.mc-add-textarea > div{
    border-radius: 5px;
}
.mc-add-input > div > input,
.mc-add-select > div > input{
    height: 30px;
} 
.mc-show-hierarchy-seperator {
    width: 8px;
    text-align: center;
    margin: 0 4px;
}
.mc-table-search{
    margin-right:40px;
}
.mc-setp-input > div > div{
    border-radius: 5px;
    height: 30px !important;
}
.mc-setp-input > div > div > div{
   margin-top: 2px !important;
}


/* call */

.mc-call {
    width: 100%;
}

/* DIALOG */

/* green circle with white icon */
.dialog-list-icon {
    background-color: var(--sapBrandColor);
    border-radius: 50% !important;
    width: 2rem !important;
    height: 2rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 1rem;
} 

.dialog-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.dialog-list {
    margin-bottom: 1rem;
}

.dialog-list-item > * {
    width: 100%;
}

.dialog-list-label {
    font-weight: bold;
    margin-left: 1rem;
    margin-right: 1rem;
    vertical-align: -webkit-baseline-middle !important;
}

.dialog-list-link {
    vertical-align: -webkit-baseline-middle     !important;
    margin-right: 1rem;
}

.dialog-list-text-container {
    margin-left: 2rem;
}

.dialog-select-list {
    overflow-y: scroll !important;
    max-height: 70vh !important;
    width: 50vw !important;
}



/* permission table */

.green {
    background-color: #28a745 !important;
    color: white !important;
}

.red {
    background-color: #dc3545 !important;
    color: white !important;
}

/*************
    pages 
**************/

/* index */

.sapMGTHdrContent {
    height: 2rem;
}
/* Align the icon to the right in its div */
.index-tile-icon {
    margin-left: auto;
    margin-right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 250% !important;
}

.index-tile-content .sapMTileCntFtrTxt{
    display: none;
}

.index-tile-button {
    height: 1.5rem !important;
    padding: 0 !important;
}

/*Badges*/
.index-tile-kpi .sapMNCInner {
    display: flex;
    height: 100%;
    width: 100%;
}
.index-tile-kpi .sapMNCInner .sapMNCValue .sapMNCLargeFontSize,
.index-tile-kpi .sapMNCInner .sapMNCValue .sapMNCSMediumFontSize,
.index-tile-kpi .sapMNCInner .sapMNCValue .sapMNCSmallFontSize {
    border: ridge crimson !important;
    border-radius: 100% !important;
    width: 2.2rem !important;
    height: 2.2rem !important;
    border-width: thin !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: white !important;
    background: crimson !important;
    font-size: 1.5rem !important;
}
.index-tile-kpi[data-badge="index-tile-kpi-medium"] .sapMNCInner .sapMNCValue .sapMNCLargeFontSize,
.index-tile-kpi[data-badge="index-tile-kpi-medium"] .sapMNCInner .sapMNCValue .sapMNCSMediumFontSize,
.index-tile-kpi[data-badge="index-tile-kpi-medium"] .sapMNCInner .sapMNCValue .sapMNCSmallFontSize {
    border: ridge crimson !important;
    border-radius: 100% !important;
    width: 2.2rem !important;
    height: 2.2rem !important;
    border-width: thin !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: white !important;
    background: crimson !important;
    font-size: 1.2rem !important;
}
.index-tile-kpi[data-badge="index-tile-kpi-small"] .sapMNCInner .sapMNCValue .sapMNCLargeFontSize,
.index-tile-kpi[data-badge="index-tile-kpi-small"] .sapMNCInner .sapMNCValue .sapMNCSMediumFontSize,
.index-tile-kpi[data-badge="index-tile-kpi-small"] .sapMNCInner .sapMNCValue .sapMNCSmallFontSize {
    border: ridge crimson !important;
    border-radius: 100% !important;
    width: 2.2rem !important;
    height: 2.2rem !important;
    border-width: thin !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: white !important;
    background: crimson !important;
    font-size: 1rem !important;
}

/* Optional: Adjust font size and alignment for better visual appeal */
.index-tile-kpi {
    height: 0;
    font-size: 0.5rem;
    font-weight: bold;
    width: 4rem;
    justify-self: end;
    position: relative;
    bottom: 75px;
    left: 40px;
}


.sapMGTContent {
    height: calc(100% - 2rem) !important;
    overflow: visible;
}

.sapMTileCntContent {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 1rem !important;
}

.sapMGTHdrContent .sapMText {
    text-align: center !important;
}

.index-tile {
    border-radius: 25px;
}


/* ITEMS */

.vertical-line {
    border-right: lightgray 1px solid !important;
    height: 100%;
    width: 0;
}

.mc-container {
    width: 100%;
    height: 100%;
    background-color: #fafafa;
    border-radius: 16px;
    padding: 1rem;
}

.mc-container-toolbar {
    margin: 8px 0;
}

.mc-container-toolbarButton-container {
    margin-right: 32px;
}

.mc-container-title-container {
    margin-left: 16px;
}

.mc-contact-detail-list,.mc-alerts-detail-list {
    padding-left: 16px;
    padding-right: 16px;
    margin-top: 8px;
    margin-bottom: 8px;
    border-radius: 16px;
    box-shadow: #5858584d 0px 0px 3px 0px;
}

.mc-contact-detail,.mc-alert-detail {
    background: transparent;
}

.mc-contact-detail .sapMHBox, .mc-alert-detail .sapMHBox {
    align-items: center;
}
.mc-contact-detail .mc-contact-detail-icon, .mc-alert-detail  .mc-alert-detail-icon {
    margin: 1rem;
}

/* Switch */

.sapMSwtOn .sapMSwtHandle, .sapMSwtOff .sapMSwtHandle {
    height: 1rem !important;
    width: 1rem !important;
    left: 2.25rem !important;
}
/* Set the dot of all childs < 5 to green */
.phones > ul > :nth-child(-n+4) .mc-contact-detail-dot {
    background-color: green !important;
    display: none !important;
}

.emails > ul > :nth-child(-n+1) .mc-contact-detail-dot {
    background-color: green !important;
    display: none !important;
}

.members > ul > :nth-child(-n+1) .mc-contact-detail-dot {
    background-color: green !important;
}

.mc-contact-detail-switch {
    display: none !important;
}

.sapMFlexItem:has( > .mc-contact-detail-switch) {
    visibility: collapse !important;
    display: none !important;
}

.phones > ul > :nth-child(-n+4) .mc-contact-detail-switch {
    display: inline-block !important;
}

.phones > ul > :nth-child(-n+4) .sapMFlexItem:has( > .mc-contact-detail-switch) {
    display: inline-block !important;
    visibility: visible !important;
}

.emails > ul > :nth-child(-n+1) .mc-contact-detail-switch {
    display: inline-block !important;
}

.emails > ul > :nth-child(-n+1) .sapMFlexItem:has( > .mc-contact-detail-switch) {
    display: inline-block !important;
    visibility: visible !important;
}

.members > ul > :nth-child(-n+1) .mc-contact-detail-switch {
    display:inline-block !important;
}

.members > ul > :nth-child(-n+1) .sapMFlexItem:has( > .mc-contact-detail-switch) {
    display: inline-block !important;
    visibility: visible !important;
}

.mc-rosterduty-title {
    margin: 0 !important;
}

.mc-contact-detail-dot{
    background-color: gray;
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

.mc-contact-detail {
    height: 2rem;
    padding: 1rem;
}

.mc-contact-detail.mc-availabilities-mod{
    height: 2.5rem;
}

.mc-items {
    width: 100%;
    height: 100%;
    background-color: #fafafa;
    border-radius: 16px;
}

.mc-items-toolbarButton-container {
    margin-right: 32px;
}

.mc-items-toolbarButton {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 100%;
    background-color: #bababa;    margin: 0 4px;
}

.mc-items-toolbarButton-container input {
    background-color: transparent;
}

.mc-items-toolbarButton:hover {
    background-color: darkgray !important;
}


.mc-items-toolbarButton span {
    color: white !important;
}

.mc-items-expandButton span {
    color: black !important;
}

.mc-items ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mc-items-toolbar {
    margin: 8px 0;
}

.mc-items ul > * {
    background-color: white;
    border-radius: 8px;
    margin: 8px 1rem;
    padding: 0 8px;
    min-height: 80px;
}

.mc-items .sapMInputBaseContentWrapper {
    background-color: transparent !important;
    border: none !important;
    border-bottom: #bababa 1px solid !important;
}

.mc-items-title-container {
    margin-left: 32px;

}

.mc-items .sapMLIB {
    box-shadow: #5858584d 0px 0px 3px 0px;
}

.mc-item-left {
    border-right: lightgray 1px solid !important;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.mc-item-grid {
    margin-bottom: 8px;
    margin-top: 1rem;
    margin-left: 8px;
}

.mc-item-property-grid > *{
    margin: 0 !important;
}


.mc-item-property-grid {
    padding: 0 !important;
    color: rgb(83, 83, 83) !important;
}

.mc-item-property-grid .sapMText {
    color: rgb(83, 83, 83) !important;
    overflow: visible !important;
    text-wrap-mode: nowrap;
}


/* validate */

.mc-validate {
    width: 100%;
    height: 100%;
    background-color: #fafafa;
    border-radius: 16px;
    padding: 12px 2rem 8px 2rem
}

.mc-validate-required {
    background-color: rgb(255, 213, 213) !important;
}

.mc-validate-alerts {
    margin: 1rem;
    border-radius: 16px;
    box-shadow: #5858584d 0px 0px 3px 0px;
    padding: 8px;
}

.mc-validate-alert {
    margin: 8px;
    background-color: #fafafa;
    border-radius: 16px;
    padding: 8px;
}

.mc-validate .sapMText {
    font-size: 18px;
}

.mc-validate-checkbox-text span{
    font-size: 18px;
}

/* delete & reactivate*/

.mc-inactive-container,
.mc-reactive-container {
    width: 100%;
    height: 100%;
    background-color: #fafafa;
    border-radius: 16px;
    padding: 12px 2rem 8px 2rem
}
.mc-inactive-container-list,
.mc-reactive-container-list {
    background-color: white;
    border-radius: 16px;
    padding: 12px 2rem 8px 2rem;
}
.mc-invalid-background{
    background-color: rgb(255, 213, 213) !important;
}
.mc-valid-background{
    background-color: #fafafa;
}
.mc-valid-background{
    background-color: #fafafa;
}

/* dialog */

.transparent-button span {
    color: black !important;
}
.transparent-button:hover {
    background-color: whitesmoke;
    
}
.transparent-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
}
.property-icon {
    color: var(--sapBrandColor);
}
.mc-dialog {
    background-color: #fafafa;
    border-radius: 16px;
    border: none;
    /*padding: 1rem;*/
    padding: 20px !important;
}
.mc-dialog-toolButtons {
    position: absolute;
    float: right;
    right: 0px;
    top: 0px;
    z-index: 1000;
}
.mc-dialog .sapMDialogSection {
    background-color: #fafafa;
}
.mc-dialog-content {
    padding: 1rem;
    background-color: white;
    border-radius: 5px;
    box-shadow: #5858584d 0px 0px 3px 0px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.mc-dialog-header-title-box{
    margin-bottom: 10px !important;
}
.mc-dialog-searchInput{
    margin-bottom: 10px !important;
}
.mc-dialog-searchInput > div{
    border-radius: 5px !important;
}
.mc-dialog .sapMDialogSection {
    overflow-y: auto;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/old Edge */
}
.mc-dialog .sapMDialogSection::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;                  /* Chrome / Safari */
}
.mc-dialog .sapMDialogScroll,
.mc-dialog .sapMDialogScrollCont {
    scrollbar-width: none;
    max-height: 600px; 
    overflow-y: auto; 
}
.mc-dialog .sapMDialogScroll::-webkit-scrollbar,
.mc-dialog .sapMDialogScrollCont::-webkit-scrollbar {
    display: none;
}
.mc-dialog .dialog-select-list{ 
    width: 500px !important;
    overflow-y: auto;
    scrollbar-width: none;          
    -ms-overflow-style: none;  
}
.mc-dialog .sapMSelectListItemBase {
    white-space: normal !important;
    overflow: visible !important;
    align-items: flex-start;   
    height: auto !important;
    line-height: 1.4;
     padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.mc-dialog .sapMSelectListItem {
    display: block !important; 
    white-space: normal !important;
    word-break: break-word;
}
.mc-dialog .sapMSelectList {
    width: 100% !important;
}


/* treeview */
.treeview-table .sapUiTableCnt,
.treeview-table .sapUiTableCCnt {
    overflow: auto !important;
}
.treeview-table .sapUiTableCnt::-webkit-scrollbar,
.treeview-table .sapUiTableCCnt::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}
.treeview-table .sapUiTableCnt,
.treeview-table .sapUiTableCCnt { /* Firefox */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.treeview-table .sapUiTableCellInner {
    max-height: none !important;
}
.treeview-cell-hbox > * {
    overflow: hidden;
}
.treeview-cell-hbox .sapMLinkText{
    text-overflow: ellipsis;

}
.treeview-cell-hbox {
    flex-wrap: wrap;
    max-width: 100%;
    max-height: 100%;
}
.treeview-link-icon{
    color: inherit !important;
}


/* MC-Classic Classes */

.cfr_controls { 
    border: 2px solid #000000 !important;
    border-radius: 0px !important;
    margin-bottom: 15px !important;     
	}
	.scorecard table{
    width:100%;
    margin-bottom:1em;
    border-collapse: collapse;
		font-family: 'Open Sans', verdana, arial, sans-serif;
		}
	.scorecard th{
    font-weight:bold;
    background-color:#ddd;
		}
	.scorecard tr:not(:first-child) th{
    width: 30%;
		}
	.scorecard th,
	.scorecard td{
    padding:0.5em;
    border:1px solid #ccc;
    white-space: nowrap;
	}
	.scorecard tfoot th{
		background-color: white !important;
    text-align: right;
	}
  .scorecard table tr:first-of-type{border-top: 2px solid black;}
  .scorecard table tr:last-of-type{border-bottom: 2px solid black;}
  .scorecard table td:last-of-type{border-right: 2px solid black;}
  .scorecard table th:last-of-type{border-right: 2px solid black;}
  .scorecard table td:first-of-type{border-left: 2px solid black;}
  .scorecard table th:first-of-type{border-left: 2px solid black;}
	.hidden {display:none;} 
  .right{
		text-align: right;
		}
  .left{
		text-align: left;
		}
  .border_left{
		border-left: 2px solid black;
   	}
  .border_right{
		border-right: 2px solid black;
   	}
  .border_top{
   	border-top: 2px solid black;
  	}
  .border_bottom{
   	border-top: 1px double black;
   	border-bottom: 2px solid black;
  }
  .scorecard input[type=submit], 
  .scorecard button[type=submit] {
    width: 50%;
    padding: 6px 76px; 
    border-radius: 2px; 
    border: none;
    border-image: none; 
    color: rgb(255, 255, 255); 
    font-family: Arial; 
    font-size: 13px; 
    font-weight: bold; 
    text-decoration: none; 
    display: inline-block; 
    cursor: pointer; 
    background-color: rgb(68, 199, 103);
  }

	.scorecard table input[type=text], 
	.scorecard table input[type=number], 
  .scorecard table select, 
  .scorecard table textarea {
		width: 100%;
    height: 100%;
    border: none;
	}
	.scorecard a, a:visited{
		color: #000000;
  }

  .mc-breadcrumbs {
    margin-left: 1rem;
    margin-top: 5px;
  }

   

.cfr_linklist{
    display: block;
    padding: 15px;
    float: left;
    width: 96%;
    border: 2px solid black;
}
.cfr_linklist ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.cfr_linklist li.cfr_linklist_element{
    width: 30%;
    display: block;
    float: left;
    padding: 0 10px;
    border-bottom: 1px solid #585858;
    border-right: 1px solid #585858;
    height: 65px;
    overflow: hidden;
}
.cfr_linklist li.cfr_linklist_element:nth-of-type(3n){
    border-right: none;
}

.cfr_linklist li.cfr_linklist_element:nth-child(3n+1):nth-last-child(-n+3),
li.cfr_linklist_element:nth-child(3n+1):nth-last-child(-n+3) ~ li.cfr_linklist_element{
    border-bottom: 1px solid white;
}
/*
.cfr_linklist li.cfr_linklist_element:last-of-type{
    border-right: none;
}
*/
.cfr_linklist li.cfr_linklist_element a:before {
    content: "\f054"; /* FontAwesome Unicode */
    font-family: "Font Awesome 6 Pro" !important;
    font-weight: 900;
    font-size: 11px;
    display: inline-block;
    padding: 0 5px;
}
.cfr_linklist li.cfr_linklist_element a span{
    float: right;
    padding: 0 5px;
}
.cfr_linklist .cfr_linklist_text {
    padding: 10px 0;
}
.cfr_linklist .cfr_linklist_text a{
    text-decoration: none;
}
.cfr_link p.link_subtitle{
    margin: 0;
}

.cfr_link, .visit_listview{
    padding: 10px;
    display: block;
    color: white;
    float: left;
    background-color: #5F8FBC;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    margin: 0 0 16px 0;
    width: 100%;
}

/*Help page*/
.mc-help-card {
    margin-top: 40px;       
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mc-help-card-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}
.mc-help-card-footer {
    font-size: 1rem;
    color: #333;
    margin-top: 20px;
    line-height: 1.5;
    text-align: center;
}
.mc-help-card-button {
    margin-bottom: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Others */
.sapMSltArrow {
    font-size: 1.11rem !important;
    font-weight: 700 !important;
}
.mc-validation-box {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
}
.mcSearchLink {
  color: inherit !important;
}


/*MESSAGE TOAST*/
.sapMMessageToast {
  border-radius: 10px;
}

/*MESSAGE BOX*/
.mcMessageBox {
    border-radius: 10px;
}
.mcMessageBox > header > div > div {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}
.mcMessageBox > section > div > div > span {
    font-size: 16px !important;
    text-align: center !important;
    font-weight: 600 !important;
}
.mcMessageBox > footer > div  {
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}
.mcMessageBox .sapMDialogSection {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}


/*POPOVER*/
.mcTablePopoverContent .sapMPopoverWrapper{
  padding: 1rem;
}
.sapMPopover {
  border-radius: 10px;
}

/*PANELS*/
.sapMPanelHdr {
  font-size: 1.2rem !important; 
}

/*HELPDESK*/
.mcTextEditor {
    height: 200px;
    min-height: 200px;
    max-height: none;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    overflow: hidden;
    outline: none;
    background-color: white;
}
.mcTextEditorContainer{
    margin: 16px 16px 16px 0px;
}
.mcTextEditorContainer .sapMTBStandard{
    border-bottom: none !important;
}
.mcTextEditorForm{
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}
.mcTextEditorfieldBox:first-child{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.mcTextEditorfieldBox {
    padding: 0.75rem;
    border-right: 1px solid #e0e0e0;
    background: #fff;
    flex: 1;
    min-width: 140px;
}
.mcHelpdeskSubmitButtonBox {
    flex: 0.5;
}
.mcHelpdeskSubmitButton{
    padding:3px !important;
}
.mcHelpdeskSubmitButton > span{
    height: 73px !important;
    border-radius: 10px;
}
.mcHelpdeskSubmitButton > span > span{
    padding-top: 22px;
}  
.mcMessagesItemHeader{
    font-weight: 600 !important;
    color: var(--sapBrandColor) !important;
}
.mcMessagesItemHeader > div > span{
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
.mcMessagesItem:first-child{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.mcMessagesItem:last-child{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.mcMessagesInternal{
    background-color:#e4eaf1;
}
.mcMessagesItem {
  border: 1px solid #ddd;
  padding: 10px;
  background-color: white;
}
.mcMessagesHtmlWrapper {
  padding: 7px !important;
  border-radius: 10px;
}
.mcMessagesImage {
  display: block;
  margin: 8px auto;
  max-width: 80%;
  height: auto;
}
.mcMessagesHeaderRight{
    gap: 5px !important;
}
.mcUnassignedTicketsContainer{
    width: 100%;
    height: 100%;
    background-color: #e8ca38;
    border-radius: 16px;
    padding: 12px 2rem 12px 2rem
}
.mcUnassignedTicketsList{
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background-color: white;
    border: 1px solid #ddd;
}
.mcUnassignedTicketsList > ul > li{
    border: none !important;
}
.mcUnassignedTicketsItem{
    padding: 5px;
}
.mcUnassignedTicketsLink{
    color: inherit !important;
    margin-left: 5px;
}
.dbSqlTextArea > div {
    border-radius: 5px !important;
}
.dbSqlTextArea > div > textarea{
    border-radius: 5px !important;
}

