@import url("reset.css");

body {
    color: #333;
    font-family: ff-meta-web-pro, sans-serif;
    font-size: 14px;
    line-height: 28px;
    text-shadow: 1px 1px 0 #fff;
}

em {
    color: #999;
}

strong {
    font-weight: 700;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

section {
    clear: both;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 40px;
}

h3 {
    text-transform: uppercase;
    font-weight: 700;
}

h3:after {
    content: " \00BB";
}

#hello h2 {
    color: #000;
    font-family: proxima-nova-soft, sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 42px;
    text-align: center;
    padding: 25px 0;
    border-top: 1px dashed #eaeaea;
    border-bottom: 1px dashed #eaeaea;
    text-shadow: 0 1px 0 #fff;
}

#hello h2 > span,
#hello h2 > span.color-f00 {
    color: #f00;
}

#hello h2 > span.color-ff8000 {
    color: #ff8000;
}

#hello h2 > span.color-ff0 {
    color: #ff0;
}

#hello h2 > span.color-008000 {
    color: #008000;
}

#hello h2 > span.color-00f {
    color: #00f;
}

#hello h2 > span.color-000080 {
    color: #000080;
}

#hello h2 > span.color-9400d3 {
    color: #9400d3;
}

p {
    padding-bottom: 10px;
}

a {
    border-bottom: 1px solid #f5f5f5;
    color: #9ac736;
    -webkit-transition: border-bottom .75s ease;
    cursor: pointer;
}

a:hover {
    border-bottom: 1px solid #9ac736;
}

a:visited {
    border-bottom: 1px dashed #f5f5f5;
}

a:active {
    position: relative;
    top: 1px;
}

#wrapper {
    padding: 50px 0 220px;
    margin: auto;
    width: 990px;
}

header {
    float: left;
    padding: 0 0 25px 10px;
}

header > h1 {
    display: inline-block;
    width: 78px;
    height: 68px;
    background: url("../images/logotype.png") no-repeat;
    text-indent: -9999px;
    margin-right: 20px;
}

nav {
    float: right;
    padding: 50px 10px 25px 0;
    font-size: 13px;
}

nav > ul > li {
    display: inline-block;
    padding-left: 10px;
}

nav > ul > li.current {
    color: #777;
}

#contact-small {
    text-align: center;
    padding: 15px 0;
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
    border-bottom: 1px solid #f5f5f5;
}

#contact-small li {
    display: inline-block;
    height: 32px;
    padding-left: 40px;
    line-height: 30px;
}

#contact-small li.email {
    padding-right: 20px;
    border-right: 1px solid #f5f5f5;
    margin-right: 15px;
    background-image: url("../images/sprites.png");
    background-repeat: no-repeat;
    background-position: 0 -32px;
}

#contact-small li.googletalk {
    background-image: url("../images/sprites.png");
    background-repeat: no-repeat;
    background-position: 0 0;
}

#about a {
    color: #333;
    border-bottom: 1px solid #ccc;
}

#about a:hover {
    border-bottom: 1px solid #000;
}

#about,
#portfolio,
#contact {
    line-height: 23px;
    text-align: justify;
    padding: 40px 10px;
    border-bottom: 1px solid #f5f5f5;
}

#portfolio {
    padding: 40px 10px 0;
    position: relative;
}

#portfolio h2 {
    float: left;
}

#portfolio .works-nav {
    font-size: 12px;
    padding-top: 5px;
    float: right;
    width: 100px;
    text-align: right;
    padding-right: 25px;
}

#portfolio .works-nav li {
    display: inline-block;
}

#portfolio .work-details {
    width: 300px;
    float: left;
    text-align: right;
    padding: 40px 0 0;
}

ul#works {
    width: 970px;
    height: 300px;
    max-height: 300px;
}

ul#works > li {
    width: 970px;
}

ul#works ul.tags {
    padding-bottom: 10px;
}

ul#works ul.tags li {
    display: inline-block;
    font-size: 11px;
    background-color: #c5dcee;
    padding: 0 5px;
    color: #29608b;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, .5);
    border-radius: 2px;
}

#portfolio a.online {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.27), 0 1px 0 rgba(0, 0, 0, 0.16);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.27), 0 1px 0 rgba(0, 0, 0, 0.16);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.27), 0 1px 0 rgba(0, 0, 0, 0.16);
    border: 1px solid #20325b;
    padding: 5px 10px;
    font-size: 11px;
    color: #fff;
    border-radius: 3px;
    text-shadow: 0 1px 0 black;
    background: -moz-linear-gradient(270deg, #566fa5 0%, #233871 100%) #566fa5;
    background: -webkit-gradient(linear, left top, left bottom, from(#566fa5), to(#233871)) #566fa5;
}

#portfolio a.online:hover {
    border: 1px solid #000;
}

#portfolio .work-image {
    width: 635px;
    height: 300px;
    float: right;
}

footer {
    padding: 15px 0;
    text-align: center;
    color: #888;
    font-size: 13px;
    clear: both;
}

footer > ul > li {
    display: inline-block;
    position: relative;
}

footer > ul > li > a > span {
    opacity: 0;
}

footer > ul > li.twitter > a {
    background-image: url("../images/sprites.png");
    background-repeat: no-repeat;
    background-position: 0 -126px;
    display: block;
    width: 48px;
    height: 33px;
    border-bottom: none;
}

footer > ul > li.dribbble {
    padding-left: 10px;
}

footer > ul > li.dribbble > a {
    background-image: url("../images/sprites.png");
    background-repeat: no-repeat;
    background-position: 0 -166px;
    display: block;
    width: 34px;
    height: 33px;
    border-bottom: none;
}

form {
    width: 635px;
    float: left;
}

.contact-info {
    width: 300px;
    padding: 8px 0 0;
    float: right;
}

input[type="text"],
input[type="email"],
input[type="url"] {
    font-family: ff-meta-web-pro, sans-serif;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 #f5f5f5;
    padding: 7px;
    outline: none;
    width: 299px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    -webkit-transition: border .75s ease;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="url"]:hover,
textarea:hover {
    border: 1px solid #999;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus {
    border: 1px solid #444;
}

textarea {
    margin-top: 10px;
    font-family: ff-meta-web-pro, sans-serif;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 #f5f5f5;
    padding: 7px;
    outline: none;
    width: 618px;
    height: 80px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    -webkit-transition: border .75s ease;
}

textarea:focus {
    border: 1px solid #444;
}

span.reply {
    color: #999;
    padding: 9px 0 0 30px;
    float: left;
    background-image: url("../images/sprites.png");
    background-position: 0 -64px;
}

input[type="submit"] {
    border: 1px solid #598420;
    color: #fff;
    padding: 7px 40px;
    border-radius: 3px;
    cursor: pointer;
    float: right;
    font: bold 16px ff-meta-web-pro, sans-serif;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.31);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.31);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.31);
    background: #9ac753;
    background: -moz-linear-gradient(270deg, #9ac753 0%, #7eae31 100%) #9ac75e;
    background: -webkit-gradient(linear, left top, left bottom, from(#9ac753), to(#7eae31)) #9ac75e;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

input[type="submit"]:hover {
    color: #fff;
    background-color: #292929;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#292929), to(black));
    background-image: -moz-linear-gradient(270deg, #292929 0%, black 100%);
    border: 1px solid #000;
}

input[type="submit"]:active {
    position: relative;
    top: 1px;
}

input.error,
textarea.error,
input.error:focus,
textarea.error:focus {
    border: 1px solid #f00;
    box-shadow: 0 0 5px #fb0000;
    -webkit-box-shadow: 0 0 5px #fb0000;
    -moz-box-shadow: 0 0 5px #fb0000;
}

#success p {
    border-radius: 5px;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
    padding: 10px;
    background: -moz-linear-gradient(270deg, #329832 0%, #008000 100%) #008000;
    background: -webkit-gradient(linear, left top, left bottom, from(#329832), to(#008000)) #008000;
    border: 1px solid #008000;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
