@import "variables";
.block-search-event {
  font-family: @font-family-nunito-serif;
  font-size: @font-size-base;
  font-weight: @font-weight-normal;
  color: @text-color-1;
  .title{
    margin-bottom: 52px;
    p{
      font-style: normal;
      font-weight: normal;
      font-size: 24px;
      line-height: 33px;
      text-align: center;
      letter-spacing: 0.03em;
      color: #EEEEEE;
    }
    h1{
      font-style: normal;
      font-weight: bold;
      font-size: 80px;
      line-height: 109px;
      text-align: center;
      letter-spacing: 0.03em;
      color: #FFFFFF;
      text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }
  }

  form.form-search {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    @media (min-width: 768.001px) and (max-width: 992px) {
      margin: 0px 15px;
    }
    @media (min-width: 576px) and (max-width: 768px) {
      display: none;
    }
    @media (max-width: 575.98px) {
      display: none;
    }

    .block-select-location {
      position: relative;
      width: 21%;
      height: 80px;
      border-right: @border-gray;
      @media (min-width: 992px) and (max-width: 1199.98px) {
        width: 21%;
      }
      @media (min-width: 768px) and (max-width: 991.98px) {
        width: 21%;
      }

      .icon-nb-pin {
        font-size: 18px;
        position: absolute;
        top: 50%;
        left: 23px;
        transform: translateY(-50%);
        z-index: 1;
        color: #B0B0B0;
      }
      .fa-sort-down{
        position: absolute;
        top: 50%;
        transform: translateY(-64%);
        right: 23px;
        color: #B0B0B0;
        z-index: 1;
      }

      label {
        position: absolute;
        top: 13px;
        left: 60px;
        z-index: 1;
        color: @text-color-2;
        font-weight: @font-weight-normal;
      }

      select.select-location {
        outline: none;

        &:active, &:focus {
          outline: none;
        }
      }

      .select2-container--default {
        width: 100% !important;
        height: 100%;

        .selection {
          .select2-selection--single {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 0;

            .select2-selection__rendered {
              font-family: "Nunito", sans-serif;
              font-style: normal;
              font-weight: normal;
              font-size: 16px;
              line-height: 24px;
              padding-left: 60px;
              letter-spacing: 0.02em;
              color: #B0B0B0;
              position: absolute;
              top: 50%;
              transform: translateY(-50%);
              width: 90%;
              z-index: 2;
            }

            .select2-selection__arrow {
              display: none;
            }
          }
        }
      }
    }

    .block-select-date {
      position: relative;
      width: 21%;
      height: 80px;
      border-right: @border-gray;
      background-color: #FFFFFF;
      @media (min-width: 992px) and (max-width: 1199.98px) {
        width: 21%;
      }
      @media (min-width: 768px) and (max-width: 991.98px) {
        width: 21%;
      }
      .icon-calendar-7{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #B0B0B0;
        left: 23px;
      }
      input{
        border: none;
        height: 80px;
        width: 100%;
        font-style: normal;
        font-weight: normal;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0.02em;
        color: #B0B0B0;
        padding-left: 60px;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      select.select-location {
        outline: none;

        &:active, &:focus {
          outline: none;
        }
      }

      .select2-container--default {
        width: 100% !important;
        height: 100%;

        .selection {
          .select2-selection--single {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 0;

            .select2-selection__rendered {
              font-family: "Nunito", sans-serif;
              font-style: normal;
              font-weight: normal;
              font-size: 16px;
              line-height: 24px;
              padding-left: 60px;
              letter-spacing: 0.02em;
              color: #B0B0B0;
              position: absolute;
              top: 50%;
              transform: translateY(-50%);
              width: 100%;
              z-index: 2;
            }

            .select2-selection__arrow {
              display: none;
            }
          }
        }
      }
    }

    .block-sorting-dropdown {
      width: 21%;
      height: 80px;
      background-color: @background-color-white;
      @media (min-width: 992px) and (max-width: 1199.98px) {
        width: 21%;
      }
      @media (min-width: 768px) and (max-width: 991.98px) {
        width: 21%;
      }

      .dropdown {
        height: 90px;
        padding: 28px 7px;
        margin-left: 50px;
        position: relative;
        a.dropdown-toggle {
          label {
            color: @text-color-2;
            font-weight: @font-weight-normal;
          }

          & > span {
            display: flex;
            justify-content: flex-start;
            align-items: center;

            span {
              display: inline-block;
              margin-right: 10px;
              font-family: "Nunito", sans-serif;
              font-style: normal;
              font-weight: normal;
              font-size: 16px;
              line-height: 24px;
              color: #B0B0B0;
              letter-spacing: 0.02em;
            }
            i{
              position: absolute;
              right: 23px;
              color: #B0B0B0;
              margin-top: -3px;
            }
          }
        }
      }

      .open {
        .dropdown-menu {
          display: flex;
        }
      }

      .dropdown-menu {
        .block-filter-price {
          padding: 15px;

          h5 {
            font-size: @font-size-h5;
            font-weight: @font-weight-semibold;
          }

          input#amount_1 {
            text-align: center;
            font-size: @font-size-base;
            border: none;
            padding: 10px 0 10px 0;
            outline: none;

            &:active {
              outline: none;
            }
          }

          #slider-container-1 {
            height: 6px;

            .ui-slider-range {
              background: none;
              background-color: #FB646F;
              border: none;
            }

            .ui-slider-handle {
              top: 50%;
              transform: translateY(-50%);
              width: 10px;
              height: 10px;
              border-radius: 50%;
              background: none;
              background-color: #FB646F;
              border: none;
              margin-left: -5px;
            }
          }
        }

        .block-event-categories {
          padding: 15px;

          h5 {
            font-size: @font-size-h5;
            font-weight: @font-weight-semibold;
            margin-bottom: 15px;
          }

          .block-event-type-item {
            width: 100%;
            display: grid;
            grid-column-gap: 10px;
            grid-row-gap: 10px;
            grid-template-columns: 1.5fr 1fr 1fr;
            @media (min-width: 768px) and (max-width: 991.98px) {
              grid-template-columns: 1fr 1fr;
            }

            label {
              font-size: @font-size-base;
              font-weight: @font-weight-normal;
              margin-bottom: 0;

              input[name="category"] {
                outline: none;

                &:active {
                  outline: none;
                }
              }

              span {
                display: inline-block;
                margin-left: 5px;
                color: #B0B0B0;
              }
            }
          }

        }

        .block-employee {
          padding: 15px;

          h5 {
            font-size: @font-size-h5;
            font-weight: @font-weight-semibold;
            margin-bottom: 15px;
          }

          .block-employee-item {
            width: 100%;
            display: grid;
            grid-column-gap: 10px;
            grid-row-gap: 10px;
            grid-template-columns: 1.5fr 1fr 1fr;
            @media (min-width: 768px) and (max-width: 991.98px) {
              grid-template-columns: 1fr 1fr;
            }

            label {
              font-size: @font-size-base;
              font-weight: @font-weight-normal;
              margin-bottom: 0;

              input[name="employee"] {
                outline: none;

                &:active {
                  outline: none;
                }
              }

              span {
                display: inline-block;
                margin-left: 5px;
                color: #B0B0B0;
              }
            }
          }

        }
      }
    }

    .category {
      border-right: 1px solid #DCD7D7;
      position: relative;
      border-radius: 10px 0px 0px 10px;

      .icon-collection {
        font-size: 26px;
        position: absolute;
        top: 50%;
        color: #B0B0B0;
        transform: translateY(-50%);
        left: 20px;
      }

      .dropdown-menu {
        width: 633px;
        transform: translate(-50px, -10px);
      }
    }

    .price-employee {
      position: relative;

      .icon-nb-user-2 {
        font-size: 18px;
        position: absolute;
        top: 50%;
        color: #B0B0B0;
        transform: translateY(-50%);
        left: 23px;
      }

      .dropdown-menu {
        width: 800px;
        left: unset;
        right: 0;
        transform: translate(0px, -10px);
        @media (min-width: 992px) and (max-width: 1199.98px) {
          width: 700px;
        }
        @media (min-width: 768px) and (max-width: 991.98px) {
          width: 600px;
        }
      }
    }

    .wrapper-button {
      width: 16%;
      @media (min-width: 992px) and (max-width: 1199.98px) {
        width: 20%;
      }
      @media (min-width: 768px) and (max-width: 991.98px) {
        width: 20%;
      }

      button {
        width: 100%;
        height: 80px;
        font-style: normal;
        font-weight: 600;
        font-size: 20px;
        line-height: 30px;
        border-top-left-radius: 0;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 10px;
        background-color: #FB646F;
        border-color: #FB646F;
        letter-spacing: 0.03em;
        text-transform: uppercase;

        &:hover {
          background: #FB646F;
        }
      }

    }
  }

  form.form-search-event {
    width: 100%;
    display: none;
    padding: 20px;
    @media (min-width: 576px) and (max-width: 768px) {
      display: block;
    }
    @media (max-width: 575.98px) {
      display: block;
    }
    .block-more-option {
      background-color: #ffffff;
      border-top: 1px solid #DCD7D7;
      padding: 40px 0px;
      position: relative;
      border-radius: 10px 10px 0px 0px;
      .icon-nb-user-2, .icon-collection{
        position: absolute;
        top: 30px;
        left: 23px;
        color: #B0B0B0;
        font-size: 18px;
      }
      .icon-collection{
        font-size: 26px;
      }
      .title-more-option {
        p {
          display: flex;
          justify-content: flex-end;
          align-items: center;
          color: #5191FA;
          cursor: pointer;
          position: relative;

          span {
            display: inline-block;
            position: absolute;
            font-style: normal;
            font-weight: normal;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: 0.02em;
            color: #B0B0B0;
            left: 60px;
          }

          i {
            font-size: @font-size-base;
            position: absolute;
            right: 24px;
            color: #B0B0B0;
          }
        }
      }

      .block-filter-price {
        padding: 23px;

        h5 {
          font-size: @font-size-h5;
          font-weight: @font-weight-semibold;
        }

        input#amount_2 {
          text-align: center;
          font-size: @font-size-base;
          border: none;
          padding: 10px 0 10px 0;
          outline: none;

          &:active {
            outline: none;
          }
        }

        #slider-container-2 {
          height: 6px;

          .ui-slider-range {
            background: none;
            background-color: #FB646F;
            border: none;
          }

          .ui-slider-handle {
            top: 50%;
            transform: translateY(-50%);
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: none;
            background-color: #FB646F;
            border: none;
            margin-left: -5px;
          }
        }
      }

      .block-event-categories-2 {
        padding: 23px;
        display: flex;
        flex-flow: column wrap;
        justify-content: flex-start;
        align-items: flex-start;

        h5 {
          font-size: @font-size-h5;
          font-weight: @font-weight-semibold;
          margin-bottom: 15px;
        }

        .block-event-type-item {
          display: flex;
          flex-flow: column wrap;
          align-items: flex-start;
          @media (min-width: 576px) and (max-width: 767.98px) {
            display: grid;
            grid-column-gap: 20px;
            grid-row-gap: 20px;
            grid-template-columns: 1fr 1fr;
          }

          label {
            font-size: @font-size-base;
            font-weight: @font-weight-normal;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: 100%;
            color: #B0B0B0;

            input[name="category[]"], input[name="employee[]"] {
              margin-right: 10px;
              outline: none;
              margin-top: 0px;

              &:active {
                outline: none;
              }
            }

            span {
              display: -webkit-box;
              -webkit-line-clamp: 1;
              -webkit-box-orient: vertical;
              height: 20px;
              overflow: hidden;
              text-overflow: ellipsis;
            }
          }
        }
      }
    }

    .block-select-date {
      position: relative;
      height: 80px;
      border-top: 1px solid #DCD7D7;
      background-color: #FFFFFF;
      .icon-calendar-7{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #B0B0B0;
        left: 23px;
      }
      input{
        border: none;
        height: 80px;
        width: 100%;
        font-style: normal;
        font-weight: normal;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0.02em;
        color: #B0B0B0;
        padding-left: 60px;
      }

      select.select-location {
        outline: none;

        &:active, &:focus {
          outline: none;
        }
      }

      .select2-container--default {
        width: 100% !important;
        height: 100%;

        .selection {
          .select2-selection--single {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 0;

            .select2-selection__rendered {
              font-family: "Nunito", sans-serif;
              font-style: normal;
              font-weight: normal;
              font-size: 16px;
              line-height: 24px;
              padding-left: 60px;
              letter-spacing: 0.02em;
              color: #B0B0B0;
              position: absolute;
              top: 50%;
              transform: translateY(-50%);
              width: 100%;
              z-index: 2;
            }

            .select2-selection__arrow {
              display: none;
            }
          }
        }
      }
    }

    .category {
      position: relative;
      width: 100%;
      height: 80px;
      background-color: #FFFFFF;
      border-top: 1px solid #DCD7D7;
      .icon-collection {
        font-size: 16px;
        position: absolute;
        top: 50%;
        color: #B0B0B0;
        transform: translateY(-50%);
        left: 23px;
      }

      .dropdown-menu {
        width: 633px;
        transform: translate(-50px, -10px);
      }
    }

    .block-select-location {
      position: relative;
      height: 80px;
      border-top: 1px solid #DCD7D7;
      .icon-nb-pin {
        font-size: 18px;
        position: absolute;
        top: 50%;
        left: 23px;
        transform: translateY(-50%);
        z-index: 1;
        color: #B0B0B0;
      }
      .fa-sort-down{
        position: absolute;
        top: 50%;
        transform: translateY(-64%);
        right: 23px;
        color: #B0B0B0;
        z-index: 1;
      }

      label {
        position: absolute;
        top: 13px;
        left: 60px;
        z-index: 1;
        color: @text-color-2;
        font-weight: @font-weight-normal;
      }

      select.select-location {
        outline: none;

        &:active, &:focus {
          outline: none;
        }
      }

      .select2-container--default {
        width: 100% !important;
        height: 100%;

        .selection {
          .select2-selection--single {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 0;

            .select2-selection__rendered {
              font-family: "Nunito", sans-serif;
              font-style: normal;
              font-weight: normal;
              font-size: 16px;
              line-height: 24px;
              padding-left: 60px;
              letter-spacing: 0.02em;
              color: #B0B0B0;
              position: absolute;
              top: 50%;
              transform: translateY(-50%);
              width: 100%;
              z-index: 2;
            }

            .select2-selection__arrow {
              display: none;
            }
          }
        }
      }
    }

    .block-button-search {
      width: 100%;
      padding: 0px 15px 15px 15px;
      background-color: #ffffff;
      border-radius: 0px 0px 10px 10px ;

      button {
        width: 100%;
        text-transform: uppercase;
        font-size: @font-size-base;
        font-weight: @font-weight-semibold;
        background-color: #FB646F;
        border-color: #FB646F;
      }
    }

    .block-sorting-dropdown {
      height: 80px;
      background-color: @background-color-white;
      .dropdown {
        height: 90px;
        padding: 28px 9px;
        margin-left: 50px;
        position: relative;
        a.dropdown-toggle {
          label {
            color: @text-color-2;
            font-weight: @font-weight-normal;
          }

          & > span {
            display: flex;
            justify-content: flex-start;
            align-items: center;

            span {
              display: inline-block;
              margin-right: 10px;
              font-family: "Nunito", sans-serif;
              font-style: normal;
              font-weight: normal;
              font-size: 16px;
              line-height: 24px;
              color: #B0B0B0;
              letter-spacing: 0.02em;
            }
            i{
              position: absolute;
              right: 23px;
              color: #B0B0B0;
              margin-top: -3px;
            }
          }
        }
      }

      .open {
        .dropdown-menu {
          display: flex;
        }
      }

      .dropdown-menu {
        .block-filter-price {
          padding: 15px;

          h5 {
            font-size: @font-size-h5;
            font-weight: @font-weight-semibold;
          }

          input#amount_1 {
            text-align: center;
            font-size: @font-size-base;
            border: none;
            padding: 10px 0 10px 0;
            outline: none;

            &:active {
              outline: none;
            }
          }

          #slider-container-1 {
            height: 6px;

            .ui-slider-range {
              background: none;
              background-color: #FB646F;
              border: none;
            }

            .ui-slider-handle {
              top: 50%;
              transform: translateY(-50%);
              width: 10px;
              height: 10px;
              border-radius: 50%;
              background: none;
              background-color: #FB646F;
              border: none;
              margin-left: -5px;
            }
          }
        }

        .block-event-categories {
          padding: 15px;

          h5 {
            font-size: @font-size-h5;
            font-weight: @font-weight-semibold;
            margin-bottom: 15px;
          }

          .block-event-type-item {
            width: 100%;
            display: grid;
            grid-column-gap: 10px;
            grid-row-gap: 10px;
            grid-template-columns: 1.5fr 1fr 1fr;
            @media (min-width: 768px) and (max-width: 991.98px) {
              grid-template-columns: 1fr 1fr;
            }

            label {
              font-size: @font-size-base;
              font-weight: @font-weight-normal;
              margin-bottom: 0;

              input[name="category"] {
                outline: none;

                &:active {
                  outline: none;
                }
              }

              span {
                display: inline-block;
                margin-left: 5px;
              }
            }
          }

        }

        .block-employee {
          padding: 15px;

          h5 {
            font-size: @font-size-h5;
            font-weight: @font-weight-semibold;
            margin-bottom: 15px;
          }

          .block-employee-item {
            width: 100%;
            display: grid;
            grid-column-gap: 10px;
            grid-row-gap: 10px;
            grid-template-columns: 1.5fr 1fr 1fr;
            @media (min-width: 768px) and (max-width: 991.98px) {
              grid-template-columns: 1fr 1fr;
            }

            label {
              font-size: @font-size-base;
              font-weight: @font-weight-normal;
              margin-bottom: 0;

              input[name="employee"] {
                outline: none;

                &:active {
                  outline: none;
                }
              }

              span {
                display: inline-block;
                margin-left: 5px;
              }
            }
          }

        }
      }
    }

    .employee {
      border-radius: 0px 0px 0px 0px;
    }


  }
  .scroll-down{
    margin-top: 45px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
    @media screen and(max-width: 768px){
      margin-top: 150px;
      margin-bottom: 30px;
    }
    i{
      animation: aniName 1.5s infinite;
      color: #FFFFFF;
      position: relative;
    }
    @keyframes aniName{
      0%   {top: 0px;}
      50%  {top: 6px}
      100% {top: 0px;}
    }
    p{
      font-style: normal;
      font-weight: normal;
      font-size: 16px;
      line-height: 24px;
      text-align: center;
      letter-spacing: 0.02em;
      color: #EEEEEE;
    }
  }
}

.select2-container--default {
  .select2-dropdown {
    .select2-results {
      ul.select2-results__options {
        &::-webkit-scrollbar-track {
          -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
          background-color: #F5F5F5;
        }

        &::-webkit-scrollbar {
          width: 5px;
          background-color: #F5F5F5;
        }

        &::-webkit-scrollbar-thumb {
          background-color: #F90;
          background-image: -webkit-linear-gradient(45deg,
          rgba(255, 255, 255, .2) 25%,
          transparent 25%,
          transparent 50%,
          rgba(255, 255, 255, .2) 50%,
          rgba(255, 255, 255, .2) 75%,
          transparent 75%,
          transparent)
        }
      }
    }
  }
}

.daterangepicker {
  @media (min-width: 564px) and (max-width: 575.98px) {
    transform: translateX(0%);
  }
  @media (max-width: 563.98px) {
    width: 290px !important;
    transform: translateX(0%);
    height: 300px;
    overflow-y: scroll;
  }
}