/* # Tour summary in page w/shortcode
---------------------------------------------------------------------------------------------------- */

.page .wrapper {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	box-shadow: 0 0 2px rgba(0,0,0,.2);
    padding: 15px;
	margin-bottom: 40px;
	position: relative;
}

.page .wrapper:hover {
	box-shadow: 0 0 8px rgba(0,0,0,.35);
}

.page .wrapper .button, 
.page .wrapper .button:hover {
	border: none;
}

.page .wrapper .icon-info, 
.page .wrapper .icon-history {
	margin: 0px 12px 0 0;
}

.page .tour_archive_summary_image {
	grid-column: 1 / span 2;
 	grid-row: 1 / span 2;
	margin: -15px 0px -15px -15px;
}

.page .tour_archive_description {
	grid-column: 3 / span 4;
    margin: 0px;
	padding-left: 20px;
	max-height: 130px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.page .tour_archive_description .tour-insert-title {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 1.4;
	text-transform: uppercase;
	color: #303942;
	margin-bottom: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.page .tour_archive_description p {
	margin: 0px;
	font-size: 19px;
}

.page .tour_archive_summary {
	grid-column: 3 / span 3 ;
	grid-row: 2 ;
	padding-left: 20px;
    align-self: self-end;
}

.page .tour_archive_summary p {
    margin-bottom: 2px;
	font-size: 18px;
}

.page .tour_archive_book {
	grid-column: 6 / span 1 ;
	grid-row: 2 ;
    align-self: self-end;
	float: right;
    font-size: 1.25rem;
    font-weight: bold;
}

.page .tour_archive_book a.button {
    padding: 9px 16px;
	background-image: none;	
	font-weight: bold;
}

.page span.tour-price-description-right p {
	margin-bottom: 0px;
	text-align: right;
    font-size: 25px;
}

.page span.tour-price-lowlight p {
    font-size: 14px;
    margin: 0 0 -12px;
	color: #303942;
}

.page div.tour-archive-image {
	height: 300px;
	position: relative;
	overflow: hidden;
}

.page .tour-archive-image__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.35s ease;
}

.page div.tour-archive-image:hover .tour-archive-image__img {
	transform: scale(1.06);
}

.page .info-tag span.icon-heart {
	color: #fff;
	margin-right: 6px;
	font-size: 13px;
}

.tour_archive_book button, .tour_archive_book  .button, .tour_archive_book a.button:hover {
    background: #008542;
}

.ribbon {
  	width: 150px;
  	height: 128px;
  	overflow: hidden;
  	position: absolute;
	z-index: 2;
}

.ribbon::before,
.ribbon::after {
  	position: absolute;
  	z-index: -1;
  	content: '';
  	display: block;
  	border: 5px solid rgba(66,57,48); /*2980b9*/
}

.ribbon span {
  	position: absolute;
  	display: block;
  	width: 231px;
  	padding: 5px 0;
  	background-color: rgba(48,57,66, 0.85); 
  	color: #fff;
	font-size: 13px;
    text-align: center;
    font-weight: bold;
}

.ribbon-top-left {
  	top: -10px;
  	left: -10px;
}

.ribbon-top-left::before,
.ribbon-top-left::after {
  	border-top-color: transparent;
  	border-left-color: transparent;
}
.ribbon-top-left::before {
  	top: 0;
  	right: 23px;
}
.ribbon-top-left::after {
  	bottom: 1px;
  	left: 0;
}
.ribbon-top-left span {
  	right: -25px;
  	top: 30px;
  	transform: rotate(-45deg);
}

span.iheart:before {
    content: "\e9da";
    font-family: 'icomoon' !important;
    speak: none;
    -webkit-font-smoothing: antialiased;
    margin-right: 4px;
    margin-left: -15px;
    font-size: 11px;
	color: rgba(48,57,66, 0.85);
	-webkit-text-stroke: 1px #ff5952;
}

.page .wrapper:hover span.iheart:first-letter {
    color: #ff5952;
}

span.infoo {
    position: absolute;
    bottom: -23px;
	right: 0vw;
    font-size: 12px;
    font-weight: normal;
	font-style: italic;
}

.tooltip {
  	position:relative; 
  	border-bottom:1px dashed #000;
}

.tooltip .tooltip-text {
  	position:absolute;
  	top: 0%;
  	right: 0%;
  	margin-top: 18px; 
  	width: 400px;
	max-width: 90vw;
  	padding: 10px;
    background-color: #f7f7f7;
  	display: none;
	border: 1px dashed #000;
}

.content .tooltip a, .content .tooltip a:hover, .content .tooltip a:focus, .content .tooltip a:active {
	background-image: none;
	transition: none;
}

.content .tooltip .tooltip-text a, .content .tooltip .tooltip-text a:hover, .content .tooltip .tooltip-text a:focus, .content .tooltip .tooltip-text a:active {
     background-image: linear-gradient( transparent 0%, transparent calc(50% - 4px), rgba(29,161,242, 0.35) calc(50% - 4px), rgba(29,161,242, 0.35) 100% );
	transition: background-position 120ms ease-in-out, padding 120ms ease-in-out;
}

@media (hover: hover) {
	.tooltip:hover .tooltip-text {
  		display:block;
		z-index: 1;
	}
}

@media only screen and (max-width: 800px) {

	.page .tour_archive_summary_image {
		grid-row: 1 / span 3;
	}

	.page .tour_archive_summary {
		grid-row: 2 / span 2 ;
	}
	.page .tour_archive_book {
		grid-row: 2 / span 2 ;
	}
	
	.page .tour_archive_description {
		grid-row: 1 / span 2;
	}
	
	.page .tour-description {
		display:none;
	}
		
	.page div.tour-archive-image {
		height: 200px;
	}

	.page .tour-archive-image__img {
		transition: none;
	}
	.page .tour_archive_summary p {
    	font-size: 16px;
	}
	
	.page span.tour-price-description-right p {
    	font-size: 23px;
	}
	
	.page span.tour-price-lowlight p {
    	font-size: 13px;
	}
	
	.page .tour_archive_book a.button {
    	padding: 4px 6px;
    	font-size: 15px;
	}	
}

@media only screen and (max-width: 600px) {
	.page .wrapper {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.page .tour_archive_summary_image {
		grid-column: 1 / span 3;
		grid-row: 1;
		margin: -15px -15px 15px -15px;
	}

	.page .tour_archive_description {
		grid-column: 1 / span 3;
		grid-row: 2;
		padding-left: 0px;
	}	

	.page .tour_archive_summary {
		grid-column: 1 / span 2;
		grid-row: 3;
		padding-left: 0px;
	}
	
	.page .tour_archive_book {
		grid-column: 3;
		grid-row: 3;			
	}
}

@media only screen and (max-width: 500px) {
	.page .tour_archive_summary {
		grid-column: 1 / span 3;
		grid-row: 3;
		padding-bottom: 0px;
    	padding-top: 0px;
	}	
	
	.page .tour_archive_book {
		grid-column: 1 / span 3;
    	grid-row: 4;	
	}
	
	.page .tour_archive_summary p {
    	font-size: 16px;
	}
}
