@charset "utf-8";
/* CSS Document */

#desk {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

@media screen and (min-width: 600px) {
	#mobile {
		/*visibility:hidden;*/
		display:none;
	}
}

@media screen and (max-width: 600px){
    #desk {
		/*visibility:hidden;*/
		display:none;
	}
}

body {
	overflow-x: hidden;
	/*background:#5a4637;*/
	background:#beb9af;
	background-image:url(../images/bodybg.png);
}

input {
	display:none;
}

@-webkit-keyframes contentonclick {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

input:nth-of-type(1):checked ~ .bigcontentpage #newscontent { display:block; -webkit-animation: contentonclick 0.8s forwards; }
input:nth-of-type(2):checked ~ .bigcontentpage #aboutcontent { display:block; -webkit-animation: contentonclick 0.8s forwards; }
input:nth-of-type(3):checked ~ .bigcontentpage #lecturecontent { display:block; -webkit-animation: contentonclick 0.8s forwards; }
input:nth-of-type(4):checked ~ .bigcontentpage #charitablecontent { display:block; -webkit-animation: contentonclick 0.8s forwards; }
input:nth-of-type(5):checked ~ .bigcontentpage #contactcontent { display:block; -webkit-animation: contentonclick 0.8s forwards; }

.bigcontentpage {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	/*height:1270px;*/
	z-index:4;
}

.contentbase{
	position:absolute;
	width:1200px;
	height:1455px;
	top:0;
	left:50%;
	margin-left:-600px;
	/*background:#66CCCC;*/
	background:url(../images/contentbase.png);
	background-repeat:repeat-y;
	z-index:3;
}

/*--- nav menu ---*/
nav {
	position:fixed;
	display:block;
	top:0;
	left:50%;
	z-index:5;
	width:1000px;
	height:319px;
	margin-left:-500px;;
	/*background:#0C6;*/
	background:url("../images/navbg.png");
}

nav label {
	cursor:pointer;
}

.copyright {
    position: absolute;
    width: 1000px;
    height: 40px;
    /*top: 150px;*/
    left: 50%;
    margin-left: -500px;
    bottom: 0px;
}

.copyright img {
    width: 1000px;
    height: 40px;
}

.ytbutton {
	position:absolute;
	width:91px;
	height:20px;
	top: 270px;
	right: 25px;
	/*background:#69C;*/
	background:url(../images/ytlogo.png);
}

.igbutton {
	position:absolute;
	width:20px;
	height:20px;
	top: 270px;
	right: 128px;
	/*background:#69C;*/
	background:url(../images/iglogo.png);
}

.fbbutton {
	position:absolute;
	width:20px;
	height:20px;
	top: 270px;
	right: 160px;
	/*background:#69C;*/
	background:url(../images/fblogo.png);
}

.qrcodebutton {
	position:absolute;
	width:47px;
	height:47px;
	top: 209px;
	right: 25px;
	/*background:#69C;*/
	background:url(../images/qrcode.png);
}

.newstitle {
	position:absolute;
	top:65px;
	left:300px;
	width:174px;
	height:70px;
	display:none;
}

.newstitle img {
	width:174px;
	height:70px;
}

.abouttitle {
	position:absolute;
	top:65px;
	left:285px;
	width:202px;
	height:70px;
	display:none;
}

.abouttitle img {
	width:202px;
	height:70px;
}

.lecturetitle {
	position:absolute;
	top:65px;
	left:274px;
	width:226px;
	height:70px;
	display:none;
}

.lecturetitle img {
	width:226px;
	height:70px;
}

.charitabletitle {
	position:absolute;
	top:65px;
	left:260px;
	width:254px;
	height:70px;
	display:none;
}

.charitabletitle img {
	width:254px;
	height:70px;
}

.contacttitle {
	position:absolute;
	top:65px;
	left:300px;
	width:174px;
	height:70px;
	display:none;
}

.contacttitle img {
	width:174px;
	height:70px;
}

@-webkit-keyframes titleonclick {
	0% { opacity: 0; 
	     -webkit-filter: blur(15px);
	}
	100% { opacity: 1; 
	     -webkit-filter: blur(0);
	}
}

input:nth-of-type(1):checked ~ nav .newstitle {
	display:block; 
    -webkit-animation: titleonclick 0.8s forwards;
}

input:nth-of-type(2):checked ~ nav .abouttitle {
	display:block; 
    -webkit-animation: titleonclick 0.8s forwards;
}

input:nth-of-type(3):checked ~ nav .lecturetitle {
	display:block; 
    -webkit-animation: titleonclick 0.8s forwards;
}

input:nth-of-type(4):checked ~ nav .charitabletitle {
	display:block; 
    -webkit-animation: titleonclick 0.8s forwards;
}

input:nth-of-type(5):checked ~ nav .contacttitle {
	display:block; 
    -webkit-animation: titleonclick 0.8s forwards;
}

.newsmenu {
	position:absolute;
	top:214px;
	width:105px;
	height:37px;
	left:115px;
	/*background:#999;*/
}

.newsmenu label img{
	position:absolute;
	top:7px;
	width:80px;
	height:21px;
	left:50%;
	margin-left:-40px;
	z-index:2;
}

.newsbutton {
	position: absolute;
	/*background:transparent;*/
	/*margin:0 auto;*/
	top:0px;
	right:0px;
	width:100%;
	height:100%;
	z-index:1;
	/*background:#3CC;*/
	-webkit-mask-box-image: url('../images/4wbutton.svg');
}

/*滑鼠移開往上之後往左速度以及等待往左時間*/ 
.newsbutton:before {
	position:absolute;
	width:0;
	height:6px;
	background:#ffe100;
	top:0px;
	left:0px;
	transition: 0.2s width ease 0.38s;
	content:"";
}

/*滑鼠移開往右之後往上速度以及等待往上時間*/ 
.newsbutton:after {
	position:absolute;
	width:6px;
	height:0;
	background:#ffe100;
	top:0px;
	right:0px;
	transition: 0.2s height ease 0.25s;
	content:"";
}

/*滑鼠移開往下之後往右速度以及等待往右時間*/ 
.newsbutton-inner:after {
	position:absolute;
	width:0;
	height:6px;
	background:#ffe100;
	bottom:0;
	right:0;
	transition: 0.2s width ease 0.12s;
	content:"";
}

/*滑鼠移開往下速度以及等待往下時間*/ 
.newsbutton-inner:before {
	position:absolute;
	width:6px;
	height:0;
	background:#ffe100;
	bottom:0;
	left:0;
	transition: 0.2s height ease 0s;
	content:"";
}

/*開頭往右速度以及等待時間*/ 
.newsbutton:hover:before {
	width: 105px;
    transition: 0.2s width ease 0s;
}

/*往右之後往下速度以及等待往下時間*/ 
.newsbutton:hover:after {
	height:37px;
	transition: 0.2s height ease 0.15s;
}

/*往下之後往左速度以及等待往左時間*/ 
.newsbutton:hover .newsbutton-inner:after {
	 width: 105px;
	 transition: 0.2s width ease 0.25s;
}

/*往左之後往上速度以及等待往上速度*/
.newsbutton:hover .newsbutton-inner:before {
	 height:37px;
	 transition: 0.2s height ease 0.4s;
}

.aboutmenu {
	position:absolute;
	top:214px;
	width:122px;
	height:37px;
	left:260px;
}

.aboutmenu label img{
	position:absolute;
	top:7px;
	width:98px;
	height:21px;
	left:50%;
	margin-left:-49px;
	z-index:2;
}

.aboutbutton {
	position: absolute;
	/*background:transparent;*/
	/*margin:0 auto;*/
	top:0px;
	right:0px;
	width:100%;
	height:100%;
	z-index:1;
	/*background:#3CC;*/
	-webkit-mask-box-image: url('../images/5wbutton.svg');
}

.aboutbutton:before {
	position:absolute;
	width:0;
	height:6px;
	background:#ffe100;
	top:0px;
	left:0px;
	transition: 0.2s width ease 0.38s;
	content:"";
}

.aboutbutton:after {
	position:absolute;
	width:6px;
	height:0;
	background:#ffe100;
	top:0px;
	right:0px;
	transition: 0.2s height ease 0.25s;
	content:"";
}

.aboutbutton-inner:after {
	position:absolute;
	width:0;
	height:6px;
	background:#ffe100;
	bottom:0;
	right:0;
	transition: 0.2s width ease 0.12s;
	content:"";
}

.aboutbutton-inner:before {
	position:absolute;
	width:6px;
	height:0;
	background:#ffe100;
	bottom:0;
	left:0;
	transition: 0.2s height ease 0s;
	content:"";
}

.aboutbutton:hover:before {
	width: 122px;
    transition: 0.2s width ease 0s;
}

.aboutbutton:hover:after {
	height:37px;
	transition: 0.2s height ease 0.15s;
}

.aboutbutton:hover .aboutbutton-inner:after {
	 width: 122px;
	 transition: 0.2s width ease 0.25s;
}

.aboutbutton:hover .aboutbutton-inner:before {
	 height:37px;
	 transition: 0.2s height ease 0.4s;
}

.lecturemenu {
	position:absolute;
	top:214px;
	width:141px;
	height:37px;
	left:410px;
}

.lecturemenu label img{
	position:absolute;
	top:7px;
	width:116px;
	height:21px;
	left:50%;
	margin-left:-58px;
	z-index:2;
}

.lecturebutton {
	position: absolute;
	/*background:transparent;*/
	/*margin:0 auto;*/
	top:0px;
	right:0px;
	width:100%;
	height:100%;
	z-index:1;
	/*background:#3CC;*/
	-webkit-mask-box-image: url('../images/6wbutton.svg');
}

.lecturebutton:before {
	position:absolute;
	width:0;
	height:6px;
	background:#ffe100;
	top:0px;
	left:0px;
	transition: 0.2s width ease 0.38s;
	content:"";
}

.lecturebutton:after {
	position:absolute;
	width:6px;
	height:0;
	background:#ffe100;
	top:0px;
	right:0px;
	transition: 0.2s height ease 0.25s;
	content:"";
}

.lecturebutton-inner:after {
	position:absolute;
	width:0;
	height:6px;
	background:#ffe100;
	bottom:0;
	right:0;
	transition: 0.2s width ease 0.12s;
	content:"";
}

.lecturebutton-inner:before {
	position:absolute;
	width:6px;
	height:0;
	background:#ffe100;
	bottom:0;
	left:0;
	transition: 0.2s height ease 0s;
	content:"";
}

.lecturebutton:hover:before {
	width: 141px;
    transition: 0.2s width ease 0s;
}

.lecturebutton:hover:after {
	height:37px;
	transition: 0.2s height ease 0.15s;
}

.lecturebutton:hover .lecturebutton-inner:after {
	 width: 141px;
	 transition: 0.2s width ease 0.25s;
}

.lecturebutton:hover .lecturebutton-inner:before {
	 height:37px;
	 transition: 0.2s height ease 0.4s;
}

.charitablemenu {
	position:absolute;
	top:214px;
	width:158px;
	height:37px;
	left:583px;
}

.charitablemenu label img{
	position:absolute;
	top:7px;
	width:134px;
	height:21px;
	left:50%;
	margin-left:-65px;
	z-index:2;
}

.charitablebutton {
	position: absolute;
	/*background:transparent;*/
	/*margin:0 auto;*/
	top:0px;
	right:0px;
	width:100%;
	height:100%;
	z-index:1;
	/*background:#3CC;*/
	-webkit-mask-box-image: url('../images/7wbutton.svg');
}

.charitablebutton:before {
	position:absolute;
	width:0;
	height:6px;
	background:#ffe100;
	top:0px;
	left:0px;
	transition: 0.2s width ease 0.38s;
	content:"";
}

.charitablebutton:after {
	position:absolute;
	width:6px;
	height:0;
	background:#ffe100;
	top:0px;
	right:0px;
	transition: 0.2s height ease 0.25s;
	content:"";
}

.charitablebutton-inner:after {
	position:absolute;
	width:0;
	height:6px;
	background:#ffe100;
	bottom:0;
	right:0;
	transition: 0.2s width ease 0.12s;
	content:"";
}

.charitablebutton-inner:before {
	position:absolute;
	width:6px;
	height:0;
	background:#ffe100;
	bottom:0;
	left:0;
	transition: 0.2s height ease 0s;
	content:"";
}

.charitablebutton:hover:before {
	width: 158px;
    transition: 0.2s width ease 0s;
}

.charitablebutton:hover:after {
	height:37px;
	transition: 0.2s height ease 0.15s;
}

.charitablebutton:hover .charitablebutton-inner:after {
	 width: 158px;
	 transition: 0.2s width ease 0.25s;
}

.charitablebutton:hover .charitablebutton-inner:before {
	 height:37px;
	 transition: 0.2s height ease 0.4s;
}

.contactmenu {
	position:absolute;
	top:214px;
	width:105px;
	height:37px;
	left:775px;
}

.contactmenu label img{
	position:absolute;
	top:7px;
	width:80px;
	height:21px;
	left:50%;
	margin-left:-40px;
	z-index:2;
}

.contactbutton {
	position: absolute;
	/*background:transparent;*/
	/*margin:0 auto;*/
	top:0px;
	right:0px;
	width:100%;
	height:100%;
	z-index:1;
	/*background:#3CC;*/
	-webkit-mask-box-image: url('../images/4wbutton.svg');
}

.contactbutton:before {
	position:absolute;
	width:0;
	height:6px;
	background:#ffe100;
	top:0px;
	left:0px;
	transition: 0.2s width ease 0.38s;
	content:"";
}

.contactbutton:after {
	position:absolute;
	width:6px;
	height:0;
	background:#ffe100;
	top:0px;
	right:0px;
	transition: 0.2s height ease 0.25s;
	content:"";
}

.contactbutton-inner:after {
	position:absolute;
	width:0;
	height:6px;
	background:#ffe100;
	bottom:0;
	right:0;
	transition: 0.2s width ease 0.12s;
	content:"";
}

.contactbutton-inner:before {
	position:absolute;
	width:6px;
	height:0;
	background:#ffe100;
	bottom:0;
	left:0;
	transition: 0.2s height ease 0s;
	content:"";
}

.contactbutton:hover:before {
	width: 105px;
    transition: 0.2s width ease 0s;
}

.contactbutton:hover:after {
	height:37px;
	transition: 0.2s height ease 0.15s;
}

.contactbutton:hover .contactbutton-inner:after {
	 width: 105px;
	 transition: 0.2s width ease 0.25s;
}

.contactbutton:hover .contactbutton-inner:before {
	 height:37px;
	 transition: 0.2s height ease 0.4s;
}

/*--- nav menu ---*/

#newscontent {
	top:325px;
	left: 50%;
	/*background:#0CF;*/
	width:1000px;
	margin-left:-500px;
	display:none;
}

#aboutcontent {
	top:325px;
	left:50%;
	/*background:#CC0;*/
	width:1000px;
	margin-left:-500px;
	display:none;
}

#lecturecontent {
	top:325px;
	left:50%;
	/*background:#C60;*/
	width:1000px;
	margin-left:-500px;
	display:none;
}

#charitablecontent {
	top:325px;
	left:50%;
	/*background:#6C3;*/
	width:1000px;
	margin-left:-500px;
	display:none;
}

#contactcontent {
	top:325px;
	left:50%;
	/*background:#999;*/
	width:1000px;
	margin-left:-500px;
	display:none;
}

.contentpage {
	position: absolute;
	width: 100%;
	height: 1130px;
	text-align: center;
	overflow: hidden;
}

#news:target .bigcontentpage {
	left:0;
}

#about:target .bigcontentpage {
	top:-100%;
}

#lecture:target .bigcontentpage {
	top:-200%;
}

#charitable:target .bigcontentpage {
	top:-300%;
}

#contact:target .bigcontentpage {
	top:-400%;
}

