/**
 * Styles for login form elements including the button and modal used for entering credly creds.
 */
#credly-login-modal {
	position: fixed;
	top: 25%;
	left: 50%;
	width: 480px;
	margin-left: -240px;
	height: auto;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	opacity: 0;
}
#credly-login-modal.credly-login-show {
	visibility: visible;
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
}
#credlyform {
	-webkit-box-shadow: rgba(0,0,0,0.7) 0 4px 10px -1px;
	-moz-box-shadow: rgba(0,0,0,0.7) 0 4px 10px -1px;
	-ms-box-shadow: rgba(0,0,0,0.7) 0 4px 10px -1px;
	box-shadow: rgba(0,0,0,0.7) 0 4px 10px -1px;
	overflow: hidden;
	padding-bottom: 26px;
}
#credly-login-modal form img {
	display: block;
	margin: 0 auto 20px;
}
#credly-login-error {
	float: left;
	margin-top: 7px;
	color: #ff0000;
	max-width: 320px;
}

#credly-login-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(0, 0, 0, 0.7);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	transition: all 0.3s;
}
.credly-login-show ~ #credly-login-overlay {
	opacity: 1;
	visibility: visible;
}
#modal-content {
	background: #fff;
}

/* Button */
#credly-login-button {
	float: left;
	margin: 8px 0 5px;
}
#credly-login-button img {
	height: 22px;
	margin: 3px 0 3px 5px;
}
#credly-login-button span {
	float: left;
}
#credly-login-loader {
	display: none;
	width: 16px;
	height: 16px;
	background: url('../img/spinner_white.gif');
	position: absolute;
	right: 105px;
	top: 242px;
}
#credly-login-loader.active {
	display: block;
}
.credly-login-external-link {
	clear: left;
}

/* Login page overrides */
#loginform {
	overflow: hidden;
	position: relative !important;
	padding-bottom: 26px;
}
#loginform .forgetmenot {
	clear: both;
	margin-top: 7px;
}