/* ==========================================================
   Visit Bedford - Main Site Sidebar
   ========================================================== */

.vb-site-sidebar {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;

	width: 270px;
	height: 100vh;

	display: flex;
	flex-direction: column;

	padding: 28px 18px;

	background: #ffffff;
	border-right: 1px solid #e5e7eb;

	box-sizing: border-box;
}


/* ----------------------------------------------------------
   Brand
   ---------------------------------------------------------- */

.vb-sidebar-brand {
	margin-bottom: 42px;
	padding: 0 10px;
}

.vb-sidebar-brand a {
	display: block;
	text-decoration: none;
}

.vb-sidebar-brand .custom-logo {
	display: block;
	max-width: 190px;
	height: auto;
}

.vb-sidebar-brand-text {
	font-size: 24px;
	font-weight: 800;
	color: var(--vb-primary);
}


/* ----------------------------------------------------------
   Navigation
   ---------------------------------------------------------- */

.vb-sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.vb-sidebar-nav-item {
	display: flex;
	align-items: center;
	gap: 14px;

	min-height: 48px;
	padding: 0 14px;

	border-radius: 12px;

	color: var(--vb-text);
	font-size: 15px;
	font-weight: 600;

	text-decoration: none;

	transition:
		background-color .2s ease,
		color .2s ease;
}

.vb-sidebar-nav-item i {
	width: 20px;

	text-align: center;

	font-size: 17px;
	color: var(--vb-muted);
}

.vb-sidebar-nav-item:hover {
	background: #f1f6fb;
	color: var(--vb-primary);
}

.vb-sidebar-nav-item:hover i {
	color: var(--vb-primary);
}


/* ----------------------------------------------------------
   Favourites Count
   ---------------------------------------------------------- */

.vb-sidebar-favourites {
	position: relative;
}

.vb-favourites-count {
	margin-left: auto;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 22px;
	height: 22px;

	padding: 0 6px;

	border-radius: 999px;

	background: var(--vb-primary);
	color: #ffffff;

	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}


/* ----------------------------------------------------------
   Divider
   ---------------------------------------------------------- */

.vb-sidebar-divider {
	height: 1px;

	margin: 28px 10px;

	background: #e5e7eb;
}


/* ----------------------------------------------------------
   Account
   ---------------------------------------------------------- */

.vb-sidebar-account {
	margin-top: auto;

	display: flex;
	flex-direction: column;
	gap: 6px;
}

.vb-sidebar-account-button {
	display: flex;
	align-items: center;
	justify-content: center;

	min-height: 46px;

	padding: 0 16px;

	border-radius: 12px;

	font-size: 14px;
	font-weight: 700;

	text-decoration: none;

	transition: all .2s ease;
}

.vb-sidebar-create-account {
	background: var(--vb-primary);
	color: #ffffff;
}

.vb-sidebar-create-account:hover {
	background: var(--vb-primary-dark);
	color: #ffffff;
}

.vb-sidebar-signin {
	background: #f1f5f9;
	color: var(--vb-text);
}

.vb-sidebar-signin:hover {
	background: #e2e8f0;
	color: var(--vb-text);
}


/* ----------------------------------------------------------
   Desktop Site Offset
   ---------------------------------------------------------- */

body.vb-has-site-sidebar {
	padding-left: 270px;
}


/* ----------------------------------------------------------
   Mobile
   ---------------------------------------------------------- */

@media (max-width: 900px) {

	.vb-site-sidebar {
		display: none;
	}

	body.vb-has-site-sidebar {
		padding-left: 0;
	}

}
