#filterTree {
	position:absolute;
	z-index:100;
	padding: 5px 24px 10px 14px;
	width: 800px;
	left:40px;
	top:120px;
}

.filterTreeInv {
  .filterButtons {
    .filter-buttons {
      position: relative;
      display: flex;
      align-items: center;

      span {
        flex-grow: 1;
      }

      .btn-primary {
        margin-left: 12px;
      }

      a {
        font-weight: 500;
        font-size: 14px;
        line-height: 16px;
        color: @CFE_dark_blue;
        display: flex;

        i {
          color: @CFE_dark_blue;
          font-size: 18px;
        }

        &:hover {
          text-decoration: none;
        }
      }
    }
  }
}

#filterTree.open {
  border: 1px solid rgba(173, 186, 205, 0.2);
  box-shadow: 1px 2px 10px 2px #D4D4D4;
  border-radius: 4px;
  background: white;
}

.filterTree .group-header {
    display:block;
}


.filterTree .btn.dropdown-toggle {
    padding-top:8px;
    padding-bottom:8px;
}


#filterTree .accordion-group {
    position:relative;
}

.filter-buttons {
    bottom:0;
    right:0;
    position: absolute;
}

/* Class search input */
#classSearch {
    margin-top:10px;
}

.inline #classSearch {
    margin-top:4px;
}

/* Select all hosts */
.checkall {
  position:relative;
  left:-3px;
  padding: 5px 6px;
  background-color: #f9f9f9;
  border: 1px solid #e1e1e1;
  border-radius:4px;
  vertical-align:text-top;
}

.checkall.checkbox {
  padding-left: 6px;
}

.excludeButton {
  display: inline-block;
}

.contextState {
  display: inline-block;
  vertical-align: top;
}
.add_condition .contextState {
  margin-left: 200px;
}

.host-filter-condition {
  .host-filter {
    display: block !important;
  }
  .filter-title {
    display: none;
  }
}

.add_condition-rules {
  .change-data-type {
    display: none;
  }
}

.mtb-10 {
  margin: 10px 0px
}

/* host list in popup */
.modal-body {
  .class-search {
    padding: 0px 40px;
  }
  .host-list {
    padding: 0 4px;
  }

  .host-list-exclude, .host-list-include {
    max-height: 280px;
    overflow-x: hidden;
    overflow-y: scroll;
  }

  .host-list ul {
    max-height: 260px;
    overflow-x: auto;
    margin-bottom: 0;

    li {
      min-height: 19px;
      padding: 3px;

      .collapsed-data {
        > div {
          display: flex;
          align-items: center;
          justify-content: space-between;
          width: 100%;
          color: @Gray800;
          font-weight: 400;
          span {
            text-overflow: ellipsis;
            overflow: hidden;
            max-width: 300px;
            display: inline-block;
            vertical-align: bottom;
          }
        }
      }
    }
    .btn-select {
      cursor: pointer;
      color: #1F83E7;
      margin-left: 10px;
      margin-right: 5px;
    }
    
    .host-list_name {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      width: 240px;
      float: left;
    }
  }

  .clearAll {
    position: fixed;
    bottom: 87px;
    right: 20px;
  }


  .searchBlock {
    position: relative;

    .clearSearch {
      position: absolute;
      right: 10px;
      top: -7px;
      cursor: pointer;
    }
  }

    @media (min-height:800px) {
      max-height:350px;
    }
    @media (min-height:900px) {
      max-height:420px;
    }

  .entries_tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid @Gray200;
    a {
      color: @Gray800;
      padding: 0px 4px;
      &:hover {
        text-decoration: none;
      }
      &.active {
        border-bottom: 4px solid @Blue600;
      }
    }
  }

}

.modal-body.include-additional-modal {
  margin: 0 16px;
  min-height: 415px;
  overflow: hidden;

  .subtitle {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: @Gray800;
    border-bottom: 1px solid #D1D2D3;
    padding: 16px 0;
  }

  input[name="modalData.searchString"] {
    border: 1px solid #E7E7E7;
    border-radius: 4px;
    padding-left: 12px;
    box-shadow: none !important;
    &:focus {
      border: 1px solid #E7E7E7 !important;
    }

    &::placeholder {
      font-weight: 500;
      font-size: 14px;
      line-height: 16px;
      color: @inactiveTextColor;
    }
  }
  
  .searchBlock {
    &:after {
      content: '\F52A';
      font-family: bootstrap-icons;
      position: absolute;
      right: 12px;
      top: -5px;
      opacity: 0.5;
    }
  }
  .noHostsFound{
    > p{
      margin: 15px 0 0 13px;
    }
  }
  .addIpMask {
    padding-left: 13px;
    a {
      word-break: break-all;
      color: @Gray500;
      font-size: 13px;
      font-weight: 500;
      &:hover {
        color: @BlueLight600;
      }
    }
    i {
      margin-left: 6px;
      color: @Gray600
    }
  }

  .help-text {
    color: @Gray500;
    font-style: italic;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
  }

  .clear-all {
    text-decoration: none;
    color: @Gray800;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
  }
  
  .right-summary {
    display: flex;
    align-items: center;
    padding: 23px 0;
  }

  .main {
    display: flex;
    justify-content: space-between;
    min-height: 364px;

    > div {
      flex-basis: 45%
    }

    .inclExcl {
      padding-top: 16px;
      flex-basis: 50%;
      border-right: 1px solid @Gray300;
    }
  }

  .host-list-include {
    max-height: 215px;
    padding-left: 20px;
    margin-left: -20px;

    li {
      position: relative;
      font-weight: 500;
      font-size: 14px;
      line-height: 120%;
      margin: 16px 0;

      a {
        margin-left: 16px;
      }

      .bi-exclamation-triangle-fill {
        position: absolute;
        left: -20px;
        top: 50%;
        transform: translateY(-50%);
        color: @Red600;
      }

    }
  }

  .host-list {
    padding: 0;
    margin-top: 10px;

    li {
      padding: 0 0 0 13px;
      margin-right: 5px;
      font-weight: 500;
      font-size: 14px;
      :hover{
        cursor: pointer;
      }

      .host-list_name {
        width: 280px;
      }

      .checkbox {
        padding: 5px 0 5px 13px;
        margin-left: -13px;
        .highlight {
          background: #badcfc;
        }
      }
      
      &.collapsed, &:hover {
        background-color: #F7F8F9;
        .checkbox {
          background-color: #E3E4E5;
        }
      }

      .btn-link {
        text-decoration: none;
        font-weight: 500;
        background: none;
        border: none;
        color: @BlueLight600;
        i {
          color: @BlueLight600;
        }
        &[disabled], &[disabled]:hover {
          color: @Gray400;
          i {
            color: @Gray400;
          }
        }
      }
      
      .disabled {
        color: @Gray500;
      }
    }
  }
  .paginator_SE {
    margin: 10px 0 20px 9px;
    font-weight: 500;
  }
}

.include-exclude-form {
  padding-bottom: 12px;
  margin: 0;
  background: @Gray100;
  a, a:hover {
    color: #1F83E7;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    text-align: left;
    .bi-exclamation-triangle-fill {
      color: @Red600;
      margin-left: 10px;
    }
  }
  .btn-large {
    padding: 8px 7px;
  }
  &-entities {
    list-style: none;
    margin-left: 0;
    font-weight: 500;
    color: @Gray800;
    max-height: 310px;
    overflow-y: auto;
    margin-top: 4px;
    li {
      padding: 8px 8px 8px 0;
      border-bottom: 1px solid @Gray200;
      display: flex;
      &.recentlyAdded {
        background: #E3F1FD;
      }
      >span {
        flex-grow: 1;
      }
      &:last-child {
        border: none;
      }
      .removeEntry {
        color: @Red600;
      }
    }
  }
}
