html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}

body {
	line-height: 1;
	background: #fff;
	background: transparent url(../image/body_bg.png) repeat fixed;
	overflow: auto;
	font: 14px 'Helvetica Neue',Helvetica,"Hiragino Sans GB","Hiragino Sans GB W3",Arial,sans-serif;
	color: #494949;
}

/* Common */
h1, h2, h3, h4, h5, h6 {
	margin: 0.5em 0;
	font-weight: normal;
	-webkit-font-smoothing: antialiased;
}
a {
	color: #A0410D;
	text-decoration: none;
}
a:active, a:hover {
	color: #ff4b33;
}
.button {
	border-radius: 2px;
	border: 1px #ddd solid;
	min-width: 80px;
	height: 32px;
	padding: 0px 12px;
	display: inline-block;
	text-align: center;
	font-weight: bold;
	color: #666;
	text-shadow: 0 1px 1px white;
	line-height: 32px;
	cursor: pointer;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(2%, #FCFCFC), color-stop(4%,#F2F2F2), color-stop(100%,#EEE));
}
.button:hover {
	background: -webkit-gradient(linear, left top, left bottom, color-stop(2%, #FCFCFC), color-stop(4%,#F8F8F8), color-stop(100%,#F2f2f2));
}
.button:active {
	-webkit-box-shadow: inset #ccc 0 0 5px;
	-moz-box-shadow: inset #ccc 0 0 5px;
	box-shadow: inset #ccc 0 0 5px;
}
.title {
	font-size: 30px;
	line-height: 30px;
	letter-spacing: -0.5px;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
	font-family: "Abel", "Helvetica Neue", Helvetica, Arial, Sans-serif;
}
.title:after, .big_sep {
	display: block;
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
	height: 1px;
	width: 100%;
	content: " ";
	margin-top: 16px;
}
.sep {
	background: transparent url(../image/background-stripes.png) repeat-x 0 0;
	height: 5px;
}

/* Header */

#nav {
	height: 35px;
	background: transparent url(../image/nav_bg.png) repeat-x 0 0;
}
#nav_wrapper {
	height: 50px;
	background: transparent url(../image/body_dark_bg.png) repeat-x;
}
#nav .inner {
	width: 960px;
	margin: 0 auto;
}
#nav .right {
	float: right;
	list-style: none;
	font-size: 11px;
	margin-top: 10px;
}
#nav .right li {
	display: block;
	float: left;
	color: #ccc;
}
#nav .right a {
	display: block;
	color: #ccc;
	padding: 0 10px;
}
#nav .right a:hover {
	color: white;
}
#nav .right li:last-child{
    visibility:hidden;
}
#social {
	right: 0;
	top: 0;
	margin-top: -15px;
	height: 16px;
	padding: 5px 10px 5px 5px;
	position: absolute;
	background: transparent url(../image/body_dark_bg.png) repeat-x;
	border-radius: 3px;
}
#social a {
	margin-left: 5px;
}
#header_inner {
	width: 880px;
	margin: 0 auto;
	position: relative;
	padding: 0;
	text-align: center;
}
#title {
	color: #ddd;
	text-shadow: 0 1px 1px black;
	font-size: 22px;
	font-family: "Abel", "Helvetica Neue", Helvetica, Arial, Sans-serif;
	float: left;
	height: 32px;
	line-height: 32px;
	margin: 0;
}
#title a {
	color: #ddd;
}
#title a:hover {
	color: #fff;
}
#description {
	padding: 3px 6px;
	display: block;
	float: left;
	height: 32px;
	line-height: 32px;
	font-size: 11px;
	font-family: "Abel", "Helvetica Neue", Helvetica, Arial, Sans-serif;
	color: #ddd;
	margin-left: 5px;
}
#content {
	width: 960px;
	margin: 40px auto 0 auto;
}
#article_list {
	list-style-type: none;
}
#article_list .list_item:last-child .sep{
	display: none;
}
.article {
	font-size: 16px;
	padding: 15px;
	background: #F2F2F2;
	margin: 40px auto;
	width: 660px;
	border: 1px white solid;
	-webkit-box-shadow: 0 1px 10px #A8B1B9;
	-moz-box-shadow: 0 1px 10px #A8B1B9;
	box-shadow: 0 1px 10px #58B1B9;
	text-shadow: 0 1px 1px white;
}

.article_title {
	margin: 0;
	text-align: center;
}
.article .title a {
	color: #444;
	-moz-transition: color 0.2s ease-in;
	-webkit-transition: color 0.2s ease-in;
}
.article .title a:hover {
	color: #A0410D;
	text-shadow: 0 0 1px rgba(200, 200, 200, 0.8);
}
.article_meta {
	height: 20px;
	line-height: 20px;
	padding: 10px 0;
	font-size: 10px;
	color: #777;
	text-transform: uppercase;
	margin-bottom: 15px;
}
.article_meta > span {
	font-family: Georgia, serif;
	font-style: italic;
	text-transform: lowercase;
	color: #AAA;
}
.article .inner, .tag_box .inner {
	background-color: #F8F8F8;
	border: 1px #F2F3F3 solid;
	padding: 20px;
}
.article .tag:hover {
	color: #ff4b33
}
.article .text {
	margin: 20px 0px;
	line-height: 1.5em;
}
.article strong {
	background: #FEF6A8;
	color: #533B18;
	border: 1px #fcfc91 solid;
	padding: 1px 3px;
	font-weight: normal;
}
.article p {
	margin: 0 0 24px 0;
	line-height: 1.5em;
}
.article .text h1, .article .text h2, .article .text h3, .article .text h4, .article .text h5, .article .text h6 {
	font-weight: bold;
	margin: 0.75em 0;
}
.article .text h1 {
	font-size: 1.8em;
}
.article .text h2 {
	font-size: 1.6em;
}
.article .text h3 {
	font-size: 1.4em;
}
.article .text h4 {
	font-size: 1.2em;
}
.article .text h5 {
	font-size: 1.0em;
}
.article .text h6 {
	font-size: 1.0em;
}
.article .text blockquote {
	margin: 10px 0;
	padding: 5px 0 5px 40px;
	border-left: 5px #7d7d7d solid;
}
.article .text ul, .article .text ol {
	margin: 10px 0 10px 20px;
}
.article .text li {
	margin-bottom: 5px;
}
.article .text img {
	text-align: center;
	display: block;
	margin: 0 auto;
	border: 5px white solid;
	-webkit-box-shadow: 0 1px 3px #333;
	-moz-box-shadow: 0 1px 3px #333;
	box-shadow: 0 1px 3px #333;
	max-width: 570px;
}
.article pre {
	margin: 10px -37px;
	background: #222;
	color: white;
	font: 12px Monaco,monospace;
	overflow-x: auto;
	padding: 20px 37px;
	white-space: pre;
	word-wrap: normal;
	text-shadow: 0 -1px 1px #000;
	box-shadow: inset 0 0 10px #000;
}
.article code {
	color: #000;
	background: #f8f8ff;
	padding: 0.5em;
	font-size: 14px;
	font-family: 'Monaco', 'monospace';
	text-shadow: none;
}
.article pre code{
	padding: 0;
	background: #222;
	color: white;
}
.article .share {
	float: right;
}

.article .gist-syntax {
	font-size: 80% !important;
}

.article .gist-syntax pre {
	text-shadow: none;
	box-shadow: none;
}

/* Nav */

.v_nav {
	position: fixed;
	display: block;
	background: transparent url(../image/body_dark_bg.png);
	outline: none;
	color: #6D6E71;
	font-size: 20px;
	font-weight: bold;
	display: block;
	height: 64px;
	width: 64px;
	text-indent: -9999px;
}
.v_nav .icon {
	background: transparent url(../image/go_bg_64x64.png) no-repeat 0 0;
	height: 64px;
	width: 64px;
	display: block;
	content: " ";
	float: left;
}
.v_nav:hover {
	color: #A0410D
}
@-webkit-keyframes ani_go_loading {
	from {
		-webkit-transform: rotate(0deg);
	}
	to {
		-webkit-transform: rotate(360deg);
	}
}
#prev {
	top: 50%;
	left: 0;
	padding: 10px 10px 10px 20px;
	margin-top: -100px;
	border-bottom-right-radius: 42px;
	border-top-right-radius: 42px;
}
#prev .icon{
	background-position: 0 0;
}
#prev:hover .icon{
	background-position: 0 -64px;
}
#next {
	top: 50%;
	right: 0;
	padding: 10px 20px 10px 10px;
	margin-top: -100px;
	border-bottom-left-radius: 42px;
	border-top-left-radius: 42px;
}
#next .icon{
	background-position: 0 -128px;
}
#next:hover .icon{
	background-position: 0 -192px;
}
#next .loading, #prev .loading {
	background-position: 0 -256px !important;
	-webkit-animation-name: ani_go_loading;
	-webkit-animation-duration: 1s;
	-webkit-animation-iteration-count:  infinite;
	-webkit-animation-timing-function: linear;
}
/* Footer */
#footer_wrapper {
    padding-top: 15px;
    background: transparent url(../image/body_dark_bg.png) repeat-x;
}

#footer {
    background: #333 url(../image/mask.png) 0 0 repeat;
    padding: 30px 0 0 0;
    -webkit-box-shadow: inset 0 -1px 3px #111;
    -moz-box-shadow: inset 0 -1px 3px #111;
    box-shadow: inset 0 -1px 3px #111;
    text-shadow: 0 1px 1px #111;
    color: #ddd;
}

#footer_inner {
    margin: 0 auto;
    width: 960px;
}

#footer .copyright {
    clear: both;
    padding: 80px 0 20px 0;
    text-align: center;
    text-transform: uppercase;
    font-size: 11px;
}

#footer .copyright span {
    margin: 0 5px;
}

#footer a {
    color: #A0927F;
}

#footer a:hover {
    color: #ddd;
}

#footer_inner ul {
    list-style:none;
}
#footer_inner li {
    display: block;
    float: left;
    width: 130px;
    height: 20px;
    margin: 0 20px 10px 0;
}
#footer_inner li:after {
    display: block;
    content: " ";
    border-top: 1px #2d2d2d solid;
    border-bottom: 1px #4e4e4e solid;
}
#footer_inner li a {
    height: 20px;
    line-height: 20px;
    display: block;
    width: 120px;
    font-size: 11px;
    padding-left: 10px;
}

#footer_inner > .col {
    width: 300px;
    float: left;
    margin: 0 0 0 20px;
}

#footer_inner h2 {
    font-size: 14px;
    font-weight: bold;
    font-family: "Abel", "Helvetica Neue", Helvetica, Arial, Sans-serif;
    padding-left: 10px;
}

#footer .tag_cloud {
    line-height: 2em;
}

#footer .tag {
    padding: 2px 3px;
    margin: 2px 3px;
    font-size: 11px;
}
::selection {
	background: #ccc;
	color: #333;
}

@media (max-width: 980px) {
    #nav {
        height: 170px;
    	background-size:170px;
    }
    #nav_wrapper {
    	height: 100px;
    }
    #nav .inner {
    	width: 360px;
    }
    #header_inner {
    	width: 240px;
    }
    #content {
        width: 640px;
    }
    .article {
        width: 600px;
    }
    #footer_inner {
        width: 700px;
    }
}

@media (max-width: 820px) {
    #content {
        width: 620px;
        margin: 0px auto 0 auto;
    }
    .article {
        width: 620px;
        padding: 0px;
        margin: 40px auto;
    }
    #footer_inner {
        width: 620px;
    }
    #footer_inner li {
        width: 140px;
        margin: 0 30px 10px 0;
    }
    #footer_inner li a {
        width: 140px;
    }
    #footer_inner > .col {
        width: 620px;
    }
}

@media (max-width: 640px) {
    #content {
        width: 540px;
    }
    .article {
        width: 540px;
    }
    #footer_inner {
        width: 540px;
    }
    #footer_inner li {
        width: 140px;
        margin: 0 30px 10px 0;
    }
    #footer_inner li a {
        width: 140px;
    }
    #footer_inner > .col {
        width: 540px;
    }
}

@media (max-width: 480px) {
    #content {
        width: 420px;
    }
    .article {
        width: 420px;
    }
    #footer_inner {
        width: 420px;
    }
    #footer_inner li {
        width: 140px;
        margin: 0 30px 10px 0;
    }
    #footer_inner li a {
        width: 140px;
    }
    #footer_inner > .col {
        width: 420px;
    }
    .v_nav {
        height: 16px;
        width: 16px;
    }
    .v_nav .icon {
        background: transparent url(../image/go_bg_16x16.png) no-repeat 0 0;
        height: 16px;
        width: 16px;
    }
}

@media (max-width: 400px) {
    #content {
        width: 320px;
        margin: 0px auto 0 auto;
    }
    .article {
        width: 320px;
        padding: 0px;
        margin: 40px auto;
    }
    #footer_inner {
        width: 320px;
    }
    #footer_inner li {
        width: 120px;
        margin: 0 30px 10px 0;
    }
    #footer_inner li a {
        width: 120px;
    }
    #footer_inner > .col {
        width: 320px;
    }
}

@media (max-width: 320px) {
    #nav {
        height: 260px;
    	background-size:260px;
    }
    #nav_wrapper {
        height: 140px;
    }
    #nav .inner {
    	width: 260px;
    }
    #header_inner {
    	width: 300px;
    }
    #content {
        width: 260px;
    }
    .article {
        width: 260px;
    }
    #footer_inner {
        width: 260px;
    }
    #footer_inner li {
        width: 100px;
        margin: 0 30px 10px 0;
    }
    #footer_inner li a {
        width: 90px;
    }
    #footer_inner > .col {
        width: 260px;
    }
}
