.content-area h1,
.content-area h2,
.content-area h3,
.content-area h4 {
    margin: 0.4em 0 1.1em 0;
	font-weight: 400;
	border-bottom: 0 none;
	padding: 0;
}

.entry-content .toc-heading,
.entry-content h2.toc-heading,
.entry-content h3.toc-heading,
.entry-content h4.toc-heading,
.entry-content h5.toc-heading,
.entry-content h6.toc-heading {
	clear: left;
	float: none !important;
	text-transform: none;
	font-weight: 400;
}

.entry-content h2.toc-heading {
	font-size: 1.45rem; /* 26px */
	line-height: 1.5em; /* 39px */
}

.entry-content h3.toc-heading {
	font-size: 1.15rem; /* 21px */
	line-height: 1.475em; /* 31px */
}

.entry-content h4.toc-heading {
	font-size: 1rem; /* 18px */
}

.table-of-contents {
	float: right;
	width: 250px;
	background-color: #fff;
	box-shadow: 0 0 8px rgba(0,0,0,0.1);
	border: 1px solid #eee;
	border-radius: 3px;
	margin: 0 0 15px 15px;
	z-index: 1;
	position: relative;
	color: #555d66;
}

@media (min-width: 971px) {

	div.table-of-contents 	{
		margin: -15px -30px 15px 15px;
	}
}

@media (max-width: 480px) {

	div.table-of-contents {
		display: none;
	}
}

.table-of-contents h2.toc-title {
	/**
	 * originally font-size is 1.3em defined in wporg-breathe theme,
	 * which is correctly 17px but in HelpHub style this inheritance is wrong
	 * and 1.3em becomes 21px so we'll define font-size and line-height here
	 * until issue is fixed in theme itself.
	 *
	 * Recently edited to use rem values instead of pixels.
	 */
	margin: 0;
	padding: 7px 12px;
	font-size: 0.95rem;
	font-weight: 400;
	color: #32373c;
	text-transform: uppercase;
	border-bottom: 1px solid #eee;
}

/**
 * Same thing with font-size and line-height as above
 */
.table-of-contents .items {
	font-size: 0.8rem;
	margin: 0;
	list-style-type: none;
	padding: 1rem;
}

.table-of-contents .items li {
	padding: 4px;
}

.table-of-contents .items li ul li,
.table-of-contents .items li ul li ul li {
	padding-bottom: 0;
}

/**
 * Hiding second level table of contents links.
 * With the second level, things looks too messy and
 * information in the small area is too overwhelming.
 */
.table-of-contents .items li ul {
	display: none;
}

/**
 * This should be inherited from p2-breathe
 */
.table-of-contents .items li a {
	word-break: break-word;
}

.table-of-contents .items li a,
.table-of-contents .items li a:visited {
	text-decoration: none;
}

.table-of-contents .items li a:hover {
	color: #0073aa;
	text-decoration: underline;
}

/**
 * This should be inherited from p2-breathe
 */
.table-of-contents .items li ul {
	list-style: disc;
    margin-left: 16px;
}

.table-of-contents .items li ul li {
	list-style: disc;
}

/* Highlight current heading and adjust scroll position for fixed toolbar */
.toc-heading:target {
	border-left: 5px solid #0073aa;
	padding-left: 5px;
	margin-left: -10px;
}

p.toc-jump {
	position: relative;
	height: 50px;
	text-align:right;
	font-size: 12px;
}

p.toc-jump:after {
	content: '';
	display: table;
	clear: both;
}

p.toc-jump {
	z-index: 1;
}
