/***********************************************/
/*****************  Index.html *****************/
/***********************************************/
.top-index{
	display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 10px; 
    z-index: 99; 
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
	width:70px;
}


/*****************  Animation ******************/ 
.caption-animation{
	position: relative;	
	animation: headermove 3s;
	-webkit-animation: headermove 3s; /* Safari 4.0 - 8.0 */
	animation-fill-mode: forwards;
}

@keyframes headermove {
    from {
    	top: 5%;
        opacity:0;	
    }
    to {
    	top: 0%;
        opacity:1;
    }
}

@-webkit-keyframes headermove {
	from {
    	top: 5%;
        opacity:0;	
    }
    to {
    	top: 0%;
        opacity:1;
    }
}


/* stop animation*/
@media (max-width: 1400px){
	.caption-animation{
		animation: headermove 0s;
		-webkit-animation: headermove 0s; /* Safari 4.0 - 8.0 */
	}
}

/********** Centred texts in each section *****/
.section{
	text-align:center;
}

/*************   Home section    ******************/
.section.home{
	background: url(../imgs/home-bg.jpg) no-repeat center / cover;
}

.section.home h1{
	font-size: 7em;
	padding-bottom: 150px;
}

@media (max-width: 768px) {
	.section.home h1{
		padding-top: 100px;
		padding-left: 5px;
		padding-right: 5px;
		font-size: 4em;
	}
}

/*************   About us section    ******************/
/** About **/
.section.about-us h1{
	color: #006084;
	text-transform: capitalize;
}

.section.about-us p{
	font-family: Raleway-Regular;
	font-size: 20px;
	color: #808080;
    margin-right: 15%;
    margin-left: 15%;
	padding-left: 7%;
	padding-right: 7%;
	padding-top: 20px;
}	
.section.about-us img {
	padding-bottom: 20px;
}
.section.about-us .about{
	position: absolute;
	width:100%;
	top: 20%;
	height: 50%;
	background-color:#FFFFFF;
}


@media (max-width: 1400px){
	.section.about-us .about{
		top: 15%;
	}
	.section.about-us p {
		margin-top:-15px;
		margin-right: 5%;
		margin-left: 5%;	
		padding-left: 0;
		padding-right: 0;
		/*border: 1px green solid;*/	/*debug*/
	}	
}

@media (max-width: 767px) {
	.section.about-us .about{
		position: relative;
	}
	.section.about-us h1{
		padding-top: 20px;
	}
	.section.about-us p{
		margin-right: 5%;
		margin-left: 5%;
		padding-left: 0;
		padding-right: 0;
	}
}

/** Our Mission **/
.section.about-us .mission{
	position: absolute;
	width:100%;
	bottom: 0;
	height: 50%;
	background-color:#F9F9F9;
	/*background-color:#E8E8E8;*/
}

.section.about-us .mission h2{
	font-size: 36px;
	margin-top:3%;
	margin-bottom:0;
	padding-bottom:0;
	font-family: Raleway-Bold;	
	text-transform: capitalize;
	color: #56D1DB;
	/*border: 1px blue solid;*/	/*debug*/
}

.section.about-us .mission img {
	width: 80%;
	height: 80%;
	padding-top: 10%;
	/*border: 1px red solid;*/	/*debug*/
}

.section.about-us .mission p{
	font-family: Raleway-Regular;
	color: #56D1DB;
	position: absolute; 
	left: 0;
	right: 0;
	padding-top:10%;
	padding-left:3%;
	padding-right:3%;
	margin-left:0;
	margin-right:0;
	width: 100%;
	height: 50%;
	top: 25%;
	/*border: 1px yellow solid;*/	/*debug*/
}

@media (max-width: 1400px) and (orientation:portrait){
	.section.about-us .mission{
		height: 40%;
	}
}
@media (max-width: 767px){	
	.section.about-us .mission{
		position: relative;
		/*border: 1px green solid;*/	/*debug*/
	}
	.section.about-us .mission h2{
		padding-top:50px;
	}
	.section.about-us .mission img{
		width: 240px;
		height: 240px;
		margin-top: 30px;
		margin-bottom: 30px;
		padding:0;
		/*border: 1px blue solid;*/	/*debug*/
	}
	.section.about-us .mission p{
		top: 0;
		bottom: 0;
		margin-top: auto;
		margin-bottom: auto;
		padding-top:20px;
		padding-bottom:auto;
		/*border: 1px red solid; /*debug*/
	}
	.section.about-us .mission .col-sm-4,
	.section.about-us .mission .col-md-4{
		margin: 0 auto;
		width:90%;
		height:80%;
		/*border: 1px blue solid;	*/ /*debug*/
	}
}

/*************    Services & Products section    ******************/
.section.products{
	background: url(../imgs/product.jpg) no-repeat center / cover;
}

.section.products h1{
	/*font-family: Raleway-Bold;*/
	color: #FFFFFF;
	margin-bottom: 100px;
	margin-top: 100px;
}

.section.products h3{
	font-family: Raleway-Medium;
	color: #FFFFFF;
	margin-top:0;
/*	border: 1px blue solid;	*/ /*debug*/
}

.section.products p{
	color: #FFFFFF;
	padding: 10px;
    text-align: center;
	margin-bottom: 30px;
	font-family: Raleway-Regular;
	font-size: 14px;
}

.section.products h5{
	position: absolute;
	font-family: Raleway-Medium;
	font-size: 20px;
	color: #FFFFFF;
	top: 63%;
	left: 0;
	width: 100%;
}

.sp-vmore-img {
	position: relative;
	display: inline-block;
}

.sp-vmore-img .img-top {
	position: absolute;
	display: none;
	top: 0;
	left: 0;
	z-index: 99;
}

.sp-vmore-img:hover  .img-top{
	cursor: pointer;
	display: inline;
}

@media (max-width: 1024px) and (min-width: 769px){
	.prd-desc{
		display: none !important;
	}	
	.section.products img{
		margin-top:10%;
	/*	border: 1px red solid; */ /*debug*/
	}
	.section.products h3{
		margin-bottom: 10px;
	/*	border: 1px blue solid;	*/ /*debug*/
	}
}
@media (max-width: 768px){
	.section.products h1{
		margin-bottom: 20px;
		margin-top: 20px;
	}
	.section.products img{
		margin-top:10%;
	/*	border: 1px red solid; */ /*debug*/
	}
	.section.products h3{
		margin-bottom: 10px;
	/*	border: 1px blue solid;	*/ /*debug*/
	}
	.prd-desc{
		display: none !important;
	}
}


/*************    News & Events section    ******************/
.section.news h1{
	color: #006084;
	text-transform: capitalize;
	margin-top: 10%;
}

.section.news h5{
	font-family: Raleway-Regular;
	font-size: 20px;
	color: #808080;
	width: 70%;
	margin: 0 auto;
	padding-left: 5%;
	padding-right: 5%;
	padding-top:20px;
	/*border: 1px red solid;*/	/*debug*/
}	

/* Override original class in slick.css (start) */
.section.news .slider {
	width: 70%;		/*DO not set lower than 70%*/
	margin-top: 5%;
	margin-bottom: 25%;
	margin-left: auto;
	margin-right: auto;
	/*border: red 1px solid;*/	/*debug*/
}

/* width of each slide */
.section.news .slick-slide {
	position: relative;
	margin: 0px 5px;	
	border-radius: 50%;
}

.section.news .slick-slide img {
	display: block;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	border-radius: 50%;
}

.section.news .slick-slide:focus {
	outline:0;
}

.section.news .slick-slide:hover .overlay {
  opacity: 0.7;
}

.section.news .slick-slide:hover .event,
.section.news .slick-slide:hover .event-date {
  opacity: 1;
}

.section.news .overlay {
    position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0;
	transition: .5s ease;
	background-color: #56D1DB;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	border-radius: 50%;
}

.section.news .event {
	transition: .5s ease;
	background-color: transparent;
	opacity: 0;
	font-family: Raleway-Medium;	
	color: #FFFFFF;
	position: absolute; 
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 75%;
	font-size: 24px;
}

@media (min-width:993px) and (max-width: 1220px) {
	.section.news .slider {
		width: 95%;
		height: 200px;
	}
	.section.news h1{
		margin-top: 12%;
	}
	.section.news .slick-prev:before,
	.section.news .slick-next:before {
		visibility:hidden;
	}
}

@media (max-width: 992px) {
	.section.news .slider {
		width: 100%;
	}
	.section.news .overlay,
	.section.news .slick-slide img {
		width: 220px;
		height: 220px;
	}
}
/* iPhoneX only	*/
@media (width: 812px) {
	.about, .mission{
		height:330px;
		position:relative;
	}
	.section.news .slider {
		width: 90%;
	}
	.section.news .overlay,
	.section.news .slick-slide img {
		width: 200px;
		height: 200px;
	}
	.section.home h1{
		font-size:5em;
		padding-bottom:unset;
	}
	.section.about-us h1{
		padding-top:5%;
	}
	.section.about-us .mission p{
		padding-top:unset;
	}
	.section.about-us .mission h2{
		padding-top:2.5%;
	}	
	.section.about-us .mission img{
		width:100%;
	}
	.section.news .event{
		width:45%;
	}
}


@media (max-width: 768px) {
	.section.news .slider {
		width: 100%;
	}
	.section.news .slick-prev{
		width: 5px;
		height: 5px;
		left: -10px;
	}
	.section.news .slick-next{
		top: 10%;
		right: 300px;
	}
	.section.news .overlay,
	.section.news .slick-slide img {
		width: 200px;
		height: 200px;
	}
	.underline {
		width: 50%;
	}
	.underlineAbout {
		width: 25%;
	}
	.section.news h5{
		padding-left: 0;
		padding-right: 0;
		/*border: 1px red solid;*/	/*debug*/
	}
	.section.news .event {
		width: 45%;
		font-size: 22px;
	}
}
@media (max-width: 450px) {
	.underlineAbout {
		width: 40%;
	}
}