.joels365-login-wrap {
	margin: 16px auto 24px;
	max-width: 320px;
	text-align: center;
}

.joels365-divider {
	position: relative;
	height: 1px;
	background: #dcdcde;
	margin: 12px 0 18px;
}

.joels365-divider span {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	background: #f0f0f1;
	padding: 0 8px;
	color: #50575e;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.joels365-login-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 14px;
	background: #ffffff;
	color: #5e5e5e;
	border: 1px solid #8c8c8c;
	border-radius: 2px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.joels365-login-button:hover,
.joels365-login-button:focus {
	background: #f3f3f3;
	border-color: #2c2c2c;
	color: #2c2c2c;
	outline: none;
}

.joels365-logo {
	display: inline-grid;
	grid-template-columns: 9px 9px;
	grid-template-rows: 9px 9px;
	gap: 2px;
	margin-right: 10px;
	flex: 0 0 auto;
}

.joels365-sq        { display: block; width: 9px; height: 9px; }
.joels365-sq-r      { background: #F25022; }
.joels365-sq-g      { background: #7FBA00; }
.joels365-sq-b      { background: #00A4EF; }
.joels365-sq-y      { background: #FFB900; }

.joels365-label {
	flex: 1 1 auto;
	text-align: center;
}

/* Hide the default username/password form when the admin has opted in.
   The "or" divider is also hidden in this mode since there's nothing to divide. */
body.joels365-hide-default #loginform,
body.joels365-hide-default .joels365-divider {
	display: none;
}

body.joels365-hide-default .joels365-login-wrap {
	margin-top: 0;
}
