/* Hubitat.com chrome, scoped so Knowledge/Busyness content styles stay intact. */

body.hubitat-chrome #page {
	position: relative;
}

.hubitat-chrome-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	background: transparent;
	padding: 0;
}

.hubitat-chrome-header__bar {
	box-sizing: border-box;
	margin: 14px auto;
	width: calc(100% - 16px);
	max-width: 1216px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	padding: 0 1.5rem;
}

.hubitat-chrome-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	min-height: 64px;
}

.hubitat-chrome-logo {
	display: flex;
	align-items: center;
	max-width: 90px;
	padding: 4px 0;
	flex-shrink: 0;
	text-decoration: none;
	color: #121214;
	font-weight: 600;
}

.hubitat-chrome-logo img {
	display: block;
	max-width: 100%;
	height: auto;
}

.hubitat-chrome-menu {
	flex: 1;
}

.hubitat-chrome-menu__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hubitat-chrome-menu__list a {
	color: #121214;
	font-weight: 600;
	text-decoration: none;
}

.hubitat-chrome-menu__list a:hover,
.hubitat-chrome-menu__list a:focus,
.hubitat-chrome-menu__list .current-menu-item > a {
	color: #81bc00;
}

.hubitat-chrome-user {
	font-size: 13px;
	font-weight: 600;
	color: #212529;
	white-space: nowrap;
}

.hubitat-chrome-toggle {
	display: none;
	appearance: none;
	-webkit-appearance: none;
	margin-left: auto;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	background: #fff !important;
	cursor: pointer;
	line-height: 0 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hubitat-chrome-toggle__icon {
	position: relative;
	display: block;
	width: 18px;
	height: 14px;
	margin: 0;
	background: transparent;
}

.hubitat-chrome-toggle__icon::before,
.hubitat-chrome-toggle__icon::after {
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: #121214;
	content: "";
}

.hubitat-chrome-toggle__icon::before {
	top: 0;
	box-shadow: 0 6px 0 #121214;
	transform: none;
}

.hubitat-chrome-toggle__icon::after {
	bottom: 0;
	top: auto;
	transform: none;
}

@media (max-width: 991px) {
	.hubitat-chrome-header__bar {
		padding: 0 12px;
	}

	.hubitat-chrome-nav {
		flex-wrap: wrap;
		justify-content: space-between;
		min-height: 56px;
	}

	.hubitat-chrome-toggle {
		display: inline-flex;
	}

	.hubitat-chrome-menu {
		display: none;
		flex: 1 0 100%;
		padding: 0 0 1rem;
	}

	.hubitat-chrome-menu.is-open {
		display: block;
	}

	.hubitat-chrome-menu__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.hubitat-chrome-user {
		flex: 1 0 100%;
		order: 4;
		padding-bottom: 1rem;
	}
}

.hubitat-chrome-footer#colophon,
body.hubitat-chrome #colophon.hubitat-chrome-footer {
	background-color: #121214 !important;
	color: #fff;
	padding: 3rem 1.5rem;
	font-size: 15px;
}

.hubitat-chrome-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.hubitat-chrome-footer__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.hubitat-chrome-footer__brand img {
	max-height: 48px;
	width: auto;
}

.hubitat-chrome-footer__partners {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 15px;
}

.hubitat-chrome-footer__partners img {
	max-height: 30px;
	width: auto;
}

.hubitat-chrome-footer__menu {
	margin-bottom: 2rem;
}

.hubitat-chrome-footer__nav,
.hubitat-chrome-footer__legal-nav,
.hubitat-chrome-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hubitat-chrome-footer__nav {
	gap: 2em;
	justify-content: flex-start;
}

.hubitat-chrome-footer a {
	color: #fff !important;
	font-weight: 300;
	font-size: 15px;
	text-decoration: none;
	transition: color 0.3s ease-in-out;
}

.hubitat-chrome-footer a:hover,
.hubitat-chrome-footer a:focus {
	color: #81bc00 !important;
}

.hubitat-chrome-footer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.hubitat-chrome-footer__copy {
	margin: 0;
	color: #8f8f9a;
	font-size: 13px;
}

.hubitat-chrome-footer__legal {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hubitat-chrome-footer__legal-nav {
	gap: 1.5rem;
}

.hubitat-chrome-footer__legal-nav a {
	font-size: 13px;
}

.hubitat-chrome-footer__legal-nav li {
	position: relative;
}

.hubitat-chrome-footer__legal-nav li:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -0.75em;
	top: 20%;
	height: 60%;
	width: 1px;
	background-color: #8f8f9a;
}

.hubitat-chrome-social {
	margin: 0 0 0 10px;
}

.hubitat-chrome-social li {
	margin-left: 10px;
}

.hubitat-chrome-social img {
	display: block;
	width: 23px;
	height: 23px;
}

@media (max-width: 767px) {
	.hubitat-chrome-footer__logos,
	.hubitat-chrome-footer__meta,
	.hubitat-chrome-footer__legal {
		justify-content: center;
		text-align: center;
	}

	.hubitat-chrome-footer__nav {
		justify-content: center;
	}
}
