/**
 * SF Beer Week - Activity Modal Styles
 * Styling for AJAX-loaded activity detail modals
 * Based on original SFBW template
 */

/* Modal Body */
#mdlActivity .modal-body
{
	margin: 0;
	padding: 0;
	border: 0;
}

#mdlActivity .modal-body div.card
{
	border: 0;
	cursor: default;
}

#mdlActivity .modal-body div.card div.card-img-top
{
	overflow: visible;
}

#mdlActivity .modal-body div.card:hover div.card-img-top div.img
{
	transform: unset;
}

#mdlActivity .modal-body div.card div.slate
{
	min-height: auto;
}

/* Date Slate Positioning in Modal */
#mdlActivity .modal-body div.card-img-top
{
	position: relative;
}

#mdlActivity .modal-body div.card div.slate
{
	position: absolute;
	top: calc(100% - 3rem);
	left: 0;
	width: auto;
	height: 3rem;
	display: block;
	padding: 0.5rem 3rem 0.5rem 1.5rem;
	background-color: #55575b !important;
	color: #fff !important;
	font-size: 1.5rem !important;
	font-weight: 200 !important;
	text-transform: lowercase !important;
	font-variant: small-caps;
	text-align: center;
}

#mdlActivity .modal-body div.card div.slate > span
{
	display: inline-block;
	margin: 0 0.3rem;
	padding: 0;
	font-size: 1.6em !important;
	font-weight: 400 !important;
}

/* Caption Overrides for Full Content */
#mdlActivity .modal-body div.card div.caption
{
	width: calc(100% - 3rem);
	left: 0;
}

#mdlActivity .modal-body div.card div.caption .card-title,
#mdlActivity .modal-body div.card div.caption .card-text,
#mdlActivity .modal-body div.card div.caption .card-loc
{
	height: auto !important;
	overflow: visible !important;
	white-space: normal !important;
	-webkit-line-clamp: none !important;
	text-overflow: none !important;
}

#mdlActivity .modal-body div.card div.caption .card-title
{
	display: block;
	padding-bottom: 0.3rem;
	margin: 0 !important;
}

#mdlActivity .modal-body div.card div.caption .card-text
{
	display: block !important;
	height: auto !important;
	padding-bottom: 1rem;
	-webkit-line-clamp: none !important;
}

#mdlActivity .modal-body div.card div.caption .card-loc
{
	padding-bottom: 1rem;
}

/* Controls Section (Favorite, Link, etc.) */
#mdlActivity .modal-body div.card div.controls
{
	width: 3rem !important;
	align-items: flex-start !important;
	padding: 0;
	padding-top: 0.7rem !important;
	font-size: 1.5rem !important;
	text-align: center !important;
}

#mdlActivity .modal-body div.card div.controls i.favorite
{
	font-size: 1.875rem !important;
	color: #000 !important;
	margin-bottom: 0.2rem !important;
	cursor: grab;
}

#mdlActivity .modal-body div.card div.controls i.favorite:active
{
	cursor: grabbing;
}

/* Modal Header */
#mdlActivity .modal-head img.img-fluid
{
	max-height: 36px;
}

/* Modal Footer */
#mdlActivity .modal-footer
{
	background-color: #fff;
	justify-content: flex-start;
}

/* Beer Section */
#beers .bg-box
{
	background-color: #f8f9fa;
	border: 1px solid #ddd;
	border-radius: 4px;
}

#beers p.brewery
{
	font-size: 0.85rem;
	color: #666;
	margin-bottom: 0.2rem;
}

#beers p.name
{
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 0.2rem;
}

#beers p.style
{
	font-size: 0.9rem;
	font-style: italic;
	color: #555;
	margin-bottom: 0.4rem;
}

#beers p.desc
{
	font-size: 0.9rem;
	line-height: 1.4rem;
}

#beers span.abv
{
	font-weight: 600;
	color: #EEA31B;
}

/* Person Section */
#persons p.name
{
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 0.2rem;
}

#persons p
{
	margin-bottom: 0.5rem;
}

/* Responsive Modal */
@media screen and (max-width: 992px)
{
	#mdlActivity .modal-body div.card div.slate
	{
		height: 3rem;
		display: block;
		padding: 0.5rem 0.5rem 0.5rem 1.5rem;
	}

	#mdlActivity .modal-body div.card div.caption
	{
		width: 100%;
		left: 0;
	}

	#mdlActivity .modal-body div.card .card-footer
	{
		padding: 0.5rem;
	}
}
