/*
Theme Name: imEZ
Theme URI:http://sofree.cc
Description: HTML5 + CSS3
Version: v1.0
Author: s9011514
Author URI: http://sofree.cc
Tags: light, two-columns, right-sidebar, html5, css3
*/
* {margin:0 auto}
a {color:#06C;text-decoration:none;outline:medium none}
a:hover {color:#1384B0;text-decoration:underline}
img {border:0}
small {font-size:12px;color:#999}
textarea {border:1px solid #CFE0EA;font-size:16px;margin-bottom:10px}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
button, input, select, textarea {margin: 0;}
blockquote ul{list-style: square;margin:0;}
h1, h2, h3, h4, h5, h6 {line-height: 1.5em;font-family:"微軟正黑體","Microsoft JhengHei","Times New Roman",Times,serif}
pre {
border: 1px solid #CCC;
color:#333;
display:block;
font:13px/120% Courier New;
max-height:200px;
overflow:auto;
padding:10px 10px 10px 21px;
width:93%;
letter-spacing: 0.07em;
margin: 15px 0;
text-align: justify;
}
p, ul, ol, dl, blockquote, table, article, article footer, nav {
font: 15px/1.7em "Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Arial,sans-serif;
letter-spacing: 0.07em;margin: 15px 0;text-align: justify;}
.assistive-text{
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}
.fix{display:block; clear:both;}

body {
	background: #EAEAE1;
	color:#444;
	font:13px "Trebuchet MS","Lucida Grande","Lucida Sans",Arial,Times New Roman, Times
}

/*header*/
#wrap{
	margin-bottom: 35px;
    margin-top: 35px;
	background: #FFF;
	width: 980px;
	padding:10px;
}
#header{
	height: 120px;
	width: 100%;
}
#header h1{
	font-family: "微軟正黑體","Microsoft JhengHei","Lucida Grande","Arial","Arial Narrow";
	font-size: 3.7em;
	margin: 0 0 0 30px;
}
#header h1 a{
	color: #3A4146;	
}
#header h1 a:hover{
	text-decoration: none;
	color:#1384B0;
}

#header p{
	margin-top: 10px;
	padding-left: 30px;
}

/**  Menu **/
#access div {
     margin: 0 7.6%;
}
#access a.assistive-text:active,
#access a.assistive-text:focus {
     background: #eee;
     border-bottom: 1px solid #ddd;
     color: #1982d1;
     clip: auto !important;
     font-size: 12px;
     position: absolute;
     text-decoration: underline;
     top: 0;
     left: 7.6%;
}
#access {
     background: #222; /* Show a solid color for older browsers */
     background: -moz-linear-gradient(#252525, #0a0a0a);
     background: -o-linear-gradient(#252525, #0a0a0a);
     background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */
     background: -webkit-linear-gradient(#252525, #0a0a0a);
     -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
     -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
     box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
     clear: both;
     display: block;
     float: left;
     margin: 0 auto 6px;
     width: 100%;
}
#access ul {
     font-size: 13px;
     list-style: none;
     margin: 0 0 0 -0.8125em;
     padding-left: 0;
}
#access li {
     float: left;
     position: relative;
}
#access a {
	 color: #eee;
     display: block;
     line-height: 3.333em;
     padding: 0 1.2125em;
     text-decoration: none;
}
#access ul ul {
     -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
     -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
     box-shadow: 0 3px 3px rgba(0,0,0,0.2);
     display: none;
     float: left;
     margin: 0;
     position: absolute;
     top: 3.333em;
     left: 0;
     width: 188px;
     z-index: 99999;
}
#access ul ul ul {
     left: 100%;
     top: 0;
}
#access ul ul a {
     background: #f9f9f9;
     border-bottom: 1px dotted #ddd;
     color: #444;
     font-size: 13px;
     font-weight: normal;
     height: auto;
     line-height: 1.4em;
     padding: 10px 10px;
     width: 168px;
}
#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
     background: #efefef;
}
#access li:hover > a,
#access a:focus {
     background: #f9f9f9; /* Show a solid color for older browsers */
     background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
     background: -o-linear-gradient(#f9f9f9, #e5e5e5);
     background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
     background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
     color: #373737;
}
#access ul li:hover > ul {
     display: block;
}
#access .current_page_item > a,
#access .current_page_ancestor > a {
     font-weight: bold;
}

/*Main*/
#content {
	overflow: hidden;
	padding: 20px 0;
	width: 980px
}
#main article{
	margin-top:0;
}
#main{
	float: left;
	padding: 0 0 0 15px;
	width: 730px
}

#main header h1.archive {
	border-bottom: 1px solid #E3E3E3;
	border-left: 6px solid #E3E3E3;
	padding-left: 10px;
	margin-bottom:10px;
}
#main article img{
	max-width:700px;
	height:auto;
	}

#main article  header p.meta{
	font-size: 12px;
	padding-bottom: 10px;
	color: #777;
}
#main article  footer p.meta {
	border-bottom: 1px dashed #C7C7C7;
	font-size: 12px;
	padding-bottom: 10px;
	color: #777;
}
#main article h1{
	font-size: 1.8em;
}
#main article h1 a{
	color:#333;
	font-size:24px
}
#main h1 a:hover{
	text-decoration: none;
	color:#1384B0;
}
.tags{
	font-size:12px;
}
p.more{
	text-align:right;
}
span.author{color:#486E8B}
span.date{color: #FF3B90}
span.category a{color:#6CB327}


/** pagination **/
.pagination{
	margin-top: 10px;
	line-height:36px;
	text-align:center;
	text-decoration:none;
	width:100%;
	overflow:hidden;
	clear: both;
}
.pagination .prev{
	margin-right:5px
}
.pagination a{
	padding:3px 8px;
	text-decoration:none;
	color:#555;
	border:1px solid #CACACA
}
.pagination a.current{
	padding: 3px 8px;
	font-weight:bold;
	text-decoration: none;
	border: 1px solid #CCC;
	background:#FFF;
	color: #454545;
}
.pagination .current,
.pagination a:hover{
	background: #EAEAE1;
    border: 1px solid #CCC;
    padding: 3px 8px;
}

/** SideBar **/

#sidebar {
	float: right;
	letter-spacing: 1px;
	line-height: 145%;
	margin-right: 15px;
	overflow: hidden;
	text-align: left;
	width: 200px;
}
#sidebar h3{
	font:15px 'Arvo',"Microsoft JhengHei",simhei,sans-serif;
	padding: 3px 0 3px 10px;
	text-align: left;
	border-bottom: 1px solid #E3E3E3;
	color: #000
}

#sidebar .widget {
	line-height: 1.7em;
	margin: 0 0 20px;
	overflow: hidden
}
#sidebar ul {
	list-style:square;
	padding:0 0 0 20px;
	margin-top: 0;
}
#sidebar li {
	padding: 5px 0 0;
	font-size: 13px;
}
#sidebar .textwidget{
	padding: 10px 10px 0;
}

/** Footer **/
#footer {
	border-top: 1px solid #CCC;
	clear: both;
	height: 50px;
	margin: 0 auto;
	width: 100%
}
#footer a:hover{
	color:#000
}
#footer a{
	color:#777
}
#copyright {
	color:#777;
	font:12px Verdana;
	text-align:center;
	padding-top:15px
}
/** 404 **/
.err_category{
 float: left;
 width:300px
}
.err_month{
 float: left;
}

span.title,span.officalweb,span.teach,span.description,span.downloadlink,span.note{
	font-weight:bold
}

span.downloadlink{
	color:red;
}

/** Socials **/
.socials{
    float: right;
    margin-right: 25px;
    margin-top: -80px;
}
.socials a{
	margin: 0 0 0 8px;
}
.socials a:first-child{
 margin-left: 0;
}

.socials img{
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 5px 5px 5px 5px;
    padding: 3px;
}

/** AD **/
.topad{
    clear: both;
    height: 90px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    padding-top: 10px;
    text-align: center;
    width: 100%;
}
.single-top{
    margin: 0 auto;
    text-align: center;
}

.singlecode{display:table;border-collapse:separate}
.grow{display:table-row}
.gad{display:table-cell;padding-left: 45px;}

*+html .singlecode,
*+html .grow{display: block;overflow: hidden;}
*+html .gad{width:336px;float:left;padding:0;display: block;}