@media only screen and (min-width:200px) {
  /** CSS Filter **/

  .tbt_search form.views-exposed-form.bef-exposed-form .form--inline.clearfix {
    display: block;
  }

  .tbt_search .bef-exposed-form .form--inline>.form-item {
    width: 100%;
  }

  nav.pager {
    position: absolute;
  }

  nav.pager {
    bottom: 0;
    right: 50%;
    transform: translate(50%, -0%);
  }

  .tbt_search .view-header {
    color: #69696f;
    line-height: 16px;
    font-size: 16px;
    text-align: left;
    width: 100%;
  }

  .tbt_search form.views-exposed-form.bef-exposed-form .form-type-checkbox {
    display: flex;
    justify-content: flex-start;
    align-self: flex-start;
    vertical-align: middle;
  }

  .tbt_search form.views-exposed-form.bef-exposed-form .form-type-checkbox label {
    padding-left: 26px;
    display: block;
    position: relative;
    color: #3b3b3b;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
  }

  .tbt_search form.views-exposed-form.bef-exposed-form .form-type-checkbox input {
    position: relative
  }

  .tbt_search form.views-exposed-form.bef-exposed-form .form-type-checkbox label:before {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    content: "\f0c8";
    font-size: 18px;
    font-weight: 300;
    margin: 0;
    font-family: var(--font-awesome);
    color: #ccc;
    background: #FFF;
  }


  .tbt_search form.views-exposed-form.bef-exposed-form .form-type-checkbox input[type="checkbox"]:checked+label:before {
    content: "\f14a";
    font-family: var(--font-awesome);
    font-weight: 600;
  }

  .tbt_search input[type="checkbox"] {
    display: none;
  }

  .tbt_fake_search_open {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 999;
  }

  .tbt_fake_list.tbt_list_choosed {
    border: 1px solid #d24f1d;
    margin-right: 4px;
    background: #d24f1d;
    padding: 1px 15px 1px 5px;
    color: #fff;
    border-radius: 3px;
    font-weight: 400;
    font-size: 14px;
    position: relative;
    z-index: 999;
    display: none;
  }

  .tbt_fake_list.tbt_list_choosed:nth-child(1),
  .tbt_fake_list.tbt_list_choosed:nth-child(2),
  .tbt_fake_list.tbt_list_choosed:nth-child(3) {
    display: block;
  }

  .tbt_fake_list.tbt_list_choosed a {
    position: absolute;
    right: 0;
    top: -1px;
    color: #FFF;
    z-index: 9999;
    width: 15px;
    height: 20px;
    display: block;
  }

  .tbt_list_choosed:hover {
    box-shadow: 1px 1px #959595;
  }

  .tbt_fake_list.tbt_list_choosed a::after {
    content: "x";
    position: absolute;
    right: 5px;
    top: 2px;
  }

  .tbt_search .form-checkboxes.bef-checkboxes {
    padding-bottom: 24px;
  }

  .tbt_search .form-checkboxes .form-item,
  .tbt_search .form-radios .form-item {
    margin-bottom: 24px;
  }

  .tbt_search .form-item,
  .tbt_search .form-actions {
    margin: 0
  }

  .tbt_search .form-composite>legend {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 1px;
    color: #1a1b3a;
    text-transform: uppercase;
  }

  .tbt_search .button.js-form-submit.form-submit {
    height: 42px;
    line-height: 42px;
    font-size: 12px;
    padding: 0 30px;
    display: inline-block;
    text-align: center;
    text-transform: inherit;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all .5s ease;
    background: var(--color-2);
    color: var(--default-color)
  }

  .tbt_search .button.js-form-submit.form-submit:hover {
    background: var(--color-2-hover);
  }

  .tbt_search .view-filters {
    width: 100%;
  }

  /* .tbt_search .view-filters, */
  .tbt_search .view-content {
    padding-top: 24px;
  }

  .tbt_search #edit-field-category--wrapper,
  .tbt_search #edit-tags--wrapper {
    padding-bottom: 14px;
    width: 100%;
  }

  .tbt_search #edit-field-category .tbt_fake_search_data,
  .tbt_search #edit-tags .tbt_fake_search_data {
    position: absolute;
    left: 0;
    margin-top: 10px;
    width: 100%;
    height: 205px;
    padding: 0;
    background: #FFF;
    z-index: 999;
    border: 1px solid #ccc;
    overflow: auto;
    box-shadow: 0 1px 5px #959595;
    border-radius: 3px;
  }

  .tbt_search #edit-field-category .tbt_fake_search_data ul,
  .tbt_search #edit-tags .tbt_fake_search_data ul {
    padding-left: 20px;
  }

  .tbt_search #edit-field-category .tbt_fake_search_data ul li,
  .tbt_search #edit-tags .tbt_fake_search_data ul li {
    padding: 6px 10px;
    cursor: pointer;
    text-align: left;
    position: relative
  }

  .tbt_search #edit-field-category .tbt_fake_search_data li.tbt_fake_list_active::before,
  .tbt_search #edit-tags .tbt_fake_search_data li.tbt_fake_list_active::before {
    content: "\f14a";
    font-family: var(--font-awesome);
    font-weight: 600;
  }

  .tbt_search #edit-field-category .tbt_fake_search_data ul li::before,
  .tbt_search #edit-tags .tbt_fake_search_data ul li::before {
    position: absolute;
    display: block;
    top: 5px;
    left: -12px;
    content: "\f0c8";
    font-size: 18px;
    font-weight: 300;
    margin: 0;
    font-family: var(--font-awesome);
    color: #7e8283;
    background: #FFF;
  }

  .tbt_search #edit-field-category .tbt_fake_search_data::-webkit-scrollbar,
  .tbt_search #edit-tags .tbt_fake_search_data::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }

  .tbt_search #edit-field-category .tbt_fake_search_data::-webkit-scrollbar,
  .tbt_search #edit-tags .tbt_fake_search_data::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }

  .tbt_search #edit-field-category .tbt_fake_search_data::-webkit-scrollbar-thumb,
  .tbt_search #edit-tags .tbt_fake_search_data::-webkit-scrollbar-thumb {
    background: #dadada;
    cursor: pointer;
    border-radius: 2.5px;
  }


  .tbt_search #edit-field-category .tbt_fake_search_data::-webkit-scrollbar-thumb,
  .tbt_search #edit-tags .tbt_fake_search_data::-webkit-scrollbar-thumb {
    background: #dadada;
    cursor: pointer;
    border-radius: 2.5px;
  }

  .tbt_search #edit-field-category .tbt_fake_search_data::-webkit-scrollbar-track,
  .tbt_search #edit-tags .tbt_fake_search_data::-webkit-scrollbar-track {
    background: #f2f2f2;
  }


  .tbt_search #edit-field-category .tbt_fake_search_data::-webkit-scrollbar-track,
  .tbt_search #edit-tags .tbt_fake_search_data::-webkit-scrollbar-track {
    background: #f2f2f2;
  }

  .tbt_search #edit-field-category .tbt_active_arrow .tbt_arrow::before,
  .tbt_search #edit-tags .tbt_active_arrow .tbt_arrow::before {
    transform: rotate(180deg);
    transition: var(--timedelay-03s);
    -webkit-transition: var(--timedelay-03s);
    -moz-transition: var(--timedelay-03s);
  }

  .tbt_search #edit-field-category .tbt_fake_search_active,
  .tbt_search #edit-field-category .tbt_fake_search,
  .tbt_search #edit-tags .tbt_fake_search_active,
  .tbt_search #edit-tags .tbt_fake_search {
    display: block !important;
  }

  .tbt_search #edit-field-category .tbt_fake_search_data,
  .tbt_search #edit-field-category .tbt_real_search,
  .tbt_search #edit-tags .tbt_fake_search_data,
  .tbt_search #edit-tags .tbt_real_search,
  .tbt_search #edit-country--wrapper .tbt_fake_search,
  .tbt_search #edit-activities--wrapper .tbt_fake_search {
    display: none
  }

  .tbt_fake_search {
    border: solid 1px #ddd;
    border-radius: 4px;
    position: relative;
  }

  .tbt_arrow_show_choosed ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    vertical-align: middle;
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .tbt_search .tbt_arrow_fake {
    position: relative;
    display: flex;
    padding: 13px 12px;
    justify-content: flex-start;
    align-items: center;
    vertical-align: middle;
  }

  .tbt_fake_search {
    cursor: pointer;
  }

  .tbt_counting {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    right: 11px;
    top: 35px;
    display: none
  }

  .tbt_counting::after {
    content: attr(data-count);
    left: -7px;
    top: 0;
    position: absolute;
    font-size: 14px;
    font-weight: 400;
  }

  .tbt_search .tbt_arrow_show_choosed {
    /* max-height: 45px; */
    overflow: hidden;
    padding: 6px 12px 7px 0
  }

  .tbt_arrow::before {
    position: absolute;
    right: 9px;
    top: 14px;
    color: #999;
    margin-top: 4px;
    border-style: solid;
    border-width: 8px 8px 0;
    border-color: #999 transparent;
    content: "";
    transform: rotate(0);
    transition: var(--timedelay-03s);
    -webkit-transition: var(--timedelay-03s);
    -moz-transition: var(--timedelay-03s);
  }

  .tbt_search #edit-field-category .tbt_fake_search_active,
  .tbt_search #edit-field-category .tbt_fake_search,
  .tbt_search #edit-tags .tbt_fake_search_active,
  .tbt_search #edit-tags .tbt_fake_search {
    display: block !important;
  }

  /** CSS Filter **/

  .travel_search_page .view-content>div {
    display: grid;
    row-gap: 15px;
  }

  .travel_search_page .view-content .views-row {
    max-width: 100%;
    max-height: 100%;
  }

  .travel_search_page .view-content .views-row img {
    width: 100%;
    aspect-ratio: 1/.6;
  }

  .travel_search_page .view-content .views-row .feature_search.tbt_homepage_card .tbt_homepage_card,
  .travel_search_page .view-content .views-row .homepage_card {
    display: grid;
    height: 100%;
    grid-template-columns: 1fr;
    gap: 15px
  }

  .travel_search_page.tbt_search .view-display-id-page_1,
  .travel_search_page.tbt_search .view-display-id-page_2 {
    display: flex;
    position: relative;
    justify-content: flex-start;
    align-items: flex-start;
    vertical-align: middle;
  }

  .tbt_search.travel_search_page ul.js-pager__items.pager li.pager__item a {
    max-width: 300px;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    display: block;
    margin-inline: auto;
    background: var(--main-color);
    color: var(--default-color);
    border-radius: 4px;
    text-align: center;
  }


  .tbt_search_result {
    text-align: center;
  }

  .tbt_search.travel_search_page .view-header .tbt_search_result h4 {
    display: block;
    color: #191919;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin: 0;
  }

  .tbt_search.travel_search_page .view-content {
    padding-top: 0;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 25px;
    width: 100%;
  }

  .tbt_search.travel_search_page .view-header .tbt_search_result h5 {
    color: #6b6b6b;
    font-size: 16px;
    line-height: 24px;
  }

  .tbt_search .bef-exposed-form .form--inline>.form-item-fulltext {
    position: absolute;
    top: -210px;
    left: 0;
    display: grid;
  }

  .tbt_search .bef-exposed-form .form--inline>.form-item-fulltext label {
    margin-bottom: 30px;
    font-size: 24px;
    line-height: 24px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
  }

  .tbt_search .bef-exposed-form .form--inline>.form-item-fulltext input {
    width: 100%;
    background-color: #FFF;
    border-radius: 4px;
    height: 40px;
    padding: 0 10px;
    border: solid 1px #ddd;
    color: #444444;
    max-width: 920px;
    position: relative;
  }

  .travel_search_page .views-element-container {
    padding-top: 16em
  }


  /** CSS Select box **/
  .tbt_travel_list_content {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .filter_checkbox {
    position: absolute;
    top: -92px;
    width: 100%;
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
  }

  .tbt_travel_list_filter {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    vertical-align: middle;
    gap: 40px;
    padding-left: 24px;
  }

  .tbt_travel_list_filter .tbt_option_1,
  .tbt_travel_list_filter .tbt_option_2 {
    position: relative;
    cursor: pointer;
  }

  .tbt_travel_list_filter div {
    gap: 5px;
  }

  .tbt_travel_list_filter div,
  .tbt_travel_list_filter form {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    vertical-align: middle;
  }

  .tbt_travel_list_filter .tbt_option_1::before,
  .tbt_travel_list_filter .tbt_option_2::before {
    content: "";
    position: absolute;
    left: -24px;
    top: -1px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: solid 1px #d4dde5;
  }

  .tbt_travel_list_filter .tbt_option_1.active::after,
  .tbt_travel_list_filter .tbt_option_2.active::after {
    content: "";
    position: absolute;
    left: -19px;
    top: 4px;
    border-radius: 50%;
    background-color: #9a9e3a;
    width: 8px;
    border: none;
    height: 8px;
  }

  .submitbtn {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 160px;
    height: 40px;
    z-index: 99;
    border: none;
    background-color: #9a9e3a;
    border-radius: 4px;
  }

  .tbt_search .submitbtn::after {
    content: "Search";
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    text-transform: capitalize;
    line-height: 40px;
    color: #fff;
    text-align: center;
  }

}

@media only screen and (min-width:492px) {

  .travel_search_page .view-content .views-row .feature_search.tbt_homepage_card .tbt_homepage_card,
  .travel_search_page .view-content .views-row .homepage_card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
  }
}

@media only screen and (min-width:1201px) {

  .travel_search_page .view-content .views-row .feature_search.tbt_homepage_card .tbt_homepage_card,
  .travel_search_page .view-content .views-row .homepage_card {
    display: grid;
    height: 166px;
    grid-template-columns: minmax(250px, auto) 1fr;
    gap: 15px
  }

  .tbt_search.travel_search_page .view-content {
    padding-top: 3em;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
}


@media only screen and (max-width:490px) {
  .submitbtn {
    max-width: 40px !important;
  }

  .tbt_search .submitbtn::after {
    content: "\f002" !important;
    font-family: "Font Awesome 5" !important;
  }
}
