/* OAuth */

#oauth{
	background-color: #fff;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.4);
  box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.4);
  margin: 12px auto;
  width: 92%;
  padding: 24px 12px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#oauth hr{
  background-image: url(../images/oauth_rule.png);
  background: -moz-radial-gradient(center, ellipse cover,  rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 80%);
	background: -webkit-gradient(radial, center center, 0px, center center, 80%, color-stop(0%,rgba(0,0,0,0.1)), color-stop(100%,rgba(0,0,0,0)));
	background: -webkit-radial-gradient(center, ellipse cover,  rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 80%);
	background: -o-radial-gradient(center, ellipse cover,  rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 80%);
	background: -ms-radial-gradient(center, ellipse cover,  rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 80%);
	background: radial-gradient(ellipse at center,  rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 80%);
  background-size: 100%;
  border: none;
  border-top: 1px solid #fff;
  content: "";
  display: block;
  height: 6px;
  width: 100%;
  margin: 8px 0;
}
#oauth h1 a{
	width: 146px;
	height: 45px;
	display: block;
	background: #fff url(../images/untappd.png) top left no-repeat;
	text-indent: -9999px;
	margin: 0 auto;
}
#oauth .details{
	background-color: #fffcf0;
	border: 1px solid #e3ddc9;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto 12px;
  padding: 4px 8px;
}
#oauth h2{
	text-align: center;
	font-size: 14px;
	margin-bottom: 12px;
}
#oauth .details .app{
	background-color: #fff;
	border: 1px solid #eee;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 12px auto;
  padding: 8px;
  min-height: 70px;
}
#oauth .details .app img{
	float: left;
}
#oauth .details .app span{
	vertical-align: top;
	margin-left: 60px;
	display: block;
}
#oauth .details .app h3{
	font-weight: 600;
	font-size: 16px;
}
#oauth .details .app a{
	font-size: 14px;
}

#oauth .details .permissions{
	font-size: 12px;
	line-height: 18px;
	text-align: center;
	color: #666;
	width: 100%;
	margin: 0 auto 12px;
	font-color: #999;
}
#oauth .allow a, #oauth .signin a, #oauth .signup a{
	width: 100%;
	max-width: 300px;
	font-size: 22px;
	padding: 6px 0;
	margin: 12px auto 0;
}
#oauth .deny{
	font-size: 14px;
	text-align: center;
	margin-top: 12px;
}
#oauth .deny a{ font-color: #666; font-size: 16px; }
#oauth .actions{ text-align: center; }
#oauth .who{ margin-bottom: 12px; }
#oauth .who p{
	font-size: 12px;
	padding-top: 4px;
	color: #666;
	text-align: center;
	vertical-align: top;
}
#oauth .who .switch{ margin-top: 8px; }
#oauth .who .user{
	font-size: 16px;
}
#oauth .loading{ text-align: center; }
#oauth .error{
	margin: 0 auto 12px;
	width: 80%;
}

/* Desktop ------ */
@media screen and (min-width: 520px){
	#oauth{
		max-width: 520px;
		margin-top: 40px;
	}
	#oauth .signin, #oauth .signup{
		display: inline-block;
		width: 150px;
		margin: 0 24px;
	}
	#oauth h2{ font-size: 18px; }
	#oauth .details{
		  max-width: 460px;
	}
	#oauth .details .permissions{ width: 88%; }
	#oauth .details .app{ max-width: 360px; }
	#oauth .details .app h3{ font-size: 20px; }
}

/* IE8 ------ */
html.lt-ie9 #oauth{
	max-width: 520px;
	margin-top: 120px;
}
html.lt-ie9 #oauth .signin, html.lt-ie9 #oauth .signup{
	display: inline-block;
	width: 150px;
	margin: 0 24px;
}
html.lt-ie9 #oauth .permissions{ width: 88%; }
html.lt-ie9 #oauth h2{ font-size: 18px; }
html.lt-ie9 #oauth .app span h3{ max-width: 200px; }