
/* base CSS */
* {
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

html, body {
  padding: 0;
  margin: 0;
}
body {
  background: -moz-linear-gradient(left,  #ffffff 0%, #ffffff 66%, #e5ede8 66%, #e5ede8 100%);
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ffffff), color-stop(66%,#ffffff), color-stop(66%,#e5ede8), color-stop(100%,#e5ede8));
  background: -webkit-linear-gradient(left,  #ffffff 0%,#ffffff 66%,#e5ede8 66%,#e5ede8 100%);
  background: -o-linear-gradient(left,  #ffffff 0%,#ffffff 66%,#e5ede8 66%,#e5ede8 100%);
  background: -ms-linear-gradient(left,  #ffffff 0%,#ffffff 66%,#e5ede8 66%,#e5ede8 100%);
  background: linear-gradient(to right,  #ffffff 0%,#ffffff 66%,#e5ede8 66%,#e5ede8 100%);    
  font-family: sans-serif;
}
a {
  color: #0d8ba1;
  text-decoration: none;
}

a:hover, a:focus {
  color: #0599c2;
  text-decoration: underline;
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}

abbr {
  border: none;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 0.01em;
}
header {
  background: #2d6360 50% 0  no-repeat; /* old IE fallback */
  width: 100%;
  height: 310px;
  padding: 0 10%;
  border-top: solid 12px rgba(19, 67, 71, 0.8);
  box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.3);
  vertical-align: middle;
  text-align: left;
}
header::before, header::after {
  display: block;
  content: " ";
  position: absolute;
  z-index: 3;
  top: 9px;
  left: 0;
  width: 100%;
  height: 7px;
  background: rgba(0, 39, 43, 0.2);
}
header::after {
  top: 306px;
  height: 4px;
  background: rgba(0, 39, 43, 0.075);
}

#leftheader {
    height: 100%;
    float: left;
    width: 69%;
}

#rightheader {
    float: right;
    width: 30%;
    height: 100%;
    background-image: url(landau2.png);
    background-repeat: no-repeat;
    background-size:  contain;
    background-position: center; 
}


h1, h2 {
  padding: 0 10%;
  margin: 0;
  color: #fff;
  font-weight: normal;
}

h1 {
  padding-top: 0;
  padding-bottom: 5px;
  border-bottom: none;
  font-family: sans-serif;
  font-size: 3.2em;
  text-transform: uppercase;
}
h1::before {
  display: inline-block;
  position: relative;
  top: 20px;
  content: "";
  width: 80px;
  height: 80px;
  margin: -20px 20px 0 0;
}
h2 {
  display: block;
  padding-top: 5px;
  padding-bottom: 30px;
  border-top: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.6em;
  font-style: italic;
}

h2::before {
  content: " ";
  padding: 50px;
}
h3 {
  margin: 2em 0 0 0;
  color: #2e484c;
  font-family: sans-serif;
  font-size: 1.8em;
  font-weight: normal;
  text-transform: uppercase;
}
h4 {
  margin: 2em 0 0 0;
  color: #2e484c;
  font-family: sans-serif;
  font-size: 1.4em;
  font-weight: normal;
  /* text-transform: uppercase; */
}
p {
  margin: 0.75em 0;
  line-height: 2;
  font-size: 1em;
}

.page-wrapper {
  position: relative;
}

.supporting h3, .supporting p {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}



/* coloured cutoff */
div.subpage {
    width: 100%;
    min-height: 400px;
    text-align: justify;
    padding: 3em 0;
    margin: 0;
    background-attachment: fixed;
    background-color: rgba(138,188,159,0.5);
}

div.subpage h3 {
  margin-top: 0;
}
div.subpage h4 {
  margin-top: 1em;
}
div.subpage p {
  margin-bottom: 0;
}

/* sidebar base styles */
.sidebar {
    background: #edf4f0;
    /* background-color: rgba(138,188,159,.5); */
    /* background: yellow; */
}
.sidebar h3 {
  display: none;
}
.sidebar a {
  color: #607476;
  text-decoration: none;
}
.sidebar a:hover, .sidebar a:focus {
  color: #49968e;
}
.sidebar ul {
  padding: 0;
  margin: 0;
  list-style: none;
  overflow: hidden;
}

/* shared sidebar styling */

.menu ul {
  margin: 0;
}

.menu li {
  float: left;
  width: 50%;
  padding: 1.5em 10%;
  border-top: solid 1px #d9e3dc;
  color: #c0cac3;
  font-style: italic;
}

.menu li:nth-child(2n+1) {
  clear: left;
}
.menu a {
  display: block;
  margin-bottom: 0.25em;
  font-family: sans-serif;
  font-size: 1.2em;
  font-style: normal;
  text-transform: uppercase;
}


/* resources */

.menu {
  overflow: hidden;
 }
.menu li {
  border-top: solid 1px #a0b9ad;
  font-style: normal;
}
.menu li:last-child {
  float: none;
  width: auto;
  border-bottom: solid 1px #a0b9ad;
}

/* busting out the credits block */

.supporting  {
  float: none;
  clear: both;
  /* width: 100%; */
  padding-left: 0;
  padding-right: 0;
}
.supporting  a {
  text-decoration: none;
}
.supporting a:hover, .supporting a:focus {
  text-decoration: underline;
}
.supporting h3 {
  padding-top: 0;
}


ul.publications li:not(:last-child) {
    margin-bottom: 10px;
}


/* main footer */
footer {
  clear: both;
  padding: 3em 10%;
  color: #fff;
  background: #134347;
  text-align: center;
}

a, a:visited {
    position: relative;
    display: inline-block;
  font-family: sans-serif;
}

.subpage a, .subpage a:visited {
  padding: 1px 4px 0 4px;
  margin: -1px 4px -1px -6px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
.subpage a:hover, .subpage a:focus {
  z-index: 2;
  color: #fff;
  background: #3d8a9f;
  text-decoration: none;
}

.menu a, .menu a:visited {
  padding: 6px 6px 6px 6px;
  margin: -6px -6px 0px 0px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.menu a:hover, .menu a:focus {
  z-index: 2;
  color: #fff;
  background: #3d8a9f;
  text-decoration: none;
}


.summary, .supporting div {
  float: left;
  clear: left;
  width: 66%;  
  padding: 1em 5% 1em 5%;
}


.subpage p {
  width: 98%;
}


/* mid-res CSS */


@media only screen and  (max-width: 1150px) {
body {
  background: #fff;
  font-family: sans-serif;
  font-size: 70%;
}    
header {
    border-top: solid 10px rgba(19, 67, 71, 0.9);
    height: 200px;
    padding: 0;
    text-align: center;
}
header::before, header::after {
    visibility: hidden;
}
#rightheader {
    float: right;
    width: 0%;
}
#leftheader {
    height: 100%;
    float: left;
    width: 100%;
}

p, li {
    font-size: 1.2em;
}

.intro h1::before {
    width: 0px;
    margin: 0;
}
.intro h2::before {
  padding: 0;
}

  /* page footer */
footer {
    padding: 3em 0;
}

.sidebar {
    background: #edf4f0;
    background-position: top;
}
  
.menu {
    margin: 0;
    overflow: visible;    
    position: absolute;
    background: #edf4f0;
    background-color: rgba(138,188,159,.5);
    top: 170px;
    right: 0;
    width: 110%;
    padding: 6px 6px 10px 6px;
    font-size: 90%;
}
.menu h3 {
  display: none;
}
.menu ul {
    margin-left: 3%;
    width: 100%;
}
.menu li {
    display: inline;
    float: none;
    width: 20%;
    padding: .5em 10%;
    border: 0;
    border-top: none;
    font-style: normal;  
}

.menu li:last-child {
    border-bottom: none;
}

.menu a, .menu a:visited {
    position: absolute;
    display: inline-block;
    padding: 6px 6px 6px 6px;
    margin: -6px -6px 0px 0px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #fff;
    font-family: sans-serif;
    text-transform: uppercase;
    font-size: 1.2em;
    font-style: normal;
}

.subpage h3{
    width: 100%;
    padding-top: .75em;
    padding-bottom: .75em;
}


.summary, .supporting div {
  width: 100%;  
}

}





@media only screen and (min-width: 320px) {
.menu {
    font-size: 50%;
}
}
@media only screen and (min-width: 480px) {
.menu {
    font-size: 60%;
}
}
@media only screen and (min-width: 600px) {
.menu {
    font-size: 70%;
}
}
@media only screen and (min-width: 700px) {
.menu {
    font-size: 75%;
}
}

/* high-res CSS */
@media only screen and (min-width: 1150px) {
.menu {
    font-size: 100%;
}
h1 {
  display: inline-block;
  position: relative;
  margin: 15px 0 0 0;
  padding: 60px 0 5px 0;
}
h1::before {
  display: inline-block;
  position: relative;
  top: 65px;
  content: "";
  width: 125px;
  height: 125px;
  margin: -65px 40px 0 0;
}
h2 {
  display: block;
  margin: 0;
  padding: 5px 0 60px 70px;
}

/* main layout blocks */

.subpage h3{
    width: 100%;
    padding-top: .75em;
    padding-bottom: .75em;
    padding-left: .5em;
    background: rgba(0, 39, 43, 0.075);    
}

/* coloured cutoff */
div.subpage {
  width: 100%;
  padding-left: 5%;
  padding-right: 38%;
}

.intro h3, .supporting h3 {
  margin-top: 0;
}
.intro p:last-child, .supporting p:last-child {
  margin-bottom: 0;
}


/* sidebar styling */

.sidebar li {
  float: none;
  width: auto;
  padding-left: 0;
  padding-right: 0;
  margin: 0 29.4% 0 14.7%; 
}


/* resources navigation */
.menu {
  padding: 0 0 20px 0;
  margin: 0;
  overflow: visible;    
  position: absolute;
  top: 510px;
  right: 0;
  width: 34%;
}
.menu h3 {
  display: none;
}
.menu ul {
  width: 55.9%;
  margin: 0 29.4% 0 14.7%;
}
.menu li {
  padding: 1.5em 0 1.25em 0;
  margin: 0;
}


}
