/**
 * styles/articleView.css
 *
 * Copyright (c) 2013-2017 Simon Fraser University
 * Copyright (c) 2003-2016 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * Article view stylesheet.
 */

/* Inline PDF viewer styles */
@import url("./pdfView.css");

#body {
	width: 95%;
	margin: 0 auto;
}

#container {
	min-width: 150px !important;
}

#main {
	width: 100%;
	margin: 0;
}

#main h2 {
	font-size: 1.0em;
}

#main h5 {
	margin: 0em 1em 0.5em 0em;
	padding-top: 0em;
	font-size: 1.3em;
	font-family: Georgia,'Times New Roman',Times,serif;
	font-weight: normal;
}

#main h6 {
	margin: 0.5em 1em 0.5em 0em;
	padding: 0;
	font-family: Georgia,'Times New Roman',Times,serif;
	font-weight: normal;
	font-size: 1.2em;
}

#content {
	border: none;
}

#content img.accessLogo {
	display: inline;
	vertical-align: middle;
	margin: 0;
	padding: 0;
}

#topBar {
	width: 100%;
	padding-top: 1em;
	padding-bottom: 2.5em;
}

#articleFontSize {
	float: right;
}

#articleFontSize img {
	display: inline;
	vertical-align: middle;
	margin: 0;
	padding: 0;
}

#accessKey {
	float: left;
}

#accessKey img {
	display: inline;
	vertical-align: middle;
	margin: 0;
	padding: 0;
}

#articleCoverImage {
	width: 100%;
	padding-top: 1em;
	padding-bottom: 1em;
	clear: left;
}

#articleCoverImage img {
	display: block;
	border: 0;
}

div.rtSeparator {
	width: 100%;
	padding: 0;
	border-bottom: 2px dotted #000;
	line-height: 0px;
}

div.rtSeparatorThin {
	width: 100%;
	padding: 5px 0px 5px 0px;
	border-bottom: 1px dotted #000;
	line-height: 0px;
}

div.rtBlock {
}

div.rtBlock a {
	text-transform: none;
	text-decoration: none;
}

div.rtBlock ul {
	padding: 0;
	margin: 0;
}

div.rtBlock li {
	list-style-type: none;
}

span.rtSubtitle {
	text-transform: uppercase;
	font-size: 0.85em;
}

a.rtAction {
	font-size: 0.9em;
	text-transform: uppercase;
	text-decoration: none;
}

/*
*  Styles for XSLT Article Rendering
*  (based on NLM DTD classes)
*/

table.bm {
	border: 1px solid #000;
}

.tl-default, .tl-main-part {
	font-weight: bold;
}

dt {
	display: inline;
	float: left;
	margin-left: 20px;
	width: 80px;
}

dd {
	margin-left: 100px;
}

.articleToolItem {
	margin-bottom: 3px;
}

.articleToolIcon {
	padding-right: 5px;
	vertical-align: middle;
}

#sidebarRTRelatedItems ul {
	padding: 0px;
}

#sidebarRTRelatedItems li {
	margin-bottom:3px;
}

#toggleRelatedItems {
	display: none;
	padding-top:3px;
	cursor: pointer;
}



/* =========================================================
   CUSTOM ARTICLE METRICS
   ========================================================= */

#customArticleMetrics {
	width: 100% !important;
	max-width: 900px !important;
	margin: 30px 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

#customArticleMetrics .cam-header {
	margin: 0 0 18px 0 !important;
	padding: 0 !important;
}

#customArticleMetrics .cam-header h4 {
	margin: 0 !important;
	padding: 0 0 10px 0 !important;
	border-bottom: 2px solid #d9d9d9 !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 18px !important;
	font-weight: bold !important;
	line-height: 1.4 !important;
	text-transform: uppercase !important;
}

#customArticleMetrics .cam-cards {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 16px !important;
	width: 100% !important;
	margin: 0 0 24px 0 !important;
}

#customArticleMetrics .cam-card {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;

	flex: 1 1 300px !important;
	min-width: 280px !important;

	padding: 20px !important;
	margin: 0 !important;

	background: #ffffff !important;
	border: 1px solid #dcdcdc !important;
	border-radius: 8px !important;
	box-sizing: border-box !important;

	box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

#customArticleMetrics .cam-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	flex: 0 0 48px !important;
	width: 48px !important;
	height: 48px !important;

	margin-right: 15px !important;

	background: #f1f3f5 !important;
	border-radius: 50% !important;

	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 20px !important;
	font-weight: bold !important;
	line-height: 48px !important;
	text-align: center !important;
}

#customArticleMetrics .cam-data {
	display: block !important;
	flex: 1 !important;
}

#customArticleMetrics .cam-value {
	display: block !important;

	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 30px !important;
	font-weight: bold !important;
	line-height: 1.1 !important;
}

#customArticleMetrics .cam-label {
	display: block !important;

	margin-top: 5px !important;

	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	color: #666666 !important;
}

#customArticleMetrics .cam-performance {
	width: 100% !important;

	margin: 0 !important;
	padding: 20px !important;

	background: #ffffff !important;
	border: 1px solid #dcdcdc !important;
	border-radius: 8px !important;
	box-sizing: border-box !important;

	box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

#customArticleMetrics .cam-performance-title {
	margin: 0 0 20px 0 !important;

	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 16px !important;
	font-weight: bold !important;
	line-height: 1.4 !important;
}

#customArticleMetrics .cam-performance-item {
	display: block !important;
	width: 100% !important;
	margin: 0 0 18px 0 !important;
}

#customArticleMetrics .cam-performance-item:last-child {
	margin-bottom: 0 !important;
}

#customArticleMetrics .cam-performance-header {
	display: flex !important;
	flex-direction: row !important;
	justify-content: space-between !important;
	align-items: center !important;

	margin: 0 0 7px 0 !important;

	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
}

#customArticleMetrics .cam-bar {
	display: block !important;

	width: 100% !important;
	height: 10px !important;

	margin: 0 !important;
	padding: 0 !important;

	background: #eeeeee !important;
	border-radius: 10px !important;

	overflow: hidden !important;
}

#customArticleMetrics .cam-fill {
	display: block !important;

	width: 0;
	height: 10px !important;

	margin: 0 !important;
	padding: 0 !important;

	border-radius: 10px !important;

	transition: width .6s ease !important;
}

#customArticleMetrics .cam-view-fill {
	background: #5969d8 !important;
}

#customArticleMetrics .cam-download-fill {
	background: #4a9d9d !important;
}


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

	#customArticleMetrics .cam-cards {
		display: block !important;
	}

	#customArticleMetrics .cam-card {
		display: flex !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 0 12px 0 !important;
	}

	#customArticleMetrics .cam-performance {
		padding: 15px !important;
	}

	#customArticleMetrics .cam-performance-header {
		font-size: 12px !important;
	}

}



