/*Sign Up Page*/
h1{
	font-size: 150%;
  font-weight: 300;
  padding:10px 28px 0 28px;
}

.forgot h2, .email-sent h2{
	font-size: 150%;
  font-weight: 300;
  padding:10px 28px 0 28px;
}

.general-container p{
	padding:0 28px 0 28px;
}
#email_signup{
	padding:0px 28px 0 28px;
}	
#signup_open{	
	cursor:pointer;
	position: relative;
  width:100%;
  height: 56px;  
  border-radius: 28px;
  text-transform: uppercase;
  font-size: 100%;
  line-height: 52px;
  box-sizing: border-box;
  padding-right: 8px;
  color: #fff;
 	border: 3px solid #f9a11b;
 	text-align: center;
 	
}
#signup_open img{
	width:22px;
	display: inline-block;
  position: relative;
  top: -2px;
  margin-right: 10px;
}

.facebook {
  padding:10px 28px 20px 28px;
  border-bottom: 1px solid rgba(0,0,0, 0.3);
}
	
.facebook button {
  position: relative;
  width: 100%;
  height: 56px;
  background: #4862a3;
  border-radius: 28px;
  text-transform: uppercase;
  font-size: 100%;
  line-height: 52px;
  box-sizing: border-box;
  padding-right: 8px;
  color: #fff;
  border:none;
}
.facebook button img {
  display: inline-block;
  position: relative;
  top: -2px;
  margin-right: 10px;
}


	

.no-fb-avail{
	padding-bottom:15px;
}

.signup-form{
	padding:10px 28px 0 28px;
}

.fields .wrapper {
    position: relative;
}

.fields input{
  display: block;
  width: 100%;
  border: none;
  background-color: rgba(0,0,0, 0.2) !important;
  margin-bottom: 10px;
  color: white !important;
  font-size: 105%;
  padding: 20px;
  box-shadow: none;
  box-sizing: border-box;
}

fields input:-webkit-autofill {
  background-color: rgba(0,0,0, 0.2) !important;
  color: white !important;
}

.fields input::-webkit-input-placeholder {
	color: rgba(255,255,255, 0.2);
}

.fields input::-moz-placeholder {
	color: rgba(255,255,255, 0.2);
}

.fields input:-ms-input-placeholder {
	color: rgba(255,255,255, 0.2);
}

.fields .wrapper.error input {
	box-shadow: inset 0 0 0 2px rgba(255,31,31, 0.2);
}

.fields .wrapper.error::after {
	display: block;
	position: absolute;
	top: 0;
	right: 20px;
	bottom: 0;
	color: #ff1f1f;
	line-height: 60px;
	font-size: 90%;
	font-weight: 600;
}

.fields .wrapper.invalid::after {
	content: 'Invalid email';
}

.fields .wrapper.invalid input {
	padding-right: 126px;
}

.fields .wrapper.unknown::after {
	content: 'Unknown email';
}

.fields .wrapper.unknown input {
	padding-right: 146px;
}

.actions {
	display: flex;
	position: relative;
	align-items: center;
}

.confirm .actions {
	margin: 48px 48px 32px 48px;
}

.actions input,
.actions label {
	cursor: pointer;
}



.actions button.loading,
.actions button.loading:hover {
	background: rgba(0,0,0, 0.2);
	box-shadow: none;
	cursor: progress;
}

.actions button.loading span {
	opacity: 0;
}

.confirm .actions button {
	width: 50%;
	margin-left: 24px;
	box-sizing: border-box;
}

.confirm .actions button:first-child {
	margin-left: 0;
}

.actions button.cancel {
	color: rgba(255,255,255, 0.8);
	box-shadow: inset 0 0 0 3px rgba(0,0,0, 0.3);
}

.actions button:focus,
.actions button:hover {
	box-shadow: none;
	background: #f9a11b;
	color: rgba(0,0,0, 0.8);
}

.actions button.cancel:focus,
.actions button.cancel:hover {
	background: rgba(0,0,0, 0.3);
	color: rgba(255,255,255, 0.8);
}

.actions button:active {
	color: white !important;
}


.actions button {
    height: 48px;
    padding: 0 24px;
    box-sizing: border-box;
    border: 3px solid #f9a11b;
    border-radius: 24px;
    text-transform: uppercase;
    margin-left: auto;
    background:none;
    color:#fff;   
}

.tos{
	font-size:11px;
	color:#fff;
	padding:10px 28px 0 28px;
	opacity:.5;
}
.tos a{
	text-decoration:underline;
}

/* =========
	Sign in
 ========= */
.container.sign-in h1{
	padding: 10px 28px 0 28px;
}

.container.sign-in form {
    padding: 0 28px 32px 28px;
}
.actions {
    display: flex;
    position: relative;
    align-items: center;
	padding-right: 0;
}

.sign-in .header a {
	display: block;
	position: relative;
	margin-left: auto;
	color: #0082f1;
	font-weight: 600;
	padding-right: 14px;
	margin-bottom: 3px;
}

.sign-in .header a::after {
	content: "";
	position: absolute;
	width: 6px;
	height: 6px;
	border-right: 2px solid #0089fd;
	border-bottom: 2px solid #0089fd;
	transform: rotate(-45deg);
	top: 5px;
	margin-left: 4px;
}

.sign-in .fields input[type=password] {
	padding-right: 58px;
}

.sign-in .fields .forgot-button {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 32px;
	height: 32px;
	z-index: 10;
	background: #1e1f21;
	border-radius: 100%;
	text-align: center;
	line-height: 32px;
	font-weight: 600;
	color: #0082f1;
	cursor: pointer;
}

.sign-in .fields input:-webkit-autofill + .forgot-button {
	display: none;
}

.sign-in .fields .wrapper.incorrect .forgot-button {
	display: none;
}

.sign-in .fields .wrapper.incorrect::after {
	content: 'Try again';
}

.sign-in .fields .wrapper.incorrect input {
	padding-right: 102px;
	position: relative;
	animation: shake .6s linear;
}

.sign-in .actions input[type=checkbox] {
	width: 0;
	height: 0;
	border: 0;
	padding: 0;
	margin: 0;
	position: absolute;
	top: 15px;
}

.sign-in .actions label {
	position: relative;
	color: rgba(255,255,255, 0.5);
	-webkit-user-select: none;
	-moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding-left: 34px;
}

.sign-in .actions label::before {
	display: block;
	position: absolute;
	content: "";
	width: 24px;
	height: 24px;
	background: #18191a;
	top: -3.5px;
	left: 0;
}

.sign-in .actions input[type=checkbox]:focus + label::before {
	box-shadow: inset 0 0 0 2px rgba(255,255,255, 0.06);
}

.sign-in .actions input[type=checkbox]:active + label::before {
	box-shadow: inset 0 0 0 2px rgba(255,255,255, 0.06);
}

.sign-in .actions input[type=checkbox]:checked + label {
	color: white;
}

.sign-in .actions input[type=checkbox]:checked + label::after {
	display: block;
	position: absolute;
	content: "";
	width: 5px;
	height: 10px;
	border: solid #0082f1;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	top: 1px;
	left: 9px;
}

.sign-in .facebook {
	padding: 32px;
	border-top: 1px solid rgba(0,0,0, 0.3);
}

.sign-in .facebook button {
	position: relative;
	width: 100%;
	height: 56px;
	background: #4862a3;
	border-radius: 28px;
	text-transform: uppercase;
	font-size: 110%;
	line-height: 52px;
	box-sizing: border-box;
	padding-right: 8px;
	transition: 0.4s;
	color:#fff;
}

.sign-in .facebook button img {
    display: inline-block;
    position: relative;
    top: -2px;
    margin-right: 10px;
}

.sign-in .facebook button.loading {
	background: rgba(0,0,0, 0.2);
	cursor: progress;
	background-size:32px 32px;
}

.sign-in .facebook button.loading span {
	display: none;
}

/* Error Message */

.error-msg{
	color:#d61818;
	padding:10px 0px;
}

/* Forgot Password */

.container.forgot, .container.email-sent{
	padding:60px 28px 0 28px;
}
.container.forgot h2, .container.email-sent h2{
	padding-left:0px;
	padding-top:40px;
	}

.forgot-link {
    color: #0082f1;
    right: 0px;
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left: 185px;
    cursor: pointer;
}	
	
@media screen and (max-width: 400px) {
	.facebook, .sign-in .facebook, #email_signup{
		
	}
	.facebook button, .sign-in .facebook button, #signup_open {
		
		font-size: 100%;
	}
}	
	
@media screen and (max-width: 320px) {
	.facebook, .sign-in .facebook, #email_signup{
		padding-left:0px;
	}
	.facebook button, .sign-in .facebook button, #signup_open {
		width: 280px;
		font-size: 100%;
	}
	h1, .tos, .container.sign-in h1{
		padding-left:10px;
	}
	.signup-form, .container.sign-in form {
    padding: 10px 10px 0 10px;
	}

}

