@mixin font-style {
  font-size: 20px;
  line-height: 24px;
  font-weight: bolder;
  color: #000;
  @media (max-width: 1199.98px) {
    font-weight: bold;
  }
  @media (max-width: 991.98px) {
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
  }
}

#ui-datepicker-div {
  z-index: 9 !important;

  .ui-state-active,
  .ui-widget-content .ui-state-active {
    color: #fff;
    background-color: #e12321;
    border-radius: 360px;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    padding-top: 6px;
  }

  .ui-state-default.ui-state-highlight {
    color: #e12321;
    background-color: #fff;
  }
}

.tx-wabsolute-hospitality {
  padding: 0px;

  .hospitality-forms {
    .container {
      box-shadow: -2px 3px 11px 0px #00000033;
      border-radius: 10px;
      padding: 0;
      max-width: 1100px;
      margin-top: -60px;
      background: #fff;
      z-index: 1000;
      position: relative;

      >.row {
        >.col {
          flex: 0 0 auto;
          width: auto;

          &:first-child,
          &:nth-child(2) {
            flex-grow: 1;
          }

        }
      }

      .dropdown-container {
        padding: 0;

        @media (max-width: 991.98px) {
          width: 100%;
        }

        .dropdown-content label {
          font-size: 15px;
          line-height: 20px;
          font-weight: 500;
          color: #000;
          margin-bottom: 0px;

          input.rate-checkbox {
            margin-right: 5px;
          }
        }

        .dropdown-btn {
          border: none;
          padding-left: 50px;
          font-size: 18px;
          line-height: 22px;
          font-weight: bold;
          color: #000;

          &::after {
            display: none;
          }

          @media (max-width: 991.98px) {
            text-align: center;
            background: transparent;
          }
        }
      }
    }

    .form-select {
      padding-bottom: 0rem;
      border-radius: 0;
      padding: 0px 20px 0px 40px;
      color: #000;
      border: none;
      background: none;
      @include font-style();
      height: 50px;
      border-right: 1px solid #000;

      &:focus {
        border-color: #ced4da;
        outline: 0;
        box-shadow: none;
      }
    }

    .form-control {
      padding: 0px 20px 0px 20px;
      border-radius: 0;
      border: none;
      border-left: none;
      height: 50px;
      border-right: 1px solid #000;
      // border-left: 1px solid #000;
      text-align: center;
      @include font-style();
      @include media-breakpoint-down(xl) {
        height: 65px;
      }
      @include media-breakpoint-down(lg) {
        height: 57px;
      }
      &::placeholder {
        color: #000000;
        opacity: 1;
        /* Firefox */
        font-weight: bolder;
      }

      &::-ms-input-placeholder {
        /* Edge 12-18 */
        color: #000000;
        font-weight: bolder;
      }
    }

    .guest-selector {
      position: relative;
      padding: 0;

      .dropdown-btn {
        width: 100%;
        padding: 24px 0px;
        border: none;
        background: white;
        text-align: center;
        cursor: pointer;
        border-left: none;
        @include font-style();

        &::after {
          display: none;
        }
        @include media-breakpoint-down(xl) {
          padding: 20px 0px 21px 0px;
        }
        @include media-breakpoint-down(lg) {
          padding: 18px 0px 19px;
        }
      }

      .dropdown-content {
        display: none;
        position: absolute;
        width: 100%;
        background: white;
        border: none;
        padding: 25px 20px 20px 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 10;
        font-size: 15px;
        line-height: 20px;
        font-weight: bold;
        color: #000;

        .row {
          --bs-gutter-x: 0rem;
          align-items: initial;

          &:not(:last-child) {
            margin-bottom: 10px;
          }

          .col-6 {
            span {
              padding: 0;
            }
          }
        }
      }

      .controls {
        align-items: center;
        padding: 0;
        border: 1px solid #ced4da;
        display: flex;
        justify-content: space-around;
        padding: 9px 0px;
        border-radius: 5px;
        width: 125px;
        justify-self: flex-end;
      }

      button {
        padding: 5px 10px;
        border: none;
        cursor: pointer;
      }

      .decrease,
      .increase {
        padding: 0;
        cursor: pointer;
      }

      .count {
        margin: 0 10px;
      }
    }

    div#done-btn {
      text-align: center;
      font-size: 14px;
      border: 1px solid #41448e;
      border-radius: 5px;
      padding: 8px 0px;
      margin-top: 25px;
      background: #ffffff;
      color: #000;

      &:hover {
        background: #41448e;
        color: #ffffff;
      }
    }

    #child-ages {
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 10px 10px;
      margin-top: 10px;

      .age-dropdown {
        padding: 0px;
        flex: 1 0 auto;
        max-width: 50%;

        .child-age {
          font-size: 13px;
          line-height: 22px;
          font-weight: 500;
          color: #000;
          background-size: 12px auto;
          background-repeat: no-repeat;
          background-position: top 9px right 10px;
          border-radius: 5px;
          border: 1px solid #ced4da;
          height: auto;
          padding: 5px 7px;
        }

        .red-border {
          border: 1px solid #e41f13 !important;
        }
      }
    }

    .col {
      &>.btn {
        padding: 25px 30px;
        border-radius: 0px 10px 10px 0px;
        background: #19ADB2;
        color: #fff;
        min-width: auto;

        @media (max-width: 1199.98px) {
          padding: 15px 10px;
          border-radius: 0px 0px;
          width: 100%;
          font-size: 20px;
          font-weight: bold;
        }
        @media (max-width: 991.98px) {
          padding: 9px 10px;
          font-size: 16px;
        }
        
      }
    }
  }
}

.daterangepicker {
  color: #000 !important;

  .calendar-table {
    table {
      tr {

        &:nth-child(odd),
        &:nth-child(even) {
          background: #fff;
        }
      }

      th,
      td {
        min-width: 36px;
        width: 32px;
        height: 34px;
        line-height: 24px;
        font-size: 12px;
        border-radius: 0px;
        border: 0px solid transparent;
        font-weight: 400;
      }

      td {
        &.today.available {
          &:not(.start-date.active.end-date.available) {
            font-weight: bold;
          }
        }

        &.in-range {
          background-color: #357ebd;
          color: #fff;
        }
      }
    }
  }

  .drp-buttons {
    span.drp-selected {
      display: none;
    }

    .btn {
      font-size: 12px;
      font-weight: bold;
      padding: 4px 17px;
      min-width: auto;
      border: 1px solid #41448e;
      color: #000;

      &:hover {
        color: #fff;
      }
    }
  }
}

.split-cont .hospitality-forms .row>* {
  padding-right: calc(var(--bs-gutter-x)* .5);
  padding-left: calc(var(--bs-gutter-x)* .5);
}

.tab-wrapper.frame-layout-1 {
  display: block;
  margin-top: -110px;
  @include media-breakpoint-down(xl) {
    margin-top: -77px;
  }
  @include media-breakpoint-down(md) {
    margin-top: 0px;
    padding-right: 7px !important;
    padding-left: 7px !important;
  }
  .row {
    margin-bottom: 0;
  }
  ul.nav.nav-tabs {
    gap: 2px;
    li.nav-item {
      border-radius: 12px 12px 0 0;
      @include media-breakpoint-down(xl) {
        flex-grow: 1;
      }
      .nav-link {
        padding: 10px 36px;
        font-size: 1.25rem;
        font-weight: bold;
        @include media-breakpoint-down(xl) {
          padding: 12px 10px;
          font-size: 1.25rem;
          text-align: center;
        }
        @include media-breakpoint-down(lg) {
          padding: 8px 10px;
          font-size: 1rem;
        }
      }
    }
  }

  .tab-content.round-border {
    background-color: #fff !important;
    padding: 0px !important;
    border-radius: 0 12px 12px 12px;
    box-shadow: -2px 3px 11px 0px #00000033;

    .tab-pane {
      border-radius: 0px 12px 12px 12px;
      @include media-breakpoint-down(xl) {
        border-radius: 0px 0px 12px 12px;
      }
      .py-4 {
        padding: 0px !important;

        >.row {
          margin: 0px !important;

          >.col-sm-12 {
            padding: 0px !important;

            >.item.my-2 {
              margin: 0px !important;
              padding-bottom: 0px !important;
              .border-rounded {
                border-radius: 12px;
                @include media-breakpoint-down(xl) {
                  border-radius: 0px 0px 12px 12px;
                }
              }
            }
          }
        }
      }

      .tx-wabsolute-hospitality {
        .hospitality-forms {
          .container {
            box-shadow: none;
            border-radius: 12px;
            padding: 0;
            max-width: 100%;
            margin-top: 0px;
            background: #fff;
            @include media-breakpoint-down(xl) {
              border-radius: 0px 0px 12px 12px;
            }
            >.row {
              margin-bottom: 0px;

              >.col {
                padding-bottom: 0px;
                display: flex;
                align-items: center;
                justify-content: center;
                &:not(:last-child) {
                  @include media-breakpoint-down(xl) {
                    padding: 0px 15px;
                  }
                }

                >.btn {
                  min-width: 270px;
                  border: none;
                  @include media-breakpoint-down(xl) {
                    border-radius: 0px 0px 12px 12px;
                  }
                }
              }
            }
          }
        }
      }
      &#firsttab {
        border: 1px solid #e30613;
      }
      &#secondtab {
        border: 1px solid #00a5b5;
      }
      &#thirdtab {
        border: 1px solid #f6a800;
      }
    }
  }

  .container {
    padding: 0px;
  }

  .content {
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    @include media-breakpoint-down(xl) {
      flex-direction: column;
    }  
    .title {
      width: 100%;

      div span.subtitle {
        >ul {
          padding: 0;
          display: flex;
          justify-content: center;
          @include media-breakpoint-down(xl) {
            flex-direction: column;
            align-items: center;
            padding: 13px 0px;
          }
          >li {
            padding-bottom: 0px;
            color: #000000;
            margin-left: 10px;
            @include media-breakpoint-down(xl) {
              margin-left: 0;
              padding-left: 0;
              font-size: 20px;
              line-height: 26px;
            }
            @include media-breakpoint-down(lg) {
              font-size: 16px;
              line-height: 22px;
            }
            &:before {
              background: #000000;
              @include media-breakpoint-down(xl) {
                display: none;
              }
            }

            &:first-child {
              margin-left: 0px;

              &:before {
                display: none;
              }
            }
          }
        }
      }

      >h3 {
        display: none;
      }
    }

    .btn-inn {
      width: auto;
      @include media-breakpoint-down(xl){
        width: 100%;
      }
      a.btn.btn-primary {
        margin-top: 0px !important;
        border-radius: 0px 12px 12px 0px !important;
        min-width: 270px !important;
        padding: 24px 30px;
        @include media-breakpoint-down(xl) {
          min-width: auto !important;
          width: 100%;
          border-radius: 0px 0px 12px 12px !important;
          padding: 14px 10px;
          font-size: 20px;
          span {
            font-weight: bold;
          }
        }
        @include media-breakpoint-down(lg) {
          font-size: 16px;
          padding: 9px 10px 8px;
        }
      }
    }
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .tab-wrapper.frame-layout-1 .content .btn-inn a.btn.btn-primary {
    min-width: 200px !important;
    padding: 24px 20px;
  }
  .tab-wrapper.frame-layout-1 .content .title div span.subtitle>ul>li:first-child {
    margin-left: 0px;
  }
  .tab-wrapper.frame-layout-1 .content .title div span.subtitle>ul>li {
    font-size: 18px;
    padding-left: 14px;
  }
  .tab-wrapper.frame-layout-1 .tab-content.round-border .tab-pane .tx-wabsolute-hospitality .hospitality-forms .container>.row>.col>.btn {
    min-width: 200px;
    border: none;
  }
}

@media (max-width: 1199.98px) {
  .tx-wabsolute-hospitality {
    padding: 0px;

    .hospitality-forms {
      .container {
        box-shadow: none;
        border-radius: 10px;
        padding: 0;
        max-width: 1200px;
        // border: 2px solid #19ADB2;
        margin-top: 0px;

        >.row {
          >.col {
            width: 100% !important;
          }
        }
      }

      .form-select {
        padding: 0px 20px 0px 20px;
        border-right: none;
        text-align: center;
        border-bottom: 1px solid #000;
      }

      .form-control {
        border-right: none;
        text-align: center;
        border-bottom: 1px solid #000;
        border-left: none;
        border-radius: 0px 0px 0px 0px;
      }

      .guest-selector {
        .dropdown-btn {
          text-align: center;
        }

        .dropdown-content {
          left: 0;
        }
      }
    }

    div#guest-dropdown .row {
      flex-direction: row !important;
    }
  }
}

@media (max-width: 767.98px) {
  .tx-wabsolute-hospitality {
    padding: 0px;

    .hospitality-forms {
      .container {
        margin-top: -25px;
      }
    }

  }
}
@media (max-width: 365px) {
  .tab-wrapper.frame-layout-1 ul.nav.nav-tabs li.nav-item .nav-link {
      padding: 5px 5px;
      font-size: 0.9rem;
  }
}