#menu,
body {
    background: #b4b8b9;
}

body {
    font-size: 16px;
    line-height: 1.75em;
    color: #444;
}

#wrapper,
.relative {
    position: relative;
}

.toAni.money,
.toAni.triggered {
    animation-delay: 0s;
    animation-fill-mode: forwards;
}

#menu,
#sideBar {
    position: fixed;
}

#menu {
    width: 100%;
    z-index: 2;
    margin: 0 auto;
    padding-top: 2em;
    top: 0;
}

#menu>div {
    width: 100%;
    margin: auto;
    max-width: 1000px;
}

#wrapper {
    width: 94%;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 4em;
    padding-bottom: 2.5em;
}

#contentWrapper {
    background: #fff;
    padding: 0 50px;
}

#logo {
    padding: 0;
    width: 30%;
    display: inline-block;
}

#logo a {
    color: #fff;
    font-size: 250%;
    font-weight: 700;
    letter-spacing: -0.02em;
}

#logo a:hover {
    color: #333;
    text-decoration: none;
}

/* main_nav */
.main_nav {
    width: 69%;
    display: inline-block;
    text-align: right;
    background-color: transparent;
}

.main_nav > li {
    display: inline;
    margin-left: 20px;
    font-size: 120%;
}

.main_nav li+li::before {
    padding: 20px;
}

.main_nav a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.main_nav a:hover {
    color: #333;
}
/*  */

nav#nav {
    width: 20%;
    float: right;
    text-align: right;
}

.projInfo div,
.project a .overlayT,
.projectDetail {
    text-align: center;
}

nav#nav button {
    color: #fff;
    background-color: Transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    font-size: 220%;
    padding: 0;
    transform: translate(0, -.2em);
}

nav#nav button:hover {
    color: #333;
}

#sideBar {
    left: auto;
    right: 3%;
    top: 70px;
    max-width: 250px;
    width: 19%;
    display: none;
}

#content {
    padding: 70px 0;
}

.collections {
    vertical-align: baseline;
    font-size: 100%;
    margin: 0;
    padding: 0;
}

.collectionsList {
    margin-left: -1.6667%;
    margin-right: -1.6667%;
    width: 103.333%;
}

.collectionsList .project {
    float: left;
    margin-bottom: 2em;
    margin-left: 1.6129%;
    margin-right: 1.6129%;
    width: 30.1075%;
}

@media (max-width:1140px) {
    .collectionsList .project {
        margin-left: 2.4194%;
        margin-right: 2.4194%;
        width: 45.1613%;
    }
}

@media (max-width:800px) {
    #sideBar,
    #wrapper {
        width: 100%;
    }
    #sideBar {
        position: static;
        margin: 60px 0;
        padding: 0 60px;
        max-width: none;
    }
    #contentWrapper {
        width: 100%;
        padding: 0 50px;
    }
}

@media (max-width:500px) {
    .collectionsList .project {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    #contentWrapper {
        padding: 0 25px;
    }
}

nav.sMenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav.sMenu ul li {
    font-size: 240%;
    margin-bottom: .3em;
}

nav.sMenu ul li a {
    color: #1d6b84;
}

nav.sMenu ul li a:hover {
    color: #fff;
    text-decoration: none;
}

.project a {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.project a .overlayT {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .9);
    text-shadow: 0 0 8px rgba(230, 255, 255, .95);
    color: #000;
    transition: all .3s ease;
}

.project a .overlayT .projDes {
    display: inline-block;
    vertical-align: middle;
    line-height: 10em;
    font-size: 19px;
    letter-spacing: .1em;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-weight: 700;
    max-width: 90%;
    margin: 0;
}

.project a:hover .overlayT {
    opacity: 1;
}

.projAssets img {
    margin-top: 0;
    margin-bottom: 4em;
}

p.oProj,
p.lProj {
    text-align: center;
    display: block;
    margin: 3em auto 2em;
    font-size: 130%;
    font-weight: 700;
    color: #555;
}

.collections p.oProj:first-child {
    margin-top: 0;
}

.projectDetail h1 {
    font-size: 180%;
    font-weight: 700;
    margin-bottom: 1.5em;
    padding-bottom: .5em;
    color: #333;
    display: inline-block;
    background: url(../img/h1-bg.png) bottom center repeat-x;
}

.projectDetail .projDes {
    max-width: 740px;
    display: block;
    margin: auto;
}

.projectDetail .projDes p:last-child {
    margin-bottom: 3em;
}

.projectDetail span.projHead {
    color: #555;
    font-size: 160%;
    font-weight: 700;
    padding: .8em 0 .5em;
    line-height: 1em;
    display: block;
    text-align: center;
}

.projectDetail p {
    margin-bottom: 1.5em;
}

.projectDetail p strong {
    font-weight: 700;
    color: #444;
    display: block;
}

.projInfo div {
    margin-right: 3em;
}

.projInfo div em,
.projInfo div strong {
    display: inline-block;
    float: left;
    font-style: normal;
    padding-right: 1em;
}

.projInfo div em {
    text-align: right;
    width: 15%;
    font-weight: 900;
}

.projInfo div strong {
    text-align: left;
    width: 85%;
    font-weight: 400;
}

.embed-responsive {
    margin-bottom: 3em;
}

.cc30Wide .showcase + div,
.overlay nav,
article.about {
    text-align: center;
}

@media (min-width:1400px) {
    .projAssets .img-responsive {
        max-width: 880px;
    }
}

.projAssets img.wBorder {
    border: 1px solid #E5E5E5;
}

.oldAni {
    margin-left: 10%;
    display: block;
}

.cc30Audio {
    margin-bottom: 7em;
}

.cc30Audio > div {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../img/cc30-wireless-mic-uses-1.jpg) center;
    background-size: contain;
    z-index: 1;
}

.cc30Audio .row.feaSec {
    padding-top: 2.5em;
    padding-bottom: 4em;
}

.cc30Audio .audioText {
    background: url(../img/cc30-wireless-audio-white-bg.png) bottom center no-repeat;
    background-size: cover;
    font-style: italic;
    font-size: 150%;
    color: #A8A8A8;
}

.cc30Audio .feaContent span.feaHeading {
    margin-bottom: 3em;
}

.cc30Wide .showcase {
    background: url(../img/cc30-camera-wide-lens-2.jpg) top center no-repeat;
}

.cc30Wide .showcase .toAni {
    width: 30%;
    height: 260px;
    margin: auto;
    background: url(../img/cc30-camera-wide-lens.jpg) top center no-repeat;
}

@media (max-width:480px) {
    .cc30 .cc30Wide .showcase .toAni {
        width: 100%!important;
    }
}

.cc30Wide .showcase .toAni.money {
    background-image: url(../img/cc30-camera-wide-lens-70.jpg);
}

@keyframes widen {
    0% {
        width: 30%;
    }
    100% {
        width: 100%;
    }
}

.toAni.triggered {
    animation-name: widen;
    animation-duration: 1.2s;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
}

@keyframes show70 {
    0% {
        width: 100%;
    }
    100% {
        width: 30%;
    }
}

.toAni.money {
    animation-name: show70;
    animation-duration: .5s;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
}

.cc30 .comBtn {
    color: #9f2f20;
    padding: .3em .6em;
    font-size: 90%;
    border-radius: 8px;
    background: #f4f4f4;
}

.cc30 .comBtn:hover {
    color: #f58220;
    cursor: pointer;
}

.cc30Wide+div {
    margin-bottom: 7em;
}

article.about {
    width: 75%;
    margin: auto;
    font-size: 16px;
    line-height: 2.2em;
}

article.about p {
    margin-bottom: 3em;
}

@media only screen and (max-width: 600px) {
    #menu {
        padding-top: 1.25em;
    }

    .main_nav {
        display: none;
    }

    #logo {
        width: 50%;
        margin-left: 2%;
    }

    #logo a {
        font-size: 200%;
    }

    nav#nav {
        display: block;
        margin-right: 2%;
    }
}

@media only screen and (min-width: 600px) {
    nav#nav {
        float: none;
        display: none;
    }
}

/* mobile nav */
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 3;
}

.overlay .overlay-close {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 25px;    
    top: 25px;
    overflow: hidden;
    border: none;
    background: url(../img/cross.png) center center no-repeat;
    text-indent: 200%;
    color: transparent;
    outline: 0;
    z-index: 100;
}

.overlay nav {
    position: relative;
    top: 50%;
    height: 60%;
    font-size: 54px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    height: 100%;
    position: relative;
}

.overlay ul li {
    display: block;
    height: 20%;
    height: calc(100% / 5);
    min-height: 54px;
}

.overlay ul li a {
    font-weight: 700;
    display: block;
    color: #fff;
    -webkit-transition: color .2s;
    transition: all .2s ease;
    letter-spacing: 0;
}

.overlay ul li a:focus,
.overlay ul li a:hover {
    letter-spacing: .1em;
}

.overlay-hugeinc {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .5s, visibility 0s .5s;
    transition: opacity .5s, visibility 0s .5s;
}

.overlay-hugeinc.open {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
}

.overlay-hugeinc nav {
    -webkit-perspective: 1200px;
    perspective: 1200px;
}

.overlay-hugeinc nav ul {
    opacity: .4;
    -webkit-transform: translateY(-25%) rotateX(35deg);
    transform: translateY(-25%) rotateX(35deg);
    -webkit-transition: -webkit-transform .5s, opacity .5s;
    transition: transform .5s, opacity .5s;
}

.overlay-hugeinc.open nav ul {
    opacity: 1;
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
}

.overlay-hugeinc.close nav ul {
    -webkit-transform: translateY(25%) rotateX(-35deg);
    transform: translateY(25%) rotateX(-35deg);
}

@media screen and (max-height:30.5em) {
    .overlay nav {
        height: 70%;
        font-size: 34px;
    }
    .overlay ul li {
        min-height: 34px;
    }
}

.overlay ul li a.linkedin {
    text-indent: -9999px;
    background: url(../img/linkedin-1.png) center no-repeat;
    background-size: contain;
    padding: .2em;
}
/*  */

/* Dark mode */
#menu,
body {
    background: #333;
    color: #CCC
}

#contentWrapper {
    background: #222;
}

.projectDetail h1,
p.oProj, p.lProj,
.projectDetail p strong,
.projectDetail span.projHead {
    color: #EEE;
}

#logo a:hover,
.main_nav a:hover {
    color: #A4A4A4;
}
