/* RESET
======================= */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr,acronym, address, big, cite, code, del, dfn, em, font, img, img a ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: none; 
	text-decoration: none;
	vertical-align: baseline;
	background: transparent;
}
ol, ul	{ list-style: none; }
table	{
	border-collapse: collapse;
	border-spacing: 0;
}

/* COMMON UTILITIES
======================= */

.hide	{ display: none; }
.hidden	{ display: none; }

/* GLOBAL HEADER
======================= */

#global-search		{
	display: inline;
	float: left;
	width: 255px;
	margin-top: 3px;
	margin-left: 10px;
}

#global-search form {
	margin-bottom: 0; }
#global-search label {
	margin: 0;
	padding: 0;
}
#global-search fieldset	{
	padding: 0 0 0 3px;
	margin: 0;
	border: 1px solid #CCC;
	width: 250px;
	background: #F6F6F6;
}
#global-search input { color: #555; }
#global-search input.text {
	font-size: 11px;
	background: #F6F6F6;
	float: left;
	color: #555;
	width: 213px;
	padding: 3px;
	border: 0;
	margin-bottom: 0;
	height: 16px;
}
#global-search input.button	{
	float: right;
	padding: 1px 1px 1px 0;
}
label.hidden {
	display: block;
	background: transparent;
	background-image: none;
	border: none; 
	height: 1px;
	overflow: hidden;
	padding: 0;
	margin: -1px 0 0 -1px;
	width: 1px;
}
		
#global-nav	{
	background:#ECECEC;
	padding: 0 0 30px 0;
	margin: 0;
	border-bottom: 1px solid #CCC;
}
#global-nav.product	{
	background: #ECECEC url("/bmj/images/bmj-bg-global-nav-product.gif") no-repeat bottom center;
}
#global-nav div.ad-leaderboard	{
	background: #ECECEC;
	padding: 3px 0;
	text-align: center;
	background: transparent url("/bmj/images/bmj-bg-horizontal-dotted.gif") repeat-x scroll bottom left;
}

#resource-nav {
	overflow: hidden;
	position: relative;
	float: right;
	width: 600px;
	height: 26px;
	padding: 0;
	margin: 0;
}
#resource-nav li {
	float: left;
	height: 26px;
	list-style: none;
}
#resource-nav div,
#resource-nav a {
	display: block;
	height: 26px;
	background-image: url("http://eso-cdn.resources.bmj.com/repository/images/global-nav-matrix.gif");
}

#resource-nav span {
	position: absolute;
	top: -9999px;
	left: -9999px;
}
#resource-nav a:hover { background-repeat: no-repeat; }
#resource-nav #bmj a {
	width: 49px;
	background-position: 0 0;
}
#resource-nav #bmj a:hover,
#resource-nav #bmj a.active	{ background-position: 0 -26px; }
#resource-nav #bmj-journals a { width: 88px; background-position: -49px 0; }
#resource-nav #bmj-journals a:hover,
#resource-nav #bmj-journals a.active { background-position: -49px  -26px; }
#resource-nav #bmj-careers a { width: 84px; background-position: -137px 0; }
#resource-nav #bmj-careers a:hover,
#resource-nav #bmj-careers a.active { background-position: -137px -26px; }
#resource-nav #bmj-learning a { width: 92px; background-position: -221px 0; }
#resource-nav #bmj-learning a:hover,
#resource-nav #bmj-learning a.active { background-position: -221px -26px; }
#resource-nav #bmj-knowledge a { width: 104px; background-position: -313px 0; }
#resource-nav #bmj-knowledge a:hover,
#resource-nav #bmj-knowledge a.active { background-position: -313px -26px; }
#resource-nav #bmj-evidence-centre a { width: 131px; background-position: -503px 0; }
#resource-nav #bmj-evidence-centre a:hover,
#resource-nav #bmj-evidence-centre a.active { background-position: -503px -26px; }
#resource-nav #doc2doc a { width: 63px; background-position: -634px 0;}
#resource-nav #doc2doc a:hover,
#resource-nav #doc2doc a.active { background-position: -634px -26px; }
#resource-nav #bmj-group a { width: 93px; background-position: -417px 0; }
#resource-nav #bmj-group a:hover,
#resource-nav #bmj-group a.active { background-position: -417px -26px; }

/* MAIN SEARCH
======================= */

#main-search {
	display: inline;
	float: right;
	width: 255px;
	height: 26px;
	margin-top: 10px;
}
#main-search label {
	margin: 0;
	padding: 0;
}
#main-search fieldset {
	background: #FFF;
	padding: 0 0 0 2px;
	margin: 0;
	border: 1px solid #CCC;
	width: 253px;
}
#main-search input.text {
	font-size: 13px;
	float: left;
	color: #777;
	width: 213px;
	padding: 3px;
	border: 0;
}
#main-search input.button {
	float: right;
	padding: 3px 3px 3px 0;
}
#main-search input.text:focus { color: #333; }
#global-body {
	float: left;
	width: 172px;
}

/* SITE NAVIGATION
======================= */

#site-nav {
	margin: 20px 10px 0 10px;
	width: 788px;
	padding-top: 10px;
	background: transparent url("/bmj/images/bmj-bg-horizontal-dotted.gif") repeat-x scroll top left;
}

/* ORDER BASKET
======================= */
#content table.order-basket { margin: 10px 0 50px 0;width: 100%;border: 1px solid #d8d8d8; }
#content table.order-basket caption { display: none; }
#content table.order-basket a.delete {
	height: 16px;
  width: 16px;
	float: right;
padding-right: 10px;
	background: transparent url("/bmj/images/bmj-icon-delete.png") no-repeat 0 0;
}
#content table.order-basket a.delete:hover	{
	display: block; 
	background: transparent url("/bmj/images/bmj-icon-delete-hover.png") no-repeat 0 0;
}
#content table.order-basket a.delete span	{ margin-left: -9999px; }
#content table.order-basket tr.tabletotal th,
#content table.order-basket tr.tabletotal td	{ border-top: 1px solid #000; }
#content table.order-basket th.promotion-code,
#content table.order-basket td.promotion-code {
	background: #F1F1F1;
	width: 100px;
	border-left: 1px dotted #CCC;
}
#content table.order-basket input.promo-code { width: 80px; }
#content table.order-basket th.quantity,
#content table.order-basket td.quantity	{
	background: #F1F1F1;
	width: 50px;
	border-right: 1px dotted #CCC;
}

#content table.order-basket input.quantity {
	width: 30px;
	text-align: right;
}
#content table.order-basket td.refresh {
	background: #F1F1F1;
	border-right: 1px dotted #CCC;
	border-left: 1px dotted #CCC;
}
#content table.order-basket .update {
	background: none;
	border: none;	
	display: block;
	margin: 0 auto 5px auto;
}
#content table.order-basket th {
	padding:10px;
	font-size: 1.2em;
	text-align: left;
	background-color: #e8e8e8;
	border-bottom: 1px solid #d8d8d8;
	border-right: 1px solid #d8d8d8;
}
@media (min-width: 768px) and (max-width: 980px) {
	#content table.order-basket th {
		padding:5px;
		font-size: inherit;
	}
}
#content table.order-basket td {
	padding: 10px 10px 0;
	font-size: 1em;
	text-align: left;
	border-bottom: 1px solid #d8d8d8;
	border-right: 1px solid #d8d8d8;
}

/* ORDER CHECKOUT
======================= */
#content table.checkout { margin: 10px 0 0 0;width:100%;border: 1px solid #d8d8d8; }
#content table.checkout caption { display: none; }
#content table.checkout {
	border-bottom: 0;
}  
#content table.checkout th.total-exc-tax span,
#content table.checkout th.total-inc-tax span {
	white-space: nowrap;
	font-size: 0.9em;
	font-weight: normal;
}
#content table.checkout th.price,
#content table.checkout td.price {
	white-space: nowrap;
	width: 50px;
}
#content table.checkout th.total-exc-tax,    
#content table.checkout td.total-exc-tax,
#content table.checkout th.tax,
#content table.checkout td.tax,
#content table.checkout th.total-inc-tax,
#content table.checkout td.total-inc-tax {
	white-space: nowrap;
	width: 50px;
	background: #EFEFEF;
} 
#content table.checkout tr.tabletotal th,
#content table.checkout tr.tabletotal td {  }
#content table.checkout th.shipping-address	{
	color: #000;
	border-bottom: 0;
	font-size: 1.4em;
}
#content .policy small label {
	font-size: 1.2em;
	margin: 10px 0 40px 0;
	display: block;	
}
#agreeterms { margin-right: 5px }
#content table.checkout th {
	padding:10px;
	white-space:nowrap;
	font-size: 1.2em;
	text-align: left;
	background-color: #e8e8e8;
	border-bottom: 1px solid #d8d8d8;
	border-right: 1px solid #d8d8d8;
}
@media (min-width: 768px) and (max-width: 980px) {
	#content table.checkout th {
		padding:5px;
		font-size: inherit;
	}
}
#content table.checkout td {
	padding: 10px 10px 10px;

	font-size: 1em;
	text-align: left;
	border-bottom: 1px solid #d8d8d8;
	border-right: 1px solid #d8d8d8;
}
form fieldset.save 	{
	clear: both;
	border: 1px solid #CCC;
	background: #EEE;
	color: #333;
	margin-bottom: 15px;
	padding: 5px;
	text-align: right;
}
.worldpaylogos { margin: 50px auto 0 auto; width: 60%; }

@media (min-width: 768px) and (max-width: 960px) {
	.worldpaylogos { width: 70%; }
}

.worldpaylogos li {
	float: left;
	display: block;
	margin-right: 10px;
}

@media (max-width: 767px) {
	.worldpaylogos { width: 75%; }
	.worldpaylogos li { width: 50px; }
	.worldpaylogos li:last-child img { height: 32px; }
}

/* SECTION STYLING
======================= */

#banner {
	margin: 0px;
	padding: 0px;
	color: #FFF;
	width: 744px;
	height: 60px;
}
#banner	img	{ margin: 10px; }

/* Navigational styling */
#endBlock	{ height: 400px; } 

/* TEST HARNESS CLASSES
======================= */

div.resp {
	background-color: #CCF;
	border: 1px solid #33F;
	padding: 5px;
	margin: 10px;
	font-size: 12px;
}
div.req {
	background-color:#FFF;
	border: 1px solid #33F;
	padding: 5px;
	margin: 10px;
	font-size: 12px;
}
div.resp dd	{
	font-family: Bitstream Vera Sans Mono;
	border: 1px solid #33F;
	background-color: #FFF;
	word-wrap: break-word;
}
div.req table	{
	border: none;
	width: 100%;
}
form td.spacer	{ width: 10px; }
span.auth a	{
	margin-left: 10px;
	margin-right: 10px;
}
input.inText	{ width: 250px; }

/* for free subs to match worldpay call back */
#wrappersso>#content	{
	float: none;
	padding-bottom: 30px;
}
