/* ---------- Common ---------- */

body, .ui-body-c {
	background: #f9f9f9 url('imgs/bg.png') center top;
}

.hide { display: none; }
.clear { clear: both; height: 0;}
.center { text-align: center; }
.red { color: red; }
.fleft { float: left; }
.fright { float: right; }



@media screen and (max-height: 470px) {
	.content-no-padding {
		padding-top: 0 !important;
	}
}

@media screen and (max-width: 350px) {
	.content-no-padding {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

.content-textual {
	max-width: 800px;
	margin: 0 auto;
	text-align: justify;
}

.btnLeft { float: left; }
.btnRight { float: right; }

.smallBtn .ui-btn-inner {
	font-size: 12px;
	padding-top: 11px;
	padding-bottom: 12px;
}

/* ---------- commentDialog---------- */
.socialIcon {
	margin: -8px 0px -8px -16px;
	vertical-align: middle;
}

/* ---------- Game tab ---------- */
#game, #gameMatchOver {
	position: relative;
	min-width: 300px;
	max-width: 350px;
	min-height: 300px;
	margin: 0 auto;
	/* border: 1px solid red; */
}
#gameEntity {
	position: relative;
	width: 300px;
	height: 300px;
	margin: 0 auto;
}
#gameBtns {
	text-align: center;
	margin: 0;
}

#gameMatchOver {
	display: none;
	text-align: center;

	background: white url(imgs/headerBg.png) center top;
	padding: 1px 20px;
	border-radius: 50px;
	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.35);
}

#gameMatchOver p, #gameMatchOver h2 {
	margin: 10px 0;
}

#gameMatchOver .profileDesc {
	background: white;
	border-radius: 20px;
	margin: 0;
	padding: 10px;
	text-align: left;
	box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.5) inset;
}
#gameMatchOver .profileDesc p {
	margin: 0;
	font-size: 80%;
}

#gameMatchOver .profileImage {
	float: left;
	margin: 0 10px 10px 0;
	height: 6em;
	box-shadow: 0 1px 8px 0 rgba(0, 0, 0, .8);
	border-radius: 10px;
}

#gameMatchOver .profileDesc p.shareBtn {
	text-align: right;
	margin: 5px -5px -5px -5px;
}

@media screen and (max-height: 470px) {
	#game, #gameMatchOver {
		margin-top: -10px;
	}
	#gameBtns {
		margin-top: -20px;
	}
}



#scoreBox {
	background: white url(imgs/headerBg.png) center top;
	padding: 10px 10px 0 10px;
	border-radius: 20px;
	position: absolute;
	right: 15px;
	text-align: right;
	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.35);
}

#scoreBox p {
	padding: 0;
	margin: 0;
	margin-bottom: 10px;
}

@media screen and (max-width: 530px) {
	#scoreBox {
		display: none;
	}
}

/*-------------------List tab------------*/
.smallButton
{
  color:transparent;
  text-shadow:none;
}
.smallButton:hover
{
  color:rgb(80,80,80);
  text-shadow:none;
}
#search
{
  right:60px;
  color:rgb(60,60,60);
  text-shadow:none;
}

#suggest
{
  right:120px;
  color:rgb(60,60,60);
  text-shadow:none;
}
#info
{

  color:rgb(60,60,60);
  text-shadow:none;
}
.stats
{
}

/*------------loading page------------*/
.loadingMain {
  background: url(imgs/ajax-loader.gif) no-repeat center center;
  height: 100%;
  width: 100%;
  top:0;
  padding: 0;
  position: absolute;
  z-index: 1000;
}

.menu
{
  width:200px;
  float:right;
  right:0px;
  top:44px;
  position:absolute;
  margin:0px;
  z-index:100;
}

.half
{
	width:50% !important;
}

.quarter
{
	width:25% !important;
}

.terms
{
	width:90%;
	height:170px;
	overflow-y:scroll;
	border: 3px solid white;
	margin:0 auto;
}

.counter{
	font: 50pt 'Fredericka the Great', cursive;
	text-decoration: none;
	text-shadow: 4px 2px #BBBBBB;
	position:absolute;

}
.counterText{
	font: 20pt 'Fredericka the Great', cursive;
	text-decoration: none;
	position:relative;
	top:51pt;
}

.counterDiv{
  height:150px;
  width:600px;
  margin:0 auto;
  text-align:center;
}

p.info {
	text-align: center;
	font-size: 80%;
	margin: 0 0 4px 0;
}



/* --------- fillBar --------------------- */
.fillBar {
	position: relative;
	display: inline-block;
	width: 100%;
	height: 10px;
	overflow: hidden;
	border-radius: 4px;
	box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.5);
}
.fillBar .filler {
	position: absolute;
	top: 0; left: 0;
	width: 0%; height: 100%;
	background-color: #46ee46;
	border-radius: 4px;
	box-shadow: 0 -1px 6px 0 rgba(0, 0, 0, 0.5) inset;

		-webkit-transition: width .4s;
		-moz-transition: width .4s;
		-o-transition: width .4s;
		-ms-transition: width .4s;
	transition: width .4s;
}
.fillBar .over {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.5) inset;
	border-radius: 4px;
}

/* ---------- affinities ---------- */
#affinitiesBox {
	position: relative;
	width: 550px;
	margin: 20px auto;
	padding: 10px;
	border-radius: 20px;
	box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.5);
}
#affinitiesBox{
	padding: 15px 10px 5px 10px;
}
.vBarArea {
	position: absolute;
	top: 20px;
	left: 0;
	width: 100%;
	text-align: center;
}
.vBarArea p {
	margin: 0;
	font-size: 14px;
	font-weight: bold;
}
.vBar {
	position: relative;
	width: 40px;
	height: 140px;
	margin: 5px auto;
	background-color: rgba(0, 0, 0, 0.1);
	box-shadow: 2px 2px 10px 0 black inset;
	border-radius: 10px;
}
.vBarFill {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 50%;
	text-align: center;
	font-size: 12px;
	text-shadow: 0 0 2px black;
	color: white;
	padding-top: 4px;

	border-radius: 10px;
	background-color: #f39;
	box-shadow: -2px -2px 10px 0 rgba(0, 0, 0, 0.5) inset, 0 0 20px 0 #f39;

		-webkit-transition: all .2s;
		-moz-transition: all .2s;
		-o-transition: all .2s;
		-ms-transition: all .2s;
	transition: all .2s;
}
.logoBox {
	text-align: center;
	width: 250px;
}
#logoP1, #logoP2 {
	width: 140px;
	height: 140px;
	margin: 20px auto;
	border-radius: 50%;
	border: 5px solid white;
	box-shadow: 0 5px 10px 0 black;
}
#logoP2 {
}

#affinitiesCouples {
	padding: 0 15px;
}

#affinitiesGraph {
	width: 750px;
	height: 415px;
	margin: 0 auto;
	padding: 0;
	position: relative;
	overflow: hidden;
}

#affinitiesGraphToolbar {
	bottom: 0; left: 0;
	position: absolute;
	padding: 10px;
}

#affinitiesGraphBox {
	position: absolute;
	width: 750px;
	height: 415px;
}

/* SVG */
#affinitiesGraphBox .node {
	stroke: #fff;
	stroke-width: 1.5px;
}

#affinitiesGraphBox .link {
	stroke: #999;
	stroke-opacity: .6;
}

#affinitiesGraphBox .node text {
	pointer-events: none;
	font: 20px verdana;
	font-family: Arial;
	stroke-width: 0;
	stroke: #000;
	fill: #fff;
}

/* ----- Senate --------- */
#affinitiesBox, #senateBox {
	position: relative;
	width: 550px;
	margin: 10px auto;
}

#senatePartyList .smallLogo {
	vertical-align: middle;
	width: 25px;
}

.w25 {
	position: relative;
	width: 25%;
	height: 1px;
}

#senatePartyList label {
	display: block;
	width: 250px;
	padding: 10px;
	margin: 0;
	border-radius: 10px;
}
#senatePartyList label.checked {
	background-color: rgba(0, 0, 0, .1);
	box-shadow: 0 3px 15px 0 rgba(0, 0, 0, .3) inset;
}

#senatePartyList label:hover {
	box-shadow: 0 0 50px 0 #3f9 inset, 0 0 20px 0 #3f9;
}

#senatePartyList .coalition {
	border-radius: 10px;
	width: 270px;
	margin-bottom: 10px;
	box-shadow: 0 0 5px 0 #f33;
}

#senatePartyList .coalition.blue {
	box-shadow: 0 0 5px 0 #3cf;
}

#senatePartyList .coalition.yellow {
	box-shadow: 0 0 5px 0 #ff0;
}

#senatePartyList .coalition.orange {
	box-shadow: 0 0 5px 0 #fa0;
}

#senateContent .note {
	border-top: 1px solid #ccc;
	font-size: 75%;
	margin-bottom: 0;
}

.threshold {
	position: absolute;
	top: 47%;
	border-top: 1px solid red;
	color: red;
	text-align: right;
	width: 70px;
	font-size: 12px;
}