body {
    background: #f1ede8 url(../img/noise.png);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px
}
body a {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease
}
#main {
    min-height: 520px;
    padding-top: 40px;
    background-image: url(../img/main-bg.png), url(../img/main-bg.png);
    background-repeat: repeat-x, repeat-x;
    background-position: bottom left, top left
}
header,
footer {
    background: #1b1b28
}
.header-box {
    float: left;
    line-height: 0;
    text-align: center
}
@media screen and (max-width : 600px) {
    .header-box {
        width: 100%
    }
}
#logo {
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block
}
@media screen and (min-width : 600px) {
    #logo {
        width: 270px;
        height: 56px;
        background-image: url("../img/logo/logo.png");
        background-size: 270px 56px
    }
}
@media only screen and (min-width : 600px) and (-webkit-min-device-pixel-ratio : 2), only screen and (min-width : 600px) and (min-resolution : 192dpi) {
    #logo {
        background-image: url("../img/logo/logo@2x.png");
        background-size: 270px 56px
    }
}
@media screen and (max-width : 600px) {
    #logo {
        width: 294px;
        height: 61px;
        background-image: url("../img/logo/logo-mob.png");
        background-size: 294px 61px
    }
}
@media only screen and (max-width : 600px) and (-webkit-min-device-pixel-ratio : 2), only screen and (max-width : 600px) and (min-resolution : 192dpi) {
    #logo {
        background-image: url("../img/logo/logo-mob@2x.png");
        background-size: 294px 61px
    }
}
#logo-img {
    float: left
}
#logo-name {
    float: left;
    margin-left: 12px;
    line-height: 50px;
    text-transform: uppercase;
    font-size: 18px;
    color: #f8f5f2
}
#nav-box {
    float: right
}
#nav {
    text-decoration: none;
    display: inline-block
}
#nav li {
    margin: 0 10px;
    float: left;
    position: relative
}
#nav li a {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #dcd2be;
    text-decoration: none;
    display: block;
    overflow: hidden;
    padding-top: 5px;
    padding-bottom: 10px;
    line-height: 50px;
    border-color: transparent;
    border-style: solid;
    border-top-width: 5px;
    transition: none
}
@media screen and (max-width : 600px) {
    #nav li a {
        border-top-width: 0;
        border-bottom-width: 5px;
        line-height: 30px
    }
}
#nav li a:hover {
    border-color: #195B9C;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease
}
#nav li:last-child {
    margin-right: 0
}
@media screen and (max-width : 600px) {
    #nav li:last-child {
        margin-right: 10px
    }
}
#nav .current-menu-item a {
    border-color: #39f;
    color: #f8f5f2
}
.footer-content {
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: hidden;
    text-align: center

}
.footer-social-icons {
    float: right;
    text-align: center
}
.footer-contact {
    float: left;
    text-align: center
}
.footer-box {
    float: left;
    line-height: 0;
    text-align: center
  }
#contact-box {
    float: left;
    text-align: center
}
#contact {
    text-decoration: none;
    display: inline-block;
        text-align: center
}
#contact
li {
    margin: 0 10px;
    float: left;
    position: relative;
        text-align: center
}
#contact li a {
    font-family: Arial,
sans-serif;
    font-size: 14px;
    color: #dcd2be;
    text-decoration: none;
    display: block;
    overflow: hidden;
    padding-top: 15px;
    padding-bottom: 10px;
    line-height: 50px;
    border-color: transparent;
    border-style: solid;
    border-top-width: 5px;
    transition: none
}
@media
 screen and (max-width : 600px) {
    #contact li a {
        border-top-width: 0;
        border-bottom-width: 5px;
        line-height: 30px
    }
}
#contact li
a:hover {
    border-color: #195B9C;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s
 ease;
    transition: all 0.3s ease
}
#contact li:first-line {
    margin-left: 0px
}
@media screen and (max-width : 600px) {
    #contact
li:first-line {
        margin-left: 0px
    }
}
#contact .current-menu-item
a {
    border-color: #39f;
    color: #f8f5f2
}
.wrapper {
    margin: 0 auto;
    max-width: 940px;
    width: 100%;
    position: relative;
    box-sizing: border-box
}
@media screen and (max-width : 950px) {
    .wrapper {
        padding-left: 4%;
        padding-right: 4%
    }
}
.cf:after {
    clear: both
}
.cf:after {
    content: "";
    display: table
}
* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}
h2,
h3 {
    font-family: 'Marcellus', sans-serif
}
ul {
    list-style: none
}
div {
    display: block
}
a {
    text-decoration: none;
    color: #39f
}
#project-content {
    position: relative;
    margin-bottom: 50px
}
#project-content img,
#project-content iframe {
    margin: auto;
    margin-bottom: 10px;
    -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
    display: block
}
#project-content img {
    width: 100%;
    height: 100%
}
#project-content img.two-stack {
    margin-right: 2%;
    width: 49%;
    float: left
}
#project-content img.two-stack:nth-child(2n+1) {
    margin-right: 0
}
#project-title {
    margin-bottom: 25px
}
#project-title h2 {
    font-size: 28px;
    display: inline
}
#project-title .portfolio-tag {
    margin-top: 5px;
    font-style: italic;
    color: #888;
    white-space: nowrap
}
#project-title .portfolio-tag a {
    text-decoration: none;
    color: #888
}
#project-title .portfolio-tag a:hover {
    color: #39f
}
