.dcm_dropdown{
  float: left;
  position: relative;
  width: 100%;
  .dropdown_input{
    min-width: 100px;
    border-bottom: 1px solid #cccccc;
    height: 30px;
    line-height: 30px;
    padding-left: 7px;
    &:hover{
      cursor: pointer;
    }
    span.glyphicon-triangle-bottom{
      width: 20px;
      font-size: 9px;
      height: 100%;
      position: relative;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .input_part{
      width:calc(100% - 20px);
      display: inline-block;
      float: left;
      min-height: 25px;
      .edited_input_value{
        border: 0;
        padding-left: 0;
        height: 30px;
        width: 100%;
        //border-bottom: 1px solid #ccc;
        outline: none;
        background:transparent;
        &:focus{
          outline: none;
        }
      }
    }
    &.editable{
      position: relative;
      background: white;
      z-index: 99999;
      .edited_input_value{
        color:black;
        &::placeholder{
          color:black;
        }
      }
    }
    .selected_value{
      max-height: 30px;
      overflow: hidden;
    }
    .selected_value.empty_field{
      font-style: italic;
      color: #444444;
    }
    .selected_value:hover, .selected_value *:hover{
      cursor: pointer;
    }
    &:focus{
      outline: none;
    }
  }
  .select{
    -webkit-box-shadow: 2px 2px 11px 0px #333;
    -moz-box-shadow: 2px 2px 11px 0px #333;
    box-shadow: 2px 2px 11px 0px #333;
    position: fixed;
    background: white;
    z-index: 99999;
    min-width: 200px;
    max-height: 250px;
    overflow: auto;
    margin-bottom: 5px;
    .option_block{
      list-style:none;
      padding-left: 0;
      float: left;
      width: 100%;
      overflow: hidden;
      .option.active {
        background: #cccccc;
      }
      .option {
        width: 100%;
        height: 30px;
        padding: 0px 20px;
        &.tree{
          padding: 0px 25px;
        }
        input[type=checkbox]{
          float: left;
          width: 30px;
          margin: 8px 0px;
        }
        .dcm_input_value{
          float: left;
          width: 100%;
          height: 30px;
          line-height: 30px;
          color: black;
          white-space: nowrap;
          &.with_checkbox{
            width:calc(100% - 30px);
          }
        }
      }
      li.option{
        //padding-left:15px;
        border-bottom: 1px solid #ccc;
        display: flex;
      }
      .option:hover {
        cursor: pointer;
        background: rgba(28, 36, 43, 0.1);
      }
    }
    .add_block{
      input{
        margin-left: 30px;
        width: calc( 100% - 60px );
      }
      .glyphicon-plus{
        width: 30px;
        text-align: center;
        line-height: 25px;
        height: 28px;
        color: white;
        background: var(--backgroundColor);
      }
    }
  }
  .search_block,.add_block{
    width: 100%;
    height: 30px;
    float: left;
    //margin-left: 1%;
    border-bottom: 1px solid #ccc;
    margin-top: 2px;
    input[type=text]{
      width: calc(100% - 32px);
      float: left;
      color: #000000;
    }
    input[type=checkbox]{
      width: 30px;
      float: left;
      margin: 8px 0px;
    }
  }

  &.single_mode{
    input{
      /*
      margin-left: 30px;
      */
      width: calc( 100% - 30px );
    }
    .search_block{
      input[type=text]{
        width: calc(100% - 4px);
        margin: 2px;
      }
    }
    .option_block{
      .option{
        padding-left: 15px;
      }
    }
  }
  .tree_label{
    color: #000;
    font-weight: bold;
    padding-left: 15px;
    height: 30px;
    line-height: 30px;
    width: 100%;
    border-bottom: 1px solid #333;
  }
  .tree_block{
    border-bottom: 1px solid #444444;
  }
}
