﻿

body {
	font-family:  Arial,SimSun, sans-serif; /*"Times New Roman", Times, SimSun serif;*/
 	background-color: #F6F6F6;
 	max-width:none;
 	margin: 0;	
}

/*  define body max-width for whole webpage */
#body-container {
  max-width: none;
  position: relative;
  margin: 0;
  padding: 0;
}


/*  header for Slideshow container */
.slideshow-container {
  width: auto;
  position: relative;
  padding: 0px;
}

.mySlides {display: none;}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 20px;
  padding: 8px 12px;
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: left;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 600px) {
  .text {font-size: 11px}
}

/*  header for Slideshow container */




/*top bar and dropdown menu and sticky at top here */

.topnav {
  overflow: hidden; /*cause roll text to cover the dropdown menu *****/
  width: auto;
  background-color:#273746;
  padding:10px;
  list-style-type: none;  
  margin-top:-4px;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 30px;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
}

.active {
  background-color: transparent;
  color: white;
  border-radius: 5px;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
  display: inline-block; /*added*/
  border-radius: 5px;
}

.dropdown .dropbtn {
  font-size: 18px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 8;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}


.topnav a:hover, .dropdown:hover .dropbtn{
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media only screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media only screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  overflow: visible !important; /*solved my overflow problem that I spend a lot of time*/
}

.sticky + .container {
  padding-top: 86px;
}



/*top navbar and dropdown menu and sticky at top end here */


/*container except contact and copyright start here */

.container { 
  padding: 0px 16px;
  z-index: 1;
  /*background-color: red;*/
}

.spacesaver { 
  padding: 36px 0px 24px 0px;;
}


/*news section */
.latestnews { 
  padding: 10px 16px;
  color:navy;
}

.subHeadline {
	/*font-family: "Times New Roman", Times, serif;*/
	font-size: large;
	color: navy;
	text-transform: uppercase;
	padding:0px 0px 0px 10px
}

.bodyText {
	/*font-family: "Times New Roman", Times, serif;*/
	font-size: medium;
	color: navy;
	text-align: left;
	padding:0px 0px 0px 10px;
}




/*news section */

/*each with business counsulting, 3 academy sections */

.row {
  /*background-color: blue; #f1f1f1;*/
  padding: 10px;
  margin-top: 16px;
  text-align:center;

}

/* Create two unequal columns that floats next to each other */

.column {   
  float: left;
  width: 50%;
  padding: 10px;
  margin-top: 10px;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack 
on top of each other instead of next to each other */
@media only screen and (max-width: 600px) {
  .column {   
    width: 100%;
    padding: 0;
  }
}


/* Add a card effect for articles */
.card {
  /*background-color: blue;*/
  border-radius: 10px;
  padding: 40px;
  margin: 0px;
  text-align:center;
  background-color:white;
}

/*card has polaroid*/

.polaroid {
  width: auto;
  /*background-color: white;*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 3px 6px 0 rgba(0, 0, 0, 0.19);
  /*margin-bottom: 10px;*/
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  border-radius: 0px;
}


/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


/* Create three unequal columns that floats next to each other */
/* Left column */
.column2 {   
  float: left;
  width: 33.33%;
  padding: 10px;
  margin-top: 10px;
}


/* Responsive layout - when the screen is less than 800px wide, make the two columns stack 
on top of each other instead of next to each other */

@media only screen and (max-width: 600px) {
  .column2 {   
    width: 100%;
    padding: 0;

  }
}

/*price table */

.price {
  list-style-type: none;
  border: 1px solid #eee;
  margin: 0;
  padding: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.price:hover {
  box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2)
}

.price .header {
  background-color: #111;
  color: white;
  font-size: 25px;
}

.price li {
  border-bottom: 1px solid #eee;
  padding: 20px;
  text-align: center;
}

.price .grey {
  background-color: #eee;
  font-size: 20px;
}

.button {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
}

/*price table */




/* Create four unequal columns that floats next to each other */

.column4 {   
  float: left;
  width: 25%;
  padding: 10px;
  margin-top: 10px;
}


/* Responsive layout - when the screen is less than 800px wide, make the two columns stack 
on top of each other instead of next to each other */

@media only screen and (max-width: 600px) {
  .column4 {   
    width: 100%;
    padding: 0;

  }
}
/* Create four unequal columns that floats next to each other */


/*image model start*/

#myImg {
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.8;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform: scale(0.1)} 
  to {transform: scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 600px){
  .modal-content {
    width: 100%;
  }
}

/*image model end*/

/* video responsive size*/
video {
  max-width: 100%;
  height: auto;
}
/* video responsive size*/


/* Create second two unequal columns that floats next to each other */

.contact {
  width: auto;
  position: relative;
  margin: 0px 10px 0px 10px;
  display: block;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 16px;
}

.contact a {
  float: none;
  color: blue; 
  padding: 5px;
  text-decoration: none;
  text-align: relative;  
  border-radius: 5px;  
  font-size: 18px;
}

.contact a:hover{
  background-color: blue;
  color: white;
}


/* Responsive layout - when the screen is less than 800px wide, make the two columns stack 
on top of each other instead of next to each other */

@media only screen and (max-width: 600px) {
  .contact {   
    width: 100%;
    padding: 0;

  }
}


.footer {
  	position: relative; 
	width: auto; 
	padding: 15px;
	z-index: 1; 
	text-align: center; 
	font-size: small; 
	background-color:#273746; 
	color:white;
}




/* css end here */





/* original css as reference */

/* original css as reference */

/* original css as reference */
.banner {
	font-family: "Times New Roman", Times, serif;
	font-size: x-large;
	color: black;
	text-transform: none;
	text-align: left;
}


.dateText {
	font-family: "Times New Roman", Times, serif;
	font-size: medium;
	color: #0000FF;
	text-align: left;
}


.ChineseTitle {
	font-family: SimSun;
	font-size: xx-large;
	text-decoration: none;
	font-weight: bold;
}

.FangSongText {
	font-family: FangSong;
	font-size: medium;
}
.FangSongTitle {
	font-family: FangSong;
	font-size: x-large;
	color: yellow;
	font-weight: bold;
}
