/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
    padding-left: 8px;
    margin-bottom: 0;
    padding-bottom: 0;
    font-family: 'aktiv-grotesk-std', Helvetica, 'sans-serif';
    background: #523CE0; /* Old browsers */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#523CE0), color-stop(35%,#18D3DD), color-stop(100%,#D6F413)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #523CE0 0%, #18D3DD 35%, #D6F413 100%)); /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(top, #523CE0 0%, #18D3DD 35%, #D6F413 100%); /* FF3.6+ */
    background: -o-linear-gradient(top, #523CE0 0%, #18D3DD 35%, #D6F413 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #523CE0 0%, #18D3DD 35%, #D6F413 100%); /* IE10+ */
    background: linear-gradient(to bottom, #523CE0 0%, #18D3DD 35%, #D6F413 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#523CE0', endColorstr='#18D3DD',GradientType=1 ); /* IE6-9 */
}

.clear {
    clear:both;
}

hr {
    width:50%;
    border-top:3px #eee solid;
    margin:20px 0;
}

a {
    text-decoration: none;
}

blockquote {
    border-left:6px solid #eee;
    margin-left: 0;
    padding-left: 20px;
}

.wf-loading {
    visibility: hidden;
  }

.wf-active {
   visibility: visible;
  }

#wrapper {
    padding:25px 0 0 35px;
    background:#fff;
}

#header {
    margin-bottom: 40px;
    margin-left:23px;
}

    #logo {
        background: url(../polygonretina.gif) no-repeat center;
        background-size:contain;
        width:20px;
        height:18px;
        float:left;
    }

    #name {
        
        
    }

        #name a {
            color:#666;
            border-top: 3px solid #666;
            font-size: 1.1em;
            padding-top: 8px;
            margin:0px 13px 0 0;
            font-weight: 600;
            letter-spacing: -.02em;
            float:left;
        }

        #name a:hover {
            color:#444;
            border-top:3px solid #444;
        }

    #menu li {
        float:left;
        margin-left: 12px;
        margin-top: 15px;
        list-style: none;
        line-height: 1.2em;
    }

        #menu li a {
            color:#888;
            font-weight: 400;
            font-size: .8em;
            letter-spacing: 0em;
        }

        #menu li a:hover {
            color:#666;
        }

        #menu li a.active {
            color:#666;
            font-weight: 600;
            border-bottom: 2px solid #ccc;
            padding-bottom: 1px;
            letter-spacing: -0.02em;
        }

#aboutwrap {
    font-size: .75em;
    color:#777;
    padding-left:23px;
    letter-spacing: 0.02em;
    width:900px;
    font-weight: 300;
    margin-top: 20px;
}

#main {
    font-size: .8em;
    color:#777;
    padding-left:23px;
    letter-spacing: -0.01em;
    max-width:900px;
    width:90%;
}

.sectionheader {
    font-size: 1.3em;
    border:2px solid #666;
    margin-bottom: 30px;
    padding:3px 9px 4px 9px;
    color:#666;
    display:inline-block;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}

    #category .sectionheader {
        font-size: 1.1em;
    }

#featurepost {
    line-height:1.8em;
    border-top: 2px solid #ddd;
    padding: 10px 0 15px 0;
}

    #featurepost h2 {
        font-size: 2em;
        font-weight: 600;
        color:#666;
        max-width:530px;
        width: 85%;
        margin-bottom: 20px;
        line-height: 1.3em;
        margin-top:5px;
        letter-spacing: -0.03em;
    }

        #featurepost h2 a {
            color:#666;
        }

        #featurepost a:hover {
            color:#444;
        }

    #featurepost .date {
        margin-top:15px;
        color:#aaa;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .06em;
    }

    #featurepost .postimg {
        max-width:570px;
        width:95%;
        margin-bottom: 15px;
    }

    #featurepost img {
        margin-bottom: 15px;
        width:100%;
    }

    #featurepost .photoimg {
        max-width:800px;
        width:93%;
        margin-bottom: 15px;
    }

    #featurepost .text p {
    }

        #featurepost .text p img {
        }

        #featurepost .text h2 {
            font-size: 1.3em;
            margin-bottom: 16px;
        }

    #featurepost .text .half1 {
        width:47%;
        float:left;
        margin-right:6%;
    }

    #featurepost .text .half2 {
        width:47%;
        float:left;
    }

    #featurepost .text .footnotes {
        font-size: .9em;
        color:#aaa;
    }

    #featurepost .text .callout {
        font-size: 1.2em;
    }

    .writing .text p {
    }

    .photography .text {
        max-width:800px !important;
    }

    #featurepost .profilepic {
        width:250px !important;
        float:right;
        margin-left: 25px;
    }

    #featurepost .text {
        width: 96%;
        max-width: 600px;
        font-size: 1.2em;
        line-height: 1.7em;
        font-weight: 400;
        letter-spacing: 0.01em;
    }

        #featurepost .text a {
            font-weight: 700;
            letter-spacing: -0.01em;
            border-bottom: 1px solid #ccc;
            color:#777;
        }

        #featurepost .text a:hover {
            color:#555;
            border-bottom: 1px solid #aaa;
        }

.recentcontainer {
    border-top: 2px solid #ddd;
    padding-top:40px;
}

.youtube_embed {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	margin-top:25px;
}
.youtube_embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#recentposts {
}

    .recentpost, .recentphotoset {
        display:inline-block;
        vertical-align: top;
        width:26.6%;
        margin-right: 25px;
        margin-bottom: 45px;
    }

        .recentpost h2 a, .recentphotoset a {
            font-weight: 600;
            color:#888;
            margin-top: 7px;
            border:0;
            letter-spacing: -.02em;
        }

            .recentpost h2 a:hover, .recentphotoset a:hover {
                color:#666;
                border:0;
            }

        .recentphotoset h2 {
            font-weight: 600;
        }

        .recentpost .date {
            font-weight: 600;
            color:#aaa;
            font-size: 1em;
            text-transform: uppercase;
            letter-spacing: .06em;
        }

        .recentpost h2 {
            margin-top: 8px;
        }

        .recentpost a {
            color: #888;
            border-bottom: 2px solid #ddd;
            padding-bottom: 1px;
        }

        .recentpost a:hover {
            color:#666;
            border-bottom: 2px solid #bbb;
        }

        .recentpost .readmore a {
            font-weight: 500;
            font-size: .95em;
            color:#999;
        }

            .recentpost .readmore a:hover {
                color:#777;
            }

        .recentpost p, .recentphotoset p {
            font-size: 1.1em;
            line-height: 1.8em;
            color:#999;
            font-weight: 400;
            letter-spacing: .02em;
        }

        .recentphotoset img {
            width:92%;
        }

.projectwrap {
    margin-bottom:40px;
    margin-top:10px;
    width: 48%;
    float: left;
}

	.gutter {
		width:4%;
		float:left;
		height:1px;
	}

    #featurepost .projectwrap h4 {
    	margin-top:20px;
    	margin-bottom: 0px;
    }

    #featurepost .projectwrap h4 a {
        font-size:1.7em;
        letter-spacing: -0.04em;
        font-weight: 600;
        text-decoration: none;
        border:0;
        color:#333;
    }

    	#featurepost .projectwrap h4 a:hover {
    		color:#111;
    		border-bottom:3px solid #333;
    	}

    #featurepost .projectwrap img {
        margin-bottom:0;
        border:0;
    }

        #featurepost .projectwrap .img_whole {
            width:100%;
            margin-top:10px;
            border:0;
        }

    #featurepost .projectwrap p {
    	margin:0;
    	margin-top: 7px;
    	font-size:1.2em;
    	line-height: 1.8em;
    	letter-spacing: .01em;
    	color:#999;
    }

    #featurepost .projectwrap .project_tag {
        border:2px solid #ccc;
        font-size:.8em;
        padding:0 6px;
        border-radius:5px;
        color:#aaa;
        display:inline-block;
        line-height: 2.1em;
        margin-bottom: 10px;
        margin-right:3px;
    }

.projectdetail {
	margin-top:20px;
}

	.projectdetail .intro {

	}

		.projectdetail .intro .left, .projectdetail .writeup .left {
			float:left;
			width:27%;
			min-height: 1px;
		}

			#featurepost .projectdetail .intro .left h2 {
				font-size: 28px;
				color:#444444;
				font-weight: bold;
				margin:0;
			}

			#featurepost .projectdetail .intro .left h3 {
				font-size: 18px;
				color:#B0B0B0;
				margin-top:5px;
				font-weight: normal;
			}

		.projectdetail .intro .mid, .projectdetail .writeup .mid {
			float:left;
			width:45%;
			margin-left: 5%;
			margin-right: 5%;
		}

			.projectdetail .intro .mid p {
				font-size: 20px;
				color: #737373;
				line-height: 30px;
				margin-top:0;
			}

            .projectdetail .intro .mid li {
                font-size: 16px;
                color: #737373;
                line-height: 28px;
                margin-top:0;
            }

		.projectdetail .intro .right, .projectdetail .writeup .right {
			float:left;
			width:18%;
			min-height: 1px;
		}

			#featurepost .projectdetail .intro .right p {
				margin:0;
				font-size: 12px;
				color:#B0B0B0;
				text-transform: uppercase;
				text-align: right;
				letter-spacing: .1em;
			}

	.projectdetail .previews {
		margin-top:20px;
	}

	.projectdetail .writeup .mid h3 {
		font-size: 24px;
		color:#444;
		line-height: 36px;
		letter-spacing: -.03em;
    	margin-bottom: 15px;
	}

	.projectdetail .writeup .mid h4 {
		font-weight: normal;
		font-size: 22px;
		margin-bottom: 22px;
	}

	.projectdetail .writeup .mid .hr {
			width:70px;
			height:12px;
			display: block;
			background: url('http://img.williampeng.com/img/port/hr.png') no-repeat;
			background-size: 100%;
			margin:35px auto;
		}

	.projectdetail .writeup .mid p.lead {
		font-size:20px;
		line-height: 30px;
	}

	.projectdetail .writeup .mid li {
		margin-bottom: 10px;
	}

	#featurepost .projectdetail .writeup .left img.sprout_ico {
		width:60px;
		margin-top: 32px;
		float:right;
	}

    #featurepost .projectdetail .writeup .left img.sprout_icono {
        width:50%;
        float:right;
    }

    #featurepost .projectdetail .writeup .left img.sprout_textlogo {
        width:75%;
        margin-top: 30px;
        float:right;
    }

	.projectdetail .writeup .mid p, .projectdetail .writeup .mid li {
		font-size: 16px;
		margin-top:0;
		line-height: 28px;
	}

	.projectdetail .intro .mid a, .projectdetail .writeup .mid a, #featurepost .projectwrap a {
            font-weight: 700;
            letter-spacing: -0.01em;
            border-bottom: 1px solid #ccc;
            color:#555;
        }

        .projectdetail .intro .mid a:hover, .projectdetail .writeup .mid a:hover, #featurepost .projectwrap a:hover {
            color:#555;
            border-bottom: 1px solid #aaa;
        }

	.projectdetail .writeup .mid blockquote.lead {
		border-left: 6px solid #eee;
	    margin-left: 0;
	    padding-left: 20px;
	    font-size: 20px;
	    line-height: 30px;
	    font-weight: 400;
	    font-style: oblique;
	}

	.projectdetail .writeup .mid blockquote {
		border-left: 6px solid #eee;
	    margin-left: 0;
	    padding-left: 20px;
	    font-size: 16px;
	    line-height: 28px;
	    font-weight: 400;
	    font-style: oblique;
	}

	.projectdetail .writeup .mid pre {
		background: #777;
	    color: #fff;
	    padding: 15px 20px;
	    width: 85%;
	}

	.button_wrapper {
		float:right;
		margin-top: 80px;
	}

	#featurepost .projectdetail .writeup .left img {
		width:100%;
	}

	#featurepost .projectdetail .writeup .mid img {
		width:100%;
		margin-top:20px;
	}

	#featurepost .projectdetail .writeup .mid .pullquote {
		font-size: 26px;
	    margin: 20px 0 0 0;
	    text-align: center;
	    display: block;
	    letter-spacing: -.03em;
	    line-height: 36px;
	    color:#444;
	}


#category {
    font-size: 1.2em;
    border-top: 2px solid #ddd;
    padding-top:30px;
}

    #category .tc-tag a.tc-link {
        font-weight: 500;
        float:left;
        width:180px;
        margin-bottom: 10px;
        font-size: 1.2em;
        color:#888;
    }

    #category .tc-tag a:hover {
        color:#666;
    }

    #tagCloud span.tc-tag {
        padding:0 !important;
    }

#footer {
    border-top: 2px solid #ddd;
    margin-top:25px;
    padding:20px 0px;
    color:#999;
    font-weight: 500;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 800px) {
    .recentpost {
        display:inline-block;
        vertical-align: top;
        width:92%%;
        margin-right: 25px;
        margin-bottom: 45px;
    }

    .recentphotoset {
        width:92%;
    }

    #featurepost .text .half1, #featurepost .text .half2 {
        width:100%;
        margin-right: 0;
    }
}

@media only screen and (max-width: 600px) {
    #wrapper {
        padding-left: 0.5em;
    }

    #featurepost .profilepic {
        width:100% !important;
        float:left;
        margin-left: 0;
    }

    #menu {
        display:block;
        clear:left;
        padding-left:0;
    }

    #menu li:first-child {
        margin-left:0;
    }

    #featurepost .text .projectwrap img {
        width:45%;
    }

    #name a {
        margin-top:15px;
    }

    #featurepost .projectdetail .intro .left, #featurepost .projectdetail .writeup .left {
			float:left;
			width:100%;
			min-height: 1px;
	}

	.projectdetail .intro .mid, .projectdetail .writeup .mid {
			float:left;
			width:100%;
			margin-left: 0;
			margin-right: 0;
	}

	.projectdetail .intro .right, .projectdetail .writeup .right {
		width:100%;
		float:left;
	}

	#featurepost .projectdetail .intro .right p {
		float: left;
    	margin-right: 28px;
    	text-align: left;
	}

	.projectdetail {
		margin-right: 18px;
	}

	.button_wrapper {
		margin-top: 30px;
		float:left;
	}

	#featurepost .projectdetail .writeup .left img.sprout_ico {
		width:60px;
		margin-top: 32px;
		float:left;
		margin-bottom: 0;
	}

    #featurepost .projectdetail .writeup .left img.sprout_icono {
        width:30%;
        float:left;
        margin-bottom:0;
        margin-top:15px;
    }

    #featurepost .projectdetail .writeup .left img.sprout_textlogo {
        width:45%;
        margin-top: 20px;
        margin-bottom:0;
        float:left;
    }
}

#featurepost .text .projectwrap p, #featurepost .text .projectwrap h4, #featurepost .text .projectwrap .img_whole {
    width:100%;
}

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}