/**
 * Boats feed styles (Web Boutiques OpenMarine feed).
 * Shared by every NYB site using this theme. Enqueued after style.css by functions.php,
 * versioned by file modification time.
 */

/* =Boat feed description
 * The feed's marketing_desc is cleaned by nyb_feed_clean_description() (inc/boats-feed.php),
 * which removes inline styles, classes and ids. This reset makes sure nothing that survives
 * (or any theme rule) can position, clip or overlap the text.
 * ------------------------------------------------------------------------- */
#brokerboat19 .nyb-feed-desc,
#brokerboat19 .nyb-feed-desc * {
	position: static;
	float: none;
	height: auto;
	min-height: 0;
	max-height: none;
	overflow: visible;
	transform: none;
	z-index: auto;
}
#brokerboat19 .nyb-feed-desc {
	font-size: 14px;
	line-height: 24px;
	color: #000;
	overflow-wrap: break-word;
	word-wrap: break-word;
}
#brokerboat19 .nyb-feed-desc p,
#brokerboat19 .nyb-feed-desc ul,
#brokerboat19 .nyb-feed-desc ol {
	margin: 0 0 16px;
}
#brokerboat19 .nyb-feed-desc ul,
#brokerboat19 .nyb-feed-desc ol {
	padding-left: 20px;
}
#brokerboat19 .nyb-feed-desc ul {
	list-style: disc;
}
#brokerboat19 .nyb-feed-desc ol {
	list-style: decimal;
}
#brokerboat19 .nyb-feed-desc li {
	margin-bottom: 4px;
}
#brokerboat19 .nyb-feed-desc h3,
#brokerboat19 .nyb-feed-desc h4 {
	color: #000;
	font-weight: 600;
	margin: 24px 0 8px;
}
#brokerboat19 .nyb-feed-desc h3 {
	font-size: 18px;
	line-height: 26px;
}
#brokerboat19 .nyb-feed-desc h4 {
	font-size: 16px;
	line-height: 24px;
}
#brokerboat19 .nyb-feed-desc > :first-child {
	margin-top: 0;
}
#brokerboat19 .nyb-feed-desc a {
	text-decoration: underline;
	word-break: break-word;
}

/* Tables (inventory lists in some adverts). Widths from the feed are stripped; fit the column. */
#brokerboat19 .nyb-feed-desc table {
	width: 100%;
	max-width: 100%;
	table-layout: auto;
	border-collapse: collapse;
	margin: 0 0 16px;
}
#brokerboat19 .nyb-feed-desc th,
#brokerboat19 .nyb-feed-desc td {
	padding: 4px 8px 4px 0;
	vertical-align: top;
	text-align: left;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
#brokerboat19 .nyb-feed-desc td p,
#brokerboat19 .nyb-feed-desc th p {
	margin: 0;
}

/* =Boat gallery
 * Feed photos come in one size but mixed shapes and orientations: show the whole photo
 * in the main frame (never stretched or cropped), crop thumbnails to fill their tile.
 * ------------------------------------------------------------------------- */
#brokerboat19 #boat-main-image .open-large-gallery {
	height: 100%;
	background-size: contain !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	cursor: pointer;
}
#brokerboat19 .boat-thumbnails .boatthumb {
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
}
#brokerboat19 .brokerage-boat .relatedbgimg {
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
}
@media only screen and (max-width: 1040px) {
	/* The main image frame is 500px tall here; keep the slider the same height. */
	#brokerboat19 #boat-main-image .slick-list,
	#brokerboat19 #boat-main-image .slick-track {
		height: 500px;
	}
}
