/* *** Main CSS for the CONTED website *** */
body {
  margin: 0;
  padding: 0;
  font-family: serif;
  font-size: 75%;
  line-height: 1.7;
  background: #e3dad1 url('/inc/img/bggradient.jpg') repeat-x 0px 0px;
  letter-spacing: 0.1em;
}

/* Content styles */
#mainContent {
  background-color: #eee9e3;
  border-top: 1px solid #a1bbd4;
  border-bottom: 10px solid #a1bbd4;
  color: #47361f;
}

.tab_indent {
  margin-left: 5em;
  padding: 0 0 0 0;
  line-height: 0.5em;
}

.bold_list {
  font-weight: bold;
  font-size: 1.0em;
}

/* Headings */
h1, h2, h3, h4, h5 {
  font-family: serif;
  color: #47361f;
}

h1 {
  height: 1%; /* To provoke MSIE's Haslayout */
  font-size: 1.8em;
  font-weight: normal;
  margin: 0.5em 0 0 0;
}

h2 {
  font-size:1.4em;
  margin: 1em 0 0 0;
  clear: right;
}

h3 {
  font-size:1.2em;
  margin: 1em 0 0 0;
}

h4 {
  font-size:1.0em;
  margin: 0.5em 0 0 0;
  font-style: italic;
}

#indented_small {
  padding-left: 2em;
}

#indented_medium {
  padding-left: 4em;
}

.caption {
  font-size:0.9em;
  font-style: italic;
  color: #666;
  margin: 1em 0 0 0;
}

/* Links */
a, a:visited {
  color: #002D62;
}

a:hover {
  color: #476A8F;
  text-decoration: none;
}

a img {
  border: 0;
}

a.external:after {
  content: " " url('/inc/img/external.png');
}

.headedListBox a, .boldLinks a {
  font-weight: bold;
}

a.highlight {
  font-weight: bold;
}

/* Top banner */
/*#bannerWrapper {
  width: 75%;
  background-color: #002147;
  margin: 0;
  min-height: 90px;
  
}*/

#banner, #topNav, #mainContent {
  max-width: 75em;
  margin: auto;
}

#banner {
  padding: 0 0.5em 0.5em 0.5em;
  line-height: 0.5em;
  vertical-align: baseline;
  color: #e2bb8b;
 /* background: #000066 url('/inc/img/banner.jpg') no-repeat top right;*/
}

#banner a, #banner a:visited {
  font-size: 1.2em;
  line-height: 1.8em;
  text-decoration: none;
  color: #da9a4c;
  font-weight: bold;
}

#banner a:hover {
  text-decoration: underline;
  color: #47361f;
}

#banner .parentLink {
  float: right;
  margin-left: 1.5em;
}

#banner img {
  border: 0;
  vertical-align: bottom;
  padding:0;
  margin:0;
}

#bannerEnd {
  clear: both;
  padding-top: 0.4em;
}

.siteNameMajor {
  font-family: georgia, serif;
  font-size: 1.6em;
}

#resizeButtons {
  position: absolute;
  top: 0; right: 0;
}

#resizeButtons img {
  border: 1px solid black;
  margin: 2px;
}

/* topnav */
#topNav {
  clear: both;
}

#topNav ul {
  background-color: #002147;
  padding: 0.2em 0 0.1em;
  margin: 0;
  font-size: 110%;
  text-transform: uppercase;
  display: block;
  text-align: center;
}

#topNav li {
  display: inline;
  float: left;
  margin: 0;
}

#topNav li.first {
  margin-left: 0;
}

#topNav a {
  color: #EEE;
  font-weight: normal;
  padding: 0.4em 0;
  text-decoration: none;
}

#topNav li a:hover {
  border-bottom: 0.4em solid white;
}

#topNav li.selected a {
  border-bottom: 0.4em solid white;
}

#navImg {
  padding-top: 1em;
  text-align: center;
}

.headedListBox {
  color: #666666;
}

.headedListBox h2 {
  margin: 0;
}

.headedListBox strong {
  color: black;
}

.headedListBox ul {
  margin: 0;
  padding: 0.5em;
}

.headedListBox li {
  border-bottom: 1px solid #D5D5D5;
  list-style-image: url('/inc/img/bullet_arrow.gif');
  margin-left: 1.1em;
  padding-bottom: 0.2em;
  margin-bottom: 0.3em;
}

.x {
  visibility: hidden;
}

.col3 {
  float: left;
  width: 31%;
  margin: 0.5em 2em 1.5em 0;
}

.col3Right {
  float: right;
  width: 55%;
  margin: 2em 0.75em 0 0;
}

.col3Small {
  float: left;
  width: 31%;
}

#prizeDraw {
  margin: 0.5em 0 0.5em 0.05em;
}

/* *** subnav *** */
/* outer container and general settings */
#subNav {
  float: left;
  width: 27%;
  margin: 1.0em 0 0 0;
  font-size: 125%;
  border-right: 1px solid #a1bbd4;
}

#sectionName {
  font-family: serif;
  color: #47361f;
  font-size: 1.7em;
  margin-bottom: 0.7em;
}

#subNav ul {
  padding: 0;
  margin: 0;
  /*border-top: 1px solid #D5D5D5;*/
  line-height: 1.2em;
}

#subNav ul ul {
  border-top: none;
  font-size: 0.8em;
}

/* First level of links (below home, courses, etc.) */
#subNav li {
  list-style: none;
  margin-left: 3em;
}

#subNav a {
  display: block;
  font-weight: bold;
  color: #47361f;
  /*background: transparent url(/inc/img/bullet_arrow.gif) no-repeat scroll 0.3em 1.1em;*/
  padding: 0.5em 0 0.5em 0.5em;
  text-decoration: none;
}

#subNav ul ul a {
  /*background: #F5F5F5;*/
  padding: 0.5em 0 0.5em 1em;
}

#subNav ul ul ul a {
  background-color: #E8E8E8;
  margin-left: 1.5em;
}

#subNav .selected {
  list-style-image: url(/inc/img/subnavbullet.jpg);
  color: #da9a4c;
  padding-top: 0.1em;
}

#subNav .descendant-selected {
  list-style-image: url(/inc/img/subnavbullet.jpg);
  color: #da9a4c;
  padding-top: 0.1em;
}

#subNav a:hover {
  color: #da9a4c;
  text-decoration: underline;
}

/* Search section */
.searchBox {
  color: #666;
  background-color: white;
  padding: 0.3em;
  text-align: center;
  border: 1px solid #D5D5D5;
  margin: 1em 0;
}

.searchBox form {
  display: inline;
}

.searchBox h2 {
  display: inline;
  clear: none;
  font-size: 100%;
  font-weight: bold;
}

.showAllForm {
  margin-left: 1em;
  border-left: 1px solid #D5D5D5;
  padding-left: 1em;
}

#homeSearch {
  margin: 0;
}

#navSearch {
  border: 1px solid #a1bbd4;
  padding: 0 0 0.2em 0.8em;
  margin: 1em 0.8em 0.2em 0.8em;
}

#navSearch form {
  margin: 0;
}

#oxfordlogo {
  margin: 2em 0.8em 0.8em 0.8em;
  float: right;
}

#exactMatch {
  vertical-align: middle;
}

/* *** Home page styles *** */
h1.home {
  display: inline;
  color: #47361f;
  font-size: 110%;
  font-weight: bold;
  line-height: 1;
}

#introBlock {
  float: left;
  width: 49%;
  margin-top: 0.5em;
}

#introduction{
  margin: 0.8em 0.7em 0.8em 1.2em;
  padding: 0 0 0 1.2em;
  font-size: 105%;
  line-height: 1.5;
  text-align: justify;
  border-left: 1px solid #a1bbd4;
}

#homeFeed {
  border: 1px solid #D5D5D5;
  padding: 0.5em 0.7em 0.5em 1.2em;
}

#homeFeed h2 {
  display: inline;
  margin: 0;
  font-size: 100%;
  font-weight: bold;
}

#highlightBlock {
  float: right;
  width: 49%;
  max-width: 400px;
  margin: 1.8em 0 1em auto;
  text-align: right;
  border: 1px solid #BEC5C2;
  border-bottom: 0;
}

#highlightBlock h2 {
  margin: 0;
  padding-right: 0.3em;
  color: #666;
  background-color: #f5f6fa;
  font-weight: bold;
  font-size: 110%;
}

#highlights {
  margin: 0;
  padding: 0;
  border-top: 1px solid #BEC5C2;
  border-bottom: 1px solid #BEC5C2;
  background: #97a2be url(/inc/getImg.php?i=rndHomeImg) repeat left center;
}

#highlights a {
  display: block;
  margin: 0 0 0 47%;
  padding: 0.9em 0.3em;
  color: white;
  background-color: #7987a8;
  background: url('/inc/img/50ob.png') repeat;
  text-decoration: none;
  min-height: 3em;
}

#highlights a:hover {
  background-color: #476A8F;
  background-image: none;
}

#promo2 {
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}

#contact, #location {
  margin-right: 0;
  width: 31%
}

.contact dl {
  color: black;
  font-style: normal;
}

.contact dl, .contact dt {
  margin-top: 0;
}

#address {
  display: block;
  margin-left: 0;
}
/* *** End home *** */

#rightcontent{
  margin-left: 19em;
}

hr {
  border: 1px solid silver;
  border-collapse: collapse;
}

hr.clear {
    display:block; 
    clear:both; 
    visibility:hidden;
}

.date {
  font-weight: normal;
  font-style: italic;
}

.toTop {
  float: right;
}

blockquote {
  font-style: italic;
}

.quals {
  font-weight: normal;
  font-size: 80%;
}

/* Table layouts */
table {
  width: 100%;
}

table, table th, table td {
  border-collapse: collapse;
  border: 1px solid #D5D5D5;
  padding: 0.3em;
}

table th {
  text-align: center;
  background-color: #f5f6fa;
  color: #666;
}

caption {
  background-color: #4F5F90;
  color: white;
  font-weight: bold;
  font-size: 1.2em;
}

thead th {
  text-align: center;
}

tbody th {
  text-align: right;
  vertical-align: top;
}

.eventTable {
  border-spacing: 0;
  border-collapse: collapse;
  line-height: 1.2;
}

.eventTable th {
  padding-right: 0.5em;
}

table.contacts {
  width: 100%;
}

table.contacts td {
  border-bottom: 1px solid silver;
}

.noborder, .noborder td {
  border: 0;
}

dt {
  font-weight: bolder;
  margin: 1em 0 0 0;
}

dd {
  margin:0 0 0 2em;
}

dd p {
  margin:0.3em 0 0.6em 0;
}

dl.newsItems dt {
  margin-top: 1.5em;
}

dl.newsItems dt:before {
  content: url('/inc/img/bullet_arrow.gif');
  margin-right: 0.5em;
}

dl.events dd {
  padding-bottom: 0.5em;
  margin-bottom: 1.5em;
  border-bottom: 1px solid silver;
}

/* Image settings */
.titleLink {
  margin-top: 2px;
  float: right;
  font-weight: normal;
  padding: 0 0.5em 0 0;
}

.left {
  float: left;
  margin: 0.3em 0.3em 0.3em 0;
}

.right {
  float: right;
  margin: 0.3em 0 0.3em 0.3em;
}

.staffImg {
  float: left;
  margin-right: 0.3em;
}

/* Footer area */
#footer {
    /*border-top: 4px solid #DEDEDE;*/
    clear: both;
    clear: both;
    padding: 1em;
    margin: 1em 0 1em 0;
    text-align: center;
    font-size: 90%;
}

#footer p {
  margin: 0.1em;
}

.smalller {
    font-size:0.85em;
    line-height:1.5em;
}

.accessKey {
  border-bottom: 1px dotted silver;
}

/*Positioning items on the online courses page*/
fieldset {
  border:0px;
  margin-left:0em;
}

#hometop {
  float:left;
  width: 70%;
  text-align: justify;
}

#hometop a {
  float: right;
}

#hometop h2 {
  clear: none;
}

#homeright {
  float: right;
  width: 25%;
  margin: 2em 0 1em 0.05em;
  padding: 0.5em;
  border: 1px solid #7987a8;
  overflow: hidden;
}

#genericInfo {
  float:left;
  width:100%;
}

select.county {
  font-size:0.8em;
}

.hidden, #shortCoursesDesc, #longerCoursesDesc, #professionalCoursesDesc,
#otherLocations, #whatsubject, #whattype, #courselength, #courselocation,
#advancedsearch {
  display: none;
}

#longerCourses ul {
  list-style-image: url('/inc/img/bullet_arrow.gif');
  margin: 0;
}
/*End Online courses page*/

/*Items for promo sites*/
.smallillustration {
  display:block;
  float:right;
  margin-left:2em;
}

.bigillustration {
  display:block;
  width:45%;
  float:right;
  margin-left:2em;
}

.illustration {
  float:right;
  margin-bottom:2em;
  margin-left:1em;
}
/*End promo*/

.staffprofile h2 {
  clear: none;
}

.staffphoto {
  float: right;
  border: 1px solid #002147;
}

/* News related styles */
.topNews {
  margin-top: 1.5em;
  float: right;
  width: 20em;
  border: 1px solid #7987a8;
  padding: 0.3em;
  text-align: center;
}

.topNews h2 {
  margin: 0;
}

.newsItems h3 {
  font-size: 100%;
  margin: 0;
}

.newsDetailLink {
  font-size: 0.8em;
}

.newsItems li {
  margin-bottom: 1em;
  list-style-image: url('/inc/img/bullet_arrow.gif');
}

.topLink {
  text-align: right;
  clear: both;
}

.layoutTable {
  width: 98%;
  border: none;
}

.layoutTable td {
  border: none;
}

.simpleborder {
  border: 1px solid #7987a8;
}

/*Included common page styles*/
.furtherinformation {
  margin: 1.0em;
  border: 1px solid #97a2be;
  display: none;
  padding: 0 0.5em 0.2em 1.0em;
}

#blockquote_source {
  float: right;
  width: 35em;
  font-size: 90%;
}
/*End*/

.searchAlphaList a {
  font-size: 150%;
  padding: 0.2em;
}

.searchAlphaList .selected {
  border: 1px solid #97a2be;
  background-color: #dfdfdf;
}