/*
 * w421 i-beef - RWD system type-10
 * http://www.i-beef.com.tw/
 *
 * Copyright 2015, evelyn wang
 * 
 * 
 * October 2015
 */

.animated {
	-webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

img {
	max-width: 100%;
}


/* +main-banner
*----------------------------------------------------------------------------*/
#main-banner {
	overflow: hidden;
	position: relative;
	padding: 70px 0 0;
}

#main-banner .templesList {
	margin: 140px 0;
}

#main-banner .templesList ul {
	overflow: hidden;
	margin: 10px 0;
}

#main-banner .templesList ul li {
	overflow: hidden;
	margin: 10px;
	float: left;
	width: 220px;
	height: 220px;
	box-shadow: 1px 1px 8px #8c8c8c;
}

#main-banner .cpImg {
	position: absolute;
	bottom: 0;
	width: 100%;
	z-index: 10;
}


/* +hello
*----------------------------------------------------------------------------*/
#hello {
	padding: 70px 0;
	background: url(/web/seoi/banner2.jpg) no-repeat center;
	background-size: cover;
}

#hello h2 ,
#experience h2 ,
#main-banner h2 {
	text-align: center;
	font-size: 30px;
	color: #fff;
	font-weight: normal;
}

#hello h2 b ,
#experience h2 b ,
#special h2 b ,
#program h2 b ,
#main-banner h2 b {
	display: block;
	text-align: center;
	font-size: 24px;
}

#hello .line ,
#experience .line ,
#special .line ,
#program .line ,
#main-banner .line {
	margin: 20px 0;
	text-align: center;
}

#hello span ,
#experience span ,
#special span ,
#program span ,
#main-banner span {
	margin: 10px 0 0;
	display: block;
	text-align: center;
	color: #fff;
}

#hello ul {
	margin: 0 auto;
	padding-top: 45px;
	width: 1160px;
	overflow: hidden;
}

#hello ul li {
	width: 16%;
	float: left;
	text-align: center;
}

#hello ul li h3 {
	margin: 20px 15px 5px;
	text-align: center;
	font-size: 16px;
	color: #fff;
}

#hello ul li p {
	margin: 20px 10px;
	padding: 10px;
	line-height: 170%;
	color: #fff;
	min-height: 142px;
	background: rgba(253,196,21,0.27);
	border-radius: 5px;
}

#hello ul li:nth-of-type(2) p {
	background: rgba(253,26,21,0.27);
}

#hello ul li:nth-of-type(3) p {
	background: rgba(253,21,201,0.27);
}

#hello ul li:nth-of-type(4) p {
	background: rgba(168,21,253,0.27);
}

#hello ul li:nth-of-type(5) p {
	background: rgba(21,212,253,0.27);
}

#hello ul li:nth-of-type(6) p {
	background: rgba(21,147,253,0.27);
}

#hello ul li.fadeInUp:nth-of-type(2) ,
#special .rImg img ,
#program .rImg img {
	-webkit-animation-delay: 0.5s;
}

#hello ul li.fadeInUp:nth-of-type(3) ,
#program .rImg img:nth-of-type(2) ,
#special .rImg img:nth-of-type(2) {
	-webkit-animation-delay: 1s;
}

#hello ul li.fadeInUp:nth-of-type(4) {
	-webkit-animation-delay: 1.5s;
}

#hello ul li.fadeInUp:nth-of-type(5) {
	-webkit-animation-delay: 2s;
}

#hello ul li.fadeInUp:nth-of-type(6) {
	-webkit-animation-delay: 2.5s;
}


/* +marketing
*----------------------------------------------------------------------------*/
#marketing {
	background: url(../i/bg-marketing.jpg) repeat-x 0 bottom;
	overflow: hidden;
}

#marketing section {
	padding-top: 25px;
	background: url(../i/bg-marketing2.png) no-repeat 50% bottom;
	overflow: hidden;
}

#marketing section .marketing-wrap {
	margin: 0 auto;
	width:1160px;
	overflow: hidden;
}

#marketing section .marketing-wrap > img {
	float: right;
}

#marketing section .marketing-wrap p {
	width: 70%;
	float: left;
}

#marketing section .marketing-wrap p:nth-of-type(2) {
	margin-top: 15px;
	-webkit-animation-delay: 0.5s;
}

#marketing section .marketing-wrap p:nth-of-type(3) {
	margin-top: 10px;
	-webkit-animation-delay: 1s;
	font-size: 18px;
	color: #2a2b2d;
	font-weight: bold;
}

#marketing section .marketing-wrap p:nth-of-type(4) {
	margin-top: 20px;
	overflow: hidden;
}

#marketing section .marketing-wrap p:nth-of-type(4) span {
	-webkit-animation-delay: 1.5s;
}

#marketing section .marketing-wrap p:nth-of-type(4) span:nth-of-type(2) {
	margin-left: 15px;
	-webkit-animation-delay: 1.5s;
}

#marketing section .marketing-wrap p:nth-of-type(5) {
	margin-top: 25px;
	-webkit-animation-delay: 2s;
}


/* +experience
*----------------------------------------------------------------------------*/
#experience {
	padding: 70px 0 0;
	background: url(/web/seoi/img-04-02.jpg) no-repeat center;
}

#experience h2 ,
#experience span ,
#main-banner h2 ,
#main-banner span {
	color: #000;
}

#experience .cpImg ,
#main-banner .cpImg {
	margin: 50px 0 0;
	text-align: center;
}


/* +special
*----------------------------------------------------------------------------*/
#special {
	padding: 70px 0;
	background: url(/web/seoi/img-05-01.jpg) no-repeat center;
	background-size: cover;
}

#special section {
	overflow: hidden;
	position: relative;
	margin: 0 auto;
	width: 1160px;
}

#special h2 {
	font-size: 30px;
	color: #fff;
	font-weight: normal;
}

#special h2 b ,
#special .line ,
#special span {
	text-align: left;
}

#special .rImg ,
#contact .rImg {
	position: absolute;
	right: 0;
	top: 20px;
	text-align: right;
}

#special .rImg img {
	margin: 0 10px;
}



/* +program
*----------------------------------------------------------------------------*/
#program {
	padding: 70px 0;
	background: url(/web/seoi/img-05-00.png) no-repeat center;
	background-size: cover;
}

#program section {
	overflow: hidden;
	position: relative;
	margin: 0 auto;
	width: 1160px;
	min-height: 345px;
}
#program section .leftbox{
	float:right;
}
#program h2 {
	font-size: 30px;
	color: #fff;
	font-weight: normal;
}

#program h2 b ,
#program .line ,
#program span {
	text-align: left;
}

#program .rImg ,
#contact .rImg {
	position: absolute;
	right: 0;
	top: 20px;
	text-align: right;
}
#program .rImg {
    left: 0;
    right: inherit;
}

#program .rImg img {
	margin: 0 10px;
}



/* +contact
*----------------------------------------------------------------------------*/
#contact {
	padding: 50px 0;
	width: 100%;
	overflow: hidden;
	background: url(/web/seoi/img-06-01.jpg) no-repeat center;
}

#contact section {
	margin: 0 15%;
	overflow: hidden;
	position: relative;
}

#contact p#title {
	padding-bottom: 50px;
}

#contact #info {
	width: 55%;
	line-height: 200%;
}

#contact #info h2 ,
#contact #info h3 {
	margin: 10px 0;
	font-size: 20px;
}

#contact #info h3 {
	color: #da1818;
}

#contact #info p {
	margin: 10px 0;
}

#contact .rImg {
	top: 30%;
}


/* +webseo
*----------------------------------------------------------------------------*/
#webseo {
	width: 100%;
	position: absolute;
	z-index: 500;
	bottom: 0;
}

#webseo .seo {
	margin: 10px;
	overflow: hidden;
}
a#gotop{
	display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: rgba(130, 130, 130, 0.85);
    z-index: 99999999999999999;
    position: fixed;
    bottom: 50px;
    right: 10px;
    border-radius: 50%;
    text-align: center;
    color: #FFF;
}


/* +width:1366 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1440px) {
	#program ul li ,
	#special ul li {
		height: 425px;
	}
	
	#contact section {
		margin: 0 2%;
	}
	
}


/* +width:1366 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1366px) and (min-width:1025px) {
	#program ul li ,
	#special ul li {
		height: 425px;
	}
	
    #program ul li .text p ,
	#special ul li .text p {
		height: 90px;
	}
	
	#contact section {
		margin: 0 2%;
		overflow: visible;
	}
	
	#contact section > img {
		right: -100px;
	}
	#contact section .sucess p:first-child img{
		width: 80%;
	}
}

/* +width:1024 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) and (min-width:961px) {
	#hello ul li p {
		min-height: 185px;
	}

	#main-banner ul ,
	#hello ul ,
	#marketing section .marketing-wrap ,
	#experience section ,
    #program section ,
	#special section {
		margin: 0 auto;
		width: 960px;
	}
	
	#marketing section .marketing-wrap p {
		width: 60%;
	}
	
	#experience section {
		position: relative;
	}
	
	#experience section p {
		position: absolute;
		z-index: 50;
	}
	
	#experience section p:nth-of-type(2) {
		width: 50%;
		top: 50px;
	}
	#experience section p:nth-of-type(3) {
		top: 140px;
	}
	
	#experience section p:nth-of-type(4) {
		top: 200px;
	}
	
	#experience section p:nth-of-type(5) {
		top: 260px;
	}
	
	#program  ul li .text h3 ,
	#special ul li .text h3 {
		font-size: 24px;
	}
	
	#contact section {
		margin: 0 0 0 15px;
	}
	
	#contact section > img {
		width: 60%;
		right: -70px;
	}
	
	#contact section p {
		margin-top: 30px;
	}
	
	#contact section p:nth-of-type(2) {
		font-size: 21px;
	}
	
	#contact section p:nth-of-type(3) {
		margin-bottom: 50px;
	}
	#contact #info {
	    width: 45%;	
	}
	#contact section .sucess p:first-child img{
		width: 80%;
	}
	#program .rImg img ,
    #special .rImg img {
		width: 40%;
	}

}


/* +width:960 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 960px) and (min-width:769px) {
	#main-banner ul {
		margin: 0 15px;
		width: auto;
	}
	#contact section .sucess p:first-child img{
		width: 80%;
	}

}


/* +width:768 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	#main-banner ul ,
	#hello h2 ,
	#hello span ,
	#hello ul ,
	#marketing section .marketing-wrap ,
	#experience section ,
	#program section ,
	#special section {
		margin: 0 15px;
		width: auto;
	}
	#main-banner .templesList {
		margin: 50px 0;
	}
	#hello ul li {
		margin-bottom: 15px;
		width: 32%;
	}
	#marketing section {
		position: relative;
	}
	#marketing section .marketing-wrap > img {
		position: absolute;
		bottom: 0;
	}
	#marketing section .marketing-wrap p {
		width: 100%;
		text-align: right;
	}
	#marketing section .marketing-wrap p:nth-of-type(3) {
		width: 50%;
		float: right;
		text-align: right;
	}
	#marketing section .marketing-wrap p:nth-of-type(4) span {
		display: block;
		text-align: right;
	}
	#marketing section .marketing-wrap p:nth-of-type(4) span:nth-of-type(2) {
		margin: 15px 0 0;
	}
	#marketing section .marketing-wrap p:nth-of-type(5) {
		margin-bottom: 190px;
	}
	#experience section > img {
		margin-right: 70px;
	}
	#experience section p {
		width: 100%;
		text-align: center;
	}
	#experience section p:nth-of-type(5) {
		margin-bottom: 50px;
	}
	#special h2 ,
	#special h2 b ,
	#special .line ,
	#special span ,
	#program h2 ,
	#program h2 b ,
	#program .line ,
	#program span ,
	#program section .leftbox{
		text-align: center;
	}	
	#program .rImg ,
	#special .rImg {
		 position: relative;
		 top: 0;
		 text-align: center;
	}	
	#contact section {
		margin: 0;
	}
	#contact section .sucess p{
		padding-left: 0;
	}
	#contact section p {
		padding-left: 20px;
		width: 90%;
	}
	#contact section p:nth-of-type(3) {
		margin-bottom: 0;
		position: relative;
		z-index: 70;
	}	
	#contact section > img {
		margin-top: -20px;
		position: relative;
		right: -50px;
	}
	#contact section .sucess{
		width:100%;
	}
	#contact section .sucess p:first-child img{
		width: 80%;
	}	
	#contact .rImg {
		display: none;
	}
	#contact #info {
		margin: auto;
		width: 95%;
	}
    #program section .leftbox{
    float: none;
    }
}


/* +width:640 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 640px) {
	#marketing section .marketing-wrap > img {
		width: 45%;
	}
	#marketing section .marketing-wrap p:nth-of-type(5) {
		margin-bottom: 230px;
	}
	#experience section > img {
		margin-right: 10px;
	}
	#special ul li ,
	#program ul li {
		width: 50%;
	}

	#program ul li:nth-child(4) .text p ,
	#special ul li:nth-child(4) .text p {

		height: 180px;
	}
	#contact section > img {
		margin-top: 5px;
		right: 10px;
	}
	#contact section .sucess p{
		padding-left: 0;
	}
	#contact section .sucess p:first-child img{
		width: 80%;
	}
	#special .rImg img ,
    #program .rImg img {
		width: 40%;
	}
}


/* +width:480 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 480px) {
	#hello ul li.fadeInUp:nth-of-type(2) ,
	#hello ul li.fadeInUp:nth-of-type(3) ,
	#hello ul li.fadeInUp:nth-of-type(4) ,
	#hello ul li.fadeInUp:nth-of-type(5) ,
	#hello ul li.fadeInUp:nth-of-type(6) ,
	#marketing section .marketing-wrap p:nth-of-type(3) ,
	#marketing section .marketing-wrap p:nth-of-type(4) span ,
	#marketing section .marketing-wrap p:nth-of-type(4) span:nth-of-type(2) ,
	#marketing section .marketing-wrap p:nth-of-type(5) ,
	#experience section > img:nth-of-type(3) ,
	#experience section p:nth-of-type(2), 
	#experience section p:nth-of-type(3) ,
	#experience section p:nth-of-type(4) ,
	#experience section p:nth-of-type(5) ,
	#special ul li:nth-child(3) ,
	#special ul li:nth-child(4) ,
	#special ul li:nth-child(5) ,
	#special ul li:nth-child(6) ,
	#program ul li:nth-child(3) ,
	#program ul li:nth-child(4) ,
	#program ul li:nth-child(5) ,
	#program ul li:nth-child(6) ,
	#contact section p:nth-of-type(3) span ,
	#contact section p:nth-of-type(3) span:nth-of-type(2) {
		-webkit-animation-delay: 0;
	}
	#main-banner .cpImg {
		position: relative;
	}
	#main-banner .templesList {
		display: none;
	}
	#hello ul li {
		width: 50%;
	}
	#experience section {
		position: relative;
	}
	#experience section > img {
		width: 80%;
	}
	#experience section > img:nth-of-type(2) {
		width: 40%;
		position: absolute;
		top: -10px;
	}
	#experience section > img:nth-of-type(3) {
		width: 20%;
		position: absolute;
		top: -10px;
		right: 75px;
	}
	#special ul li ,
	#program ul li ,
	#contact section p:first-child img ,
	#contact section p:nth-of-type(2) img {
		width: 100%;
	}
	#contact {
		padding: 50px 0 80px;
	}
	#contact section > img {
		margin-top: 0;
		width: 120%;
	}
	#contact section .sucess p:first-child img{
		width: 80%;
	}
	#webseo {
		bottom: 40px;
	}
}


/* +width:479 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 479px) and (min-width:361px) {
	#hello ul li ,
	#experience section p img {
		width: 100%;
	}
	#experience section p:nth-of-type(4) img {
		width: 330px;
	}
	#experience section p:nth-of-type(5) img {
		width: 220px;
	}
	#contact section .sucess p:first-child img{
		width: 80%;
	}
	#contact section .sucess p:nth-child(2) img{
		width: auto !important;
	}
}


/* +width:450 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 450px) {
	#special .rImg img ,
	#program .rImg img {
		margin: 10px 0;
		width: 80%;
	}
}

/* +width:360 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 360px) {
	#hello h2 {
		font-size: 21px;
	}
	#hello span {
		font-size: 12px;
	}
	#hello ul li ,
	#marketing section .marketing-wrap p img ,
	#experience section p img {
		width: 100%;
	}
	#marketing section .marketing-wrap p:nth-of-type(4) span {
		margin: 0 auto;
		width: 80%;
	}
	#marketing section .marketing-wrap p:nth-of-type(5) {
		margin-bottom: 370px;
	}
	#marketing section .marketing-wrap > img {
		width: 90%;
	}
	#experience section p:nth-of-type(2), 
	#experience section p:nth-of-type(3) {
		font-size: 16px;
	}
	#experience section p:nth-of-type(5) img {
		width: 220px;
	}
	#special ul li .text h3 ,
	#program ul li .text h3 {
		font-size: 18px;
	}
	#special ul li .text p ,
	#program ul li .text p {
		font-size: 14px;
	}
	#special ul li:nth-child(4) .text p ,
	#special ul li:nth-child(5) .text p ,
	#program ul li:nth-child(4) .text p ,
	#program ul li:nth-child(5) .text p {
		height: auto;
	}
	#contact section p:nth-of-type(2),
	#contact section .sucess p:nth-of-type(2) img {
		width: auto;
		font-size: 16px;
	}
	#contact section .sucess p:nth-of-type(2){
		width: 100%;
	}
	#contact section .sucess p:first-child img{
		width: 80%;
	}
}