@import "variables";
.block-search-tour {
  font-family: @font-family-nunito-serif;
  font-size: @font-size-base;
  font-weight: @font-weight-normal;
  color: @text-color-1;
  form.form-search {
      display: flex;
      flex-flow: row nowrap;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      border: @border-gray;
      border-radius: @border-radius-base;

    @media (min-width: 576px) and (max-width: 767.98px) {
      display: none;
    }
    @media (max-width: 575.98px) {
      display: none;
    }
      .block-select-destination {
        position: relative;
        width: 35%;
        height: 90px;
        border-right: @border-gray;
        @media (min-width: 992px) and (max-width: 1199.98px) {
          width: 30%;
        }
        @media (min-width: 768px) and (max-width: 991.98px) {
          width: 30%;
        }
        i {
          font-size: @font-size-large;
          position: absolute;
          top: 50%;
          left: 20px;
          transform: translateY(-50%);
          z-index: 1;
          color: @text-color-2;
        }
        label {
          position: absolute;
          top: 13px;
          left: 60px;
          z-index: 1;
          color: @text-color-2;
          font-weight: @font-weight-normal;
        }
        select.select-destination {
          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 {
                padding-left: 60px;
                padding-top: 40px;
                color: #5191FA;
                font-size: @font-size-medium;
                font-weight: @font-weight-semibold;
              }
              .select2-selection__arrow {
                display: none;
              }
            }
          }
        }
      }
      .block-select-date {
        position: relative;
        width: 35%;
        height: 90px;
        border-right: @border-gray;
        @media (min-width: 992px) and (max-width: 1199.98px) {
          width: 30%;
        }
        @media (min-width: 768px) and (max-width: 991.98px) {
          width: 30%;
        }
        i {
          font-size: @font-size-large;
          position: absolute;
          top: 50%;
          left: 20px;
          transform: translateY(-50%);
          z-index: 1;
          color: @text-color-2;
        }
        label {
          position: absolute;
          top: 13px;
          left: 60px;
          z-index: 1;
          color: @text-color-2;
          font-weight: @font-weight-normal;
        }
        input[name="datetimes"] {
          border: none;
          height: 100%;
          padding-left: 60px;
          padding-top: 30px;
          outline: none;
          color: #5191FA;
          font-weight: @font-weight-semibold;
          margin: 0;
          &:active {
            outline: none;
          }
        }
      }
      .block-sorting-dropdown {
        width: 15%;
        height: 90px;
        background-color: @background-color-white;
        @media (min-width: 992px) and (max-width: 1199.98px) {
          width: 20%;
        }
        @media (min-width: 768px) and (max-width: 991.98px) {
          width: 20%;
        }
        .dropdown {
          height: 90px;
          padding: 13px 15px;
          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;
              }
            }
          }
        }
        .dropdown-menu {
          width: 800px;
          left: unset;
          right: 0;
          @media (min-width: 992px) and (max-width: 1199.98px) {
            width: 700px;
          }
          @media (min-width: 768px) and (max-width: 991.98px) {
            width: 600px;
          }
          .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: #5191fa;
                border: none;
              }
              .ui-slider-handle {
                top: 50%;
                transform: translateY(-50%);
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background: none;
                background-color: #5191fa;
                border: none;
                margin-left: -5px;
              }
            }
          }
          .block-tour-categories {
            padding: 15px;
            h5 {
              font-size: @font-size-h5;
              font-weight: @font-weight-semibold;
              margin-bottom: 15px;
            }
            .block-tour-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="tour_type"] {
                  outline: none;
                  &:active {
                    outline: none;
                  }
                }
                span {
                  display: inline-block;
                  margin-left: 5px;
                }
              }
            }

          }
        }
      }
      .wrapper-button {
        width: 15%;
        @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: 90px;
          font-size: @font-size-medium;
          text-transform: uppercase;
          border-top-left-radius: 0;
          border-bottom-left-radius: 0;
          font-weight: @font-weight-semibold;
          &:hover{
            background: #5191fa;
          }
        }

      }
    }
  form.form-search-tour {
    width: 100%;
    display: none;
    border: 1px solid  #DCD7D7;
    @media (min-width: 576px) and (max-width: 767.98px) {
      display: block;
    }
    @media (max-width: 575.98px) {
      display: block;
    }
    .block-select-destination {
      position: relative;
      width: 100%;
      height: 90px;
      i {
        font-size: @font-size-large;
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
        z-index: 1;
        color: @text-color-2;
      }
      label {
        position: absolute;
        top: 10px;
        left: 40px;
        z-index: 1;
        color: @text-color-2;
        font-weight: @font-weight-normal;
        @media (min-width: 576px) and (max-width: 767.98px) {
          left: 50px;
        }
      }
      select.select-destination {
        outline: none;
        &:active, &:focus {
          outline: none;
        }
      }
      .select2-container--default {
        width: 100% !important;
        height: 100%;
        .selection {
          .select2-selection--single {
            width: 100%;
            height: 100%;
            border: none;
            .select2-selection__rendered {
              line-height: 90px;
              padding-left: 40px;
              color: #5191FA;
              font-size: @font-size-medium;
              font-weight: @font-weight-semibold;
              @media (min-width: 576px) and (max-width: 767.98px) {
                padding-left: 50px;
              }
            }
            .select2-selection__arrow {
              display: none;
            }
          }
        }
      }
    }
    .block-select-date {
      position: relative;
      width: 100%;
      height: 90px;
      border-top: @border-gray  ;
      i {
        font-size: @font-size-large;
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
        z-index: 1;
        color: @text-color-2;
      }
      label {
        position: absolute;
        top: 10px;
        left: 40px;
        z-index: 1;
        color: @text-color-2;
        font-weight: @font-weight-normal;
        @media (min-width: 576px) and (max-width: 767.98px) {
          left: 50px;
        }
      }
      input[name="datetimes"] {
        border: none;
        height: 100%;
        padding-left: 40px;
        outline: none;
        color: #5191FA;
        font-weight: @font-weight-semibold;
        @media (min-width: 576px) and (max-width: 767.98px) {
          padding-left: 50px;
        }
        &:active {
          outline: none;
        }
      }
    }
    .block-more-option {
      background-color: #ffffff;
      border-top: @border-gray;
      padding-top: 20px;
      .title-more-option {
        p{
          display: flex;
          justify-content: flex-end;
          align-items: center;
          color: #5191FA;
          cursor: pointer;
          padding-right: 15px;
          span {
            font-size: @font-size-medium;
            font-weight: @font-weight-semibold;
            display: inline-block;
            margin-right: 10px;
          }
          i {
            font-size: @font-size-base;
          }
        }
      }
      .block-filter-price {
        padding: 15px;
        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: #5191fa;
            border: none;
          }
          .ui-slider-handle {
            top: 50%;
            transform: translateY(-50%);
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: none;
            background-color: #5191fa;
            border: none;
            margin-left: -5px;
          }
        }
      }
      .block-tour-categories-2 {
        padding: 15px;
        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-tour-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%;
            input[name="tour_type[]"] {
              margin-right: 10px;
              outline: none;
              &:active {
                outline: none;
              }
            }
            span {
              display: -webkit-box;
              -webkit-line-clamp: 1;
              -webkit-box-orient: vertical;
              height: 20px;
              overflow: hidden;
              text-overflow: ellipsis;
            }
          }
        }
      }
    }
    .block-button-search {
      width: 100%;
      padding: 15px;
      background-color: #ffffff;
      button {
        width: 100%;
        text-transform: uppercase;
        font-size: @font-size-base;
        font-weight: @font-weight-semibold;
      }
    }
  }
}
.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;
  }
}