@charset "utf-8";
/* CSS Document */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

  .npc img {
	width: 10%;
  }
  
 span.nomobile {
	display: inline;
 }
/* <!-- */
/* General styles */
body {
	margin:5px auto;
	padding:0;
	border:0;			/* This removes the border around the viewport in old versions of IE */
	max-width: 720px;
	width:95%;
	background-color:#fff;
	font-size:0.8em;
	font-family: arial, verdana;
}
a {
	color:#369;
}
a:hover {
	color:#fff;
	background:#369;
	text-decoration:none;
}
h1, h2, h3 {
	margin: 0;
	padding:0;
	font-family: arial, verdana;
}

h2 {
	margin: 1.2em 0 0.6em 0;
	clear: both;
	}
a.isolation {
	margin:.4em .4em 1.2em 0;
	padding:0;
}

p {
	margin:.4em .4em 1.2em 0;
	padding:0;
}
pre {
	font-size: 1.25em;
	margin-bottom: 50px;
}

img {
	margin:10px 0 5px;
	border: thin solid black;
}
/* Header styles */

#header {
	clear:both;
	float:left;
	width:100%;
}
 #header {
	border-bottom: 5px solid darkblue;
	margin-bottom: 10px;
}
#header p { margin-left: 0; }

#header h1 { 
	margin: 4px 0 0 120px;
	width: 85%;
	padding: 0; 
	color: #000; 
	font-weight: normal; 	
	font-size: 22px; 	
}
span.subheading { 
	margin: 0;
	padding: 0; 
	color: darkblue; 
	font-size: 12px; 	
}


#banner-logo { 
	position: relative;
	top: 0;
	left: 20px;
	clear: none;
	margin: 2px; 
	padding: 0; 
	float: left;
	border: none;
}

#header p  { 
	color: #055;		 
	margin: 0 0 0 100px;
}

#header ul {
	clear:left;
	float:left;
	width:100%;
	list-style:none;
	margin:8px 0 0 0;
	padding:0 0 1.4em 0;
}
#header ul li {
	display:inline;
	list-style:none;
	padding:0;
	margin: 0;
}
#header ul li a {
	display:block;
	float:left;
	font-size: 1.25em;
	margin:0 7px 0 0;
	padding:3px 10px;
	text-align:center;
	color:#000;
	text-decoration:none;
	position:relative;
	line-height:2.24em;
}
#header ul li a:hover {
	background:#369;
	color:#fff;
}
#header ul li a.active,
#header ul li a.active:hover {
	color:#fff;
	background:#000;
	font-weight:bold;
}
#header ul li a span {
	display:block;
}


#bannerstrip ul li {
	display:inline;
	list-style:none;
	margin:0;
	padding:0;
}
#bannerstrip ul li a img {
	border: none;
}
#bannerstrip ul li a {
	display:block;
	float:left;
	margin:0 0 4px 1px;
	padding:2px 6px;
	text-align:center;
	background:#eee;
	color:#000;
	text-decoration:none;
	position:relative;
	left:0px;
	line-height:1.3em;
}
#bannerstrip ul li a:hover {
	background:#369;
	color:#fff;
}
#bannerstrip ul li a.active,
#bannerstrip ul li a.active:hover {
	color:#fff;
	background:#000;
	font-weight:bold;
}
#bannerstrip ul li a span {
	display:block;
}

ul.channelselect li {
	display:inline;
	list-style:none;
}
ul.channelselect li.first,
ul.channelselect li.middle {
	border-right: 1px black solid;
	list-style:none;
	padding:0 10px 0 0;
	margin: 0;
}
ul.channelselect li.middle,
ul.channelselect li.last {
	padding:0 10px 0 5px;
}

/* Footer styles */
#footer {
	clear:both;
	float:left;
	width:100%;
	border-top:1px solid #000;
}
#footer p { 
	padding:10px;
	margin:0;
}

div.fullpage {
	left: 10px;
}

#map_canvas {
	border: thin solid black;
	margin-bottom: 2em;
	display: block;
}

.weeflag {
	padding: 1px 2px -1px 0; 
	margin: 1px 2px -1px 0; 
	}

.standings {
	caption-side:bottom;
	border-collapse:collapse;
	color: #000099;
	width: 220px;
	text-align:right;
}
	
.standings tr td {
	color: #000099; padding-right: 8px;
}

.imp0 { color: white !important; }
.impL { color: red !important; font-weight: bold; }
.impL:after {content:" *";}
.impF { color: grey !important; }
.vp0 { color: white !important; }
.vpL { color: red !important; font-weight: bold; }
.vpL:after {content:" *";}
.vpF { color: #000099 !important; }

	
.score {
	caption-side:bottom;
	border-collapse:collapse;
	color: #000099;
	margin-bottom: 2em;
}
	
.score tr td {
	color: #000099; padding: 0 18px 4px 4px;
}
	
.team-name { text-align: left; width: 120px; 		}
.team-score { text-align: right; width: 10px; padding-right: 20px;		}

.vp_table {
	caption-side:bottom;
	color: #000;
	width: 55%;
	border-collapse:collapse;
}
	
.leftcell {	text-align: left; margin: 0; padding: 0;}
.rightcell {	text-align: right; margin: 0; padding: 0 4px 0 0; }
	
ul {
	float:left;
	width:100%;
	list-style:none;
	margin:0 0 0 0;
	padding:0 0 1.4em 0;
}
ul li {
	display:block;
	list-style:none;
	margin:0;
	padding:0;
}

ul.smalltext {
	clear:left;
	float:left;
	width:100%;
	list-style:none;
	margin:0 0 0 0;
	padding:0 0 1.4em 0;
}
ul.smalltext li {
	list-style:none;
	margin:0;
	padding:0;
	font-size: 0.82em;
}
.season {
	font-size: 1em;
	color: #000066;
	font-weight: bold;
	}

/* column container */
.colmask {
	position:relative;		/* This fixes the IE7 overflow hidden bug */
	clear:both;
	float:left;
	width:100%;				/* width of whole page */
	overflow:hidden;		/* This chops off any overhanging divs */
}
/* common column settings */
.colright,
.colmid,
.colleft {
	float:left;
	width:100%;				/* width of page */
	position:relative;
}
.col1,
.col2,
.col3 {
	float:left;
	position:relative;
	padding:0 0 1em 0;		/* no left and right padding on columns, we just make them narrower instead 
							only padding top and bottom is included here, make it whatever value you need */
	overflow:hidden;
}
/* Full page settings */
.fullpage {
	background:#fff;		/* page background colour */
}
.fullpage .col1 {
	width:100%;				/* page width minus left and right padding - was 96 */
	left:0;				/* page left padding - was 2 */
}

.cross {
	border: thin solid black;
	border-collapse:collapse;
	caption-side:bottom;
	}

.cross tr {
	border: thin solid black;
	padding: 4px;
	}

.cross tr td {
	border: thin solid black;
	padding 4px;
	text-align:center;
	}

.cross tr th {
	width: 540px;
	font-size: 90%;
	text-align:center;
	}
.td-left {
	text-align: left; 
	}
th {
text-align:center;
}
	

a[href^="http:"] { display:inline-block; padding-right:16px; background:transparent url(/images/external.png) center right no-repeat; text-decoration: none; }
a[href="http://www.camrosebridge.co.uk/"] { display:inline; padding-right:0; background:none; }
a[href="http://www.bridgebase.com/"] { display:inline; padding-right:0; background:none; }
a[href^="mailto:"] { display:inline-block; padding-left:20px; background:transparent url(/images/postal.png) center left no-repeat;}
a[href$='.doc'] { display:inline-block; padding-right:14px; background:transparent url(/images/word.png) center right no-repeat;}
a[href$='.pdf'] { display:inline-block; padding-right:14px; background:transparent url(/images/pdf.png) center right no-repeat; }

a, a:hover, a:visited, a:active, a:link  { color: #66C; background-color: #FFF; text-decoration: none;}
a:hover, a:active  { color: #00F; background-color: #FFF; text-decoration: underline;}

div.teams-flag {
	float: left; 
	width: 200px;
	clear: above;
	}
	
div.teams-list {
	float: left; 
	margin-top: 8px;
	}

div.teamdetail  {
	margin-bottom: 80px;
	}

img.player {
	float: left;
	margin-right: 0;
	}
	

div.scheduler { float: left; margin: 0 1.4em 0 0; padding: 0;width: 30%;}

table.vptable { float: left; font-size: 90%; margin: 0 10px 26px 0; border-collapse: collapse; text-align: center; }
table.vptable  tr td { border: thin solid black; font-size: 110%; padding: 4px; text-align: center; }
table.vptable tbody tr td { width: 3em; }
table.vptable tr td.vptableimps  { background-color: #eef; width: 1.6em; }
table.vptable  tr th { background-color: #ddf; border: thin solid black; padding: 0; text-align: center; }

table.crosstable { border-collapse: collapse; max-width: 615px;}
table.crosstable  tr th { border: thin solid black; padding: 0; text-align: center; }
table.crosstable  tr th  img { margin: 4px; padding: 0; width: 40px; }
table.crosstable  tr td { border: thin solid black; font-size: 110%; padding: 4px; text-align: center; }
table.crosstable  tr td  img { float: left; margin: 0 4px 2px 0; width: 26px; }
table.crosstable  tr td.crosstablerank { text-align: center; width: 8%; }
table.crosstable  tr td.crosstablename { text-align: center; width: 8%; }
table.crosstable  tr td.crosstablenamequal { text-align: center; width: 8%; }
table.crosstable  tr td.crosstableteamnamequal { text-align: left; width: 32%;  }
table.crosstable  tr td.crosstableteamname { text-align: left; font-size: 1.1em; }
td.blackout { background-color: #777; color: #777; }

table.resultstable { border-collapse: collapse; max-width: 615px;}
table.resultstable  tr th { border: thin solid black; padding: 0; text-align: center; }
table.resultstable  tr th  img { margin: 4px 0; padding: 0; width: 40px; }
table.resultstable  tr td { border: thin solid black; font-size: 110%; padding: 4px; text-align: left; }
table.resultstable  tr td  img { float: left; margin: 0 4px 2px 0; width: 26px; }
table.resultstable  tr td.resultstablename { text-align: center; width: 8%; }
table.resultstable  tr td.resultstablenamequal { text-align: left; width: 32%; }
table.resultstable  tr td.resultstablevps { text-align: left; width: 140px; text-align: center; }
table.resultstable  tr td.resultstableteamname { text-align: left; font-size: 1.1em; }

table.livetable { border-collapse: collapse;}
table.livetable  tr th { border: thin solid black; font-size: 110%; padding: 4px; text-align: center; }
table.livetable  tr td { border: thin solid black; font-size: 110%; padding: 4px; text-align: center; }
table.livetable  tr td  img { float: left; margin: 0 4px 2px 0; width: 26px; }
table.livetable  tr td.livetablename { text-align: center; width: 46px; }
table.livetable  tr td.livetablenamequal { text-align: center; width: 46px; }
table.livetable  tr td.livetableteamnamequal { text-align: left; width: 194px;  }
table.livetable  tr td.livetableteamname { text-align: left; font-size: 1.1em; }

div.frontpagejctable {
	clear: both;
	float: left;
	width: 45%;
 }
 div.frontpagepbtable {
	float: right;
	width: 45%;
 }
 
.codered {
	font-weight: bold;
	color: red;
	margin: 20px 0;
	}

.matchcomplete {
	background-color: #f4e719;
	}	

#countdown {
		background-color: #FFF;
		background: none;
		border: none
		color: #000;
		font-family: 'Vast Shadow', cursive;
		font-size: 230%;
		margin: 0;
		padding: 12px 12px 12px 12px;
		}
	
.teamcolours1 {
		background-color: yellow;
		}
	
div.lefthalf {
	float: left;
	width: 45%;
	margin-right: 10px;
	}
	
div.righthalf {
	float: right;
	width: 45%;
	margin: 0;
	}
	
.narrow-home-link	{
	display: none;
	}
	
div.small-viewport {
	display: none;
	}

div.standard-viewport {
	display: inline-block;
	}

/* =Nav
-------------------------------------------------------------- */
#nav-trigger {
	display: none;
	float: left;
	margin: 4px 0;
	text-align: center; 
  }
#nav-trigger span {
	display: inline-block;
	padding: 10px 30px;
	background-color: darkblue;
	color: white;
	cursor: pointer;
	text-transform: uppercase; 
	}
#nav-trigger span:after {
	display: inline-block;
	margin-left: 10px;
	width: 20px;
	height: 10px;
	content: "";
	border-left: solid 10px transparent;
	border-top: solid 10px #fff;
	border-right: solid 10px transparent; 
	}
#nav-trigger span:hover {
	background-color: blue; 
	}
#nav-trigger span.open:after {
	border-left: solid 10px transparent;
	border-top: none;
	border-bottom: solid 10px #fff;
	border-right: solid 10px transparent; 
	}

nav {
  margin-bottom: 30px; }

nav#nav-mobile {
  position: relative;
  display: none; }

 nav#nav-mobile ul {
	display: none;
	list-style-type: none;
	position: absolute;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	background-color: darkblue; 
	}
  nav#nav-mobile li {
	display: block;
	padding: 5px 0;
	margin: 0 5px;
	border-bottom: solid 1px #cc0028; 
	}
nav#nav-mobile li:last-child {
	border-bottom: none; 
	}
nav#nav-mobile a {
	display: block;
	color: white;
	padding: 10px 30px; 
	}
nav#nav-mobile a:hover {
	background-color: #e6002d;
	color: #fff; 
	}

#header ul li a {
		background-color: darkblue;
		color:#fff;
}

	
@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

@media screen and (max-width: 600px) {

	body {
		padding:3% 10% 3% 5%;
		border:0;			/* This removes the border around the viewport in old versions of IE */
		max-width: 100%;
	}
	
div.lefthalf, div.righthalf, div.scheduler { 
	float: none; 
	margin: 0; 
	padding: 0;
	width: 100%; 
	}
	
#header h1 { 
	margin: 0;
	width: 100%;
	padding: 0; 
	color: #000; 
	font-weight: normal; 	
	font-size: 16px;
}

#header ul li a {
	float: none;
	padding:0;
	line-height:2em;
}

nav {
	margin: 0;
	padding: 0;
	}

span.maintitle {
	font-size: 18px;
	}

#banner-logo  { 
	display: none;
}

#menu-strip {	
	display: none;
}

#narrow-menu-strip {	
	display: inline-block; 
}

#nav-trigger {
	display: block; 
	}
nav#nav-main {
	display: none; 
	}
nav#nav-mobile {
	display: block; 
	}

ul.channelselect li {
	display:inline;
	list-style:none;
}
ul.channelselect li.first,
ul.channelselect li.middle {
	border-right: 1px black solid;
	list-style:none;
	padding:3px 4px 3px 0;
}
ul.channelselect li.middle,
ul.channelselect li.last {
	padding:3px 4px 3px 4px;
}
 span.nomobile {
	display: none;
 }

 div.frontpagejctable {
	float: none;
	width: 100%;
 }
 div.frontpagepbtable {
	float: none;
	width: 100%;
 }
 
 
}
