@import url(http://fonts.googleapis.com/css?family=Open+Sans|Overlock+SC);

html {
  height: 100%;
}

body {
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
  border-top: 10px solid #A9A9A9;
  background: #ffffff;
  font-family: 'Open Sans', sans-serif;
  color: #000000;
}


.maincontent {
  min-height: 100%;
  height: auto;
  margin: 0 auto -90px;
  width:100%;
}

.push {
  clear:both;
  height: 90px;
}

p {
  margin: 5px 0;
  line-height: 25px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .5s ease;
}

b {
  font-weight: bold;
  font-family: 'Open Sans Bold 700', sans-serif;
}

i {
    font-style: italic;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

header {
  position:relative;
  width:auto;
  max-width:800px;
  margin: 0 auto 20px auto;
}

header h1 {
  padding: 35px 0 0 0;
  font-size: 40px;
  color: #000080;
  font-family: 'Overlock SC';
}

h3 {
  font-family: 'Open Sans', sans-serif;
  font-size:20px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
  color: #000080;
}



header p {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  color: #000000;
  padding-left:35px;
  position: relative;
}

nav ul {
  list-style:none;
  padding-top: 10px;
  right: 0;
}

nav ul li {
  display:block;
  float:right;
  padding:3px 15px;
}

nav ul li a {
  font-family: 'Open Sans', sans-serif;
  color: #000080;
  text-transform: uppercase;
  transition: all .25s ease;
}

nav ul li a:hover {
  color: #ff0000;
}

.line1 {
  width:100%;
  padding-left: 0px;
  padding-right: 0px;
  height:1px;
  background-color:#A9A9A9;
}

.nav2 {
  margin-left: auto;
  margin-right: auto;
  width: 750px;

}

.nav2 ul li {
  display:block;
  float:left;
  padding:3px 15px;
  margin-top:3px;
}

.nav2 ul li a {
  font-family: 'Open Sans', sans-serif;
  color: #000080;
  text-transform: uppercase;
  transition: all .25s ease;
}

.nav2 ul li a:hover {
  color: #ff0000;
}

.line2 {
  padding-left: 0px;
  padding-right: 0px;
  margin-top: 30px;
  height:1px;
  background-color:#A9A9A9;
  position:relative;
}

.slides img {
  width:100%;
  margin: 0 0 0 0;
  position:relative;
  padding:15px 0 0 0;
}

.spacer1 {
  width:auto;
  margin-top: 10px;
  margin-bottom: 10px;
  height:10px;
  background-color:#a9a9a9;
  position:relative;
}



#mobileMenu {
  display: none;
}
/*
------------------------
  About Page Formatting
------------------------
*/

.boxabout {
  max-width:800px;
  margin:0 auto 0;
  padding:20px 0 20px 0;
}

.circular {
  float: left;
	width: 250px;
	height: 250px;
  margin-top: 30px;
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: auto;
	border-radius: 150px;
	-webkit-border-radius: 150px;
	-moz-border-radius: 150px;
	background: url(../img/about/SmithKA3.jpg) no-repeat;
	box-shadow: 0 0 8px rgba(0, 0, 0, .8);
	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
	-moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
}

.abouttextbox {
  float:left;
  max-width: 450px;
  margin-left:50px;
}

.abouttextbox p {
  line-height:25px;
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
  text-align: left;
}

.aboutspacer {
  height: 20px;

}

/*
------------------------
  Contact Page Formatting
------------------------
*/

.boxcontact {
  max-width:800px;
  margin:0 auto 0;
  padding:20px 0 20px 0;
}

.contactimg {
  width: 100%;
  margin-left:60px;
}

.addresses {
  max-width:800px;
}

.addresses p {
  line-height:25px;
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
  text-align: left;
  margin-left:50px;
}

.addresses a:hover {
  color: #ff0000;
}

.address1 {
 float: left;
 margin-left: 100px;
}

.address2 {
 float: right;
 margin-right: 100px;
}

.electronic {
  margin-bottom: 50px;

}

.electronic p {
  text-align: center;
  line-height:25px;
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
}

.electronic a:hover {
  color: #ff0000;
}

.boxcontact figcaption{
  width: 800px;
  line-height: 15px;
  height: auto;
  font-family: 'Open Sans', sans-serif;
  font-size:12px;
}



/*
--------------------------------------------
  CV, Publications, Links Page Formatting
--------------------------------------------
*/

.List {
  width:auto;
  height: auto;
  max-width:800px;
  margin:0 auto;
  padding:20px 0 20px 0;
}

.List .pubpage {
  float: left;
  width: 150px;
}

.List .pubname {
  float: left;
}

.List .pageheader {
    float: left;
}

.cvtitle {
  float: left;
}

.pdflink {
  float: right;
  margin-right: 50px;
}

.topcvpage h1 {
  font-size:20px;
  font-family: 'Open Sans', sans-serif;
  color: #000080;
}

.topcvpage h1 a:hover {
  color: #ff0000;
}

h4 {
  float: left;
  font-size:20px;
  font-family: 'Open Sans', sans-serif;
  color: #000080;
}

.List article ul li {
  margin-top: 15px;
  float: left;
}

.List article ul a{
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
  color: #000000;
  word-break: break-all;

}

.List article ul a:hover {
  color: #ff0000;
}

.List article ul p {
  float: left;
  margin-top: 5px;
  margin-left: 20px;
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
  color: #000000;
}


.List article h7 {
  float:left;
  width:100%;
  text-align: left;
  line-height: 30px;
  color: #000080;
  font-size:16px;
  font-family: 'Open Sans', sans-serif;
}

.List .year{
  float:left;
  width:120px;
  margin-left: 15px;
  margin-top: -10px;
}

.List .yeartext{
  float:left;
  width: 550px;
  margin-right: 15px;
  margin-top: -10px;
  display:block;
}

.List .noyeartext{
  float:left;
  height: auto;
  max-width: 750px;
  margin-left: 15px;
  margin-right: 15px;
  margin-top: -10px;
  display:block;
}

.List article p {
  margin-top: 15px;
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
  word-wrap: break-word;
}

.List b {
  font-weight: bold;
  font-family: 'Open Sans Bold 700', sans-serif;
}

.List i {
  font-style: italic;
  font-family: 'Open Sans', sans-serif;
}

.List .line3 {
  max-width: 800px;
  height:1px;
  background-color:#A9A9A9;
  margin-top: 10px;
}

.publinks {
  float: left;
  width: 75px;
  margin-top: 10px;
  margin-left: 10px;
}

.pubtext {
  float:left;
  max-width: 750px;
  margin-right: 15px;
  margin-left: 15px;
  margin-top: -10px;
  display:block;
}

.pubtext a {
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
  color: #000080;
  line-height: 20px;
  margin-left: 5px;
}

.pubtext a:hover {
  color: #ff0000;
}

/*
------------------------
  Twitter Box
------------------------
*/
.indexinfo {
  max-width:800px;
  margin:0 auto 0;
}

.indexinfo .newsbox {
  float: left;
  max-width: 475px;
  height: auto;
  height: 100%;
}

.indexinfo .newsbox h1 {
  margin-top: 20px;
  font-size:20px;
  font-family: 'Open Sans', sans-serif;
  color: #000080;
}

.indexinfo .line4 {
  max-width: 450px;
  height:1px;
  background-color:#A9A9A9;
  margin-top: 10px;
  margin-bottom: 10px;
}

.indexinfo .date{
  float:left;
  width:100px;
}

.indexinfo  .datetext{
  float:left;
  width: 350px;
}

.indexinfo .newsbox p {
  margin-top: 10px;
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
}


.newsbox a {
  font-family: 'Open Sans', sans-serif;
  color: #000080;
}

.newsbox a:hover {
  color: #ff0000;
}


.indexinfo .twitterbox {
  float: left;
  width: 300px;
  margin-left: 25px;
}
/*
------------------------
  Gallery
------------------------
*/

#four_columns {
  width:auto;
  height: auto;
  max-width:800px;
  margin:0 auto;
  padding:20px 0 20px 0;
}

#four_columns .topcvpage {
  width:100%;
  max-width:800px;
}

#four_columns .line3 {
  max-width: 800px;
  height:1px;
  background-color:#A9A9A9;
  margin-top: 10px;
}

#four_columns p {
  max-width: 750px;
  margin-bottom: 0px;
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
  color: #000000;
}

figcaption{
  width: 175px;
  line-height: 15px;
  height: auto;
  font-family: 'Open Sans', sans-serif;
  font-size:12px;
}


#four_columns .img-item
{
  float:left;
  margin-right:15px;
  margin-top: 10px;
}

#four_columns .img-item a
{
  position:relative;
  display:block;
}

.thumb-screen
{
  display:block;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: #000 url(img/zoom.png) center center no-repeat;
  z-index:99;
  opacity: 0;
  transition: opacity .5s ease;
}

.thumb-screen:hover {
  opacity:0.5;
}
/*
------------------------
  Research
------------------------
*/

.topresearch {
  width:auto;
  height: auto;
  max-width:800px;
  margin:0 auto;
  padding:20px 0 20px 0;
}

.textresearch {
  width: auto;
  height: auto;
  max-width: 800px;
  margin: auto;
}

.textresearch p {
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
  color: #000000;
}

.textresearch a {
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
  color: #000080;
}

.textresearch a:hover {
  color: #ff0000;
}

.P50 {
  max-width: 800px;
  margin: auto;

}

.bacteria {
  max-width: 800px;
  margin: auto;

}
.line3 {
  max-width: 800px;
  height:1px;
  background-color:#A9A9A9;
  margin: 10px auto 0px auto;
}

.researchimgbox {
  width:auto;
  height: auto;
  max-width:800px;
  margin:auto;
}

.researchimg{
  display: inline-block;
  padding-left: 50px;

}

/*
------------------------
  Research
------------------------
*/
.researchimgbox {
  width:auto;
  height: auto;
  max-width:800px;
  margin:auto;
}


/*
------------------------
  Graphs
------------------------
*/
.boxgraph{
  margin:auto;
}

.boxgraph  sub {
    font-size: 0.63em;
    line-height: 0;
    }

.boxgraph .axis path {
    fill: none;
    stroke: #000;
    stroke-width: 1.5px;
    shape-rendering: crispEdges;
  }

.boxgraph .axis line {
    fill: none;
    stroke: #000;
    stroke-width: 1.5px;
    shape-rendering: crispEdges;
  }

.boxgraph .dot {
    stroke: #000;
  }

.boxgraph .legend {
    font-size: 16px;
    font-weight: bold;
    text-anchor: start;
    position: relative;
  }

.tooltip {
    position: relative;
    font: 14px sans-serif;
    width: 300px;
    height: 50px;
    line-height: 1.2;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: white;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    pointer-events: none;
  }

.boxgraph svg{
  margin-top: -50px;
  margin-left: 40px;
}

.boxgraph .buttonex1 button{
    width: 120px;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
    margin-top: 3px;
  }

.boxgraph  dir1 {
    font-size: 12px;
    font-family: 'Open Sans Bold 700', sans-serif;
    font-weight: bold;
    color: black;
  }

.boxgraph .nav {
    position: absolute;
    margin-left: 600px;
    height: 40px;
    text-align: center;
  }

.boxgraph .ins1 {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    padding: 3px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    margin-top:30px;
    color: black;
    width: 120px;
    line-height: 18px;
    text-align: center;
  }

  /*
  ------------------------
    Code
  ------------------------
  */
.codetext {
  float: left;
  width: 390px;
  margin-top: 10px;
  padding-left: 10px;
}

.codepic {
  float: left;
  width: 400px;
  margin-top: 20px;
}

.codetext2 {
  float: left;
  width: 100%;
  padding-left: 10px;
}

.codeitem h1 {
  font-size:16px;
  font-family: 'Open Sans', sans-serif;
  color: #000080;
}

.codeitem p {
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
  color: #000000;
}

.codeitem a {
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
  color: #000080;
}

.codeitem a:hover {
  color: #ff0000;
}

/*
------------------------
  Data
------------------------
*/
.datatext {
  float: left;
  width: 500px;
  margin-top: 10px;
  margin-right: 20px;
}

.datapic {
  float: left;
  width: 250px;
  margin-top: 20px;
}

.dataitem h1 {
  font-size:16px;
  font-family: 'Open Sans', sans-serif;
  color: #000080;
  padding-bottom: 15px;
}

.dataitem p {
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
  color: #000000;
}

.dataitem a {
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
  color: #000080;
}

.dataitem a:hover {
  color: #ff0000;
}

.datapic figcaption {
  width: 250px;
  padding-bottom: 20px;
}

/*
------------------------
  Footer
------------------------
*/
footer {
  width:100%;
}


footer .wrapper
{
  line-height:25px;
  margin: 0 auto;
  padding-top:30px;
  width:auto;
  max-width:800px;
  font-size:14px;
}

.copyright
{
  background: #1D1D1D;
  height:90px;
  position:relative;
  bottom:0;
  margin-left:0;
}

.copyright .wrapper
{
  font-family: 'Open Sans', sans-serif;
  padding-top:25px;
  color: #5e5e5e;
  font-size:14px;
  position:relative;
  left:50px;
  width:100%;
}


.copyright .wrapper .social
{
  position:absolute;
  right:75px;
  top:25px;
}

.copyright .wrapper .social a
{

  margin-left: 12px;
  display:block;
  float:left;
}

.copyright .wrapper .social a:hover
{
  opacity: 0.7;
}

.copyright .wrapper a
{
  color: #ABABAB;
}

.copyright .wrapper a:hover
{
  color: #fff;
}


.clear {
  clear:both;
}

.hidden {
  position:absolute;
  clip: rect(1px 1px 1px 1px); /* IE6 & 7 */
  clip: rect(1px, 1px, 1px, 1px);
}

/*
------------------------
Make Website Responsive
------------------------
*/

  @media (max-width: 800px)
  {
    #contactimg {
      width:100%;
      margin: 0 0 0 0;
    }

    #contactimg img {
      width:100%;
      margin: 0 0 0 0;
      position:relative;
      padding:0 0 0 0;
    }

    #circular {
      float: none;
      margin-left: auto;
    }

    #abouttextbox {
      float:none;
      height: auto;
      margin-left: auto;
      margin-right: auto;
      padding-left: 15px;
      padding-right: 15px;
    }

    #indexinfo .newsbox {
      float: none;
      margin-left: auto;
      margin-right: auto;
      padding-left: 10px;
      padding-right: 10px;
    }

    #indexinfo .newsbox h1 {
      width: 100%;
      text-align: center;
      margin: auto;
      padding-top: 10px;
    }

    #indexinfo .twitterbox {
      float: none;
      max-width: 300px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 10px;
      padding-right: 10px;
      padding-bottom: 10px;
    }

  }

    @media (max-width: 700px)
    {
      .List{
        padding-top: 10px;
      }
      .List .year{
        float: none;
        margin: auto;
      }

      .List .yeartext{
        float: none;
        margin: auto;
        max-width: 530px;
        width: auto;
      }

      .List .noyeartext{
      float: none;
      margin-left: 15px;
      margin-right: 15px;
    }

      h4 {
        width: 100%;
        text-align: center;
        margin: -5px auto 0 auto;
      }

      .List article h7 {
        width: 100%;
        text-align: center;
        margin: 10px auto 10px auto;
      }

      .topcvpage {
        margin-bottom: -15px;
      }

      .cvtitle {
        float: none;
        height: auto;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
      }

      .pdflink {
        float: none;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding-top: 10px;
      }

      .List article p{
        float: none;
        text-align: center;
        word-wrap: break-word;
        margin-top: 10px;
      }

      .List article ul li {
        float: none;
        text-align: center;
        margin: auto;
      }

      .List article ul p {
        float: none;
        text-align: center;
        margin-top: -10px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 25px;
      }



      #address1 {
       float: none;
       margin-left: 0px;
      }

      #address2 {
       float: none;
       margin-right: 0px;
       margin-top: 20px;
      }


      #addresses p {
        text-align: center;
        margin-left:0px;
      }

      .List .pubpage {
        float: none;
        width: auto;
        margin: auto;
        padding-bottom: 20px;
      }

      .List .pubname {
        float: none;
        width: auto;
        margin: 10px auto;
      }


    }

  @media (max-width: 650px)
  {

    header p {
      padding-left:0px;
    }

    #mobileMenu
    {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      display: none;
    }

    #mobileMenu ul li
    {
      display:block;
      background-color: #000080;
      color: #ffffff;
      padding: 12px 0;
      letter-spacing: 0.1em;
      text-align: center;
      text-transform: uppercase;
      border-bottom: 1px solid #A9A9A9;
    }

    .toggleMobile
    {
      display:none;
    }

    #mobileMenu
    {
      display: block;
      z-index: 99;
    }

    .toggleMobile
    {
      position: fixed;
      top: 15px;
      left: 10px;
      display: block;
      width: 40px;
      height: 36px;
      cursor: pointer;
      z-index: 999;
    }

    .toggleMobile span.menu1, .toggleMobile span.menu2, .toggleMobile span.menu3
    {
      display: block;
      position: absolute;
      width: 40px;
      height: 8px;
      left: 0;
      background: #ff0000;
      -webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
      transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
    }

    .toggleMobile span.menu1
    {
      top: 0;
    }

    .toggleMobile span.menu2
    {
      top: 14px;
    }

    .toggleMobile span.menu3
    {
      top: 28px;
    }

    .toggleMobile.active span.menu1
    {
      top: 14px;
      -webkit-transform: rotate(45deg);
      -moz-transform: rotate(45deg);
      -o-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      -webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
      transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
    }

    .toggleMobile.active span.menu2
    {
      -webkit-transform: rotate(-45deg);
      -moz-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
      -webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
      transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
    }

    .toggleMobile.active span.menu3
    {
      opacity: 0;
      -webkit-transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
      transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
    }

    header
    {
      text-align: center;

    }
    header p
    {
      margin-left:0px;
    }

    nav ul li
    {
      display:none;

    }

    .nav2 ul li
    {
      display:none;

    }


    .line2
    {
      display:none;

    }

    .slides img
    {
      width:100%;
      margin: 0 auto;
      position:relative;
      padding: 10px 0 0 0;
    }

    .pdflink h1 {
      display: none;
    }

    footer .wrapper .social
    {
      display:none;
    }



  }



  @media (max-width: 500px)
  {
    .slides img
    {
      display: none;
    }

    .spacer1 {
      display: none;
    }

    #contactimg {
      display: none;
    }

    .copyright .wrapper
    {
      left:20px;
    }
  }
