/*========================
Cascading Style Sheets
for Cromer Cricket Club

by Lochlan McBride
lochlan@gmail.com
=========================*/

/*====General====*/
html {overflow-y:scroll;}
body {
	font:14px "Lucida Sans Unicode",sans-serif;
	margin:10px 0;
	background:#CCD8E0;
	color:#2D2D2D;
}
h1 {
	margin:10px 0;
	font-size:22px;

}
h2 {
	margin:0;
	font-size:18px;
}
h3 {
	margin:4px 0;
}
h4 {
	margin:0;
}
h5 {
	margin:0;
}
h6 {
	margin:0;
}
a:link, a:visited {text-decoration:none;outline:none;color:#2A55FF;}
a:hover {text-decoration:underline;color:#CC2132;}
a:active {color:#FFD42A;}
a img {border:none;}

a[href$='.doc'], a[href$='.docx'] {
	padding: 5px 0 5px 20px;
	background: transparent url(../images/icon_doc.gif) no-repeat center left;
}
a[href$='.xls'], a[href$='.xlsx'] {
	padding: 5px 0 5px 20px;
	background: transparent url(../images/icon_xls.gif) no-repeat center left;
}
a[href$='.pdf'] {
	padding: 5px 0 5px 20px;
	background: transparent url(../images/icon_pdf.gif) no-repeat center left;
}
a[href ^="mailto:"] {
	padding: 5px 0 5px 20px;
    background: transparent url(../images/icon_mailto.gif) no-repeat center left;
}

::-moz-selection{background:#00A651;color:#fff;}
::selection {background:#00A651;color:#fff;}

ul, ol {margin:0;padding:0;list-style-position:inside;}
li {margin:0;padding:0;}
p {margin:10px 0;}

table {
	border-collapse:collapse;
	width:100%;
	margin:15px 0;
	border-left:solid 1px #CCD8E0;
	border-top:solid 1px #CCD8E0;
}
th, td {
	padding:3px;
	text-align:left;
	border-right:solid 1px #CCD8E0;
	border-bottom:solid 1px #CCD8E0;
}
th {font-weight:700;background:#F7FBFF;color:#647D86;}

/*====Misc Classes====*/
.alert {padding:20px;font-weight:700;text-align:center;margin:20px 0;}
.yes {background:#A6F684;border:solid 1px #00cc00;}
.yes a {}
.no {background:#F6ACAC;border:solid 1px #ff0000;}
.no a {color:#D21E18;}

.notice {color:#D21E18;}
.erase {text-decoration:line-through;}

.construction {width:700px;margin:0 auto;}

/*====Layout====*/
#outter-wrap {
	margin:10px auto 0;
	width:940px;
	background:#fff;
	padding:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
}
#header {
	height:145px;
	line-height:145px;
	position:relative;
	background:#CCD8E0;
	margin-bottom:10px;
	font-size:24px;
	text-indent:40px;
	position:relative;
}
#logo {position:absolute;top:-5px;right:25px;background:url(../images/ccc_logo.png) no-repeat;width:150px;height:164px;}
#inner-wrap {
	overflow:hidden;
	margin:10px 0 0;
	background:url(../images/bgmain.gif) repeat-y;
}
#content {float:left;width:715px;padding:0 15px 0 10px;}

#footer {margin:0 auto;width:960px;padding:5px 0;font-size:11px;text-align:center;}

/*====Classes====*/
.new {}
.leftImg {float:left;padding:5px 15px 5px;}
.rightImg {float:right;padding:5px 5px 5px 15px;}
.centerImg {border:solid 1px #c0c0c0;padding:1px;display:block;margin:5px auto;}

/*====Main Navigation====*/
#mainNav {
	list-style:none;
	overflow:hidden;
	border:1px solid #AFBEC7;
	border-right:none;
	background-image:url(../images/nav.gif);
}
#mainNav li {
	float:left;
	background-image:url(../images/nav.gif);
	padding:0 8px 0 4px;
	border-right:1px solid #AFBEC7;
}
#mainNav a {
	display:block;
	float:left;
	height:40px;
	line-height:40px;
	padding-left:20px;
	font-weight:700;
	background-repeat:no-repeat;
	background-position:0 50%;
	color:#223344;
	
}
#mainNav a:hover {text-decoration:none;}
#mainNav li:hover {text-decoration:none;background-position:0 -41px;}

#home a {background-image:url(../images/icons/home.png);}
#rego a {background-image:url(../images/icons/rego.png);}
#docs a {background-image:url(../images/icons/docs.png);}
#grounds a {background-image:url(../images/icons/grounds.png);}
#dates a {background-image:url(../images/icons/dates.png);}
#history a {background-image:url(../images/icons/history.png);}
#links a {background-image:url(../images/icons/links.png);}
#events a {background-image:url(../images/icons/events.png);}
#teams a {background-image:url(../images/icons/cricket2.png);padding-right:5px;border-right:none;}
#sponsors a {background-image:url(../images/icons/sponsors2.png);padding-right:5px;border-right:none;}

/*====Second Navigation====*/
#secondNav {
	float:left;
	width:196px;
	text-align:right;
	padding-left:4px;
}
#secondNav h3 {padding:2px 8px;}
#secondNav ul {list-style:none;padding:0;margin:0;}
#secondNav li {border-top:solid 1px #CCD8E0;}
#secondNav li a {padding:2px 8px;display:block;}
#secondNav li a:hover {text-decoration:none;background:#CCD8E0;}

/*====Grounds====*/
.mapImg {height:32px;width:32px;float:right;}
#map {width:715px;height:400px;border:solid 1px #CCD8E0;}
#text_list {margin:10px 0;font-size:12px;}
#text_list ul {margin:0;padding:0;float:left;}
#text_list li {float:left;width:178px;}

/*====Team Pages====*/
.teamInfo, .matchReports, .photo {display:none;}
.teamInfo th {width:25%;}
.teamMembers {font-size:13px;}
.teamMembers td {vertical-align:middle;}
.teamMembers .photo {width:15%;text-align:center;}
.teamMembers .bats {width:20%;text-align:center;}
.teamMembers .bowls {width:20%;text-align:center;}
ul.matchReports {margin:10px;}
.teamGallery {width:100% !important;}
.teamGallery li {margin:0 5px;}
.teamGallery li img {height:100px;}

.kings .photo {display:table-cell;}

/*====News====*/
.news-item {margin:10px 0;border-top:solid 1px #CAD5DC;padding:5px 0;font-size:13px;}
.news-item h3 {font-size:16px;}
.news-item h4 {font-size:14px;color:#912938;}
.news-item .news-image {float:right;padding:2px;border:solid 1px #CAD5DC;margin:10px 0 5px 10px;}
.news-item .note {font-size:80%;color:#156F03;}