@import "../../variables.scss";

.GraphFIlterCard {
  display: flex;
  justify-content: end;
  margin-bottom: $mrg + 10;
  flex-wrap: wrap;
  position: relative;
  border: none;
  @media (max-width: $xl) {
    justify-content: space-between;
  }

  .BtnCustom {
    font-size: $font + 4;
    border: none !important;
    padding: 0 $pad + 5;
    height: 44px;
    border-radius: $bdr-rds - 2;
    box-shadow: none;
    color: white;
    margin-left: 5px;
    background-color: #b0b0b0 !important;
  } 

  .GraphDatePicker {
    border: solid 1px #e5e5e5;
    padding-right: $pad + 35;
    height: 45px;
    line-height: 45px;
    border-radius: $bdr-rds;
    overflow: hidden;
    margin: 0 $mrg;
    display: flex;
    align-items: center;
    color: $black;
    padding: 0 $pad + 5;
    font-size: $font + 4;
    @media (max-width: $xl) {
      width: 65%;
      margin: 0;
      font-size: $font + 3;
      padding: 0 $pad;
    }
    i {
      margin-right: $mrg;
      @media (max-width: $xl) {
        width: 20px;
      }
    }
  }

  .SearchFIlterCard {
    position: relative;
    width: 300px;
    margin-right: $mrg;
    @media (max-width: $xl) {
      width: 65%;
      margin-bottom: $mrg;
    }
    .ContactInput {
      box-shadow: none;
      border-radius: $bdr-rds;
      height: 45px;
      line-height: 45px;
      border: solid 1px #e5e5e5;
      padding-right: $pad + 25;
      &::-webkit-input-placeholder {
        color: $black;
      }
      &::-moz-placeholder {
        color: $black;
      }
      &:-ms-input-placeholder {
        color: $black;
      }
      &:-moz-placeholder {
        color: $black;
      }
    }
    img {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      right: 15px;
      cursor: pointer;
      display: block;
    }
  }
  .FIlterCustomDropdown {
    @media (max-width: $xl) {
      width: 30%;
    }
    button {
      @media (max-width: $xl) {
        min-width: 100%;
      }
    }
  }
  .DwnIcon {
    margin-left: $mrg;
    @media (max-width: $xl) {
      position: absolute;
      top: -50px;
      right: 0;
      width: 25px;
    }
  }
}