@import '../../styles/_forms.scss';
@import '../ChatWidget/Comment.scss';

.ui-commons {
  .alert-box-data {
    float: left;
    font-size: 12px;
    padding-top: 16px;
    padding-left: 20px;
    label {
      color: rgba(0, 0, 0, 0.4);
      font-size: 12px;
      float: left;
      width: 80px;
      height: 17px;
    }
    span {
      color: rgba(0, 0, 0, 0.7);
      margin-left: 10px;
      font-size: 12px;
      float: left;
      width: calc(100% - 90px);
      height: 17px;
    }
  }
  .alert-box-data:nth-child(odd) {
    width: calc(60% - 20px);
  }
  .alert-box-data:nth-child(even) {
    width: calc(40% - 20px);
  }
  .ticket-basic-data {
    padding-right: 19px;
    height: auto;
    overflow-y: hidden;
    background: white;
  }
  .edit-ticket-container {
    background: #ffffff;
    height: auto;
    .edit-ticket-filters {
      height: 60px;
      background: white;
      padding-bottom: 16px;
      padding-right: 19px;
      padding-top: 16px;
      clear: both;
      .ticket-save-btn {
        float: left;
        margin-top: 27px;
        margin-right: 0;
        margin-left: 20px;
      }
      .Select-menu-outer {
        width: 100% !important;
        max-width: 100% !important;
        z-index: 9999;
        display: block !important;
      }
    }
    .edit-ticket-select {
      width: 170px;
      float: left;
      cursor: pointer;
      .filter {
        margin-left: 20px;
      }
    }
    .edit-ticket-datetime {
      width: 170px;
      float: left;
      cursor: pointer;
      .edit-alert-date {
        margin: 5px;
        .rdt > input { 
          padding: 7px 15px;
        }
      }
    }
  }
  .custom-select-wrapper {
    .label {
      color: rgba(0, 0, 0, 0.4);
      margin-right: 12px;
      max-width: 70px;
      white-space: normal;
      font-size: 12px;
    }
    .custom-select-box {
      background-color: #ffffff;
      border: 1px solid #e0e0e0;
      border-radius: 2px;
      padding: 13px 8px;
      font-size: 15px;
      /* margin: 0px 10px; */
      height: 15px;
      padding-top: 6px;
      margin-top: 5px;
      margin-left: 0px;

      .selected-value {
        color: rgba(0, 0, 0, 0.6);;
        max-width: 100px;
        min-width: 50px;
        overflow: hidden;
        white-space: nowrap;
        font-size: 14px;
        span {
          font-family: $brandon-font-regular;
        }
      }

      .icon {
        color: rgba(0, 0, 0, 0.4);
        float: right;
        margin-top: 0px;
      }

    }

  }

  i.material-icons.checkbox.selected {
    color: #dd712f;
  }
  .edit-ticket-footer {
    height: 55px;
    width: 100%;
    margin-top: 15px;
    background: #fafafa;
  }
  .primaryBtn {
    margin-top: 10px;
    margin-right: 4%;
  }
  .single-select > label {
    color: rgba(0, 0, 0, 0.4);
    margin-right: 12px;
    max-width: 70px;
    white-space: normal;
    font-size: 12px;
  }
  .single-select {
    .Select.full_width {
      padding-left: 0;
      margin: 5px 10px 0px 0px;
    }
    .form-field.full_width .Select-control {
      border-radius: 2px;
      height: 36px !important;
      display: flex;
      width: 100% !important;
    }
    span.Select-clear-zone {
      position: absolute;
      right: 30px;
      line-height: 38px;
    }
    span.Select-arrow-zone {
      position: absolute;
      right: 5px;
      line-height: 38px;
    }
    .Select-placeholder, .Select--single > .Select-control .Select-value {
      line-height: 38px;
      padding-right: 44px !important;
    }
    .has-value.Select--single > .Select-control .Select-value .Select-value-label, .has-value.is-pseudo-focused.Select--single > .Select-control .Select-value .Select-value-label, .form-field .Select-placeholder {
      color: #333;
      color: rgba(0, 0, 0, 0.6);
      font-size: 14px;
      font-family: $brandon-font-regular;
    }
  }


  .up-arrow {
    position: absolute !important;
    right: 0;
    left: 86% !important;
    margin-top: 60px;
    top: 2px !important;
  }
  .cancel-upload-icon {
    float: right;
    top: 9px;
    position: absolute;
    right: 5px;
    cursor: pointer;
    .material-icons {
      font-size: 15px;
    }
  }
  .material-icons {
    font-family: 'Material Icons' !important;
  }
  #Assign_To {
    top: 180px;
    left: 23px;
    position: absolute;
  }
  #Select_Reason {
    top: 105px;
    left: 28px;
    position: absolute;
  }
  .select-tooltip {
    display: none;
    margin-top: -10px;
    color: #fff;
    background-color: #222;
    opacity: 0.9;
    margin-left: 0px;
    visibility: visible;
    border-radius: 3px;
    font-size: 13px;
    padding: 8px 21px;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
    z-index: 999;
  }
  .select-tooltip:before {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    bottom: -8px;
    left: 50px;
    margin-left: -10px;
  }
  .select-tooltip:before, .select-tooltip:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
  }
  .select-tooltip:after {
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    bottom: -6px;
    left: 40px;
    margin-left: -8px;
    border-top-color: #222;
    border-top-style: solid;
    border-top-width: 6px;
  }
}
.edit-alert-filter {
  span.dropdown-menu {
    font-size: 14px !important;
    height: 30px;
    min-height: 30px !important;
    width: 100%;
    padding-right: 0 !important;
    .material-icons {
      color: rgba(0, 0, 0, 0.4);
      left: -14px !important;
      margin-top: 7px !important;
      width: 16px !important;
      height: 16px !important;
      font-size: 16px !important;
    }
    i.material-icons.checkbox.selected {
      color: #dd712f;
    }
  }
  span.dropdown-menu > div > div > div {
    margin-left: -45px;
    height: 30px;
    line-height: 30px;
  }
  .menu-title {
    margin: 10px 0 0 10px;
  }
}
.edit-alert-filter.popover {
  border: 1px solid #e0e0e0;
  background: #f5f5f5 !important;
  width: 320px;
  margin-top: 0;
  div[role="menu"] {
    width: 300px !important;
    display: inherit;
    padding: 0 !important;
  }
  div[role="presentation"] {
    width: 100% !important;
    margin: 0;
    background: white;
    max-height: 150px;
    overflow-y: scroll;
  }
}
.edit-alert-filter.popover > div {
  max-height: 196px !important;
  background: white;
  min-height: 120px;
}
.edit-alert-filter.popover .menu {
  padding: 0px !important;
}

.edit-alert-filter.popover .menu .menu-item {
  font-size: 14px !important;
  border-bottom: 1px solid #efefef !important;
}

.edit-alert-filter.popover .menu .menu-item.selected {
  color: #dd712f;
}
input.select-search {
  width: calc(100% - 24px);
  margin-left: 6px;
  margin-top: 6px;
  height: 30px;
  font-size: 14px;
  padding-left: 10px;
  color: rgba(0, 0, 0, 0.6);
  border: 1px solid #e0e0e0;
  margin-bottom: 6px;
}
.search-box-container {
  background: #f5f5f5;
}
input.select-search:focus {
  outline: none;
}
.edit-modal * {
  font-family: $brandon-font-regular;
}
.edit-ticket-container .alert-box-data label{
  width: auto!important;
  max-width: 80px;
  height: auto!important;
}

.edit-ticket-container .font-type.alert-box-data:nth-child(1){
  width: 25%;
  label{
    width: 50px!important;
  }
  span{
    width: calc(100% - 60px)!important;
  }
}
.edit-ticket-container .font-type.alert-box-data:nth-child(2){
  width: 20%;
}
.edit-ticket-container .font-type.alert-box-data:nth-child(3){
  width: 20%;
}
.edit-ticket-container .font-type.alert-box-data:nth-child(4){
  width: 25%;
}
.date-time-picker.column {
  width: 170px;
  float: left;
  margin-left: 20px;
}
.ui-commons .date-time-picker .label {
  text-transform: capitalize;
  color: rgba(0, 0, 0, 0.4);
  margin-right: 12px;
  max-width: 150px;
  white-space: normal;
  font-size: 11px !important;
  margin-top: 3px;
}
.ui-commons .date-time-picker .date-time-input-group input[type="text"]{
  height: 36px!important;
  width: 150px!important;
  margin-top: 5px!important;
}
.top-filters {
  padding-bottom: 0!important;
  padding-top: 9px!important;
}
.ui-commons #Select_SubReason {
  top: 104px;
  left: 197px;
  position: absolute;
}

.InformationTab{
  .ReactTable{
    .rt-tr{
        height:40px;
        line-height:40px;
    }

    .rt-tbody{
      height:auto !important;
    }
  }
}

.disable-background-select{
  background-color: rgba(128, 128, 128, 0.07) !important;
}
