/**
 * HTML5 ✰ Boilerplate
 *
 * style.css contains a reset, font normalization and some base styles.
 *
 * Credit is left where credit is due.
 * Much inspiration was taken from these projects:
 * - yui.yahooapis.com/2.8.1/build/base/base.css
 * - camendesign.com/design/
 * - praegnanz.de/weblog/htmlcssjs-kickstart
 */


/**
 * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
 * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
 * html5doctor.com/html-5-reset-stylesheet/
 */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

blockquote, q { quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after { content: ""; content: none; }

ins { background-color: #ff9; color: #000; text-decoration: none; }

mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }

table { border-collapse: collapse; border-spacing: 0; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

input, select { vertical-align: middle; }


/**
 * Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/
 */

body { margin-top: 10px !important; font:13px/1.231 sans-serif; *font-size:small; } /* Hack retained to preserve specificity */
select, input, textarea, button { font:99% sans-serif; }

/* Normalize monospace sizing:
   en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */
pre, code, kbd, samp { font-family: monospace, sans-serif; }


/**
 * Minimal base styles.
 */

/* Always force a scrollbar in non-IE */
html { overflow-y: scroll; }

/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }


/* Master list controls
	Margin over-riden by SD for listing on how-referee page 
	Colour set on li, so list disc is always red
	all content in li needs to be in span, so that this colour can be reset to black 
	*/

ul, ol { /* margin-left: 2em; */
	margin: 0;
	list-style-type: none;
	color: #cc0000; }
	
ul li span, ol li span { color: #000; }

/* End master list controls */

	
ol { list-style-type: decimal; }

/* Remove margins for navigation lists */
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }

small { font-size: 85%; }
strong, th { font-weight: bold; }

td { vertical-align: top; }

/* Set sub, sup without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre {
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; white-space: pre-wrap; word-wrap: break-word;
  padding: 15px;
}

textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.ie6 legend, .ie7 legend { margin-left: -7px; } 

/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* Hand cursor on clickable input elements */
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }

/* Colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid {
   border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }


/* These selection declarations have to be separate
   No text-shadow: twitter.com/miketaylr/status/12228805301
   Also: hot pink! */
::-moz-selection{ background: #444444; color:#fff; text-shadow: none; }
::selection { background:#444444; color:#fff; text-shadow: none; }

/* j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #444444; }

/* Make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }

/* Bicubic resizing for non-native sized IMG:
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }

/**
 * You might tweak these..
 */

body, select, input, textarea {
  /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
  color: #000;
  /* Set your base font here, to apply evenly */
  font-family: Arial, Helvetica, sans-serif;  
}

/* Headers (h1, h2, etc) have no default font-size or margin; define those yourself */
h1, h2, h3, h4, h5, h6 { font-weight: bold; }

a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }


/**
 * Primary styles
 *
 * Author: Paul Matson
 */

@font-face {
    font-family: 'FranklinGothicFSBook';
    src: url('../fonts/FranklinGothic-Book-webfont.eot');
    src: url('../fonts/FranklinGothic-Book-webfont.eot?iefix') format('eot'),
         url('../fonts/FranklinGothic-Book-webfont.woff') format('woff'),
         url('../fonts/FranklinGothic-Book-webfont.ttf') format('truetype'),
         url('../fonts/FranklinGothic-Book-webfont.svg#webfont') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FranklinGothicFSDemiCondensed';
    src: url('../fonts/FranklinGothic-DemiCd-webfont.eot');
    src: url('../fonts/FranklinGothic-DemiCd-webfont.eot?iefix') format('eot'),
         url('../fonts/FranklinGothic-DemiCd-webfont.woff') format('woff'),
         url('../fonts/FranklinGothic-DemiCd-webfont.ttf') format('truetype'),
         url('../fonts/FranklinGothic-DemiCd-webfont.svg#webfont') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FranklinGothicFSCondensed';
    src: url('../fonts/FranklinGothic-Cd-webfont.eot');
    src: url('../fonts/FranklinGothic-Cd-webfont.eot?iefix') format('eot'),
         url('../fonts/FranklinGothic-Cd-webfont.woff') format('woff'),
         url('../fonts/FranklinGothic-Cd-webfont.ttf') format('truetype'),
         url('../fonts/FranklinGothic-Cd-webfont.svg#webfont') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FranklinGothicFSCondensedItal';
    src: url('../fonts/FranklinGothic-CdIt-webfont.eot');
    src: url('../fonts/FranklinGothic-CdIt-webfont.eot?iefix') format('eot'),
         url('../fonts/FranklinGothic-CdIt-webfont.woff') format('woff'),
         url('../fonts/FranklinGothic-CdIt-webfont.ttf') format('truetype'),
         url('../fonts/FranklinGothic-CdIt-webfont.svg#webfont') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FranklinGothicFSHeavy';
    src: url('../fonts/FranklinGothic-Hvy-webfont.eot');
    src: url('../fonts/FranklinGothic-Hvy-webfont.eot?iefix') format('eot'),
         url('../fonts/FranklinGothic-Hvy-webfont.woff') format('woff'),
         url('../fonts/FranklinGothic-Hvy-webfont.ttf') format('truetype'),
         url('../fonts/FranklinGothic-Hvy-webfont.svg#webfont') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FranklinGothicFSCapsMediumCon';
    src: url('../fonts/FranklinGothicCaps-MedCd-webfont.eot');
    src: url('../fonts/FranklinGothicCaps-MedCd-webfont.eot?iefix') format('eot'),
         url('../fonts/FranklinGothicCaps-MedCd-webfont.woff') format('woff'),
         url('../fonts/FranklinGothicCaps-MedCd-webfont.ttf') format('truetype'),
         url('../fonts/FranklinGothicCaps-MedCd-webfont.svg#webfont') format('svg');
    font-weight: normal;
    font-style: normal;
}



p, #main li { font-size: 100%;
	font-family: 'LazyLine', Arial, Helvetica, sans-serif;
	margin-bottom:20px; }

#main li { margin-bottom: 3px; 
	letter-spacing: 1px;
	font-family: 'LazyLine', Arial, Helvetica, sans-serif; }

p.intro { font-size: 151%; font-family: 'FranklinGothicFSCondensed', Arial, Helvetica, sans-serif; margin-bottom:20px; color:#00509f }
p.standfirst { font-size: 141%; font-family: 'FranklinGothicFSCondensed', Arial, Helvetica, sans-serif; font-weight: bold; margin-bottom:20px; color:#f15922 }
p.standfirst a { color:#cc0000 }


em { /* font-family: 'FranklinGothicFSCondensedItal', Arial, Helvetica, sans-serif; font-weight: normal; REMOVED SO THAT TEXT IN STRONG EM IS ITALICIZED AND BOLD */
	font-style: italic; }

strong { font-family: 'FranklinGothicFSDemiCondensed', Arial, Helvetica, sans-serif; font-weight: normal; }



h1 { font-size: 360%; font-family: 'FranklinGothicFSCondensed', Arial, Helvetica, sans-serif; 
	font-weight: normal;
	line-height:100%; 
	margin-bottom: 40px; }
	
h3, .title a { font-size: 100%; font-family: 'FranklinGothicFSCondensed', Arial, Helvetica, sans-serif; color: #fff; font-weight: normal; text-decoration: none; }
.title a:hover { text-decoration: underline; }

/* Variants on colours dependent on the page - page is identified by class onbody */

/*
body.index { border-top: 14px solid #005aab; }
body.index h1 { color: #00509f; }

body.peer-review { border-top: 14px solid #472f91; }
body.peer-review h1 { color: #472f91; }

body.how-referee { border-top: 14px solid #851f83; }
body.how-referee h1 { color: #851f83; }

body.ethical-issues { border-top: 14px solid #f15922; }
body.ethical-issues h1 { color: #f15922; }
*/

body.index .topBrd { background-color: #005AAB; }
body.index h1 { color: #00509f; }
body.index .topBrd { right: 216px; }

body.peer-review .topBrd { background-color: #472f91; }
body.peer-review h1 { color: #472f91;
	padding-top: 14px;
	/* border-top: 14px solid #472f91; */ }
body.peer-review .topBrd { right: 180px; }

body.how-referee .topBrd { background-color: #851f83; }
body.how-referee h1 { color: #851f83;
	padding-top: 14px;
	/* border-top: 14px solid #851f83; */ }
body.how-referee .topBrd { right: 144px;  }

body.ethical-issues .topBrd { background-color: #f15922; }
body.ethical-issues h1 { color: #f15922;
	padding-top: 14px;
	/* border-top: 14px solid #f15922; */ }
body.ethical-issues .topBrd { right: 72px; }


.topBrd { height: 16px;
	font-size: 1px;
	width: 100%;
	position: absolute;
	top: 0;
	display: block; }


/* End colour variants */





/* Multiple columns */
.twoCol { 
	column-count: 2; 
	column-gap: 20px; 
	margin-bottom: 40px; 
}

.twoCol {
	/* Column-count not implemented yet */
	-moz-column-count: 2;
	-webkit-column-count: 2;

	/* Column-gap not implemented yet */
	-moz-column-gap: 20px;
	-webkit-column-gap: 20px;
}


/* Switch to one coloumn if browser is below min width */
@media screen and (max-width:800px) {
.twoCol { column-count: 1;
	-moz-column-count: 1;
	-webkit-column-count: 1; }
}

/* single column - 
	this is set up so that content within this class, can be an expandable div with a bg colour, but doesn't display full window width - ie under the nav...
	This takes the same theory as used above for when 2 cols become 1, but cheats and set us to 1920px wide
	To see what this fixes clearly, go to index.html and remove this v */
	
.oneCol { 
	column-count: 2; 
	column-gap: 20px; 
	margin-bottom: 40px; 
}

.oneCol {
	/* Column-count not implemented yet */
	-moz-column-count: 1;
	-webkit-column-count: 1;

	/* Column-gap not implemented yet */
	-moz-column-gap: 20px;
	-webkit-column-gap: 20px;
}

/* Switch to one coloumn if browser is below min width */
@media screen and (max-width:1920px) {
.oneCol { column-count: 1;
	-moz-column-count: 1;
	-webkit-column-count: 1; }
}

/* End single col fix/hack */

figure { 
	border-top: 1px solid #AAA; 
	padding-top: 10px;
	font-size: 77%;
}

figure img { 
	float:left; 
	margin-right:10px; 
	max-width:100%; 
	height:auto;
}


/* contents listing */
/* see also .oneCol styles above, which set the colour bg for the panel */

#contents { background-color: #bac4e4;
	border-top: 6px solid #005aab;
	margin-bottom: 40px; }

#contents h3 { padding: 0 5px;
	margin: 0 0 10px 0;
	color: #005aab; }

#contents ul { margin: 0;
	padding: 0; 
	list-style-type: none; }

#contents ul li { border-top: 1px solid #fff;
	padding: 3px 5px 8px 6px; }

#contents ul li a,
#contents ul li a:active,
#contents ul li a:visited { color: #036; }

#contents ul li a:hover { color: #607890; }



/* How to write a referee report styles */

body.how-referee #main ul { margin-bottom: 12px; }

body.how-referee .colour-block { background: #eaddeb url(../img/two-col-split-brd-top-bg.gif) no-repeat top center;
	margin-bottom: 40px; }
	
.two-col-hold { width: 50%; }
.border-push-l { border-left: 10px solid #fff; }
.border-push-r { border-right: 10px solid #fff; }


body.how-referee .colour-block h3 { color: #851F83;
	text-transform: uppercase;
	border-bottom: 1px solid #fff; 
	padding: 2px 8px 8px 8px;
	margin: 6px 0 4px 0; }

body.how-referee .colour-block ul { margin-left: 1.7em;
	margin-right: 10px; }

body.how-referee ul li { color: #851F83; }

.left { float: left; }
.right { float: right; }


/* Switch to one coloumn if browser is below min width */
@media screen and (max-width:800px) {
body.how-referee .colour-block { background-image: none; }
}

/* Switch to one coloumn if browser is below min width */
@media screen and (max-width:800px) {
.border-push-l,
.border-push-r { border: 0; }
}

/* Switch to one coloumn if browser is below min width */
@media screen and (max-width:800px) {
body.how-referee .two-col-hold { width: 100% }
}

/* Switch to one coloumn if browser is below min width */
@media screen and (max-width:800px) {
body.how-referee .colour-block h3 { border-top: 6px solid #472F91 !important; 
	border-top-color: #472f91;
	margin-top: 0;}
}







/* navigation */

/* all parent elements need to have 100% height in order for the child elements to do so. Not IE tested */
html, body, #container, nav, nav ul, #main { height: 100%; }
	
#container, nav, nav ul, nav ul li, #main { min-height: 100%; }






@font-face {
    font-family: 'LazyOutline';
    src: url('../fonts/lazy-outline-webfont.eot');
    src: url('../fonts/lazy-outline-webfont.eot?iefix') format('eot'),
         url('../fonts/lazy-outline-webfont.woff') format('woff'),
         url('../fonts/lazy-outline-webfont.ttf') format('truetype'),
         url('../fonts/lazy-outline-webfont.svg#webfont') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LazyLine';
    src: url('../fonts/lazy-line-webfont.eot');
    src: url('../fonts/lazy-line-webfont.eot?iefix') format('eot'),
         url('../fonts/lazy-line-webfont.woff') format('woff'),
         url('../fonts/lazy-line-webfont.ttf') format('truetype'),
         url('../fonts/lazy-line-webfont.svg#webfont') format('svg');
    font-weight: normal;
    font-style: normal;
}


