.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
	overflow: hidden;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	align-items: center;
}

.modal-content {
	padding: 35px 50px;
	border: 1px solid #888;
	width: 300px;
	border-radius: 8px;
	box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.25);
	background-color: rgba(255, 255, 255, 1);
	position: relative;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: center;
}

.close {
	color: #aaa;
	font-size: 28px;
	font-weight: bold;
	position: absolute;
	right: 20px;
	top: 5px;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.back {
	color: #aaa;
	float: left;
	font-size: 28px;
	font-weight: bold;
	position: absolute;
	left: 20px;
	top: 5px;
	display: none;
}

.back:hover,
.back:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.modal-content-no-x,.sign-up-form,.sign-in-form
{
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	align-items: stretch;
	text-align: center;
}
#register-form
{
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	align-items: stretch;
	text-align: center;
}
#loginform
{
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	align-items: stretch;
	text-align: center;
}

.sign-up-form h2
{

	margin-bottom: 20px;
}
#user_login,#user_pass
{
	width: 100%;
	border-radius: 6px;
	border: 1px solid rgba(229, 229, 234, 1);
	background-color: rgba(255, 255, 255, 1);
	margin-bottom: 10px;
	margin-top: 10px;
}
.custom-facebook-login-button,.custom-google-login-button
{
	color:black;
	border-radius: 4px;
	border: 1px solid rgba(229, 229, 234, 1);
	background-color: rgba(255, 255, 255, 1);
	display: flex;
	flex-wrap: nowrap;
	align-content: center;
	align-items: center;
	justify-content: center;
	padding: 10px;
	position: relative;
	cursor: pointer;
	margin-bottom: 10px;
	margin-top:10px ;
}
.custom-facebook-login-button:hover,.custom-google-login-button:hover
{
	color:white;
	background-color: #3284FF;
}
.custom-facebook-login-button img,.custom-google-login-button img
{
	width: 30px;
	margin: 5px;
	position: absolute;
	left: 5px;
}
.custom-facebook-login-button label,.custom-google-login-button label
{
	cursor: pointer;
	font-size: 14px;
}
.text-separator
{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	padding: 10px;
}
.horizontal-line
{
	border: solid 1px #C7C7CC;
	width: 25%;
}
.text-separator-text
{
	width: 50%;
	font-size: 12px;
}
#continue-with-email-btn,#continue-with-email-sign-btn
{
	border-radius: 8px;
	background-color: rgba(50, 132, 255, 1);
	color:white;
	margin-bottom: 10px;
	margin-top: 10px;
}
#continue-with-email-btn:disabled,#continue-with-email-sign-btn:disabled,#wp-submit:disabled
{
	background-color: #a4c9ff;
}
#wp-submit
{
	border-radius: 8px;
	background-color: rgba(50, 132, 255, 1);
	color:white;
	width: 100%;
	margin-bottom: 10px;
	margin-top: 10px;
}
.continue-with-email
{
	border-radius: 6px;
	border: 1px solid rgba(229, 229, 234, 1);
	background-color: rgba(255, 255, 255, 1);
	margin-bottom: 10px;
	margin-top:10px ;
	font-size: 14px;
}
.sign-in-form h2
{
	margin-bottom: 20px;
}
.login-username,.login-password
{
	padding: 0px;
	margin: 0px;
}
.login-remember,.login-submit
{
	margin-bottom: 10px;
	margin-top:10px ;
}
.g_id_signin {
	display: none;
}

#login-error-message
{
	margin: 5px;
	font-size: 12px;
	color: red;
	display: none;
}

#sign-up-error-message
{
	margin: 5px;
	font-size: 12px;
	color: red;
	display: none;
}

@media only screen and (max-width: 600px) {
	.modal-content {
		width: 80%;
	}
}

