#document-container-top {
	width: 100%;
}
#document-container {
	display: flex;
	margin: 0 auto;
	background: #fff;
	padding-bottom: 50px;
}
@media (min-width: 993px) {
	#document-container  {
	    width: 930px;
	}
}
@media (min-width: 1200px) {
	#document-container  {
		width: 1110px;
	}
}
@media (max-width: 992px) {
	#document-container {
		display: block;
		padding: 0px 20px;
	}
}
#document-container .fa {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.7;
}
#document-container a,
#document-container a:hover,
#document-container a:active {
	outline: 0;
}
#document-category {
	width: 25%;
	float: right;
	font-size: 16px;
	padding-top: 30px;
}
#document-content {
	float: left;
	width: 75%;
	padding-right: 60px;
	padding-top: 30px;
	padding-bottom: 0px;
}
#document-category .sidebar-inner {
	padding: 30px 30px 25px 30px;
	margin-bottom: 30px;
	background-color: #eff4fc;
	border-radius: 6px;
}
#document-category .sidebar-inner .category-title {
	font-size: 18px;
	margin: 0 0 15px;
	color: #222;
}

#document-category .sidebar-inner ul {
	margin: 0 0 0 15px;
	padding: 0;
	list-style: circle;
}
#document-category .sidebar-inner li {
	margin-bottom: 5px;
}
#document-category .sidebar-inner a {
	transition: all .1s ease-in-out;
	display: block;
	text-decoration: none;
}
#document-category .sidebar-inner li.active a,
#document-category .sidebar-inner a:hover {
	color: #232323;
}

#document-category .sidebar-inner li.active a {
	font-weight: 600;
}

.cg-docs-cta {
	position: relative;
	margin-bottom: 20px;
	padding: 30px;
	border-radius: 6px;
	background-color: #474de7;
	overflow: hidden;
}

.cg-popups-cta {
	background-color: #b51169;
}

body.single-cg_docs {
	overflow: visible;
}

.single-cg_docs #document-content img {
	box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    padding: 1rem;
}

.single-cg_docs #document-content .wp-video {
	width: 100% !important;
}

@media (min-width: 993px) {

	body.single-cg_docs,
	body.tax-docs_category,
	body.tax-docs_categories {
		overflow: visible;
	}

	.cg-docs-sticky {
		position: sticky;
		top: 30px;
	}

	.admin-bar .cg-docs-sticky {
		top: 60px;
	}

}

.cg-docs-cta h4,
.cg-docs-cta p {
	color: #fff;
}

.cg-docs-cta p:last-of-type {
	margin-bottom: 0;
}

.cg-docs-cta h4 {
	font-size: 19px;
	margin: 0 0 15px;
	font-weight: 600;
}

.cg-docs-cta a {
	background-color: #fff;
	padding: 8px 16px;
	color: #474de7;
	font-weight: 600;
	font-size: 14px;
	border-radius: 3px;
	display: inline-block;
}

.cg-docs-cta.cg-popups-cta a {
	color: #b51169;
}
.cg-docs-cta.cg-popups-cta a:hover {
	color: #111;
}

.cg-docs-cta img {
	max-width: 150px;
	position: absolute;
	bottom: -15px;
	right: -85px;
	border-top-left-radius: 3px;
}

.cg-docs-cta p:last-child {
	margin-bottom: 0;
}

.cg-docs-cta p {
	line-height: 1.35em;
	font-size: 15px;
}
#document-content .post-header h1 {
	margin: 0px;
	display: inline-block;
	font-size: 32px;
	letter-spacing: -0.01em;
	line-height: 1.25;
}
#document-content .docs-term-list li {
	border-bottom: 1px solid #eee;
	list-style: none;
	position: relative;
	font-size: 17px;
}
#document-content .docs-term-list li:first-child {
	border-top: 1px solid #eee;
}
#document-content .docs-term-list li a {
	display: block;
	padding: 10px 0 10px 28px;
	color: #555;
	transition: all .1s ease-in-out;
}
#document-content .docs-term-list li a:hover {
	color: #000;
	text-decoration: none;
}
#document-content .post-meta {
	color: #555;
	float: none;
	font-size: 14px;
	list-style: none;
	width: 100%;
	padding: 0;
	margin: 10px 0 30px 0;
}

@media (min-width: 770px) {
	#document-content .post-meta  {
		display: flex;
		flex-wrap: wrap;
	}
}

#document-content .post-meta svg {
	width: 16px;
	height: 16px;
	margin-right: 6px;
}
#document-content .post-meta span,
#document-content .post-meta time {
	margin-left: 5px;
}
#document-content .post-meta li {
	display: flex;
	align-items: center;
	margin: 0 24px 0 0;
}
#document-content .post-meta a {
	color: #333;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	font-weight: normal;
}
#document-content .post-meta a:hover {
	color: #000;
}
#document-content .entry {
	clear: both;
	display: block;
	width: 100%;
}

#document-content ul.docs-term-list {
	padding: 0;
	margin: 20px 0;
}

#document-content .docs-term-list li a {
	display: flex;
	align-items: center;
}

#document-content ul.docs-term-list li svg {
	width: 18px;
	height: 18px;
	position: absolute;
	left: 0px;
	top: 13.5px;
}

#document-content ul.docs-term-list a {
	text-decoration: none;
	font-weight: normal;
}

@media only screen and (max-width: 992px){
	#document-category, #document-content {
		float: none;
		width: 100%;
		padding-right: 0;
		padding-left: 0;
		border-right: 0px;
		padding-top: 20px;
	}
	#document-category {
		padding-top: 20px;
		padding-bottom: 0;
	}
}

/* StyleGuide */

#document-content {
	font-size: 17px;
	line-height: 1.5;
}

#document-content strong {
	font-weight: 600;
}
#document-content h2 {
	font-size: 26px;
	margin: 40px 0 15px;
	border-top: 1px solid #eee;
	padding-top: 25px;
}

#document-content h2.cat {
	font-size: 22px;
	font-weight: normal;
	border: none;
	padding-top: 0;
	margin: 35px 0 -5px;
}

#document-content h2.cat:first-of-type {
	margin-top: 20px;
}

#document-content h3 {
	font-size: 22px;
	margin: 40px 0 15px;
}
#document-content h4 {
	font-size: 18px;
	margin: 40px 0 15px;
}
#document-content h5 {
	font-size: 16px;
	margin: 40px 0 15px;
}

#document-content a {
	text-decoration: underline;
	color: #1E64E6;
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.12em;
}

#document-content a:hover {
	color: #000;
}

#document-content ol,
#document-content ul {
    margin-bottom: 1.5em;
    margin-top: 0;
    padding-left: 20px;
}

#document-content ol li {
	 margin-bottom: 10px;
}

#document-content li blockquote {
    margin-top: 1em;
}


#document-content h2 {
	letter-spacing: -0.01em;
}

#document-content h2,
#document-content h3,
#document-content h4,
#document-content h5 {
	font-weight: bold;
}

body:not(.cgcsh-pri):not(.cgcsh-hjs) #document-content pre {
	position: relative;
    margin-bottom: 16px;
    font-size: 14px;
    background-color: #f5f5f5;
    border-left: 6px solid #e2e2e2;
    border-radius: 3px;
}

#document-content blockquote {
	background-color: rgba(255, 229, 100, 0.3);
    border-left: 6px solid #ffe564;
    padding: 20px 30px 20px 22px;
    color: #333;
    font-size: 16px;
    margin: 40px 0 20px 0;
    position: relative;
}

#document-content blockquote:before {
    background: #ffdd57;
    content: "💡 Tip";
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    top: -5px;
    right: -10px;
    padding: 4px 10px 4px 7px;
    position: absolute;
    text-transform: uppercase;
    vertical-align: top;
    transform: rotate(20deg);
}

#document-content .entry blockquote:first-child {
	margin-top: 0;
}

#document-content .entry blockquote:first-child:before {
	display: none;
}

#document-content blockquote > :last-child {
    margin-bottom: 0;
}

#document-content blockquote p {
	margin-top: 0;
	margin-bottom: 1.2em;
}

#document-content code {
    background-color: rgba(255, 229, 100, 0.3);
    border-radius: 3px;
    color: inherit;
    font-family: SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;
    font-size: 80%;
    margin: 0;
    padding: 4px 7px;
}

#document-content pre code {
    background-color: transparent;
    border-radius: 0;
    font-size: inherit;
    padding: 0;
    margin: 0;
}

#document-content .related-articles {
	margin-top: 50px;
	padding: 30px 30px 20px 30px;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
	border-radius: 6px;
}

#document-content .related-articles .docs-term-list {
	margin-bottom: 0;
}

#document-content .related-articles .docs-term-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

#document-content .related-articles h4 {
	font-size: 20px;
	font-weight: normal;
	margin: 0px 0 -5px 0;
}

.single-cg_docs #document-content .wp-caption .wp-caption-text {
	margin-top: -0.5rem;
}

/* Search results */

.cgdocs-search {
	padding-top: 20px;
}

.cgdocs-search label {
	display: none;
}

.cgdocs-search form {
	position: relative;
}

.cgdocs-search svg {
	width: 20px;
	height: 20px;
	position: absolute;
	top: 20px;
	left: 15px;
	pointer-events: none;
}

.cgdocs-search input[type="text"] {
	border-radius: 4px;
	padding-left: 45px;
}

.cg_docs .searchwp-live-search-result p {
	font-size: 15px;
}

.cg_docs .searchwp-live-search-result p a {
	color: #222;
}

.cg_docs .searchwp-live-search-result p:hover a {
	color: #474de7;
}

/* Images */

#document-content .size-full {
	margin: 0 0 1.5em;
}

#document-content.full-width {
	float: none;
	width: 100%;
	padding-right: 0;
}
#document-content .document-docs-list {
	margin-top: 30px;
	display: grid;
	grid-gap: 30px;
  	grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 993px) {
	#document-content .document-docs-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

#document-content .document-docs-list ul.docs-term-list {
	margin: 15px 0;
}

#document-content .document-docs-link a {
	font-size: 16px;
	color: #111;
}

.document-docs-single {
	padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 0 6px rgb(0 0 0 / 6%);
}

#document-content .document-docs-single h2 {
	margin: 0;
	padding: 0;
	border: none;
	font-size: 18px;
}

#document-content .document-docs-single h2 a {
	color: #111;
	text-decoration: none;
}

#document-content .document-docs-single .docs-term-list li {
	font-size: 16px;
}

/* Shoptimizer docs CTA block */

#document-content .shoptimizer-docs-intro {
    background: #484de8;
    padding: 0.5em 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
    border-radius: 6px;
    margin-top: 20px;
}

#document-content .shoptimizer-docs-intro h2 {
	font-size: 28px;
	margin-top: 0;
	margin-bottom: 10px;
    border: none;
    color: #fff;
}

#document-content .shoptimizer-docs-intro p {
    font-size: 18px;
    line-height: 1.4em;
    margin-top: 0;
}

#document-content .shoptimizer-docs-intro p a {
    background: #fff;
    border: none;
    padding: 13px 30px;
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
    text-decoration: none;
}

/* Hide Exit Offer */

.single-cg_docs #exit-offer,
.single-cg_docs #exit-offer__bg {
	display: none;
}

@media only screen and (max-width: 769px) {
	#document-content blockquote {
	    font-size: 14px;
	    line-height: 1.4;
	}
}


.document-docs-single.id-200 h2 a,
.document-docs-single.id-222 h2 a,
.document-docs-single.id-232 h2 a {
	width: 220px;
	height: 30px;
	margin: 5px 0 20px 0;
	text-indent: -9999px;
	display: block;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.document-docs-single.id-200 h2 a {
	width: 200px;
	background-image: url("../img/shoptimizer.jpg");
}

.document-docs-single.id-222 h2 a,
.document-docs-single.id-232 h2 a {
	background-image: url("../img/cg-popups.jpg");
}