/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4em; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }



/* ===== Primary Styles ========================================================
   Author: Matt Northam (Bournemouth University)
   ========================================================================== */

body {margin: 0; padding: 0; font-size: 14px; background: url(/maco/img/tile-bg.jpg) repeat center center;}

a:link, a:visited {color: #bf3030;}
a:hover, a:active {color: #aa1f84; text-decoration: none;}

header {
	margin: 0 0 20px 0;
	padding: 10px 0;
	width: 100%;
	height: 40px;
	background: #b33701;
	color: #fff;
}

header div {width: 990px; margin: 0 auto; padding: 0; margin: 0 auto;}
header h1 {height: auto; width: 990px; line-height: 1em; padding: 0; margin: 0; text-align: center;}

#wrap {width: 990px; margin: 0 auto;}

footer {clear: both; width: 990px; border-top: 1px dashed #6d6d6d; margin: 40px 0; display: inline-block; font-size: 0.8em; text-align: right;}
footer a {padding: 0 20px 0 0;}

/*
// SIDE BAR
*/

#side {width: 240px; float: left; font-size: 0.9em; padding: 0 10px;}
#side a:link, #side a:visited, #help a:link, #help a:visited {text-decoration: none; color: #545350;}
#side a:hover, #side a:active, #help a:hover, #help a:active {text-decoration: none; color: #bf302f;}

#loggedin {	padding: 1px 10px; height: 100px;}
#loggedin a {height: 18px !important; display: block;}
#loggedin p {margin: 0; padding: 2px 0; font-size: 0.9em}
#loggedin a.home {padding: 0 0 0 30px; background: url(/maco/img/icons-sprite.png) no-repeat left -264px;}
#loggedin .user {padding: 0 0 0 30px; background: url(/maco/img/icons-sprite.png) no-repeat left -42px;}
#loggedin a.profile {padding: 0 0 0 30px; background: url(/maco/img/icons-sprite.png) no-repeat left -182px;}
#loggedin a.logout {padding: 0 0 0 30px; background: url(/maco/img/icons-sprite.png) no-repeat left -222px;}

#completed {
	margin: 10px 0;
	padding: 5px 10px 10px 10px;
	height: auto;
	background: #ffffff;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	-webkit-box-shadow: 0 8px 6px -6px #d8d8d8;
	-moz-box-shadow: 0 8px 6px -6px #d8d8d8;
	box-shadow: 0 8px 6px -6px #d8d8d8;
}

#completed h3 {margin: 0; padding: 2px 0 2px 30px; color: #b5b5ab; text-transform: uppercase; background: url(/maco/img/icons-sprite.png) no-repeat 2px -479px;}
#completed h3 span {color: #545350;}

#completed #outline {margin-top: 7px; width:216px;border:0px solid #000; background: #bfebeb url(/maco/img/per-bar-outline.jpg) repeat-x top center; height:17px; clear: both;}
#completed #fill {background:#37c0c2 url(/maco/img/per-bar-fill.jpg) repeat-x top center; height:17px; color:#fff; text-align:right; padding:0; font-size: 0.9em;}
#completed #fill p {padding: 0 10px; width: 20px;background: ; margin: 0; height: 17px; display: inline-block;}

/*
// TOPIC LIST
*/

#navArea {
	padding: 1px 10px;
	background: rgb(255, 255, 255);
	background: rgba(255, 255, 255, 0.4);
	
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
}

#navArea h3 {padding: 0 0 0 30px;}
#navArea h3.welcome {background: url(/maco/img/icons-sprite.png) no-repeat left -22px;}
#navArea h3.topics {background: url(/maco/img/icons-sprite.png) no-repeat left -62px;}
#navArea h3.references {background: url(/maco/img/icons-sprite.png) no-repeat left -142px;}
#navArea h3.intervention {background: url(/maco/img/icons-sprite.png) no-repeat left -642px;}


#navArea .num {
	font-size: 0.9em;
	color: #fff;
	float: left; width: 15px; height: 15px; background: url(/maco/img/icons-sprite.png) no-repeat -2px -338px; text-align: left; padding: 5px; margin: 2px 0 0 0; line-height: 1.4em;
    -webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
}
	
#navArea .dropdown {float: left; width: 180px; padding: 5px; background: ; font-weight: bold; margin: 0;}
#navArea .topic {display: none; margin: 0; padding: 0 0 20px 30px;}
#navArea .topic li {list-style-type: none; background: url(/maco/img/icons-sprite.png) no-repeat left -301px; padding: 0 0 0 20px; }
#navArea .topic li.todo {background: url(/maco/img/icons-sprite.png) no-repeat left -81px;}
#navArea .topic li.current {background: url(/maco/img/icons-sprite.png) no-repeat left -421px;}
#navArea .topic li.current a {color: #c03130 !important;}
#navArea .topic li.check {background: url(/maco/img/icons-sprite.png) no-repeat left -361px;}


/*
// MAIN CONTENT AREA
*/

#help {text-align: right; font-size: 0.8em; float: right;}
#help a{
	padding: 0px 0 0px 30px; display: inline-block; height: 18px;
	text-decoration: none;
	background: url(/maco/img/icons-sprite.png) no-repeat 2px -582px;
}
#help a.admin {margin-left: 20px; background: url(/maco/img/icons-sprite.png) no-repeat 2px -602px;}

#main {width: auto; float: left; margin-bottom: 20px;}

#main h3.pageTitle {
	font-size: 1em;
	height: 22px;
	background: #59c0f6; color: #fff; padding: 10px 10px 10px 20px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;	
	-webkit-box-shadow: 0 8px 6px -5px #d8d8d8;
	-moz-box-shadow: 0 8px 6px -5px #d8d8d8;
	box-shadow: 0 8px 6px -5px #d8d8d8;
	
	}
	
#main h3.pageTitle em{font-size: 0.9em; padding: 0 10px 0 30px; background: url(/maco/img/icons-sprite.png) no-repeat 2px -122px; font-weight: normal;}

#main h3.pageTitle span {float: right; color: #59c0f6}

#main #content {
	background: #fff;
	width: 690px;
	padding: 15px 20px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;	
	-webkit-box-shadow: 0 8px 6px -1px #d8d8d8;
	-moz-box-shadow: 0 8px 6px -1px #d8d8d8;
	box-shadow: 0 8px 6px -1px #d8d8d8;
	text-align: center;
}

/*
// HOME PAGE
*/

#main .mainWelcome {font-size: 2.6em; line-height: 1em;}


/*
// LOGIN PAGE
*/

.loginPage, .print, .cert {width: 950px !important; }
.loginPage form {
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	background: #f6f6f6;
	padding: 5px 10px;
	display: inline-block;
}

.loginPage .box {
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	background: #fff;
	padding: 5px;
	margin-right: 10px;
}

.loginPage {}

#forgot {display: none; height: auto;}
.wrong {color: red; padding: 30px; font-weight: bold; font-size: 1.2em;}



/*
// TOPIC PAGE
*/

#content h4.actTitle {display:inline-block; margin: 0 40px 0 0; font-style: italic; font-size: 1.3em;}

#content h4.length {display:inline-block; margin: 0; padding: 0 0 0 30px; color: #8d8b84; font-size: 0.9em; background: url(/maco/img/icons-sprite.png) no-repeat 2px -320px;}

#content h5.actNum {margin: 15px 0 0 0; padding: 0px 0 0 30px; text-transform: uppercase; color: #8d8b84; }

#content h5.link {background: url(/maco/img/icons-sprite.png) no-repeat 2px -242px}
#content h5.entry {background: url(/maco/img/icons-sprite.png) no-repeat 2px -280px}
#content h5.workbook {background: url(/maco/img/icons-sprite.png) no-repeat 2px -2px}
#content h5.audio {background: url(/maco/img/icons-sprite.png) no-repeat 2px -402px}
#content h5.read {background: url(/maco/img/icons-sprite.png) no-repeat 2px -160px}
#content h5.think {background: url(/maco/img/icons-sprite.png) no-repeat 2px -102px}
#content h5.think {background: url(/maco/img/icons-sprite.png) no-repeat 2px -102px}
#content h5.quiz {background: url(/maco/img/icons-sprite.png) no-repeat 2px -622px}

.wrong {color: red; padding: 30px; font-weight: bold; font-size: 1.2em;}
.correct {color: green;  padding: 30px; font-weight: bold; font-size: 1.2em;}
label.highlight {color: green;}

.subTopic a {background: url(/maco/img/icons-sprite.png) no-repeat 2px -202px; padding: 0 0 0 24px;}
.subTopic form #submit_act {clear: both; margin: 20px auto; display: inline-block; text-align: center;}

.subTopic input[type="submit"], .loginPage input[type="submit"], #profile-edit input[type="submit"], .addUser input[type="submit"]  {
	/*-webkit-box-shadow: rgba(0, 0, 0, 0.199219) 0px 1px 0px 0px;
	box-shadow: rgba(0, 0, 0, 0.199219) 0px 1px 0px 0px;*/

	background-color: #6eaa00;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border-bottom-color: #333;
	border: none;
	border-width: 0;
	color: #fff;
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-size: 16px;
	font-weight: bold;
	height: auto;
	padding: 8px 10px;
	margin: 0;
	}

#content .completed {color: #6a6a6a; border-radius: 5px; display: inline-block; padding:  4px 10px 4px 30px; background: #d6d6d6 url(/maco/img/icons-sprite.png) no-repeat 2px -377px; font-style: italic;margin: 20px 20px 20px 0;}

#content textarea {width: 90%; padding: 5px; height: 120px;}
#content table textarea {width: 90%; height: 50px; margin-bottom: 10px;}

.print td {border: 1px solid grey;}

#main table {margin: 0 auto;}
#main table td {padding: 0 5px;}


/*
// PROFILE PAGE
*/

.profile h5 {margin: 0; padding: 2px 0 0px 0; color: #b5b5ab; text-transform: uppercase; line-height: 1em;}
.profile p {padding: 0 0 0 20px;}

.overalldone strong {clear: both; font-size: 5em; display: block; line-height: 1em;}


/*
// ADMIN THINGS
*/

.admin .done strong {font-size: 1.5em; padding-top: 10px; line-height: 1em; display: inline-block;}
.admin h4 {margin: 10px 0; padding: 2px 0 0 30px; color: #b5b5ab; text-transform: uppercase; line-height: 1em;}
h4.sites {background: url(/maco/img/icons-sprite.png) no-repeat 2px -562px;}
h4.all {background: url(/maco/img/icons-sprite.png) no-repeat 2px -462px;}
h4.add {background: url(/maco/img/icons-sprite.png) no-repeat 2px -442px;}

.addUser {border-left: 1px solid #efefef; padding-left: 5px; width: 340px;}
.addUser label {display: inline-block; width: 70px; text-align: right; padding: 0 10px 0 0;}
.addUser #sendInfo {margin: 10px;}
.addUser {text-align: center;}
.addUser #submit-form {margin: 10px 0 40px 0;}
.addUser #pathway, .addUser #pathway option {width: 200px;}

.legend {font-size: 0.8em; text-align: center;}
.legend span {padding-left: 34px; background-repeat: no-repeat !important; background-position: 10px center !important;}
.legend .admin {background: url(/maco/img/admin-user.gif);}
.legend .never {background: url(/maco/img/never-used.gif);}

.legend a {padding: 1px 4px; margin-bottom: 3px; display: inline-block; text-decoration: none; -webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;}
.legend a:hover {text-decoration: underline; background: grey}
.legend a.on {background: black; color: white;}

.userList {list-style: none; padding: 0; margin: 0;}
.userList li {background: #f6f6f6; margin: 7px 0; padding: 4px;}

.userList li.never {background: url(/maco/img/never-used.gif);}
.userList li.admin {background: url(/maco/img/admin-user.gif) !important; border-left: 2px solid #a4ccec;}

.userList .name {font-weight: bold;}
.userList .email {font-size: 0.9em;}
.userList .done {font-size: 0.9em;}
.userList .links {float: right;}

.userList .links a {width: 20px; height: 16px; display: block; overflow: hidden; text-indent: -999em; float: left; margin-left: 2px;}
.userList .links .p {background: url(/maco/img/icons-sprite.png) no-repeat 2px -502px;}
.userList .links .e {background: url(/maco/img/icons-sprite.png) no-repeat 2px -542px;}
.userList .links .d {background: url(/maco/img/icons-sprite.png) no-repeat 2px -522px;}

/*
// MISC
*/

#content img {margin: 0 auto; padding: 0px 5px;}

.print {color: grey; font-size: 0.9em;font-style: italic;}
.print .myEntry {color:black; font-size: 1.1em; font-style: normal; padding: 10px; margin-left: 40px; border: 1px dotted #666}
.print table .myEntry {border-width: 0 !important; margin: 0}
.print h3 {color: black;}
.print h4, .print h5 {padding-left: 20px;} .print h4 {padding-top: 20px; color: black;}
.print p{ padding-left: 40px; font-style: italic;}
.print p em, .cert em {color: grey; font-size: .9em; font-style: italic;}

.print img {display: none;}

.cert {text-align: center;}
.cert .score {font-size: 6em;}

.half {width: 46%; float: left; padding: 0 4% 0 0;}
.clear {clear: both; display: block;}

blockquote {font-style: italic; background: #e9e9e9; padding: 10px;}

ol li {list-style-type: lower-alpha;}
ol.numeric li {list-style-type: decimal;}



/* =============================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
.flright {float: right;}
.flleft {float: left;}

/* =============================================================================
   Print Styles
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr,table,td, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
  .tools, #help, footer {display: none;}
}

.tools a {display: inline-block; padding: 5px;}
