/* CDS REFACTORING


/* CDS NEW v2
/* ******************************* */
:root {
  --font-family-poppins: "Poppins", "Roboto", Arial, sans-serif;
  /* LIGHT TEME COLORS*/
  --color-white-hex: #ffffff;
  --color-red-hex: #ed2e19;
  --color-green-hex: #0aae10;
  --color-yellow-hex: #fff200;
  --brown: #6c6859;
  --brown-85: #6c6859d9;
  --blu: #506493;
  --blu-02: rgb(91, 114, 167);
  --blu-03: rgb(61,64,68);
  --blu-04: #647283;
  --blu-05: #8ab4f8;
  --blu-light-01: rgb(244, 246, 251);
  --blu-light-02: #b6c2df;
  --blu-light-03: rgb(224, 227, 241);
  --blu-light-04: rgb(229, 234, 245);
  --gray: rgb(112, 112, 112);
  --gray-02: rgb(239,241,245);
  --gray-light-01: rgb(214, 214, 214);
  --gray-light-02: rgb(223, 227, 237);
  --tiledesk-base-color: rgb(224,106,88);
  --icon-color: #ecb606b0;
  --icon-active-background: rgb(58, 107, 147);
  --font-size-base: 14px;
  --height-header-panel-intent: 25px;
  --base-brand-color: rgb(224, 106, 88);
  --empty-element-property: rgb(191, 35, 35);
  --header-height: 60px;
  --sidebar-base-width: 60px;
  /** CONNECTOR **/
  --success-connector: rgb(44, 191, 35);
  --failure-connector: rgb(191, 35, 35);
  --drop-zone-background: rgba(221,228,234,.8);
  --drop-zone-color-border: #6c6859:
  --drag-preview-background: var(--color-white-hex);
  /** SCROLL-BAR **/
  --scrollbar-track-background: var(--blu-light-01);
  --scrollbar-thumb-background: var(--blu);
  --scrollbar-thumb-border-radius: 3px;
  /** CANVAS CONTAINER COLORS */
  --container-background: rgb(152 153 153 / 40%);
  --container-points-color: rgb(240 233 233 / 25%);
  /** PANEL ACTION DETAIL **/
  --header-panel-action-detail-height: 44px;
  --footer-panel-action-detail-height: 42px;
  /** REPLY BUTTONS **/
  --button-height-base: 20px;
  --button-max-width-base: 200px;
  --button-min-width-base: 95px;
  --button-min-width-preview: 200px;
  --button-border-radius-base: 16px;
  /** INPUT - SELECT - BUTTON TOOGLE **/
  --input-border-radius-base: 8px;
  --input-base-margin: 30px;
  /** INTENT PREVIEW **/
  --action-item-background:rgba(255,255,255, 0.7);
  --action-no-featured-item-background:rgba(255,255,255, 1);
  --action-color-selected: var(--blu);
  --intent-preview-background: var(--blu-light-03);
  --intent-preview-borderColor: var(--gray-light-02);
  --intent-header-icon-color: var(--blu);
  --padding-base-preview: 0 10px 10px;
  --base-element-gap: 5px;
  --border-radius-base-preview: 8px;
  --add-action-btn-background-preview: var(--color-white-hex);
  --add-action-btn-color-preview: var(--gray);
  --add-action-btn-hover-color-preview: var(--blu);
  /** SETTINGS section **/
  --input-placeholder: #a0a0a0;
  --input-disabled: #f9f9f9;
  /* INTEN DEFAULT COLORS */
  --intent-color: 80, 100, 147;
  /* CONNECTOR COLORS */
  --connector-width: 2px;
  --connector-default-color: rgb(0, 0, 0);
  --connector-over-color:rgb(62, 169, 245);
  --connector-selected-color: rgb(62, 169, 245);
}
/* ANIMATION */
/* SHADOWS */
/** GENERIC **/
body {
  font-family: var(--font-family-poppins);
}
/*
Ellips text
*/
.ellips {
  line-height: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden !important;
}
#scrollMe {
  scroll-behavior: smooth;
  padding-bottom: 40px;
  overflow-y: scroll;
}
/* PANEL INTENT DETAIL */
img,
svg {
  vertical-align: unset;
}
.btn-group {
  margin: 0;
}
.input-group {
  position: relative;
  display: flex;
  border-collapse: separate;
}
.input-group .input-group-btn {
  padding: 0 12px;
  position: relative;
  font-size: 0;
  white-space: nowrap;
  display: table-cell;
  vertical-align: middle;
}
.input-group .input-group-addon {
  border: 0;
  background: transparent;
  padding: 6px 15px 0px;
}
button.close {
  background-color: transparent;
  border-color: transparent;
}
.modal-content .modal-footer button + button {
  margin-bottom: unset;
}
/* Bottom Underline of the titles of the sections */
.card_title__underlined {
  text-transform: none;
  color: var(--blu);
  margin-bottom: 0px;
  height: 40px !important;
  position: relative;
  font-family: var(--font-family-poppins);
  height: 30px;
  font-size: 16px;
  margin-top: 10px;
}
.card_title__underline {
  position: absolute;
  top: 0;
  left: 0;
  bottom: -1px;
  border-bottom: 2px solid var(--blu);
  color: var(--blu);
  z-index: 1;
}
.section-subtitle {
  height: 20px;
  border-top: 1px solid #ddd;
  /*  width: calc((100% / 3) + 372px); */
}
/* PANEL INTENT DETAIL */
.content-panel-intent-detail,
.content-panel-button-configuration,
.content-panel-global-detail {
  padding: 20px 30px 30px;
  position: absolute;
  top: var(--header-panel-action-detail-height);
  right: 0;
  left: 0;
  bottom: var(--footer-panel-action-detail-height);
  overflow: scroll;
}
.no-footer {
  bottom: 0px;
}
.title-label {
  color: var(--blu);
  font-size: 14px;
}
.subtitle-label {
  color: var(--blu);
  font-size: 11px;
  font-style: italic;
}
.condition-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--blu);
}
.condition-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}
.field-box {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}
.field-description {
  font-size: 10px;
  font-style: italic;
  margin-top: 5px;
}
.icon-action {
  transition: opacity 0.15s ease 0s;
  opacity: 0.85;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-action img {
  height: 20px;
}
emoji-mart {
  border: 0;
  margin-top: 12px;
  float: right;
}
emoji-mart ::ng-deep section.emoji-mart {
  border: 0;
}
.web-request-action-method {
  font-weight: 500;
  font-size: 14px;
  color: var(--brown-85);
}
/* Intent Controls
/* ------------------------ */
.panel-intent-content:hover cds-panel-intent-controls > .intent-header-actions-container-on-start {
  top: -30px !important;
  right: 12px !important;
}
.panel-intent-content:hover cds-panel-intent-controls > .intent-header-actions-container {
  top: -30px;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* Action Controls
/* ------------------------ */
.body-action > cds-action-controls > .action-controls {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: calc(100% - 10px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 1;
  display: inline-flex;
}
.body-action:hover > cds-action-controls > .action-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-10px);
}
/* Add action menu
/* ****************************************** */
.menu--context--add {
  -webkit-touch-callout: none;
  display: flex;
  flex-direction: column;
  pointer-events: all;
  position: absolute;
  -webkit-user-select: none;
  user-select: none;
  width: 270px;
  z-index: 1;
  overflow: scroll;
}
@keyframes ripple_effect {
  0% {
    box-shadow: 0 0 0 0 rgba(160, 158, 158, 0.2666666667), 0 0 0 0 rgba(160, 158, 158, 0.2666666667);
  }
  80% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0), 0 0 0 40px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 0 0 0 rgba(255, 255, 255, 0);
  }
}
::ng-deep .mat-expansion-indicator::after {
  color: white;
}
/** CONNECTOR TRUE/FALSE: end **/
.preview-divider {
  margin: 5px 0px;
  border-top: 2px solid color-mix(in srgb, var(--blu) 70%, transparent);
}
.custom-divider {
  margin-top: 40px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid var(--blu);
}
.btn.btn-primary.cds-blue-button {
  background: var(--blu-02);
  color: white;
  box-shadow: none;
  font-weight: 500;
  font-family: var(--font-family-poppins);
  text-transform: capitalize;
  font-size: 14px;
  padding: 6px 12px;
  margin: 0;
  border-radius: var(--button-border-radius-base);
}
.btn.btn-primary.cds-blue-button:hover {
  opacity: 0.8;
}
.btn.btn-primary.cds-blue-button.xl {
  padding: 12px 24px;
  border-radius: 9999px;
}
appdashboard-cds-dashboard a {
  text-decoration: none;
}
.cds-title {
  font-size: 18px;
  position: relative;
  color: var(--blu);
  font-weight: 600;
}
.footer-panel-intent-detail {
  width: 100%;
  position: absolute;
  bottom: 0;
  z-index: 2;
  height: var(--footer-panel-action-detail-height);
  margin: auto 0;
  padding: 7px 20px;
  border-top: 1px solid var(--gray-light-02);
}
img.active-icon {
  filter: brightness(0) saturate(100%) invert(39%) sepia(19%) saturate(1139%) hue-rotate(184deg) brightness(91%) contrast(85%);
}
img.base-icon-color {
  filter: brightness(0) saturate(100%) invert(83%) sepia(87%) saturate(3891%) hue-rotate(177deg) brightness(92%) contrast(89%);
}
img.hover-icon {
  filter: brightness(0) saturate(100%) invert(35%) sepia(48%) saturate(441%) hue-rotate(183deg) brightness(97%) contrast(88%);
}
/** text-editor-drop: drop icon cds-action-reply elements**/
.text-editor-drop {
  position: absolute;
  display: inline-flex;
  margin: 0;
  left: 0;
  top: 0;
  color: #dcdcdc;
  cursor: grab;
}
.cds-reply-button-element {
  position: relative;
}
.previewMode .cds-reply-button-element {
  width: 100%;
  display: flex;
  justify-content: center;
}
/* Snackbar 
/* *********************** */
.custom-error-snackbar {
  background: #D06079 !important;
  color: #fff !important;
  font-weight: 400;
  min-width: -moz-fit-content !important;
  min-width: fit-content !important;
}
.custom-error-snackbar::before {
  font-family: "FontAwesome";
  content: "\f071";
  position: absolute;
  color: #b03450;
  top: 12px;
}
.custom-error-snackbar > div > div > simple-snack-bar > span {
  margin-left: 22px;
}
.custom-error-snackbar > div > div > simple-snack-bar > div > button {
  color: #000 !important;
  font-weight: 400;
}
.custom-success-snackbar {
  background: #73AF55 !important;
  color: #fff !important;
  font-weight: 400;
  min-width: -moz-fit-content !important;
  min-width: fit-content !important;
}
.custom-success-snackbar::before {
  font-family: "FontAwesome";
  content: "\f00c";
  position: absolute;
  color: #507A3B;
  top: 12px;
}
.custom-success-snackbar > div > div > simple-snack-bar > span {
  margin-left: 22px;
}
.custom-success-snackbar > div > div > simple-snack-bar > div > button {
  color: #000 !important;
  font-weight: 400;
}
