/**
 * Styles for frontend sidebar login form.
 */
#credly-login-modal {
	position: fixed;
	top: 25%;
	left: 50%;
	width: 480px;
	margin-left: -240px;
	height: auto;
	z-index: 9999;
	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;
	color: #333;
	background: #FFF;
	padding: 26px 24px 46px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}



#credlyform input[type=text],
#credlyform input[type=password] {
	color: #555;
	font-weight: 200;
	font-size: 24px;
	line-height: 1;
	width: 100%;
	padding: 3px;
	margin-top: 2px;
	margin-right: 6px;
	margin-bottom: 16px;
	border: 1px solid #e5e5e5;
	background: #fbfbfb;
	outline: 0;
	-webkit-box-shadow: inset 1px 1px 2px rgba(200,200,200,0.2);
	box-shadow: inset 1px 1px 2px rgba(200,200,200,0.2);
	-webkit-border-radius: 3px;
	border-radius: 3px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
#credlyform .button {
	background-color: #21759b;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#2a95c5),to(#21759b));
	background-image: -webkit-linear-gradient(top,#2a95c5,#21759b);
	background-image: -moz-linear-gradient(top,#2a95c5,#21759b);
	background-image: -ms-linear-gradient(top,#2a95c5,#21759b);
	background-image: -o-linear-gradient(top,#2a95c5,#21759b);
	background-image: linear-gradient(to bottom,#2a95c5,#21759b);
	border-color: #21759b;
	border-bottom-color: #1e6a8d;
	-webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
	box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
	color: #fff;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(0,0,0,0.1);
	float: right;
	height: 30px;
	line-height: 28px;
	padding: 0 12px 2px;
}



#credly-login-modal form img {
	display: block;
	margin: 0 auto 20px;
}
#credly-login-error {
	float: left;
	margin-top: 7px;
	margin-bottom: 0;
	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 img {
	display: none;
}
#credly-login-button span:after {
	content: 'Credly';
}
#credly-login-button span {
	float: left;
	line-height: 1.5;
}
#credly-login-or {
	margin-top: 15px;
}
#credly-login-loader {
	display: none;
	width: 16px;
	height: 16px;
	background: url('../img/spinner_white.gif');
	position: absolute;
	right: 105px;
	top: 252px;
}
#credly-login-loader.active {
	display: block;
}
.credly-login-external-link {
	clear: left;
	margin-bottom: 0;
}

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