/* =============================
	Quotes Llama – mode='page'.
	============================ */

/* Wrapper */
.quotes-llama-page-container {
	width: 100%;
}

/* Sidebar */
.quotes-llama-page-sidebarleft {
	float: left;
	width: 28%;
	text-align: left;
	padding-left: 10px;
	min-height: 1px;
}

.quotes-llama-page-sidebarleft li {
	list-style-type: none;
}

/* Output Area */
.quotes-llama-page-quote {
	float: right;
	width: 68%;
	text-align: left;
	min-height: 1px;
	margin-top: 20px;
}

.quotes-llama-page-status {
	float: right;
	width: 68%;
	margin-bottom: 10px;
	text-align: center;
}

/* ========
	Search
	======= */
.quotes-llama-page-quotes-form {
	padding: 15px 20px;
	border-radius: 6px;
	margin-bottom: 20px;
}

.quotes-llama-page-quotes-form form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.quotes-llama-page-quotesearch {
	padding: 8px 12px;
	min-width: 200px;
	max-width: 250px;
	flex-grow: 1;
}

.quotes-llama-page-quotes-form select.sc {
	padding: 8px 12px;
	max-width: 150px;
}

.quotes-llama-page-searchbutton {
	border: 1px solid;
	padding: 8px 16px;
}

/* ============
	Navigation
	=========== */
.quotes-llama-page-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 15px;
	padding-left: 15px;
	padding-right: 8px;
	padding-bottom: 8px;
	text-align: center;
}

.quotes-llama-page-navdiv {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 10px;
	text-align: center;
}

.quotes-llama-page-title a button {
	margin-left: 2px;
	margin-bottom: 2px;
}

/* Sidebar Letter Separators */
.quotes-llama-page-letter {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-top: 10px;
}

/* Anchor */
.quotes-llama-page-fixed-anchor {
	display: block;
	position: relative;
	top: -20px; 
	visibility: hidden;
}

/* Authors */
.quotes-llama-page-sidebarleft li {
	list-style: none;
	margin: 0;
	padding: 4px 0;
}

.quotes-llama-page-link {
	text-decoration: none;
	word-wrap: break-word;
}

/* Buttons */
.quotes-llama-page-navdiv button,
.quotes-llama-page-sidebarleft a button {
	border-radius: 4px;
	padding: 4px 8px;
	font-size: 0.85rem;
}

/* ========
	Quotes
	======= */

/* Quote */
.quotes-llama-page-quotebox {
	position: relative;
	margin-bottom: 12px;
	line-height: 1.6;
}

/* Image */
.quotes-llama-page-quotebox img {
	max-width: 150px;
	max-height: 150px;
	object-fit: cover;
	margin-right: 15px;
	margin-bottom: 15px;
	border-radius: 5px;
	box-shadow: 5px 10px 12px 0px rgba(0,0,0,0.75);
	float: left;
}

.quotes-llama-page-quotebox::after {
	content: "";
	clear: both;
	display: table;
}

.quotes-llama-page-quote-more {
	font-size: 1.05rem;
}

/* Source */
.quotes-llama-page-source {
	display: block;
	text-align: right;
	font-size: small;
	font-style: italic;
}

/* ======================
	Print & Back Buttons
	===================== */
.quotes-llama-inline {
	display: inline-block;
	width: 100%;
	text-align: center;
}

.quotes-llama-page-author-back input[type="button"],
input.quotes-llama-print {
	padding: 6px 16px;
	font-weight: 500;
}

/* =======
	Print
	====== */
@media print {
	/* Hide navigational elements during print */
	.quotes-llama-page-sidebarleft,
	.quotes-llama-page-quotes-form,
	.quotes-llama-page-author-back,
	.quotes-llama-page-navdiv,
	button {
		display: none !important;
	}
    
	.quotes-llama-page-container,
	#quotes-llama-printquote {
		display: block !important;
		width: 100% !important;
		border: none !important;
		box-shadow: none !important;
		padding: 0 !important;
	}
}
