* {
	font-family: lato, Helvetica, sans-serif;
	font-size: 1em;
}

.navbar {
	background-color: #ae0000;
}

div.entry-content {margin-top:0;}
#main>div.block:first-child {padding-top: 0;}
div.theiaStickySidebar>div:first-child {margin:0;}
.harms-sidebar {background-color: rgba(256,180,0, .1);}
.email-pic {position: relative; top: 0.2em; height: 1em;}
.pdf-manual-image .wp-caption-text {
	margin: 0px;
}
#main>div.page_block {padding-bottom:0;}
.top_footer {padding:10px;}
#footer .col-md-3 {width:100%;}
#footer .col-md-3 .widget {margin-bottom:0;}
.cbc-interview-mp3 .mejs-container {margin-bottom:0;}
.research-item {}
.research-pub {font-style:italic}
.research-title {font-weight:bold}
.research-pres {font-weight:bold; font-style:italic}

.main-body-text {
}

/* Links ***********************/
a {
	color: #ae0000;
}
a:visited {
	color: purple;
}
a:hover, a:focus, a:active {
	color: #ff0033;
}
/*******************************/


/* Table-related stuff **************************/
.main-table-text tr:nth-child(odd)  {background-color: #dedede;}
.main-table-text tr:nth-child(even) {background-color: #ecedef;}
.main-table-text td {
	padding: 8px;
	border: 1px solid white;
}
.main-table-text th {
	padding: 8px;
	font-weight: bold;
	color: white;
	background-color: #5b5b5d;
	border: 1px solid white;
}
.main-table-text table {
	table-layout: fixed;
}
.opioid-risk-table th, .opioid-risk-table td {
	text-align: center;
	font-size: 75%;
}
.ch8-table tr td {
	background-color: #ecedef;
	text-align: center;
}
.ch8-table tr td:first-child {
	background-color: #dedede;
	font-weight: bold;
	text-align: left;
}
/**********************************************/


/* Chapter 9 figures **************************/
.ch9-figgroup {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;	
}
.ch9-figgroupcol {
	width: 48.5%; 
	display: flex; 
	flex-direction: column; 
	justify-content: space-between;
}
.ch9-figgroupunit {
	display: flex; 
	justify-content: center; 
	align-items: center;
	background-color: #ecedef;
	margin-bottom: 20px;
}
.ch9-figgroupunit p {
	margin-bottom: 0px;
	font-weight: bold;
	font-size: 75%;
	padding: 3px 5px 3px 5px;
}
.ch9-figgroupunit img {
	min-width: 45%;
	max-width: 45%;
	padding: 5px 5px 5px 12px;
}
.ch9cases-figgroupunit {
	display: flex; 
	align-items: center;
}
.ch9cases-figgroupunit img {
	min-width: 35%;
	max-width: 35%;
	padding: 5px 5px 5px 12px;
}
.ch9cases-figgroupunit ul {
	font-weight: bold;
	font-style: italic;
	font-size: 75%;
}
.ch9cases-figgroupunit ul ul {font-size: 100%; list-style-type: circle;}
/**********************************************/


/* REFERENCES sections ----------*/
.references>div {
	background-color: #f6d2d4;
	padding: 10px;
	margin-top: 22px;
}
.references h3 {
	font-size: 1.25em;
	font-weight: bold;
	color: #333333;
	margin-top: 12px;
}
.references li {
	padding-left: 35px;
	padding-bottom: 6px;
}
/*********************************/


/* CASES sections ------------------------*/
.cases>div {
	background-color: #fdedd3;
	padding: 10px;
}
.cases h3 {
	font-size: 1.3em;
	font-weight: bold;
	color: #f7a72e;	
	margin-bottom: 0px;
	margin-top: 20px;
	text-transform: capitalize;
}
.cases h3:first-child {
	margin-top: 0px;
}
/******************************************/


/* Left side of CASES and PEARLS sections */
.left-spacer {
	background-color: #f6f6f6;
}
.left-spacer img {
	margin-top: -10px;
	margin-bottom: 10px;
	padding-right: 20px;
}
.left-spacer p {
	padding: 10px 20px 0px 0px;
	text-align: right;
	font-size: 1.6em;
	font-weight: bold;
	color: #333333;
}
/******************************************/


/* Glossary *******************************/
.glossary th {
	background-color: #fdedd3;
	text-align: left;
	font-weight: bold;
	padding: 3px 10px;
	border-bottom: 2px solid white;
}
.glossary td {
	background-color: #ecedef;
	text-align: left;
	padding: 4px 10px;
}
/******************************************/


/* For sections of text with background colours */
.emphasis {
	padding: 5px 10% 0px 10%;
	color: white;
	font-weight: bold;
	text-align: center;
	background-color: #f7a72e;
}
.emphasis-minor {
	margin: 0px -5px 0px -5px;
	padding: 5px 5px 0px 5px;
	background-color: #fdedd3;
}
/************************************************/


ul {
	list-style-type: disc;
	list-style-position: outside;
	margin-left: 10px;
	padding-left: 10px;
}
ul ul {
	list-style-type: circle;
	list-style-position: outside;
	margin-left: 10px;
	padding-left: 10px;
}
ul ul ul {list-style-type: square}
.list-spaced>li {padding-bottom:5px;}

ol {
	margin-left: 10px;
	padding-left: 10px;
}