@charset "UTF-8";

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

body{
  color: #666666;
  background-color: #f9f8f6;
  background-image: url("images/didi11.png");
  background-position: center;
  font-family: Courier,monospace;
  line-height: 1.4em;
  margin: 0px;
}


.wrapper{
  width: 1200px;
  margin: 50px auto 20px auto;
  border: 2px solid #000000;
  background-color: #ffffff;
}

header{
  height: 160px;
  background-image: url("images/logo2-versionB.gif");

}

h1{
  text-indent: 100%;
  white-space:nowrap;
  overflow: hidden;
  width: 940px;
  height: 130px;
  margin: 0px;

}

nav, footer {
  clear: both;
  color: #ffffff;
  background-color: #00ace6;
  height: 30px;
}

nav ul {
  margin:0px;
  padding: 5px 0px 5px 30px;
}

nav li {
  display: inline;
  margin-right: 100px;
}

nav li a {
  color: #ffffff;
}

nav li a:hover, nav li a.current {
  color: #000000;
}

section.courses {
  float:left;
  width:800px;
  border-right: 1px solid #eeeeee;
}

article{
  clear: both;
  overflow: auto;
  width: 100%;

}

.headergroup {
  margin-top: 40px;
}

figure{
  float: left;
  width: 220px;
  height: 180px;
  padding: 20px;
  margin: 10px;
  border:1px solid #eeeeee;
}

figcaption {
  font-size: 90%;
  text-align: left;
}

aside {
  width: 230px;
  float: left;
  padding: 0px 0px 0px 20px;
}

aside section a {
  display:block;
  padding: 10px;
  border-bottom: 1px solid #eeeeee;
}

/*this changes the text and background colour of the links inside the aside section(on the right-hand side)*/
aside section a:hover {
  color:#985d6a;
  background-color: #efefef;
}

a {
color: #C71585;
text-decoration: none;
}

h1,h2,h3 {
  font-weight: normal;
}

h2{
  margin: 20px 10px 5px 0px;
  padding: 0px;
  color: #191970;
}

h3{
  margin: 0px 0px 10px 0px;
  color: #C71585;
}

aside h2{
  padding: 30px 0px 10px 0px;
  color: #191970;
}

p {
  color:#000000;
}

footer {
  font-size: 80%;
  padding:7px 0px 0px 20px;
}

table {
  border-collapse: collapse;
}

table,th,td {
  border: 1px solid black;
}

table {
  width: 100%;
}
th {
  right: 59px;
  background-color:#C71585;
  color: white;
  font-size: 120%;
  font-family: sans-serif;
  padding: 10px;

}

td {
  color: #000000;
  padding: 10px;
  text-align: left;
}


tr:nth-child(even) {background-color: #f2f2f2;}

article1 {
  padding: 0px 0px 0px 300px;
}

article2 {
  padding: 0px 0px 0px 120px;
}
