@charset "utf-8";

#wrapper {
	width: 100%;
	max-width: 1800px;
	margin:0 auto;
	font-family:Helvitica,sans-serif;
}

header {
	display: block;
	padding-top: 2%;
	color: #0d0c0c;
	text-transform: none;
	background-color: rgb(45,62,90);
	background-image: -webkit-gradient(linear, top, rgb(45,62,90), rgb(70,96,139));
	background-image: -moz-linear-gradient(rgb(45,62,90), rgb(70,96,139));
	background-image: -o-linear-gradient(rgb(45,62,90), rgb(70,96,139));
	background-image: -ms-linear-gradient(rgb(45,62,90), rgb(70,96,139));
	background-image: -chrome-linear-gradient(rgb(45,62,90), rgb(70,96,139));
	background-image: linear-gradient(rgb(45,62,90), rgb(70,96,139));
	background-position: 0 top;
	background-repeat: no-repeat;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	margin-right: auto;
	margin-left: auto;
	width: 100%;
	height: 166px;	
}

.img-wrap {
    max-width:98% !important;
    height:auto;
    display:block;
}

#logo {
	background-image: url(../images/logo-poise.png);
	background-repeat: no-repeat;
	background-size: contain;
	min-height: 100px;
	height: 120px;
}

#mainNav {
	float: left;
	margin: 0;
	padding: 0;
	margin-top: 16px;
	width: 100%;
	cursor: pointer;
}

#mainNav li, #mainNav li.a {
	float: left;
}

#mainNav li {
	list-style: none;
	position: relative;
}

#mainNav li a {
	display: block;
	font: 0.7em 'Trebuchet MS', Arial, Helvetica, Sans-serif;
	height: 30px;
	line-height: 40px;
	padding-left: 0.9em;
	padding-right: 0.9em;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
	text-decoration: none;
	color: #ffffff;
	background-image: url(../images/button.gif);
	background-repeat: repeat-x;
}

#mainNav li a:hover {
	background: #fff;
	color: black;
}

/* Sub Menus */

#mainNav li ul {
	display: none;
	position: absolute;
	left: 0;
	padding: 0;
	margin: 0;
	top: 100%;
}

#mainNav li:hover > ul {
	display: block;
	position: absolute;
	z-index: 10;
}

#mainNav li.active > ul {
	display: block;
	position: absolute;
}

#mainNav li ul li, #mainNav li ul li a {
	float: none;
}

#mainNav li ul li {
	_display: inline; /* IE6 crap */
}

#mainNav li ul li a {
	width: 150px;
	display: block;
	background-color: rgb(78,104,149);
	background-image: none;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	padding-bottom: 5px;
}

#mainNav li ul li a.parent { 
	background:rgb(78,104,149) url(../images/pointer.gif) no-repeat right center;
	cursor: pointer;
}

/* Level 3 Subs */

#mainNav li ul li ul {
	display: none;
}

#mainNav li ul li:hover ul {
	left: 100%;
	top: 0;
}

#mainNav li ul li a:hover {
	background-color: rgb(45,62,90);
	color: white;	
}



#content {
	width: 100%;
	min-height: 72vh;
	background-color: #C9D0DC;
	text-align: center;
	font-family: "Courier New", Courier, monospace;
	font-size: 0.9em;
	overflow: hidden;
}

@media screen and (max-width: 640px) {
	#content {
		min-height: 52vh;
	}
}	

footer {
	padding-top: 0;
	height: 38px;
	font-size: 10px;
	color: #ffffff;
	text-align: center; 
	font-weight: normal;
	background-color: rgb(45,62,90);
	font-family: Helvitica,sans-serif;
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

#login {
	width: 20%;
	font-weight: 400;
	margin-left: 40%;
}

@media screen and (max-width: 1300px) {
	#login {
		width: 30%;
	}
}

@media screen and (max-width: 940px) {
	#login {
		width: 40%;
	}
}

@media screen and (max-width: 700px) {
	#login {
		width: 70%;
		margin-left: 15%;
	}
}

@media screen and (max-width: 360px) {
	#login {
		width: 100%;
		margin-left: 0;
	}
}	

#login h2 {
	text-align: center;
	font-size: 1.5em;
}

#login h3 {
	text-align: center;
	font-size: 1em;
	color: #ff0000;
}

#login div {
	width: 100%;
	margin-bottom: 10px;
	float: left;
}

#login fieldset {
	border: 1px dotted #ccc;
	padding: 2%;
	margin-bottom: 10px;
	background: #ffffff;
	background: linear-gradient(top, #ffffff 77%,#f2f2f2 100%);
	border-radius: 4px;
	box-shadow: 2px 2px 5px hsla(0, 0%, 16.6667%, 0.3);
}

#login label {
	width: 10%;
	float: left;
}

#login input {
	height: 20px;
	font-size: 1em;
	width: 70%;
	float: right;
}

#login input#submit {
	text-decoration: none;
	height: 34px;
	font: 1.25em /* 36px ÷ 16 */ 'BebasNeueRegular';
	background-color: rgb(45,62,90);
	border-radius: 8px;
	color: white;
	margin-bottom: 10px;
	background: linear-gradient(top, #ffffff 77%,#f2f2f2 100%);
	margin-top: 10px;
	box-shadow: 5px 5px 5px hsla(0, 0%, 26.6667%, 0.8);
	text-shadow: 0px 1px black;
	border: 1px solid #bfbfbf;
	margin-right: 15%;
}

#login input:required {
	border: 1px solid rgba(253, 8, 8, 0.29);	
}
#login input#username:focus:invalid {
	background: url('../images/cross.png') no-repeat right;
	padding-right: 3px;
}
#login input#password:focus:valid {
	background: url('../images/g_tick.png') no-repeat right;
	padding-right: 3px;
}

#tsignin {
	width: 30%;
	font-weight: 400;
	margin-left: 35%;
	font-size: 0.9em;
}

@media screen and (max-width: 1500px) {
	#tsignin {
		width: 40%;
		margin-left: 30%;
	}
}

@media screen and (max-width: 1150px) {
	#tsignin {
		width: 60%;
		margin-left: 20%;
	}
}

@media screen and (max-width: 780px) {
	#tsignin {
		width: 75%;
		margin-left: 12.5%;
	}
}

@media screen and (max-width: 380px) {
	#tsignin {
		width: 100%;
		margin-left: 0;
	}
}	

#tsignin h2 {
	text-align: center;	
	font-size: 1.5em;
}

#tsignin h3 {
	text-align: center;
	font-size: 1em;
	color: #00cc33;
}

#tsignin h3.fail {
	color: #ff0000;
}

#tsignin fieldset {
	border: 1px dotted #ccc;
	padding: 2%;
	margin-bottom: 10px;
	background: #ffffff;
	background: linear-gradient(top, #ffffff 77%,#f2f2f2 100%);
	border-radius: 4px;
	box-shadow: 2px 2px 5px hsla(0, 0%, 16.6667%, 0.3);
}

#tsignin div {
	width: 100%;
	margin-bottom: 10px;
	float: left;
}

#tsignin label {
	width: 20%;
	float: left;
	text-align: right;
}

#tsignin input {
	height: 20px;
	font-size: 1em;
	width: 70%;
	float: right;
}

@media screen and (max-width: 620px) {
	#tsignin label {
		width: 35%;
	}
	#tsignin input {
		width: 50%;
	}
}

@media screen and (max-width: 320px) {
	#tsignin label {
		width: 50%;
	}
	#tsignin input {
		width: 45%;
	}
}	

#tsignin input#submit {
	text-decoration: none;
	height: 34px;
	width: 100px;
	font: 1.25em /* 36px ÷ 16 */ 'BebasNeueRegular';
	background-color: rgb(45,62,90);
	border-radius: 8px;
	color: white;
	margin-bottom: 10px;
	background: linear-gradient(top, #ffffff 77%,#f2f2f2 100%);
	margin-top: 10px;
	box-shadow: 5px 5px 5px hsla(0, 0%, 26.6667%, 0.8);
	text-shadow: 0px 1px black;
	border: 1px solid #bfbfbf;
	margin-right: 40%;
}

@media screen and (max-width: 360px) {
	#tsignin input#submit {
		margin-right: 35%;
	}
}

#tsignin input:required {
	border: 1px solid rgba(253, 8, 8, 0.29);
}

#generals {
	text-align: center;
}

#generals table {
	text-align: center;
	margin: auto;
}

#generals table.filter {
    text-align: left;
}
#generals table tr {
    background-color: #eee;
}
#gResults #tr.head {
    background-color: #000;
    color: #fff;
	font-weight: bold;
}
#gResults #tr.head a {
    color: #fff;
}
#gResults tr:nth-child(odd) {
    background-color: #ccc;
}
#gResults tr:nth-child(even) {
    background-color: #ddd;
}
#gResults tr td.selectedheader {
    font-weight: bold;
}

#bRoster {
	text-align: center;
}

#bRoster h2 {
	text-align: center;	
	font-size: 1.5em;
}

#bRoster table {
	text-align: center;
	margin: auto;
	padding: 0;
	border: 0;
	font-size: 0.8em;
	width: 90% !important;
	overflow: hidden;
}

#bRoster table tr:nth-child(even) {
	background-color: #E4E4E4;
}

#bRoster table tr:nth-child(odd) {
	background-color: #F7F7F7;
}

#bRoster table tr:first-child {
	background-color: black;
	color: yellow;
}

#bRoster table tr#avg {
	background-color: black;
	color: yellow;
}

#bRoster table a, #bRoster a:visited {
	text-decoration: none;
	color: blue;
}

#roster-menu {
  width: 90%;
  margin-left: 10px;
  margin-right: 10px;
  padding: 1px 0px 0px 3px;
  height: 20px;
  line-height: 100%;
  border-radius: 24px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  box-shadow: -3px 2px 3px #666666;
  -webkit-box-shadow: -3px 2px 3px #666666;
  -moz-box-shadow: -3px 2px 3px #666666;
  background: #1D226B;
  background: linear-gradient(top,  #4C76C2,  #131A47);
  background: -ms-linear-gradient(top,  #4C76C2,  #131A47);
  background: -webkit-gradient(linear, left top, left bottom, from(#4C76C2), to(#131A47));
  background: -moz-linear-gradient(top,  #4C76C2,  #131A47);
  border: solid 1px #6D6D6D;
  position:relative;
}
#roster-menu li {
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  float: left;
  position: relative;
  list-style: none;
}
#roster-menu a {
  font-weight: bold;
  font-family: arial;
  font-style: normal;
  font-size: 9px;
  color: #E7E5E5;
  text-decoration: none;
  display: block;
  padding: 1px 13px 0px 10px;
  margin: 0;
  margin-bottom: 0px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  text-shadow: 2px 2px 3px #000000;
}
#roster-menu li ul li a {
  margin: 0;
}
#roster-menu .active a, #roster-menu li:hover > a {
  background: #0399D4;
  background: linear-gradient(top,  #EBEBEB,  #A1A1A1);
  background: -ms-linear-gradient(top,  #EBEBEB,  #A1A1A1);
  background: -webkit-gradient(linear, left top, left bottom, from(#EBEBEB), to(#A1A1A1));
  background: -moz-linear-gradient(top,  #EBEBEB,  #A1A1A1);
  color: #444444;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  text-shadow: -1px 2px 3px #FFFFFF;
}
#roster-menu ul li:hover a, #roster-menu li:hover li a {
  background: none;
  border: none;
  color: #666;
  text-shadow: none;
  -box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}
#roster-menu ul a:hover {
  background: #0399D4 !important;
  background: linear-gradient(top,  #04ACEC,  #0186BA) !important;
  background: -ms-linear-gradient(top,  #04ACEC,  #0186BA) !important;
  background: -webkit-gradient(linear, left top, left bottom, from(#4C76C2), to(#0186BA)) !important;
  background: -moz-linear-gradient(top,  #04ACEC,  #0186BA) !important;
  color: #FFFFFF !important;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  
}
#roster-menu ul {
  background: #DDDDDD;
  background: -ms-linear-gradient(top,  #FFFFFF,  #CFCFCF);
  background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#CFCFCF));
  background: -moz-linear-gradient(top,  #FFFFFF,  #CFCFCF);
  background: linear-gradient(top,  #FFFFFF,  #CFCFCF);
  display: none;
  margin: 0;
  padding: 0;
  width: 95px;
  position: absolute;
  top: 18px;
  right: 0;
  border: solid 1px #B4B4B4; /*
  border-radius: 10px;
  -webkit-border-radius: 10px; */
  -moz-border-radius: 10px;
  -webkit-box-shadow: 2px 2px 3px #222222;
  -moz-box-shadow: 2px 2px 3px #222222;
  box-shadow: 2px 2px 3px #222222;
}
#roster-menu li:hover > ul {
  display: block;
}
#roster-menu ul li {
  float: none;
  margin: 0;
  padding: 0;
}
#roster-menu ul a {
  padding:10px 0px 10px 0px;
  color:#000 !important;
  font-size:9px;
  font-style:normal;
  font-family:arial;
  font-weight: bold;
  text-shadow: none;
} /*
#roster-menu ul li:first-child > a {
  border-top-left-radius: 10px;
  -webkit-border-top-left-radius: 10px;
  -moz-border-radius-topleft: 10px;
  border-top-right-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topright: 10px;
}
#roster-menu ul li:last-child > a {
  border-bottom-left-radius: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-radius-bottomleft: 10px;
  border-bottom-right-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-radius-bottomright: 10px;
} */
#roster-menu:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#roster-menu {
  display: inline-block;
}
  html[xmlns] #roster-menu {
  display: block;
}
* html #roster-menu {
  height: 1%;
}

#paste_source {
	width: 70%;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

table.tblComp {
	width: 50%;
	border: none;
	padding: 0px;
	text-align: center;
	font-size: 0.9em;
}

table.tblComp tr:nth-child(even) {
	color: #000;
	background-color: #eeeeee;
}

table.tblComp tr:nth-child(odd) {
	color: #000;
	background-color: #fefefe;
}

table.tblComp tr td:nth-child(3) {
	color: #396;
}

table.tblComp tr td:nth-child(4) {
	color: #F63;
}

table.tblComp tr td:nth-child(5) {
	color: #F00;
}

table.tblComp tr.head td {
	font-weight: bold;
	color: #fff;
	background-color: #000;
	width: 20%;
	height: 20px;
}

table.tblComp tr.foot td {
	font-weight: bold;
	color: #ff0;
	background-color: #000;
	height: 20px;
}

table.tblFilter {
	width: 40%;
	border: none;
	padding: 1px;
	background-color: #eee;
	color: #000;
	margin: 0 auto;
	font-size: 0.9em;
}

table.tblFilter tr td:first-child {
	text-align: right;
	color: #000;
	width: 30%;
}

table.tblFilter tr td:nth-child(2) {
	text-align: left;
	color: #000;
	width: 70%;
}

table.tblFilter tr td.centered {
	text-align: center;
}

table.tblFilter table.tblInline td {
	text-align: left;
	width: 20%;
	color: inherit;
}

table.tblBrResults {
	width: 99%;
	border: none;
	padding: 0px;
	font-size: 0.8em;
}

table.tblBrResults tr:nth-child(even) {
	color: #000;
	background-color: #eeeeee;
}

table.tblBrResults tr:nth-child(odd) {
	color: #000;
	background-color: #fefefe;
}

table.tblBrResults td {
	text-align: center;
}

table.tblBrResults td a {
	text-decoration: none;
}

table.tblBrResults td a:visited {
	text-decoration: none;
	color: blue;
}

table.tblBrResults td.fname, td.nation, td.ruler, td.signin, {
	width: 9%;
}

table.tblBrResults td.warchest {
	width: 6%;
}

table.tblBrResults td.edit, td.select {
	width: 2%;
}

table.tblBrResults td.strength, td.infra, td.tech, td.signin, td.brigade {
	width: 5%;
}

table.tblBrResults td.aslots {
	width: 4%;
}

table.tblBrResults td.wonder, td.nukes, td.spies, td.mode {
	width: 2.5%;
}

table.tblBrResults tr.head td {
	font-weight: bold;
	color: #fff;
	background-color: #000;
}

table.tblWondEdit {
	width: 98%;
	text-align: center;
	border: none;
	font-size: 0.8em;
	font-weight: normal;
}

table.tblWondEdit tr:nth-child(even) {
	color: #000;
	background-color: #eeeeee;
}

table.tblWondEdit tr:nth-child(odd) {
	color: #000;
	background-color: #fefefe;
}

table.tblWondEdit tr.head td {
	font-weight: bold;
	color: #fff;
	background-color: #000;
	height: 20px;
}

table.tblWondEdit tr.head td.txt {
	width: 10%;
}

table.tblWondEdit tr.head td.num {
	width: 6%;
}

table.tblWondEdit tr.head td.chk {
	width: 3%;
}

table.tblWondEdit td a {
	text-decoration: none;
}

table.tblWondEdit td a:visited {
	text-decoration: none;
	color: blue;
}

table.tblIncs {
	width: 80%;
	border: none;
	padding: 0px;
	text-align: center;
	font-size: 0.8em;
}

table.tblIncs tr:nth-child(even) {
	color: #000;
	background-color: #eeeeee;
}

table.tblIncs tr:nth-child(odd) {
	color: #000;
	background-color: #fefefe;
}

table.tblIncs tr.head td {
	font-weight: bold;
	color: #fff;
	background-color: #000;
	width: 10%;
	height: 20px;
}

table.tblIncs tr.head td.fid, td.ghost, td.app {
	width: 5%;
}

table.tblIncs td a {
	text-decoration: none;
}

table.tblIncs td a:visited {
	text-decoration: none;
	color: blue;
}

#tblTarget {
	width: 90%;
	margin: auto;
}

#tblTarget tr:first-child {
	background-color: black;
	color: yellow;
	font-weight: bold;
	height: 20px;
}

#tblTarget tr:last-child {
	background-color: #E9E9E9;
	color: black;
	font-weight: normal;
	height: 20px;
}

#tblTarget a, #tblTarget a:visited {
	text-decoration: none;
	color: blue;
}

#tblTarget tr td.wonder {
	width: 3%;
}

#tblTarget tr td.text {
	width: 10%;
}

#tblTrange {
	width: 98%;
	margin: auto;
}

#tblTrange tr:nth-child(even) {
	background-color: #E9E9E9;
	color: black;
	font-weight: normal;
	height: 20px;
}

#tblTrange tr:nth-child(odd) {
	background-color:#D9D9D9;
	color: black;
	font-weight: normal;
	height: 20px;
}

#tblTrange tr.atwar {
	background-color:#FFB8DE;
}

#tblTrange tr.head {
	background-color: black;
	color: yellow;
	font-weight: bold;
	height: 20px;
}

#tblTrange tr.orange {
	background-color: orange;
	color: black;
	font-weight: bold;
}

#tblTrange tr.black {
	background-color: black;
	color: white;
	font-weight: bold;
}

#tblTrange tr.aqua {
	background-color: aqua;
	color: black;
	font-weight: bold;
}

#tblTrange tr.polar {
	background-color: #3366FF;
	color: white;
	font-weight: bold;
}

#tblTrange a, #tblTrange a:visited {
	text-decoration: none;
	color: blue;
}

#tblTrange tr td.wonder {
	width: 3%;
}

#tblTrange tr td.text {
	width: 12%;
}

#tblTwars {
	width: 40%;
	margin: auto;
	background-color: #E9E9E9;
}

#tblTwars tr:first-child {
	background-color: black;
	color: yellow;
	font-weight: bold;
	height: 20px;
}

#tblTwars tr td:first-child {
	font-weight: bold;
}

#tblAssigned {
	width: 98%;
	margin: auto;
}

#tblAssigned tr:nth-child(even) {
	background-color: #E9E9E9;
	color: black;
	font-weight: normal;
	height: 20px;
}

#tblAssigned tr:nth-child(odd) {
	background-color:#D9D9D9;
	color: black;
	font-weight: normal;
	height: 20px;
}

#tblAssigned tr.atwar {
	background-color:#FFB8DE;
}

#tblAssigned tr.head {
	background-color: black;
	color: yellow;
	font-weight: bold;
	height: 20px;
}

#tblAssigned tr.orange {
	background-color: orange;
	color: black;
	font-weight: bold;
}

#tblAssigned tr.black {
	background-color: black;
	color: white;
	font-weight: bold;
}

#tblAssigned tr.aqua {
	background-color: aqua;
	color: black;
	font-weight: bold;
}

#tblAssigned tr.polar {
	background-color: #3366FF;
	color: white;
	font-weight: bold;
}

#tblAssigned a, #tblAssigned a:visited {
	text-decoration: none;
	color: blue;
}

#tblAssigned tr td.wonder {
	width: 3%;
}

#tblAssigned tr td.text {
	width: 12%;
}