body, html { height: 100%; }

#m-modal-login-register-overlay {
	display: none;
	height: 100%;
    width: 100%;
    background-color: #fff;
    opacity: 0.9;
    position: fixed;
	top: 0;
	left: 0;
    z-index: 13900;
	zoom: 1;
	}

#m-modal-login-register {
	display: none;
	background: #fff;
	width: 300px;
	margin-left: -150px;
	position: fixed;
	left: 50%;
	top: 50px;
	z-index: 14000;
	padding: 3.4em 30px 2em;
	-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
	   -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
			box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
	zoom: 1;
	}
	
#login-status, #register-status { display: none; }

#m-modal-login-register .error { color: #c30; }
	
#close-login-register-modal {
	text-decoration: none;
	color: #c30;
	position: absolute;
	top: 1.5em;
	right: 2em;
	}
	
#m-modal-login-register h1 { padding: 0; }

#m-modal-login-register label {
	display: block;
	padding-bottom: .666667em;
	}
	
#m-modal-login-register input {
    -webkit-box-shadow: 1px 1px 2px rgba(200, 200, 200, 0.2) inset;
       -moz-box-shadow: 1px 1px 2px rgba(200, 200, 200, 0.2) inset;
    		box-shadow: 1px 1px 2px rgba(200, 200, 200, 0.2) inset;
    outline: 0 none;
    width: 100%;
	}

#m-modal-password {
	-moz-box-sizing: border-box;
	clear: both;
	color: #666666;
	display: inline-block;
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
	margin-bottom: 5px;
	padding: 10px !important;
    width: 100% !important;
	}
	
#m-modal-login-register .lost {
	display: block;
	position: absolute;
	bottom: 2em;
	right: 2em;
	line-height: 3em;
	}
	
#m-modal-login-register .lost:hover, #m-modal-login-register .lost:focus { 
	text-decoration: none;
	color: inherit;
	}
	
#m-modal-login-register button:hover, #m-modal-login-register button:focus { cursor: pointer; }

#m-modal-login-register form { display: none; }

#m-modal-login-register > .active { display: block; }

#m-modal-nav { 
	position: absolute;
	top: 1.5em;
	left: 2em;
	}
	
#m-modal-nav a {
	text-transform: uppercase;
	font-size: 11px;
	line-height: 16px;
	letter-spacing: 1px;
	display: inline-block;
	background: #eee;
	-webkit-box-shadow: 0 2px 0 0 #ccc;
	   -moz-box-shadow: 0 2px 0 0 #ccc;
			box-shadow: 0 2px 0 0 #ccc;
	padding: 3px 6px;
	margin-right: .5em;
	text-decoration: none;
	border-radius: 3px;
	}
	
#m-modal-nav a:hover { 
	text-decoration: none;
	background: #ddd;
	-webkit-box-shadow: 0 1px 0 0 #bbb;
	   -moz-box-shadow: 0 1px 0 0 #bbb;
			box-shadow: 0 1px 0 0 #bbb;
	}
	
#m-modal-nav a:active, #m-modal-nav .activate, #m-modal-nav .activate:hover {
	text-decoration: none;
	background: #ccc;
	-webkit-box-shadow: 0 0 3px 2px #aaa inset;
	   -moz-box-shadow: 0 0 3px 2px #aaa inset;
			box-shadow: 0 0 3px 2px #aaa inset;
	}
	
#m-modal-nav .active, #m-modal-nav .active:hover, #m-modal-nav .active:active {
	text-decoration: none;
	color: #666;
	cursor: default;
	background: #f5f5f5;
	-webkit-box-shadow: 0 1px 0 1px #e5e5e5 inset;
	   -moz-box-shadow: 0 1px 0 1px #e5e5e5 inset;
			box-shadow: 0 1px 0 1px #e5e5e5 inset;
	}
	
#m-modal-login-register .register-description {
	color: #999;
	margin-top: 3px;
	}
	
#m-modal-login-register p { margin-bottom: 10px; }
	
#m-modal-login-register .redirect {
	float: right;
	width: 120px;
	margin-bottom: 0;
	line-height: 1.4em;
	text-align: right;
	}
	
#m-modal-login-register .redirect.with-sl {
	float: none;
	clear: both;
	padding-top: 10px;
	text-align: left;
	width: auto;
	}

#m-modal-login-register .wp-social-login-connect-with { display: none; }

#m-modal-login-register .wp-social-login-provider-list { 
	padding: 10px 0; 
	max-width: 240px;
	}
	
	#m-modal-login-register .wp-social-login-provider-list > a { 
		text-decoration: none;
		display: block;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		width: 100%;
		margin-bottom: 9px;
		}
		
		#m-modal-login-register .wp-social-login-provider-list a:last-child { margin-bottom: 0; }
		
		#m-modal-login-register .wp-social-login-provider-facebook { background: #fff url( ../parts/facebook-icon.png ) left top no-repeat; }
		
		#m-modal-login-register .wp-social-login-provider-twitter { background: #fff url( ../parts/twitter-icon.png ) left top no-repeat; }
		
		#m-modal-login-register .wp-social-login-provider-google { background: #fff url( ../parts/google-icon.png ) left top no-repeat; }
		
		#m-modal-login-register .wp-social-login-provider-vkontakte { background: #fff url( ../parts/vkontakte-icon.png ) left top no-repeat; }

		#m-modal-login-register .wp-social-login-provider-list img { border: none; }

#m-modal-login-register #social-login .wp-social-login-provider-list .js-has-issues {
	background-color: #6E1D1E;
	color: #fff;
}

#m-modal-login-register #social-login .wp-social-login-provider-list .js-has-issues::before {
	content: '⚠ ';
}

#m-modal-login-register .warning {
	font-size: .9rem; 
	line-height: 1.2rem;
	}

#m-modal-login-register .warning strong {
	color: #6E1D1E; 
	}




