/**
 * @package    hubzero-cms
 * @copyright  Copyright 2005-2019 HUBzero Foundation, LLC.
 * @license    http://opensource.org/licenses/MIT MIT
 */

.auth {
	margin: 75px auto 20px auto;
	background: #F2F2F2;
	max-width: 400px;
	border: 1px solid #DFDFDF;
	position: relative;
}
.auth:before {
	position: absolute;
	background: #F2F2F2;
	top: 0;
	left: 50%;
	width: 94px;
	height: 94px;
	margin-top: -50px;
	margin-left: -50px;
	content: "";
	border: 4px solid #FFFFFF;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	z-index: 2;
}
.auth:after {
	position: absolute;
	top: 0;
	left: 50%;
	margin-top: -51px;
	margin-left: -51px;
	content: "";
	border-width: 52px;
	border-color: transparent #DFDFDF #DFDFDF transparent;
	border-style: solid;
	-webkit-border-radius: 52px;
	-moz-border-radius: 52px;
	border-radius: 52px;
	z-index: 1;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}
.auth .block {
	display: block;
}
.auth .none {
	display: none;
}
.auth .person {
	position: absolute;
	height: 94px;
	width: 94px;
	left: 50%;
	z-index: 3;
	margin-left: -46px;
	margin-top: -46px;
	top: 0;
	overflow: hidden;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
}
.auth .person:before {
	position: absolute;
	content: "\f007";
	font-family: "fontcons";
	top: 8px;
	left: 0;
	font-size: 100px;
	line-height: 100px;
	color: #CCCCCC;
	height: 96px;
	width: 96px;
	text-align: center;
}
.auth img {
	z-index: 4;
	position: relative;
	background: #FFF;
}
.auth img.wide {
	height: 100%;
	width: auto;
	max-height: 100%;
	max-width: none;
}
.auth img.tall {
	width: 100%;
	height: auto;
	max-height: none;
	max-width: 100%;
}
.auth .instructions {
	font-size: 1.5em;
	text-align: center;
	margin: 60px 0 20px 0;
}
.auth .or {
	width: 16em;
	height: 2em;
	margin: 1em auto;
	overflow: hidden;
	position: relative;
}
.auth .or:before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	height: 1px;
	background: #aaa;
}
.auth .or:after {
	content: "or";
	font-size: 1.5em;
	padding: 0.7em;
	font-style: italic;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -1.3em;
	margin-top: -1.3em;
	background: #F2F2F2;
	z-index: 500;
}
.auth .local,
.create {
	font-size: 1.2em;
	text-align: center;
	margin-bottom: 20px;
}
.auth .existing-name {
	font-size: 1.2em;
	text-align: center;
}
.auth .existing-email {
	font-size: 1.1em;
	text-align: center;
	margin-bottom: 10px;
}
.others {
	text-align: center;
	margin-bottom: 20px;
}
.auth .error {
	display: none;
	margin: 0 20px 0 20px;
}
.auth .label-input-pair {
	position: relative;
}
.auth .label-input-pair label {
	display: none;
}
.auth .forgots {
	border-top: 1px solid #DFDFDF;
	padding: 15px 0;
}
.auth .forgots a {
	display: block;
	text-align: center;
	width: auto;
	border-bottom: none;
	padding: 0px;
}
.auth .remember-me-label {
	vertical-align: middle;
}
.auth .input-wrap {
	padding: 5px 10px;
	margin: 0 10px;
	border-color: transparent;
	border-width: 1px;
	border-style: solid;
	background: transparent;
	-webkit-transition: background ease-in-out 0.25s, border-color ease-in-out 0.25s;
	-moz-transition: background ease-in-out 0.25s, border-color ease-in-out 0.25s;
	-o-transition: background ease-in-out 0.25s, border-color ease-in-out 0.25s;
	transition: background ease-in-out 0.25s, border-color ease-in-out 0.25s;
}
.auth .input-wrap-error {
	-webkit-transition: background ease-in-out 0.25s, border-color ease-in-out 0.25s;
	-moz-transition: background ease-in-out 0.25s, border-color ease-in-out 0.25s;
	-o-transition: background ease-in-out 0.25s, border-color ease-in-out 0.25s;
	transition: background ease-in-out 0.25s, border-color ease-in-out 0.25s;
	border-color: #CC0000;
	background: rgba(155, 0, 0, .2);
}
.auth .input-error {
	display: none;
	color: #CC0000;
	font-style: italic;
	text-align: center;
	margin-top: 5px;
}
.auth .username {
	margin-bottom: 10px;
}
.auth .submission {
	padding: 0 20px;
	text-align: center;
}
.auth input[type="text"],
.auth input[type="password"] {
	margin: 0;
	padding: 10px;
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
	width: 100%;
	outline: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.auth input[type="submit"] {
	width: 100%;
	margin: 5px 0 15px 0;
}
.auth input[type="submit"]:focus {
	outline: none;
}
.auth .remember-wrap {
	margin-bottom: 10px;
}
.primary {
	display: block;
	width: 400px;
	margin: 0 auto;
	border-bottom: none;
	text-decoration: none;
}
.primary:hover {
	border-bottom: none;
	text-decoration: none;
	cursor: pointer;
}
.primary .upper {
	width: 402px;
	height: 100px;
	margin-top: 20px;
	text-align: center;
	padding-top: 40px;
	-webkit-border-top-left-radius: 3px;
	-moz-border-radius-topleft: 3px;
	border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-moz-border-radius-topright: 3px;
	border-top-right-radius: 3px;
}
.primary .lower {
	height: 60px;
}
.primary .auth {
	margin-top: 0;
	-webkit-border-top-left-radius: 0;
	-moz-border-radius-topleft: 0;
	border-top-left-radius: 0;
	-webkit-border-top-right-radius: 0;
	-moz-border-radius-topright: 0;
	border-top-right-radius: 0;
}
.primary .instructions {
	color: #888888;
}

.hz_user>p {
	margin: 1em;
}

@media only screen  and (min-width : 1024px) {
	.hz_user>p {
		max-width: 700px;
		margin: 2em auto;
	}
}

/* loading */
.spinner {
	display: none;
	width: 50px;
	text-align: center;
	height: 20px;
	position: absolute;
	right: 5px;
	top: 12px;
}

.spinner > div {
	width: 8px;
	height: 8px;
	background-color: #777777;
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: bouncedelay 1.4s infinite ease-in-out;
	animation: bouncedelay 1.4s infinite ease-in-out;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.spinner .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

.spinner .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
	0%, 80%, 100% { -webkit-transform: scale(0.0) }
	40% { -webkit-transform: scale(1.0) }
}

@keyframes bouncedelay {
	0%, 80%, 100% { 
		transform: scale(0.0);
		-webkit-transform: scale(0.0);
	} 40% {
		transform: scale(1.0);
		-webkit-transform: scale(1.0);
	}
}
