
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;
}

.digibook-wrapper {
	padding: 80px 0px;
	box-sizing: border-box;
}

.chapter-wrapper {
	width: 100%;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	height: auto;
	min-height: 100%;
	padding: 0px;
	gap: 30px;
}

.chapter-controls {
	display: flex;
	gap: 20px;
	align-items: center;
}

.chapter-controls .tab-links {
	display: flex;
	gap: 20px;
	margin: 0px;
}

.chapter-controls #download-selected {
	margin: 0px;
}

.chapter-controls li, .download-bar .cta_button, .chapter-controls #download-selected, .download-bar a {
	list-style: none;
	cursor: pointer;
	font-family: "Avenir Next LT Pro Demi" !important;
	font-size: 16px;
	color: #07a;
	display: flex;
	align-items: center;
	gap: 5px;
}

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

.index-wrap {
	display: flex;
	flex-shrink: 0;
	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;
}

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

.content-wrap {
	display: flex;
	flex-grow: 1;
	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;
}

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

.ui-accordion .index-sub.ui-accordion-content, .index-sub {
	margin-bottom: 1em;
	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 {
	color: #07a;
	font-size: 21px;
	padding: 20px;
}

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

#chapter-content {
	width: 100%;
}

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

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

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

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

.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;
}

.index-wrap.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;
}

.index-wrap>.toggle-index {
	position: relative;
	height: 100%;
	color: #a1adb4;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
}

.index-wrap.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;
}

#owlnav {
	display: flex;
	justify-content: center;
	align-items: center;
}

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

#owlnav button {
	background: unset;
	border: unset;
}

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

#owlnav #slides_counter, .section-footer .page-info {
	font-size: 20px;
	font-weight: 700;
	padding: 0px 10px;
}

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

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

@media only screen and (max-width: 768px) {
	.download-bar {
		width: 130px;
	}
	
	.download-bar svg {
		width: 32px !important;
	}
	
	#owlnav {
		width: 120px;
	}
	
	#owlnav #slides_counter {
		padding: 0px 5px;
	}
	
	.index-wrap {
		min-width: 90%;
	}
	
	.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 span.title {
	flex-grow: 1;
	color: #252525;
	font-weight: 700;
	text-align: left;
	line-height: 1.25;
}

.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 */
#sections {
	padding: 20px;
	display: flex;
	flex-direction: column;
}

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

.section-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;
}

.section-item .section-subtitle {
	font-size: 14px !important;
	line-height: 1.5 !important;
	text-align: left !important;
	bottom: 0;
}

.section-footer {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}

.section-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
}

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

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

@media only screen and (max-width: 768px) {
	.sections-grid {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.section-footer {
		flex-direction: column;
		gap: 20px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
	.sections-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;
	}
	
	#chapter-content #section-wrapper {
		min-height: unset;
	}
	
	#chapter-index, #chapter-content {
		width: 100%;
		padding-right: 0px;
	}
	
	#section .chart-item {
		width: 50%;
		margin-bottom: 1em;
	}
	
	#section .chart-item .img-item img {
		margin-bottom: auto;
	}
	
	.index-wrap {
		display: flex;
		align-items: center;
		height: 100%;
	}
	
	.chapter-wrapper {
		max-height: unset;
	}
	
	.chart-title {
		font-size: 16px !important;
	}
	
	.index-wrap>.toggle-index {
		display: none;
	}
	
	.index-wrap.collapsed>.toggle-index {
		box-shadow: unset;
	}
	
	.download-bar .hs-cta-wrapper {
		margin-bottom: 0px;
	}
	
	.download-bar 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: 16px !important;
	}
}

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

@media (max-width: 767px) {
	.action-button-container {
		flex-wrap: wrap;
		justify-content: center !important;
		gap: 12px;
	}
	
	.chapter-controls {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}
	
	.download-bar {
		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;
	}
	
	.chapter-controls {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 20px;
		width: auto;
	}
	
	.chapter-controls .tab-links {
		display: flex;
		flex-direction: row;
		gap: 16px;
	}
	
	.download-bar {
		display: flex;
		flex-direction: row;
		width: auto;
		white-space: nowrap;
	}
}
