.modal-content {
	background-color: #fefefe;
    margin: 5px auto;
    border: 1px solid #888;
    border-radius: 6px;
    width: 366px;
    display: block;
    position: relative;
    outline: 0;
}

.form-signup, .password-reset-form, .resend-validation-email, .thank-you-for-registering {
	display: none;
}
.form-signup input,
.form-signin input {
	margin: 0 0 10px;
}
.form-signup #btn-register {
	clear: both;
}
.form-signup #email_optin_yes {
	float: left;
	margin: 0 5px 0 0;
}
.form-signup label[for="email_optin_yes"] {
	display: block;
	margin: -5px 0 20px;
	font-weight: normal;
	font-size: 12px;
}
.need-account {
	margin: 25px 0 5px !important;
}
.form-signup input,
.form-signin input,
.password-reset-form input,
.resend-validation-email input,
.thank-you-for-registering input {
	max-width: 240px;
	max-height: 26px;
	box-sizing: content-box;
}
.modal {
	display: none;
	position: fixed;
	z-index: 300;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.4);
	padding-top: 60px;
}
.modal-content {
	background-color: #fefefe;
	margin: 5px auto;
	border: 1px solid #888;
	width: 366px;
	display: block;
	position: relative;
	top: 50px;
}
.modal .input-container,
.modal .imgcontainer,
.modal .password-reset-form,
.modal .resend-validation-email,
.modal .thank-you-for-registering  {
	max-width: 266px;
	margin: 15px auto;
}
.close {
	position: absolute;
	right: 25px;
	top: 0;
	color: #000;
	font-size: 35px;
	font-weight: bold;
}
.close-x {
	position: absolute;
	top: 9px;
	right: 15px;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
}
@media(max-width: 720px) {
	.modal-content {
		width: 100%;
		top: 0;
		padding-bottom: 45px;
		-webkit-overflow-scrolling: touch;
	}
	.modal .input-container,
	.modal .imgcontainer {
		width: 85%;
	}
	.modal {
		padding-top: 0;
	}
}
.animate {
	-webkit-animation: animatezoom 0.6s;
	animation: animatezoom 0.6s
}
@-webkit-keyframes animatezoom {
	from {
		-webkit-transform: scale(0)
	}
	to {
		-webkit-transform: scale(1)
	}
}
@keyframes animatezoom {
	from {
		transform: scale(0)
	}
	to {
		transform: scale(1)
	}
}
.modal .button {
	display: inline-block;
	width: 100%;
	margin:0;
	border:0;
	overflow:visible;
	cursor:pointer;
	font-size:16px;
	font-weight: normal;
	white-space:nowrap;
	text-align:center;
	background-color: #eeeeee;
    color: #333333;
	line-height:45px;
	padding:0 25px;
	transition:			color 300ms ease-in-out, background-color 300ms ease-in-out;
	-moz-transition:	color 300ms ease-in-out, background-color 300ms ease-in-out;
	-webkit-transition:	color 300ms ease-in-out, background-color 300ms ease-in-out;
	-o-transition:		color 300ms ease-in-out, background-color 300ms ease-in-out;
}

#btn-google {
	margin-bottom: 10px;
}

#welcome-login .login-link {
	cursor: pointer;
}

#pw-reset {
	margin: 15px 0;
}

#email-resend {
    margin: 15px 0;
}

.password-reset-form .pw-reset-goback .resend-validation-email .email-resend-goback .thank-you-for-registering .thank-you-for-registering-goback {
	margin: 0 0 25px;
	display: block;
}
.resend-validation-email {
    display: none;
}
.thank-you-for-registering {
    display: none;
}
