﻿/*
Theme Name:iPhoto
Theme URI:http://mufeng.me/wordpress-theme-iphoto.html
Description:iPhoto comes from a blog theme of Tumblr. It was re-writed as photo theme, which can be used in Wordpress. More features are added into this theme. iPhoto is compatible with many browsers, such as IE, Firefox, Chrome and Opera.
Version:3.0.0
Author:MuFeng
Author URI:http://mufeng.me

*/

/*reset*/
html, body, div, p, ol, ul, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, form, input, select, button, textarea, iframe, table, th, td {
	margin:0;
	padding:0
}
img {
	border:0 none
}
body {
	color:#666;
	font-size:13px;
	background-color:#dcdddf
}
body, input, blockquote, textarea {
	font-family:'Oswald', 'Helvetica Neue', 'Microsoft YaHei', Helvetica, Arial, Verdana, sans-serif
}
ol, ul, li {
	list-style:none
}
a:link, a:visited {
	color:#2970a6;
	text-decoration:none
}
a:hover {
	text-decoration:underline
}
.clear {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
	font-size:0
}
/*#wrapper*/
#wrapper {
	padding-top:40px
}
#container, #archives, #wrapper {
	margin:0 auto
}
#container, #header-box, #archives {
	width:1200px
}
@media(max-width:1100px) {
#container, #archives, #header-box {
width:900px
}
}
@media(min-width:1300px) {
#container, #archives, #header-box {
width:1200px
}
}
@media(min-width:1500px) {
#container, #archives, #header-box {
width:1500px
}
}
@media(min-width:1900px) {
#container, #archives, #header-box {
width:1800px
}
}
@media(min-width:2500px) {
#container, #archives, #header-box {
width:2400px
}
}
#container {
	position:relative;
	padding-bottom:60px;
	overflow:hidden
}
/*#header*/
#header {
	width:100%;
	font-size:13px;
	background-color:#666;
	border-bottom:1px solid #222;
	-moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	-webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	-o-box-shadow:0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	box-shadow:0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3)
}
#header-box {
	margin:0 auto;
	height:70px;
	position:relative;
	_z-index:999
}
#logo {
	float:left;
	margin:0 10px
}
#logo a {
	text-decoration:none;
	display:block;
	width:300px;
	height:50px
}
#nav, #nav ul {
	margin:0;
	padding:0;
	list-style-type:none;
	list-style-position:outside
}
#nav {
	float:left;
	line-height:22px
}
#nav li {
	float:left
}
#nav li.current-menu-item a {
	background-color:#555;
	border-left:1px solid #444;
	border-right:1px solid #444;
	box-shadow:1px 0 0 rgba(255, 255, 255, .06), inset 1px 0 0 rgba(255, 255, 255, .06);
	-moz-box-shadow:1px 0 0 rgba(255, 255, 255, .06), inset 1px 0 0 rgba(255, 255, 255, .06);
	-webkit-box-shadow:1px 0 0 rgba(255, 255, 255, .06), inset 1px 0 0 rgba(255, 255, 255, .06)
}
#nav li a:hover {
	background-color:#555
}
#nav li a {
	padding-left:20px;
	padding-right:17px;
	text-decoration:none;
	font-size:14px;
	display:block;
	float:left;
	height:50px;
	line-height:50px;
	margin-right:5px;
	color:#fff
}
#login, #logined {
	float:right
}
#login a {
	padding-left:20px;
	padding-right:17px;
	text-decoration:none;
	font-size:14px;
	display:block;
	float:left;
	height:50px;
	line-height:50px;
	margin-right:5px;
	color:#fff
}
#login a:hover {
	background-color:#555
}
#login-form {
	position:fixed;
	top:40%;
	left:50%;
	margin-left:-170px;
	margin-top:-50px;
	z-index:99999990;
	width:340px;
	height:210p;
	background-color:#f0f0f0;
	border:1px solid #b7bbc0;
	display:none;
	box-shadow:0 0 50px rgba(0, 0, 0, .4);
	-moz-box-shadow:0 0 50px rgba(0, 0, 0, .4);
	-webkit-box-shadow:0 0 50px rgba(0, 0, 0, .4);
	_position:absolute;
	_top:300px
}
#login-form #actions {
	padding:20px
}
#login-form p {
	padding-bottom:5px;
	font-weight:bold;
	color:#555
}
#login-form p a {
	float:right;
	_display:none
}
#login-form input[type="text"], #login-form input[type="password"] {
	width:290px;
	height:32px;
	padding:0 2px;
	margin-bottom:5px;
	border:1px solid #aaa;
}
#login-form input {
	_width:296px;
	_height:32px;
	_margin-bottom:5px
}
#actions input[type="submit"] {
	color:#fff;
	font-size:14px;
	width:300px;
	padding:8px 5px;
	margin:5px 0;
	background-color:#4d90fe;
	background-image:-webkit-linear-gradient(top, #4d90fe, #4787ed);
	background-image:-moz-linear-gradient(top, #4d90fe, #4787ed);
	background-image:-ms-linear-gradient(top, #4d90fe, #4787ed);
	background-image:-o-linear-gradient(top, #4d90fe, #4787ed);
	background-image:linear-gradient(top, #4d90fe, #4787ed);
	border:1px solid #3079ed;
	color:#fff;
	border-radius:2px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	cursor:pointer
}
#logined {
	position:relative;
	z-index:999
}
#info {
	display:block;
	line-height:30px;
	color:#fff;
	text-decoration:none;
	padding:10px 20px
}
#info:hover {
	background-color:#333
}
#info.active {
	background-color:#333
}
#info.active:hover, #info-content a:hover {
	background-color:#777
}
#logined img {
	width:30px;
	height:30px;
	display:block;
	float:left
}
#logined span {
	padding-left:5px
}
#info-content {
	position:absolute;
	top:50px;
	right:0;
	z-index:999;
	width:113px;
	background-color:#333;
	overflow:hidden
}
#info-content a {
	line-height:20px;
	padding:5px 5px 5px 21px;
	display:block;
	text-decoration:none;
	color:#fff
}
#info-content.hidden {
	display:none
}
#cate {
	display:none
}
/*.post-home*/
.post-home {
	float:left;
	width:285px;
	margin:0 6px 15px 7px;
	background:#fafafa;
	background:-webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, white), color-stop(100%, #fafafa));
	background:-webkit-linear-gradient(white, #fafafa);
	background:-moz-linear-gradient(white, #fafafa);
	background:-o-linear-gradient(white, #fafafa);
	background:-ms-linear-gradient(white, #fafafa);
	background:linear-gradient(white, #fafafa);
	border:1px solid #b7bbc0;
	color:#b3b3b3
}
.post-home::before, #post-home::before, .widget::before {
-moz-box-shadow:1px 2px 5px rgba(0, 0, 0, 0.15);
-webkit-box-shadow:1px 2px 5px rgba(0, 0, 0, 0.15);
-o-box-shadow:1px 2px 5px rgba(0, 0, 0, 0.15);
box-shadow:1px 2px 5px rgba(0, 0, 0, 0.15);
top:3px;
z-index:-1002
}
.post-home::after, .post-home::before, #post-home::after, #post-home::before, .widget::after, .widget::before {
background:-webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, white), color-stop(100%, #fafafa));
background:-webkit-linear-gradient(white, #fafafa);
background:-moz-linear-gradient(white, #fafafa);
background:-o-linear-gradient(white, #fafafa);
background:-ms-linear-gradient(white, #fafafa);
background:linear-gradient(white, #fafafa);
-moz-border-radius:5px;
-webkit-border-radius:5px;
-o-border-radius:5px;
-ms-border-radius:5px;
-khtml-border-radius:5px;
border-radius:5px;
border:1px solid #b7bbc0;
content:"";
display:block;
left:-1px;
height:100%;
position:absolute;
width:100%
}
.post-home::after, #post-home::after, .widget::after {
top:1px;
z-index:-1001
}
.post-thumbnail {
	overflow:hidden
}
.post-thumbnail a.img, .post-noimg, .video .post-thumbnail {
	width:285px;
	display:block
}
.post-thumbnail embed {
	width:285px;
	height:285px
}
.post-noimg a {
	font-size:16px;
	text-shadow:0 1px 0 white;
	padding:9px 5px;
	width:257px;
	border-width:0 0 1px 0
}
.post-noimg p {
	padding:10px 5px;
	border-top:1px solid #fff;
	border-top:1px solid rgba(255, 255, 255, 0.9)
}
.post-thumbnail .title {
	padding:10px 24px;
	font-size:16px
}
.post-thumbnail .title a {
	color:#2970a6
}
.post-thumbnail a.img {
	display:block;
	text-decoration:none
}
.post-thumbnail a.noimg {
	color:#666;
	text-decoration:none;
	padding:10px;
	display:block
}
.post-thumbnail a.img span, .post-thumbnail a.noimg span {
	position:absolute;
	top:0;
	left:0;
	right:0;
	padding:5px 10px;
	display:none;
	color:#fff;
	background-color:rgba(0, 0, 0, .3);
filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#4c000000', endColorstr='#4c000000');
	_width:265px
}
.post-info {
	height:35px;
	padding:10px 14px;
	text-align:center;
	text-shadow:0 1px 0 #fff;
	background:-webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #f7f9fa), color-stop(100%, #f0f0f0));
	background:-webkit-linear-gradient(#f7f9fa, #f0f0f0);
	background:-moz-linear-gradient(#f7f9fa, #f0f0f0);
	background:-o-linear-gradient(#f7f9fa, #f0f0f0);
	background:-ms-linear-gradient(#f7f9fa, #f0f0f0);
	background:linear-gradient(#f7f9fa, #f0f0f0);
	-moz-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);
	-o-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);
	box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);
	border-top:1px solid #cfd5d9
}
.post-info, .post-info a, .post-noimg a, .post-noimg p {
	color:#999
}
.post-info div {
	width:85px;
	height:35px;
	float:left
}
.post-info span {
	display:block;
	width:85px;
	height:20px;
	font-size:15px
}
.post-info .views {
	background-image:url("images/views.png");
	background-repeat:no-repeat;
	background-position:50% 100%
}
.post-info .comments {
	background-image:url("images/popup-link.png");
	background-repeat:no-repeat;
	background-position:center 95%
}
.post-info .wizylike_icon {
	width:16px;
	height:16px;
	margin:0 auto;
	display:block;
	background-image:url("images/like.png");
	background-repeat:no-repeat;
	background-position:center 0;
	cursor:pointer
}
.post-info .wizylike_icon.wizylike_loading {
	background-image:url("images/wizylike-loading.gif");
	background-position:center 0
}
.post-info .wizylike_icon.wizylike_loading:hover {
	background-position:center 0
}
.post-info .wizylike_icon:hover {
	text-decoration:none;
	background-position:center -16px
}
/*.single*/
.single #logo {
	margin:0 10px 0 0
}
.single #wrapper, .single #header-box {
	width:980px
}
#single-content {
	width:100%;
	float:left
}
#post-home {
	margin-right:260px
}
#post-home, .widget {
	position:relative;
	background:#f0f0f0;
	background:-webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #fff), color-stop(100%, #f0f0f0));
	background:-webkit-linear-gradient(#fff, #f0f0f0);
	background:-moz-linear-gradient(#fff, #f0f0f0);
	background:-o-linear-gradient(#fff, #f0f0f0);
	background:-ms-linear-gradient(#fff, #f0f0f0);
	background:linear-gradient(#fff, #f0f0f0);
	border:1px solid #b7bbc0
}
#post-header {
	padding:30px
}
#post-header img {
	width:48px;
	height:48px;
	display:block;
	float:left;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	-webkit-box-shadow:0 2px 4px rgba(0, 0, 0, .1);
	-moz-box-shadow:0 2px 4px rgba(0, 0, 0, .1);
	box-shadow:0 2px 4px rgba(0, 0, 0, .1);
	background-color:white;
	border:1px solid #CCC;
	padding:5px
}
#post-title {
	padding-top:5px;
	margin-left:70px
}
#post-title h1 {
	line-height:1.1;
	font-size:1.8em;
	font-weight:normal;
	margin-bottom:5px
}
#post-home .post-content {
	margin:0 30px 40px 30px;
	overflow:hidden
}
#post-home .post-content p {
	text-align:center;
	_width:658px;
}
#post-home .post-content p img {
	max-width:660px;
	height:auto;
_width:expression(this.width > 660? "660px" : this.width);
}
#sidebar {
	width:240px;
	float:left;
	font-size:14px;
	margin-left:-240px;
	clear:right
}
#sidebar-inner {
	width:240px
}
.widget {
	margin-bottom:20px;
	padding:20px
}
.widget h2 {
	font-weight:normal;
	padding:0 0 8px 0;
	font-size:14px
}
.stationary li {
	margin:0 0 5px 5px;
	background-color:#fff;
	background-color:rgba(255, 255, 255, 0.8)
}
.stationary li, .stationary li a, .stationary li span {
	float:left;
	width:60px;
	height:60px;
	overflow:hidden
}
.stationary li a {
	background-color:#333
}
.stationary li a:hover img {
	filter:alpha(opacity=50);
	-moz-opacity:.5;
	opacity:.5;
-webkit-transition:all .4s ease-out;
-moz-transition:all .4s ease-out;
-o-transition:all .4s ease-out
}
/*#comments*/
#comments {
	padding:30px;
	text-shadow:0 1px 0 white;
	background:-webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #f7f9fa), color-stop(100%, #f0f0f0));
	background:-webkit-linear-gradient(#f7f9fa, #f0f0f0);
	background:-moz-linear-gradient(#f7f9fa, #f0f0f0);
	background:-o-linear-gradient(#f7f9fa, #f0f0f0);
	background:-ms-linear-gradient(#f7f9fa, #f0f0f0);
	background:linear-gradient(#f7f9fa, #f0f0f0);
	-moz-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);
	-o-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);
	box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);
	border-top:1px solid #cfd5d9
}
#comments h2 {
	font-weight:normal;
	text-shadow:rgba(255, 255, 255, 0.398438) 0 1px 0
}
#comments h2 a {
	color:#888!important
}
#comments .comment-body {
	padding:5px 0;
	min-height:50px;
	padding-bottom:10px;
	margin-bottom:20px;
	border-bottom:1px solid #d7d7d7
}
#comments .comment-body p {
	overflow:hidden;
	word-wrap:break-word;
	margin:2px 0
}
#comments .comment-body p a {
	color:#999
}
#comments ol, #comments ul {
	list-style:none
}
#comments .commentlist {
	list-style:none
}
#comments .commentmeta {
	float:left;
	margin-right:1em
}
#comments .commentmeta img {
	border:1px solid #DDD;
	background-color:#fff
}
#comments .commentmetadata, #comments .reply a {
	float:right;
	color:#999
}
#comments .reply a:hover, #cancel-comment-reply a {
	color:#2970a6
}
#new_comm_1.commentlist {
	padding-top:0;
	border-top:0
}
#respond {
	margin-top:1em
}
#respond h3 {
	padding:5px 0;
	color:#666;
	font-size:14px
}
#respond p {
	margin-bottom:8px
}
#cancel-comment-reply {
	float:right
}
#cancel-comment-reply a {
	text-decoration:none;
	font-size:12px;
	font-weight:normal
}
#respond form input {
	font:12px;
	width:140px;
	padding:3px 0 3px 50px;
	margin-right:10px;
	border:1px solid #DDD;
	background-color:#fafafa
}
#respond form div label small {
	color:#777;
	font-size:14px;
	position:relative;
	left:-200px
}
*html #respond form div label small {
	position:relative;
	top:-5px
}
*+html #respond form div label small {
	position:relative;
	top:-5px
}
#commentform {
	overflow:hidden;
	zoom:1;
	position:relative
}
#commentform textarea {
	width:99%;
	height:125px;
	font-size:14px;
	color:#333;
	border:1px solid #DDD;
	background-color:#fafafa
}
#commentform #submit {
	color:#fff;
	font-size:13px;
	width:120px;
	padding:3px 5px;
	margin:2px 0 10px 0;
	background-color:#4d90fe;
	background-image:-webkit-linear-gradient(top, #4d90fe, #4787ed);
	background-image:-moz-linear-gradient(top, #4d90fe, #4787ed);
	background-image:-ms-linear-gradient(top, #4d90fe, #4787ed);
	background-image:-o-linear-gradient(top, #4d90fe, #4787ed);
	background-image:linear-gradient(top, #4d90fe, #4787ed);
	border:1px solid #3079ed;
	color:#fff;
	border-radius:2px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	cursor:pointer;
	margin-right:5px;
	margin-top:5px;
	float:right
}
#comments .children #commentform {
	width:99%
}
#comments .children {
	margin:5px 0 5px 50px
}
#comments .children li {
	border:0;
	padding-bottom:0;
	margin-bottom:0
}
#author_info input:focus, #comment:focus, #comment:hover, #author_info input:hover, #submit:hover {
	outline:0
}
#pagenavi {
	width:100px;
	margin:0 auto;
	text-align:center
}
#pagenavi a {
	color:#666
}
#pagenavi a:hover {
	color:#2970a6;
	text-decoration:underline
}
/*#footer*/
#footer {
	padding:60px 0;
	line-height:24px;
	text-align:center;
	text-shadow:0 1px 0 #fff
}
#container, #pagenavi, #submit, #footer, .navigation, .post-share, #post-related {
	user-select:none;
	-webkit-user-select:none;
	-moz-user-select:none
}
/*phZoom*/
#ph_lay, #ph_zoom, #login-lay {
	top:0;
	left:0;
	width:100%;
	display:none;
	z-index:9999999
}
#ph_lay, #login-lay {
	height:100%;
	position:fixed;
	_position:absolute;
_height:expression(body.offsetHeight)
}
#ph_zoom {
	position:absolute;
	overflow-x:hidden;
	overflow-y:auto
}
#ph_zoom span {
	margin:0;
	padding:0 9px;
	color:#fafafa;
	float:right
}
#ph_lay, #login-lay {
	background:#000
}
#ph_cap, #ph_nav {
	position:absolute;
	line-height:21px;
	font-size:14px;
	cursor:pointer
}
#ph_cap {
	padding:6px 0;
	background-color:#555;
	background-color:rgba(0, 0, 0, .3)
}
#ph_nav span {
	background-color:#555;
	background-color:rgba(0, 0, 0, .3)
}
#ph_nav span {
	padding:4px 10px
}
span#ph_prev {
	border-radius:0 2px 2px 0
}
span#ph_next {
	border-radius:2px 0 0 2px
}
#ph_nav #ph_prev, #ph_cap #ph_txt, #ph_cap #ph_pix {
	float:left
}
.zoomed {
	position:absolute;
	max-width:none;
	cursor:pointer;
	padding:0;
	margin:0;
	background-color:rgba(240, 240, 240, 0.8)
}
.phzoom {
	display:inline-block;
	position:relative
}
.ph_hover {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	display:block;
	background:url(images/zoom.png) no-repeat 50% 50%
}
.phzoom .loading {
	background-image:url(images/ajax-loader.gif)
}

.menu {
	float: left;
	margin-top: 30px;
	margin-left: 20px;
	color: #FFF;
	font-size: 14px;
	font-family: "微软雅黑";
}
.menu li { margin:0 10px;  float:left; display:inline;}
.menu li a:link,.menu li a:visited { color:#FFF}
.menu li a:hover { color:#000}

