#content {
    margin: 0 15px;
}
.table thead th {
    border: 0;
}

.table td {
    border-bottom: 1px solid var(--border-color);
    border-top: 0;
}

.td-title {
    width: 23%;
    color: var(--title-color);
    font-weight: 600;
}
.title-class {
    color: var(--title-color);
    font-weight: 600;
}

.page-title {
    font-size: 25px;
    color: var(--title-color);
    font-weight: 600;
}

/* preloader */

#preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    background-color: var(--dblue);
    background-color: #fff;
    opacity: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1500;
}

.bar-container {
    position: relative;
    border-radius: 50%;
    -webkit-animation: scale 2s ease-out infinite;
    animation: scale 2s ease-out infinite;
}

@keyframes scale {
    0% {
        transform: scale(1.5);
        opacity: 0;
    }

    70% {
        transform: scale(2) rotate(130deg);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.1;
    }
}

.text-small {
    font-size: 16px;
}
/* end preloader */

#book-block {
    border: 2px solid var(--border-color);
    border-radius: 3px;
}
#book-block li {
    padding: 5px;
}
#route-map {
    width: 100%;
    height: 300px;
}
#tag-block {
    text-align: center;
}
#tag-block button {
    background: var(--border-color);
    font-size: 14px;
    border-radius: 15px;
    margin-left: 10px;
}
#tag-block button:focus {
    outline: white;
}


.typecard_title span{
    font-weight: bold;
}

.passive {
    opacity: 0.8;
}

.init_price_block{
    display: none;
    font-size: 14px;
    color: var(--gray);
}


.total {
    float: right;
    margin-top: -30px;
}
.total .price {
    color: #000b16;
    font-weight: bold;
}
.max_70{ max-width: 70px }

#booking-details {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}
/* #namegroup,
#btngroup,
#termsgroup {
    grid-column-start: 1;
} */
.grid-1{
    grid-column-start: 1;
}

.grid-1-3{
    grid-column: 1 / 3;
}
/* #termsgroup {
    display: flex;
}
#termsgroup a {
    text-decoration: underline;
} */
.fullwidth {
    grid-column: 1 / 3;
}
.custom-checkbox .form-check-input {
    width: 20px;
    height: 20px;
}

.custom-checkbox .form-check-label {
    font-size: 16px;
    padding-left: 10px;
}

.custom-checkbox .form-check-input.is-invalid + .form-check-label::before {
    border-right: 2px solid red;
}

.info_block{
    background-color: #f5f4f0;
    padding: 16px;
    border-radius: 3px;
    box-shadow: 0 8px 7px #0000001c;
    margin-top: 15px;
    margin-bottom: 15px;
}
.make_booking{
    background: #ffffff;
    border:1px solid #f1f1f1;
    padding: 0 30px 30px;
    border-radius: 11px;
    box-shadow: 0 0 23px #00000022;
}
#car-types-block .total-price,
.upon_request {
    margin: 10px auto 0;
}

#car-types-block {
    display: grid;
    gap: 20px;
    justify-items: stretch;
    grid-template-columns: 1fr 1fr 1fr;
}
#car-types-block .typecard {
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    cursor: pointer;
    padding: 15px;
    text-align: center;
    transition: all .3s;
}
#car-types-block .typecard.active{
    background-color: #f1f1f1;
    z-index: 9;
}

.roomtypecard {
    background-color: #f5f5f5;
    background-clip: border-box;
    /* border: 1px solid #ccc; */
    border-radius: 0.25rem;
    padding: 15px;
    text-align: center;
}
#car-types-block .typecard:hover {
    box-shadow: 0 4px 10px rgb(30 30 58 / 0.15);
}

#additional-services .block {
    padding-left: 20px;
    padding-top: 20px;
}

li.Hunter-clean {
    display: none !important;
}
.type-img {
    width: 30px;
}
.type-img img {
    width: 100% !important;
    height: 30px;
    object-fit: contain !important;
}

.step_title{
    background-color: #F9F9F9;
    border: 1px solid #f2f2f2;
    padding-left: 15px;
    border-left:3px solid var(--red);
    font-weight: bold;
}
.step_title.is-invalid{
    color: #ffffff;
    background-color: var(--red);
}


input[type="radio"].tour-date-input{
    display: none;
}

/* checkboxes */
/* 
.typecard input[type="radio"]+label {
    cursor: pointer;
    text-align: left;
    position: absolute;
    top: -5px;
    right: -7px;
    margin: 0;
}

.typecard input[type="radio"]+label:before{
    background: #fff;
    content: "\2714";
    content: url("/img/front/check.svg");
    font-size: 20px;
    line-height: 22px;
    border: 1px solid #bbb;
    border-radius: 2px;
    display: inline-block;
    width: 18px;
    height: 18px;
    padding: 1px 3px 5px;
    margin: 0 0.5em;
    vertical-align: bottom;
    color: transparent;
    transition: 0.2s;
}

input[type="radio"]+label:active:before {
    transform: scale(0);
}

input[type="radio"]:checked+label:before{
    color: #fff;
    background-color: var(--red);
    background-image: linear-gradient(80deg, #ec4b65 20%, var(--red) 80%);
    border:none;
}

input[type="radio"]:disabled+label:before {
    transform: scale(1);
    color: #aaa;
}
 */
input.tour-date-input:checked+label.tour-date-label{
    background-color: var(--blue);
    color: #ffffff;
    transition: .4s;
}
label.tour-date-label{
    background-color: #ffffff;
    border:1px solid var(--blue);
    cursor: pointer;
    padding: 1px 4px;
    border-radius: 9px;
    min-width: 95px;
    text-align: center;
    user-select: none;
    font-size: 16px;
}
label.tour-date-label:hover{
    background-color: var(--lblue);
}
/* END checkboxes */

.booking-details label {
    color: var(--border-color);
}
.tourbooking_label {
    font-size: 16px;
    margin-bottom: 0;
    line-height: 20px;
}
/* .bookikg_tour {
    gap: 10px 20px !important;
} */
span.help-block {
    font-size: 1rem;
    width: 100%;
    color: var(--red);
}

.pax-img {
    height: 120px;
    max-width: 150px;
    padding: 3px 20px;
    object-fit: contain;
}
.show_if_date.hide{
    display: none;
}
#tour-booking-details .pax-img {
    height: 100px;
    max-width: 100px;
    padding: 8px;
}

#tour-booking-details input[type=number]::-webkit-inner-spin-button,
#tour-booking-details input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}


#notegroup {
    grid-column-start: 1;
    grid-column-end: 3;
    width: 100%;
}

#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background: #ffffff9e;
    z-index: 10000;
}

  #tour_price_total, #price {
    transition: .4s;
  }
  #tour_price_total.clipped, #price.clipped {
      -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
      clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
      transform: translateY(-15px);
      /* filter: blur(6px); */
      /* background-color: var(--blue); */
      animation-name: titleAnimation;
      animation-timing-function: ease;
      animation-duration: .6s;
      /* animation-delay: .1s; */
  }

  @keyframes titleAnimation {
      0%,10% {
          transform: translateY(-35px);
          opacity: 0;
          -webkit-clip-path: polygon(100% 90%, 100% 100%, 0 100%, 0 90%);
          clip-path: polygon(100% 90%, 100% 100%, 0 100%, 0 90%);
      }
      100% {
          transform: translateY(0);
          opacity: 1;
          -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
          clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
      }
  }

 
  

@media (max-width: 991px) {
    #car-types-block {
        grid-template-columns: 1fr 1fr;
        margin: auto 9vw;
    }
}


@media (max-width: 767px) {
    h2 {
        font-size: 1.5rem;
    }
    p {
        font-size: 1rem;
    }


    .fullwidth { grid-column: 1; }

    #btngroup .btn-book {
        max-width: unset;
    }

     #booking-details {
        grid-template-columns: 1fr 1fr;
    }

    #car-types-block {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    #car-types-block .typecard {
        width: 100%;
        padding: 15px;
    }

    #termsgroup {
        grid-column-start: 1;
    }
    

}

@media (max-width: 576px) {
    #tour-booking-details .pax-img {
        max-width: 50px;
        padding: 2px;
    }
}
