/*
*	ITEM FEATURED IMAGE: Citadela Block CSS styles for both frontend and editor screen
*/

.ctdl-item-featured-image .ft-image							{ position: relative; }
.ctdl-item-featured-image .ft-image a						{ display: inline-block; vertical-align: top; }

.ctdl-item-featured-image.loading 							{ display: none; }
.ctdl-item-featured-image .ft-image-thumb					{ text-align: center; position: relative; }
.ctdl-item-featured-image.align-center .ft-image-thumb		{ text-align: center; }
.ctdl-item-featured-image.align-left .ft-image-thumb		{ text-align: left; }
.ctdl-item-featured-image.align-right .ft-image-thumb		{ text-align: right; }

.ctdl-item-featured-image.custom-height img					{ object-fit: cover; }
.ctdl-item-featured-image.position-top-right img			{ object-position: top right; }
.ctdl-item-featured-image.position-top-center img			{ object-position: top center; }
.ctdl-item-featured-image.position-top-left img				{ object-position: top left; }
.ctdl-item-featured-image.position-center-right img			{ object-position: center right; }
.ctdl-item-featured-image.position-center-center img		{ object-position: center center; }
.ctdl-item-featured-image.position-center-left img			{ object-position: center left; }
.ctdl-item-featured-image.position-bottom-right img			{ object-position: bottom right; }
.ctdl-item-featured-image.position-bottom-center img		{ object-position: bottom center; }
.ctdl-item-featured-image.position-bottom-left img			{ object-position: bottom left; }

.ctdl-item-featured-image.cover-height								{ width: 100%; }
.ctdl-item-featured-image.cover-height img							{ object-fit: cover; }
.ctdl-item-featured-image.cover-height:first-child:last-child		{ height: 100%; }
.ctdl-item-featured-image.cover-height:first-child:last-child img	{ display: block; position: absolute; top: 0; left: 0; }
.ctdl-item-featured-image.cover-height .ft-image-thumb,
.ctdl-item-featured-image.cover-height .ft-image,
.ctdl-item-featured-image.cover-height .ft-image a,
.ctdl-item-featured-image.cover-height .ft-image img				{ width: 100%; height: 100%; }

.ctdl-item-featured-image.cover-height .ft-image-caption			{ position: absolute; background: rgba(0,0,0,0.3); color: #ffffff; bottom: 0; left: 0; right: 0; }

/*
*	ITEM OPENING HOURS: Citadela Block CSS styles for both frontend and editor screen
*/

.ctdl-item-opening-hours .oh-day 				{ display: flex; flex-flow: wrap; margin-bottom: 1em; }
.ctdl-item-opening-hours .oh-day p				{ margin: 0 0 0.3em 0; }
.ctdl-item-opening-hours .oh-day .oh-label,
.ctdl-item-opening-hours .oh-day .oh-data		{ flex: auto; width: 150px; max-width: 100%; }
.ctdl-item-opening-hours .oh-day .oh-label		{ font-weight: 700; }

/*
*	ITEM CONTACT DETAILS: Citadela Block CSS styles for both frontend and editor screen
*/


.ctdl-item-contact-details {}

.ctdl-item-contact-details .cd-info 					{ margin-bottom: 0.5em; }
.ctdl-item-contact-details .cd-info p					{ margin: 0 0 0.3em 0; }
.ctdl-item-contact-details .cd-info .cd-label,
.ctdl-item-contact-details .cd-info .cd-data			{ display: inline-block; max-width: 100%; vertical-align: top; }
.ctdl-item-contact-details .cd-info .cd-label			{ font-weight: 700; }
.ctdl-item-contact-details .cd-info .cd-label p:after	{ content: ":"; }
/*
*	ITEM CONTACT FORM: Citadela Block CSS styles for both frontend and editor screen
*/


.ctdl-item-contact-form {}

.ctdl-item-contact-form .input-container							{ margin-bottom: 0.5em; }
.ctdl-item-contact-form .input-container:not(.sf-button) label		{ display: none; }
.ctdl-item-contact-form .input-container:not(.sf-button) input,
.ctdl-item-contact-form .input-container:not(.sf-button) textarea	{ width: 100%; box-sizing: border-box; padding: 5px 10px; }
.ctdl-item-contact-form .input-container:not(.sf-button) textarea	{ height: 200px; max-width: 100%; min-width: 100%; }

/*
*	ITEM GPX DOWNLOAD: Citadela Block CSS styles for both frontend and editor screen
*/

.ctdl-item-gpx-download { margin-bottom: 1.5rem; }

.ctdl-item-gpx-download.align-left 		{ text-align: left; }
.ctdl-item-gpx-download.align-center 	{ text-align: center; }
.ctdl-item-gpx-download.align-right 	{ text-align: right; }

.ctdl-item-gpx-download .download-button > a					{ display: inline-block; max-width: 100%; height: auto; text-align: center; white-space: normal; box-sizing: border-box; vertical-align: top; }
.ctdl-item-gpx-download:not(.text-style) .download-button > a 	{ background: #000000; color: #ffffff; border-radius: 4px; line-height: 1.3; }
.ctdl-item-gpx-download.small-button-style .download-button > a { padding: 6px 20px; font-size: 14px; }
.ctdl-item-gpx-download.large-button-style .download-button > a { padding: 12px 30px; font-size: 18px; }

/*
*	ITEM GET DIRECTIONS: Citadela Block CSS styles for both frontend and editor screen
*/

.ctdl-item-get-directions { margin-bottom: 1.5rem; }

.ctdl-item-get-directions.align-left 		{ text-align: left; }
.ctdl-item-get-directions.align-center 	{ text-align: center; }
.ctdl-item-get-directions.align-right 	{ text-align: right; }

.ctdl-item-get-directions .button-wrapper > a					{ display: inline-block; max-width: 100%; height: auto; text-align: center; white-space: normal; box-sizing: border-box; vertical-align: top; }
.ctdl-item-get-directions:not(.text-style) .button-wrapper > a 	{ background: #000000; color: #ffffff; border-radius: 4px; line-height: 1.3; }
.ctdl-item-get-directions.small-button-style .button-wrapper > a { padding: 6px 20px; font-size: 14px; }
.ctdl-item-get-directions.large-button-style .button-wrapper > a { padding: 12px 30px; font-size: 18px; }

