/***
QueenElizabethStakes.com Styles
***/

body {
	background: #18204d;
	margin: 0;
	padding: 0;
	font-size: 12px;
	font-family: "Book Antiqua", "Times New Roman", serif;
	color: #000;
	text-align: center;
}

div#wrapper {
	width: 960px;
	margin: 0 auto;
	padding: 0;
	text-align: left;
	margin-bottom: 0;
}
.clear {
	clear: both;
}
a {
	color: #3d4d9f;
	text-decoration:none;
}
a:hover {
	color: #4c60c4;
}
img {
	border: none;
}

/*** Header ***/
div#header {
	width: 960px;
	height: 120px;
	margin: 0;
	padding: 0;
	background: #fff;
}
div#header #logo {
	position: relative;
	z-index: 100;
}
div#header #logo h1 {
	margin: 10px 0 0 0;
	padding: 0;
	float: left;
}
div#header #logo h1 a {
	background: url("../images/logo.png") no-repeat 0 0;
	width: 960px;
	height: 100px;
	display: block;
	margin: 0;
	padding: 0;
}
div#header #logo h1 a span {
	display: none;
	visibility: hidden;
}


/*** Content ***/

div#content {
	width: 960px;
	margin: 0;
	padding:0;
	font-size: 12px;
	background: #fff;
	float:right;
	background: url("../images/content-bg.png") repeat-y;
	margin-bottom: 10px;
}

div#content img {
	border: 1px solid #f2f2f3;
	margin-top:5px;
}

div#content-main {
	width:616px;
	padding:10px 10px 10px 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	float: right;
	text-align:justify;
}

div#content-left {
	width: 300px;
	margin-bottom: 10px;
}

div#navbg {
	width: 317px;
	margin-left: -6px;
	background: url("../images/nav-bg.png") no-repeat;
	height: 30px;
	color: #18204d;
	font-size: 14px;
}

div#navbg a {
	color: #18204d;
}

.navbg{
	padding-top: 10px;
	padding-left: 10px;
	line-height: 33px;
	text-shadow:1px 1px 0px #e2e3e9; 
}

div#subnav {
	background: #d8d8df;
	border:1px solid #c0c1ca;
	font-size: 12px;
	width: 290px;
	height: 27px;
	margin-left: 15px;
	margin-top: 3px;
	-moz-box-shadow:0px 0px 2px #c0c1ca;
	-webkit-box-shadow:0px 0px 2px #c0c1ca;		
}


.subnav{
	padding-top: 5px;
	padding-left: 3px;
	line-height: 28px;
	text-shadow:1px 1px 0px #e2e3e9; 
}

div#subnav1 {
	background: #d8d8df;
	border:1px solid #c0c1ca;
	font-size: 12px;
	width: 280px;
	height: 56px;
	margin-left: 15px;
	margin-top: 3px;
	padding: 5px 5px 0 5px;
	-moz-box-shadow:0px 0px 2px #c0c1ca;
	-webkit-box-shadow:0px 0px 2px #c0c1ca;		
}

.subnav1{
	padding-top: 5px;
	padding-left: 3px;
	font-size: 11px;
}

.sub-nav a {
	font-size: 14px;
}

div#advert {
	-moz-box-shadow:0px 0px 2px #c0c1ca;
	-webkit-box-shadow:0px 0px 2px #c0c1ca;	
	margin-top: 5px;
	margin-bottom: 5px;
	width: 300px;
	height: 250px;
	background: #fff;
	margin-left: 11px;
}

div#welcome {
	background: url(../images/welcome-to.png) no-repeat;
	padding: 0;
	height:56px;
	width: 642px;
	margin-left: -10px;
	margin-top: -15px;
	margin-bottom: 5px;
}

div#qe2s h2 {
	display:none;
	visibility: hidden;
}

div#qe2s {
	background: url(../images/qe2s.png) no-repeat;
	padding: 0;
	height:56px;
	width: 642px;
	margin-left: -10px;
	margin-top: -15px;
	margin-bottom: 5px;
}

div#kgaqes h2 {
	display:none;
	visibility: hidden;
}

div#kgaqes {
	background: url(../images/kgaqes.png) no-repeat;
	padding: 0;
	height:56px;
	width: 642px;
	margin-left: -10px;
	margin-top: -15px;
	margin-bottom: 5px;
}

div#qesau h2 {
	display:none;
	visibility: hidden;
}

div#qesau {
	background: url(../images/qesau.png) no-repeat;
	padding: 0;
	height:56px;
	width: 642px;
	margin-left: -10px;
	margin-top: -15px;
	margin-bottom: 5px;
}

div#beton h2 {
	display:none;
	visibility: hidden;
}

div#beton {
	background: url(../images/beton.png) no-repeat;
	padding: 0;
	height:56px;
	width: 642px;
	margin-left: -10px;
	margin-top: -15px;
	margin-bottom: 5px;
}

div#welcome h2 {
	display:none;
	visibility: hidden;
}

div#content-box {
	width: 585px;
	background: #eff0f2;
	padding: 10px;
	margin-right: 8px;
	margin-left: 8px;
	margin-top: 8px;
	border:1px solid #e0e1e5;
	-moz-box-shadow:0px 0px 2px #e0e1e5;
	-webkit-box-shadow:0px 0px 2px #e0e1e5;	
}

div#qes {
	background: url("../images/qes.png") no-repeat;
	padding:0;
	width: 308px;
	height: 54px;
	margin-left: -16px;
	margin-top: -15px;
}

div#qes h2 {
	display:none;
	visibility: hidden;
}

div#qes-au {
	background: url("../images/qes-au.png") no-repeat;
	padding:0;
	width: 308px;
	height: 54px;
	margin-left: -16px;
	margin-top: -15px;
}

div#qes-au h2 {
	display:none;
	visibility: hidden;
}

div#kg {
	background: url("../images/kg.png") no-repeat;
	padding:0;
	width: 308px;
	height: 54px;
	margin-left: -16px;
	margin-top: -15px;
}

div#kg h2 {
	display:none;
	visibility: hidden;
}

div#mid-links {
	width: 312px;
	margin-left: -17px;
	background: url("../images/mid-links.png") no-repeat;
	height: 52px;
	font-size: 14px;
}

.mid-links {
	font-size: 14px;
	line-height: 12px;
	margin-left: 10px;
	padding-top: 12px;
}

.mid-links2 {
	font-size: 14px;
	line-height: 12px;
	margin-left: 10px;
	padding-top: 18px;
}

.mid-links a, .mid-links2 a {
	color: #18204d;
}

div#content-box-300 {
	width: 277px;
	background: #eff0f2;
	padding: 10px;
	margin-right: 8px;
	margin-left: 8px;
	margin-top: 12px;
	border:1px solid #e0e1e5;
	-moz-box-shadow:0px 0px 2px #e0e1e5;
	-webkit-box-shadow:0px 0px 2px #e0e1e5;	
}
div#content-box-300-2 {
	width: 277px;
	float: right;
	background: #eff0f2;
	padding: 10px;
	margin-left: 8px;
	margin-top: 12px;
	border:1px solid #e0e1e5;
	-moz-box-shadow:0px 0px 2px #e0e1e5;
	-webkit-box-shadow:0px 0px 2px #e0e1e5;	
}

/*** Links ***/
#click-now {
	display: block;
	width: 300px;
	height: 62px;
	margin:0;
	background-image: url("../images/click-now.png");
	outline:none;
	padding:0;
	float:right;
	margin-left: 5px;
}

#click-now:hover {
	background-position:0 75px;	
}

/*** Footer ***/

div#footer {
	width: 940px;
	background: #fff;
	margin-bottom: 0px;
	margin-top: 10px;
	padding: 10px;
}