/*
 Theme Name:   Travel Tour Child
 Theme URI:    http://demo.goodlayers.com/infinite
 Description:  Goodlayers Travel Tour Child Theme
 Author:       Goodlayers
 Author URI:   http://goodlayers.com
 Template:     traveltour
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, right-sidebar, responsive-layout
 Text Domain:  traveltour-child

 START YOUR CHILD THEME CSS HERE
*/

.gdlr-core-toggle-box-item-content-wrapper{
padding-top: 20px;
}
  
.traveltour-page-title-wrap {
  height: 50vh;
  opacity: 0.9;
  }

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.gallery-item {
  flex: 0 0 calc(33.333% - 10px);
  box-sizing: border-box;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.03);
}

.homepage-slider-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 600px; /* lub wyższe jeśli potrzebujesz więcej przestrzeni */
  z-index: 1;
}


/* Ustaw formularz wewnątrz slajdera */
.homepage-slider-wrapper .tour-browser-row {
  position: absolute;
  bottom: 50px; /* odległość od dołu slajdera */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 100%;
  max-width: 900px;
  padding: 20px;
}

/* Styluj sam formularz */
.tour-browser-row .tourmaster-tour-search-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.377);
  border-radius: 10px;
  padding: 15px;
}

.tour-browser-row .tourmaster-tour-search-submit {
  background: #f26657;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}


/* Effect: slight enlargement and stronger shadow on hover */
.tourmaster-tour-grid-inner {
  border-radius: 10px !important;
  background-color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.04), 0 24px 80px rgba(0, 0, 0, 0.02) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden; /* kluczowe dla przycinania rogu obrazka */
}

.tourmaster-tour-grid-inner,
.tourmaster-tour-grid {
  height: auto !important;
}

/* Hover efekt: powiększenie + mocniejszy cień */
.tourmaster-tour-grid-inner:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08), 0 24px 48px rgba(0, 0, 0, 0.06), 0 36px 96px rgba(0, 0, 0, 0.03) !important;
}

#itinerary .print-button {
  border-radius: 4px;
  display: inline-block;
  padding: 12px 24px;   /* wysokość i szerokość */ 
  line-height: 1.2;     /* proporcje tekstu */
  min-height: 44px;    
}

.tourmaster-tour-content-wrap {
  max-height: 330px;
}

.tourmaster-tour-grid .tourmaster-tour-price {
  font-size: 26px;
}



/* Kafelek – całość z zaokrągleniem */
.tourmaster-tour-modern-inner {
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}


.tourmaster-tour-item-holder .gdlr-core-item-list {
  margin-bottom: 20px !important;   /* pionowy odstęp między wierszami */
  padding-left: 13px !important;    /* lewy odstęp między kolumnami */
  padding-right: 13px !important;   /* prawy odstęp między kolumnami */
}



/* Przewijany kontener dla kategorii */
.tourmaster-type-filter-item {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 6px;
}

/* Każdy element kategorii jako blok */
.tourmaster-type-filter-term {
  display: block;
  margin-bottom: 6px;
  cursor: pointer;
}

/* Ukryj checkboxy i ikonki */
.tourmaster-type-filter-term input[type="checkbox"],
.tourmaster-type-filter-term i.fa-check {
  display: none;
}

/* Stylizacja widocznej części (tekst kategorii) */
.tourmaster-type-filter-display {
  display: block;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.3s;
}

/* Hover (najazd) */
.tourmaster-type-filter-display:hover {
  background-color: #f5f5f5;
}

/* Zaznaczone – checkbox:checked + label */
.tourmaster-type-filter-term input[type="checkbox"]:checked + .tourmaster-type-filter-display,
.tourmaster-type-filter-term input[type="checkbox"]:checked ~ .tourmaster-type-filter-display {
  background-color: #0073aa;
  color: #fff;
}

/*hide 'from' by the tour price */
.tourmaster-tour-price .tourmaster-head {
  display: none !important;
}
/*hide price by the tour price */
.tourmaster-tour-price-info {
  display: none !important;
}



/* Date picker style */
.ui-datepicker-header {
  display: contents;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  border-radius: 8px 8px 0 0;
  position: relative;
}

/* Strzałki po bokach */
.ui-datepicker-prev,
.ui-datepicker-next {
  position: static;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background: #f0f0f0;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.ui-datepicker-prev {
  left: 10px;

}
.ui-datepicker-next {
  right: 10px;
}

/* Styl selectów miesiąca i roku */
.ui-datepicker-title {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ui-datepicker-title select {
  font-size: 16px;
  font-weight: 600;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fdfdfd;
  width: 50px;
}

.contact-form input[type="submit"] {
  border-radius: 8px;
}

@media (max-width: 767px) {
  .homepage-slider-wrapper .tour-browser-row {
    position: absolute;
    display:contents;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    max-width: 900px;
	}
	
	.traveltour-logo-inner{
		max-width:200px
	}
	
	.gdlr-core-navigation {
        display: none !important;
    }
    .gdlr-core-mobile-navigation {
        display: block !important;
    }

	

}	
