/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #fff;
    font-size: 1em;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: inherit;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: Helvetica, Helvetica Neue, Arial;
    font-family: "freight-sans-pro", sans-serif;
    background-color: #020235;
    background-image: url(/img/bg.jpg);
    /*background-size: cover;*/
    background-attachment: fixed;
    background-position: center top;
    position: relative;
    overflow-y: scroll;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

.header-container {
    border-bottom: 20px solid #e44d26;
}

.footer-container,
.main aside {
    border-top: 20px solid #e44d26;
}

.header-container,
.footer-container,
.main aside {
}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/*nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: #e44d26;
}*/

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main-container {
    position: relative;
}

@media screen and (min-width: 651px) {
    .main-container {
        margin: 30px 0;
    }
    .main {
        margin: 30px;
        border: 1px solid #E6F0F9;
        box-shadow: 0 0 5px #E6F0F9;
    }
}
@media screen and (max-width: 650px) {
    .main .nav {
        display: none;
    }
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */









.title {
    float: left;
}

/*nav {
    float: right;
    width: 38%;
}*/
nav {
    position: absolute;
    top: 36px;
    right: 30px;
    font-size: 1.5em;
    z-index: 2;
}
nav div {
    display: inline-block;
    margin: 0 10px;
    padding-bottom: 5px;
    opacity: 0.85;
    border-bottom: 1px solid #010417;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
nav .unlink:hover {
    text-decoration: none;
}
nav .unlink:hover div {
    opacity: 1;
    border-bottom: 1px solid #fff;
}
.inlink {
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    border-bottom: 1px dotted;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.inlink:hover {
    opacity: 1;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    /*nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }*/

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    /*nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }*/
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

/* ============
    WIDE: Menu
   ============ */

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        /*width: 57%;*/
    }

    .main aside {
        float: right;
        width: 28%;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* ==========================================================================
   Custom
   ========================================================================== */

.freight {
    font-family: "freight-sans-pro", sans-serif;
}
.fira {
    font-family: "fira-sans-2",sans-serif;
}

p {
    margin: 0;
}
.main, footer {
    opacity: 0;
}
.main {
    position: relative;
}
@media screen and (min-width: 651px) {
    .page {
        padding: 30px;
    }
}
.unlink {
    color: inherit;
    text-decoration: none;
}
#home {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
#home:hover {
    box-shadow: 0 0 5px #E6F0F9;
}
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  not supported by any browser */
}
.initials {
    position: relative;
    font-size: 2em;
    font-weight: bold;
    color: #020235;
    text-align: center;
    padding: 2px 0;
    z-index: 2;
}
.fullname {
    position: absolute;
    top: 0;
    left: 10px;
    padding: 2px 20px;
    font-size: 2em;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    z-index: 1;
    text-shadow: 0 0 3px #E6F0F9;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.initials:hover ~ .fullname, .fullname:hover {
    opacity: 1;
    left: 50px;
}
header {
    padding: 50px 0;
}
#welcome {
    text-align: center;
    font-size: 8em;
    line-height: 100%;
}
@media screen and (max-width: 1000px) {
    #welcome {
        font-size: 6em;
    }
}
@media screen and (max-width: 800px) {
    #welcome {
        font-size: 4em;
        margin-top: 20px;
    }
}
@media screen and (max-width: 650px) {
    .fullname {
        display: none;
    }
    #welcome {
        font-size: 3em;
        margin-top: 0;
    }
    header {
        padding: 30px 0;
    }
}
@media screen and (max-width: 450px) {
    #welcome {
        font-size: 2em;
        margin-top: 0;
    }
    #home {
        top: 15px;
        left: 15px;
    }
    header {
        padding: 24px 0;
    }
}

.project-link {

}
.project-link img {
    height: 60px;
    margin-bottom: 25px;
    opacity: 0.7;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    -ms-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}
.project-link:hover img {
    opacity: 1;
}
.subtitle {
    text-align: center;
    font-size: 3.5em;
    letter-spacing: 10px;
}
@media screen and (max-width: 1000px) {
    .subtitle {
        font-size: 2.5em;
    }
}
@media screen and (max-width: 800px) {
    .subtitle {
        font-size: 1.8em;
    }
}
.bar {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 2px solid #fff;
    z-index: 2;
}
.bar::after {
    content: '';
    position: absolute;
    height: 1px;
    width: 98%;
    top: 10px;
    left: 1%;
    border-top: 1px solid #fff;
    z-index: 1;
}
.boxes {
    position: absolute;
    top: -21px;
    left: 50%;
    width: 40px;
    height: 40px;
    background-color: #0E0A21;
    border: 2px solid #fff;
    box-sizing: border-box;
    transform: translate(-50%, 0) rotate(45deg);
    z-index: 3;
}
.boxes::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: #0E0A21;
    border: 2px solid #fff;
    position: absolute;
    left: -24px;
    top: 36px;
}
.boxes::after {
    content: '';
    width: 20px;
    height: 20px;
    background-color: #0E0A21;
    border: 2px solid #fff;
    position: absolute;
    right: -24px;
    top: -24px;
}

section {
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px 0;
}
section.close {
    padding: 0;
}
.container {
    font-size: 1.5em;
    max-width: 1080px;
    margin: 10px auto;
}
.container p {
    padding: 0 20px;
}

.selections {
    font-size: 1.5em;
    text-align: center;
}
.box {
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-align: center;
    /*border: 1px solid #E6F0F9;
    box-shadow: 0 0 2px #E6F0F9;*/
    /*border-radius: 5px;*/
    background-color: rgba(0,0,0,0.5);
    width: 500px;
    max-width: 100%;
    height: 375px;
    margin-bottom: -7px;
    cursor: pointer;
}
.selections a:nth-child(1) .box {
    border-top-left-radius: 5px;
}
.selections a:nth-child(2) .box {
    border-top-right-radius: 5px;
}
.selections a:nth-child(3) .box {
    border-bottom-left-radius: 5px;
}
.selections a:nth-child(4) .box {
    border-bottom-right-radius: 5px;
}

.contents {
    padding-top: 10px;
    position: relative;
    color: #000;
    z-index: 3;
}
.boxTitle {
    position: relative;
    font-family: "fira-sans-2",sans-serif;
    font-size: 1.2em;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
}
.overlay {
    position: relative;
    z-index: 4;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    transition: opacity 0.3s;
}
.box:hover .overlay {
    opacity: 1;
}

.reveal div {
    position: relative;
    display: inline-block;
    margin: 15px 25px;
    outline: none;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 400;
    text-shadow: 0 0 1px rgba(255,255,255,0.3);
    font-size: 1.35em;
    white-space: nowrap;
}
.box:hover .reveal div,
.box:focus .reveal div {
    outline: none;
}

/* text fill based on Lea Verou's animation http://dabblet.com/gist/6046779 */
.reveal div {
    padding: 10px 0;
    color: #0972b4;
    text-shadow: none;
} 
.reveal div::before {
    position: absolute;
    top: -1px;
    left: 0;
    overflow: hidden;
    padding: 10px 0;
    max-width: 0;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    color: #fff;
    content: attr(data-hover);
    -webkit-transition: max-width 0.5s;
    -moz-transition: max-width 0.5s;
    transition: max-width 0.5s;
}
.box:hover .reveal div::before,
.box:focus .reveal div::before {
    max-width: 100%;
}

.description {
    position: relative;
    padding: 10px 30px;
    top: 30px;
    -webkit-transition: top 0.5s;
    -moz-transition: top 0.5s;
    transition: top 0.5s;
}
.box:hover .description {
    top: 0;
}
.view {
    color: #fff;
    background-color: #3E9254;
    border-radius: 3px;
    display: inline-block;
    padding: 5px 15px 7px 15px;
    margin-top: 20px;
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
}
.view:hover {
    background-color: #53B96E;
}
.view a, .view:hover a {
    text-decoration: none;
    color: #fff;
}

.shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    z-index: 3;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.box:hover .shade {
    opacity: 0.8;
}
.brush {
    position: absolute;
    opacity: 0.9;
    top: 0;
    left: 45%;
    z-index: 2;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.brush img {
    max-height: 70px;
}
.image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.image img {
    max-width: 100%;
    -webkit-transition: all 0.6s cubic-bezier(0.6, 0.2, 0.1, 1);
    -moz-transition: all 0.6s cubic-bezier(0.6, 0.2, 0.1, 1);
    -o-transition: all 0.6s cubic-bezier(0.6, 0.2, 0.1, 1);
    -ms-transition: all 0.6s cubic-bezier(0.6, 0.2, 0.1, 1);
    transition: all 0.6s cubic-bezier(0.6, 0.2, 0.1, 1);
}
.box:hover .image img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}


footer {
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 30px;
    height: 30px;
    background-color: #0E0A21;
    border: 1px solid #fff;
    box-shadow: 0 0 5px #E6F0F9;
    box-sizing: border-box;
    transform: translate(-50%, 0) rotate(45deg);
}
footer .sign {
    position: absolute;
    top: 2px;
    left: 8px;
    color: #020235;
    font-weight: bold;
    transform: rotate(-45deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
footer .inner {
    width: 24px;
    height: 24px;
    margin: 2px;
    background-color: #fff;
    box-shadow: 0 0 5px #E6F0F9;
}
footer::before {
    content: '';
    width: 18px;
    height: 18px;
    background-color: #fff;
    box-shadow: 0 0 5px #E6F0F9;
    position: absolute;
    left: -18px;
    top: 28px;
}
footer::after {
    content: '';
    width: 18px;
    height: 18px;
    background-color: #fff;
    box-shadow: 0 0 5px #E6F0F9;
    position: absolute;
    right: -18px;
    top: -18px;
}


/* Project page */
.project {
    background-color: rgba(0, 0, 0, 0.7);
}
.project header {
    padding-bottom: 0;
}
.headerImage {
    width: 100%;
    margin: 25px 0;
    border-radius: 5px;
    overflow: hidden;
}
.imageContainer {
    padding: 15px;
    border: 1px dashed rgba(255, 255, 255, 0.8)
}
.headerImage img {
    width: 100%;
}
.sectionTitle {
    font-size: 2.5em;
    padding: 0 20px;
}

.center-image {
    position: relative;
}
.center-image img {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}
.center-image img.limit {
    max-height: 400px;
}
.center-image iframe {
    display: block;
    margin: 0 auto;
}
.image-description {
    text-align: center;
    font-size: 1.2em;
    color: #bdd3e2;
    padding-top: 10px;
}

#mac-display .glare {
    position: absolute;
    right: 211px;
    z-index: 3;
}
#mac-display .content {
    position: absolute;
    width: 597px;
    height: 344px;
    top: 39px;
    right: 240px;
    z-index: 2;
    overflow: hidden;
}
#mac-display .content .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2016px;
    background: #333 url("/img/dealerpinch-home.jpg");
    background-repeat: repeat-y;
    -moz-animation: bg 30s linear infinite;
    -webkit-animation: bg 30s linear infinite;
    -ms-animation: bg 30s linear infinite;
    animation: bg 30s linear infinite;
}
@-moz-keyframes bg {
    0% {
        -moz-transform: translate3d(0,0,0);
        -webkit-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

    100% {
        -moz-transform: translate3d(0,-1672px,0);
        -webkit-transform: translate3d(0,-1672px,0);
        -ms-transform: translate3d(0,-1672px,0);
        transform: translate3d(0,-1672px,0);
    }
}

@-webkit-keyframes bg {
    0% {
        -moz-transform: translate3d(0,0,0);
        -webkit-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

    100% {
        -moz-transform: translate3d(0,-1672px,0);
        -webkit-transform: translate3d(0,-1672px,0);
        -ms-transform: translate3d(0,-1672px,0);
        transform: translate3d(0,-1672px,0);
    }
}

@-ms-keyframes bg {
    0% {
        -moz-transform: translate3d(0,0,0);
        -webkit-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

    100% {
        -moz-transform: translate3d(0,-1672px,0);
        -webkit-transform: translate3d(0,-1672px,0);
        -ms-transform: translate3d(0,-1672px,0);
        transform: translate3d(0,-1672px,0);
    }
}

@keyframes bg {
    0% {
        -moz-transform: translate3d(0,0,0);
        -webkit-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

    100% {
        -moz-transform: translate3d(0,-1672px,0);
        -webkit-transform: translate3d(0,-1672px,0);
        -ms-transform: translate3d(0,-1672px,0);
        transform: translate3d(0,-1672px,0);
    }
}

.next {
    text-align: center;
}
.next a {
    color: #fff;
    display: inline-block;
    margin: 0 10px;
}
.classic-button {
    font-size: 1.2em;
    width: 200px;
    padding: 10px;
    border: 1px solid #fff;
    -moz-transition: all 0.7s ease;
    -webkit-transition: all 0.7s ease;
    -ms-transition: all 0.7s ease;
    transition: all 0.7s ease;
}
.classic-button:hover {
    color: #333;
    background-color: #fff;
    font-weight: bold;
}


.separator {
    position: relative;
    display: block;
    left: 5.85786437626905px;
    margin: 0 auto;
    margin-top: 40px;
    width: 12px;
    height: 12px;
    background-color: #fff;
    border: 1px solid #fff;
    box-shadow: 0 0 5px #E6F0F9;
    box-sizing: border-box;
    transform: translate(-50%, 0) rotate(45deg);
}
.separator::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #fff;
    box-shadow: 0 0 5px #E6F0F9;
    position: absolute;
    left: -7px;
    top: 9px;
}
.separator::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #fff;
    box-shadow: 0 0 5px #E6F0F9;
    position: absolute;
    right: -7px;
    top: -7px;
}





.page-home {
    background-color: rgba(0, 0, 0, 0);
}
.page-dealerpinch, .page-jetpack, .page-sonosim, .page-eventspark, .page-photography {
    background-color: rgba(0, 0, 0, 0.7);
}


.page.ng-leave  {
    z-index: 7777;
    /*-webkit-animation: fadeOut .5s ease both;
    -moz-animation: fadeOut .5s ease both;
    animation: fadeOut .5s ease both;*/
}
.page.ng-enter  {
    z-index: 8888;
}

/* page specific animations ------------------------ */

/* home -------------------------- */
.page-home.ng-leave {
}
.page-home.ng-enter {  
    -webkit-animation: fadeIn .7s ease both;
    -moz-animation: fadeIn .7s ease both;
    animation: fadeIn .7s ease both;  
}

/* about ------------------------ */
.page-dealerpinch.ng-leave { 
}
.page-dealerpinch.ng-enter, .page-jetpack.ng-enter, .page-sonosim.ng-enter, .page-eventspark.ng-enter, .page-photography.ng-enter {
    -webkit-animation: shade .5s linear both;
    -moz-animation: shade .5s linear both;
    animation: shade .5s linear both;
}
.page-dealerpinch > *, .page-jetpack > *, .page-sonosim > *, .page-eventspark > *, .page-photography > * {
    opacity: 0;
    -webkit-animation: fadeIn .7s linear both;
    -moz-animation: fadeIn .7s linear both;
    animation: fadeIn .7s linear both;  
    -webkit-animation-delay: .5s;
    animation-delay: .5s;
}


/* fade */

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@-moz-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@-webkit-keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
@-moz-keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}


@-webkit-keyframes shade {
    from { background-color: rgba(0, 0, 0, 0); }
    to { background-color: rgba(0, 0, 0, 0.7); }
}
@-moz-keyframes shade {
    from { background-color: rgba(0, 0, 0, 0); }
    to { background-color: rgba(0, 0, 0, 0.7); }
}
@keyframes shade {
    from { background-color: rgba(0, 0, 0, 0); }
    to { background-color: rgba(0, 0, 0, 0.7); }
}