/***********************
NORMALIZE
***********************/
*{
	box-sizing: border-box;
	margin: 0;
	padding: 0;

}
html,
body
 {
    height: 100%;
}
/*****auto heigh!!!*****/
.content-wrapper{
	height: auto;
}

img, textarea{
	max-width: 100%;
}
ul, ol{
	padding: 0;
}
li{
	list-style: none;
}
.clearfix::after{
	content: "";
	display: table;
	clear: both;
}

a:hover, a{
	text-decoration: none;
}


/***********************
Fonts
***********************/
p{
	font-family: 'Droid Sans', sans-serif;
}
h1,h2,h3,h4{
	font-family: 'Poppins', sans-serif;

}
@font-face {
  font-family: 'AdobeHeitiStd-Regular';
  src: url("../fonts/AdobeHeitiStd-Regular.otf") format("opentype");
}

.zht, .zht h3, .zht .banner-caption h1, .zht .banner-caption h2, .zht .modal, .zht .photo-overlay button{
	font-family: 'AdobeHeitiStd-Regular', 'SimHei', 'STHeiti';
}

/***********************
Navigation Bar
***********************/
.lang-bar{
	height: 30px;
	background-color: rgb(172,20,20);
	text-align: right;
	padding-right: 20px;

}
.lang-bar a, .lang-bar a:visited{
	color: white;
}
.lang-bar img{
	height: 20px;
	padding: 2px;
}


/***Navigation***/

.navigation-bar{
	box-shadow: 0 0 10px 0;
	margin-bottom: 50px;
	position:relative;
	z-index: 1000;
	width: 100%;
	padding: 20px 10%;
	min-height: 200px;
	background-color: rgba(255, 255, 255, 0.8);

}
/********* LOGO **********/
#ATPC{
	height: 150px;
	width: 150px;
	transition: 1s ease;
}
#ATPC:hover{
	transform: scale(1.1);
}
@keyframes burn {
	0% {fill: #FFF}
	20% {fill: rgb(255, 0, 0)}
	40% {fill: #FFF}
 	60% {fill: rgba(255, 0, 0, 0.5)}
 	80% {fill: #FFF}
}
#Fire path{
	animation: burn 10s ease infinite;
}


/***responsive menu***/
.ham-wrapper{
	display: initial;
}
.responsive-menu{
	display: none;
	position: relative;
}

.logo-wrapper, nav{
	margin: 0 auto;
	display: inline-block;
	float:left;
}
.logo-wrapper{
		width: 30%;
}
nav{
	width: 70%;
	text-align: right;
	padding-top: 30px;
	font-size: 1.5em;
	padding: 0px 2px;

}
.responsive-menu{
	margin-bottom: 30px;
}
.menu{
		background: rgba(172, 20, 20, 0.8);
		position: absolute;
		right:10%;
		width: 150px;
		padding: 12px;
}
.menu a{
	color: white;
	}
nav a{
	color:rgb(172,20,20);
}
nav a:hover, .selected{
	color: black;
	/*text-shadow: 2px 2px 2px beige;*/
	border-width: 0px 0px 3px 0px;
	border-style: solid;
	border-color: rgb(172,20,20);
}
.menu a:hover{
	color: red;
	border: none;
}

/* HamBurger Plug-in */
/*! @author Jonathan Suh @jonsuh */
.hamburger {
  padding: 15px 15px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible; }
		.hamburger:hover {
		    opacity: 0.7; }
		.hamburger-box {
		  width: 40px;
		  height: 24px;
		  display: inline-block;
		  position: relative; }
		.hamburger-inner {
		  display: block;
		  top: 50%;
		  margin-top: -2px; }
		.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
		  width: 40px;
		  height: 4px;
		  background-color: rgb(172,20,20);
		  border-radius: 4px;
		  position: absolute;
		  transition-property: transform;
		  transition-duration: 0.15s;
		  transition-timing-function: ease; }
		.hamburger-inner::before, .hamburger-inner::after {
		  content: "";
		  display: block; }
		.hamburger-inner::before {
			top: -10px; }
		.hamburger-inner::after {
			bottom: -10px; }
		/** Emphatic Burger Reverse  **/
		.hamburger--emphatic-r {
		  overflow: hidden; }
		.hamburger--emphatic-r .hamburger-inner {
		  transition: background-color 0.125s 0.175s ease-in; }
		.hamburger--emphatic-r .hamburger-inner::before {
		  left: 0;
		  transition: transform 0.125s cubic-bezier(0.6, 0.04, 0.98, 0.335), top 0.05s 0.125s linear, left 0.125s 0.175s ease-in; }
		.hamburger--emphatic-r .hamburger-inner::after {
		  top: 10px;
		  right: 0;
		  transition: transform 0.125s cubic-bezier(0.6, 0.04, 0.98, 0.335), top 0.05s 0.125s linear, right 0.125s 0.175s ease-in; }
		.hamburger--emphatic-r.is-active .hamburger-inner {
		  transition-delay: 0s;
		  transition-timing-function: ease-out;
		  background-color: transparent; }
		.hamburger--emphatic-r.is-active .hamburger-inner::before {
		  left: -80px;
		  top: 80px;
		  transform: translate3d(80px, -80px, 0) rotate(-45deg);
		  transition: left 0.125s ease-out, top 0.05s 0.125s linear, transform 0.125s 0.175s cubic-bezier(0.075, 0.82, 0.165, 1); }
		.hamburger--emphatic-r.is-active .hamburger-inner::after {
		  right: -80px;
		  top: 80px;
		  transform: translate3d(-80px, -80px, 0) rotate(45deg);
		  transition: right 0.125s ease-out, top 0.05s 0.125s linear, transform 0.125s 0.175s cubic-bezier(0.075, 0.82, 0.165, 1); }
/** End of Burger Script **/


/***********************
Search Bar
***********************/
.dbmsg{
	position: fixed;
	float: right;
	text-align: center;
	color: grey;
	left: 33%;

}

.search{
	text-align: right;
	margin-right: 0;
	position: relative;
	z-index: -1;
}
.search input:focus{
	border-color: rgba(172,20,20,0.6);

}
.search input[type=submit]{
	background: url("../img/search.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	height: 28px;
	width: 28px;
	border: none;
	bottom: 0;
	position:absolute;
	margin-left: 2px;

}
.search input[type=text]{
	border-color: rgb(172,20,20);
}
/***********************
All Content Wrapper
***********************/
.content-wrapper{
	margin: 0 10%;
	margin-bottom: 200px;
}
.login-status{
	margin-right: 0;
}
.login-status a{
	background-color: rgb(172,20,20);
	color: white;
	padding:5px;
	margin:0;
}
.login-status a:hover{
	color: yellow;
	border: none;
}
#logout a{
	background-color: red;
}


/***********************
Home Page
***********************/

.banner-wrapper{
	height: 120%;
	position: relative;
	top: -100px;
    margin-bottom: -100px;

}


/************************
Carousel
 ************************/

	.carousel {
	    height: 80%; /* Mobile Height */
	}
	.carousel .item,
	.carousel .item.active,
	.carousel .carousel-inner {
	    height: 100%;
	}
	.carousel .fill {
	  width: 100%;
	  height: 100%;
	  background-position: center;
	  background-size: cover;
	}
	.banner-caption{
		text-shadow: 2px 2px 3px grey;
		position: absolute;
		bottom: 40%;

	}





/***********************
About
***********************/
.about-wrapper{
	font-size: 1.3em;
	margin: 0 10%;
	width: 80%;
	text-align: justify;
}
.about-wrapper img{
	width: 100%;

}
/************************
Activities
 ************************/
.act-wrapper .photo-container{
	width: 100%;
	display: inline-block;
	height: 250px;
	text-align: center;
}
.photo-container img{
	max-width:100%;
	max-height:100%;
	transition: 1s ease;
}

.photo-overlay button:hover{
	transform: scale(1.05);
}
.photo-overlay{
	margin-top: -70px;
	margin-bottom:50px;
}
.photo-overlay button{
	font-size: 2.7em;
	color: rgb(172,20,20);
	text-shadow: -2px -2px 2px white, 2px 2px 2px grey, 2px -2px 2px white, -2px 2px 2px white;
	text-align: center;
	text-decoration: none;
	border-color: none;
	border: 10px solid rgba(0,0,0,0);
	background: none;
	transition: 0.7s ease;

}
/*** Modal ***/

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    padding-top: 20%; /* 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.4); /* Black w/ opacity */
}
.modal p{
	font-size: 1.5em;
}

/* Modal Content */
.modal-content {
		color: black;
    background-color: rgba(255,255,255,0.8);
    margin: auto;
    padding: 20px;
    border: none;
    width: 50%;
}

/* The Close Button */
.close {
    color: black;
    float: right;
    font-size: 2.5em;
    font-weight: bold;
}

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

/***********************
Latest NEWS INDEX PAGE
***********************/
.latest3 li{
	width: 100%;
	min-height: 300px;
	padding: 2%;
	overflow: hidden;
	float: left;
	/*display: inline-block;*/
	box-shadow: 4px 4px 5px rgba(0,0,0,0.1);
	border: 2px solid rgb(172,20,20);

}

/***********************
NEWS
***********************/
.news-wrapper{
	width: 100%;
}
#go-back{
	color: rgb(172, 20, 20);
	font-size: 1.4em;
}

/************************
Contact
 ************************/
.map{
	min-height: 60%;
}
.form-wrapper, .thanks, .contact-details{
	width: 100%;

}

/***********************
Footer
***********************/
footer{
	color: white;
	text-align: center;
	position: static;
	width: 100%;
	margin-top: 150px;
	padding: 30px 0px;
	/*bottom: 0;*/
	background-color: rgb(172,20,20);
	z-index: 999;
}
.copyright a{
	color: white;
}
.social li{
	display: inline-block;
	padding: 0 5px;
}
.social li img:hover{
	transform: scale(1.3) rotate(1turn);
}
footer img{
	transform-origin: 50% 50%;
	transition: transform 1s ease;
}




/*******************************************
Responsive
********************************************/
/***************************************************************************
Small devices (landscape phones, 576px and below)
***************************************************************************/

@media (max-width: 576px) {
	.search input[type=text]{
		width: 100px;
	}

	.carousel-inner h1, h2{
		font-size: 1.2em;
	}

	footer{
		position: static;
		margin-top: 200px;
		bottom: 0;
	}
	.modal-content {
		width: 80%;
	}
}

@media (max-width: 766px) {


	.photo-container img{
		border: solid 2px rgb(172, 20, 20);
		margin: 2%;
		box-shadow: 2px 2px 2px grey;
		max-width:100%;
		max-height:100%;
	}
	.photo-container .photo{
		margin-bottom: 0;
		width: 100%;
		height: 100%;
	}
	.act-wrapper .photo-container{
		height: auto;
		margin-left: 1%;
		position: relative;

	}


}

/***************************************************************************
Medium devices (tablets, 768px and up)
***************************************************************************/
@media (min-width: 767px) {


/******************
Navigation
*******************/
	.ham-wrapper{
		display: none;
	}
	.responsive-menu{
		display: inline-block;
	}

	nav li{
		display: inline-block;
		margin: 0px 5px;

	}
	content-wrapper{
		margin: 0 15%;
	}

	.act-wrapper .photo-container{
		width: 30.3333%;
		height: auto;
		margin-left: 1%;
		position: relative;

	}
	.photo{
		width: 100%;
		height: 100%;
		}
	.photo-container img{
		max-width:100%;
		max-height:100%;
		border-radius: 100%;
		border: solid 2px rgb(172, 20, 20);
		margin: 2%;
		box-shadow: 2px 2px 2px grey;
	}
	.photo-overlay button{
		color: rgb(172,20,20);
		text-shadow: -2px -2px 2px white, 2px 2px 2px grey, 2px -2px 2px white, -2px 2px 2px white;
		margin-top: -75px;
		margin-bottom: 20px;
		text-align: center;
		font-size: 2em;
	}

	/***************
	contact
	*****************/
	.form-wrapper, .thanks, .contact-details{
		width: 50%;
		float: left;
		min-height: 300px;

	}
/******HOME*****/
	.latest3 li{
		width: 30%;
		margin: 1%;
	}
}
/***************************************************************************
Tablet View
***************************************************************************/
@media (min-width: 767px) and (max-width: 1050px) {
	/******************
	Navigation
	*******************/
	.logo-wrapper, nav{
			width: 100%;
			display: block;
			margin: 10px auto;
			text-align: center;
			padding: 0;
			font-size: 1.25em;
		}

	.navigation-bar{
			min-height: 250px;
		}



/*	footer{
		position: fixed;
		margin-top: 500px;
	}*/

}
@media (min-width: 1051px) {
	/******************
	Navigation
	*******************/
		.responsive-menu{
		display: inline-block;
		position: absolute;
		bottom: 15%;
		right: 15%;
		}
		/*****
		Footer
		******/

		.content-wrapper{
		margin-bottom: 100px;
	}

}

/***************************************************************************
Large devices (desktops, 992px and up)
***************************************************************************/
@media (min-width: 992px) {

	/**navigation**/
	nav a{
			font-size: 1.25em;
	}

	.logo{
		position: fixed;
		left: 50%;
	}


}
/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1500px) {
	/**navigation**/
	nav a{
			font-size: 1.3em;
	}
	footer{
		position: fixed;
		bottom: 0;

	}
	.content-wrapper{
		margin-bottom: 250px;
	}

}
