/*--------------------------------------------
Style sheet for colts-rugby.org.uk
Author: Clive Walker
Website: http://www.cvwdesign.co.uk
---------------------------------------------*/

/* ------ Reset everything ------ */

* {
  	margin: 0;
  	padding: 0;
}

img {
	border: none
}

/* ------ The big stuff ------ */

html {
	height:100%
}

body {
	min-height:101%
} /*fix for Firefox, Opera scrollbar jump*/

body {
	font: 76%/1.6 Verdana, Arial, Helvetica, sans-serif;
	min-width: 960px;
	background: #FFF;
	text-align: center;
}

/* ------ Main layout elements ------ */

#wrapper {
	width: 980px;
	margin: 0 auto;
	text-align: left;
	background: #FFF url(blue-bg-3.gif) repeat-y left top;
	border: 0px solid #FFF;
}

#header {
	height: 103px;
	padding: 0;
	background: #fff;
	border-bottom: 5px solid #C30;
	clear: both;
}

#preheader {
	width: 100%;
	background: #C30;
	border-bottom: 1px solid #999;
	float: left;
}

#column1 {
	width: 200px;
	float: left;
	list-style: none;
	margin-left: 0;
	background: #004489;
	min-height: 500px;
}

#content {
	width: 740px;
	float: right;
}

#mainContent {
	width: 350px;
	margin: 0;
	float: left;
	padding-top: 25px;
}

#secondaryContent {
	width: 358px;
	display: inline; /* :IE double margin float bug */
	float: right;
	min-height: 500px;
	background: #FFF;
	margin-right: 5px;
	border-left: 1px solid #EFEFEF;
} 

#footer {
	clear: both;
	padding: 1px 1px 20px 15px;
	border-top: 2px solid #C30;
	background: #C30;
	color: #FFF;
	font-size: 94%;
} 

/* ----- Link styles ----- */

a:link {
	color: #00F;
	text-decoration: underline;
}

a:hover {
	color: #00F;
	text-decoration: none;
}

a:active {
	color: #00F;
	text-decoration: none;
}

#footer a:link, #footer a:visited, #footer a:hover {
	color: #FFF;
	text-decoration: underline;
}

/* ------ Paddings ------ */

#column1, #secondaryContent {
	padding-top: 25px;
	padding-bottom: 10px;
	padding-left: 10px;
}
#column1 {
	padding-top: 5px;
}

/* ------ Headings -----*/

h1, h2, h3 {
	font-weight: normal;
	border-bottom: 1px solid #EDEDE5;
	padding-bottom: 5px;
}

h1, h2, h3, p {
  	margin: 1em 0;
}

h1 {
  	font-size: 1.6em;
	margin-top: 0;
}

h2 {
  	font-size: 1.4em;
}

h3 {
	font-size: 1.2em;
}

/* Content Box styles
----------------------------------------*/

.contentBox {
	margin-right: 5px;
	border-top: 1px solid #0057AE;
	border-right: 1px solid #004489;
	border-bottom: 1px solid #004489;
	border-left: 1px solid #0057AE;
	
	}

.contentBox h2 {
	background: #004489;
	color: #FFF;
	border: 1px solid #FFF;
	padding-left: 10px;
}

.contentBox2 h2 {
	background: #C30;
	}

.contentBox table {
	margin: 10px;
}

.contentBox table td {
	border-bottom: 1px dotted #CCC;
	padding: 5px 5px 5px 10px;
}

.contentBox table td a {
	text-decoration: none;}
	
.contentBox table td a:hover {
	text-decoration: underline;
}

tr:nth-child(odd) {
	background: #CAE4FF;
}

tr:nth-child(even) {
	background: #EFEFEF;
}

/*--- Main text styles ---*/

p, li {
  	font-size: 1em;
}

#secondaryContent h2 {
  	font-size: 1.3em;
  	margin: 0;
}

#mainContent h2 {
    margin-top: 0;
	margin-bottom: 0;
}

#mainContent p, #secondaryContent p {
	line-height: 1.4em;
	font-size: 100%;
}

#content li {
	margin-left: 20px;
	color: #3688BA;
	list-style: circle;
}

#column1 p {
	margin-left: 10px;}
	

/* ------ Two column styles ------*/

#two-column #secondaryContent {
	width: 5px;
	background: #FFF;
}

#two-column #mainContent {
	width: 715px;
}

/* ------ Paragraphs ------ */

/* ------ Images ------ */

/* ------ Others ------ */

.fleft {
	float: left;
	margin-right: 10px;
}

.fright {
	float: right;
	margin-left: 10px;
}

/* Accordion menu
---------------------------------------------------------*/

.arrowlistmenu{
	width: 180px; /*width of accordion menu*/
	background: #FFF;
	margin-left: 10px;
}

.arrowlistmenu .menuheader{ /*CSS class for menu headers in general (expanding or not!)*/
	font: bold 14px Arial;
	color: white;
	background: black url(titlebar.png) repeat-x center left;
	margin-bottom: 10px; /*bottom spacing between header and rest of content*/
	text-transform: capitalize;
	padding: 4px 0 4px 10px; /*header text is indented 10px*/
	cursor: hand;
	cursor: pointer;
}

.arrowlistmenu .openheader{ /*CSS class to apply to expandable header when it's expanded*/
background-image: url(titlebar-active.png);
}

.arrowlistmenu ul{ /*CSS for UL of each sub menu*/
list-style-type: none;
margin: 0;
padding: 0;
margin-bottom: 8px; /*bottom spacing between each UL and rest of content*/
}

.arrowlistmenu ul li{
padding-bottom: 2px; /*bottom spacing between menu items*/
}

.arrowlistmenu ul li a{
	color: #A70303;
	background: url(arrowbullet.png) no-repeat 4px center; /*custom bullet list image*/
	display: block;
	padding: 2px 0 2px 23px; /*link text is indented 19px*/
	text-decoration: none;
	font-weight: bold;
	border-bottom: 1px solid #dadada;
	font-size: 90%;
}

.arrowlistmenu ul li a:visited{
color: #A70303;
}

.arrowlistmenu ul li a:hover{ /*hover state CSS*/
color: #A70303;
background-color: #F3F3F3;
}

.arrowlistmenu .menuheader a, .arrowlistmenu .menuheader a:visited  {
		text-decoration: none;
	color: #FFF;
}

/* Preheader nav - tabbed
--------------------------------------------------------*/

#preheader ul {
	margin: 0;
	padding: 1em 0 0;
	list-style: none;
}

#preheader li {
	float: left;
	margin: 0 1px 0 0;
	padding: 0 0 0 8px;
	background: url(tab_left3.gif) no-repeat;
}

#preheader a {
	float: left;
	display: block;
	padding: 0.4em 10px 0.4em 0;
	text-decoration: none;
	font-weight: bold;
	color: #FFF;
	background: url(tab_right3.gif) no-repeat right top;
}

#preheader li:hover {
	background: url(tab_left_active3.gif) no-repeat;
	}

#preheader a:hover {
	background: url(tab_right_active3.gif) no-repeat right top;
}

#preheader {
	background: #FFF;
	}
	
/* Tables - in addition to above contentBox tables
--------------------------------------------------------*/

#mainContent table {
	border-collapse: collapse;
	font-size: 90%; }

#mainContent table td {
	padding: 5px 5px 5px 10px;}

#mainContent table td p {
	font-size: 90%;
	margin: 0;
	padding: 0;
}

/* hr styling
--------------------------------------------------------*/

hr {
	background:#CCC;
	height:1px;
	color:#CCC;
	border:none;
	margin-top: 1em;
	width: 100%;
	margin-bottom: 1em;
}


