.dtmg-search-header #custom-search-form {
  position: absolute;
  bottom: -50px;
  left : 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  z-index: 99;
}
.dtmg-search-header #search-form-container {
  /* flex-direction: row; */
  display: grid;
  grid-template-columns: 1fr 1fr 200px;
  row-gap: 10px;
}
.dtmg-search-header #search-form-container .search-form-submit {
  flex-grow: 1;
}
section.dtmg__header.search__page .breadcrumbs__wrapper {
  position: absolute;
  top:1rem;
  left:1rem;
  z-index: 10;
  font-size: 12px;
}
section.dtmg__header.search__page .breadcrumbs__wrapper .breadcrumbs {
  display: inline-flex;
  background-color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--green);
  font-weight: 500;
  font-family: var(--body-font);
}
section.dtmg__header.search__page .breadcrumbs__wrapper .breadcrumbs i {
  font-size: 10px;
  margin: 0 6px;
}
section.dtmg__header.search__page {
  height: 250px;
  /* overflow: hidden; */
  position: relative;
  /* border-radius: var(--border-radius); */
}
section.dtmg__header.search__page img.bg__img{
  border-radius: 20px;
}
#search_container {
  margin-top: 120px;
}
.result-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-column-gap: 15px;
    margin: 0;
}
.search-page-header {
  height:260px;
  /* overflow: hidden; */
  position: relative;
}
/* .container.amp-plugin.range-plugin.show {
  border-radius: 8px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.16);
} */
 #search_container .sidebar .filter input.filter_search,
 #search_container .sidebar .filter-widget p.filter {
  display: none;
 }

#search_container .sidebar .filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search-page-header .inner,
.search-page-header .header-serach-form{
  position: relative;
  z-index: 999;
}

#header-search-alt {
  margin: 0 auto 20px;
}

.bg__img {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.search-page-header header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgb(18,64,129);
  background: -moz-linear-gradient(180deg, rgba(18,64,129,1) 0%, rgba(9,9,121,0.31866684173669464) 37%, rgba(12,113,190,0.7273503151260504) 100%);
  background: -webkit-linear-gradient(180deg, rgba(18,64,129,1) 0%, rgba(9,9,121,0.31866684173669464) 37%, rgba(12,113,190,0.7273503151260504) 100%);
  background: linear-gradient(180deg, rgba(18,64,129,1) 0%, rgba(9,9,121,0.31866684173669464) 37%, rgba(12,113,190,0.7273503151260504) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#124081",endColorstr="#0c71be",GradientType=1);
}
.search-form-container {
  color: var(--text);
}
#search_container .search-options .inner {
  display: none;
  /* display: flex;
  gap:1rem;
  align-items: center;
  padding: 30px 15px; */
}

#search_container .search-options .inner hgroup{
  display: flex;
  flex-direction: column;
  gap:.8px;
  line-height: 1.2;
  margin:0;
}

#search_container .search-options h6 {
  text-transform: capitalize;
  color: var(--text);
}

#search_actions {
  flex:1;
}

#search_actions li {
  height:auto;
  max-height: 42px;
  overflow: hidden;
  transition: all .3s ease-out;
  background: var(--mint-green);
  color: var(--green);
  display: flex;
  align-items: center;
}
#search_actions li i:not(:last-child) {
  order: -1;
  margin-right: 6px;
}
#search_container .text-small {
  font-size: 12px;
}
.search-options {
  background: transparent;
}

#filters .ui-slider-handle,
#filters .ui-state-default,
#filters .ui-widget-content .ui-state-default,
#filters .ui-widget-header .ui-state-default,
#filters .ui-button,
#filters .ui-button.ui-state-disabled:hover,
#filters .ui-button.ui-state-disabled:active {
  background-color: var(--green);
  border: 1px solid var(--green);
  border-radius: 50%;
  width: 24px;
  height: 24px;
}
#filters .ui-slider-horizontal .ui-slider-handle {
  top: -10px;
}
#filters .ui-slider-horizontal .ui-slider-range {
  background-color: var(--green);
}
#filters .ui-widget.ui-widget-content {
    border: none;
    max-width: 80%;
    margin: 0 auto;
    height: 2px;
    background-color: #e0e0e0;
}

#fab-filters {
  display: none;
}

.mobile-search-filters {
  padding: 12px;
  background-color: var(--mint-green);
  color: var(--green);
  cursor: pointer;
  font-weight: 600;
  border-radius: 8px;
  font-size: 14px;
}

#filters {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0 5px 0 0;
}

.sidebar:not(.open) #mobile-close-filters {
  display: none;
}
.sidebar.open #mobile-close-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green);
  color: white;
  padding: 16px 20px;
  text-align: right;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  cursor: pointer;
}

.sidebar.open #mobile-close-filters i {
  font-size: 20px;
  line-height: 1;
}

#filters .close-button {
  position: absolute;
  right:0;
}

#filters button i.fa-chevron-circle-right { display: none; }

#filters div.filter-cruise-lines {
  /* order: 1; */
  display: none;
}

#filters div.filter-ships {
  order: 2;
}

#filters div.filter-budget {
  order: 1;
  color: var(--green);
  font-weight: 600;
  position: relative;
  display: none;
}
#filters div.filter-budget .slider-label{
  position: absolute;
  bottom:-18px;
  width: 100%;
}

#filters div.filter-date {
  order: 0;
}

#filters div.filter-destinations {
  /* order: 5; */
  display: none;
}

#filters div.filter-duration {
  /* order: 6; */
  display: none;
}

#filters div.filter-depart-ports {
  order: 3;
  display: none;
}

#filters div.filter-visit-ports {
  /* order: 8; */
  display: none;
}

#filters div.filter-travel-types {
  /* order: 9; */
  display: none;
}

.filter-widget {
  padding-bottom: 20px;
}
.filter-widget.filter-date {
  box-shadow: 2px 4px 16px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--white);
}

#search_container .sidebar .filter-date .filter{
  margin: 0;
  position: relative;
  background-color: var(--white);
  border: 1px solid rgba(17, 34, 17, 0.1);
}
#search_container .sidebar .filter-date .filter label {
  position: absolute;
  top: -6px;
  background-color: var(--white);
  z-index: 10;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
#search_container .sidebar .filter-date div:first-of-type{
  margin: 10px 6px 10px 20px;
}
#search_container .sidebar .filter-date div:last-of-type{
  margin: 10px 20px 10px 6px;
}

.filter-widget.filter-date h5 {
  border-bottom: 1px solid rgba(17, 34, 17, 0.1);
  border-radius: 8px 8px 0 0;
  color: #112211;
  padding: 18px 20px;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
  grid-column: span 2;
}
.filter-widget:not(.filter-date) h5 {
  border-bottom: 1px solid #e0e0e0;
  color: #112211;
  padding: 18px 20px;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
}
.filter-widget.filter-budget h5 {
  border-bottom:0;
}
#search_container .sidebar .filter-widget.filter-date .filter:nth-child(1) {
    margin: 0;
  }

.filter-passengers {
  display: none;
}

.filter-passengers div {
  margin: 10px 20px;
}

#search_sorting .pagination {
  display: none;
  /* display: flex; */ /* Feels wrong to remove from the UX perspective */
  align-items: center;
  justify-content: space-between;
}

#search_sorting .pagination-left {
  display: none;
}

#search_sorting .select-container {
  min-height: 44px;
}

.search-item {
  border: 1px solid #dddddd;
  padding: 0;
  margin: 30px 0;
  border-radius: 8px;
}

.search-item hr {
  border-color: var(--green);
  margin:8px 0;
}

.sort-area-btm hr,
.sort-area-btm h4.total_cruises {
  display: none;
}

.sort-area-btm .pagination {
  justify-content: flex-start;
}

#mobile-filters-close {
  display: block;
  font-size: var(--normal-font-size);
  text-align: left;
  outline: none;
  border: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  width: 100%;
  background: var(--green);
  color: white;
  padding: 16px 20px;
}

#mobile-filters-close::before {
  content: 'Search results: ';
  font-size: 16px;
  font-weight: 600;
  font-family: var(--body-font);
  display: inline-block;
  margin-right:1rem;
}

.result-grid #filters .close-button::before{
  content: '\f00d';
  display: inline-block;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
  color: var(--ca-black-light);
  cursor: pointer;
  width: 40px;
  height: 30px;
  text-align: center;
}

@media all and (min-width: 768px) {
  #mobile-filters-close {
    display: none;
  }
}

@media all and (min-width: 920px) {
  .result-grid .sidebar::before {
    content: 'Filters';
    font-size: 20px;
    font-weight: 500;
    font-family: var(--secondary-font);
    width: 100%;
    display: flex;
    align-items: center;
    height: 59px;
    margin-bottom: 20px;
  }
}

/*=============== REUSABLE CLASSES ===============*/
.image__wrapper {
  position: relative;
  width: 100%;
  min-height: 280px;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
}

.img__cover {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 8px;
}

.dtmg-grid {
  display: grid;
}

.dtmg-flex {
  display: flex;
}

.card__info .info__list {
  flex: 1;
}

/*=============== SEARCH RESULT CARD ===============*/
.search-item {
  width: 100%;
  border: 1px solid #dddddd;
  padding: 0;
  margin: 30px 0;
  border-radius: 8px;
  transition: all .3s ease-out;
}

.search-item:hover {
  box-shadow: 0 7px 30px -10px rgba(150, 170, 180, 0.5);
}

.search-item ul {
  margin: 0;
  padding: 0;
}

.search-item .footer-extras {
  padding:6px 0;
}

.search-item .footer-extras i{
  font-size:12px;
  color: var(--blue);
  margin: 0 4px;
}

.search-item .footer-extras span {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.search-item .dtmg__btn {
  width: 100%;
  min-width: 166px;
  font-size: var(--normal-font-size);
  transition: all .3s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-item .dtmg__btn:hover {
  background-color: var(--accent);
  border: 1px solid var(--accent);
}

.item__card {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.search-item .image__wrapper::before {
  display: none;
}
.image__wrapper.card__image {
  border-radius: 8px 0 0 8px;
}
.card__image {
  width: 100%;
  max-width: 100%;
}

.card__image img {
  height: 100%;
}
.image__wrapper.card__image img.img__cover {
  border-radius: 8px 0 0 8px;
}

.card__image--title {
  position: absolute;
  bottom:0;
  left:0;
  right:0;
  padding:20px;
  z-index: 20;
}

.pcard__body .image__wrapper::before {
  background: linear-gradient(180deg, rgba(18,64,129,1) 0%, rgba(9,9,121,0.31866684173669464) 37%, rgba(12,113,190,0.7273503151260504) 100%);
}

.card__image--title h2 {
  color: var(--white);
  font-size: var(--h2-font-size);
  font-weight: 600;
}

.card__logo img {
  max-width: 148px;
  max-height: 76px;
}

.search-item .card__body {
  flex: 1;
  margin-top: 0;
  padding: 30px 24px;
}

.card__header {
  gap: 1.5rem;
  padding-bottom: 1rem;
  position: initial;
  background: transparent;
  padding: 0;
}

.card__header h2 {
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
  text-transform: none;
  margin: 0 0 12px;
  line-height: 1.3;
}

.card__header h2::after {
  display: none;
}

.card__info,
.card__header {
  flex-direction: column-reverse;
}

.card__info .info__list {
  flex: 1;
}

ul.info__list {
  margin: 0;
}

/* .info__list ul::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #E7EEF3;
  display: block;
  margin: 8px 0;
} */

.info__list {
  flex-direction: column;
}

.item__details {
  padding: 2rem 0;
}

.item__title,
.item__desc,
.call-for-price {
  font-size: 14px;
  line-height: 16px;
  font-size: var(--small-font-size);
  text-transform: none;
  font-weight: normal;
}

.item__title {
  color: hsla(120, 33%, 10%, 0.605);
  font-weight: 400;
  font-size: 12px;
}

.item__desc {
  color: var(--text);
  font-weight: 600;
  line-height: 1.3;
}
.info__item--itinerary .item__title,
.info__item--itinerary .item__desc {
  color: hsla(120, 33%, 10%, 0.800);
  font-weight: 600;
  font-size: 14px;
}
.info__item--itinerary .item__desc {
  font-weight: 400;
}

.card__info {
  gap: 1rem;
}
.info__items {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.info__item {
  grid-template-columns: 32px 1fr;
  gap: 8px;
  margin: 5px 0;
}
.info__item .item__icon {
  background-color: #f2f2f2;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info__item--itinerary {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
}

.info__item .show_more,
.info__item .show_less {
  font-weight: 700;
  color: var(--blue);
}

.card__prices {
  gap: 1rem;
  flex-wrap: wrap;
}

.price__item>h4,
.price__item,
.price__item .price {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  font-family: var(--body-font);
  line-height: 1.2;
}
.price__item .price {
  font-size: 24px;
}
.price__item>h4 {
  margin: 0 0 4px;
  text-transform: none;
  color: var(--green);
}
.price__item .price .pp {
  color: var(--green);
}
.price__item {
  width: calc(50% - 0.5rem);
}

.price__cta {
  display: flex;
  flex-direction: row;
  align-items: initial;
  gap: 1rem;
}

.call-for-price {
  color: var(--blue);
  font-weight: 700;
}

.card__cta {
  margin-top: 14px;
}

.card__cta button {
  width: 100%;
  min-height: 44px;
}
.search__options__toggle.open .open,
.search__toggle.open .open,
.search__options__toggle .close,
.search__toggle .close {
  display: none;
}
.search__options__toggle.open .close,
.search__toggle.open .close {
  display: block;
}

.mobile-buttons-search button {
  display: none;
}

@media screen and (max-width: 920px) {
  section.dtmg__header.search__page img.bg__img{
    border-radius: 0;
  }
  .search-page-header {
    height: 100%;
    transition: all .3s ease-out;
  }
  #search_container {
    margin-top: 0px;
  }
  #search_container .result-list .inner {
    padding: 0;
  }
  #search_container #mobile-filters-container,
  #search_container .search-results,
  #search_container .pagination {
    padding: 0 15px;
  }
  #search_container #mobile-filters-container {
    margin-bottom: 16px;
  }
  #search_actions li.action-reset {
    background-color: var(--mint-green);
    border-color: var(--mint-green);
    color: var(--green);
  }
  #search_actions li:hover {
    background-color: var(--white);
    color: var(--green);
  }
  #search_actions li.action-reset:hover {
    background-color: var(--white);
    color: var(--green);
  }

  #search_actions {
    background-color: var(--green);
    padding:20px;
    margin:0;
  }
  .search-item .card__body {
    padding:0;
  }
  .search-item .card__body .card__header {
    padding: 24px 24px 0;
  }
  .search-item .card__body .info__items {
    padding: 0 24px;
  }
  .search-item hr {
    padding: 8px 24px;
  }
  .search-item .card__body .card__prices {
    padding: 0 24px;
  }
  .search-item .card__body .card__cta .dtmg__btn {
    border-radius: 0 0 8px 8px;
  }
  .search-item .image__wrapper.card__image,
  .search-item .image__wrapper.card__image img.img__cover {
    border-radius: 8px 8px 0 0;
  }
  .header__toggle__btns {
    display: flex;
    gap:2rem;
    align-items: center;
    justify-content: center;
  }
section.dtmg__header.search__page {
  height: auto;
}
  .dtmg-search-header {
    margin: 20px 0;
  }
  .dtmg-search-header #custom-search-form {
    position: relative;
    transform: none;
    max-width: 100%;
    margin: 0;
    background: white;
    z-index: 99;
    left: initial;
    bottom: initial;
    border-radius: 24px;
  }
  .dtmg-search-header #search-form-container div:first-child {
    margin-bottom: 16px;
  }
  .dtmg-search-header #search-form-container {
    grid-template-columns: 1fr;
  }
  #custom-search-form a.search-all-link {
    font-size: 12px;
  }
  .search-all-link.arrow--right-green::after {
    width: 12px;
    height: 12px;
  }
  /* .dtmg-search-header , */
.sidebar {
    transition: all .3s ease-out;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    /* padding: 20px 20px 60px; */
    overflow: scroll;
    transition: left .3s;
  }
  .sidebar.open {
    left: 0;
  }
  .toggle-visible {
    height:100%;
    visibility: visible;
    opacity:1;
    padding:16px;
    box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
    border-radius: 8px;
  }

  .price__item>h4 {
    margin: 0;
  }

  .price__item {
    display: flex;
    flex-direction: column;
    gap:6px;
    align-items: center;
  }

  .mobile-buttons-search button,
  .mobile__filters--flight button,
  .mobile__filters--hotel-pre button,
  .mobile__filters--hotel-post button {
    font: normal normal 700 14px/24px var(--body-font);
    letter-spacing: 0px;
    color: var(--text);
    height: 32px;
    border-radius: 16px;
    background-color: transparent;
    border: 1px solid var(--text);
    padding: 0px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    /* display: none; */
  }
  .result-grid {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 1280px) {
  
}

@media screen and (min-width: 960px) {
  #header-search-alt {
    margin: 30px auto;
  }
  /* #website-search-form {
    display: block;
    max-width: 90%;
    margin: 0 auto;
  } */
  .dtmg-search-header {
    display: block;
  }
  .header__toggle__btns {
    display: none;
  }
  .card__image {
    max-width: 390px;
  }
  .result-grid {
    grid-template-columns: 300px 1fr;
  }
}

@media screen and (min-width: 1024px) {
  .item__card {
    flex-direction: row;
  }

  .card__info,
  .card__header {
    flex-direction: row;
  }

  .card__logo {
    flex: 0 0 120px;
  }

  /* .card__prices {
    flex-wrap: nowrap;
  } */

  /* .price__item {
    flex: 1;
  } */

  .card__cta button {
    width: auto;
  }
  .result-grid {
    grid-template-columns: 320px 1fr;
  }
}