#ag-grid-container .grid-options-container {
  display: flex;
  flex-wrap: wrap;
  gap: 35px 0px;
  margin: 0px 0px 5px 0px;
}
#ag-grid-container .grid-options-container .config-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
}
#ag-grid-container .grid-options-container .config-grid label {
  color: #000000;
  border-radius: 5px;
  margin: 0px 5px 0px 0px;
  font-weight: 600;
  font-size: 14px;
}
#ag-grid-container .grid-options-container .config-grid select {
  width: auto;
}
#ag-grid-container .grid-number-records input,
#ag-grid-container .grid-number-records input:focus-visible {
  color: inherit;
  border: 1px solid #e2e2e4 !important;
  background-color: rgba(0, 0, 0, 0) !important;
  box-sizing: border-box;
  border-radius: 0px;
  padding: 5px;
}
#ag-grid-container .config-grid label {
  text-align: right;
  width: 55%;
}

.accord-list.checkbox-radio input[type=checkbox].checkbox {
  height: 16px;
}

.config-table {
  margin: 20px 12px;
}
.config-table .config-table-bordered thead tr th:nth-child(1),
.config-table .config-table-bordered thead tr th:nth-child(2),
.config-table .config-table-bordered thead tr th:nth-child(3),
.config-table .config-table-bordered thead tr th:nth-child(4),
.config-table .config-table-bordered thead tr th:nth-child(5),
.config-table .config-table-bordered thead tr th:nth-child(7) {
  width: 10%;
}
.config-table .config-table-bordered thead tr th:nth-child(6) {
  width: 6%;
}
.config-table .config-table-bordered thead tr th:nth-child(8),
.config-table .config-table-bordered thead tr th:nth-child(9),
.config-table .config-table-bordered thead tr th:nth-child(10),
.config-table .config-table-bordered thead tr th:nth-child(12) {
  width: 8%;
}
.config-table .config-table-bordered thead tr th:nth-child(11) {
  width: 15%;
}
.config-table .config-table-bordered tbody tr td:nth-child(1),
.config-table .config-table-bordered tbody tr td:nth-child(2),
.config-table .config-table-bordered tbody tr td:nth-child(3),
.config-table .config-table-bordered tbody tr td:nth-child(4),
.config-table .config-table-bordered tbody tr td:nth-child(5),
.config-table .config-table-bordered tbody tr td:nth-child(7) {
  width: 10%;
}
.config-table .config-table-bordered tbody tr td:nth-child(6) {
  width: 6%;
}
.config-table .config-table-bordered tbody tr td:nth-child(8),
.config-table .config-table-bordered tbody tr td:nth-child(9),
.config-table .config-table-bordered tbody tr td:nth-child(10),
.config-table .config-table-bordered tbody tr td:nth-child(12) {
  width: 8%;
}
.config-table .config-table-bordered tbody tr td:nth-child(11) {
  width: 15%;
}
.config-table .config-table-bordered td.text-center.headerName,
.config-table .config-table-bordered td.text-center.colWidth,
.config-table .config-table-bordered td.text-center.colCss,
.config-table .config-table-bordered td.field.created-row {
  margin: 0px 0px;
  padding: 0px 0px;
}
.config-table .config-table-bordered td.text-center.headerName input,
.config-table .config-table-bordered td.text-center.colWidth input,
.config-table .config-table-bordered td.text-center.colCss input,
.config-table .config-table-bordered td.field.created-row input {
  width: 100% !important;
  height: 46px;
  border: none;
  text-align: center;
  margin-bottom: 0px;
}
.config-table .config-table-bordered td.text-center.colWidth {
  width: 15%;
}
.config-table .config-table-bordered .type select {
  width: 120px;
  border-radius: 3px;
  border: 1px solid #ccc;
}
.config-table .config-table-bordered td.row-index.text-center.field.created-row {
  cursor: text;
}
.config-table .config-table-bordered td button {
  margin: 0px 0px !important;
}
.config-table .config-table-bordered td button.custom-row-add-icon {
  margin-top: 10px !important;
}
.config-table .config-table-bordered tr:nth-child(even) input {
  background: #fff;
}
.config-table .config-table-bordered .accordion-content {
  display: flex;
  padding: 20px;
}
.config-table .config-table-bordered .accordion-content .left-column,
.config-table .config-table-bordered .accordion-content .right-column {
  width: 50%;
}
.config-table .config-table-bordered .headerName {
  height: 32px;
}
.config-table .config-table-bordered .accord-list {
  clear: both;
  padding: 8px;
}
.config-table .config-table-bordered .accordion {
  width: 50%;
}
.config-table .config-table-bordered .checkbox-radio label {
  float: left;
  width: 75% !important;
}
.config-table .config-table-bordered .checkbox-radio .checkbox {
  float: left;
  width: 25% !important;
}

*:focus {
  outline: none;
}

/*** toggle***/
.text {
  font-size: 23px;
  color: #494949;
  text-align: right;
  width: 100%;
  display: none;
}

.toggle {
  position: relative;
  width: 100px;
  height: 30px;
  border: 3px solid #255fa6;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}

.circle {
  pointer-events: none;
  position: absolute;
  left: 0px;
  width: 50px;
  height: 26px;
  border-radius: 0px;
  background-color: transparent;
  transition: 0.3s;
  border-right: 2px solid #255fa6;
}

.active {
  border-color: #255fa6;
}

.active + .text {
  color: #ccc;
}

.active .circle {
  left: 100%;
  transform: translateX(-96%);
  transition: 0.3s;
  background-color: var(--theme-color) !important;
  color: #fff;
  border-right: 2px solid #255fa6;
}

.toggle.active .circle:before {
  content: "ON";
  margin: auto;
  text-align: center;
  padding: 5px 14px;
  position: absolute;
  border: none;
}

.toggle .circle:before {
  content: "OFF";
  padding: 5px 5px 3px 10px;
  position: absolute;
}

.toggle-btn-switch.toggle-data-active {
  background-color: aliceblue;
  border: 1px solid black;
}

input[type=checkbox].grid-options-checkbox,
input[type=checkbox].chart-options-checkbox {
  margin: 0px 10px 0px 5px;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.accord-data-div .config-chart-label-checkbox label {
  vertical-align: middle;
}

.info-icon {
  position: relative;
  display: inline-block;
  margin-left: 10px;
  /* Adjust the spacing as needed */
}

.info-icon div {
  cursor: pointer;
}

.info-icon:after {
  content: attr(titleData);
  display: none;
  position: absolute;
  top: -25px;
  /* Adjust the distance from the icon */
  transform: translateX(-90%);
  padding: 5px;
  background-color: #333;
  color: #fff;
  border-radius: 5px;
  font-size: 12px;
  max-width: 250px;
  width: max-content;
  overflow: auto;
}

.info-icon:hover:after {
  display: block;
}

.info-icon-column {
  position: relative;
  display: inline-block;
  z-index: 999999;
}

.info-icon-column div {
  cursor: pointer;
}

.info-icon-column.sort-column:after {
  transform: translateX(-10%);
}

.info-icon-column:after {
  content: attr(titleData);
  display: none;
  position: absolute;
  /* Adjust the distance from the icon */
  transform: translateX(-90%);
  padding: 5px;
  background-color: #333;
  color: #fff;
  border-radius: 5px;
  font-size: 12px;
  max-width: 250px;
  width: max-content;
  overflow: auto;
}

.info-icon-column:hover:after {
  display: block;
}

.tooltipdata {
  display: flex;
  align-items: center;
}

/* Info icon next to trait label */
.trait-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  margin-bottom: 3px;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  border-radius: 50%;
  background-color: #255fa6 !important;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

/* Hover effect */
.trait-info-icon:hover {
  background-color: #255fa6 !important;
  color: #fff;
}

/***configuration poup css***/
.config .ui-dialog-content {
  display: none !important;
}
.config label,
.config .headerName input,
.config .type select,
.config .type select option {
  font-family: "Open Sans", sans-serif;
  font-size: 14px !important;
}
.config .grid-number-records {
  margin: 0px !important;
}
.config .grid-number-records input {
  width: 32%;
}
.config #remove,
.config .delete-column,
.config #configure {
  background-color: #4a7aab;
  color: white;
  border-radius: 0px;
  font-weight: bold;
  font-size: 1em !important;
  border: none;
}
.config #remove,
.config .delete-column {
  width: 47%;
}
.config #ag-grid-container,
.config #chart-column-container {
  height: calc(100% - 100px) !important;
  overflow: auto;
  margin: 10px 0px 0px 0px;
}
.config #add-field-action {
  margin-right: 0px !important;
}
.config #reset-configuration {
  background: url(./../../images/icons/refresh.png) no-repeat;
  background-size: 17px;
  background-position: 8px 6px !important;
}
.config button#save-action {
  margin-right: 14px !important;
  margin-bottom: 0px !important;
}
.config button#close-action {
  margin-bottom: 0px !important;
}
.config .config-table-bordered tbody .checkbox {
  display: table-cell;
}
.config .config-table-bordered tbody .checkbox input {
  position: relative;
  margin: auto;
}
.config .config-table-bordered tbody .delete-btn,
.config .config-table-bordered tbody .delete-btn:hover {
  background-image: none !important;
  width: 8% !important;
}
.config .config-table-header-container {
  margin-bottom: 12px !important;
}
.config .config-table-header-container label {
  padding: 8px;
  color: #000000;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px !important;
  padding-left: 0px;
}
.config .config-action-container {
  position: absolute;
  width: 100%;
  background-color: #f1f2f7;
  background: #f1f2f7;
  padding: 9px 5px 9px 0px;
  margin: -9px 0px 0px 0px;
}

#image-configuration-container,
#resource-library-source-configuration-container {
  height: calc(100% - 98px) !important;
  overflow: auto;
  margin: 10px 0px 0px 0px;
  display: flex;
}
#image-configuration-container .upload-section,
#resource-library-source-configuration-container .upload-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#image-configuration-container .upload-select-section,
#resource-library-source-configuration-container .upload-select-section {
  width: 90%;
  height: 40px;
  display: flex;
  align-self: center;
}
#image-configuration-container .upload-file-section,
#resource-library-source-configuration-container .upload-file-section {
  margin: 15px;
  width: 90%;
  height: 100%;
  display: flex;
  align-self: center;
}
#image-configuration-container .resource-library-search-box,
#resource-library-source-configuration-container .resource-library-search-box {
  width: 90%;
  height: 40px;
}
#image-configuration-container .image-config-section .platform-file-drop-container,
#image-configuration-container .resource-library-source-config-section .platform-file-drop-container,
#resource-library-source-configuration-container .image-config-section .platform-file-drop-container,
#resource-library-source-configuration-container .resource-library-source-config-section .platform-file-drop-container {
  position: relative;
  display: flex;
  gap: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 90%;
  width: 90%;
  padding: 20px;
  border: 3px dotted #939393;
  color: #444;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.2s ease-in-out, border 0.2s ease-in-out;
}
#image-configuration-container .image-config-section .platform-file-drop-container:hover,
#image-configuration-container .image-config-section .platform-file-drop-container.drag-active,
#image-configuration-container .resource-library-source-config-section .platform-file-drop-container:hover,
#image-configuration-container .resource-library-source-config-section .platform-file-drop-container.drag-active,
#resource-library-source-configuration-container .image-config-section .platform-file-drop-container:hover,
#resource-library-source-configuration-container .image-config-section .platform-file-drop-container.drag-active,
#resource-library-source-configuration-container .resource-library-source-config-section .platform-file-drop-container:hover,
#resource-library-source-configuration-container .resource-library-source-config-section .platform-file-drop-container.drag-active {
  background: #ddd;
}
#image-configuration-container #search-resource-library,
#resource-library-source-configuration-container #search-resource-library {
  width: 85%;
  height: 40px;
}
#image-configuration-container .search-container,
#resource-library-source-configuration-container .search-container {
  display: flex;
}
#image-configuration-container .search-container button,
#resource-library-source-configuration-container .search-container button {
  width: 10%;
  height: 40px;
  border: 0px;
  color: #fff;
  font-size: 15px;
}
#image-configuration-container .image-config-section,
#image-configuration-container .resource-library-source-config-section,
#resource-library-source-configuration-container .image-config-section,
#resource-library-source-configuration-container .resource-library-source-config-section {
  height: 100%;
  width: 50%;
}
#image-configuration-container .resource-libraries,
#resource-library-source-configuration-container .resource-libraries {
  padding-bottom: 10px;
  overflow: scroll;
  height: calc(100% - 50px);
}
#image-configuration-container .resource-library-card,
#resource-library-source-configuration-container .resource-library-card {
  cursor: pointer;
  display: flex;
  width: 96%;
  margin: 8px 2px;
  position: relative;
  background-color: #fafafa;
  box-shadow: 0 0 5px #cfcfcf;
  border-color: #cfcfcf;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 5px;
}
#image-configuration-container .resource-library-card img,
#resource-library-source-configuration-container .resource-library-card img {
  height: 80px;
  width: 80px;
  margin: 10px;
}
#image-configuration-container .resource-library-card .library-name,
#resource-library-source-configuration-container .resource-library-card .library-name {
  word-break: break-all;
  font-weight: 700;
}
#image-configuration-container .resource-library-card .library-path,
#resource-library-source-configuration-container .resource-library-card .library-path {
  word-break: break-all;
}
#image-configuration-container .resource-library-card .thumbnail-icon,
#resource-library-source-configuration-container .resource-library-card .thumbnail-icon {
  width: 20%;
}
#image-configuration-container .resource-library-card .library-info,
#resource-library-source-configuration-container .resource-library-card .library-info {
  padding: 20px 30px 15px 30px;
  width: 65%;
}
#image-configuration-container .resource-library-card .file-delete-container,
#resource-library-source-configuration-container .resource-library-card .file-delete-container {
  position: absolute;
  top: 8px;
  right: 8px;
  display: none;
}
#image-configuration-container .resource-library-card:hover,
#resource-library-source-configuration-container .resource-library-card:hover {
  box-shadow: 0 0 5px #cfcfcf;
  border: 1px solid #2a8ace !important;
}
#image-configuration-container .resource-library-card:hover .file-delete-container,
#resource-library-source-configuration-container .resource-library-card:hover .file-delete-container {
  display: block;
}
#image-configuration-container .img-delete-btn .action-button,
#resource-library-source-configuration-container .img-delete-btn .action-button {
  border-radius: 30px;
}

.tab-menu {
  padding: 0px 0px 10px 0px;
  border: 1px solid #cbc9c9 !important;
  padding-left: 3px;
}

.tab-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #e3e3e3;
}

.tab-menu ul li {
  display: inline-block;
  margin-right: 1px;
}

.tab-menu ul li a {
  text-decoration: none;
  color: #ffffff !important;
  background-color: #255fa6 !important;
  padding: 15px 23px;
  display: block;
}

.tab-menu ul li a.active-a {
  background: white !important;
  color: #2c3e50 !important;
  transition: all 0.35s;
  z-index: 1;
  top: -0.0625rem;
  border-right: 1px solid;
  border-left: 1px solid;
  border-color: #cbc9c9 !important;
}

div.scrollmenu {
  overflow: auto;
  white-space: nowrap;
}

div.scrollmenu a {
  display: inline-block;
  color: white;
  text-align: center;
  text-decoration: none;
}

div.scrollmenu a:hover {
  background-color: #777;
}

.tab {
  display: none;
}

.tab h2 {
  color: rgba(0, 0, 0, 0.7);
}

.tab p {
  color: rgba(0, 0, 0, 0.6);
  text-align: justify;
}

.tab-active {
  display: block;
  min-height: 200px;
}

.grid-options-container {
  padding: 20px;
}

div.scrollmenu::-webkit-scrollbar-thumb {
  background-color: #333;
}

div.scrollmenu::-webkit-scrollbar-track {
  background-color: #ddd;
}

div.scrollmenu::-webkit-scrollbar {
  width: 6px;
}

.chartoptionhide {
  display: none;
}

.datagridoptionhide {
  display: none;
}

.config-grid input,
.config-grid select {
  border: 2px solid #255fa6;
  border-radius: 5px;
  padding: 3px;
}

.config-grid select {
  width: 200px !important;
}

.chart-backgroundColor > input[type=color] {
  width: 55px;
  height: 35px;
}

#vb-sidebarcontainer .accordion {
  max-width: 400px;
  margin: 20px auto;
}

#vb-sidebarcontainer #accordionContent {
  height: 70vh;
}

#vb-sidebarcontainer .accordion-item {
  margin-bottom: 1px;
  border: 1px solid #ddd;
  overflow: scroll;
  height: 90%;
}

#vb-sidebarcontainer .accordion-header {
  background-color: #eaeaec !important;
  padding: 10px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: #000;
  border: 1px solid white;
  font-weight: bold;
}

#vb-sidebarcontainer .accordion-content {
  display: none;
  padding: 10px;
}

#vb-sidebarcontainer .accordion-content p {
  margin: 0;
}

#vb-sidebarcontainer .content-data-div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#vb-sidebarcontainer .toggle-div-container {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

#vb-sidebarcontainer .toggle-btn-switch {
  width: 40%;
  padding: 5px;
  border: 1px solid #333;
  margin: 5px;
  display: flex;
  justify-content: center;
}

#vb-sidebarcontainer .toggle-btn-switch:hover {
  background-color: aliceblue;
}

#vb-sidebarcontainer .accord-data-div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tab-content .grid-options-container .chart-outerRadius {
  margin-left: 50px !important;
}

.config-grid {
  margin-bottom: 15px;
}

.grid-label,
chart-config-label {
  margin: 0px !important;
  font-size: 13px;
  font-size: 13px;
}

div.config-grid-label-checkbox,
config-chart-label-checkbox {
  display: flex;
  align-items: center;
}

.grid-note {
  font-size: 12px;
  font-weight: 700;
}

/*Tree sort Styles Start*/
#configured-events-list .right-sidebar .button {
  width: 30px;
  height: 30px;
  float: none;
  cursor: pointer;
  margin: 0px 5px;
  background-color: #255fa6 !important;
  background-position: 5px center !important;
}

#configured-events-list .right-sidebar .button.configure-action {
  background: url(./../../images/icons/setting.png) no-repeat;
}

#configured-events-list .right-sidebar .button.configure-rule {
  background: url(./../../images/icons/rule.png) no-repeat;
}

#configured-events-list .right-sidebar .button.remove-branch {
  background: url(./../../images/icons/delete.png) no-repeat;
}

/*Tree sort Styles End*/
/* Action Panel Kebab Menu Styles Start */
/* Scoped to action panel to avoid conflicts with other kebab menus */
.action-config-dailog #events-container .event-main-container .table-responsive .right-sidebar .more-actions .kebab-menu {
  font-size: 1px !important;
}

#configured-events-list .branch-wrapper {
  overflow: visible !important;
}
#configured-events-list .branch-wrapper .right-sidebar {
  position: relative;
  overflow: visible !important;
}
#configured-events-list .right-sidebar .more-actions {
  display: inline-block;
  cursor: pointer;
  padding: 5px 10px;
  position: relative;
  vertical-align: middle;
}
#configured-events-list .right-sidebar .kebab-menu {
  display: inline-block;
  width: 3px;
  height: 3px;
  background-color: #255fa6;
  border-radius: 50%;
  position: relative;
  vertical-align: middle;
}
#configured-events-list .right-sidebar .kebab-menu::before,
#configured-events-list .right-sidebar .kebab-menu::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: #255fa6;
  border-radius: 50%;
  left: 0;
}
#configured-events-list .right-sidebar .kebab-menu::before {
  top: -6px;
}
#configured-events-list .right-sidebar .kebab-menu::after {
  top: 6px;
}
#configured-events-list .right-sidebar .more-actions:hover .kebab-menu,
#configured-events-list .right-sidebar .more-actions:hover .kebab-menu::before,
#configured-events-list .right-sidebar .more-actions:hover .kebab-menu::after {
  background-color: #1a4370;
}
#configured-events-list {
  /* White color for event-more-actions kebab menu on dark background */
}
#configured-events-list .right-sidebar .event-more-actions .kebab-menu {
  background-color: #ffffff !important;
}
#configured-events-list .right-sidebar .event-more-actions .kebab-menu::before,
#configured-events-list .right-sidebar .event-more-actions .kebab-menu::after {
  background-color: !important;
}
#configured-events-list .right-sidebar .event-more-actions:hover .kebab-menu,
#configured-events-list .right-sidebar .event-more-actions:hover .kebab-menu::before,
#configured-events-list .right-sidebar .event-more-actions:hover .kebab-menu::after {
  background-color: !important;
}
#configured-events-list .right-sidebar .action-dropdown-menu {
  display: none;
  position: fixed;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  z-index: 99999;
  padding: 8px 0;
  margin: 0;
}
#configured-events-list .right-sidebar .action-dropdown-menu.show {
  display: block;
}
#configured-events-list .right-sidebar .action-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: background-color 0.2s;
  font-family: "Open Sans", sans-serif;
  white-space: nowrap;
}
#configured-events-list .right-sidebar .action-dropdown-menu .dropdown-item:hover {
  background-color: #d8dce1;
}
#configured-events-list .right-sidebar .action-dropdown-menu .dropdown-item i {
  margin-right: 10px;
  width: 20px;
  font-size: 18px;
  color: #255fa6;
  text-align: center;
}
#configured-events-list .right-sidebar .action-dropdown-menu .dropdown-item span {
  font-size: 13px;
  color: #333;
  font-weight: 400;
}
#configured-events-list .right-sidebar .action-dropdown-menu .dropdown-divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 5px 0;
}
#configured-events-list {
  /* Hide original buttons when using kebab menu */
}
#configured-events-list .right-sidebar.with-kebab > .button {
  display: none !important;
}
#configured-events-list .right-sidebar.with-kebab > .add-child {
  display: none !important;
}
#configured-events-list .right-sidebar.with-kebab > .remove-branch {
  display: none !important;
}

/* Action Panel Kebab Menu Styles End */