/* all tables unless overwritten */

table {
	/*clear: both;*/
}

table th {
    background-color: #000099;
	color: #ffffff;
    margin: 0;
/*	text-align: left;*/
}

/***** cols_65_35 *****/
table.cols_65_35 {
	border-left: 1px solid #cccccc;
	border-top: 1px solid #cccccc;
	margin-bottom: 10px;
	width: 100%;
}

table.cols_65_35 col.col1 {
	width: 65%;
}

table.cols_65_35 col.col2 {
    width: auto	;
}

table.cols_65_35 th {
	text-align: left;
}

table.cols_65_35 th,
table.cols_65_35 td {
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
    padding: 5px;
}

table.cols_65_35 td {
	height: 40px;
}

/***** news_headlines *****/
table.news_headlines {
/*	background-color: #e6e6f0;*/
	background-color: #efefff;
	width: 100%;
}

table.news_headlines th {
	padding: 5px;
	text-align: left;
	background-color: #009 !important;
}

table.news_headlines #news {
	padding-left: 25px;
}

table.news_headlines td{
	padding: 10px 5px;
	vertical-align: top;
	border-bottom: 1px solid #000099;
}

table.news_headlines td p{
	padding-left: 20px;
	line-height: 1.5em;
}

table.news_headlines td p a{
    line-height: 1.2em;
}

/***** libray *****/
table.library {
	border: 1px solid #ccc;
}

table.library td{
	vertical-align: top;
	padding: 5px;
}

/***** cols_100 *****/
table.cols_100 {
	background-color: #efefff;
	width: 100%;
}

table.cols_100 th {
	padding: 6px;
	text-align: left;
}

table.cols_100 td{
	padding: 6px;
	vertical-align: top;
}

/***** sports_calendar *****/

table.sports_calendar {
	font-size: 83%;
	width: 100%;
	border-left: 1px solid #cccccc;
	border-top: 1px solid #cccccc;
	margin-bottom: 10px;
}

table.sports_calendar th {
	text-align: left;
	color: #000;
	background-color: #fff;
}

table.sports_calendar th,
table.sports_calendar td {
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
    padding: 5px;
	vertical-align: top;
}

table.sports_calendar th.faux_td {
    background-color: #ffffff;
	color: #000000;	
}

table.sports_calendar tr.weekend th,
table.sports_calendar tr.weekend td {
    background-color: #efefff;
}

table.sports_calendar tr *:first-child, /* for Firefox and Opera */
table.sports_calendar col.col1 {        /* for Explorer */
	text-align: center;
}

table.sports_calendar tr *:first-child + * { /* for Firefox and Opera */
	text-align: center;
}

table.sports_calendar col.col2 {        /* for Explorer */
	text-align: center;
}

/***** type_1 *****/

table.type_1 {
	width: 100%;
	border-left: 1px solid #cccccc;
	border-top: 1px solid #cccccc;
	margin-bottom: 10px;
}


table.type_1 th {
    background-color: #000099;
	color: #ffffff;
	text-align: left;
}


table.type_1 th,
table.type_1 td {
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
    padding: 5px;
	vertical-align: top;
}

table.type_1 th.faux_td {
    background-color: #ffffff;
	color: #000000;	
}

table.type_1 tr.total th,
table.type_1 tr.total td {
    background-color: #ccc;
	font-weight: bold;
}

table.type_1 th.day {
    background-color: #efefff;
    color: #000000;
}

table.type_1 tr.subheading th {
	background-color: #efefff;
	color: #000000;
}
/***** type_2 *****/

table.type_2 {
	width: 100%;
	margin-bottom: 10px;
	text-align: center; 
	background-color: #efefff;
	font-weight: bold;
	margin-top: 10px;
}

table.type_2 th * {
	color: #ffffff;
}

table.type_2 th h1,
table.type_2 th h2,
table.type_2 th h3,
table.type_2 th h4,
table.type_2 th h5,
table.type_2 th h6 {
	padding: 0;
	margin: 0;
}

table.type_2 th,
table.type_2 td {
	border-bottom: 1px solid #000099;
    padding: 5px;
}

table.type_2 tr *:first-child, /* for Firefox and Opera */
table.type_2 col.col1 {        /* for Explorer */
	text-align: left;
}

/***** type_3 (doesn't work well in Firefox)*****/

table.type_3 {
	width: 100%;
	margin-bottom: 10px;
	text-align: center; 
	background-color: #efefff;
	font-weight: bold;
	margin-top: 10px;
}

table.type_3 th {
	color: #ffffff;
}

table.type_3 th,
table.type_3 td {
	border-bottom: 1px solid #000099;
    padding: 5px;
}

table.type_3 col.col1, /* for Explorer */
table.type_3 col.col2 {
	text-align: left;
}

table.type_3 tr *:first-child, /* for Firefox and Opera */
table.type_3 tr *:first-child + * {
	text-align: left;
}

table.type_3 col.odd {
	background-color: #cccccc; /* background-color works for both */
}

table.type_3 col.col1 {
	width: 10%;
}
table.type_3 col.col2 {
	width: 14%;
}
table.type_3 col.col3,
table.type_3 col.col4,
table.type_3 col.col5,
table.type_3 col.col6,
table.type_3 col.col7,
table.type_3 col.col8,
table.type_3 col.col9,
table.type_3 col.col10,
table.type_3 col.col11,
table.type_3 col.col12 {
	width: 5%;
}

/***** type_4old *****/

table.type_4old {
	width: 100%;
	margin-bottom: 10px;
	text-align: center; 
	font-weight: bold;
	margin-top: 10px;
}

table.type_4old th * {
	color: #ffffff;
}

table.type_4old th,
table.type_4old td {
	border-bottom: 1px solid #000099;
    padding: 5px;
}

table.type_4old tr *:first-child, /* for Firefox and Opera */
table.type_4old col.col1 {        /* for Explorer */
	text-align: left;
}

/***** type_4 *****/

table.type_4 {
	width: 100%;
	margin-bottom: 10px;
	text-align: center; 
	font-weight: bold;
	margin-top: 10px;
}

table.type_4 th * {
	color: #ffffff;
}

table.type_4 th,
table.type_4 td {
	border-bottom: 1px solid #000099;
    padding: 5px;
}

table.type_4 tr *:first-child, /* for Firefox and Opera */
table.type_4 col.col1 {        /* for Explorer */
	text-align: left;
}

/***** type_weather *****/

table.type_weather {
	width: 100%;
	margin-bottom: 10px;
	text-align: left; 
	font-weight: normal;
	margin-top: 10px;
}

table.type_weather th * {
	color: #ffffff;
	vertical-align:top;
}

table.type_weather th,
table.type_weather td {
	border-bottom: 1px solid #000099;
    padding: 5px;
}

table.type_weather td img {
	vertical-align: middle;
}

table.type_weather tr td:first-child, /* for Firefox and Opera */
table.type_weather col.col1 {        /* for Explorer */
	font-weight: bold;
	color: #009;
}

/***** type_5 *****/

table.type_5 {
	width: 100%;
	border-left: 1px solid #cccccc;
	border-top: 1px solid #cccccc;
	margin-bottom: 10px;
}

table.type_5 th {
    background-color: #000099;
	color: #ffffff;
}

table.type_5 th,
table.type_5 td {
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
    padding: 5px;
	vertical-align: top;
}

table.type_5 th.faux_td {
    background-color: #ffffff;
	color: #000000;	
}

table.type_5 tr.total th,
table.type_5 tr.total td {
    background-color: #ccc;
	font-weight: bold;
}

table.type_5 tr.subheading th {
    background-color: #ffffff;
	color: #000000;
	font-weight: normal;
}

table.type_5 col.selection {
	width: 10%;
}

table.type_5 col { /* sets all the cols to align centre in IE */
	text-align: center;
}
table.type_5 tr td + td,  /* sets all the cols except the first to align centre in Firefox and Opera */
table.type_5 tr th + th { /* can't set all, as this does the same for IE, which then can't override  */
	text-align: center;   /* these values for given columns */
}

table.type_5 tr td:first-child, /* sets the first column to align left */
table.type_5 tr th:first-child, /* for Firefox and Opera */
table.type_5 col.col1 {        /* for Explorer */
	text-align: left;
}

/***** type_6 *****/
/***** This table is used on the Council Tax Charges at Band D table *****/

table.type_6 {
	width: 100%;
	border-left: 1px solid #cccccc;
	border-top: 1px solid #cccccc;
	margin-bottom: 10px;
}

table.type_6 th {
    background-color: #000099;
	color: #ffffff;
}

table.type_6 th,
table.type_6 td {
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
    padding: 5px;
	vertical-align: top;
}

table.type_6 th.faux_td {
    background-color: #ffffff;
	color: #000000;	
}

table.type_6 tr.total th,
table.type_6 tr.total td {
	font-weight: bold;
	background-color: #cccccc;
	border-right: 1px solid #999999;
	border-bottom: 1px solid #999999;
}

table.type_6 tr.subhead td {
    color: #ffffff;
    background-color: #000099;
	font-weight: bold;
}

table.type_6 col { /* sets all the cols to align right in IE */
	text-align: right;
}
table.type_6 tr td + td,  /* sets all the cols except the first to align right in Firefox and Opera */
table.type_6 tr th + th { /* can't set all, as this does the same for IE, which then can't override */
	text-align: right;    /* these values for given columns */
}

table.type_6 tr td:first-child, /* sets the first column to align left */
table.type_6 tr th:first-child, /* for Firefox and Opera */
table.type_6 col.col1 {         /* for Explorer */
	text-align: left;
}

/***** type 7 *****/
/***** Used on http://www.wrexham.gov.uk/english/council/news/nightbus.htm ****/

table.type_7 {
	width: 100%;
	text-align:left;
	margin-bottom: 10px; 
	background-color: #efefff;
}

table.type_7 th {
    background-color: #000099;
	color: #ffffff;
	text-align: left;
}

table.type_7 th,
table.type_7 td {
    padding: 5px;
	vertical-align: top;
}

table.type_7 th.faux_td {
    background-color: #efefff;
	color: #000000;	
}

/***** type 8 *****/
/***** Used on births and deaths search facility ****/

table.type_8 {
	width: 100%;
	text-align:left;
	border-left: 1px solid #cccccc;
	border-top: 1px solid #cccccc;
	margin-bottom: 10px; 
	background-color: #efefff;
}

table.type_8 th {
    background-color: #000099;
	color: #ffffff;
	text-align: left;
}

table.type_8 th,
table.type_8 td {
    padding: 5px;
	vertical-align: top;
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
}

table.type_8 th.faux_td {
    background-color: #efefff;
	color: #000000;	
}

table.type_8 tr td:first-child, /* sets the first column to align left */
table.type_8 tr th:first-child, /* for Firefox and Opera */
table.type_8 col.col1 {         /* for Explorer */
	text-align: left;
	font-weight:bold;
}


/***** type 9 *****/
/***** Used in Benefits section for leaflets ****/


table.type_9 {
	border-left: 1px solid #cccccc;
	border-top: 1px solid #cccccc;
	margin-left:10px;
	margin-bottom: 10px; 
	background-color: #efefff;
}

table.type_9 th,
table.type_9 td {
	width:150px;
	height:212px;
    padding: 5px;
	vertical-align: top;
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
}

/***** type 10 *****/
/***** Used in play dev ****/
table.type_10 {
border:1px solid #cccccc;
border-collapse:collapse;
}
table.type_10 td {
border:1px solid #cccccc;
padding:2px;
}
table_type_10 th {
padding-bottom:3px;
}


/***** timetable *****/

table.timetable {
	font-weight: bold;
	background-color: #efefff;
	width: 80%;
	margin-bottom: 10px;
	margin-right: auto;
	margin-left: auto;
	text-align: left;
}

table.timetable th {
	text-align: left;
}

table.timetable td {
    padding: 5px 10px;
}

table.timetable col.col2 {
	border: 20px solid red;
}

/***** a_to_z *****/

table.a_to_z {
	width: 100%;
	border-top: 1px solid #000099;
	border-bottom: 1px solid #000099;
	font-weight: bold;
}

table.a_to_z th {
	text-align: left;
}
	
table.a_to_z td {
	padding: 3px 0;
	text-align: center;
}

/***** housing *****/

table.housing {
	width: 100%;
	margin-bottom: 10px;
	border-left: 1px solid #cccccc;
	border-top: 1px solid #cccccc;	
}

table.housing tr.heading td {
	background-color: #000099;
}

table.housing tr.heading td h3 {
	color: white;
	text-align: center;
}

table.housing tr.subheadings th {
	background-color: #efefff;
	color: #000000;
}

table.housing th,
table.housing td {
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	padding: 4px;
}

table.housing td h3 {
	padding: 0;
	margin: 0;
}

table.housing col {
	width: 25%;
}

table.housing col.col1 {
	text-align: left;
}
table.housing col.col2 {
	text-align: center;
}
table.housing col.col3 {
	text-align: center;
}
table.housing col.col4 {
	text-align: center;
}

table.housing tr *:first-child
{
	text-align: left;
}
table.housing tr *:first-child + *
{
	text-align: center;
}
table.housing tr *:first-child + * + *
{
	text-align: center;
}
table.housing tr *:first-child + * + * + *
{
	text-align: center;
}

/***** form1 *****/

table.form1 {
	width: 100%;
	margin-bottom: 10px;
/*	text-align: center;*/ 
	text-align: left;	
	margin-top: 10px;
	border-top: 1px solid #cc0066;
}

table.form1 span.required {
	color: #cc0066;
}

table.form1 td.section {
	color: #ffffff;
	background-color: #cc0066;
}

table.form1 td {
	border-bottom: 1px solid #cc0066;
    padding: 5px;
}

table.form1 tr.continued td {
	border-bottom: 0px;
}

table.form1 tr *:first-child, /* for Firefox and Opera */
table.form1 col.col1 {        /* for Explorer */
	font-weight: bold;
}

table.form1 td.details {
	font-weight: normal;
}

/***** recycle *****/

div.region1 h3 {
/*	border:5px solid #ef3f23;*/
    border: 1px solid #d20;
	border-top: none;
	border-bottom: none;
	margin-bottom: 0px;
	line-height: 2.0;
	background-color: #d20;
	color: white;
}
div.region2 h3 {
	border:5px solid #094fa3;
	border-top: none;
	border-bottom: none;
	margin-bottom: 0px;
	line-height: 2.0;	
	background-color: #094fa3;
	color: white;
}

div.region1,
div.region2 {
	width: 100%;
}

div.region1 table.recycle {
	border: 1px solid #d20;
	border-top: none;
}
div.region2 table.recycle {
	border: 1px solid #094fa3;
	border-top: none;
}
table.recycle {
	background-color: white;
	width: 100%;
	margin-bottom: 10px;
	text-align: center;	
	margin-top: 0px;
/*	border: 5px solid #ccc;*/
	font-weight: bold;
}

table.recycle td,
table.recycle th {
	height: 3em;
	border: 3px solid white;
	font-size: 83%;
}
table.recycle th {
	color: black;
	background-color: white;
}
table.recycle td.general {
	background-color: #ff9fe0;	
}
table.recycle td.general_bh {
	background-color: #ff9fe0;
	border:solid 2px #ffee44;	
}
table.recycle td.garden {
	background-color: #aadd77;
}
table.recycle td.garden_bh {
	background-color: #aadd77;
	border:solid 2px #ffee44;
}
table.recycle td.bankholiday {
/*	background-color: #ffcc66;*/
	background-color: #ffee44;
	border:solid 2px #ffee44;
}

table.recycle tr *:first-child, /* for Firefox and Opera */
table.recycle col.col1 {        /* for Explorer */
	text-align: left;
}

/***** type_stats *****/

table.type_stats {
	width: 100%;
	border-left: 1px solid #cccccc;
	border-top: 1px solid #cccccc;
	margin-bottom: 10px;
}

table.type_stats th {
    background-color: #000099;
	color: #ffffff;
	text-align: left;
}

table.type_stats th,
table.type_stats td {
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
    padding: 5px;
	vertical-align: top;
}

table.type_stats th.faux_td {
    background-color: #ffffff;
	color: #000000;	
}

table.type_stats tr.total th,
table.type_stats tr.total td {
    background-color: #ccc;
	font-weight: bold;
}

table.type_stats th.day {
    background-color: #efefff;
    color: #000000;
}

table.type_stats tr.subheading th {
	background-color: #efefff;
	color: #000000;
}

table.type_stats col.col1 {
	text-align: left;
	}

table.type_stats col.col2 {
	text-align: right;
	}
	
table.type_stats col.col3 {
	text-align: right;
	}
	
table.type_stats col.col4 {
	text-align: right;
	}

table.type_stats col.col5 {
	text-align: right;
	}
	
table.type_stats col.col6 {
	text-align: right;
	}
	
table.type_stats col.col7 {
	text-align: right;
	}
	
table.type_stats col.col8 {
	text-align: right;
	}
	
/***** type_50perc *****/

table.type_50perc {
	width: 50%;
	border-left: 1px solid #cccccc;
	border-top: 1px solid #cccccc;
	margin-bottom: 10px;
}

table.type_50perc th {
    background-color: #000099;
	color: #ffffff;
	text-align: left;
}

table.type_50perc th,
table.type_50perc td {
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
    padding: 5px;
	vertical-align: top;
}

table.type_50perc th.faux_td {
    background-color: #ffffff;
	color: #000000;	
}

table.type_50perc tr.total th,
table.type_50perc tr.total td {
    background-color: #ccc;
	font-weight: bold;
}

table.type_50perc th.day {
    background-color: #efefff;
    color: #000000;
}

table.type_50perc tr.subheading th {
	background-color: #efefff;
	color: #000000;
}

/* ITeC */
table.type_itec {
	width:60%;
	padding: 5px;
	border:solid 2px #999999;
}

table.type_itec td col1 col3 {
	width: 20%;
	height: 25%;
}

table.type_itec td a {
	font-weight: bold;
}

table.type_itec td col2 {
	width:20%;
	height:75%;
}

/***** members_allowances *****/

table.allowances {
	width: 100%;
	border-left: 1px solid #cccccc;
	border-top: 1px solid #cccccc;
	margin-bottom: 10px;
}

table.allowances th {
    background-color: #000099;
	color: #ffffff;
}

table.allowances th,
table.allowances td {
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
    padding: 5px;
	vertical-align: top;
}

table.allowances th.faux_td {
    background-color: #ffffff;
	color: #000000;	
}

table.allowances tr.subhead td {
    color: #ffffff;
    background-color: #000099;
	font-weight: bold;
}

table.allowances tr td + td { /* can't set all, as this does the same for IE, which then can't override */
	text-align: right;    /* these values for given columns */
}

table.allowances th {
	text-align: center;
}

/***** type_11 *****/

table.type_11 {
	width: 50%;
	margin-bottom: 10px;
}


table.type_11 th {
    background-color: #000099;
	color: #ffffff;
	text-align: left;
}


table.type_11 th,
table.type_11 td {
    padding: 5px;
	vertical-align: top;
	width:25%;
}

table.type_11 th.faux_td {
    background-color: #ffffff;
	color: #000000;	
}

table.type_11 tr.total th,
table.type_11 tr.total td {
    background-color: #ccc;
	font-weight: bold;
}

table.type_11 th.day {
    background-color: #efefff;
    color: #000000;
}

table.type_11 tr.subheading th {
	background-color: #efefff;
	color: #000000;
}

/* LDP */

table.type_ldp {
	width:50%;
	margin-bottom: 20px;
	border:1px solid #030;
}

table.type_ldp th {
	background-color: #030;
	color:#fff;
	text-align:left;
	font-weight:bold;
}

table.type_ldp a{
	color:#fff;
}

table.type_ldp th,
table.type_ldp td {
	padding:5px;
	vertical-align:top;
	width:25%;
}

table.type_ldp td.map1 {
	background-color:#C0D7CE;
	font-weight:bold;
	padding-left:15px;
}

table.type_ldp td.map2 {
	background-color:#EACF5A;
	padding-left:15px;
}

table.type_ldp td.map3 {
	background-color:#D395C8;
	padding-left:15px;
}

table.type_ldp td.map4 {
	background-color:#FBACC5;
	padding-left:15px;
}

table.type_ldp td.map4_col1 {
	background-color:#FBACC5;
	padding-left:15px;
	width:5%;
}

table.type_ldp td.map4_col2 {
	background-color:#FBACC5;
	padding-left:15px;
	width:95%;
}

table.type_ldp td.inset {
	font-weight:bold;
	padding-left:5px;
}

/* YEAR OF CULTURE TABLES */

/***** type_yoc *****/
table.type_yoc {
	border:solid 1px #CCCCCC;
	margin: 5px 10px 10px 0;
/*	margin-bottom: 10px;
	margin-top: 5px;*/
	text-align: center; 
	float:left;
}

table.type_yoc th * {
	color: #ffffff;
}

table.type_yoc th {
	text-align:center;
	text-transform:uppercase;
	vertical-align:middle;
}

.type_yoc_arrow {
	padding:7px 5px 0 5px;
}

table.type_yoc td {
	font-size:small;
	padding:2px;
}

table.type_yoc td a.preview_yoc {
	text-decoration:none;
	background-color:#AAF;
	color:black;
	margin:-2px;
	padding:2px;
}

table.type_yoc td a:hover.preview_yoc,
table.type_yoc td a:active.preview_yoc {
	color:white;
	background-color:#3333ff;
	margin:-2px;
	padding:2px;
}

.td_yoc {
	background-color:#e2e2e2;
	color:black;
	font-weight:bold;
	vertical-align:top;
	text-align:right;
}

/* YOC Previews */

a.preview_yoc {
	z-index:199;
	color:#3CA3FF;
	display:block;
}

/*a.preview:hover {
	text-decoration:underline;
	color:#CC0066;
	background:#E6E6F0;
}*/

a.preview_yoc div.yoc_popup {
	display: none;
/*	max-height:15px;*/
}

a.preview_yoc:hover {
	z-index:200;
	color:#f72a09;
/*	background-color:; */ /* invalid! */
	text-decoration:none;
}

a.preview_yoc:hover div.yoc_popup {
	display:block;
	position:absolute;
	margin-top:5px;
	width:200px;
	overflow:auto;
	z-index:201;
	background-color:#EEE;
	border:thin solid #A0A0A4;
	padding: 0 5px 0 5px;
	color:#000000;
	text-align:center;
	text-decoration:none;
	font-size:smaller;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

div.yoc_popup p {
	line-height:1.3;
	margin-top:0.5em;
	margin-bottom:0.5em;
	color:#000099;
}

.yoc_popup {
	display: none;
}

.events_yoc {
	margin:0;
}

dl.events_yoc dt {
	background-color: #9cc;
	padding: 5px 10px 5px 5px;
	font-weight: bold;
	margin: 0;
	border-left: 1px solid black;
	border-right: 1px solid black;
	border-top: 1px solid black;
}

dl.events_yoc dd {
	margin: 0 0 5px 0;
	padding: 1px 10px 5px 10px;
	border-left: 1px solid black;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
	background-color:white;
	font-weight:normal;
}

#eventslist {
	margin-left:200px;
	padding-top:1px;
}

/* END YEAR OF CULTURE TABLES */
