/* reset (eric meyer) */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  
 
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
    display:block;
}
 
ul { list-style:none; }
 
blockquote, q { quotes:none; }
 
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
 
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
 
ins { background-color:#ff9; color:#000; text-decoration:none; }
 
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
 
del { text-decoration: line-through; }
 
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
 
table { border-collapse:collapse; border-spacing:0; }
 
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
 
input, select { vertical-align:middle; }
/* /reset */

/* general */
body {
    font-family: "Chivo", Arial, "Helvetica Neue", Helvetica, sans-serif;
    line-height: 1;
    color: #000;
    background: #ccc url(/_i/bg.gif) center center repeat;
    margin-bottom: 10px;
}

#page {
    width: 100%;
    max-width: 960px;
    min-width: 320px;
    margin: 0 auto;
    padding-top: 80px;
}

div.hr {
    clear: both;
    height: 1px;
    overflow: hidden;
    background-color: #ccc;
    margin: 20px 0;
}

hr {
    display: none;
}
/* /general */

/* clouds */
#clouds {
    z-index: -1;
    background-image: url(/_i/clouds.png);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 530px;
    display: block;
    -webkit-animation-name: float-clouds;
    -webkit-animation-duration: 200s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: float-clouds;
    -moz-animation-duration: 200s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
}

@-webkit-keyframes float-clouds {
	0% {
		background-position: 2320px 0;
	}
	100% {
		background-position: 0 0;
	}
}
/* /clouds */

/* sharing */
aside {
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}

aside .st_plusone_button {
    position: relative;
    top: 1px;
}

aside .st_fblike_hcount {
    position: relative;
    top: 3px;
}
/* /sharing */

/* header */
header img {
    width: 100%;
}

header h1 {
    display: none;
}

header h2 {
    text-align: center;
    font: 28px/32px "Chivo", "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
    text-transform: lowercase;
}
/* /header */

/* sections generic */
section {
    font-size: 14px;
    line-height: 160%;
}

section h1 {
    font: 20px "Gentium Book Basic", Georgia, Palatino, "Palatino Linotype", Times, "Times New Roman", serif;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

section p {
    text-align: justify;
}
/* /sections generic */

/* contact */
section#contact {
    float: right;
    width: 36.5%;
}

section#contact img {
    border: solid 5px #fff;
    float: left;
    margin-bottom: 10px;
    margin-right: 5.5%;
    width: 21.5%;
}

section#contact dl {
    float: left;
}

section#contact h2,
section#contact dt,
section#contact .hide {
    display: none;
}

section#contact span#email {
    display: none;
}

section#contact a {
    color: #333;
}

section#contact a:hover {
    color: #900;
}

section#contact ul {
    clear: both;
}

section#contact li {
    width: 32%;
    float: left;
    margin-bottom: 10px;
}

section#contact li.for-print {
    display: none;
}

section#contact li a {
    text-decoration: none;
    display: block;
    background: transparent url(/_i/social-icons.gif) 0 -20px no-repeat;
    line-height: 24px;
    text-indent: 30px;
}

section#contact li a span {
    display: none;
}

section#contact li a#link-twitter { background-position: 0 -66px; }
section#contact li a#link-github { background-position: 0 -110px; }
section#contact li a#link-google { background-position: 0 -154px; }
section#contact li a#link-facebook { background-position: 0 -198px; }
/* /contact */

/* about me */
section#about-me {
    float: left;
    width: 61.5%;
    border-right: solid 1px #ccc;
    margin-bottom: 20px;
}

section#about-me p {
    width: 96%;
}
/* /about me */

/* errors */
section#error-info {
    float: left;
    width: 61.5%;
    margin-bottom: 20px;
}

section#error-info p {
    width: 96%;
}
/* /errors */

/* skills */
section#skills {
    clear: both;
    float: left;
    width: 50%;
    border-right: solid 1px #ccc;
    margin-bottom: 20px;
}

section#skills ul {
    width: 95.5%;
}

section#skills li {
    display: inline;
}
/* /skills */

/* clients */
section#clients {
    float: right;
    width: 47.5%;
}

section#clients ul {
    width: 95.5%;
}

section#clients li {
    display: inline;
}
/* /clients */

/* footer */
footer p {
    font-size: 14px;
    line-height: 160%;
    margin-top: -16px;
    text-align: right;
}
/* /footer */

/* x-large */
@media all and (max-width:960px) {
    header {
        padding: 0 10px;
    }
}

@media all and (max-width:960px) {
    div.hr {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media all and (max-width:960px) {
    section#contact {
        margin-right: 10px;
        width: 35.5%;
    }
}

@media all and (max-width:960px) {
    section#about-me {
        margin-left: 10px;
        width: 60.5%;
    }
}

@media all and (max-width:960px) {
    section#skills {
        margin-left: 10px;
        width: 48.5%;
    }
}

@media all and (max-width:960px) {
    section#clients {
        margin-right: 10px;
        width: 47.5%;
    }
}

@media all and (max-width:960px) {
    footer p {
        padding-right: 10px;
    }
}
/* /x-large */

/* large */
@media all and (max-width:800px) and (min-width:600px) {
    #page {
        padding-top: 12px;
    }
}

@media all and (max-width:800px) and (min-width:600px) { 
    header h2 {
        font-size: 26px;
        line-height: 30px;
    }
}

@media all and (max-width:800px) and (min-width:600px) {
    section#contact li {
        width: 100%;
        float: left;
        margin-bottom: 6px;
    }
}
/* /large */

/* medium */
@media all and (max-width:760px) and (min-width:600px) {
    section#contact img {
        display: none;
    }
}

@media all and (max-width:760px) and (min-width:600px) {
    section#contact dl {
        margin-bottom: 10px;
    }
}
/* /medium */

/* small */
@media all and (max-width:680px) and (min-width:600px) {
    header h2 {
        font-size: 22px;
        line-height: 26px;
    }
}
/* /small */

/* x-small */
@media all and (max-width:600px) {
    div.hr {
        margin: 10px;
    }
}

@media all and (max-width:600px) {
    header h2 {
        font-size: 18px;
        line-height: 22px;
    }
}

@media all and (max-width:600px) {
    section#contact {
        float: none;
        width: 100%;
        margin: 0 10px;
    }
}

@media all and (max-width:600px) {
    section#contact img {
        width: 75px;
        margin-right: 10px;
    }
}

@media all and (max-width:600px) {
    section#contact ul {
        float: right;
        width: 40%;
        clear: none;
        padding-bottom: 10px;
        margin-right: 10px;
    }
}

@media all and (max-width:600px) {
    section#contact li {
        margin-bottom: 6px;
        width: 50%;
    }
}

@media all and (max-width:600px) {
    section#about-me {
        float: none;
        width: auto;
        border: none;
        padding-top: 10px;
        clear: both;
        border-top: solid 1px #ccc;
    }
}

@media all and (max-width:600px) {
    section#skills {
        float: none;
        width: auto;
        border: none;
        margin: 0 10px;
        padding-top: 10px;
        clear: both;
    }
}

@media all and (max-width:600px) {
    section#skills ul {
        width: auto;
        padding-bottom: 10px;
    }
}

@media all and (max-width:600px) {
    section#clients {
        float: none;
        width: auto;
        border: none;
        margin: 0 10px;
        padding-top: 10px;
        clear: both;
        border-top: solid 1px #ccc;
    }
}

@media all and (max-width:600px) {
    section#clients ul {
        width: auto;
    }
}

@media all and (max-width:600px) {
    footer p {
        margin-top:-10px;
    }
}
/* /x-small */

/* xx-small */
@media all and (max-width:510px) {
    section#contact ul {
        float: none;
        width: 100%;
        clear: both;
        padding-bottom: 10px;
    }
}

@media all and (max-width:510px) {
    header h2 {
        line-height: 18px;
    }
}
/* /xx-small */
