body, div, h1, p, ul, li {
    margin:0;
    padding:0;
}

body {
    font-size: 90%;
    font-family: Helvetica, Verdana, sans-serif;
}

#container {
    margin: 20px auto 0 auto;
    width: 95%;
    max-width: 974px;
}

#header {
    overflow: hidden;
}

a.btn {
    display: block;
    color: white;
    text-decoration: none;
    text-shadow: 0 -2px #494949;
    background: url(../images/btnLeft.png) top left no-repeat;
    padding-left: 10px;
}
.btn.back {
    background: url(../images/btnBackLeft.png) top left no-repeat;
    padding-left: 18px;
}

.btn span {
    display: block;
    height: 30px;
    background: url(../images/btnRight.png) top right no-repeat;
    line-height: 30px;
    padding-right: 10px;
}

#projects {
    overflow: hidden;
    padding: 26px 0;
}
#projects li {
    float: left;
    margin-right: 28px;
    display: block;
    background-color: #ccc;
    height: 178px;
    width: 304px;
    margin-bottom: 28px;
    border-radius: 6px;
    border: 1px solid transparent;
    background-repeat: no-repeat;
    background-position: -1px -1px;
}
#projects li:hover {
    border-color: #979797;
}
#projects li:nth-child(3n) {
    margin-right: 0;
}
#projects a {
    display: block;
    height: 180px;
    width: 306px;
}
#projects img {
    margin-left: -1px;
}

#back-button {
    float: left;
}
#about-button {
    float: right;
}

#feature {
    margin-top: 30px;
    min-height: 510px;
    background-color: #f1f1f1;
    overflow: hidden;
    /* http://border-radius.com/ */
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
#feature .scrollable {
    position: relative;
    width: 100%;
    height: 100%;
}
.scrollable .items {
    width: 20000em;
    position: absolute;
}
.scrollable .items img {
    width: 974px;
    float: left;
}

#feature-nav {
    background-color: #c1c1c1;
    height: 20px;
    padding: 15px 15px 5px 15px;
    
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
#feature-nav .left {
    float: left;
}
#feature-nav .right {
    float: right;
}

#details {
    position: relative;
    padding-bottom: 60px;
    font-size: .9em;
    margin: 30px 15px 0 15px;
    color: #666666;
    padding-right: 50%;
}
#details .links {
    width: 30%;
    position: absolute;
    right: 0;
    top: 35px;
}
.links li {
    margin-bottom: 10px;
    list-style-type: none;
}
.links a {
    text-decoration: none;
    color: #3399cc;
    font-weight: bold;
    padding-left: 5px;
}
.links li:before {
    content: "\00BB ";
}
.links a:hover {
    text-decoration: underline;
}

h1 {
    color: #666666;
    font-weight: bold;
    font-size: 1.1em;
}
#details h1 {
    margin-bottom: 20px;
}
#details p {
    line-height: 1.6em;
    margin: 10px 0;
}

footer {
    color: #999;
    position: relative;
    margin-bottom: 50px;
    font-size: .8em;
}
footer ul {
    position: absolute;
    top: 0;
    right: 0;
}
footer li {
    list-style-type: none;
    float: left;
    margin: 0 3px;
}
footer ul a {
    display: block;
    width: 16px;
    height: 16px;
    background: url(../images/icnSocialSprite.png) 0 0 no-repeat;
}
a.cardcloud { background-position: 0 0; }
a.cardcloud:hover { background-position: 0 -16px; }
a.facebook { background-position: -22px 0; }
a.facebook:hover { background-position: -22px -16px; }
a.twitter { background-position: -44px 0; }
a.twitter:hover { background-position: -44px -16px; }
a.linkedin { background-position: -65px 0; }
a.linkedin:hover { background-position: -65px -16px; }

#more {
    margin: 30px 0;
    text-align: center;
}
#more .button {
    width: 300px;
}
.button {
    display:block;
    margin: 0 auto;
	border-radius: 2px;
	border: 1px solid #888;
	text-decoration: none;
	background-color: #bbb;
	-webkit-box-shadow: 0 1px 0 rgba(40, 40, 40, .2);
	box-shadow: 0 1px 0 rgba(40, 40, 40, .2);
	color: white;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, .6);
	font-size: 1.1em;
	overflow:hidden;
	font-weight: bold;
}
.button.color {
	background-color: rgb(94, 151, 214);
	border-color: rgb(41, 111, 194);
}
.button span {
	display: block;
	padding: 6px 0;
	border-top: 1px solid rgba(255, 255, 255, .4);
}
.button:before {
	border-top: 1px solid white;
}

dl {
    margin-bottom: 40px;
}
dt {
    font-weight: bold;
    margin-top: 10px;
}

@media screen and (max-width: 500px) {
    #details {
        padding-right: 0;
    }
    #details .links {
        position: relative;
    }
    #details ul {
        margin-left: 1.5em;
    }    
}