/* Light */
@font-face {  font-family: 'Open Sans';
  src: url("/fonts/OpenSans/Light/OpenSans-Light.eot?v=1.1.0");
  src: url("/fonts/OpenSans/Light/OpenSans-Light.eot?#iefix&v=1.1.0") format("embedded-opentype"), url("/fonts/OpenSans/Light/OpenSans-Light.woff?v=1.1.0") format("woff"), url("/fonts/OpenSans/Light/OpenSans-Light.ttf?v=1.1.0") format("truetype"), url("/fonts/OpenSans/Light/OpenSans-Light.svg?v=1.1.0#OpenSansBold") format("svg");
  font-weight: 300; font-style: normal;
}

/* Light Italic */
@font-face {  font-family: 'Open Sans';
  src: url("/fonts/OpenSans/LightItalic/OpenSans-LightItalic.eot?v=1.1.0");
  src: url("/fonts/OpenSans/LightItalic/OpenSans-LightItalic.eot?#iefix&v=1.1.0") format("embedded-opentype"), url("/fonts/OpenSans/LightItalic/OpenSans-LightItalic.woff?v=1.1.0") format("woff"), url("/fonts/OpenSans/LightItalic/OpenSans-LightItalic.ttf?v=1.1.0") format("truetype"), url("/fonts/OpenSans/LightItalic/OpenSans-LightItalic.svg?v=1.1.0#OpenSansBold") format("svg");
  font-weight: 300; font-style: italic;
}

/* Regular */
@font-face {  font-family: 'Open Sans';
  src: url("/fonts/OpenSans/Regular/OpenSans-Regular.eot?v=1.1.0");
  src: url("/fonts/OpenSans/Regular/OpenSans-Regular.eot?#iefix&v=1.1.0") format("embedded-opentype"), url("/fonts/OpenSans/Regular/OpenSans-Regular.woff?v=1.1.0") format("woff"), url("/fonts/OpenSans/Regular/OpenSans-Regular.ttf?v=1.1.0") format("truetype"), url("/fonts/OpenSans/Regular/OpenSans-Regular.svg?v=1.1.0#OpenSansBold") format("svg");
  font-weight: normal; font-style: normal;
}

/* Italic */
@font-face {  font-family: 'Open Sans';
  src: url("/fonts/OpenSans/Italic/OpenSans-Italic.eot?v=1.1.0");
  src: url("/fonts/OpenSans/Italic/OpenSans-Italic.eot?#iefix&v=1.1.0") format("embedded-opentype"), url("/fonts/OpenSans/Italic/OpenSans-Italic.woff?v=1.1.0") format("woff"), url("/fonts/OpenSans/Italic/OpenSans-Italic.ttf?v=1.1.0") format("truetype"), url("/fonts/OpenSans/Italic/OpenSans-Italic.svg?v=1.1.0#OpenSansBold") format("svg");
  font-weight: normal; font-style: italic;
}

/* Bold */
@font-face {  font-family: 'Open Sans';
  src: url("/fonts/OpenSans/Bold/OpenSans-Bold.eot?v=1.1.0");
  src: url("/fonts/OpenSans/Bold/OpenSans-Bold.eot?#iefix&v=1.1.0") format("embedded-opentype"), url("/fonts/OpenSans/Bold/OpenSans-Bold.woff?v=1.1.0") format("woff"), url("/fonts/OpenSans/Bold/OpenSans-Bold.ttf?v=1.1.0") format("truetype"), url("/fonts/OpenSans/Bold/OpenSans-Bold.svg?v=1.1.0#OpenSansBold") format("svg");
  font-weight: bold; font-style: normal;
}

/* Bold Italic */
@font-face {  font-family: 'Open Sans';
  src: url("/fonts/OpenSans/BoldItalic/OpenSans-BoldItalic.eot?v=1.1.0");
  src: url("/fonts/OpenSans/BoldItalic/OpenSans-BoldItalic.eot?#iefix&v=1.1.0") format("embedded-opentype"), url("/fonts/OpenSans/BoldItalic/OpenSans-BoldItalic.woff?v=1.1.0") format("woff"), url("/fonts/OpenSans/BoldItalic/OpenSans-BoldItalic.ttf?v=1.1.0") format("truetype"), url("/fonts/OpenSans/BoldItalic/OpenSans-BoldItalic.svg?v=1.1.0#OpenSansBold") format("svg");
  font-weight: bold; font-style: italic;
}


table, tr, input, select, textarea, ul, ol {font-size: 1em; vertical-align: top; }
h1, h2, h3, h4, h5, h6, pre, code, address, caption, cite, th {font-size: 1em; font-weight: normal; font-style: normal; }
html, body, div, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, fieldset, input, select, figure {margin: 0; padding: 0;}
img { border: none;}
caption, th {text-align: left;}
table { border-collapse: collapse; border-spacing: 0;}

.serif {font-family: Georgia, "Times New Roman", Times, serif;}
.sans {font-family: "Open Sans","Helvetica Neue",Helvetica, Arial, Geneva, sans-serif; font-weight:300 }

body {margin:0; font-size:13px; font-family: "Open Sans", "Helvetica Neue", Helvetica, arial, sans-serif; color:#444;}
body.maths {background:#fff url(_styleimages/backmaths.gif) 0 0 repeat-x;}
body.stats {background:#fff url(_styleimages/backstats.gif) 0 0 repeat-x;}
body.como {background:#fff url(_styleimages/backcomo.gif) 0 0 repeat-x;}
body.simple {background:#fff url(_styleimages/backsimple.gif) 0 0 repeat-x;}

div.wrapper {position:relative; max-width:1010px; margin:0px auto;}
div.menutag {position:absolute; left:20px; top:0px;}
div#menu1 {position:absolute; left:0px; top:0px; width:186px; background:url(_styleimages/ribbonback1.gif) repeat-y; display:block}
div#menu2 {position:absolute; left:0px; top:0px; width:255px; background:url(_styleimages/ribbonback2.gif) repeat-y; display:none}
div.menucontents1 {padding:10px 13px 80px 13px; background:url(_styleimages/ribbonbottom1.gif) left bottom no-repeat; color:white}
div.menucontents2 {padding:10px 13px 80px 13px; background:url(_styleimages/ribbonbottom2.gif) left bottom no-repeat; color:white}
div.banner {position:absolute; left:220px; top:0px; padding-top:8px; font-family: Georgia,"Times New Roman",Times,serif; font-size:12px}
div.search {position:absolute; right:0; top:0; width:200px; height:24px; margin-top:6px; background-color:#fdeebe}
div.headermaths {position:absolute; left:220px; top:76px; font-size:55px; font-family: Georgia, "Times New Roman", Times, serif;}
div.headerstats {position:absolute; left:220px; top:60px; font-size:55px; font-family: Georgia, "Times New Roman", Times, serif;}
div.headercomo {position:absolute; left:220px; top:56px; max-width:450px; font-size:45px; font-family: Georgia, "Times New Roman", Times, serif;}

div#headerimage {position:absolute; right:5%; top:16px; width:33%; height:260px;}
div#headerimagemaths {position:absolute; right:5%; top:16px; width:33%; height:260px;}
div#headerimagestats {position:absolute; right:0px; top:16px; width:66%; height:260px;}

div.content {padding-left:220px; padding-top:280px;padding-right:10px; min-height:500px}
div.welcome {font-size:18px; color:#700; padding-bottom:20px; border-bottom:solid 1px #fabe00;}
div.homenotice {text-align:center; font-size:18px; color:white; padding:10px 0; margin:0 0 20px; background-color:#10428c}
div.homeadvert {text-align:center; font-size:18px; color:#700; padding:10px 0; border-bottom:solid 1px #fabe00; background-color:#ad8}
div.othersubject {display:none; font-size:26px; padding-left:0px; margin-top:4px}

div.homeboxlinks {line-height:120%; margin-top:12px;}

div.box1first {float:left; width:191px; font-size:110%}
div.box1 {float:left; margin-left:42px; width:191px; font-size:110%}

div.box2first {float:left; width:179px; padding:5px; border:1px solid #eee}
div.box2 {float:left; margin-left:42px; width:179px; padding:5px; border:1px solid #eee}

div.float {float:right; width:200px; max-width:300px; margin:0px 0px 10px 20px; padding:1px; border:1px solid #eee; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; background-color:#f4f8ff}

div#float1 {float:left; width:65%; margin-bottom:30px}
div#float2 {float:right; width:30%; background-color:#ffffe4; border:1px solid #ddd; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; margin-top:30px}
div#float2content {padding:20px; font-size:90%}

div.paperfootnote {margin-top:30px; color:grey}

div.aitken {position:relative; max-width:740px; margin:0px auto; padding:0px 20px 20px}

div.footer {width:100%; background:url(_styleimages/footerback.gif) 0 0 repeat-x;}
div.footerbar {max-width:1010px; margin:0px auto; padding-top:15px; background:url(_styleimages/topofpage.gif) top right no-repeat;}
div.footerbarcontent {background-color:#164480; min-height:26px}
div.footercontent {max-width:1010px; margin:0px auto; background:url(_styleimages/kowhaiwhai-head.png) left bottom no-repeat; padding:9px;}
div.footerotago {max-width:1010px; margin:0px auto; background-color:white; height:20px; padding-top:6px;}

span.footerotago {height:30px; padding:0px 10px; border-right:1px solid #eee}

div.quote {margin:0 20px}
div.seminartitle {font-style:italic; font-size:18px;}
div.whichmathssidebar {border:solid 2px #cce; border-radius:4px; background-color:#f8f8ff; padding:4px;}

table#hometable1 {display:table}
table#hometable2 {display:none}

span#welcome1 {display:inline}
span#welcome2 {display:inline}


table {text-align:left; border:0px}

td.aitkenHeader {font-size:24px; color:white; padding-bottom:20px}

@media screen and (max-width: 900px)
{
	div#headerimage {top:36px; height:220px;}
	div#headerimagemaths {top:36px; height:220px;}
	div#headerimagestats {top:36px; height:220px;}
	table#hometable1 {display:none}
	table#hometable2 {display:table}
	div.float {float:none; width:inherit; margin:0px}
}

@media screen and (max-width: 800px)
{
	span#welcome2 {display:none}
}

@media screen and (max-width: 700px)
{
	td.aitkenHeader {padding-bottom:6px}
}

@media screen and (max-width: 685px)
{
	div#headerimage {top:46px; height:200px;}
	div#headerimagemaths {top:46px; height:200px;}
	div#headerimagestats {top:46px; height:200px;}
	div#menu1 {display:none}
	div.banner {position:absolute; left:80px; top:0px; padding-top:8px; font-family: Georgia,"Times New Roman",Times,serif; font-size:12px}
	div.headermaths, div.headerstats, div.headercomo {position:absolute; left:20px; top:76px;}
	div.content {padding-left:10px; padding-top:250px}
	div.othersubject {display:block}
}

@media screen and (max-width: 550px)
{
	td.aitkenHeader {padding-bottom:16px}
}

@media screen and (max-width: 500px)
{
	span#welcome1 {display:none}
	div#float1 {float:none; width:100%}
	div#float2 {float:none; width:300px}
}

@media screen and (max-width: 400px)
{
	div#headerimage {display:none}
	div#headerimagemaths {display:none}
	div#headerimagestats {display:none}
}

.fluidMedia {
    position: relative;
    padding-bottom: 56.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.fluidMedia iframe {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
}


.yellow {color:#fb0}


h1 {font-size:36px; color:#933; margin-top:0px; margin-bottom:3px;}	/* border-bottom:1px solid #fcd}*/
h2 {font-size:25px; color:#933; margin-top:12px; margin-bottom:3px;}	/* border-bottom:1px solid #fcd}*/
h3 {font-size:20px; color:#933; margin-bottom:1px; margin-top:25px; padding-bottom:0px;}
h3:first-child {margin-top:0px;}	/* used in sidebar*/
h2+h3 {margin-top:6px;}
h3.sidebar {font-size:17px}
h3.seminarperson {margin-top:5px}
h3.aitken {text-align:center; font-family:"Times New Roman"; font-size:28px}

h4 {font-size: 16px; color: #339; margin-top:20px; margin-bottom:0px;}
h4:first-child {margin-top:0px;}		/* News */
h4.smaller {font-size:14px}
h4.aitken {text-align:center; font-family:"Times New Roman"; font-size:24px}
h5 {font-size: 13px; color: #a67; font-weight: normal; margin-top:6px; margin-bottom:0px;}


div.people h4 {margin-top:14px}



td.h4 {font-size: 16px; color: #339; margin-top:20px; margin-bottom:0px;}


a {color: #66b; text-decoration: none;}
a:visited {color: #66b}
a:hover {color:#008}

a.homenews {font-size:90%; display:block; line-height:120%;}

a.menu1 {color: #fff; text-decoration: none;}
a.menu1:visited {color: #fff}
a.menu1:hover {color:#fb0}

a.menu2 {font-size:17.5px; color: #fff; text-decoration: none;}
a.menu2:visited {color: #fff}
a.menu2:hover {color:#fb0}

a.menu1chosen {color:#fb0}
a.menu2chosen {font-size:17.5px; color:#fb0}

a.menu2larger {font-size:24px; color: #fff; text-decoration: none;}
a.menu2larger:visited {color: #fff}
a.menu2larger:hover {color:#fb0}

a.banner {color: #444; text-decoration: none;}
a.banner:visited {color: #444}
a.banner:hover {color:#444; text-decoration: underline;}

a.footer {color: #888; text-decoration: none;}
a.footer:visited {color: #888}
a.footer:hover {color:#888; text-decoration: underline;}

a.buttontype {border:1px solid #888; border-radius:4px; background-color:#ffd; padding:0px 3px;}

a.aitken1 {border:1px solid #888; border-radius:4px; background-color:#ffd; padding:0px 8px; font-size:100%}
a.aitken2 {border:1px solid #888; border-radius:4px; background-color:#ffd; padding:0px 4px; font-size:100%}

a.simple {color: #fff; text-decoration: none;}
a.simple:visited {color: #fff}
a.simple:hover {color:#ddf;} 

a.OLAFcontinue1 {display:block; width:160px; padding:4px 10px; border:2px solid #aaa; border-radius:12px; background-color:#dfd; text-align:center; color:black}
a.OLAFcontinue1:hover {background-color:#efe;}

a.OLAFcontinue2 {display:block; width:160px; padding:4px 10px; border:2px solid #aaa; border-radius:12px; background-color:#fce2c2; text-align:center; color:black}
a.OLAFcontinue2:hover {background-color:#ffeece;}


a.events {font-size:140%; display:block; line-height:120%;}
table.events td {width:33%;}
table.events div {margin:4px; padding:6px; background-color:#fafafa; border:1px solid #eee; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;}

div.othersubject a {color:#ddf}
div.othersubject a:visited {color:#ddf}
div.othersubject a:hover {color:#bbd}

div.pad10 {padding:10px}


sup {vertical-align: baseline; position: relative; top: -0.4em;}	/* maintains line height */

p {margin-top:8px; margin-bottom:8px;}
p.line {border-bottom:dashed #fb0 1px; margin-top:0px;}
p.linemenu {border-top:solid #89b 1px; margin-top:2px;}
p.loose {margin-top:20px; margin-bottom:8px;}
p.tight {margin-top:4px; margin-bottom:4px;}
p.thin {margin-top:0px; margin-bottom:0px; line-height:8px}
p.padleft {padding-left:20px}
p.right {text-align:right}


p.aitkenBody {font-family:"Times New Roman",serif; font-size:16px; margin:18px 0; line-height:1.6em; text-align:justify}
p.aitkenQuote {font-family:"Times New Roman",serif; font-size:15px; margin:0px 20px; padding:8px; line-height:1.6em; background-color:#eee}
p.aitkenVerse {font-family:"Times New Roman",serif; font-size:14px; margin:2px 50px; line-height:1.6em}
p.aitkenNarrow {font-family:"Times New Roman",serif; font-size:15px; width:260px; margin:0px auto; padding:8px 14px; line-height:1.6em; background-color:#eee}

div.menucontents p {margin-top:5px; margin-bottom:5px;}

img {border:none}
img.border {border-color:#ccf; border-style:solid; border-width:1px;}

textarea {font-size:12px; font-family: Verdana, Helvetica, sans-serif;}
input {font-size:12px; font-family: Verdana, Helvetica, sans-serif;}
div.slim input {border:1px solid #aaa; padding:1px; background-color:#fafaff}


td.boxfiller {width:40px;}
td.boxmaths {width:191px; padding:0 0; font-size:105%; line-height:150%; background:url(_styleimages/shademaths.gif) bottom repeat-x}
td.boxstats {width:191px; padding:0 0; font-size:105%; background:url(_styleimages/shadestats.gif) bottom repeat-x}
td.boxcomo {width:191px; padding:0 0; font-size:105%; background:url(_styleimages/shadecomo.gif) bottom repeat-x}


table.pad515 td {padding:5px 15px}

table.tb1 {background-color:#edf}
table.tb1 tr {background-color:#fff;}
table.tb1 tr.rw0 {background-color:#ffd; font-weight:bold}
table.tb1 td {padding:0px 6px}
table.tb2 {background-color:#edf}
table.tb2 tr {background-color:#fff;}
table.tb2 tr.rw0 {background-color:#ffd; font-weight:bold}
table.tb2 td {padding:0px 4px}


table.main {width:100%; border:0px}
td.nav {width:220px; padding:10px 0px 10px 10px;}
td.content {padding:0px 20px 10px 20px;}
td.right {width:190px; padding:1px 15px 10px 15px; background-color:#f2f6ff}
td.menuselect {padding:3px; background-color:#d6ddee}
td.xmenuselect {padding:3px; background-color:#edc8d3}
td.menuline {background:url(_styleimages/menuline.gif)}
td.menu {padding:9px 4px}

th.tableback1 {background-color:#edc}

table#accessibility th {background-color:#edc; padding-left:15px; padding-right:15px}
table#accessibility td {padding-left:15px; padding-right:15px}
table#accessbrowsers th {padding:4px 2px}
table#accessbrowsers td {padding:4px 2px; border-bottom:1px solid #edc}

table.aitken {font-family:"Times New Roman",serif; font-size:14px; border-collapse:separate; border-spacing:4px 8px }


span.u {text-decoration-line:underline; text-decoration-style:style; height:3px}
span.u2 {text-decoration-line:underline; text-decoration-style:double}


hr.thin {margin:0px}

.h3 {font-size: 18px; color: #46a;}
.small {font-size:93%; color:black}
.smaller {font-size:86%;}
.norm {font-size:13px;}
.hilite {font-size:15px; font-weight:bold;}
.large {font-size:120%;}
.larger {font-size:140%;}
.largest {font-size:180%;}
.tournament {color:#55a; font-style:italic;}
/*.new {padding-left:12px; color:#55a; font-family:Arial,non-serif; font-size:10px; font-style:italic;}*/
.shade {background-color:#ffd}

.white {color: #fff}
.red {color: #c00}
.darkred {color: #833}
.blue {color: #339}
.lightblue {color: #ccf}
.lightyellow {color: #ff8}
.green {color: #063}
.lightgreen {color: #8d8}
.ltgrey {color: #bbb}
.grey {color: #777}
.greyback {background-color:#f8f8f8}

.crossout {text-decoration:line-through}

ol {margin-top:7px; margin-bottom:7px; margin-left:30px; padding:0px;}
ul {list-style-image:url(_styleimages/bullet.png); margin-top:6px; margin-bottom:12px; margin-left:30px; padding:0px; text-align:left;}
li {margin-top:6px; margin-bottom:6px;}
ol li {margin-top:6px; margin-bottom:6px; padding-left:5px}
ul.sidebar {margin-left:12px}
