
body.no-scroll {
	overflow: hidden;
	position: fixed;
	width: 100%;
}

.digibook .post-area {
	margin-top: 0px;
}

.single .digibook.main-content > .row:first-child {
	padding-top: 0px;
}

.single-digibook #main {
	padding-top: 0px;
}

.single-digibook #main .post-area {
	margin-top: 0px;
}

/* .digibook {
  padding: 80px 0px;
  box-sizing: border-box;
} */
.digibook {
	width: 100%;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	height: auto;
	min-height: 100%;
	padding: 80px 0px;
	/* gap: 30px; */
	box-sizing: border-box;
}

.db-container {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.db-content {
	width: 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.db-views {
	flex: 1;
	min-height: 0;
}

.db-footer li, .db-download .cta_button, .db-download-selected, .db-download a, .db-help-link {
	list-style: none;
	cursor: pointer;
	font-family: "Avenir Next LT Pro Demi" !important;
	font-size: 14px;
	color: #07a;
	display: flex;
	align-items: center;
	gap: 5px;
	line-height: 1;
}

.chapter-index {
	width: 400px;
	padding: 20px;
	transition: all .3s ease;
	overflow-y: scroll;
	direction: rtl;
	margin: 0px;
}

.db-index {
	display: flex;
	flex: 0 0 auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .05), 0 4px 12px 0 rgba(0, 0, 0, .1);
	padding: 25px;
	position: relative;
	min-width: 400px;
	height: auto;
	max-height: none;
	transition: max-height .3s ease;
	margin-right: 25px;
	box-sizing: border-box;
}

.db-index.collapsed {
	padding: 0;
	border: none;
	min-width: 0;
	max-height: 100%;
}

.db-content {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	height: auto;
	max-height: none;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .05), 0 4px 12px 0 rgba(0, 0, 0, .1);
	overflow: hidden;
}

.db-container > .db-help-link {
	align-self: flex-start;
	margin-top: 14px;
}

.controls-wrap {
	display: flex;
	flex-shrink: 0;
}

.ui-accordion .index-sub.ui-accordion-content, .index-sub {
	border: unset;
	border-radius: 8px;
	font-size: 16px;
	padding: 20px;
}

.chapter-index .chart-title {
	font-size: 18px;
	font-weight: normal;
}

.chart-title, .row .col .chart-subtitle, .row .col .chart-tagline {
	font-family: "Avenir Next LT Pro Demi";
	line-height: 1 !important;
}

.chart-title {
	font-size: 30px;
	padding: 40px 20px 20px;
	text-align: left;
}

.chart-title:after {
	content: " ";
	border-bottom: 2px #07a solid;
	position: relative;
	display: block;
	padding-bottom: 15px;
}

.chapter-title {
	font-size: 36px;
	line-height: 1;
}

.db-slide {
	position: relative;
}

.db-slide-select {
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 5;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease;
	background: #eee;
	padding: 0px 10px;
	border-radius: 6px;
}

.db-slide:hover .db-slide-select {
	opacity: 1;
	visibility: visible;
}

.db-slide-select span {
	font-size: 14px;
	color: #07a;
}

@media only screen and (max-width: 1023px) {
	.db-slide-select {
		opacity: 1;
		visibility: visible;
	}
}

.db-slide ul.image {
	display: flex;
	justify-content: space-between;
	margin: 0px;
}

.index-section, .index-sub-item, .db-slide ul.image li {
	list-style: none;
}

.index-section {
	border: 1px solid #ccc;
	border-radius: 8px;
	margin-bottom: 30px;
	margin-left: 10px;
}

.index-sub-item {
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
	padding: 15px 0px;
	gap: 10px;
}

.index-chapter-download {
	padding: 15px 0px;
	list-style: none;
}

.index-chapter-download .cta_button, .index-chapter-download a {
	display: flex;
	font-family: "Avenir Next LT Pro Demi" !important;
	color: #07a;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px;
	align-items: center;
	flex-direction: row-reverse;
	text-align: left;
}

.index-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row-reverse;
	padding: 20px 30px;
	border-radius: 8px 8px 0px 0px;
	font-size: 16px !important;
	line-height: 16px !important;
	margin-bottom: 0px !important;
}

.db-index.collapsed .chapter-index {
	width: 0;
	padding: 0;
	min-width: 0;
}

.chapter-index::-webkit-scrollbar {
	width: 25px;
	background-color: rgba(240, 248, 255, .85);
	border-radius: 20px;
	padding: 20px;
	margin-left: 10px;
}

.chapter-index::-webkit-scrollbar-thumb {
	background-color: #a1adb4;
	border-radius: 20px;
}

.chapter-index .sub-item {
	color: #252525;
	text-align: left;
}

.db-index > .toggle-index {
	position: relative;
	height: 100%;
	color: #a1adb4;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	/* width: 0; */
	padding-left: 10px;
}

.db-index.collapsed > .toggle-index {
	position: relative;
	width: 50px;
	height: 100%;
	background: #fff;
	color: #a1adb4;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	border-radius: 8px;
	box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, .05), 0px 4px 12px 0px rgba(0, 0, 0, .1);
	left: 0;
}

.action-button-container {
	position: relative;
	display: flex;
	padding: 20px;
	justify-content: space-between;
	align-items: center;
}

.db-nav.db-nav--slides {
	display: flex;
	justify-content: center;
	align-items: center;
}

.db-content .owl-carousel .animated {
	animation-duration: 5ms;
}

.db-carousel .chart-image img {
	margin-bottom: 0px;
}

.db-nav.db-nav--slides button {
	background: unset;
	border: unset;
}

.db-nav.db-nav--slides .material-symbols-rounded {
	font-size: 40px;
	color: #07a;
}

.db-nav.db-nav--slides .slides-counter, .db-footer .page-info {
	font-size: 18px;
	font-weight: 700;
	padding: 0px 10px;
}

.db-download {
	display: flex;
	align-items: center;
	gap: 5px;
	color: #07a;
}

.db-download a .material-symbols-outlined {
	color: #07a;
	font-size: 32px;
}

@media only screen and (max-width: 768px) {
	.db-download {
		width: 130px;
	}
	
	.db-download svg {
		width: 32px !important;
	}
	
	.db-nav.db-nav--slides {
		width: 120px;
	}
	
	.db-nav.db-nav--slides .slides-counter {
		padding: 0px 5px;
	}
	
	.db-index {
		min-width: 0;
		width: 100%;
	}
	
	.index-chapter-download .hs-cta-wrapper {
		display: block;
	}
}

/* Index Accordion */
.ui-accordion .index-title.ui-accordion-header {
	display: flex;
	cursor: pointer;
	position: relative;
	margin: 0;
	padding: 20px;
	font-size: 16px;
	border: unset;
	border-radius: 8px;
	background: #fff;
}

.ui-accordion .index-title.ui-accordion-header .chapter-title-link {
	flex-grow: 1;
	color: #252525;
	font-weight: 700;
	text-align: left;
	line-height: 1.25;
	text-decoration: none;
}

.ui-accordion .index-title.ui-accordion-header span.material-symbols-outlined {
	position: absolute;
	right: 15px;
}

.ui-accordion .index-title.ui-accordion-header-active {
	color: inherit;
	background: #e9f9ff;
	border-radius: 8px 8px 0px 0px;
}

.ui-icon {
	float: right;
	font-size: 18px;
	margin-top: 4px;
	font-weight: 400;
}

/* Index Accordion ends */
.hubspot-modal {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .5);
	z-index: 999;
}

.hubspot-modal-content {
	position: fixed;
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	z-index: 1000;
	width: 90%;
	max-width: 600px;
}

.hubspot-modal-close {
	position: absolute;
	top: 10px;
	right: 15px;
	cursor: pointer;
	font-size: 24px;
}

/* Section */
.db-view {
	/* padding: 20px; */
	display: flex;
	flex-direction: column;
}

.db-view--sections {
	padding: 20px;
}

.section-header {
	margin-bottom: 10px;
}

.section-header span {
	font-size: 16px;
	color: #000;
}

.db-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	justify-items: center;
	align-items: start;
	min-height: calc(( 240px + 20px ) * 2);
}

.db-grid-item {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 20px;
	border-radius: 4px;
	min-height: 240px;
	overflow: hidden;
	text-align: center;
	position: relative;
}

.section-thumb {
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	margin-bottom: 20px;
}

.section-thumb img {
	width: 100%;
	height: auto;
	max-width: 240px;
	display: block;
	object-fit: cover;
	margin-bottom: 0px !important;
	border-radius: 5px;
}

.section-select {
	position: absolute;
	left: 10px;
	top: 10px;
}

.db-grid-item .section-subtitle {
	font-size: 14px !important;
	line-height: 1.5 !important;
	text-align: left !important;
	/* position: absolute; */
	bottom: 0;
}

.db-footer {
	display: flex;
	gap: 20px;
	align-items: center;
	flex-shrink: 0;
	justify-content: space-between;
	padding: 0px 20px 20px;
}

.db-footer-left {
	display: flex;
	flex: 20%;
}

.db-footer-right {
	display: flex;
	flex: 80%;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.db-footer .db-tabs {
	display: flex;
	gap: 10px;
	margin: 0px;
}

.db-footer .db-download-selected {
	margin: 0px;
}

.db-nav.db-nav--pages {
	display: flex;
	justify-content: center;
	align-items: center;
}

.db-nav.db-nav--pages .prev-slide, .db-nav.db-nav--pages .next-slide {
	cursor: pointer;
	font-size: 20px;
	color: #07a;
	height: 40px;
}

.db-download-selected:hover {
	color: #07a;
}

@media only screen and (max-width: 768px) {
	.db-grid {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.db-footer {
		flex-direction: column;
		gap: 20px;
	}
	
	.db-footer-left {
		flex: 30%;
	}
	
	.db-footer-right {
		flex: 70%;
		justify-content: center;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
	.db-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Section End */
@media only screen and (max-width: 1023px) {
	.hubspot-modal-content {
		height: 80vh;
		overflow-y: scroll;
	}
	
	#chapter-presenter {
		padding: 20px;
	}
	
	#chapter-presenter .tab-item {
		flex-direction: column;
	}
	
	.chapter-wrapper {
		flex-direction: column;
	}
	
	.db-content #section-wrapper {
		min-height: unset;
	}
	
	.chapter-index, .db-content {
		width: 100%;
		padding-right: 0px;
	}
	
	.digibook {
		flex-direction: column;
		padding: 40px 0px;
		gap: 30px;
	}
	
	.db-container {
		width: 100%;
	}
	
	.db-index {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: none !important;
		margin-right: 0 !important;
		padding: 20px !important;
		box-sizing: border-box;
		align-items: stretch;
	}
	
	.chapter-index {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: 70vh !important;
		padding: 0 !important;
		padding-left: 10px !important;
		overflow-y: auto;
		overflow-x: hidden;
		box-sizing: border-box;
	}
	
	.index-section {
		margin-left: 0;
	}
	
	.index-title {
		padding: 18px 45px 18px 20px;
		word-break: normal;
		overflow-wrap: anywhere;
	}
	
	.ui-accordion .index-title.ui-accordion-header span.title {
		font-size: 15px;
		line-height: 1.25;
	}
	
	#section .db-slide {
		width: 50%;
		margin-bottom: 1em;
	}
	
	#section .db-slide .img-item img {
		margin-bottom: auto;
	}
	
	.chapter-wrapper {
		max-height: unset;
	}
	
	.chart-title {
		font-size: 18px !important;
	}
	
	.db-index > .toggle-index {
		display: none;
	}
	
	.db-index.collapsed > .toggle-index {
		box-shadow: unset;
	}
	
	.db-download .hs-cta-wrapper {
		margin-bottom: 0px;
	}
	
	.db-download a {
		font-size: 16px;
		text-align: right;
	}
	
	.action-button-container svg {
		width: 24px;
	}
}

@media only screen and (min-width: 1000px) and (max-width: 1399px) {
	.chart-title {
		font-size: 20px !important;
	}
	
	.db-footer-left {
		flex: 30%;
	}
	
	.db-footer-right {
		flex: 70%;
	}
}

@media only screen and (min-width: 1400px) and (max-width: 1799px) {
	.chart-title {
		font-size: 26px !important;
	}
}

@media (max-width: 767px) {
	.action-button-container {
		flex-wrap: wrap;
		justify-content: center !important;
		gap: 12px;
	}
	
	.db-footer {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}
	
	.db-download {
		width: 100%;
		display: flex;
		justify-content: center;
	}
}

/* ------------------------- */

/*  TABLET / iPad 768–1024px */

/* ------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
	.action-button-container {
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: center;
		gap: 20px;
	}
	
	.db-footer {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 20px;
		width: auto;
	}
	
	.db-footer .db-tabs {
		display: flex;
		flex-direction: row;
		gap: 16px;
	}
	
	.db-download {
		display: flex;
		flex-direction: row;
		width: auto;
		white-space: nowrap;
	}
}
