#app_dm .modal-dialog {
  top: 30%;
}

.col-main-left {
  /*border-right: 1px solid silver;*/
  padding-top: 30px;
  background-color: #ffffff;
  margin-bottom: 40px;
  padding-bottom: 30px;
  /*height: fit-content;*/
  /*height: -moz-fit-content;*/

}

.col-main-left .btn {
  margin-bottom: 5px;

}

.dm-left-group {
  /*border-top: 1px solid lightgray;*/
  width: 100%;
  float: left;
  margin-bottom: 5px;
  position: relative;
  padding: 5px 25px;
  background-color: #E9EDEE;
}

.dm-left-group.ui-sortable-handle:hover {
  cursor: move;
}

.dm-add-button {
  color: #999;
  background: none;
  border: none;
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 14px;
  /*display: none;*/
}

#divMainLeft button.config-memory {
  color: #999;
  background: none;
  border: none;
  position: absolute;
  top: 9px;
  right: 5px;
  font-size: 14px;
  /*display: none;*/
}

.dm-del-button {
  color: red;
  background: none;
  border: none;
  position: absolute;
  top: 5px;
  right: 4px;
  font-size: 18px;
  display: none;
  padding: 0;
}

.scenario-move {
  color: #999;
  background: none;
  border: none;
  position: absolute;
  top: 34px;
  right: 11px;
  font-size: 18px;
  display: none;
  z-index: 1;
  padding: 0;
}

.btn-group-block {
  margin-right: 5px;
}

.dm-block {
  /*float: left;*/
  /*margin-right: 5px;*/
  /*margin-bottom: 5px;*/
  height: 42px;
  border: 1px solid #d3d3d3;
  border-radius: 0.25rem;
  background-color: #ffffff;
  cursor: pointer;
  /*width: 29%;*/
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 14px;
  text-align: center;
  padding-top: 4px;
}

.dm-left-group .holder-step:hover {
  transform: scale(1.2);
  transition: transform .2s;
  box-shadow: 1px 1px 20px #d3d3d3;
  z-index: 10;
}

.dm-step-active {
  border: 2px solid #75CBC5 !important;
}

.dm-block-add-step {
  height: 42px;
  width: 100%;
  background-color: #ffffff;
  border: 1px dashed #d3d3d3;
}

.dm-block span {
  vertical-align: top;
  line-height: 120%;
  height: 16px;
  overflow: hidden;
  word-break: break-all;
  text-overflow: ellipsis;
  /* display: inherit; */
  white-space: nowrap;
  width: 100%;
}

.btn_delete {
  color: red;
  float: right;
}

.dm-btn-setting {
  background-color: transparent;
  position: absolute;
  right: 15px;
  top: 5px;
  font-size: 25px;
  padding: 0;
  z-index: 10;
}

.dm-btn-setting:focus {
  box-shadow: none;
  -webkit-box-shadow: none;
}

/* .col-main-left:hover {
border:1px solid;
background-color: aqua;
} */

.card-close {
  top: 5px;
  right: 5px;
  display: none;
}

.col-main-right {
  width: 100%;
  padding-top: 5px;
  /*padding-bottom: 75px;*/
  position: relative;
  padding-left: 10px;
}

.col-main-right .row {
  padding: 30px 15px;
}

@media only screen and (max-height: 825px) {
  /*.dm-ctrl-right {*/
  /*background-color: red;*/
  /*}*/
  .dm-ctrl-right {
    /*height: 50px;*/
    /*position: absolute;*/
    /*bottom: -20px;*/
    /*background-color: green;*/
    /*visibility: hidden;*/
    /*opacity: 0;*/
    /*transition: bottom 0.5s, visibility 0s, opacity 0.5s linear;*/

    /*----*/
    padding-top: 6px;
    float: left;
    margin: 0 auto;
    /*width: 100%;*/

    /**/
    position: fixed;
    right: 5px;
    width: 67px;
    top: 140px;

    padding-left: 2px;
  }

  .dm-ctrl-right button:hover {
    transform: scale(1.6);
    /*width: 95px;*/
    /*height: 95px;*/
    /*left: -7px;*/
    /*position: relative;*/
    box-shadow: 1px 1px 20px #d3d3d3;
  }

  .dm-ctrl-right button:hover span {
    line-height: 90%;
    white-space: normal;
    font-size: 6px;
    display: grid;
  }

  .dm-ctrl-right button:hover i {
    position: relative;
    top: -5px;
  }

  .dm-ctrl-right p {
    position: absolute;
    transform: rotate(90deg);
    right: -45px;
    top: calc(50%);
    margin: 0;
    font-weight: bold;
    color: #A5B7C0;
  }

  .dm-ctrl-right button {
    display: block;
    /*border: 1px solid #d3d3d3;*/
    background-color: #ffffff;
    border-radius: 6px;
    /*margin-right: 3px;*/
    margin-bottom: 5px;
    width: 100%;
    float: left;
    height: 50px;
    text-overflow: ellipsis;
    overflow: hidden;
    word-wrap: break-word;
    color: #7C909A;
    transition: transform .2s;
  }

  .dm-ctrl-right button span {
    /*vertical-align: middle;*/
    /*vertical-align: -webkit-baseline-middle;*/
    /*vertical-align: -moz-baseline-middle;*/
    line-height: 120%;
    white-space: normal;
    font-size: 12px;
    display: none;
  }

  /* --------- ADD MORE CARD --------- */
  .dm-ctrl-right .dm-more-control {
    display: block;
    /* border: 1px solid #d3d3d3; */
    background-color: #ffffff;
    border-radius: 6px;
    /* margin-right: 3px; */
    margin-bottom: 5px;
    width: 100%;
    float: left;
    height: 50px;
    text-overflow: ellipsis;
    overflow: hidden;
    word-wrap: break-word;
    color: #7C909A;
    transition: transform .2s;
    text-align: center;
  }

  .dm-ctrl-right .dm-more-control i {
    position: relative;
    top: 5px;
  }

  .dm-ctrl-right .dm-more-control span {
    font-size: 12px;
  }

  /*.dm-ctrl-right .dm-more-control:hover {*/
  /*transform: scale(1.2);*/
  /*box-shadow: 1px 1px 20px #d3d3d3;*/
  /*}*/
  .dm-ctrl-right .dm-ctrl-list-expand {
    float: left;
    list-style: none;
    width: 100%;
    cursor: pointer;
    position: relative;

  }

  .dm-ctrl-right .dm-ctrl-list-expand ul {
    position: absolute;
    left: -60px;
    /* Without card Typing */
    top: -117px;
    /* For card Typing */
    /*top: -170px;*/
    display: none;
    visibility: hidden;
    background-color: #EEF4F6;
    box-shadow: 1px 1px 20px #D3D3D3;
    width: calc(100% + 10px);
    padding: 5px;
  }

  .dm-ctrl-right .dm-ctrl-list-expand ul li {
    list-style: none;
  }

  .dm-ctrl-right .dm-ctrl-list-expand:hover ul {
    display: block;
    visibility: visible;

  }

}

@media only screen and (min-height: 825px) {
  /*.dm-ctrl-right {*/
  /*background-color: green;*/
  /*}*/
  .dm-ctrl-right-mask {
    height: 532px;
    z-index: 9999999;
  }

  .dm-ctrl-right, .dm-ctrl-right-mask {
    /*height: 50px;*/
    /*position: absolute;*/
    /*bottom: -20px;*/
    /*background-color: green;*/
    /*visibility: hidden;*/
    /*opacity: 0;*/
    /*transition: bottom 0.5s, visibility 0s, opacity 0.5s linear;*/

    /*----*/
    padding-top: 6px;
    float: left;
    margin: 0 auto;
    /*width: 100%;*/

    /**/
    position: fixed;
    right: 19px;
    width: 97px;
    top: 190px;

    padding-left: 2px;

    z-index: 10;
  }

  .dm-ctrl-right button:hover {
    transform: scale(1.2);
    /*width: 95px;*/
    /*height: 95px;*/
    /*left: -7px;*/
    /*position: relative;*/
    box-shadow: 1px 1px 20px #d3d3d3;
  }

  .dm-ctrl-right p {
    position: absolute;
    transform: rotate(90deg);
    right: -45px;
    top: calc(50%);
    margin: 0;
    font-weight: bold;
    color: #A5B7C0;
  }

  .dm-ctrl-right button {
    display: block;
    /*border: 1px solid #d3d3d3;*/
    background-color: #ffffff;
    border-radius: 6px;
    /*margin-right: 3px;*/
    margin-bottom: 5px;
    width: 100%;
    float: left;
    height: 70px;
    text-overflow: ellipsis;
    overflow: hidden;
    word-wrap: break-word;
    color: #7C909A;
    transition: transform .2s;
  }

  .dm-ctrl-right button span {
    /*vertical-align: middle;*/
    /*vertical-align: -webkit-baseline-middle;*/
    /*vertical-align: -moz-baseline-middle;*/
    line-height: 120%;
    white-space: normal;
    font-size: 12px;
  }

  /* --------- ADD MORE CARD --------- */
  .dm-ctrl-right .dm-more-control {
    display: block;
    /* border: 1px solid #d3d3d3; */
    background-color: #ffffff;
    border-radius: 6px;
    /* margin-right: 3px; */
    margin-bottom: 5px;
    width: 100%;
    float: left;
    height: 70px;
    text-overflow: ellipsis;
    overflow: hidden;
    word-wrap: break-word;
    color: #7C909A;
    transition: transform .2s;
    text-align: center;
  }

  .dm-ctrl-right .dm-more-control i {
    position: relative;
    top: 5px;
  }

  .dm-ctrl-right .dm-more-control span {
    font-size: 12px;
  }

  /*.dm-ctrl-right .dm-more-control:hover {*/
  /*transform: scale(1.2);*/
  /*box-shadow: 1px 1px 20px #d3d3d3;*/
  /*}*/
  .dm-ctrl-right .dm-ctrl-list-expand {
    float: left;
    list-style: none;
    width: 100%;
    cursor: pointer;
    position: relative;

  }

  .dm-ctrl-right .dm-ctrl-list-expand ul {
    position: absolute;
    left: -90px;
    /* Without card Typing */
    top: -153px;
    /* For card Typing */
    /*top: -231px;*/
    /*display: none;*/
    opacity: 0;
    visibility: hidden;
    background-color: #EEF4F6;
    box-shadow: 1px 1px 20px #D3D3D3;
    width: calc(100% + 10px);
    padding: 5px;
    -webkit-transition: left 0.2s, opacity 0.2s ease;
    -moz-transition: left 0.2s, opacity 0.2s ease;
    -ms-transition: left 0.2s, opacity 0.2s ease;
    -o-transition: left 0.2s, opacity 0.2s ease;
    transition: 0.4s ease;
    z-index: 1;
  }

  .dm-ctrl-right .dm-ctrl-list-expand ul li {
    list-style: none;
  }

  .dm-ctrl-right .dm-ctrl-list-expand:hover ul {
    /*display: block;*/
    opacity: 1;
    visibility: visible;
    /*left: -90px;*/
  }
}

.dm-btn-more-sample {
  border: 0;
  background-color: transparent;
  text-align: right;
  float: left;
  font-size: 14px;
}

.dm-event {
  /*min-height: 100px;*/
  /*width: 72%;*/
  width: 500px;
  /*background-color: #ffffff;*/
  margin: 5px 20px 30px;
  position: relative;
  /*padding-top: 8px;*/
  /*border: 1px solid #d3d3d3;*/
  border-radius: 5px;
  font-size: 14px;
  /*padding-bottom: 10px;*/
}

.dm-event .dm-card-content {
  width: 100%;
  height: 100%;
  position: relative;
   padding: 8px 0 10px 0;
   background-color: #fff;
  /* opacity: 0.5; */
}

.dm-event:hover {
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
}

.dm-event p {
  margin-bottom: 0.5rem;
}

.dm-event > p {
  margin: 2px 5px;
  /*text-decoration-line: underline;*/
}

.dm-event p, .dm-event span, .dm-event label {
  color: #999999;
}

.dm-event input {
  border: 1px solid #DEE2E6;
}

.dm-event select {
  border: 1px solid #DEE2E6;
}

.dm-event > .row {
  padding-top: 10px !important;
}

/* --------CUSTOM MULTISELECT--------- */

.dm-event .multiselect .multiselect__tag {
  color: #FFFFFF !important;
  background-color: #75CBC5 !important;
}

.dm-event .multiselect .multiselect__tag span {
  color: #FFFFFF !important;
}

.dm-event .multiselect .multiselect__option--highlight {
  background-color: #75CBC5 !important;
}

.dm-event .multiselect .multiselect__option--highlight span {
  color: #FFFFFF !important;
  background-color: #75CBC5 !important;
}

.dm-event .multiselect .multiselect__option--highlight:after {
  background: #75CBC5 !important;
  color: #FFFFFF !important;
}

.dm-event .multiselect .multiselect__option--selected.multiselect__option--highlight {
  background: #FF0000 !important;
  color: #FFFFFF !important;
}

.dm-event .multiselect .multiselect__option--selected.multiselect__option--highlight span {
  color: #FFFFFF !important;
  background-color: #FF0000 !important;
}

.dm-event .multiselect .multiselect__option--selected.multiselect__option--highlight:after {
  background: #FF0000 !important;
  color: #FFFFFF !important;
}

.dm-border-right {
  border-right: 1px solid grey;
}

.dm-card-ctrl {
  position: absolute;
  left: 0;
  bottom: -20px;
  visibility: hidden;
  opacity: 0;
  transition: bottom 0.5s, visibility 0s, opacity 0.5s linear;
}

.dm-card-btnAdd {
  border: 0;
  font-size: 14px;
  background-color: transparent;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

}

.dm-card-btnAdd i {
  font-size: 20px;
}

.dm-card-btnAdd:focus {
  box-shadow: none;
  -webkit-box-shadow: none;
}

.dm-card-input {
  width: 100%;
  margin-bottom: 5px;
  height: 30px;
  padding-left: 5px;
}

select.dm-card-input option {
  color: black;
}

select.dm-card-input option:disabled {
  color: #999;
}

.dm-card-input:focus {
  border: 1px solid #796AEE;
  outline: none;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(121, 106, 238, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(121, 106, 238, 0.25);
}

.dm-card-input.input-error {
  border: 1px solid #ff0000;
}

.dm-card-input.input-error:focus {
  border: 1px solid #ff0000;
  outline: none;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, .25);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, .25);
}

.dm-card-input-area {
  width: 100%;
  /* margin-bottom: 5px; */
  resize: none;
  border: 1px solid #DEE2E6;
  border-radius: 4px 4px 0 0;
}

.dm-img-display {
  width: 100%;
  /*padding: 10px;*/
  /*border: 1px solid darkgray;*/
  /*margin: 10px 0;*/
  border-radius: 4px 4px 0 0;
}

.dm-card-button {
  width: 100%;
  height: 40px;
  border: 1px solid rgb(222, 226, 230);
  border-top: 0;
  background-color: white;
  color: #777777;
  text-overflow: ellipsis;
  overflow: hidden;
}

.dm-card-add {
  width: 100%;
  border: 1px dashed rgb(222, 226, 230);
  border-top: 0;
  background-color: white;
  height: 40px;
  color: #777777;
  border-radius: 0 0 4px 4px;
  box-shadow: none;
}

.dm-group-name {
  width: 70%;
  margin: 0 0 5px;
  background-color: transparent;
  border-color: transparent;
}

.dm-group-name:hover {
  background-color: white;
  padding: 1px;
  border-width: 2px;
  border-style: inset;
  border-color: initial;
  border-image: initial;
}

.dm-group-name:disabled:hover {
  background-color: transparent;
  padding: 1px 0;
  border-color: transparent;
  border-width: 2px;
}

.dm-group-name:focus {
  background-color: white;
  padding: 1px;
  border-width: 2px;
  border-style: inset;
  border-color: initial;
  border-image: initial;
}

.dm-card-title {
  margin-left: 40px;
  width: 250px;
  background-color: transparent;
  border: 1px solid transparent !important;
  /*text-decoration: underline;*/
  font-weight: bold;
  font-size: 17px;
}

.dm-card-title:hover {
  border: 1px solid #DEE2E6 !important;
}

.dm-card-title:focus {
  background-color: white;
  border: 1px solid #DEE2E6 !important;
  /*text-decoration: none;*/
}

.dm-scen-title {
  margin-left: 3px;
  width: calc(100% - 100px);
  background-color: transparent;
  border-color: transparent;
  text-decoration: underline;
  border: none;
  /*float: right;*/
}

.dm-scen-title:focus {
  border: none;
  background-color: lightgray;
  border-color: initial;
  text-decoration: none;
}

.dm-step-button-icon {
  background-color: transparent;
  font-size: 18px;
  padding: 0;
  height: 30px;
  line-height: 30px;
  position: relative;
  left: -7px;
}

.dm-step-button-icon:focus {
  box-shadow: none;
  -webkit-box-shadow: none;
}

.dm-model-margin-bottom {
  padding: 0 !important;
  margin: 0;
}

.dm-model-margin-bottom > div {
  height: 38px;
  line-height: 38px;
  margin-bottom: 5px;
}

.dm-model-margin-bottom .invalid-feedback {
  line-height: normal;
}

.dm-model-margin-bottom > div > input {
  line-height: normal;
}

.dm-model-margin-bottom label {
  margin-right: 10px;
}

.card-carousel-container {
  width: 100%;
  min-height: 350px;
  padding: 0 15px;
  overflow: hidden;
}

.card-carousel-container > div {
  float: left;
  width: 100%;
  overflow-x: auto;
  padding: 10px 0;
  border: 1px solid transparent;
}

.carousel-display-scroll {
  width: max-content;
  width: -moz-max-content;
  /*padding: 10px;*/
}

.dm-carousel {
  width: 250px;
  height: 100%;
  /*padding: 5px;*/
  /*border: 1px solid;*/
  margin-right: 10px;
  text-align: center;
  float: left;
  position: relative;
  background-color: white;
}

.dm-carousel .carousel-title {
  /*border: 1px solid #DEE2E6;*/
  /*border-radius: 4px 4px 0 0;*/
  /*border-bottom: 0;*/
  /*padding-top: 10px;*/
  /*padding-bottom: 10px;*/
  padding: 0;
}

.dm-carousel .carousel-title input {
  height: 38px;
  /*border: 1px solid #DEE2E6;*/
  border-radius: 4px 4px 0 0;
  border-bottom: 0;
  padding: 0 10px;
}

.dm-carousel .carousel-title input:hover {
  /*background-color: rgb(238, 244, 246);*/
  border: 1px solid #DEE2E6;
}

.dm-carousel .carousel-title input:focus {
  /*background-color: rgb(238, 244, 246);*/
  border: 1px solid #DEE2E6;
}

.dm-carousel .carousel-img {
  /*border: 1px solid #DEE2E6;*/
  /*border-bottom: 0;*/
  padding: 0;
}

.dm-carousel .carousel-item-url {
  font-size: 13px;
  font-weight: normal;
  box-shadow: none;
  border: 1px solid #DEE2E6;
  border-right: 0;
  border-left: 0;
}

.dm-carousel .carousel-content {
  /*border: 1px solid #DEE2E6;*/
  padding: 0;
  height: 75px;
}

.dm-carousel .carousel-button {
  padding: 0;
}

.dm-carousel .carousel-button button {

}

.dm-carousel-img {
  width: 100%;
  height: 200px;
  text-align: center;
  /*border: 1px solid #DEE2E6;*/
  border-bottom: 0;
  overflow: hidden;
}

.dm-carousel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dm-carousel textarea {
  width: 100%;
  font-size: 13px;
  resize: none;
  /*border: none;*/
  background-color: transparent;
  overflow: hidden;
  outline: none;
  box-shadow: none;
  padding: 10px;
  border: 1px solid #DEE2E6;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  height: 100%;
}

.dm-carousel input {
  width: 100%;
  border: none;
  background-color: transparent;
  font-weight: bold;
}

.dm-carousel textarea:focus, .dm-carousel input:focus {
  /*background-color: white;*/
  /*border-color: initial;*/
  /*text-decoration: none;*/
}

.dm-carousel .dm-carousel-button {
  width: 100%;
  /*margin-bottom: 5px;*/
  background-color: #FFFFFF;
  border: 0;
  border-bottom: 1px solid #DEE2E6;
  height: 35px;
}

.dm-carousel .carousel-button-add {
  padding: 0;
}

.dm-carousel .carousel-button-add button {
  width: 100%;
  border: 0;
  border-bottom: 1px dashed #DEE2E6;
  border-radius: 0 0 4px 4px;
  background-color: #FFFFFF;
  height: 35px;
  font-size: 14px;
}

.dm-add-carousel {
  width: 240px;
  height: 344px;
  float: left;
  display: block;
  /*border: 1px solid #DEE2E6;*/
  background-color: #FFFFFF;
  border-radius: 4px;
  margin: 5px 10px 5px 5px;
  cursor: pointer;
}

.dm-add-carousel i {
  font-size: 150px;
  color: darkgray;
  vertical-align: middle;
  display: block;
  margin: 50px 0;
  text-align: center;
}

.dm-carousel-btn-action {
  border: 0;
  font-size: 14px;
  background-color: transparent;
  position: absolute;
  padding: 2px 15px;
}

.dm-carousel-button-add {
  left: 0;
  bottom: 6px;
  text-align: left;
}

.dm-carousel-button-delete {
  position: absolute;
  right: -11px;
  top: -13px;
  text-align: right;
  color: red;
  width: 38px;
  height: 38px;
  background-color: white;
  border: 1px solid #DEE2E6;
  border-radius: 50%;
  z-index: 1;

}

.dm-carousel-button-delete i {
  position: relative;
  left: -6px;
  font-size: 20px;
  top: -6px;
}

.word-wrap {
  white-space: pre-wrap; /* css-3 */
  white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  white-space: -o-pre-wrap; /* Opera 7 */
  word-wrap: break-word;
}

.move-area {
  /*width: 40px;*/
  /*height: 100%;*/
  position: absolute;
  cursor: s-resize;
  text-align: center;
  /*background-color: white;*/
  height: 45px;
  width: 45px;
  /*border: 1px solid #d3d3d3;*/
  border-radius: 50%;
  right: -40px;
  z-index: 1;
  top: calc(50% - 25px);
  display: none;
  /*box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);*/
  color: #7C909A;
}

.move-area:hover {
  /*background-color: #f2f2f2;*/
}

.move-area i {
  position: relative;
  top: calc(50% - 11px);
}

.dm-row-content {
  padding-bottom: 0px !important;
}

.dm-row-content > div {
  padding: 0 15px;
}

.dm-card-btn-delete {
  position: absolute;
  top: -23px;
  right: -22px;
  width: 45px;
  height: 45px;
  background-color: #ffffff;
  /*border: 1px solid #d3d3d3;*/
  border-radius: 50%;
  color: #ff0000;
  display: none;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
}

.dm-card-btn-menu {
  position: absolute;
  top: -4px;
  right: 11px;
  width: 45px;
  height: 45px;
  /* background-color: #ffffff; */
  /* border: 1px solid #d3d3d3; */
  /* border-radius: 50%; */
  color: #7C909A;
  /* display: none; */
  /* box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05); */
}

.dm-card-btn-menu i {
  font-size: 26px;
  position: relative;
  top: -4px;
}

.dm-event .dropdown-menu > li {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  color: #333;
  white-space: nowrap;
  cursor: pointer;
  font-size: 14px;
}

.dm-event .dropdown-menu > li > i {
  position: relative;
  top: -4px;
  font-size: 18px;
}

.dm-event .dropdown-menu > li:hover {
  color: #262626;
  text-decoration: none;
  background-color: #f5f5f5;
}

.dm-event .dropdown-menu .divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
  padding: 0;
  cursor: auto;
}

.dm-event .dropdown-menu .divider:hover {
  background-color: #e5e5e5;
}

.dm-card-btn-help {
  position: absolute;
  top: -23px;
  left: -22px;
  width: 45px;
  height: 45px;
  background-color: #ffffff;
  /* border: 1px solid #d3d3d3; */
  border: none;
  border-radius: 50%;
  color: #777777;
  display: none;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
}

.btn-add-condition {
  font-size: 14px;
  width: 100%;
  background: #FFFFFF;
  border: 1px dashed #DEE2E6;
  box-sizing: border-box;
  border-radius: 0px 0px 2px 2px;
  color: #777777;
  box-shadow: none !important;
}

.dm-event .carousel-move-areal {
  position: absolute;
  width: 38px;
  height: 38px;
  background-color: #FFFFFF;
  z-index: 2;
  border-radius: 50%;
  right: 58px;
  top: -13px;
  border: 1px solid #DEE2E6;
  cursor: e-resize;
}

.dm-event .carousel-move-areal i {
  font-size: 18px;
  position: relative;
  top: 3px;
  color: #7C909A;
}

.dm-btn-del-step {
  position: absolute;
  top: -11px;
  right: -7px;
  border-radius: 50%;
  background-color: #FFFFFF;
  padding: 0;
  width: 18px;
  height: 18px;
  display: none;
}

.dm-btn-del-step i {
  position: relative;
  top: -10px;
  font-size: 18px;
}

.holder-step {
  width: 23%;
  float: left;
  margin-right: 5px;
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}

.holder-add-step {
  float: left;
  width: 23%;
}

.variable-builtin {
  font-weight: bold;
}

/* --------------- LOADING ------------------- */

.dm_loading_back {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0.5;
  background-color: black;
  z-index: 2000;
}

.dm_loading {
  position: fixed;
  top: 30%;
  right: 46%;
  margin: 0px auto;
  /*background-color: white;*/
  z-index: 2001;
  border: 5px solid #fff;
  border-radius: 50%;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  width: 50px;
  height: 50px;
  -webkit-animation: spin 0.7s linear infinite;
  animation: spin 0.7s linear infinite;

}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ------------------END ------------------------*/

#modal-web-hook-guide.modal_zalo_guide {
  overflow: inherit;
}

#modal-web-hook-guide .card-body {
  background-color: #fff;
  overflow-y: auto;
}

/* ----- NEW STYLE DM ---- */
#app_dm {
  position: relative;
  width: 100%;
  height: calc(100% - 70px);
  overflow: hidden;
}

#app_dm > div {
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  margin: 0;
  float: left;
}

.dm-container-left {
  width: 470px;
  background-color: #E9EDEE;
  max-height: 0;
  min-height: 100%;
  float: left;
  overflow: auto;
}

.dm-container-right {
  float: left;
  width: calc(100% - 470px);
  min-height: 100%;
  height: 0;
  max-height: 100%;
  overflow: auto;
}

.dm-title {
  display: block;
  padding: 25px 25px 5px;
  font-size: 18px;
  font-weight: bold;
}

.dm-left-btn-group {
  padding: 0 25px 15px;
  display: flex;
  justify-content: space-between;
}

.dm-icon-btn {
  font-size: 14px;
}

.dm-icon-btn.config, .dm-icon-btn.config i {
  background-color: #FFFFFF;
  color: #7C909A;
}

.dm-icon-btn.add-scenario {
  font-weight: bold !important;
  background-color: #5DC7D0;
  color: #FFFFFF;
}

.dm-icon-btn.add-scenario i {
  background-color: #5DC7D0;
  color: #FFFFFF;
}

.dm-icon-btn i {
  position: relative;
  top: -3px;
  left: -3px;
}

.dm-carousel-event {
  width: fit-content !important;
  width: -moz-fit-content;
  max-width: calc(100% - 140px);
  background-color: rgb(238, 244, 246);
}

.dm-icon-button {
  position: relative;
  top: -4px;
  background-color: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}

.dm-icon-button i {
  position: relative;
  top: -4px;
}

select.check-disabled option:disabled {
  color: #CCCCCC;
}

/* ----------DM Card Icon----------- */
.dm-card-icon {
  position: absolute;
  left: 13px;
  font-size: 22px;
}


/* ------------ DM right input disabled --------------*/
.input-disabled:disabled {
  background-color: #EBEBE4;
}


/* ---- style for multiselect in modal ---- */
.col-main-right .modal-content .multiselect__content-wrapper {
  /*position: fixed;*/
  /*width: calc(100% - 32px);*/
}

/* ---- style for display rich text --- */
.col-main-right .display-rich-text-div {
    width: 100%;
    min-height: 130px;
    max-height: 250px;
    overflow: auto;
    border: 1px solid rgb(222, 226, 230);
    border-top: 0;
    padding: 5px;
}

.col-main-right .dm-card-text-button-editor {
  width: 100%;
  height: 40px;
  border: 1px solid rgb(222, 226, 230);
  background-color: white;
  color: #777777;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* ---- style for search box step --- */
.dm-search {
  width: 100%;
  padding: 5px 25px 10px;
  position: relative;
}

.dm-search-box {
  width: 60%;
  /*position: absolute;*/
  /*right: 24px;*/
  /*top: 21px;*/
  padding-left: 4px;
  padding-right: 30px;
}

.dm-icon-search-box {
  position: absolute;
  top: 11px;
  left: 52%;
}

.dm-icon-search-box-step {
  position: absolute;
  top: 11px;
  left: 52%;
}

.dm-icon-search-box-scenario {
  position: absolute;
  top: 11px;
  left: 92%;
}

.dm-block .trigger-step {
  position: relative;
  top: -1px;
  font-size: 11px;
  color: #a9a9a9;
}

.dm-block-inactive {
  background-color: #DCDCDC;
}


/* --- move up/down card --- */
.btn_move_card_up {
    position: absolute;
    top: -8px;
    right: -40px;
    padding: 0;
    width: 45px;
    height: 45px;
    display: none;
}

.btn_move_card_down {
    position: absolute;
    bottom: -4px;
    right: -40px;
    padding: 0;
    width: 45px;
    height: 45px;
    display: none;
}

.var_del_steps_in_use {
  cursor: pointer;
}

.var_del_steps_in_use i {
  position: relative;
  top: -4px;
}

.var_del_steps_in_use:hover, .var_del_steps_in_use:hover i {
  color: #ffa000;

}

/* Control panel right in small type */
/*.dm-ctrl-right-small .dm-ctrl-list-expand {*/

/*}*/

.dm-ctrl-right-small {
  display: none;
  /* border: 1px solid #d3d3d3; */
  /* background-color: #ffffff; */
  /* border-radius: 50%; */
  /* margin-right: 3px; */
  /*margin-bottom: 5px;*/
  float: left;
  height: 70px;
  text-overflow: ellipsis;
  /* overflow: hidden; */
  word-wrap: break-word;
  color: #7C909A;
  /* transition: transform .2s; */
  text-align: center;
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 64px;
}

.dm-ctrl-right-small .dm-ctrl-list-expand {
  float: left;
  list-style: none;
  /* width: 100%; */
  cursor: pointer;
  position: relative;
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;

}

.dm-ctrl-right-small .dm-ctrl-list-expand ul {
  position: absolute;
  left: -264px;
  top: -180px;
  /* Without card Typing */
  /*top: -553px;*/
  /* For card Typing */
  /*top: -231px;*/
  /*display: none;*/
  opacity: 0;
  visibility: hidden;
  background-color: #EEF4F6;
  box-shadow: 1px 1px 20px #D3D3D3;
  width: 255px;
  padding: 5px;
  -webkit-transition: left 0.2s, opacity 0.2s ease;
  -moz-transition: left 0.2s, opacity 0.2s ease;
  -ms-transition: left 0.2s, opacity 0.2s ease;
  -o-transition: left 0.2s, opacity 0.2s ease;
  transition: 0.4s ease;
  z-index: 1;
  border-radius: 7px;
}

.dm-ctrl-right-small .dm-ctrl-list-expand ul li {
  list-style: none;
}

.dm-ctrl-right-small .dm-ctrl-list-expand:hover ul {
  /*display: block;*/
  opacity: 1;
  visibility: visible;
  /*left: -90px;*/
}

.dm-ctrl-right-small .dm-ctrl-list-expand ul li {
  display: block;
  /* border: 1px solid #d3d3d3; */
  background-color: #ffffff;
  border-radius: 6px;
  /* margin-right: 3px; */
  margin: 3px;
  width: 75px;
  float: left;
  height: 70px;
  text-overflow: ellipsis;
  /*overflow: hidden;*/
  word-wrap: break-word;
  color: #7C909A;
  transition: transform .2s;
}

.dm-ctrl-right-small button {
    display: block;
    /* border: 1px solid #d3d3d3; */
    background-color: #ffffff;
    border-radius: 6px;
    /* margin-right: 3px; */
    margin-bottom: 5px;
    width: 100%;
    float: left;
    height: 70px;
    text-overflow: ellipsis;
    overflow: hidden;
    word-wrap: break-word;
    color: #7C909A;
    transition: transform .2s;
}

.dm-ctrl-right-small button:hover {
  transform: scale(1.2);
  box-shadow: 1px 1px 20px #d3d3d3;
}

.dm-ctrl-right-small button span {
    /* vertical-align: middle; */
    /* vertical-align: -webkit-baseline-middle; */
    line-height: 120%;
    white-space: normal;
    font-size: 12px;
}


@media only screen and (max-width: 1400px) {
  .dm-container-left {
    width: 360px;
    /*background-color: #E9EDEE;*/
    /*max-height: 0;*/
    /*min-height: 100%;*/
    /*float: left;*/
    /*overflow: auto;*/
  }

  .btn.dm-icon-btn.config i, .btn.dm-icon-btn.add-scenario i {
    display: none;
  }

  .holder-step, .holder-add-step {
    width: 31%;
  }

  .dm-container-right {
    width: calc(100% - 360px);
  }


}

@media only screen and (max-width: 1260px) {
  .dm-ctrl-right-small {
    display: block;
  }

  .dm-ctrl-right {
    display: none;
  }

  .dm-carousel-event {
    max-width: calc(100% - 80px);
  }

  .dm-event {
    width: 460px;
  }

  /*.dm-container-right {*/
    /*width: 100%;*/
  /*}*/
}

.hint-dm-card-button-name {
  position: absolute;
  font-size: 18px;
  top: 6px;
  right: -10px;
}