/* backgrounds */
.background-asfalt { background: url(../img/bg-asfalt.png) #000; }
.background-brick { background: url(../img/bg-brick.png) #000; }
.background-burried { background: url(../img/bg-burried.png) #000; }
.background-carbon { background: url(../img/bg-carbon.png) #000; }
.background-cloth { background: url(../img/bg-cloth.png) #000; }
.background-darkdenim3 { background: url(../img/bg-darkdenim3.png) #000; }
.background-denim { background: url(../img/bg-denim.png) #000; }
.background-dirty { background: url(../img/bg-dirty.png) #000; }
.background-dotted { background: url(../img/bg-dotted.png) #000; }
.background-dvsup { background: url(../img/bg-dvsup.png) #000; }
.background-fabric { background: url(../img/bg-fabric.png) #000; }
.background-hexabunp { background: url(../img/bg-hexabunp.png) #000; }
.background-icongrpip { background: url(../img/bg-icongrpip.png) #000; }
.background-illusion { background: url(../img/bg-illusion.png) #000; }
.background-linen { background: url(../img/bg-linen.png) #000; }
.background-mamba { background: url(../img/bg-mamba.png) #000; }
.background-matter { background: url(../img/bg-matter.png) #000; }
.background-metal { background: url(../img/bg-metal.png) #000; }
.background-nami { background: url(../img/bg-nami.png) #000; }
.background-navy { background: url(../img/bg-navy.png) #000; }
.background-noisy { background: url(../img/bg-noisy.png) #000; }
.background-office { background: url(../img/bg-office.png) #000; }
.background-outlets { background: url(../img/bg-outlets.png) #000; }
.background-rebel { background: url(../img/bg-rebel.png) #000; }
.background-skewed { background: url(../img/bg-skewed.png) #000; }
.background-suit { background: url(../img/bg-suit.png) #000; }
.background-tasky { background: url(../img/bg-tasky.png) #000; }
.background-tire { background: url(../img/bg-tire.png) #000; }
.background-tr24 { background: url(../img/bg-tr24.png) #000; }
.background-twill { background: url(../img/bg-twill.png) #000; }
.background-txture { background: url(../img/bg-txture.png) #000; }
.background-wall { background: url(../img/bg-wall.png) #000; }
.background-tile { background: url(../img/bg-tile.png) #000; }

/* common */
::selection { background: #555; color: #fff; text-shadow: none; }
::-moz-selection { background: #555; color: #fff; text-shadow: none; }
body { background: url(../img/background.png) #eee; }
.container { max-width: 960px; }
em { font-style: normal; }
a, em { color: #ff7400 !important; }
a:hover { color: #cc5500; text-decoration: underline; }
a.thumbnail { display: inline-block; position: relative; border-color: #999 !important; }
.thumbnail-zoom { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(../img/thumbnail-zoom.png) center center no-repeat #000; }
hr { border: 0; height: 10px; background: url(../img/stripes.png); }

/* headings */
h1 { display: block; height: 75px; margin: 60px 0 20px 0; font-family: 'Open Sans Condensed'; font-weight: 300; font-size: 42px; line-height: 44px; text-shadow: #fff 1px 1px 0; color: #333; background: url(../img/heading-frame.png) center center no-repeat; }
h1 .left, h1 .image, h1 .right { display: block; text-align: center; }
h1 .left, h1 .right { margin-top: 15px; }
h1 .left { width: 430px; float: left; }
h1 .image { width: 100px; height: 75px; float: left; background-position: center top; background-repeat: no-repeat; }
h1 .right { width: 430px; float: right; }
h1 .image.about-me { background-image: url(../img/heading-about-me.png); }
h1 .image.skills { background-image: url(../img/heading-skills.png); }
h1 .image.projects { background-image: url(../img/heading-projects.png); }
h1 .image.contacts { background-image: url(../img/heading-contacts.png); }
h2, h3, h4, h5, h6 { font-family: 'Open Sans Condensed'; color: #777; text-shadow: #fff 1px 1px 0; margin: 20px 0 18px 0; }
h2.alt, h3.alt, h4.alt, h5.alt, h6.alt { color: #333; }
h2 a, h3 a, h4 a, h5 a, h6 a { text-decoration: none !important; display: inline-block; margin-bottom: -1px; }
h2 { font-weight: 300; font-size: 35px; line-height: 27px; margin: 19px 0 14px 0; }
h3 { font-weight: 300; font-size: 27px; line-height: 22px; margin: 18px 0 16px 0; }
h4 { font-weight: 400; font-size: 21px; line-height: 18px; margin: 18px 0 17px 0; }
h5 { font-weight: 400; font-size: 18px; line-height: 15px; margin: 19px 0 18px 0; }
h6 { font-weight: 400; font-size: 14px; line-height: 12px; }

/* scroll to top */
.scroll-to-top { display: block; display: none; position: fixed; bottom: 16px; right: 16px; }
.scroll-to-top .box { display: block; padding: 10px; background: #000; }
.scroll-to-top .icon { display: block; }

/* header */
header { text-align: center; margin-bottom: 20px; }
header .logo { margin: 20px auto; width: 273px; height: 175px; }
header.fixed { margin-bottom: 120px; }
header.fixed nav { background: inherit; width: 100%; position: fixed; top: 0; z-index: 9999; }

/* main navigation */
.navigation { width: 460px; height: 100px; font-size: 0; margin: 0px auto; }
.navigation li { display: block; float: left; width: 100px; height: 100px; }
.navigation li.separator { width: 20px; height: 100px; background: url(../img/nav-separator.png) center center no-repeat; }
.navigation a { display: block; width: 100px; height: 100px; text-decoration: none; background: url(../img/nav-background.png) 0 100px no-repeat; }
.navigation .image { display: block; width: 100px; height: 60px; background-position: center 10px; background-repeat: repeat-y; }
.navigation .image.about-me { background-image: url(../img/nav-about-me.png); }
.navigation .image.skills { background-image: url(../img/nav-skills.png); }
.navigation .image.projects { background-image: url(../img/nav-projects.png); }
.navigation .image.resume { background-image: url(../img/nav-resume.png); }
.navigation .image.contacts { background-image: url(../img/nav-contacts.png); }
.navigation .title { display: block; width: 100px; height: 21px; margin-top: 10px; margin: auto; font-family: 'Archivo Narrow'; font-size: 14px; line-height: 20px; color: #a6a6a6; text-shadow: rgba(0, 0, 0, 0.5) 1px 1px 0; background: url(../img/nav-title.png) center center no-repeat; }
.navigation .active a, .navigation a:hover { background-position: 0 0; }
.navigation .active .image, .navigation a:hover .image { background-position: center -55px; }
.navigation .active .title, .navigation a:hover .title { margin-top: 0; color: #fff; }

/* featured */
.featured { width: 303px; height: 224px; background: url(../img/featured-curly.png) right center no-repeat; }
.featured h3 { margin: 16px 0 16px 0; }
.featured .thumbnail img { width: 238px; height: 134px; }

/* slogan */
.slogan { margin-top: 21px; }

/* gallery */
.gallery { width: 100%; overflow: hidden; }
.gallery > ul { margin: 0; list-style: none; width: 9280px; }
.gallery > ul > li { width: 176px; height: 104px; display: block; float: left; margin-right: 20px; }
.gallery .info { overflow: auto; }
.gallery .info h3 { margin-top: 0; }
.gallery .thumbnail { width: 166px; height: 94px; }
.gallery.open > ul > li { width: 960px; height: 276px; }
.gallery.open .thumbnail { width: 470px; height: 266px; }
.gallery .info { float: left; width: 0; height: 100%; overflow: auto; }
.gallery .thumbnail { float: left; }
.gallery-nav a { background: #000; border: 0; width: 34px; height: 20px; padding: 5px 0; margin-top: 1px; float: left; z-index: 9000; }
.gallery-nav a.minimize.collapsed { width: 0; height: 20px; overflow: hidden; }
.gallery-nav a .icon { margin: 2px 0 0 10px; }
.gallery.open .info { width: 460px; margin-left: 20px; }
.gallery.open .thumbnail-zoom { background-image: url(../img/thumbnail-unzoom.png); }

/* skills */
.skill { padding: 3px 5px 3px 3px; margin-bottom: 20px; background: url(../img/stripes.png); }
.skill .wrapper { width: 0%; border: #ccc 1px solid; }
.skill .wrapper .tech { white-space: nowrap; display: block; color: #999; text-shadow: #fff 1px 1px 0; font-size: 13px; line-height: 20px; height: 20px; padding: 0 5px; text-decoration: none; border: #fff 1px solid; text-align: right; background-image: url(../img/skill-bar.png); background-color: #f3f3f3; cursor: default; }
.skill .wrapper .tech:hover { color: #fff; text-shadow: #000 1px 1px 0; background-color: #555; }

/* about me */
.code-head { height: 431px; background: url(../img/code-head.png) center center no-repeat; }

/* work experience */
.work-experience { position: relative; border-bottom: rgba(0, 0, 0, 0.1) 4px solid; }
.work-experience .lines { position: absolute; top: 0; left: 0; }
.work-experience .lines .line { width: 0; position: absolute; top: 0; left: 0; border-right: rgba(0, 0, 0, 0.1) 1px solid; }
.work-experience .dots { position: absolute; bottom: -7px; left: -4px; }
.work-experience .dots .dot { width: 10px; height: 10px; position: absolute; bottom: 0; left: 0; background: url(../img/work-circle.png) no-repeat; cursor: pointer; }
.work-experience .layer { position: relative; height: 53px; }
.work-experience .layer .work { position: absolute; top: 0; left: 0; height: 40px; padding-top: 5px; text-align: center; background: url(../img/work-left.png) left bottom no-repeat, url(../img/work-right.png) right bottom no-repeat, url(../img/work-background.png) center bottom repeat-x; }
ul.work { margin: 0; list-style: none; border-top: #ddd 1px solid; border-bottom: #ddd 1px solid; }
ul.work li { display: inline-block; background: url(../img/work-arrow.png) right 0 no-repeat; padding-right: 46px; margin-right: 20px; margin-bottom: 10px; }
ul.work li:last-child { padding-right: 0; background: transparent; }
ul.work li h4 { margin: 17px 0 12px 0; }

/* icon groups */
.group-icon { list-style: none; margin: 0; }
.group-icon li { margin-top: 15px; }
.group-icon li:first-child { margin-top: 0; }
.group-icon img { height: 40px; float: left; margin-right: 10px; }
.group-icon strong { color: #999; display: block; }

/* monochrome */
.monochrome { margin: 0; list-style: none; }
.monochrome li { float: left; height: 40px; overflow: hidden; }
.monochrome li a img { margin-top: -40px; }
.monochrome li a:hover img { margin-top: 0; }

.textfield, .textarea { width: 310px; }

/* forms */
select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input { margin: 0; background: #f8f8f8; border: 0; padding: 5px 7px; }
textarea { resize: none; }
.border-stripes { display: inline-block; padding: 5px; background: url(../img/stripes.png); }
.button { background: #000; border: 0; color: #fff; line-height: 40px; padding: 0 15px; }
.button:active { color: #888; }

/* footer */
footer { margin-top: 20px; padding: 20px 0; color: #888; text-shadow: rgba(0, 0, 0, 0.75) 1px 1px 0; }
footer .container { background: url(../img/footer-ornament.png) center center no-repeat; }
footer ul { margin: 0; list-style: none; margin-top: -2px; }
footer ul li:first-child { line-height: 30px; border-right: #555 1px solid; padding-right: 10px; }
footer ul li { float: left; height: 30px; margin-left: 10px; }

@media (min-width: 980px)
{
    .container { width: 960px; }
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px)
{
    .featured { background: transparent; }
    .slogan { margin-top: 43px; }
    h1 .left, h1 .right { width: 312px; font-size: 32px; }
    .gallery > ul > li { margin-right: 6px; }
    .gallery.open > ul > li { width: 724px; height: 214px; }
    .gallery.open .thumbnail { width: 361px; height: 204px; }
    .gallery.open .info { width: 333px; }
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px)
{
    body { padding: 0; }
    footer .container { background: transparent; margin: 0 20px; }
    .featured { background: transparent; text-align: center; }
    .slogan { margin: -5px 0 0 0; width: 100%; }
    h1 .left, h1 .right { width: 40%; font-size: 22px; }
    h1 .image { width: 20%; }
    .gallery > ul > li { margin-right: 5px; }
    .gallery.open > ul > li { width: 320px; height: 550px; }
    .gallery.open .thumbnail { width: 310px; height: 176px; margin-bottom: 20px; }
    .gallery.open .info { float: none; width: 320px; height: 344px; margin-left: 0; }
    .scroll-to-top { display: none !important; }
}

/* Header navigation */
@media (max-width: 580px)
{
    .navigation { width: 500px; }
    .navigation li.separator { display: none; }
    header.fixed { margin-bottom: 20px; }
    header.fixed nav { position: relative; }
}
@media (max-width: 500px)
{
    header { height: 415px; }
    .navigation { width: 300px; }
    .navigation .active a, .navigation a:hover { background-position: 0 11px; }
    .navigation li.separator { display: none; }
    .navigation li:nth-child(7) { margin-left: 50px; }
}
@media (max-width: 300px)
{
    header { height: 300px; }
    header .logo { display: none; }
    .navigation { width: 200px; }
    .navigation .active a, .navigation a:hover { background-position: 0 11px; }
    .navigation li.separator { display: none; }
    .navigation li:nth-child(7) { margin-left: 0; }
    .navigation li:nth-child(9) { margin-left: 50px; }
}

/* Landscape phones and down */
@media (max-width: 480px)
{
    footer .pull-left, footer .pull-right { float: none; height: 30px; }
    footer ul li:first-child { margin-left: 0; }
    h1 .left, h1 .right { font-size: 16px; line-height: 20px; }
}