/*

    website:      http://foo.ca
    built by:     Andy Chung
    contact:      me@andychung.ca
    powered by:   Stacey
    
    filename:     style.css
    note:         master CSS file 

*/

* {
    margin: 0;
    padding: 0;
    
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
}

html {
}

body {
    font-family: "Tahoma", Verdana, Sans-serif;
    font-size: 11px;
    line-height: 18px;
    color: #222;
    overflow-y: scroll;

}

body.white {
    background-color: #fff;
}

body.yellow {
    background-color: #ffff99;
}

body.green {
    background-color: #ccffcc;
}

#progress {
    background-image: url("../../images/load.gif");
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
}

section {
    display: block;
}

hr {
    border: 0;
    width: 940px;
    height: 1px;
    color: #222;
    background-color: #222;
    position: absolute;
    margin: 0 10px;
}

a {
    color: #222;
    text-decoration: underline;
    outline: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    color: red;
}

a.selected {
    background: #ffffd9;
}

h1, h2, h3, h4 {
    font-size: 11px;
    font-weight: normal;
}

#grid {
    width: 960px;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    margin: 0 0 0 -480px;
    background-image: url("../../images/grid.png");
    z-index: 100;
}

#about {
    display: block;
    width: 100%;
}

#about .bio {
    margin: 0 10px;
    font-size: 36px;
    padding: 36px 0 0;
    line-height: 54px;
    font-family: "Georgia", Times, Sans-serif;
}

#wrapper {
    width: 960px;
    margin: 0 auto;
    position: relative;
}

header {
    display: block;
    padding: 36px 0 0;
    margin: 0 10px;
}

header h1 {
    height: 0;
    visibility: hidden;
}

header nav a {
    text-decoration: none;
}

header nav a:hover {
    text-decoration: underline;
}

header span.info {
    margin: 0 10px 0 0;
}

.email:after {
    content: 'hello@missellenlee.com';
}

nav {
    display: block;
}

nav li {
    display: inline-block;
    margin: 0 10px 0 0;
}

#content {
    display: block;
}

ul.projects li {
    min-width: 140px;
    display: inline-block;
    float: left;
    margin: 0 10px;
    padding: 18px 0;
}

ul.projects li img {
    display: block;
}

ul.projects li a img {
    border: none;
    outline: none;    
}

ul.projects li h2 a {
    text-decoration: none;
}

ul.projects li:hover h2 a {
    text-decoration: underline;
}

.date {
    font-style: italic;
    display: block;
}

/* thumnail sizes */

ul.projects li img {
    width: 140px;
    height: 180px;
}

ul.projects li.large img {
    width: 300px;
    height: 432px;
}

/* project page */

.title {
    margin: 0 10px;
    padding: 36px 0 18px;
    display: block;
}

.title h2 {
    font-weight: bold;
    display: inline-block;
}

#gallery {
    margin: 0 10px;
    padding: 0;
    position: relative;
    overflow: hidden;
}

#gallery #image-wrapper {
    cursor: pointer;
    overflow: hidden;
    width: 940px;
}

.description {
    margin: 0 10px;
    padding: 36px 0;
    display: block;
}

.description .text {
    float: left;
    display: inline-block;
    width: 620px;
    

-webkit-column-count: 2;
       -moz-column-count: 2;
         -o-column-count: 2;
            column-count: 2;
            
    -webkit-column-gap: 20px;
       -moz-column-gap: 20px;
         -o-column-gap: 20px;
            column-gap: 20px;

}

.description .text p {
	margin-top: 18px;
}

.description .text p:first-child {
	margin-top: 0; 
}

.description #pageNav,
.description #galleryNav {
    width: 300px;
    float: right;
    text-align: right;
    display: inline-block;
    clear: right;
}

p#gallery-count {
    display: inline-block;
}

#gallery-navigation {
    display: inline-block;
    padding: 0 0 18px;
}

.description #pageNav p.next:after {
    content: " >";
}

.description #pageNav p.previous:after {
    content: " <";
}

/* footer */

footer {
    margin: 0 10px;
    padding: 36px 0;
    display: block;
}

/* clearfix */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

/* gallery stuff (old) */

div#media {
    clear: both;
}

div.media {
    margin: 0px 0px 10px
}

div.description div#images {
}

div#media img {
    display: block;
}

div#project-navigation {
    margin: 0px 0px 0px 20px
}

div#project-navigation p,
div#gallery-navigation p {
    margin: 0px 0px 1px
}

div#image-wrapper div#image-holder {
    width: 100000000px
}

div#image-wrapper div#image-holder div.image {
    float: left;
    width: 940px;
}

body p#project-count {
    display: none
}

body div#media div.image {
    display: none
}

body div#media div.image:first-child {
    display: block
}