/*@import url("pygment_highlights.css");*/

/* --- General --- */

body {
  font-family: 'Lora', 'Times New Roman', serif;
  font-size: 18px;
  position: relative;
  background-image: url("/20220831160346oe_/https://www.cuhk.edu.hk/sci/essc/yang/img/body_background.png");
  /* background-image: url(./img/c.png); */
  /* background-repeat: no-repeat; */
  /* background-size:cover; */
  background-size:100% 99.9%; 
  color: black; /*字体颜色*/
}
.center-img{
  text-align:center;
  margin:0 auto;
  width:700px;
}
p {
  line-height: 1.5;
  margin: 30px 0;
}
p a {
  /* text-decoration: underline */
  color: rgb(124, 109, 85)/* color: #008AFF; */
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
}
a:hover,
a:focus {
  color: #0085a1;  /* color: rgb(124, 109, 85) */
}
blockquote {
  color: #808080;
  font-style: italic;
}
blockquote p:first-child {
  margin-top: 0;
}
hr.small {
  max-width: 100px;
  margin: 15px auto;
  border-width: 4px;
  border-color: inherit;
  border-radius: 3px;
}

.main-content {
  padding-top: 80px;
}
@media only screen and (min-width: 1068px) {
  .main-content {
    padding-top: 130px;
  }
}

.main-explain-area {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 15px inherit;
}

.hideme {
  display: none;
}

::-moz-selection {
  color: white;
  text-shadow: none;
  background: #0085a1;
}
::selection {
  color: white;
  text-shadow: none;
  background: #0085a1;
}
img::selection {
  color: white;
  background: transparent;
}
img::-moz-selection {
  color: white;
  background: transparent;
}

img {
  max-width: 100%;
}

.disqus-comments {
  margin-top: 30px;
}

@media only screen and (min-width: 1068px) {
  .disqus-comments {
    margin-top: 40px;
  }
}

/* --- Footer --- */

footer {
  padding: 30px 0;
  background: #F5F5F5;
  border-top: 1px #EAEAEA solid;
  margin-top: 50px;
  font-size: 14px;
}

footer a {
  color: #404040;
}

footer .list-inline {
  margin: 0;
  padding: 0;
}
footer .copyright {
  font-family: Open Sans;
  text-align: center;
  margin-bottom: 0;
}
footer .theme-by {
  text-align: center;
  margin: 10px 0 0;
}

@media only screen and (min-width: 1068px) {
  footer {
    padding: 50px 0;
  }
  footer .footer-links {
    font-size: 18px;
  }
  footer .copyright {
    font-size: 16px;
  }
}



/* --- Post preview --- */

.post-preview {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

@media only screen and (min-width: 1068px) {
  .post-preview {
    padding: 10px 0;
  }
}

.post-preview:last-child {
  border-bottom: 0;
}

.post-preview a {
  text-decoration: none;
  color: #404040;
}

.post-preview a:focus,
.post-preview a:hover {
  text-decoration: none;
  color: #0085a1;
}

.post-preview .post-title {
  font-size: 22px;
  margin-top: 0;
}
.post-preview .post-subtitle {
  margin: 0;
  font-weight: 300;
  margin-bottom: 8px;
}
.post-preview .post-meta,
.post-heading .post-meta {
  color: #808080;
  font-size: 18px;
  font-style: italic;
  margin: 0 0 10px;
}
.post-preview .post-entry {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.post-preview .post-read-more {
  font-weight: 800;
}

@media only screen and (min-width: 1068px) {
  .post-preview .post-title {
    font-size: 26px;
  }
}

/* --- Post and page headers --- */
.big-board{
  background-image: url("/20220831160346oe_/https://www.cuhk.edu.hk/sci/essc/yang/img/navbar_background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  height: 100%;
  text-align: center;            
  vertical-align: middle;  

  /* display:table-cell; */
  width: 100%;
  /* padding-left: 10%; */
  padding-top: 10%;
  padding-bottom: 0.5em;
}
/* big img */
.sw_field{
  width: 100%; 
  /* max-width: 1000px; */
  height: 500px;
  padding-bottom: 1em;
  padding-top: 2em;
  margin: 0 auto;
}
.sw_container{
  /* width: 90%; 大图片的比例 */
  height: 100%;
}
.sw_wrapper{
  width: 100%;
  height: 100%;
}
.sw_slide{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
span.big_desc{
  background: rgba(30, 30, 30, 0.6);
  position: relative;
  /* padding: 5px 10px; */
  font-size: 25px;
  width: 100%;
  color: #EEE;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  bottom: 0px;
  text-align: center;
  padding-bottom: 8px;
  padding-top: 4px;
  height: 60px;
  margin-bottom: 2;
}
/* 主页下方的实验室介绍 */
.lab_intro_field{
  
}
.intro-container{
  /* width: 90%;
  margin-left: 5%; */
}
.lab_intro{
  color: white;
  font-size: medium;
  text-align: left;
  margin:0 auto;
  padding-bottom: 1em;
  width: 100%;
  /* max-width: 1000px; */
}

/* post文章的标题 */
.postsource-container{
  /* width: 90%;
  margin-left: 5%; */
}

.intro-header {
  /* margin: 80px 0 20px; */
  width: 100%;
  height: 80%;
  display:inline-block;
  /* position: absolute;
  position: relative; */
}
.intro-header.big-img {
  background: no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  margin-top: 1px; /* The small navbar is 50px tall + 1px border */
  margin-bottom: 35px;
  /* padding-bottom: 5%;
  padding-left: 10%; */
}
.intro-header.big-img  .big-img-transition {
  width: 100%;
  height: 100%;
  /* position: absolute;
  opacity: 100;
  background: no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  -webkit-transition: opacity 1s linear;
  -moz-transition: opacity 1s linear;
  transition: opacity 1s linear; */
}
.intro-header .page-heading {
  text-align: center;
}
.intro-header.big-img .page-heading,
.intro-header.big-img .post-heading {
  padding: 100px 0;
  color: #FFF;
  text-shadow: 1px 1px 3px #000;
}
.intro-header .post-heading h1 {
  margin-top: 1em;
  font-size: 35px;
}
.intro-header .page-heading .page-subheading,
.intro-header .post-heading .post-subheading {
  font-size: 27px;
  line-height: 1.1;
  display: block;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  margin: 10px 0 0;
}
.intro-header .post-heading .post-subheading {
  margin-bottom: 20px;
}
.intro-header.big-img .page-heading .page-subheading,
.intro-header.big-img .post-heading .post-subheading {
  font-weight: 400;
}
.intro-header.big-img .page-heading hr {
  box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  -moz-box-shadow: 1px 1px 3px #000;
}
.intro-header.big-img .post-heading .post-meta {
  color: #EEE;
}
.post-intro{
  color: gray;
  font-size: xx-small;
}
.intro-header.big-img .img-desc {
  background: rgba(30, 30, 30, 0.6);
  position: relative;
  font-size: 20px;
  color: #EEE;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  display: none;

  /* font-size: 40px; */
  width: 100%;
}

span.img-p-desc {
  /* width: 98%;  */
  overflow: hidden; 
  text-overflow: ellipsis; 
  -o-text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 1%;
  /* padding-bottom: 1em; */
  font-size: 25px;
  display:block;
}

.img-desc{
  background: rgba(30, 30, 30, 0.7);
  position: absolute;
  width: 100%;
  color: #EEE;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  bottom: 0px;
  text-align: center;
  height: 60px;
}

@media only screen and (min-width: 1068px) {
  .intro-header {
    margin-top: 130px;
  }
  .intro-header.big-img {
    margin-top: 91px;  /* Full navbar is small navbar + 20px padding on each side when expanded */
  }	
  .intro-header.big-img .page-heading,
  .intro-header.big-img .post-heading  {
    padding: 150px 0;
  }  
  .intro-header .page-heading h1 {
    font-size: 80px;
  }
  .intro-header .post-heading h1 {
    font-size: 50px;
  }
  .intro-header.big-img .img-desc {
    font-size: 28px;
  }
  .sw_field{
    height: 800px;
  }
}

.header-section.has-img .no-img {
  margin-top: 0;
  background: #FCFCFC;
  margin: 0 0 40px;
  padding: 20px 0;
  box-shadow: 0 0 5px #AAA;
}
/* Many phones are 320 or 360px, so make sure images are a proper aspect ratio in those cases */
.header-section.has-img .intro-header.no-img {
  display: none;
}
@media only screen and (max-width: 365px) {
  .header-section.has-img .intro-header.no-img {
    display: block;
  }
  .intro-header.big-img {
    width: 100%;
    height: 220px;
  }
  .intro-header.big-img .page-heading,
  .intro-header.big-img .post-heading {
    display: none;
  }
  .header-section.has-img .big-img {
    margin-bottom: 0;
  }  
  .sw_field{
    height: 100px;
  }
} 
@media only screen and (max-width: 325px) { 
  .intro-header.big-img {
    height: 200px;
  }
}

.caption {
  text-align: center;
  font-size: 14px;
  padding: 10px;
  font-style: italic;
  margin: 0;
  display: block;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

/* --- Pager --- */

.pager li a {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 10px 5px;
  background: #FFF;
  border-radius: 0;
  color: #404040;
}
@media only screen and (min-width: 1268px) {
  .pager li a {
    padding: 15px 25px;
  }
}
.pager li a:hover,
.pager li a:focus {
  color: #FFF;
  background: #0085a1;
  border: 1px solid #0085a1;
}

.pager {
  margin: 10px 0 0;
}

.pager.blog-pager {
  margin-top: 0;
}

@media only screen and (min-width: 11068px) {
  .pager.blog-pager  {
    margin-top: 10px;
  }
}

/* --- Tables --- */

table {
  padding: 0;
}
table tr {
  border-top: 1px solid #cccccc;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}
table tr:nth-child(2n) {
  background-color: #f8f8f8;
}
table tr th {
  font-weight: bold;
  border: 1px solid #cccccc;
  text-align: left;
  margin: 0;
  padding: 6px 13px;
}
table tr td {
  border: 1px solid #cccccc;
  text-align: left;
  margin: 0;
  padding: 6px 13px;
}
table tr th :first-child,
table tr td :first-child {
  margin-top: 0;
}
table tr th :last-child,
table tr td :last-child {
  margin-bottom: 0;
}

.archive-list li {
  list-style: none;
  padding-top: 5px;
  padding-bottom: 5px;
  overflow: hidden;
}

.archive-list li span {
  color: #808080;
  margin-right: 25px;
  font-style: italic;
}

.tag:focus, .tag:hover {
  text-decoration: none;
  color: #0085a1
}

figure.highlight>table,
figure.highlight>table .code {
    width: 100%;
    border: none;
    padding: 0;
}

figure.highlight>table tr {
    border-top: none;
}

figure.highlight>table .gutter {
    display:none;
}

.mediacaption{
  color: grey;
  font-size: medium;
  padding-top: 1%;
  margin-top: 0%;
}

h1{
  color: 100F0F;
}


summary{ 
  cursor:pointer;
  /* margin-bottom: 50; */
}   /*这里边的curusor的值可以是以上表中的任何值,或是你自己定义*/


@media (min-width: 1200px){
  /* .intro-container{
    width: 70%;
    max-width: 1280px;
    margin:0 auto;
  }
  .sw_container{
    width: 70%;
    max-width: 1280px;
  }
  .postsource-container {
    width: 70%;
    max-width: 1280px;
    margin:0 auto;
  } */
  .sw_field{
    height: 900px;
    margin:0 auto;
  }
}

@media (min-width: 992px){
  /* .intro-container{
    width: 80%;
    margin-left: 10%;
  }
  .sw_container{
    width: 80%;
    margin-left: 10%;
  }
  .postsource-container {
    width: 80%;
    margin-left: 10%;
  } */
  .sw_field{
    height: 700px;
  }
}
@media (min-width: 768px){
  /* .intro-container{
    width: 80%;
    margin-left: 10%;
  }
  .sw_container{
    width: 80%;
    margin-left: 10%;
  }
  .postsource-container {
    width: 80%;
    margin-left: 10%;
  } */
  .sw_field{
    height: 580px;
  }
}