.w-100 {
	width: 100% !important;
}
.d-flex {
	display: flex;
}
.fw-bold {
	font-weight: bold;
}
.text-center {
	text-align: center;
}

#tl-wrapper {
	padding: 0.1rem 0rem 0.1rem 0rem;
}

#tl-wrapper #tl-box {
	display: flex;
	width: 100%;
}

#tl-wrapper #tl-box #tl-menu-section {
	width: 30%;
	padding: 0 10px 0 0;
	position: sticky;
	top: 180px;
	align-self: flex-start;
}

#tl-wrapper #tl-box #tl-menu-section .tl-search-box {
	display: flex;
	flex-wrap: no-wrap;
	align-items: center;
	background: #f3f3f3;
	border-radius: 5px;
}

#tl-wrapper #tl-box #tl-menu-section .tl-search-box .tl-search-input {
	color: #000;
	background: transparent;
	padding: 0.5rem 0.5rem 0.5rem 0.9rem;
	border: 0;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
}


#tl-wrapper #tl-box #tl-menu-section .tl-level-0-menu-wrapper {
	
}

#tl-wrapper #tl-box #tl-menu-section .tl-level-0-menu-wrapper ul.tl-level-0-menu {
	display: flex;
	flex-direction: column;
	margin: 15px 0;
	padding: 0;
}

#tl-wrapper #tl-box #tl-menu-section .tl-level-0-menu-wrapper ul.tl-level-0-menu > li.tl-level-0-menu-item {
	display: block;
	padding: 0.4rem 1rem;
	color: #767676;
	font-weight: bold;
	border-radius: 5px;
	cursor: pointer;
}

#tl-wrapper #tl-box #tl-menu-section .tl-level-0-menu-wrapper ul.tl-level-0-menu > li.tl-level-0-menu-item:hover {
	color: #000;
}

#tl-wrapper #tl-box #tl-menu-section .tl-level-0-menu-wrapper ul.tl-level-0-menu > li.tl-level-0-menu-item.active {
	color: #fff;
}

#tl-wrapper #tl-box #tl-content-section {
	width: 70%;
	padding: 0 0 0 10px;
}

#tl-wrapper #tl-box #tl-content-section .tl-empty-library {
	text-align: center;
	padding: 1rem 2rem;
	border-radius: 10px;
	width: 100%;
	color: #fff;
	font-weight: bold;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-level-0-header {
	display: flex;
	justify-content: space-between;
	background: #f3f3f3;
	border-radius: 5px;
	padding: 0.4rem 0.7rem;
	margin-bottom: 0.4rem;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-section.hidden {
	display: none !important;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content {
	padding: 0 0 0.4rem 0;	
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content .tl-level-1-cat {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin: 0 0 0.5rem 0;
	padding: 0.4rem 0.7rem;
	background-color: #f0f1f3;
	color: #999;
	font-weight: bold;
	font-size: 15px;
	border-radius: 5px;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content .tl-level-2-cat {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin: 0rem 0 1.2rem 0;
	padding: 1rem 0.7rem;
	color: #000;
	font-weight: bold;
	font-size: 15px;
	border-bottom: 2px solid #ddd; 
	height: 0px;
	cursor: pointer;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content .tl-level-2-cat svg {
	transition: transform 0.3s;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content .tl-level-2-cat.collapsed svg {
	transform: rotate(180deg);
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content .tl-level-2-cat > span {
	background: #fff; 
    padding:0 10px;
	height: 36px;
	margin-top: 36px;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content .tl-the-library {
	display: none;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 0.4rem 0.6rem;
	font-weight: bold;
	color: #000;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content .tl-the-library.show {
	display: flex;
	flex-wrap: nowrap;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-the-library-title {
	display: flex;
	align-items: center;
	justify-content: start;
	max-width: 70%;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-the-library-title .tl-thumbnail {
	position: relative;
	display: inline-block;
	width: 3rem;
	min-width: 3rem;
	height: 4.5rem;
	margin-right: 1rem;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-the-library-title .tl-thumbnail img {
	width: 100%;
	height: 100%;
	display: block;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-the-library-title .tl-thumbnail .og-thumbnail-popover:before {
	position: absolute;
	z-index: -1;
	content: "";
	right: calc(50% - 10px);
	top: -8px;
	border-style: solid;
	border-width: 0 10px 10px 10px;
	border-color: transparent transparent #fff transparent;
	transition-duration: 0.3s;
	transition-property: transform;
	box-shadow: 0 5px 10px rgba(0,0,0,.3);
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-the-library-title .tl-thumbnail .og-thumbnail-popover {
	border-radius: 5px;
	box-shadow: 0 5px 10px rgba(0,0,0,.3);
	background: #fff;
	position: absolute;
	z-index: 2;
	width: 200px;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -5px);
	opacity: 0;
	visibility: hidden;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-the-library-title .tl-thumbnail:hover .og-thumbnail-popover {
	transform: translate(-50%, 0);
	opacity: 1;
	visibility: visible;
	transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97);
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-the-library-title .tl-thumbnail .og-thumbnail {
	position: relative;
	width: 100%;
	height: 100%;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-the-library-title .tl-thumbnail .og-thumbnail:after {
	content: '';
	position: absolute;
	background: url('assets/img/notebook-base.png') center center no-repeat;
	background-size: contain;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-favorite-button {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	cursor: pointer;
	margin-right: 1rem;
	transition: opacity 0.2s;
	user-select: none;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-favorite-button:hover {
	opacity: 0.8;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-favorite-button svg {
	flex-shrink: 0;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-favorite-button span {
	white-space: nowrap;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-download-button {
	cursor: pointer;
	position: relative;
	display: flex;
	flex-wrap: no-wrap;
	gap: 5px;
	color: #000;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-download-box-wrapper {
	transition: height 0.3s;
	position: absolute;
	right: 0;
	top: 32px;
	z-index: 5;
	display: none;
	z-index: 999;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .show-on-hover {
	display: block;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-download-button.show-on-hover:hover .tl-download-box-wrapper {
	display: block;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-download-box-wrapper.show {
	display: block;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-download-box {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: end;
	border-radius: 0.7rem;
	background-color: #fff;
	box-shadow: 0 5px 10px rgba(0,0,0,.3);
	padding: 5px 0;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-download-box .tl-download-item {
	display: flex;
	justify-content: space-between;
	cursor: pointer;
	text-transform: uppercase;
	color: #000;
	text-align: left;
	border-bottom: 2px solid rgba(0,0,0,.1);
	min-width: 200px;
}

.rate-limit {
	padding: 0.5rem 1rem;
	width: 100%;
	height: 100%;
}


#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-download-box .tl-download-item:last-child {
	border-bottom: none;
}

#tl-wrapper #tl-box #tl-content-section .tl-category-content  .tl-the-library .tl-download-box .tl-download-item:hover {
	background-color: #F5F5F5;
}


@media only screen and (max-width: 784px) {
	#tl-wrapper #tl-box { flex-wrap: wrap; }
	#tl-wrapper #tl-box #tl-content-section { width: 100%; }
	#tl-wrapper #tl-box #tl-menu-section { width: 100%; top: 0; }
	#tl-wrapper #tl-box #tl-menu-section { position: relative; }
	#tl-wrapper #tl-box #tl-content-section .tl-category-content .tl-the-library .tl-the-library-title .tl-thumbnail .og-thumbnail-popover { left: 150%; }
	#tl-wrapper #tl-box #tl-content-section .tl-category-content .tl-the-library .tl-the-library-title .tl-thumbnail .og-thumbnail-popover:before { right: calc(75% - 10px); }
	#tl-wrapper #tl-box #tl-content-section .tl-category-content .tl-the-library .tl-download-box-wrapper { right: auto; }
}