:root {
	--contentlist-hover: #565a62;
}

:root[data-theme="light"] {
	--contentlist-hover: #fed5d6;
}

body.guide-helper-menu-open {
	overflow: hidden;
}

/* TODO: update this in the future */
#navbar-wrap * {
	font-family: Inter;
}
/* ------------------------------- */

/* New Layout Style */
#navbar ul.top-menu {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	flex: none;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style-type: none;
	height: 100%;
}

#navbar ul.top-menu li {
	height: 100%;
	margin-right: 0.25rem !important;
}

#navbar-register {
	display: none;
}

#navbar ul.top-menu li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0.375rem;
	transition-property: transform;
	transition-duration: 0.2s;
	height: 100%;
	font-weight: 700;
	color: white;
	cursor: pointer;
	white-space: nowrap;
}

#navbar ul.top-menu li > a:hover {
	background-color: var(--maggenta);
	color: white !important;
}

#navbar ul.top-menu li > a > img {
	height: 1rem;
}

#navbar-profile .navbar-profile-photo {
	position: relative;
	width: 24px;
}

#navbar-profile .navbar-profile-photo > img {
	border-radius: 50%;
	overflow: hidden;
	max-width: 100%;
}

#navbar-profile .navbar-profile-photo .navbar-profile-premium {
	position: absolute;
	right: -4px;
	bottom: -2px;
	display: none;
}

body.subscriber #navbar-profile .navbar-profile-photo .navbar-profile-premium,
body.subclass-mapex #navbar-profile .navbar-profile-photo .navbar-profile-premium,
body.subclass-af #navbar-profile .navbar-profile-photo .navbar-profile-premium  {
	display: inline-block;
}

#navbar ul.top-menu li a > span {
	margin-left: 0.5rem;
	display: none;
}

.gold {
	color: var(--ggold) !important;
}

#navbar-wrap button:active,
#navbar-wrap button:focus {
	outline: none;
}

#navbar-wrap {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	transition-property: top;
	font-size: 1rem;
	line-height: 1;
}

#navbar-wrap > #navbar-outer {
	background: black;
	color: white;
}

#navbar-wrap #navbar {
	padding: 0 10px;
	position: relative;
	width: 100%;
}

#navbar > #header-premium {
	font-weight: bold;
	border-radius: 5px;
	display: flex;
	align-items: center;
	font-size: 0.8em;
}

#navbar > #header-premium > img {
	aspect-ratio: 1;
	height: 1em;
	width: 1em;
	vertical-align: middle;
	display: inline;
}

#navbar > #header-premium > span {
	display: none;
}

a:focus,
a:hover {
	text-decoration: none;
}

#navbar-wrap #navbar,
#navbar-wrap #streaming-bar > a {
	height: 48px;
	display: flex;
	flex-direction: row;
	align-items: center;
}

body.is-guide-page #navbar-wrap #navbar > #header-premium {
	transform: translate(20px, -50%);
}

#navbar-login img.account-icon {
	display: block;
}

#navbar-login img.close-icon {
	display: none;
}

#navbar-login.close-modal img.account-icon {
	display: none;
}

#navbar-login.close-modal img.close-icon {
	display: block;
}

#navbar-login.close-modal {
	background-color: var(--maggenta);
	z-index: 9999;
}

#navbar-wrap #new-toc-btn::before,
#navbar-wrap #navbar > label:hover::before,
#navbar-wrap #navbar #search-button i:hover::before,
#navbar-wrap #navbar > label#guide-side-menu-label:hover {
	background-color: var(--maggenta);
	text-decoration: none;
}

body
	> input#guide-helper-menu-navbar-toggle:checked
	+ #navbar-wrap
	#new-toc-btn::before {
	transform: rotate(0deg);
}

#navbar-wrap #new-toc-btn {
	height: 60px;
	line-height: 60px;
	background-color: #191919;
	/* background-color: green; */
	cursor: pointer;
	margin: 0 10px 0 0;
	padding-left: 10px;
	padding-right: 10px;
	white-space: nowrap;
	flex: 0 1 auto;
	/* pink button is 1px too high for some reason… yolo */
	padding-top: 1px;
	font-size: 1.15em;
}

#navbar-wrap #new-toc-btn::before {
	content: "\edbf";
	transform: rotate(90deg);
}

#navbar-wrap #new-toc-btn > span {
	font-weight: bold;
	margin-left: 10px;
}

#notifs-container {
	height: 100%;
	position: relative;
	display: flex;
}

#navbar-wrap #navbar label[for="notifs-toggle"] img {
	z-index: 1;
}

#navbar-wrap #navbar label[for="new-menu-toggle"]:hover,
#navbar-wrap #navbar label[for="notifs-toggle"]:hover {
	background-color: var(--maggenta);
}

#navbar-wrap #navbar label[for="notifs-toggle"],
#navbar-wrap #navbar div[for="new-menu-toggle"],
#navbar-wrap #navbar label[for="new-menu-toggle"] {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	height: 100%;
	position: relative;
	padding: 0 8px;
	margin-left: 0px;
	font-weight: 700;
}

#navbar-wrap #navbar div[for="new-menu-toggle"] p,
#navbar-wrap #navbar label[for="new-menu-toggle"] p {
	display: none;
	user-select: none;
	padding-left: 2px;
	padding-right: 10px;
	margin: 0px;
}

#navbar-wrap #navbar label:hover,
/* #navbar-wrap #navbar a:hover, */
#navbar-wrap #navbar > #search-button:hover,
/* #navbar-wrap #navbar a.active, */
#navbar-wrap #navbar menu.new-menu ul > li a.active {
	text-decoration: none;
	cursor: pointer;
}

#navbar-wrap #navbar menu.new-menu ul > li a.active svg {
	fill: var(--maggenta);
}

#new-menu-icon {
	cursor: pointer;
}

#new-menu-icon.active,
#new-menu-icon:hover {
	background: var(--maggenta);
}

#navbar-wrap #navbar #navbar-logo {
	flex: 0 0 72px;
	height: 28px;
	margin: 10px 8px;
	background-repeat: no-repeat;
	background-image: url("/assets/front/images/logo/gg-logo-mobile.svg");
	background-size: contain;
}

body.subclass-mapex #navbar-wrap #navbar #navbar-logo {
	background-image: url("/assets/front/images/logo/by-tier/gg-logo-mapex.svg");
}

body.subclass-af #navbar-wrap #navbar #navbar-logo {
	background-image: url("/assets/front/images/logo/by-tier/gg-logo-af.svg");
}

body.subclass-legend #navbar-wrap #navbar #navbar-logo {
	background-image: url("/assets/front/images/logo/by-tier/gg-logo-legend.svg");
}

body.subclass-premium #navbar-wrap #navbar #navbar-logo {
	background-image: url("/assets/front/images/logo/by-tier/gg-logo-premium.svg");
}

/* body.subscriber #navbar-wrap #navbar #navbar-logo {
	background-image: url("/assets/front/images/logo/gg-logo-premium-mobile.svg");
} */

/* #navbar #guide-helper-menu-navbar {
	width: 100%;
	left: 0;
	top: 110px;
	height: 0;
	max-height: initial;
	margin: 0;
	padding: 0;
	overflow: hidden;
	z-index: 10;
	transition: top 0.5s, height 0.5s;
} */

#overview-modal__content {
	flex-grow: 1;
	border-radius: 6px;
	background-color: var(--background);
	color: black;
	min-height: 500px;
}

#overview-modal__content {
	color: white;
}

/* body.now-streaming #navbar #guide-helper-menu-navbar {
	top: 170px;
} */

#guide-helper-menu-page,
.guide-main-wrap > .slot-sidebar {
	display: none;
}

#guide-helper-menu-navbar {
	position: fixed;
	top: 98px;
	bottom: 0;
	left: 0;
	right: 0;
}

body.nonsubscriber #guide-helper-menu-navbar {
	bottom: 150px;
}

.guide-helper-menu {
	box-shadow: 1px 1px 6px #333;
	background-color: var(--background);
	border-radius: 0px;
	position: fixed;
	margin: 0;
	padding: 0;
	max-width: 350px;
	top: 110px;
	z-index: 10;
	height: auto;
	width: 350px;
	overflow-y: auto;
}

@media screen and (max-width: 621px) {
	:root[data-theme="light"] .guide-helper-menu {
		background-color: white;
	}
	:root[data-theme="dark"] .guide-helper-menu {
		background-color: #212121;
	}
}

.guide-helper-menu > .toc-logo {
	text-align: center;
	height: 100px;
	margin: 26px 60px 0px 60px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	display: none;
}

.guide-section-menu > .gg-icon {
	display: none;
}

.guide-section-menu > a:link,
.guide-section-menu > a:active,
.guide-section-menu > a:visited {
	text-decoration: none;
	color: white;
}

.guide-section-menu > div {
	color: #4e4d4d;
}

.guide-helper-menu form.guide-search-form,
article.guide-toc-page .toc-page-inner form.guide-search-form {
	height: 2.5em;
}

.guide-helper-menu form.guide-search-form input,
article.guide-toc-page .toc-page-inner form.guide-search-form input {
	width: 100%;
	height: 30px;
	border-radius: 5px;
	border-style: none;
	padding: 4px 16px;
	font-size: smaller;
	background: var(--subbackground);
}

:root[data-theme="dark"] .guide-helper-menu form.guide-search-form input {
	background: #333333;
}

:root[data-theme="light"] .guide-helper-menu form.guide-search-form input {
	background: #f1f1f1;
}

body .guide-main-wrap .guide-page.guide-toc-page .guide-page-content {
	font-size: 12pt;
	line-height: 1.5;
}

.guide-main-wrap .guide-buttons.toc-buttons,
.guide-buttons.toc-buttons {
	justify-content: center;
	margin-bottom: 0.4rem;
	float: none;
	height: 40px;
	position: relative;
}

body.no-js .toc-buttons > * {
	display: none;
}

.guide-buttons.toc-buttons > div {
	margin: 0;
	width: auto;
}

.guide-buttons.toc-buttons > div span {
	display: inline-block;
}

.toc-page-inner .guide-buttons.toc-buttons > div {
	border-radius: 0 0 5px 5px;
}

ul.toc {
	position: relative;
}

ul.toc,
ul.toc ul {
	padding-left: 0;
	width: 100%;
	list-style-type: none;
	margin-bottom: 0;
}

ul.toc a,
ul.toc .submenu-parent {
	display: block;
	color: var(--text);
	padding: 6px 0px;
}

ul.toc > li > .submenu-parent {
	color: #d09400;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	font-size: 1.3rem;
	font-weight: bold;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 0;
	text-decoration: none;
	margin-bottom: 0;
	cursor: pointer;
}

ul.toc > li > .submenu-parent > span {
	display: block;
	margin-right: 1em;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
	overflow: hidden;
	z-index: 1;
	color: var(--text);
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 26px;
	padding-left: 28px;
}

@media screen and (max-width: 621px) {
	#guide-helper-menu-guide-menu-wrapper ul.toc > li > .submenu-parent > span {
		padding-left: 16px;
	}
}

/* ul.toc > li > .submenu-parent::after {
	speak: none;
	content: "\edbf";
	font-family: 'IcoMoon-Ultimate' !important;
	font-size: 12px;
	display: inline-block;
	transition-property: transform;
	transition-duration: .5s;
	padding-top: 0.5em;
	height: 2em;
	line-height: normal;
	border-radius: 4px;
	transform: rotate(-90deg);
	text-align: center;
	position: absolute;
	right: 0px;
	color: var(--text);
}

ul.toc > li > input:checked ~ .submenu-parent::after {
	transform: rotate(0deg);
} */

ul.toc > li > .submenu-parent .arrow {
	background: transparent url(/assets/front/images/icons/triangle-down.svg);
	width: 14px;
	height: 10.58px;
	margin-right: 28px;
}

:root[data-theme="light"] ul.toc > li > .submenu-parent .arrow {
	background: transparent
		url(/assets/front/images/icons/triangle-down-light.svg);
	width: 14px;
	height: 10.58px;
}

ul.toc > li > input:checked ~ .submenu-parent .arrow {
	background: transparent url(/assets/front/images/icons/triangle-up.svg);
	width: 14px;
	height: 10.58px;
	margin-right: 28px;
}

@media screen and (max-width: 621px) {
	#guide-helper-menu-guide-menu-wrapper
		ul.toc
		> li
		> input:checked
		~ .submenu-parent
		.arrow {
		margin-right: 28px;
	}
	#guide-helper-menu-guide-menu-wrapper ul.toc > li > .submenu-parent .arrow {
		margin-right: 28px;
	}
}

:root[data-theme="light"] ul.toc > li > input:checked ~ .submenu-parent .arrow {
	background: transparent url(/assets/front/images/icons/triangle-up-light.svg);
	width: 14px;
	height: 10.58px;
}

ul.toc > li > input {
	display: none;
}

ul.toc > li > ul.submenu {
	/* max-height: 0; */
	display: none;
	transition-property: max-height;
	transition-duration: 0.5s;
	overflow: hidden;
}

ul.toc > li > input:checked ~ ul.submenu {
	/* max-height: 100%; */
	display: block;
}

.guide-buttons.toc-buttons > div .icon-minus-solid:before {
	color: var(--text);
}

.guide-buttons.toc-buttons > div .icon-add-solid:before {
	color: var(--text);
}

ul.toc > li > ul > li > .chapter-header {
	padding-left: 28px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
	color: var(--text);
}

#guide-helper-menu-guide-menu-wrapper ul.toc > li > ul > li > .chapter-header {
	padding-top: 12px;
	padding-bottom: 12px;
}

#guide-helper-menu-guide-menu-wrapper
	ul.toc
	> li
	> ul
	> li
	> ul
	> li
	> a
	> div.pagename {
	padding-left: 40px;
	font-size: 15px;
	line-height: 16px;
}

#guide-helper-menu-guide-menu-wrapper
	ul.toc
	> li
	> ul
	> li
	> ul
	> li
	> a
	> div.pageno {
	padding-right: 20px;
	font-size: 15px;
}
#guide-helper-menu-guide-menu-wrapper .no-section-bg {
	padding-bottom: 16px;
}
#guide-helper-menu-guide-menu-wrapper .my-favorites-parent {
	padding-bottom: 0px !important;
}

ul.toc > li.guide-section {
	position: relative;
	/* border-bottom: 1px solid #40444C; */
	padding-bottom: 4px;
	padding-top: 4px;
}

@media screen and (max-width: 621px) {
	.guide-page-topper ul.toc .section-bg::after {
		content: "";
		position: absolute;
		bottom: 0;
		width: 100%;
		height: 1px; /* Adjust thickness if necessary */
		background-color: #40444c; /* Adjust color as needed */
	}
	:root[data-theme="dark"] .guide-page-topper ul.toc .section-bg::after {
		background-color: #40444c;
	}
	:root[data-theme="light"] .guide-page-topper ul.toc .section-bg::after {
		background-color: #c7c8ca;
	}
	.guide-page-topper ul.toc .no-section-bg::after {
		content: "";
		position: absolute;
		bottom: 0;
		width: 100%;
		height: 1px; /* Adjust thickness if necessary */
		background-color: #40444c; /* Adjust color as needed */
	}
	:root[data-theme="dark"] .guide-page-topper ul.toc .no-section-bg::after {
		background-color: #40444c;
	}
	:root[data-theme="light"] .guide-page-topper ul.toc .no-section-bg::after {
		background-color: #c7c8ca;
	}

	#guide-helper-menu-guide-menu-wrapper ul.toc .section-bg::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 16px;
		right: 28px;
		width: calc(100% - 44px);
		height: 1px; /* Adjust thickness if necessary */
		background-color: #40444c; /* Adjust color as needed */
	}
	:root[data-theme="light"]
		#guide-helper-menu-guide-menu-wrapper
		ul.toc
		.section-bg::after {
		background-color: #c7c8ca;
	}
}

@media screen and (min-width: 621px) {
	.guide-page-topper ul.toc .section-bg::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 40px;
		right: 40px;
		width: calc(100% - 80px);
		height: 1px; /* Adjust thickness if necessary */
		background-color: #40444c; /* Adjust color as needed */
	}
	#guide-helper-menu-guide-menu-wrapper ul.toc .section-bg::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 28px;
		right: 28px;
		width: calc(100% - 56px);
		height: 1px; /* Adjust thickness if necessary */
		background-color: #40444c; /* Adjust color as needed */
	}
	:root[data-theme="dark"] .guide-page-topper ul.toc .section-bg::after {
		background-color: #40444c;
	}
	:root[data-theme="light"] .guide-page-topper ul.toc .section-bg::after {
		background-color: #c7c8ca;
	}
	:root[data-theme="dark"]
		#guide-helper-menu-guide-menu-wrapper
		ul.toc
		.section-bg::after {
		background-color: #40444c;
	}
	:root[data-theme="light"]
		#guide-helper-menu-guide-menu-wrapper
		ul.toc
		.section-bg::after {
		background-color: #c7c8ca;
	}
	.guide-page-topper ul.toc .no-section-bg::after {
		content: "";
		position: absolute;
		bottom: 0;
		width: 100%;
		height: 1px; /* Adjust thickness if necessary */
		background-color: #40444c; /* Adjust color as needed */
	}
	:root[data-theme="dark"] .guide-page-topper ul.toc .no-section-bg::after {
		background-color: #40444c;
	}
	:root[data-theme="light"] .guide-page-topper ul.toc .no-section-bg::after {
		background-color: #c7c8ca;
	}
	:root[data-theme="dark"]
		#guide-helper-menu-guide-menu-wrapper
		ul.toc
		.no-section-bg::after {
		background-color: #40444c;
	}
}

ul.toc > li.guide-section img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -2;
}

ul.toc > li.guide-section > ul > li > .chapter-header {
	font-weight: 700;
	font-size: 16px;
	color: var(--text);
	padding-bottom: 8px;
	padding-top: 8px;
}

ul.toc > li > ul > li > ul {
	padding: 0 0;
}

ul.toc > li > ul > li > ul > li > a {
	color: var(--text);
	display: flex;
	flex-wrap: nowrap;
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
}

/* ul.toc > li > ul > li > ul > li > a:hover,
ul.toc > li > ul > li > ul > li > a.active {
	text-decoration: none;
	color: black;
	font-weight: 600;
	background-color: var(--maggenta);
} */

#guide-helper-menu-guide-menu-wrapper
	ul.toc
	> li
	> ul
	> li
	> ul
	> li
	> a:hover {
	background-color: #7c7c7c !important;
}

:root[data-theme="dark"]
	#guide-helper-menu-guide-menu-wrapper
	ul.toc
	> li
	> ul
	> li
	> ul
	> li
	> a:hover {
	background-color: #7c7c7c !important;
}

:root[data-theme="light"]
	#guide-helper-menu-guide-menu-wrapper
	ul.toc
	> li
	> ul
	> li
	> ul
	> li
	> a:hover {
	background-color: #fed5d6 !important;
}

ul.toc > li > ul > li > ul > li > a:hover {
	background-color: #7c7c7c !important;
}

:root[data-theme="dark"] ul.toc > li > ul > li > ul > li > a:hover {
	background-color: #7c7c7c !important;
}

:root[data-theme="light"] ul.toc > li > ul > li > ul > li > a:hover {
	background-color: #fed5d6 !important;
}

ul.toc > li > ul > li > ul > li > a.active {
	background-color: #e75971 !important;
	color: white;
	font-weight: bold;
}

:root[data-theme="dark"] ul.toc > li > ul > li > ul > li > a.active {
	background-color: #e75971 !important;
	color: white;
}

ul.toc > li > ul > li > ul > li > a > div.pagename {
	flex: 1 1 auto;
	/* white-space: nowrap; */
	/* overflow: hidden; */
	/* text-overflow: ellipsis; */
}

ul.toc > li > ul > li > ul > li > a > div.pageno {
	flex: 0 0 auto;
	margin-left: 1em;
	margin-right: 12px;
}

#navbar-wrap #navbar #navbar-search-wrap {
	display: flex;
	align-items: center;
	flex-grow: 1;
	transition-property: width;
	transition-duration: 0.2s;
	z-index: 100;
	margin: 0 8px;
	height: 48px;
}

#navbar-wrap #navbar #navbar-search-wrap #navbar-input-wrap {
	display: flex;
	align-items: center;
	flex-grow: 1;
	height: 28px;
	padding: 0 12px;
	border-radius: 4px;
	background-color: #333333;
}

#navbar-wrap #navbar #navbar-search-wrap,
#navbar-wrap #navbar #navbar-search-wrap i {
	line-height: initial;
	color: white;
}

#navbar-wrap #navbar #navbar-search-wrap input[type="text"] {
	flex-grow: 1;
}

#navbar-wrap #navbar #navbar-search-wrap input[type="text"],
#navbar-wrap #navbar #navbar-search-wrap button {
	height: 18px;
	border: 0;
	display: inline-block;
}

#navbar-wrap #navbar #navbar-search-wrap button {
	display: none;
	color: white;
	margin: 0px;
	padding: 0px;
}

#navbar-wrap #navbar #navbar-search-wrap #navbar-search-input {
	width: 100%;
	background-color: transparent;
	font-size: 14px;
	padding: 0;
	color: white;
}

#navbar-wrap #navbar #navbar-search-wrap #navbar-search-input:focus {
	outline: none;
}

/* Navbar Search */
#navbar-wrap.search #navbar #navbar-search-wrap #navbar-input-wrap {
	background-color: var(--background);
}

#navbar-wrap.search #navbar #navbar-search-wrap #navbar-search-input {
	color: var(--text);
}

#guide-search-bar-result {
	background-color: var(--background);
}

#navbar-input-wrap > span {
	display: flex !important;
	flex-grow: 1 !important;
}

#navbar-wrap.search #navbar #navbar-search-wrap i {
	display: none;
}

#navbar-wrap.search #navbar #navbar-search-clear {
	background-color: var(--maggenta);
	border-radius: 0px;
	width: 22px;
	position: relative;
	cursor: pointer;
}

#navbar-wrap.search #navbar #navbar-search-clear span {
	font-size: 8px;
}

#navbar-wrap #navbar #navbar-search-clear::before {
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	border-right: 8px solid var(--maggenta);
	border-left: 0;
	position: absolute;
	right: 100%;
	content: "";
}

#navbar-wrap.search #navbar #navbar-search-close {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	height: 100%;
	padding-left: 8px;
	margin: 0px;
	cursor: pointer;
}

#navbar-wrap.search #navbar #navbar-search-clear.visible {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
}

#navbar-wrap.search #navbar #navbar-search-close {
	margin-left: 4px;
}

#guide-search-bar-result > a {
	color: var(--text);
}

#guide-search-bar-result > a:hover {
	background-color: var(--contentlist-hover);
}

@media screen and (max-width: 768px) {
	#navbar-wrap.search #navbar-outer {
		background-color: var(--maggenta);
	}

	#navbar-wrap.search #navbar #navbar-search-wrap {
		/* width: calc(100% - 40px); */
		position: absolute;
		left: 0;
		right: 0;
		margin: 0;
		padding: 0 12px;
	}

	/* #navbar .tt-menu {
		position: fixed !important;
	} */
	.navbar-container-btn .content {
		display: none;
	}
	#guide-helper-menu-navbar-toggle-btn {
		padding-left: 20px;
	}
}

#navbar #guide-title {
	font-size: small;
	line-height: 16px;
	height: 32px;
	display: block;
	white-space: nowrap;
	margin-left: 10px;
	flex-grow: 1;
	overflow: hidden;
}

#navbar #guide-title .guide-helper-current-desc {
	color: gray;
}

#navbar .menu-wrapper {
	display: none;
	position: absolute;
	box-shadow: 1px 1px 5px black;
	border-radius: 5px;
	height: auto /*  !important */;
	top: 60px;
	background-color: #212121;
	z-index: 1;
	margin: 0 10px;
}

#navbar .menu-wrapper > * {
	/* Can't set max height/overflow auto on parent or else the "tip" doesn't
		show */
	max-height: 60vh;
	max-height: calc(100vh - 125px);
	overflow-x: hidden;
	overflow-y: auto;
}

#navbar .menu-wrapper:before {
	display: block;
	border-width: 10px;
	border-color: transparent transparent #212121 transparent;
	border-style: solid;
	content: "";
	width: 20px;
	height: 20px;
	margin: -20px auto 0 auto;
}

#navbar .menu-wrapper > ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	list-style-type: none;
	height: auto;
	margin: 0;
	padding: 0;
}

#navbar .menu-wrapper > ul > li {
	display: block;
	width: 145px;
	white-space: nowrap;
	flex: 1 1 0;
}

#navbar .menu-wrapper > ul > li > a {
	display: block;
	color: white;
	text-align: center;
	padding: 1em 10px;
}

#navbar-wrap #navbar .menu-wrapper > ul > li > a:hover {
	text-decoration: none;
	color: #f5a623;
}

#navbar .menu-wrapper > ul > li:first-child > a {
	padding-left: 5px;
}

#navbar .menu-wrapper > ul > li:last-child > a {
	padding-right: 5px;
}

#navbar .menu-wrapper i {
	font-size: 30px;
	line-height: 50px;
	display: block;
	text-align: center;
}
#navbar .menu-wrapper i:before {
	background-color: #515151;
	border-radius: 50%;
	padding: 10px;
}

/* #navbar .tt-menu {
	width: 100%;
	box-shadow: 7px 4px 8px 0px #00000040;
	background: #292b2c;
	border-radius: 0 0 5px 5px;
	max-height: 40vh;
	overflow-y: auto;
	padding: 5px 0;

	box-sizing: border-box;
	top: 48px !important;
	left: 0px !important;
}

#navbar .tt-menu {
	background: var(--background);
}

#navbar .tt-menu::-webkit-scrollbar-track {
	border-radius: 10px;
	background-color: #fff;
}
#navbar .tt-menu::-webkit-scrollbar {
	width: 12px;
	background-color: #fff;
}
#navbar .tt-menu::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: #bbb;
	border: 3px solid #fff;
} */

#navbar-wrap #navbar a.tt-search-result {
	display: block;
	color: #000000;
	font-size: 14px;
	padding: 5px 20px;
	overflow: hidden;
}

#navbar-wrap #navbar a.tt-search-result {
	color: var(--text);
}

#navbar-wrap #navbar a.tt-search-result:hover {
	background-color: var(--contentlist-hover);
}

#navbar .tt-search-result img {
	height: 40px;
	margin-right: 14px;
	float: left;
}
#navbar a.tt-search-result .tt-search-result-title {
	font-weight: 500;
}
#navbar a.tt-search-result .tt-search-result-publisher {
	font-weight: 400;
}
#navbar-wrap #navbar a.tt-search-result:hover {
	text-decoration: none;
}

#guide-nav-wrap {
	background-color: rgba(0, 0, 0, 0.8);
	padding: 10px;
	border-radius: 10px;
	align-items: center;
	height: 70px;
	display: none;
	margin-left: 0;
	margin-right: 0;
	position: relative;
	z-index: 1;
	margin-bottom: 20px;
}

/* Deal with map page's weird structure */
#guide-page-type-map #guide-nav-wrap {
	margin: 20px auto;
}

.circle-logo {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-right: 10px;
}

#guide-nav-wrap > picture {
	flex: 0 0 auto;
}

#guide-nav-wrap #new-guide-loc {
	flex: 1 0 auto;
}

#guide-nav-wrap #new-guide-loc #guide-name {
	font-weight: bold;
}

#guide-nav-wrap #new-guide-loc > * {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

#guide-nav-wrap #new-guide-loc a,
#guide-nav-wrap #new-guide-loc a:hover,
#guide-nav-wrap #new-guide-loc .guide-helper-current-desc > a:hover {
	color: white;
}

#guide-nav-wrap #new-guide-loc .guide-helper-current-desc {
	color: var(--maggenta);
	/* 	line-height: 10pt; */
}

#guide-nav-wrap #new-guide-loc .guide-helper-current-desc > a {
	color: #bbb;
	text-decoration: none;
}

/* Hiding/showing nav bar */
body #navbar-wrap {
	transition-duration: 0.5s;
	transition-property: top;
}

body #navbar-wrap {
	left: 0;
}

/* Hiding/showing nav bar */
#guide-helper-menu-navbar-toggle:not(:checked) ~ body.going-down #navbar-wrap {
	top: -60px;
}

/* New menu stuff */
.guide-section-menu i::before,
#navbar .new-menu i::before {
	font-size: 18pt;
}

#navbar .new-menu i.icon-users::before {
	/* This icon is wider than the others, so make it smaller */
	font-size: 13pt;
}

#navbar .new-menu svg {
	height: 18pt;
	/* height: 24px; */
}

#navbar > label {
	margin-bottom: 0;
	position: relative;
}

menu#new-menu {
	position: absolute;
	max-width: 335px;
}

menu.new-menu.overview-menu {
	width: 58px;
	flex: none;
}

menu.overview-menu ul li a .menu-title,
menu.overview-menu ul li a .color-scheme-switch-val {
	display: none;
}

menu.new-menu {
	color: white;
	background-color: var(--background-dark);
	margin: 0;
	padding: 10px 0px 14px;
	font-weight: 700;
	overflow: auto;
	transition: top 0.2s, opacity 0.2s;
	width: 100%;
	box-sizing: border-box;
	border-radius: 6px;
}

menu#new-menu {
	top: 68px;
}

menu#guide-side-menu {
	left: -200px;
}

#navbar-wrap #navbar > label#guide-side-menu-label {
	font-weight: 500;
	width: auto;
	max-width: 35%;
	margin-left: 0;
	padding: 0 10px;
	display: none;
	white-space: nowrap;
	overflow: hidden;
	transition: transform 0.2s;
}

#navbar-wrap #navbar > label#guide-side-menu-label > span {
	text-overflow: ellipsis;
	overflow: hidden;
	flex: 1 1 auto;
}

#navbar-wrap #navbar > label#guide-side-menu-label > i {
	margin-left: 10px;
	flex: 0 0 auto;
	line-height: 2em;
}

#navbar-wrap #navbar > label#guide-side-menu-label > i::before {
	display: block;
	transition: transform 0.2s;
}

#overview-modal > div {
	flex-direction: row;
	max-width: 300px;
	max-height: 500px;
	padding: 0px;
	display: flex;
	width: 100%;
}

#overview-modal > div:focus-visible {
	outline: none;
}

#overview-modal .overview-content {
	display: none;
}

#overview-modal .overview-content.active {
	display: flex;
	flex-direction: column;
	height: 100%;
}

#overview-modal .overview-content.active {
	color: var(--text);
	background: var(--bg);
}

menu.new-menu ul li {
	cursor: pointer;
	user-select: none;
}

#overview-modal .overview-menu ul li {
	position: relative;
	border: 0;
	outline: 0;
}

#overview-modal .overview-menu ul li a {
	z-index: 2;
	border: 0;
	outline: 0;
}

#overview-modal .overview-menu ul li.active a {
	color: var(--text);
}

#overview-modal .overview-menu ul li.active::before {
	content: "";
	position: absolute;
	background-color: var(--bg);
	left: 10px;
	right: 0;
	top: 0;
	bottom: 0;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

#overview-modal .overview-menu ul li.active > a::before {
	content: "";
	position: absolute;
	top: -20px;
	right: 0px;
	height: 20px;
	width: 20px;
	border-bottom-right-radius: 50%;
	box-shadow: 1px 8px 0 0 var(--bg);
	background: transparent;
}

#overview-modal .overview-menu ul li.active > a::after {
	content: "";
	position: absolute;
	bottom: -20px;
	right: 0px;
	height: 20px;
	width: 20px;
	border-top-right-radius: 50%;
	box-shadow: 1px -12px 0 0 var(--bg);
	background: transparent;
}

html[data-theme="dark"] #overview-modal .overview-menu ul li.active::before {
	background-color: var(--gray-bg-dark);
}

html[data-theme="dark"]
	#overview-modal
	.overview-menu
	ul
	li.active
	> a::before {
	box-shadow: 1px 8px 0 0 var(--gray-bg-dark);
}

html[data-theme="dark"] #overview-modal .overview-menu ul li.active > a::after {
	box-shadow: 1px -12px 0 0 var(--gray-bg-dark);
}

html[data-theme="dark"] #overview-modal .overview-content.active {
	background: var(--gray-bg-dark);
}

html[data-theme="dark"] .overview-content .search-form-group {
	background: #333333;
}

html[data-theme="dark"] .overview-content .sort-group .sorter {
	background: #333333;
}

menu.overview-menu ul > li > a > svg {
	width: auto;
	height: 1rem;
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.overview-content__title {
	display: flex;
	align-items: center;
	margin: 0 20px;
}

.overview-content__title > svg,
.overview-content__title > img {
	display: none;
}

.overview-content__title h3 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--link);
	margin: 1rem 0;
}

.overview-content__title h3 > a {
	color: inherit;
	font-size: inherit;
}
/* :root[data-theme="dark"] .overview-content__title > svg {
	color: white;
}

:root[data-theme="dark"] .overview-content__title h3 {
	color: #4bc9ff;
} */

.overview-content .search-form-group {
	display: flex;
	align-items: center;
	border-radius: 4px;
	background-color: var(--gray-bg);
	padding: 0;
	margin: 0 20px 20px;
	position: relative;
}

/* :root[data-theme="dark"] .overview-content .search-form-group {
	background-color: var(--background-dark);
} */

.overview-content .search-form-group input {
	flex-grow: 1;
	border: 2px solid transparent;
	border-radius: 4px;
	background: transparent;
	padding: 6px 26px 6px 12px;
	color: var(--text);
}

.overview-content .search-form-group input::placeholder {
	text-transform: capitalize;
	color: var(--btn-bg);
}

/* :root[data-theme="dark"]
	.overview-content
	.search-form-group
	input::placeholder {
	color: #c7c8ca;
} */

.overview-content .search-form-group input:focus,
.overview-content .search-form-group input:active {
	outline: none;
	border: 2px solid var(--maggenta);
}

.overview-content .search-form-group i {
	color: #818181;
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
}

.overview-content .search-clear {
	background-color: var(--maggenta);
	border-radius: 0px;
	width: 22px;
	position: absolute;
	right: 6px;
	cursor: pointer;
	display: none;
	margin: 0;
	padding: 5px;
}

.overview-content .search-clear span.gg-icon {
	font-size: 8px;
	margin: 0;
	position: relative;
}

.overview-content .search-clear span.gg-icon::after {
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	border-right: 8px solid var(--maggenta);
	border-left: 0;
	position: absolute;
	right: calc(100% + 7px);
	top: -5px;
	content: "";
}

.overview-content .search-clear.visible {
	display: flex;
	align-items: center;
}

.overview-content .sort-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 20px;
}

.overview-content .sort-group .sorter {
	background-color: var(--gray-bg);
	border-radius: 12px;
	color: var(--text);
	font-size: 14px;
	padding: 5px 10px;
	cursor: pointer;
	white-space: nowrap;
	user-select: none;
}

.overview-content .sort-group .sorter.active {
	font-weight: 600;
	color: white;
	background-color: var(--maggenta) !important;
	padding-right: 26px;
	position: relative;
}

.overview-content .sort-group .sorter.active[data-order="asc"]::before {
	content: "";
	background-image: url("/assets/front/images/sort-asc.svg");
	width: 16px;
	height: 13px;
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
}

.overview-content .sort-group .sorter.active[data-order="desc"]::before {
	content: "";
	background-image: url("/assets/front/images/sort-desc.svg");
	width: 16px;
	height: 13px;
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
}

.overview-content .content-list {
	margin: 10px 12px 10px 0;
	overflow-y: auto;
	flex-grow: 1;
}

.overview-content .content-list .no-results {
	text-align: center;
	margin: 10px 0px;
}

.overview-content .content-list > a {
	display: flex;
	align-items: center;
	padding: 5px 24px;
	max-height: 50px;
}

.overview-content .content-list > a:hover {
	background-color: var(--contentlist-hover);
}
.overview-content .content-list > a img:not(.ec-badge) {
	margin-right: 14px;
	flex: none;
}

.overview-content .content-list > a .content-title {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--text);
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

.overview-content .content-list > a .published-date,
.overview-content .content-list > a .item-count,
.overview-content .content-list > a .publisher {
	font-size: 12px;
	font-weight: 400;
	color: var(--subtext);
}

/* Styling the scrollbar track */
.overview-content .content-list::-webkit-scrollbar-track {
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 4px;
}

/* Styling the scrollbar thumb */
.overview-content .content-list::-webkit-scrollbar-thumb {
	background-color: black;
	border-radius: 4px;
}

/* Styling the scrollbar width */
.overview-content .content-list::-webkit-scrollbar {
	margin-right: 12px;
	width: 8px;
}

/* Firefox specific styling */
.overview-content .content-list {
	scrollbar-width: thin; /* or 'auto' or 'none' */
	scrollbar-color: black rgba(0, 0, 0, 0.2); /* thumb and track colors */
}

span.highlight,
.tt-highlight {
	color: var(--maggenta);
}

#notifs {
	display: none;
	position: absolute;
	margin-left: 0;
	right: -66px;
	top: 68px;
	z-index: 50;
	min-width: 280px;
	max-width: 640px;
}

@media screen and (max-width: 768px) {
	#notifs {
		min-width: calc(100vw - 3rem);
	}

	#notifs-mark-read {
		margin-left: 0;
	}
}

#notifs-mark-read {
	border-radius: 1rem;
	border: 1px solid #818181;
	padding: 0.5rem;
	margin-right: 9px;
}

#notifs-count {
	min-width: 18px;
	height: 18px;
	background-color: #ce1d24;
	border-radius: 3px;
	font-size: 14px;
	line-height: 18px;
	text-align: center;
	padding: 0 2px;
	box-sizing: border-box;
	position: absolute;
	bottom: 9px;
	z-index: 2;
	left: 14px;
}

#navbar-wrap #navbar label[for="notifs-toggle"]:hover #notifs-count {
	background-color: #000000;
}

#notifs > #notifs-wrapper {
	position: relative;
	height: 100%;
	/* overflow: hidden; */
}

#notifs > #notifs-wrapper::before {
	position: absolute;
	right: 74px;
	top: -8px;
	width: 16px;
	height: 8px;
	content: "";
	background-color: #292b2c;
	clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
	display: block;
}

#notifs > #notifs-wrapper > #notifs-inner {
	border-radius: 6px;
	overflow: hidden;
}

#notifs > #notifs-wrapper > #notifs-inner > #notifs-header {
	padding: 0 20px;
	display: flex;
	height: 46px;
	align-items: center;
	background-color: #292b2c;
	color: white;
}

#notifs > #notifs-wrapper > #notifs-inner > #notifs-header > h4 {
	margin: 0;
	flex: 1 0 auto;
}

#notifs > #notifs-wrapper > #notifs-inner > #notifs-header > #notifs-mark-read {
	cursor: pointer;
	display: none;
}

#notifs > #notifs-wrapper > #notifs-inner > #notifs-header > a,
#notifs > #notifs-wrapper > #notifs-inner > #notifs-header > a:hover,
#notifs > #notifs-wrapper > #notifs-inner > #notifs-header > a:active,
#notifs > #notifs-wrapper > #notifs-inner > #notifs-header > a:visited {
	color: white;
}

#notifs
	> #notifs-wrapper
	> #notifs-inner
	> #notifs-header
	> #notifs-mark-read.ready {
	display: block;
}

#notifs
	> #notifs-wrapper
	> #notifs-inner
	> #notifs-header
	> #notifs-mark-read.notifs-networking
	i {
	animation-duration: 2s;
	animation-name: sillyspin;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	display: inline-block;
	content: "\e97a";
}

#notifs > #notifs-wrapper > #notifs-inner > #notifs-scroll {
	overflow-y: auto;
	border-top: 1px solid #40444c;
	max-height: calc(100vh - 60px - 5px - 2.5rem - 10px);
}

/* @TODO Move this to a different CSS file */
.notif {
	color: var(--text);
	background-color: var(--bg);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px 20px;
	margin-bottom: 0;
	border-style: none none solid none;
	border-color: black;
	border-width: 2px;
}

.notif:last-child {
	border-bottom-style: none;
}

.notif.unread.icon::after {
	content: "\e90a";
	color: #0f0;
	margin-left: 10px;
	font-size: 1.5em;
}

.notif > img.notif-profile-pic {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-right: 10px;
}

.notif > .notif-message {
	flex: 1 1 auto;
}

/* .notif-message a {
	justify-content: start !important;
	padding: 0 !important;
} */

.notif p {
	margin: 0;
}

.notif i::before {
	font-size: 0.8rem;
	line-height: 1.5rem;
}

.notif time {
	color: #afafaf;
}

.notif .friendship-btn {
	background-color: #5f5f5f;
	border-radius: 5px;
	line-height: 1.5em;
	padding: 3px 5px;
	display: inline-block;
	font-weight: bold;
}

.notif .friendship-btn:hover {
	text-decoration: none;
	background-color: #707070;
}

.notif .friendship-btn i {
	margin-right: 0.5em;
}

.notif .friendship-btn.friendship-btn-accept {
	color: #0f0;
}

.notif .friendship-btn.friendship-btn-deny {
	color: #f00;
}

.notif .notif-info {
	margin-top: 2px;
}

.notif .notif-info i {
	background-color: black;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	display: inline-block;
	text-align: center;
}

/* Stupid checkbox hack: https://css-tricks.com/the-checkbox-hack/ */
input.menu-toggle {
	display: none;
}

input#new-menu-toggle:checked + menu#new-menu {
	display: block;
}

input#new-menu-toggle:checked ~ label#new-menu-icon {
	background-color: var(--maggenta);
}

input#new-menu-toggle:checked ~ label#new-menu-icon > span.icon-menu {
	display: none;
}

label#new-menu-icon > span.icon-cross {
	display: none;
}

input#new-menu-toggle:checked ~ label#new-menu-icon > span.icon-cross {
	display: block;
}

input#guide-side-menu-toggle:checked + #guide-side-menu-label > i::before {
	transform: rotate(-90deg);
}

input#guide-side-menu-toggle:checked ~ menu#guide-side-menu {
	left: 0;
}

input#notifs-toggle:checked ~ #notifs {
	display: block !important;
}

menu.new-menu ul {
	list-style-type: none;
	padding: 0.5rem 0;
	border-bottom: 1px solid #40444c;
	margin: 0;
	outline: none;
}

menu.new-menu span.menu-title {
	margin-left: 40px;
	z-index: 2;
	width: 100%;
	position: relative;
}

menu.new-menu span.arrow-right {
	margin-left: auto;
}

menu.new-menu ul:last-of-type {
	border-bottom-style: none;
	padding-bottom: 0;
}

menu.new-menu ul > li > * {
	display: flex;
	color: white;
	text-decoration: none;
	align-items: center;
	height: 38px;
	white-space: nowrap;
	font-size: 14px;
}

menu.new-menu ul > li > a {
	padding: 0 20px;
	position: relative;
}

menu.new-menu ul > li:not(.logout, .active):hover {
	background-color: #565a62;
}

menu.new-menu ul > li > a > img {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	max-width: 1.5em;
	height: auto;
}

menu.new-menu li.logout {
	margin: 6px 20px 0;
}

menu.new-menu li.logout a {
	position: relative;
	display: flex;
	justify-content: center;
}

#overview-modal .overview-menu ul li.logout,
menu.new-menu li.logout {
	border-radius: 20px;
	border: 1px solid #686868;
	overflow: hidden;
}

#overview-modal .overview-menu ul li.logout:hover,
menu.new-menu li.logout:hover {
	border: none;
}

menu.new-menu li.logout a img {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
}

menu.new-menu li.logout:hover a {
	background-color: var(--maggenta);
	border-color: transparent;
}

.color-scheme-switcher {
	cursor: pointer;
}

menu.new-menu .color-scheme-switch-val {
	margin-left: auto;
}

menu#new-menu ul > li > .login-btn {
	display: none;
}

menu#new-menu ul > li > .login-btn.click {
	display: flex;
}

menu.new-menu ul > li > .has-svg {
	padding: 0.25em 8px;
}

menu.new-menu ul > li i,
menu.new-menu ul > li svg {
	flex: 0 0 50px;
	text-align: center;
}

menu.new-menu ul > li i::before,
menu.new-menu ul > li svg {
	height: 25px;
	width: 50px;
	font-size: 25px;
}

menu#new-menu.visible {
	left: 0;
	display: block;
}

menu#new-menu > .new-menu-features {
	clear: both;
}

body.is-guide-page #navbar > ul#new-menu-user {
	margin-left: 10px;
	flex: 0 0 auto;
}

#navbar > ul#new-menu-user > li.login-btn {
	display: none;
}

/* Smaller search icon */
#navbar #search-button i::before {
	font-size: inherit;
}

#navbar-wrap > #streaming-bar {
	background-color: rgba(0, 0, 0, 0.8);
}

#navbar-wrap > #streaming-bar > a {
	text-decoration: none;
	font-weight: bold;
	color: white;
}

#navbar-wrap > #streaming-bar > a > div {
	white-space: nowrap;
}

#navbar-wrap #streaming-bar > a > #streaming-bar-service {
	flex: 0 0 auto;
	padding-left: 10px;
	line-height: 60px;
}

#navbar-wrap
	#streaming-bar
	> a
	> #streaming-bar-service
	> #streaming-bar-live-now {
	display: none;
}

#navbar-wrap #streaming-bar > a > #streaming-bar-service > img {
	margin-left: 10px;
}

#navbar-wrap #streaming-bar > a > #streaming-bar-title {
	flex: 1 0;
	padding-left: 10px;
	padding-right: 10px;
	text-overflow: ellipsis;
	overflow: hidden;
}

#navbar-wrap #streaming-bar > a > #streaming-bar-title > img {
	margin-right: 10px;
	border-radius: 50%;
}

menu#new-menu .new-menu-welcome {
	padding: 0 1em;
	display: flex;
}

menu#new-menu .new-menu-welcome .new-menu-photo {
	margin-right: 1em;
	/* flex: 0 0 auto; */
	position: relative;
}

menu#new-menu .new-menu-welcome .new-menu-photo img {
	max-height: 50px;
}
menu#new-menu .new-menu-welcome .new-menu-welcome-msg {
	flex: 1 1 auto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

menu#new-menu .new-menu-welcome .new-menu-welcome-msg,
menu#new-menu .new-menu-welcome .new-menu-welcome-msg:hover {
	color: white;
	text-decoration: none;
}

.new-menu-welcome .new-menu-welcome-welcome {
	display: block;
}

.new-menu-welcome .new-menu-welcome-name {
	color: #0f8ccc;
}

.new-menu-welcome.new-menu-welcome-level-admin .new-menu-welcome-name,
#navbar-wrap #navbar ul#new-menu-user > li.go-premium > a,
#navbar-wrap #navbar menu.new-menu ul > li a.gold,
#toc-page > li.my-favorites-parent > a,
.guide-toc-page .guide-page-content h3 {
	color: var(--ggold) /* gold */;
}

.new-menu-welcome.new-menu-welcome-level-staff .new-menu-welcome-name {
	color: #e22262;
}

menu#new-menu
	.new-menu-welcome.new-menu-welcome-level-subscriber
	.new-menu-welcome-name::before {
	/* Show a star */
	content: "\e9d9";
	font-family: "IcoMoon-Ultimate" !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: #d09400 /* gold */;
	margin-left: 0.25em;
}

.gg-icon.icon-youtube:before {
	content: "\ea9d";
}

.gg-icon.icon-user:before {
	content: "\e971";
}

.gg-icon.icon-cog:before {
	content: "\e994";
}

.gg-icon.icon-menu:before {
	content: "\e9bd";
}

.gg-icon.icon-globe:before {
	content: "\e91a";
}

/* TOC page stuff - @todo move to guide.css */

.guide-main-wrap
	.guide-page.guide-toc-page
	.guide-page-content
	.toc-page-inner {
	margin: 0px 20px 20px 20px;
	background-color: black;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	z-index: 0;
}

.guide-main-wrap .guide-page.guide-toc-page .guide-page-content h3 {
	font-size: 1.3em;
	font-weight: 600;
}

.guide-main-wrap .guide-page.guide-toc-page .guide-page-content > ul#toc-page {
	max-width: none;
	text-align: left;
	margin: 0;
}

.guide-toc-page #toc-page-featured {
	display: flex;
	flex-wrap: wrap;
}

.guide-toc-page #toc-page-featured > div {
	box-sizing: border-box;
	width: 33.33%;
	padding: 5px;
}

.guide-toc-page #toc-page-featured > div > a {
	background-position: center center;
	background-size: cover;
	height: 80px;
	width: 100%;
	display: block;
	border-radius: 5px;
}

/* New section bar */
#navbar-wrap #navbar-section-menu {
	display: flex;
	justify-content: space-between;
	width: 100%;
	position: relative;
	font-size: 16px;
	gap: 10px;
}

#navbar-wrap #navbar-section-menu .guide-section-menu {
	display: inline-flex;
	align-items: center;
	height: 50px;
	overflow-y: hidden;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > * {
	margin: 0 5px;
	text-align: center;
	padding: 0 0.5em;
	white-space: nowrap;
}

#navbar-wrap
	#navbar-section-menu
	.guide-section-menu
	> a
	span.guide-section-menu-wip {
	background-color: #2976de;
	font-size: 8pt;
	border-radius: 1em;
	padding: 2px 5px;
	margin-left: 0.5em;
	font-weight: normal;
	display: inline-block;
	line-height: 1;
	vertical-align: middle;
}

/* This is a stupid trick to move inactive items to the end of the list. */
#navbar-wrap #navbar-section-menu .guide-section-menu > a:nth-child(2) {
	order: 0;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > a:nth-child(3) {
	order: 1;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > a:nth-child(4) {
	order: 2;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > a:nth-child(5) {
	order: 3;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > a:nth-child(6) {
	order: 4;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > a:nth-child(7) {
	order: 5;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > a:nth-child(8) {
	order: 6;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > a:nth-child(9) {
	order: 7;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > a:nth-child(10) {
	order: 8;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > div:nth-child(2) {
	order: 10;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > div:nth-child(3) {
	order: 11;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > div:nth-child(4) {
	order: 12;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > div:nth-child(5) {
	order: 13;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > div:nth-child(6) {
	order: 14;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > div:nth-child(7) {
	order: 15;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > div:nth-child(8) {
	order: 16;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > div:nth-child(9) {
	order: 17;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > div:nth-child(10) {
	order: 18;
}

/* Stupid trick to stop text getting wider when bolded
https://stackoverflow.com/a/32570813/11023 */
#navbar-wrap #navbar-section-menu .guide-section-menu > *::after {
	display: block;
	content: attr(title);
	font-weight: bold;
	height: 1px;
	color: transparent;
	overflow: hidden;
	visibility: hidden;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > * > i {
	display: none;
}

@media (min-width: 375px) {
	#overview-modal > div {
		max-width: 335px;
	}
}

@media (min-width: 480px) {
	#navbar-wrap #navbar > #header-premium,
	body.is-guide-page #navbar-wrap #navbar > #header-premium {
		background-color: transparent;
		padding: 0 3px;
	}

	#navbar > #header-premium > img {
		margin-right: 3px;
	}

	#navbar > #header-premium > span {
		display: inline;
	}

	#navbar-wrap #navbar > #navbar-go-premium span {
		display: inline;
	}
}

@media (min-width: 621px) {
	/* The most important breakpoint */
	/* #navbar #guide-helper-menu-navbar {
		width: 450px;
		border-radius: 10px;
		overflow: hidden;
		background-color: var(--background);
	}

	#navbar #guide-helper-menu-navbar > #guide-helper-menu-guide-menu-wrapper {
		/* Nav: 110px; Search: 4.5rem; 10px: who knows * /
		max-height: calc(100vh - 150px - 4.5rem - 20px);
	}
	#navbar
		#guide-helper-menu-navbar.has-logo
		> #guide-helper-menu-guide-menu-wrapper {
		/* Nav: 110px; Logo: 100px; Search: 4.5rem; 10px: who knows * /
		max-height: calc(100vh - 110px - 100px - 4.5rem - 10px - 20px);
	} */

	.guide-helper-menu > .toc-logo {
		display: block;
	}

	body.guide-helper-menu-open {
		overflow: auto;
	}

	body.going-down #navbar-wrap {
		top: 0;
	}

	/* body.going-down
		> input#guide-helper-menu-navbar-toggle:checked
		+ #navbar-wrap
		#guide-helper-menu-navbar {
		max-height: calc(100vh - 60px);
	} */

	#navbar-wrap #navbar > #header-premium,
	body.is-guide-page #navbar-wrap #navbar > #header-premium {
		transform: translate(90px, -50%);
	}

	#navbar-wrap > #streaming-bar > a > #streaming-bar-service {
		padding-left: 10px;
	}

	#navbar-wrap > #streaming-bar > a > #streaming-bar-title {
		padding-right: 10px;
	}

	#navbar-wrap
		> #streaming-bar
		> a
		> #streaming-bar-service
		> #streaming-bar-live-now {
		display: inline;
	}
}

@media (min-width: 768px) {
	#navbar ul.top-menu li {
		height: 100%;
		margin-right: 0.625rem !important;
	}

	#navbar
		ul.top-menu
		li
		a:not(.profile:not(.premium-profile), .login-btn)
		span {
		display: block;
	}

	#navbar-go-premium {
		display: flex;
	}

	#navbar-register {
		display: flex;
	}

	#navbar-go-premium a.logged-in > span > span {
		display: none !important;
	}

	#navbar-go-premium a.logged-in > ::before {
		content: "Upgrade to Premium";
	}

	#navbar-wrap #navbar #navbar-search-wrap {
		padding: 0 12px;
		margin: 0;
	}

	#navbar-wrap #navbar #navbar-search-wrap {
		position: relative;
	}

	/* #navbar .tt-menu {
		width: calc(100% + 16px);
		position: absolute !important;
		top: 48px !important;
		left: -8px !important;
	} */

	#navbar-input-wrap > span {
		position: inherit !important;
	}

	/* #navbar-wrap.search #navbar #navbar-search-wrap::before {
		content: "";
		position: absolute;
		width: calc(100% + 16px);
		left: -8px;
		height: 48px;
		background: var(--maggenta);
		z-index: -1;
	} */

	#navbar-wrap.search #navbar #navbar-search-wrap {
		background-color: var(--maggenta);
	}

	#overview-modal > div {
		max-width: 728px;
	}

	menu.new-menu.overview-menu {
		width: 270px;
	}

	menu.overview-menu ul li a .menu-title,
	menu.overview-menu ul li a .color-scheme-switch-val {
		display: block;
	}

	.overview-content__title > svg,
	.overview-content__title > img {
		display: block;
		margin-right: 10px;
	}

	#guide-search-bar-result {
		left: -8px;
		width: calc(100% + 16px);
	}

	#navbar-wrap #navbar > div[for="new-menu-toggle"] p,
	#navbar-wrap #navbar > label[for="new-menu-toggle"] p {
		display: block;
	}

	#navbar-wrap #navbar > div[for="new-menu-toggle"]:not(:hover)::before,
	#navbar-wrap #navbar > label[for="new-menu-toggle"]:not(:hover)::before {
		content: "";
		height: 27px;
		border-left: 1px solid #323232;
		position: absolute;
		left: 0;
	}

	input#new-menu-toggle:checked ~ div#new-menu-icon::before {
		display: none;
	}

	#guide-helper-menu-navbar-toggle-btn {
		padding-left: 20px;
	}

	menu#new-menu {
		right: 0;
	}

	#navbar-wrap #navbar #navbar-logo {
		flex: 0 0 130px;
		background-image: url("/assets/front/images/logo/gg-logo-desktop.svg");
	}

	body.subclass-mapex #navbar-wrap #navbar #navbar-logo {
		background-image: url("/assets/front/images/logo/by-tier/gg-logo-horiz-mapex.svg");
	}

	body.subclass-af #navbar-wrap #navbar #navbar-logo {
		background-image: url("/assets/front/images/logo/by-tier/gg-logo-horiz-af.svg");
	}

	body.subclass-legend #navbar-wrap #navbar #navbar-logo {
		background-image: url("/assets/front/images/logo/by-tier/gg-logo-horiz-legend.svg");
	}

	body.subclass-premium #navbar-wrap #navbar #navbar-logo {
		background-image: url("/assets/front/images/logo/by-tier/gg-logo-horiz-premium.svg");
	}

}

@media (min-width: 900px) {
	body.side-menu-open {
		margin-left: 200px;
	}
	body.side-menu-open > .guide-main-wrap {
		width: 890px;
	}

	#navbar-wrap #navbar {
		padding: 0 30px;
	}

	/* New design */
	#navbar-wrap #navbar #new-toc-btn {
		margin-right: 15px;
		margin-left: 15px;
		padding-left: 15px;
		padding-right: 15px;
	}

	#navbar-wrap #navbar #new-menu-user {
		margin-left: 15px;
	}

	.navbar-container-btn {
		padding: 0 20px;
	}
	#guide-helper-menu-navbar-toggle-btn {
		padding-left: 40px;
	}
}

@media all and (min-width: 1080px) {
	#notifs {
		right: 20px;
	}
	#notifs > #notifs-wrapper {
		max-width: 730px;
		width: 730px;
	}
	#notifs > #notifs-wrapper::before {
		right: 80px;
	}

	#navbar-wrap #new-toc-btn {
		display: none;
	}

	body#guide-page-type-guide #navbar-wrap #new-toc-btn {
		/* Move down so it appears in the subsequent nav row */
		display: block;
		position: absolute;
		top: 60px;
		left: 0;
		z-index: 1;
		height: 50px;
		line-height: 50px;
	}

	body#guide-page-type-guide.now-streaming #navbar-wrap #new-toc-btn {
		top: 120px;
	}

	/* #navbar #guide-helper-menu-navbar {
		top: 150px;
	}

	body.now-streaming #navbar #guide-helper-menu-navbar {
		top: 170px;
	} */

	#guide-nav-wrap {
		display: flex;
	}

	#navbar-wrap #streaming-bar > a > #streaming-bar-service {
		padding-left: 0;
	}

	#navbar-wrap #streaming-bar > a > #streaming-bar-title {
		padding-right: 0;
	}
}

@media all and (min-width: 1110px) {
	body.new-guide-layout.subscriber #navbar-wrap label#new-toc-btn,
	body#guide-page-type-guide.subscriber #navbar-wrap label#new-toc-btn {
		display: none;
	}

	/* body.new-guide-layout.subscriber #navbar-wrap #guide-helper-menu-navbar {
		border-radius: 10px;
	} */

	.navbar-container-btn[data-user-premium="true"] {
		display: none;
	}

	.navbar-container-btn[data-user-premium="true"] ~ .guide-helper-menu {
		height: auto !important;
	}

	#navbar-wrap
		#navbar-section-menu:has(.navbar-container-btn[data-user-premium="true"]) {
		justify-content: center;
	}

	#navbar-wrap
		#navbar-section-menu:has(.navbar-container-btn[data-user-premium="false"]) {
		justify-content: space-between;
	}

	#navbar-wrap #navbar-section-menu:not(:has(.navbar-container-btn)) {
		justify-content: center;
	}
}

@media all and (min-width: 1280px) {
	#navbar-wrap #navbar,
	#navbar-section-menu,
	#navbar-section-menu {
		padding: 0px !important;
		max-width: 1024px;
		margin: auto !important;
	}

	#overview-modal {
		max-width: 1024px;
	}

	#navbar ul.top-menu li a span {
		display: block;
	}

	#navbar-go-premium a:not(.logged-in) > span > span {
		display: none !important;
	}

	#navbar-go-premium a:not(.logged-in) > span::before {
		content: "Upgrade to Premium";
	}

	.navbar-container-btn {
		padding: 0 20px 0 0;
	}
	#guide-helper-menu-navbar-toggle-btn {
		padding-left: 10px;
	}

	.guide-helper-menu {
		top: 135px;
	}

	dialog#overview-modal:modal,
	dialog#authenticate:modal {
		margin-right: calc(50% - 512px) !important;
	}

}

@media (min-width: 1372px) {
	.subscriber#guide-page-type-guide #navbar-wrap #navbar,
	.subscriber#guide-page-type-guide #navbar-section-menu,
	.subscriber#guide-page-type-guide #overview-modal {
		max-width: 1370px;
	}
}

@media (min-width: 1500px) {
	.subscriber#guide-page-type-guide #navbar-wrap #navbar,
	.subscriber#guide-page-type-guide #navbar-section-menu,
	.subscriber#guide-page-type-guide #overview-modal {
		max-width: 1470px;
	}
}

@media (min-width: 2028px) {
	/* body.nonsubscriber #navbar #guide-helper-menu-navbar {
		top: 130px;
		border-radius: 10px;
		left: 50%;
		transform: translateX(calc(-554px - 20px - 100%));
	}

	body.nonsubscriber
		#navbar
		#guide-helper-menu-navbar
		> #guide-helper-menu-guide-menu-wrapper {
		max-height: calc(100vh - 110px - 4.5rem - 40px);
	}

	body.nonsubscriber
		#navbar
		#guide-helper-menu-navbar.has-logo
		> #guide-helper-menu-guide-menu-wrapper {
		max-height: calc(100vh - 110px - 100px - 4.5rem - 10px - 40px);
	} */

	body.nonsubscriber#guide-page-type-guide #navbar-wrap #new-toc-btn {
		display: none;
	}
}
.navbar-container-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.left {
	margin-left: 0.5rem;
}
.navbar-container-btn.active {
	background-color: var(--maggenta);
}
.navbar-container-btn.active .left {
	display: block;
}

.navbar-container-btn.active .right {
	visibility: hidden;
}

.navbar-container-btn .left {
	display: none;
}

.navbar-container-btn .right {
	visibility: visible;
}

#navbar-wrap #navbar-section-menu .guide-section-menu > * {
	border-bottom: 0.3rem solid transparent;
	padding: 0;
	height: 50px;
	line-height: 50px;
	/* order: 0 !important; */
}

#navbar-wrap #navbar-section-menu .guide-section-menu > a.active,
#navbar-wrap #navbar-section-menu .guide-section-menu > a:hover {
	background-color: transparent;
	border-radius: 0;
	border-bottom-color: var(--maggenta);
}

#navbar-wrap #navbar-section-menu .guide-section-menu > a.active,
#navbar-wrap #navbar-section-menu .guide-section-menu > a:hover {
	border-bottom-color: var(--maggenta);
	font-weight: bold;
}

/* disable scrollbar */
.guide-section-menu {
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
}
.guide-section-menu::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera*/
}
.nav-mask-on-scroll {
	mask-image: linear-gradient(
		var(--mask-direction, to right),
		hsl(0 0% 0% / 0),
		hsl(0 0% 0% / 1) 20%,
		hsl(0 0% 0% / 1) 80%,
		hsl(0 0% 0% / 0)
	);
}

.secondary-navbar-wrapper {
	background-color: rgba(0, 0, 0, 0.8);
}

#background-overlay {
	position: fixed;
	width: 100%;
	height: 100vh;
	background: #00000087;
	z-index: 50;
	top: 0;
	display: none;
}

#page-reviews #overview-grid a > .review-score,
.content-list .review-score,
.search-section-reviews .review-score {
	/* grid-row: 2;
	grid-column: 2;
	justify-self: end;
	align-self: end; */

	border-style: solid;
	border-width: 3px;
	border-radius: 5px;
	background-color: black;
	padding: 3px var(--half-margin);
	color: white;
	flex: 0 0 auto;
	position: relative;
	overflow: visible;
}

#page-reviews #overview-grid a > .review-score.editors-choice,
.content-list .review-score.editors-choice,
.search-section-reviews .review-score.editors-choice {
	padding-right: calc(16px + var(--half-margin));
}

#page-reviews #overview-grid a > .review-score.editors-choice > img,
.content-list .review-score.editors-choice > img,
.search-section-reviews .review-score.editors-choice > img {
	position: absolute;
	right: 4px;
	top: -3px;
}

#page-reviews #overview-grid a > .review-score-0,
#page-reviews #overview-grid a > .review-score-5,
.content-list .review-score-0,
.content-list .review-score-5,
.search-section-reviews .review-score-0,
.search-section-reviews .review-score-5 {
	border-color: var(--rating-bad);
}

#page-reviews #overview-grid a > .review-score-10,
#page-reviews #overview-grid a > .review-score-15,
.content-list .review-score-10,
.content-list .review-score-15,
.search-section-reviews .review-score-10,
.search-section-reviews .review-score-15 {
	border-color: var(--rating-poor);
}

#page-reviews #overview-grid a > .review-score-20,
#page-reviews #overview-grid a > .review-score-25,
.content-list .review-score-20,
.content-list .review-score-25,
.search-section-reviews .review-score-20,
.search-section-reviews .review-score-25 {
	border-color: var(--rating-avg);
}

#page-reviews #overview-grid a > .review-score-30,
#page-reviews #overview-grid a > .review-score-35,
.content-list .review-score-30,
.content-list .review-score-35,
.search-section-reviews .review-score-30,
.search-section-reviews .review-score-35 {
	border-color: var(--rating-good);
}

#page-reviews #overview-grid a > .review-score-40,
#page-reviews #overview-grid a > .review-score-45,
#page-reviews #overview-grid a > .review-score-50,
.content-list .review-score-40,
.content-list .review-score-45,
.content-list .review-score-50,
.search-section-reviews .review-score-40,
.search-section-reviews .review-score-45,
.search-section-reviews .review-score-50 {
	border-color: var(--rating-great);
}

.hidden {
	display: none;
}

.unread-new {
	background-color: var(--background);
}

@media (max-width: 768px) {
	menu#new-menu {
		right: 20px;
	}
}

dialog#overview-modal,
dialog#authenticate {
	flex-direction: column;
}
dialog#overview-modal *,
dialog#authenticate * {
	font-family: Inter;
	font-size: 14px;
	line-height: 14px;
	box-sizing: border-box;
}

dialog#overview-modal:modal,
dialog#authenticate:modal {
	display: flex;
	margin-right: 20px;
	margin-top: 68px;
	width: 100%;
	border: none;
	color: white;
}

dialog#overview-modal {
	width: 100%;
	background: transparent;
	margin-right: auto;
	align-items: end;
	padding: 0;
}

dialog#authenticate,
dialog#overview-modal:modal {
	max-width: 1024px;
	background: none;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}

dialog#authenticate form {
	width: 335px;
	background-color: #292b2c;
	margin-left: auto;
	padding: var(--margin);
	border-radius: 6px;
}

/* MV Privacy Settings CSS */
div[data-name="mediavine-gdpr-button"] {
	display: inline-block !important;
}
#mv_privacy_settings {
	font-size: inherit !important;
	font-weight: 700 !important;
}

@media (max-width: 375px) {
	menu#new-menu {
		max-width: 280px;
	}

	dialog#authenticate,
	dialog#authenticate form {
		max-width: 280px;
	}
}

@media (min-width: 375px) {
	menu#new-menu {
		max-width: 335px;
	}
}

ul.toc > li > .submenu-parent:hover {
	background-color: #565a62;
}

:root[data-theme="dark"] ul.toc > li > .submenu-parent:hover {
	background-color: #565a62;
}

ul.toc > li > .submenu-parent:active {
	background-color: #e75971;
}

:root[data-theme="dark"] ul.toc > li > .submenu-parent:active {
	background-color: #e75971;
}

:root[data-theme="light"] ul.toc > li > .submenu-parent:hover {
	background-color: #fed5d6;
}

:root[data-theme="light"] ul.toc > li > .submenu-parent:active {
	background-color: #e75971;
}

ul.toc > li > .submenu-parent:hover {
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 26px;
}

.guide-helper-menu form.guide-search-form {
	position: relative;
	padding: 0px 28px;
	margin-top: 16px;
}

.guide-helper-menu form.guide-search-form .guide-search-icon {
	position: absolute;
	right: 44px;
	top: 6px;
}

.guide-helper-menu
	form.guide-search-form
	.guide-search-icon
	.icon-search::before {
	color: var(--text);
}
@media (min-width: 1568px) {
	#guide-helper-menu-navbar-toggle-btn {
		display: none !important;
	}

	#navbar-section-menu {
		justify-content: center !important;
	}
}

.guide-page-content .guide-page-content-inner .toc-page-inner ul.toc {
	border-radius: 0px 0px 10px 10px;
	overflow: hidden;
}
body#guide-page-type-guide div[data-name="mediavine-gdpr-button"] {
	color: white;
}

.overview-content .search-form-group input {
	box-shadow: none;
	font-size: 14px;
	font-weight: 400;
}
