html {
    font-size: 14px;
  }
  
  @media (min-width: 600px) {
    html {
      font-size: 16px;
    }
  }
  
  html {
    position: relative;
    min-height: 100%;
  }
  
  body {
    margin-bottom: 60px;
    background-color: #E9EDF0;
    min-height: 700px;
  }
  
/*  .dropdown-item-child {
      color: black;
  }
  */
  /* Base style for side menu */
  .side-menu {
      /*position: fixed;
      top: 74px;*/ /* Moves the menu down by 74px */
      /*left: -250px;*/ /* Hidden off-screen by default */
      /*width: 250px;*/
      height: calc(100% - 74px); /* Adjust height so it fits below header */
      background-color: #333;
      color: #fff;
      transition: left 0.3s ease;
      z-index: 9999; /* Ensure it stays above other content */
  }
  
      .side-menu ul {
          list-style: none;
          padding: 0;
          margin: 0;
      }
  
      .side-menu li a {
          display: block;
          padding: 10px;
          color: #fff;
          text-decoration: none;
      }
  
          .side-menu li a:hover {
              background-color: #444;
              border-radius: 20px;
          }
      /* Active class to slide it in */
      .side-menu.active {
          left: 0;
      }
  
  
  table {
      background-color:gray;
      border: 0px solid gray;
  }
  
  /* Here you can customize your login screen */
  html {
      background: #E9EDF0;
  }
  
  html,
  body,
  .labelStyle {
      color: #444444;
  }
  
  h1 {
      color: #444444;
  }
  
  .requiredStyle {
      color: #FF1B1B;
  }
  .e-btn {
    border-radius: 5px;
}   
  input.buttonStyle {
      color: #444444;
      background-color: #f1f1f1;
      border: 1px solid #ababab;
  }
  
      input.buttonStyle:hover {
          background-color: #dfebf4;
      }
  
      input.buttonStyle:active {
          background-color: #e3e3e3;
      }
  
  .textBoxStyle {
      color: #444444;
      background-color: #fcfcfc;
      border: 1px solid #ababab;
  }
  
  .failureNotification {
      color: #ff0000;
  }
  
  /* login layout styling */
  * {
      margin: 0px;
  }
  
  html {
      height: 100%;
      width: 100%;
  }
  
  html, body {
      font-family: 'Segoe UI','Frutiger','Helvetica Neue',Helvetica,Arial,sans-serif;
      font-size: 16px;
      font-weight: normal;
  }
  
  h1 {
      font-family: 'Segoe Light','Segoe UI Light','Frutiger','Helvetica Neue',Helvetica,Arial,sans-serif;
      font-size: 40px;
      text-align: left;
      letter-spacing: -1pt;
      font-weight: normal !important;
      margin-bottom: 12px;
  }
  
  .accountInfo {
    /* width: 95%; */
    max-width: 310px;
    position: relative;
    margin: 5% auto auto auto;
    text-align: center;
    padding: 30px;
    background-color: #F2F2F2;
    -webkit-box-shadow: 0 0 30px 0 #3636364a;
    box-shadow: 0 0 30px 0 #3636364a;
    border: solid 3px #FFF;
  }
  
  .labelStyle {
      font-family: 'Segoe UI Semibold', 'Frutiger','Helvetica Neue Semibold',Helvetica,Arial,sans-serif;
      font-weight: 700;
  }
  
  .requiredStyle {
      font-size: 24px;
      line-height: 14px;
      height: 12px;
      vertical-align: bottom;
      margin-left: 5px;
  }
  
  input.buttonStyle {
      font-family: 'Segoe UI','Frutiger','Helvetica Neue',Helvetica,Arial,sans-serif;
      padding: 5px 10px;
      font-weight: bold;
      border-radius: 0px;
      font-size: 16px;
      cursor: pointer;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
  }
  
  .textBoxStyle {
      background-image: none;
      font-size: 16px;
      display: block;
      outline: 0;
      height: 36px;
      padding: 1px 8px;
      margin: 0px;
      width: 100%;
      max-width: 292px;
      line-height: 36px;
  }
  
  .submit-login {
      margin-top: 10px;
  }
  
  .rememberme {
      margin-bottom: 10px;
  }
  
  input[type=checkbox] {
      margin: 0px 6px 0px 0px;
      vertical-align: -1px;
      cursor: pointer;
  }
  
  .checkStyle label {
      font-size: 15px;
  }
  
  
  
  /* Button for mobile to toggle the menu */
  #menuButton {
      display: inline-block; /* Show on mobile */
      margin: 10px;
      padding: 5px 10px;
      font-size: 16px;
      cursor: pointer;
      z-index: 10000; /* If needed to ensure it sits on top */
  }
  
  .main-content {
      margin-left: 0px;
  }
  
  
  /* Hide the toggle button and show the menu on desktop */
  @media (min-width: 768px) {
      #menuButton {
          display: none;
      }
  
      .side-menu {
          left: 0; /* Keep it always visible on desktop */
      }
  
      .main-content {
          padding: 4px 10px 20px 10px !important;
          max-width: 99%;
      }
  }
  
  /* Custom dark mode styling for the accordion menu */
  .accordion {
      background-color: #495057; /* Dark background */
      color: #f8f9fa; /* Light font color */
  }
  
  .accordion-button {
      background-color: #495057;  /* Dark background for collapsed buttons */
      color: #f8f9fa; /* Light font color for buttons */
      font-size: 0.8rem !important;
      padding: 0.6rem 0.95rem !important;
  }
  
      .accordion-button:not(.collapsed) {
          background-color: #495057;
          color: #ffffff;
      }
  
          .accordion-button:not(.collapsed)::after {
              /* Slightly lighter background when expanded */
              color: #f8f9fa; /* Keep font color light */
              background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
          }
  
      .accordion-button.collapsed::after {
          background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
      }
  
  
  
  
  .accordion-body {
      background-color: #495057; /* Darker background for the body */
      color: #f8f9fa; /* Light font color */
  }
  
  .accordion-button:focus {
      box-shadow: none; /* Remove focus outline for a cleaner look */
  }
  
  .dropdown-item {
      color: #f8f9fa; /* Light font for dropdown links */
  }
  
      .dropdown-item:hover {
          background-color: #cccccc; /* Highlight color on hover */
          color: #f8f9fa;
      }
  
  /* Ensure the arrow (caret) is white */
  .accordion .accordion-button::after {
      content: ''; /* Ensure the arrow is displayed */
      color: #ffffff !important; /* Force white color */
      font-size: 1rem; /* Adjust size if needed */
      transition: transform 0.2s ease; /* Keep the animation */
  }
  
  /* Arrow remains white when expanded */
  .accordion .accordion-button:not(.collapsed)::after {
      color: #ffffff !important;
  }
  
  /* Optional: Remove black outline on focus */
  .accordion .accordion-button:focus {
      box-shadow: none !important;
  }
  
  .accordion-button:hover {
      background-color: darkgray;
  }
  
  .e-card .e-card-content {
      padding: 0px;
  }
  
  
  /* hide filters in the es grid that are not filterable*/
  .e-filtertext:disabled,
  .e-filtertext.e-disabled {
      display: none !important;
  }
  .e-pager {
      border-style: solid;
      border-width: 1px;
      display: inline-block;
      font-size: 14px;
      padding: 0;
      white-space: normal;
      width: 100%;
  }
  
  
  /* 02/20/2025 */
  
  .flex {
      max-width: 98%;
  }
  thead {
      background-color: #edebe9;
  }
  .logo {
      margin: 7px 0 -7px 25px !important;
      float: left;
      clear: none;
  }
  .e-dashboardlayout.e-control .e-panel.e-panel-transition {
      /* height: auto !important; */
      transition: top .5s, left .5s;
      padding: 0px 0 10px 0 !important;
      border-radius: 5px !important;
      /* border: 0 !important; */
  }
  .e-dashboardlayout.e-control .e-panel .e-panel-header {
      border-bottom: 0px solid #edebe9 !important;
      color: #201f1e !important;
      font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", sans-serif;
      font-size: 16px;
      font-weight: 600 !important;
      height: 33px !important;
      padding: 5px 0 0px 10px !important;
      margin-bottom: 10px !important;
      background-color: #f5f5f5 !important;
      border-radius: 5px 5px 0 0 !important;
  }
  .e-grid {
      border-color: transparent;
      /* padding: 0px 10px 0px 10px !important; */
      border: none !important;
  }
  .e-grid .e-gridheader {
    background-color: rgb(237 235 233);
    color: #201f1e;
    border-bottom-color: #edebe9;
    border-top-color: #edebe9;
    padding: 5px 10px;
}
.e-grid .e-gridcontent {
    background-color: #fff;
    padding: 0 10px;
}
.e-grid.e-wrap .e-columnheader .e-headercelldiv {
    line-height: 17px;
}
  .e-pager {
      border-style: solid !important;
      border-width: 0px !important;
      border-top-width: 1px !important;
      display: inline-block !important;
      font-size: 14px !important;
      padding: 0 10px 0 0 !important;
      white-space: normal !important;
      width: 100% !important;
  }
  .income {
      color: #8abb2c !important;
      font-size: 38px !important;
      font-family: 'Roboto', 'Segoe UI', 'Helvetica Neue', sans-serif !important;
      font-weight: 800 !important;
      line-height: 0em !important;
      /* margin: 35px 0 0 0 !important; */
      border-bottom: none !important;
  }
  .bottom-container p {
      margin: -10px !important;
      line-height: 1.3em;
  }
  .bottom-container {
      border-top: 0px solid #eee !important;
      margin-top: 0 !important;
      padding-top: 3px !important;
      font-size: 14px !important;
      color: #555 !important;
      width: 100% !important;
      text-align: center !important;
  }
  .item-container {
      padding: 8px;
  }
  .root-container {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      border: 0px solid #ccc !important;
      background: white;
      border-radius: 10px !important;
      /* padding: 12px; */
      box-shadow: 2px 2px 6px rgba(0, 0, 0, 0) !important;
      text-align: center;
      box-sizing: border-box;
  }
  span.icon {
      width: 26px !important;
      display: inline-block !important;
      border: solid 1px #efefef36;
      text-align: center;
      border-radius: 30px;
      margin: -3px 5px -3px 0;
      padding: 2px 0;
      background: #f0f1f124;
  }
  a.dropdown-item {
      font-size: 14px;
  }
  div#gridPromotions {
      padding: 0 !important;
  }
  a#manage {
    color: #3f51b5;
  }
  #header ul {
    background-color: #ffffff;
  }
  ul#main-menubar {
    background-color: #6b6b6b;
    padding-top: 12px;
  }
  button#logout {
    border: none;
    background: none;
  }
  
  #sidebar-menu {
    margin-left: -1px;
    background-color: #6b6b6b;
  }
  #sidebar-menu .e-menu-wrapper ul .e-menu-item:hover, .e-menu-item.e-focused:hover {
    background-color: #757575 !important;
    color: #ffffff !important;
    font-size: 12px;
  }
  .e-menu-wrapper .e-menu .e-menu-item.e-selected, .e-menu-container .e-menu .e-menu-item.e-selected  {
    background-color: #a1b2bb !important;
  }
  .e-menu-wrapper ul.e-menu .e-menu-item .e-menu-icon, .e-menu-container ul.e-menu .e-menu-item .e-menu-icon {
      width: 1.5em;
  }
  .e-menu-wrapper ul .e-menu-item .e-menu-icon, .e-menu-container ul .e-menu-item .e-menu-icon {
      margin-right: 10px !important;
  }
  .e-menu-wrapper .e-ul, .e-menu-container .e-ul {
      font-size: 12px;
  }
  a.e-menu-text.e-menu-url:hover {
      color: #fff !important;
  }
  .form-floating {
      margin-bottom: 10px;
  }
  .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #0078d4;
    }
    .nav-link {
        color: #0078d4;
    }
    .btn-primary {
        color: #fff;
        background-color: #0078d4;
        border-color: #0078d4;
    }
  
    .e-input-group:not(.e-success):not(.e-warning):not(.e-error), .e-input-group.e-control-wrapper:not(.e-success):not(.e-warning):not(.e-error) {
        border-color: #c7c7c7;
        box-shadow: none;
        border-radius: 5px;
    }

  /* Media Queries */
  
  @media only screen and (max-width: 980px) {
      /* narrow screens */
  
      .income {
          font-size: 20px !important;
      }
  
  }
  
  @media only screen and (min-width: 768px) {
      /* tablets and desktop */
  }
  
  @media only screen and (max-width: 767px) {
      /* phones */
  
  }
  
  @media only screen and (max-width: 767px) and (orientation: portrait) {
      /* portrait phones */
  }
  
  
  
  
  /*   ------------      Tile css      ------------------    */
  .root-container {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      border: 1px solid #ccc;
      background: white;
      /*  border-radius: 8px; */
      /*  padding: 12px; */
      box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
      text-align: center;
      box-sizing: border-box;
  }
  
  .item-container {
      display: flex;
      justify-content: center;
      align-items: center;
      /*  padding: 8px; */
      font-size: 16px;
      font-weight: bold;
      width: 100%;
  }
  
  .income {
      color: #28a745; /* Green for positive income */
  }
  
  .auto-left {
      display: flex;
      align-items: center;
      margin-left: 8px;
  }
  
  .income-icon {
      width: 20px;
      height: 20px;
      background: url('income-icon.png') no-repeat center;
      background-size: contain;
  }
  
  .bottom-container {
      border-top: 1px solid #eee;
      margin-top: 10px;
      padding-top: 8px;
      font-size: 14px;
      color: #555;
      width: 100%;
      text-align: center;
  }
  
  .e-panel-header {
      text-align: center;
  }
.e-richtexteditor {
    border: 1px solid #ccc !important; /* Ensures a full border */
    border-radius: 4px; 
    overflow: hidden; 
}  
    .e-richtexteditor .e-rte-content {
        padding-bottom: 8px !important;
    }
        .e-richtexteditor .e-rte-content table {
            background-color: #ffffff !important;
        }

.filter-container {
    display: flex;
    align-items: center; /* Aligns elements in one row */
    gap: 10px; /* Adds spacing */
    margin-left: 10px;
    margin-top: 10px;
}

    .filter-container label {
        white-space: nowrap; /* Prevents label from wrapping */
    }



    .filter-container .e-checkbox-wrapper {
        display: flex;
        align-items: center; /* Aligns checkbox with text */
    }

/* General font style */
.form-label,
.form-control,
.e-input,
.e-dropdownbase,
.e-numerictextbox,
.e-numerictextbox .e-control {
    font-size: 14px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Make labels bold and slightly larger if needed */
.form-label {
    font-weight: 600;
}

/* Optional: Adjust buttons if needed */
.btn {
    font-size: 14px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Inactive tab hover effect */
.e-tab .e-tab-header .e-tab-text .e-toolbar-item:hover {
    background-color: #6b6b6b !important;
    color: white !important;
    cursor: pointer;
}

/* Active tab styling */
.e-tab .e-tab-header .e-toolbar-item.e-active {
    background-color: #6b6b6b !important;
    color: white !important;
    font-weight: bold !important;
}
    .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-text {
        color: white !important;
    }

/* Inactive tab default */
.e-tab .e-tab-header .e-toolbar-item {
    background-color: #F9F9F9;
    color: #333;
}
/* GLOBAL: Enable wrapping in all Syncfusion dropdown items */
/* Apply wrapping and indent second line */
.e-dropdownbase .e-list-item {
    white-space: normal !important;
    word-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.4;
    text-indent: 0; /* First line starts at 0 */
    padding-left: 10px; /* Don't offset the whole block */
    margin-left: 0;
    display: block;
}
.full-width-datepicker .e-date-wrapper {
    width: 100% !important;
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    line-height: 1.5;
    background: transparent;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-item-child {
    display: block;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    color:black;
}





/* Syncfusion calendar background override */
.e-calendar,
.e-calendar .e-content,
.e-calendar .e-content table,
.e-datepicker,
.e-datepicker .e-content,
.e-datepicker .e-calendar,
.e-datepicker .e-calendar table {
    background-color: #fff !important;
}

.e-calendar .e-content td,
.e-calendar .e-content th,
.e-datepicker .e-content td,
.e-datepicker .e-content th {
    background-color: #fff !important;
}
