.clearfix:before, .clearfix:after {
	content:"";
	display:table;
}
.clearfix:after{
	clear:both;
	overflow:hidden;
}
.clearfix{
    zoom:1;
}
body{
	margin:0;
	padding:0;
	background:#000;
}
#wrap{
	width:1080px;
	margin:0 auto;
	overflow:hidden;
}
#wrap>img{
	float:left;
}

header{
	position:relative;
	width:100%;
	height:600px;
}
span img{
	position:absolute;
}
iframe.top{
	position:absolute;
	bottom:50px;
	right:105px;
}
img.o01{
	top:-45px;
	right:420px;
	animation:lr1 2.5s alternate infinite linear;
}
@keyframes lr1{
	0%,100%{margin-top:6px;}
	50%{margin-top:-6px;}	
}
img.o02{
	top:25px;
	right:205px;
	animation:lr2 2.5s alternate infinite linear;
}
@keyframes lr2{
	0%,100%{margin-right:-6px;margin-top:-6px;}
	50%{margin-right:6px;margin-top:6px;}
}
img.o03,canvas{
	top:175px;
	right:250px;
	animation:lr3 2.5s alternate infinite linear;
}
@keyframes lr3{
	0%,100%{margin-right:6px;margin-top:6px;}
	50%{margin-right:-6px;margin-top:-6px;}	
}
img.o04{
	top:185px;
	right:-38px;
	animation:lr4 2.5s alternate infinite linear;
}
@keyframes lr4{	
	0%,100%{margin-top:-6px;}
	50%{margin-top:6px;}	
}

section{
position:relative;
height:381px;
}
section>img{
	float:left;
}
iframe.left{
	position:absolute;
	bottom:37.5px;
	left:49.5px;
}
iframe.right{
	position:absolute;
	bottom:37.5px;
	left:591px;
}
nav{
	position:relative;
	width:1080px;
	height:200px;
	overflow:hidden;
	
}
nav div{
    position: absolute;
    left: 50%;
    margin-left: -540px;
	height:200px;
	width:1080px;
}
.n2{
	background:url(../images/NotJustReading/02-2.jpg);
}
main{
	color:#2e2e2e;
	background:#e2e2e2;
	font-family: "微軟正黑體";
	line-height:1.6em;
	font-size:0.9em;
	padding:0 40px;
}
main b, article b{
	color:#EA8929;
}
main strong{
	font-size:1.1em;
	display:inline-block;
	margin-top:3px;
	margin-bottom:4px;
}
main h2{
	font-weight:normal;
	font-size:0.9em;
	display:inline;
}
article{
	color:#2e2e2e;
	background:#e2e2e2;
	font-family: "微軟正黑體";
	font-size:1.4em;
	line-height:1.8em;
	font-size:0.9em;
	padding:0 40px;
}
article span.questioncatelogry{
	float:right;
	color:#FFF;
	background:#999;
	padding: 0.5px 3px;
	font-size:0.9em;
	margin-right:15px;
	margin-top:10px;
}
.stretch, .back{
	display:none;
}
.more p,.more2 p{
	color:#663300;
	cursor:pointer;
}
.more p:hover,.more2 p:hover{
	color:#CC3300;
}
.articlegreen{
	color:#060;
	font-weight:bold;
	font-size:1.8em;
	text-align:center;
	display:block;
	margin-bottom:-10px;
}
.articlegreen>span{
	background:#AF0000;
	transform: rotate(45deg);
	display:inline-block;
	width:45px;
	height:45px;
	margin:30px 12px 30px 0;
}
.articlegreen>span>span{
	transform: rotate(-45deg);
	color:#FFF;
	width:32px;
	height:32px;
	font-size:16px;
	line-height:16px;
	padding:5px 0px;
	text-align:center;
	display:inline-block;
}
#footer{
	width:100%;
	height:60px;
	background-color:#666;
	text-align:center;
	line-height:20px;
	font-size:14px;
	padding-top:20px;
	color:#FFF;
	float:left;
	font-family: "微軟正黑體";
}
.wantanswer{
	color:red;
	float:right;
	font-weight:bold;
	margin-top:70px;
	margin-bottom:30px;
	font-size:2em;
}

.book{
	color:red;
	width:80px;
	height:80px;
	line-height:80px;
	display:inline-block;
	text-align:center;
	margin-left:10px;
	text-decoration:none;
	border-radius:45px;
	animation:light 2s alternate infinite;
	cursor:pointer;
}
@keyframes light{	
	0%,100%{box-shadow: 3px 3px 10px transparent,-3px -3px 10px transparent;}
	50%{box-shadow: 3px 3px 10px red,-3px -3px 10px red;}	
}
.book:hover{
	box-shadow: 3px 3px 10px red,-3px -3px 10px red;
	animation:none;
	transform:scale(1.4);
	transition:.5s;
}
/*dialog*/
.ui-widget.success-dialog {
    font-family: Verdana,Arial,sans-serif;
    font-size: .8em;
	float:right;
}

.ui-widget-content.success-dialog {
    background: #F9F9F9;
    color: #222222;
	
}

.ui-dialog.success-dialog {/*整體*/
    left: 0;
    outline: 0 none;
    padding: 20px;
    position: absolute;
    top: 0;
	box-shadow: 3px 3px 10px #999,-3px -3px 10px #999;
	background:hsla(240, 0%, 10%, 0.6) ;
	border-radius:10px;
	color:#FFF;
}

.ui-dialog.success-dialog .ui-dialog-content {  /*內文*/
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    overflow: auto;
    position: relative;
    padding: 0 !important;
    margin: 0;
	text-align:center;
	font-family: "微軟正黑體";
	font-size:2em;
	font-weight:bold;
	
}

.ui-dialog.success-dialog .ui-widget-header { /*title*/
display:none;
}

.ui-dialog.success-dialog .ui-dialog-titlebar {
    padding: 0.1em .5em;
    position: relative;
    font-size: 1em;
	
}
.ui-state-default, .ui-button{
	background:#CEEAEE;
	border: 1px solid #06F;
	color:#06F;
	font-weight: bold;
	margin-right:10px;
	margin-left:106px;
	font-family:"微軟正黑體";
	cursor:pointer;
	font-size:1.5em;	
}
.ui-button:hover{
	background:#09C;
	
}
.del{
	width:100%;
	height:auto;
	max-width:800px;
}

@media only screen and 
(min-width: 1080px) {
article,.wantanswer{
	font-size:1em;
}
article {
	line-height:1.5em;
}
.book{
	width:45px;
	height:45px;
	line-height:45px;
}
.ui-dialog.success-dialog .ui-dialog-content { 
	font-size:1.5em;
}
}