body{
    background-color: #fbefe4;
}

.err-banner  {
	border: 1px solid rgb(216,23,23);
	/* background-color: rgba(144, 123, 123, 0.673); */
	box-shadow: 0px 0px 5px 1px rgba(216,23,23,0.66);
	border-radius: 5px;
	text-align: center;
	margin: 0 auto 10px auto;
	width: 50%;
}

/* .err-banner  {
	border: 1px solid rgb(21, 83, 20);
	background-color: rgb(21, 83, 20,0.3);
	border-radius: 5px;
	text-align: center;
	margin: 0 auto 10px auto;
	width: 50%;
} */
/* Sign up / Sign in form */
.upper-login{
    font-family: 'Montserrat', sans-serif;
    left: 0;
    top:0;
    height: 100%;
    width: 100%;
    padding-top: 80px;
    
}
.upper-login h1 {
	font-weight: bold;
	margin: 0;
}

.upper-login h2 {
	text-align: center;
}

.upper-login p {
	font-size: 14px;
	font-weight: 100;
	line-height: 20px;
	letter-spacing: 0.5px;
	margin: 20px 0 30px;
}

.upper-login span {
	font-size: 12px;
}

.upper-login a {
	color: #333;
	font-size: 14px;
	text-decoration: none;
	margin: 15px 0;
}

.upper-login button {
	border-radius: 20px;
	border: 1px solid #ff6014;
	background-color: #ff6014;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: bold;
	padding: 12px 45px;
    margin-top: 8px;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: transform 80ms ease-in;
}

.upper-login button:active {
	transform: scale(0.95);
}

.upper-login button:focus {
	outline: none;
}

.upper-login button.ghost {
	background-color: transparent;
	border-color: #FFFFFF;
}

.upper-login form {
	background-color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 50px;
	height: 100%;
	text-align: center;
}

.upper-login input {
	background-color: #eee;
	border: none;
	padding: 0px 15px;
	margin: 4px 0;
    height: 40px;
	width: 100%;
}

#type,#who{
    width: 100%;
    background-color: #eee;
	margin: 4px 0;
    height: 40px;
    padding: 0px 15px;
    border: none;
  }
.hide{
    display:none;
  }
  .show{
    display:inline;
  }

.upper-login .container {
	font-family: 'Montserrat', sans-serif;
	background-color: #fff;
	border-radius: 10px;
  	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 
			0 10px 10px rgba(0,0,0,0.22);
	position: relative;
	overflow: hidden;
    padding: 0;
	width: 768px;
	max-width: 100%;
	min-height: 500px;
    margin-bottom: 70px;
}

.upper-login .form-container {
	position: absolute;
	top: 0;
	height: 100%;
	transition: all 0.6s ease-in-out;
}

.upper-login .sign-in-container {
	left: 0;
	width: 50%;
}


.upper-login .sign-up-container {
	left: 0;
	width: 50%;
	opacity: 0;
	
}

.upper-login .container.right-panel-active .sign-up-container {
	transform: translateX(100%);
	opacity: 1;
	z-index: 5;
	animation: show 0.6s;
}

@keyframes show {
	0%, 49.99% {
		opacity: 0;
		z-index: 1;
	}
	
	50%, 100% {
		opacity: 1;
		z-index: 5;
	}
}

.upper-login .overlay-container {
	position: absolute;
	top: 0;
	left: 50%;
	width: 50%;
	height: 100%;
	overflow: hidden;
	transition: transform 0.6s ease-in-out;
	z-index: 100;
}

.upper-login .container.right-panel-active .overlay-container{
	transform: translateX(-100%);
}

.upper-login .overlay {
	background: #ff6014;
	background: -webkit-linear-gradient(to right, #ff6014, #ff6014);
	background: linear-gradient(to right, #FF416C, #ff6014);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0 0;
	color: #FFFFFF;
	position: relative;
	left: -100%;
	height: 100%;
	width: 200%;
  	transform: translateX(0);
	transition: transform 0.6s ease-in-out;
}

.upper-login .container.right-panel-active .overlay {
  	transform: translateX(50%);
}

.upper-login .overlay-panel {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 40px;
	text-align: center;
	top: 0;
	height: 100%;
	width: 50%;
	transform: translateX(0);
	transition: transform 0.6s ease-in-out;
}

.upper-login .overlay-left {
	transform: translateX(-20%);
}

.upper-login .container.right-panel-active .overlay-left {
	transform: translateX(0);
}

.upper-login .overlay-right {
	right: 0;
	transform: translateX(0);
}

.upper-login .container.right-panel-active .overlay-right {
	transform: translateX(20%);
}

.upper-login .social-container {
	margin: 20px 0;
    justify-content: space-between;
}

.upper-login .social-container a {
	border: 1px solid #DDDDDD;
    justify-content: space-between;
	border-radius: 50%;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin: 0 5px;
	height: 40px;
	width: 40px;
}

@media (max-width:780px){
	.upper-login form{
		display: block;
	}
	.upper-login .overlay-container {
		position: absolute;
		top: 0%;
		height: 50%;
		overflow: hidden;
		transition: transform 0.6s ease-in-out;
		z-index: 100;
	}
	.upper-login .overlay-panel {
		height: 60%;
	}
	.upper-login .container {
		position: relative;
		padding: 0;
		width: 768px;
		max-width: 100%;
		min-height: 1000px;
		margin-bottom: 70px;
	}
}