@charset "utf-8";
/* CSS Document */

html {
}

body {
  background-color: rgb(255,255,255);
  font-family: Baskerville, "Times New Roman", "serif";
  margin-top: 0px;
  overflow-y: scroll;
}

header {	
  width: 801px;
  height: 430px;
  margin: 0px auto 0px;
}

.headerImage {
	position: relative;
	top: 0px;
}

nav {
  width: 801px;
  height: 64px;
  background-image: url('../images/navBarBg.gif');
  display: flex;
  justify-content: space-between;
}

nav a {
  display: inline-block;
  width: 130px;
  height: 30px;
  margin-top: 13px;
  margin-left: 28px;
  margin-right: 20px;
  padding-top: 5px;
  border-radius: 4px;
  background-color: rgb(154,49,45);
  color: rgb(250,222,222);
  text-align: center;
  font-size: 21px;
  line-height: 23px;
  transition: 0.3s;
  text-decoration: none;
}

nav a:hover {
  background-color: rgb(246,219,195);
  color: rgb(56,48,48);	
}

nav .this {
  display: inline-block;
  width: 130px;
  height: 30px;
  margin-top: 13px;
  margin-left: 28px;
  margin-right: 20px;
  padding-top: 5px;
  border-radius: 4px;
  background-color: rgb(192,147,50);
  color: rgb(250,222,222);
  text-align: center;
  font-size: 21px;
  line-height: 23px;
  transition: 0.3s;
  text-decoration: none;
}

/*.content {
  width: 801px;
  margin: 0px auto 100px;
}

.content .worksPreview {
  display: block;
  margin: 15px auto 0px;
  width: 801px;
  height: 190px;
}

.content .worksPreview .worksLeftBox {
  display: inline-block;
  float: left;
  width: 490px;
  height: 190px;
  background-color: rgba(39,39,39, 0.6);
}

.content .worksPreview .worksLeftBox .mySlides 
{
    border: none; 
    opacity: 0; 
    position: absolute;
	margin: 11px 13px;
    -webkit-transition: opacity 1s linear;
    -moz-transition: opacity 1s linear;
    -o-transition: opacity 1s linear;
    transition: opacity 1s linear;
}

.content .worksPreview .worksLeftBox .showMe 
{	
  opacity: 1;
}

.content .worksPreview .worksRightBox {
  display: inline-block;
  float: right;
  width: 311px;
  height: 190px;
  background-color: rgba(30,30,30, 0.7);
  text-decoration: none;
  color: rgb(250,222,222);
}

.content h1 {
  font-size: 30px;
  margin-top: 9px;
  margin-left: 25px;
  margin-bottom: 0px;
}

.content h2 {
  font-size: 18px;
  margin-top: 0px;
  margin-left: 25px;
  margin-bottom: 78px;
}

.content h3 {
  font-size: 16px;
  margin-top: 0px;
  margin-left: 25px;
  margin-bottom: 0px;
  color: rgb(219,155,155);
}

.content h4 {
  font-size: 14px;
  margin-top: 0px;
  margin-left: 25px;
  margin-bottom: 0px;
  color: rgb(219,155,155); 
}*/




/*------------------------general setting-------------------------------*/
.lowerLeft {
	display: inline-block;
	width: 110px;	
	vertical-align: top;
}

.mainArea {
	display: inline-block;
	width: 610px;
}

.lowerRight {
	display: inline-block;
	width: 70px;
	vertical-align: top;	
}

.majorText {
  	display: block;
  	width: 610px;
  	margin: 5px auto 15px;
  	font-size: 23px;
	text-align: center;
}

.highlightText {
  	display: block;
  	width: 610px;
  	margin-top: 5px;
	margin-left: 66px; 
	margin-bottom: 10px;
  	font-size: 16px;
	color: rgb(140,31,33);
}

.highlightText .larger {
	font-size:26px;
	color: rgb(192,44,46);
}

.minorText {
  	display: block;
  	width: 510px;
  	margin: 5px auto 10px;
  	font-size: 16px;
	text-align: center;
}

p {
	margin-bottom: 0px;
}

ul {
  display: block;
  width: 500px;
  margin: -20px auto 50px;
  font-size: 16px; 
}

ol {
  display: block;
  width: 550px;
  margin-top: -20px;
  margin-left: 0px; 
  margin-bottom: 50px;
  font-size: 16px; 
}

li:not(:last-child) {
    margin-bottom: 5px;
}

.titleImg {
	display: inline-block;
	position: relative;
	left: 100px;
	vertical-align: middle;
}

.titleImgWide {
	display: inline-block;
	position: relative;
	left: 56px;
	vertical-align: middle;
}

h1 {							/* Chinese title in demonstration button */
	font-size: 24px;
	display: inline-block;
	position: relative;
	margin: 15px 10px 0px;
	color: rgb(64,34,32);
}

.smallerChinese {
	font-size: 16px;
}

h2 {							/* English title in demonstration button */
	font-size: 12px;
	display: inline-block;
	position: relative;
	margin: -10px 13px 0px;
	color: rgb(64,34,32);
}

.smallerEnglish {
	font-size: 9px;
}

h3 {
	font-size: 18px;
	color: rgb(64,34,32);
}






/*------------------------tutorial-----------------------------*/
.donations {
  	width: 801px;
  	margin: 0px auto 0px;
	/*background-position: right bottom;*/
}

.thankyou {
  	width: 801px;
  	margin: 0px auto 0px;
	/*background-position: right bottom;*/
	background: url('../images/thankyou_scriptBg.jpg') no-repeat center;
}

.paypalPanel {
	background-color: white;
	width: 430px;
	height: 600px;
	margin: 0px auto 0px;
}

.paypalOption {
	width: 300px;
	margin: 0px auto 30px;
}

.paypal_Invalid {
	border: 2px solid red;
}

.paypal_Valid {
	border: 1px solid black;
}

.tab {
  overflow: hidden;
  margin: 0px auto 0px; 
  width:480px;
  /*border: 1px solid #ccc;*/
  /*background-color: #f1f1f1;*/
}

/* Style the buttons inside the tab */
.tab button {
  background-color: #f1f1f1;
  border-radius: 10px 10px 0px 0px; 
  width: 240px;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: rgb(246,219,195);
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: rgb(154,49,45);
  color: rgb(250,222,222);
}

/* Style the tab content */
.tabcontent {
  display: none;
  /*padding: 6px 12px;*/
  background-color: rgb(154,49,45);
  width: 480px;
  margin: 0px auto 0px;
  box-shadow: 10px 10px 6px rgba(128, 128, 128, 0.5);
  /*border: 1px solid #ccc;
  border-top: none;*/
  -webkit-animation: fadeEffect 1s;
  animation: fadeEffect 1s;
}

/* Fade in tabs */
@-webkit-keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}



















/*-------------------------footer-----------------------------*/
.footer {
	display: block;
	width: 801px;
	margin: 0px auto 100px;
	background-color: rgba(122,78,78,0.8);
	height: 30px;
}

.footer p {
  font-size: 14px;
  text-align: center;
  color: #cccccc;
  margin-top: 6px;
}

.footerExtended {
	display: block;
    float: left;
	width:801px;
	margin:0px auto 0px;
	background-color: rgba(122,78,78,0.01);
	height:300px;
}




/*-------------------------popup window-----------------------------*/
.popUpWindow {
  position: fixed;
		font-family: Arial, Helvetica, sans-serif;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(0,0,0,0.66);
		z-index: 99999;
		opacity:0;
		-webkit-transition: opacity 400ms ease-in;
		-moz-transition: opacity 400ms ease-in;
		transition: opacity 400ms ease-in;
		pointer-events: none;
}

.popUpWindow:target {
  opacity:1;
  pointer-events: auto;
}

.popUpWindow > div {
  width: 800px;
  height: 70%;					/* assume the screen is mobile at first, allow popUp window to be taller */
  position: relative;
  margin: 10% auto;
  padding: 10px 10px 13px 10px;
  border-radius: 10px;
  background: rgba(200,200,200,1);
  background: -moz-linear-gradient(#fff, #999);
  background: -webkit-linear-gradient(#fff, #999);
  background: -o-linear-gradient(#fff, #999);		
}

/*  this screen is most likely PC moniter, to shorten height of popUp window for PC */
@media only screen and (max-height: 1100px) {
  .popUpWindow > div {height:90%; margin: 2.5% auto;}
}

.popUpWindow #popUpContent {
	width: 800px; 
    height: 100%;
	border-width: 0px;  
}

.close {
  background: #606061;
		color: #FFFFFF;
		line-height: 48px;
		position: absolute;
		right: -12px;
		text-align: center;
		top: -10px;
		width: 48px;
		text-decoration: none;
		font-size: 24px;		
		-webkit-border-radius: 24px;
		-moz-border-radius: 24px;
		border-radius: 24px;		
		-moz-box-shadow: 3px 3px 6px #000;
		-webkit-box-shadow: 3px 3px 6px #000;
		box-shadow: 3px 3px 6px #000;
}

.close:hover { 
  background: rgb(177,79,26); 
}





