﻿html {
    font-size: 13px;
}

body {
    background-color: #1cb4ac;
    font-family: OpenSans;
}

.actionToolbar .e-toolbar, .actionToolbar .e-toolbar .e-toolbar-items {
    background-color: #c3e2e0;
}

@media (max-width: 768pc) {
    .appMainContent {
        overflow-x: initial !important;
    }
}

.bgMainColor {
    background-color: #1cb4ac;
}

.blueBtn {
    background-color: #0c74f5;
    border-color: #0c74f5;
    color: white;
}

.blueBtn:hover {
    background-color: #055ecd;
    border-color: #055ecd;
}
.blueBtn.e-split-btn:active {
    background-color: #0c74f5;
}
.blueBtn.e-dropdown-popup ul .e-item:hover, .blueBtn.e-dropdown-popup ul .e-item:active {
    background-color: #0c74f5;
}

.bmsSideBarSubMenu {
    max-height: calc(100vh - calc(90px + 68px)); /* header 90px + footer 68px */
}

.bmsSideBarSubMenu::-webkit-scrollbar {
    width: 2px;
}

.bmsSideBarSubMenu::-webkit-scrollbar-thumb {
    background: grey;
}

.bmsSideBarSubMenu .subMenuMainContent .e-list-parent.e-list-collabs {
    list-style: none;
    margin: 16px 0 0 0;
}

.bmsSideBarSubMenu .subMenuMainContent .e-list-parent.e-list-collabs > .e-list-item {
    color: #434959;
    font-weight: bold;
    padding: 11px 0;
    border-top: 1px solid #cbe0e1;
    cursor: pointer;
}

.bmsSideBarSubMenu .subMenuMainContent .e-list-parent.e-list-collabs > .e-list-item:first-child {
    border-top: unset;
}

.bmsSideBarSubMenu .subMenuMainContent .e-list-parent.e-list-collabs > .e-list-item.e-active,
.bmsSideBarSubMenu .subMenuMainContent .e-list-parent.e-list-collabs > .e-list-item:hover {
    color: #12a19a;
}

.bmsSideBarSubMenu .subMenuMainContent form .formToolbar {
    bottom: -20px;
    background: rgb(221, 244, 243, 0.8);
}

.cardFixedHeight .e-card-content {
    max-height: 300px;
    min-height: 300px;
    overflow-y: auto;
    transition: max-height .3s;
}
.cardFixedHeight:not(.noExpand) .e-card-content:hover {
    max-height: 1000px;
    transition: max-height 1.5s ease-in-out;
}
.cardFixedHeight .e-card-content::-webkit-scrollbar {
    width: 2px;
}
.cardFixedHeight .e-card-content::-webkit-scrollbar-thumb {
    background: #2d537f;
}

.cardInsideFixedHeight {
    max-height: 270px;
    min-height: 270px;
    overflow-y: auto;
    transition: max-height .3s;
}
.cardInsideFixedHeight:hover {
    max-height: 1000px;
    transition: max-height 1.5s ease-in-out;
}
.cardInsideFixedHeight::-webkit-scrollbar {
    width: 2px;
}
.cardInsideFixedHeight::-webkit-scrollbar-thumb {
    background: #2d537f;
}

.cardTightPadding .e-card-content {
    padding: 4px 10px;
}
@media (max-width: 768px) {
    .cardInsideFixedHeight {
        max-height: initial;
    }
    .bmsCard .e-card.cardFixedHeight:not(.noExpand) .e-card-content {
        max-height: initial;
    }
}

.conceptHistorySplitButton #Delete {
    color: black;
}

.conceptHistorySplitButton .e-list-item {
    padding: 0 !important;
}

.contentWithoutSubMenu {
    margin-left: 0 !important;
    padding-left: 62px;
}

@media (max-width: 768px) {
    .contentWithoutSubMenu {
        padding-left: 12px;
    }
}

.customSidebar {
    background-color: #2d547f;
    position: fixed;
    top: 80px;
}

.customSidebar.e-sidebar.e-left {
    padding-top: 80px;
}

.customSidebar .bi {
    height: 100%;
}

.customSidebar .e-treeview > .e-ul {
    overflow: initial !important;
}

.customSidebar .e-text-content, .customSidebar .e-text-content .e-list-text {
    color: white;
}

    .customSidebar .e-treeview:not(.e-fullrow-wrap) .e-list-item.e-active > .e-text-content {
        background-color: rgba(255,255,255,0.25);
        border: none;
    }

.customSidebar li.e-fullrow:hover {
    background-color: rgba(255,255,255,0.1);
    border: none;
}

.customSidebar .e-list-item.e-active.e-hover > .e-fullrow {
    background-color: rgba(255,255,255,0.1);
    border: none;
}

.customToolbar {
    font-size: 14px;
    height: 90px !important;
    z-index: 1001;
    background: #ffffff;
}

.customToolbar .burgerMenu {
    background: #abee15;
    width: 50px;
    margin: 0 !important;
    padding: 0 !important;
}

.customToolbar .burgerMenu .e-icon-btn {
    width: 20px;
    margin: 0 15px;
    text-align: left;
}

.customToolbar .burgerMenu .e-icon-btn .e-btn-icon {
    color: #434959;
    font-size: 20px;
}

.customToolbar .burgerMenu .e-icon-btn .e-btn-icon:hover {
    color: #ffffff;
}

.customToolbar .logo {
    margin-left: 16px !important;
    padding-left: 0 !important;
}

.customToolbar .presentation {
    color: #aeb1b7;
    font-size: 10px;
    line-height: 11px;
}

.customToolbar .presentation .title, .customToolbar .presentation .subtitle, .customToolbar .presentation .version a:hover {
    color: #434959;
}

.customToolbar .presentation .version a:hover, .customToolbar .loggedUser:hover {
    color: #12a19a;
}

.customToolbar .presentation .title {
    font-size: 14px;
}

.customToolbar .notification, .customToolbar .notification:hover {
    border: 1px solid #dee2e6 !important;
    border-radius: 50%;
    padding: 5px 10px !important;
}

.customToolbar .notification .rappelBadge {
    top: -5px;
    right: -15px;
    font-size: 9px;
    background: #ff2c53 !important; 
    color: #ffffff !important;
}

.customToolbar .configuration {
    margin-right: 16px;
}

.customToolbar .e-separator {
    height: 64px !important;
}

.customToolbar .e-short-separator {
    border: solid #dee2e6;
    border-width: 0 1px 0 0;
    height: 14px;
}

.customToolbar .e-toolbar-item {
    margin-left: 8px;
    margin-right: 8px;
}

.customToolbar .e-toolbar-items {
    background-color: white;
}

.customToolbar .e-toolbar-items .e-btn .e-btn-icon.e-icon-left {
    margin-left: 0;
    width: auto;
}

.e-acrdn-header-content {
    width: 100%;
}

.e-tab > .e-content {
    overflow-y: auto;
}

.ffInherit {font-family: inherit;}

.fontBgColor {
    color: #1cb4ac;
}

.footerHelpDeskSection {
    background-color: #ddf4f3;
    color: #2d537f;
    font-size: 11px;
    width: 270px;
    padding: 0 16px;
}
@media (max-width: 768px) {
    .footerHelpDeskSection {
        width: 0;
    }
}
.footerHelpDeskSection a {
    color: #2d537f;
}
.footerHelpDeskInner {
    border-top: 2px solid #abee15;
}
.footerHelpDeskInner .content {
    top: 50%;
    transform: translateY(-50%);
}
.footerSettingsSection {
    width: 50px;
}
.footerSettingsSection .container-fluid {
    padding: 0 5px;
}
.footerStartSection {
    height: 100%;
    max-width: 320px;
    min-width: 320px;
}
@media (max-width: 768px) {
    .footerStartSection {
        max-width: 50px;
        min-width: 50px;
    }
}
.footerCopyrightsSection {
    font-size: 10px;
}

.footerHistoryToolbar .e-toolbar-items, .footerHistoryToolbar .e-scroll-left-nav.e-scroll-nav, .footerHistoryToolbar .e-scroll-right-nav.e-scroll-nav {
    background-color: transparent;
}

.h65vh { height: 65vh; }
.h70vh { height: 70vh; }

.handHover {cursor: pointer;}

.hideAlertButton button.hideAlertButton {
    display: none;
}

.historyPopup {
    right: 0;
}
.historyPopup .historyBreadcrumb {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .historyPopup {
        left: 40px !important;
    }
    .historyPopup .historyForwardButton {
        text-align: center;
    }
}

.hoverBgSecondarySubtle:hover {
    background-color: #e2e3e5;
}

.itemUpdatable:hover {
    background: #1cb4ac;
    color: white !important;
    cursor: pointer;
}

.lh18 {line-height: 1.8;}

.lightGreenBtn {
    background: #b3e7e5;
    border: 1px solid #b3e7e5;
    color: #1cb4ac;
}

.lightGreenBtn:hover {
    background: #b3e7e5;
    border: 1px solid #b3e7e5;
}

.nowrap { white-space: nowrap; }

.mainContentContainer {
    height: calc(100vh - calc(90px + 68px)); /* header 90px + footer 68px */
    overflow-y: auto;
}
.mainContentContainer .actionBar {
    bottom: 0;
    box-shadow: 0 0 5px 5px #1cb4ac;
    position: sticky;
    width: 100%;
    z-index: 10;
}

.bmsActionBar {
    min-height: 44px;
}

.actionBarWithDialog .bmsActionBar {
    padding-right: 44px;
}

.mainFooter {
    background-color: #abee15;
    max-height: 68px;
    min-height: 68px;
    overflow-y: auto;
}

.mainFooter .footerSettingsSection {
    border-top: 2px solid #ffffff;
}

.mainFooter .footerSettingsSection .container-fluid {
    padding: 0;
}

.mainFooter .footerSettingsSection .e-icon-btn {
    width: 20px;
    margin: 0 15px;
    text-align: left;
}

.mainFooter .footerSettingsSection .e-icon-btn .e-btn-icon {
    color: #434959;
    font-size: 20px;
}

.mainFooter .footerSettingsSection .e-icon-btn .e-btn-icon:hover {
    color: #ffffff;
}

.mainFooter .footerHelpDeskSection, .mainFooter .footerHelpDeskSection a {
    color: #434959;
}

.mainFooter .footerHelpDeskSection a:hover {
    color: #12a19a;
}

.mainFooter .footerMainSection {
    border-top: 2px solid #ffffff;
}

.mainFooter .footerMainSection .footerHistoryToolbar .description {
    font-size: 10px;
    color: #ffffff;
    margin-left: 12px;
}

.mainFooter .footerMainSection .footerHistoryToolbar .e-hscroll .e-scroll-nav {
    border-color: transparent !important;
}

.mainFooter .footerMainSection .footerHistoryToolbar .e-hscroll .e-scroll-nav:hover,
.mainFooter .footerMainSection .footerHistoryToolbar .e-hscroll .e-scroll-nav:active,
.mainFooter .footerMainSection .footerHistoryToolbar .e-hscroll .e-scroll-nav:focus {
    background: transparent !important;
}

.mainFooter .footerMainSection .footerHistoryToolbar .e-hscroll .e-scroll-nav .e-icons {
    color: #434959 !important;
}

.mainFooter .footerMainSection .footerHistoryToolbar .e-hscroll .e-scroll-nav:hover .e-icons,
.mainFooter .footerMainSection .footerHistoryToolbar .e-hscroll .e-scroll-nav:active .e-icons,
.mainFooter .footerMainSection .footerHistoryToolbar .e-hscroll .e-scroll-nav:focus .e-icons {
    color: #ffffff !important;
}

#mainGrid .e-virtualtable {
    width: 100%;
}

.e-grid .e-headercelldiv {
    font-weight: 600;
}

.modalMainBgColor .e-dlg-content {
    background-color: #1cb4ac;
}

.responsiveDataGrid .e-virtualtable {
    width: 100%;
}

.responsiveDataGrid .sf-grid {
    position: inherit !important;
}

.saisieRapideDropDown.e-popup.e-popup-open {
    left: 15% !important;
    right: 15% !important;
}
@media (max-width: 768px) {
    .saisieRapideDropDown.e-popup.e-popup-open {
        left: 0 !important;
        right: 0 !important;
    }
}

.searchBar {
    width: 500px !important;
}
@media (max-width: 768px) {
    .searchBar {
        width: 300px !important;
    }
}
.searchBar.e-input-group {
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-radius: 0;
}
.searchBar.e-input-group.e-input-focus {
    border-radius: 0 !important;
    box-shadow: none !important;
}
.searchBar .e-list-group-item {
    background-color: #6c757d;
    color: white;
}

.searchBarLastItemsContainer {
    max-height: 100px;
    overflow-y: auto;
}

.signatureBorder {
    border: double 2px transparent;
    border-radius: 5px;
    background-image: linear-gradient(white, white), radial-gradient(circle at top left, #4bc5e8, #9f6274);
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.vAlignMiddle {
    vertical-align: middle
}

.whiteSpaceBreak {white-space: break-spaces;}
.whiteSpaceNormal {white-space: normal;}

/* Syncfusion */
.e-control,
.e-card,
.e-card .e-card-content,
.e-wrapper {
    font-family: OpenSans !important;
}

.actionsSpeedDial {
    border: 1px solid #6c757d;
    border-radius: 8px;
    background-color: rgb(28, 180, 172, 0.9);
    padding: 5px;
}
button.actionsSpeedDial {
    z-index: 10 !important;
    right: 6px !important;
}
.actionsSpeedDial ul.e-speeddial-ul li .e-speeddial-li-text {
    border-radius: 8px;
    height: 32px;
    padding-bottom: 5px;
    padding-top: 5px;
}

.e-dlg-container {
    z-index: 2002 !important;
}

.e-ddl.e-control.e-popup.e-ddl-device.e-ddl-device-filter.e-popup-full-page.e-popup-open {
    z-index: 2000 !important;
}
.e-ddl.e-control.e-popup.searchBar {
    z-index: 2000 !important;
}

/* Dashboard */
#homeDashboard {
    margin-top: 12px;
}
.btnSettingsDashboard {
    background: #abee15;
    color: #6c757d;
    border-color: #abee15;
    bottom: 10px !important;
}
.btnSettingsDashboard:hover, .btnSettingsDashboard:active, .btnSettingsDashboard:focus {
    background: #abee15;
    color: #ffffff;
    border-color: #abee15;
}

/*Popup date range picker presets*/
.e-control.e-daterangepicker.e-lib.e-popup.e-preset-wrapper.e-popup-open {
    z-index: 2000 !important;
}

/* SfTab */
.e-tab .e-tab-header .e-toolbar-item .e-tab-text {
    text-transform: initial !important;
}

/* Display only icon */
.e-btn.e-flat-icon {
    padding: 0;
}

.e-btn.e-flat-icon:hover, .e-btn.e-flat-icon:focus, .e-btn.e-flat-icon.e-active {
    background: rgba(0,0,0,0);
    border-color: rgba(0,0,0,0);
    box-shadow: unset;
}

.e-btn.e-flat-icon-primary {
    color: #434959;
}

.e-btn.e-flat-icon-primary:hover, .e-btn.e-flat-icon-primary:focus, .e-btn.e-flat-icon-primary.e-active {
    color: #12a19a;
}

.e-btn.e-flat-icon-info {
    color: #0dcaf0;
}

.e-btn.e-flat-icon-info:hover, .e-btn.e-flat-icon-info:focus {
    color: #31d2f2;
}

tr:has(div.estEchu) td,
tr:has(div.estEchu):hover td {
    background-color: #bd2130 !important;
    color: white !important;
}
tr:has(div.estEchu) a {
    color: white !important;
}
tr:has(div.estEchu):hover td {
    opacity:  90%;
}
