@font-face {
  font-family: "Effra";
  src: url("../fonts/effra.ttf");
}
@font-face {
  font-family: "Effra Bold";
  src: url("../fonts/effra-bold.ttf");
}
@font-face {
  font-family: "Effra Light";
  src: url("../fonts/effra-light.ttf");
}

.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;       /* IE/Edge */
  user-select: none;           /* non-prefixed version, currently
                                  not supported by any browser */
}

/* ============ */
/* = Homepage = */
/* ============ */

.homepage-nav-wrapper {
    background-color: #4183C0;
}
.homepage .homepage-nav-wrapper {
    background-color: transparent;
    position: absolute;
    width: 100%;
}
.homepage-nav {
    padding: 48px 0 48px 0;
    position: relative;
}

.homepage-nav-menu {
    position: absolute;
    right: 0;
    top: 48px;
    padding: 32px 0;
    text-align: center;
}
.homepage-nav-menu-item {
    margin-left: 30px;
    padding: 8px 4px;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
}
.homepage-nav-menu-item:first-child {
    margin-left: 0;
}
.homepage-nav-menu-item:hover,
.homepage-nav-menu-item.selected {
    color: #C5D9EC;
    border-bottom: 1px solid #C5D9EC;
}
.homepage-nav-menu-item:active {
    color: #A8C7E7;
    border-bottom: 1px solid #A8C7E7;
}
.homepage-nav-menu-item.active {
    color: #C5D9EC;
    border-bottom: 1px solid #C5D9EC;
}
.homepage-nav-menu-item-preorder {
    border-radius: 8px;
    background-color: #FBB65B;
    padding-left: 18px;
    padding-right: 18px;
}
.homepage-nav-menu-item-preorder:hover {
    color: #F9E6CC;
    background-color: #F79327;
    border-bottom: none;
}
.homepage-nav-menu-item-preorder:active {
    background-color: #F27F1E;
}
.homepage-nav-menu-item-preorder img {
    width: 155px;
    height: 18px;
    vertical-align: top;
    margin: 4px 0 0 6px;
}
.homepage-nav-block {
    margin-left: 30px;
    display: inline-block;
}
@media (max-width: 940px) {
    .homepage-nav-block {
        display: block;
        margin-top: 18px;
        margin-left: 0;
    }
}

.homepage-nav-logo img {
    width: 250px;
}

.homepage-nav-header {
    width: 100%;
    text-align: center;
    color: #FEFEFE;
    margin: 18px 0 0;
}

.homepage-nav-preorder input {
    display: block;
    margin: 18px auto;
}

@media (max-width: 940px) {
    .homepage-nav {
        padding: 36px 0;
        width: 100%;
    }
    .homepage-nav-logo img {
        margin: 0 auto;
        display: block;
    }
    .homepage-nav-menu {
        position: static;
        padding: 42px 0 0;
    }
    .homepage-nav-menu-item {
        margin-left: 18px;
    }
}

.custombox-modal #preorder-modal {
    padding: 100px 100px 72px;
    background-color: #4183C0;
    border-radius: 16px;
}
#preorder-modal h3 {
    display: none;
    color: white;
    color: whitesmoke;
    padding: 0 15%;
    margin: 0 0 48px;
}

.custombox-modal #preorder-modal h3 {
    display: block;
}
@media (max-width: 940px) {
    .custombox-modal #preorder-modal {
        padding: 48px 18px 12px;
    }    
    .custombox-modal #preorder-modal h3 {
        padding: 0 12px;
    }
}

/* ===================== */
/* = Homepage Features = */
/* ===================== */

.homepage-feature-section {
    padding: 48px 0;
}

.homepage-title,
.homepage-title-wood,
.homepage-title-page-left,
.homepage-title-page-right,
.homepage-title-page-bottom {
    text-align: center;
    position: absolute;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
    color: white;
    z-index: 10;
    box-sizing: border-box;
}
.homepage-title h1 {
    margin: 48px 0;
    color: antiquewhite;
}
.homepage-title-page-left {
    padding: 48px 50% 0 5%;
}
.homepage-title-page-right {
    padding: 48px 5% 0 50%;
}
.homepage-title-page-bottom {
    bottom: 0;
    padding: 48px 10%;
    top: inherit;
}
.homepage-title-family h2 {
    margin: 166px 0;
}

.homepage-section-grey {
    background-color: #F2F2F2;
}
.homepage-section-1 {
    border-top: none;
}

.homepage-feature-section h2 {
    text-align: center;
    color: #4184C0;
}
.homepage h2 {
    color: rgba(180, 217, 251, 0.84);
}
.homepage-feature-section h4 {
    text-align: center;
    font-family: "Effra Light";
}

.home-link {
    margin: 12px 0 0;
    padding: 12px 24px;
    border: 1px solid rgba(0, 0, 0, 0);
    background-color: rgba(255, 255, 255, .2);
    border-radius: 9px;
    display: inline-block;
    text-decoration: none;
    color: white;
    cursor: pointer;
    font-size: 1.2em;
}

.home-link:hover {
    color: white;
    border: 1px solid rgba(180, 217, 251, 0.24);
    background-color: rgba(255, 255, 255, .3);
}
.home-link:active {
    color: white;
    background-color: rgba(175, 175, 175, .44);
    border: 1px solid rgba(180, 217, 251, 0.44);
}

@media (max-width: 940px) {
    .homepage-feature-section {
        padding-top: 0;
    }
    .homepage-feature-section h2 {
        font-size: 1.5em;
        padding-top: 24px;
    }
    .homepage h2 {
        padding: 12px 0;
        margin: 0;
    }
    .homepage-feature-section h3 {
        font-size: 1.1em;
    }
    .homepage-title-page-bottom {
        padding: 12px 6%;
    }
    .homepage-title-family h2 {
        margin-top: 72px;
    }
    .home-link {
        margin: 6px 0 0;
        padding: 12px 18px;
        font-size: 0.9em;
    }
}

.feature-row {
    text-align: center;
    min-height: 350px;
    clear: both;
}
.feature {
    background-color: white;
    text-decoration: none;
    margin-bottom: 24px;
    color: #526266;
    border: 1px solid #C0C0C0;
    height: 100%;
    min-height: 324px;
    padding: 12px;
}
@media (max-width: 940px) {
    .feature-row {
        min-height: 350px;
    }
    .feature-row .feature {
        min-height: 328px;
        width: 48%;
        margin-right: 4%;
    }
    .feature-row .feature:nth-child(2),
    .feature-row .feature:last-child {
        margin-right: 0;
    }
}
.feature-row:last-child .feature {
    margin-bottom: 0;
}
.feature:hover {
    border-color: #4284C1;
    color: #526266;
}
.feature:active {
    border-color: #2162B3;
    background-color: #FAFAFA;
    color: #526266;
}
.feature-icon {
    margin: 6px auto;
    font-size: 0;
}
.feature-icon img {
    width: 60px;
    height: 60px;
    margin: 12px 0 18px;
}
.feature h4 {
    color: #224055;
    padding: 0;
    margin: 0 0 12px;
}
.apps-partner {
    margin: 48px 0 12px;
    text-align: center;
}
.apps-partner a {
    text-decoration: none;
}
.feature-heading {
    margin: 36px 0 48px;
    text-align: center;
    clear: both;
}


/* =================== */
/* = Homepage Photos = */
/* =================== */

.home-hero-still-mahogany {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-still-mahogany.jpg) no-repeat center center;
    background-size: cover;
}

@media (max-width: 940px) {
    .home-hero-still-mahogany {
        height: 600px;
        background-position: 75% center;
    }
}

.home-hero-wall {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 400px;
    overflow: hidden;
    background: transparent url(/static/images/home/home-still-family-wall.jpg) no-repeat center bottom;
    background-size: cover;
}

@media (max-width: 940px) {
    .home-hero-wall {
        height: 300px;
    }
}

.home-hero-mahogany-couch {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-still-mahogany-couch.jpg) no-repeat 60% center;
    background-size: cover;
}

.home-hero-mahogany-hand {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-hand-mahogany.jpg) no-repeat 54% center;
    background-size: cover;
}

@media (max-width: 940px) {
    .home-hero-mahogany-couch {
        height: 400px;
    }
    .home-hero-mahogany-hand {
        height: 400px;
        background-position: 50% center;
    }
}
.home-hero-padauk-up {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-hand-padauk-up.jpg) no-repeat center center;
    background-size: cover;
}

.home-hero-padauk-group {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-lifestyle-padauk-couch.jpg) no-repeat center center;
    background-size: cover;
    transform: scaleX(-1);
}

.home-hero-padauk-down {
    text-align: center;
    margin: 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-hand-padauk-down.jpg) no-repeat 60% center;
    background-size: cover;
}

@media (max-width: 940px) {
    .home-hero-padauk-up {
        height: 600px;
    }
    .home-hero-padauk-down {
        height: 400px;
    }
    .home-hero-padauk-group {
        height: 400px;
        background-position: 50% center;
    }
}
.home-hero-rosewood-desk {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-still-rosewood-desk.jpg) no-repeat 40% center;
    background-size: cover;
}

.home-hero-rosewood-hand {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-hand-rosewood-female.jpg) no-repeat center center;
    background-size: cover;
}

.home-hero-rosewood-staircase {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-lifestyle-rosewood-staircase.jpg) no-repeat center bottom;
    background-size: cover;
}

@media (max-width: 940px) {
    .home-hero-rosewood-desk {
        height: 400px;
        background-position: 40% center;
    }
    .home-hero-rosewood-staircase {
        height: 400px;
        background-position: 70% center;
    }
    .home-hero-rosewood-hand {
        height: 400px;
        background-position: 50% center;
    }
}

.home-hero-studio-inlay {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 660px;
    background: transparent url(/static/images/home/home-still-padauk-inlay.jpg) no-repeat center bottom;
    background-size: cover;
}

@media (max-width: 940px) {
    .home-hero-studio-inlay {
        height: 400px;
    }
}

.home-hero-army-wood {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-army-wood.jpg) no-repeat center center;
    background-size: cover;
}

@media (max-width: 940px) {
    .home-hero-army-wood {
        height: 260px;
    }
}

.home-hero-padauk-book {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-still-padauk-book.jpg) no-repeat center center;
    background-size: cover;
    position: relative;
}

@media (max-width: 940px) {
    .home-hero-padauk-book {
        height: 400px;
    }
}

.home-hero-padauk-chair {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-still-padauk-chair.jpg) no-repeat 63% center;
    background-size: cover;
}

@media (max-width: 940px) {
    .home-hero-padauk-chair {
        height: 400px;
    }
}

.home-hero-antlers {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-still-family-antlers.jpg) no-repeat center center;
    background-size: cover;
}

@media (max-width: 940px) {
    .home-hero-antlers {
        height: 400px;
    }
}

.home-hero-map {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-still-family-map.jpg) no-repeat center bottom;
    background-size: cover;
}

@media (max-width: 940px) {
    .home-hero-map {
        height: 350px;
    }
}

.home-hero-imac {
    text-align: center;
    margin: 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/how-it-works/works-imac.jpg) no-repeat center center;
    background-size: cover;
    position: relative;
}
.home-hero-imac .homepage-title-wood {
    padding: 24px 0;
}
.home-hero-imac-desc {
    padding: 0 20%;
}
@media (max-width: 940px) {
    .home-hero-imac {
        height: 700px;
        background-position: center 70%;
    }
    .home-hero-imac-desc {
        padding: 0 6%;
    }
}
.home-hero-army-stack {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-army-stack.jpg) no-repeat center center;
    background-size: cover;
}

.home-hero-overlay {
    content: '';
    display: block;
    background-color: rgba(0, 0, 0, 0.15);
    width: 100%;
    height: 100%;
    z-index: 1;
}
.home-hero-top-overlay {
    content: '';
    display: block;
    background-image: linear-gradient(163deg,rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 50%);
    width: 100%;
    height: 100%;
}
.home-hero-left-overlay {
    content: '';
    display: block;
    background-image: linear-gradient(90deg,rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 50%);
    width: 100%;
    height: 100%;
}
.home-hero-bottom-overlay {
    content: '';
    display: block;
    background-image: linear-gradient(20deg,rgba(0, 0, 0, .9), rgba(0, 0, 0, 0) 50%);
    width: 100%;
    height: 100%;
}
.home-hero-top-bottom-overlay {
    content: '';
    display: block;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.5));
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 9;
}
.home-hero-split {
    height: 800px;
    position: relative;
    overflow: hidden;
}
@media (max-width: 940px) {
    .home-hero-split {
        height: 400px;
    }
}


.home-hero-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
}
.home-hero-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
}

.home-hero-studio-family {
    text-align: center;
    margin: 0 0 0;
    padding: 0;
    max-width: 100%;
    height: 800px;
    background: transparent url(/static/images/home/home-studio-family.jpg) no-repeat center center;
    background-size: cover;
}

@media (max-width: 940px) {
    .home-hero-studio-family {
        height: 400px;
    }
}

/* ============== */
/* = Apps Stage = */
/* ============== */

.apps-stage-section {
    overflow: hidden;
    margin: 0 auto;
    padding-top: 0;
    width: 100%;

    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
}
.apps-stage-section .apps-stage {
    width: 950px;
    left: 50%;
    margin-left: -475px;
    overflow: hidden;
}
@media (max-width: 940px) {
    .homepage-feature-section.apps-stage-section {
        padding: 0 0 24px;
    }
    .homepage-feature-section.apps-stage-section .apps-stage {
        width: 380px;
        margin-left: -190px;
        padding-top: 0;
    }
}
.apps-stage {
    position: relative;
}
.apps-stage-backdrop img {
    width: 100%;
}
.apps-stage-art-mountain,
.apps-stage-art-sun,
.apps-stage-art-background,
.apps-stage-fan,
.apps-stage-lights,
.apps-stage-nest-temp,
.apps-stage-nest-tick,
.apps-stage-indicator {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}
.apps-stage-art-mountain img,
.apps-stage-art-sun img,
.apps-stage-art-background img,
.apps-stage-lights img,
.apps-stage-nest-temp img,
.apps-stage-nest-tick img {
    width: 100%;
}
.apps-stage-indicator {
    opacity: 0;
    transition: all 2.5s ease-in-out;
}
.apps-stage-indicator.on {
    opacity: 1;
    animation: indicator 1s;
}
@keyframes indicator {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    65% {
        opacity: 1;
        transform: scale(1.2);
    }
    75% {
        opacity: 1;
        transform: scale(1.25);
    }
    100% {
        transform: scale(1);
    }
}
.apps-stage-indicator img {
    width: 22px;
    padding: 24px;
}
.apps-stage-indicator.red {
    top: 48px;
    left: -14px;
}
.apps-stage-indicator.blue {
    top: -8px;
    left: 638px;
}
.apps-stage-indicator.teal {
    top: 72px;
    left: 391px;
}
.apps-stage-indicator.yellow {
    top: 24px;
    left: 768px;
}
.apps-stage-indicator.orange {
    top: -8px;
    left: 228px;
}
.apps-stage-indicator.green {
    top: 240px;
    left: 544px;
}
@media (max-width: 940px) {
    .apps-stage-indicator img {
        width: 11px;
        padding: 12px;
    }
    .apps-stage-indicator.red {
        top: 18px;
        left: -10px;
    }
    .apps-stage-indicator.blue {
        top: -4px;
        left: 254px;
    }
    .apps-stage-indicator.teal {
        top: 26px;
        left: 153px;
    }
    .apps-stage-indicator.yellow {
        top: 6px;
        left: 300px;
    }
    .apps-stage-indicator.orange {
        top: -8px;
        left: 92px;
    }
    .apps-stage-indicator.green {
        top: 92px;
        left: 212px;
    }
}
.apps-stage-art-background {
    z-index: 2;
}
.apps-stage-backdrop img {
    z-index: 2;
    position: relative;
}
.apps-stage-art-sun {
    z-index: 2;
    top: 0px;
    transform: translate(0.4%, 0);
}
.apps-stage-art-sun.on {
    animation: sunSet-x 15s;
    animation-iteration-count: infinite;
}
.apps-stage-art-sun-inner {
    z-index: 2;
    top: 0px;
    transform: translate(0, 14%);
}
.on .apps-stage-art-sun-inner {
    animation: sunSet-y 15s;
    animation-iteration-count: infinite;
}
@keyframes sunSet-x {
    0% {
        transform: translate(0.4%, 0);
        animation-timing-function: ease-out;
    }
    33% {
        transform: translate(-1%, 0);
        animation-timing-function: ease-in;
    }
    40% {
        transform: translate(-1%, 0);
        animation-timing-function: ease-out;
    }
    70% {
        transform: translate(0.4%, 0);
        animation-timing-function: ease-out;
    }
}
@keyframes sunSet-y {
    0% {
        transform: translate(0, 14%);
        animation-timing-function: ease-in-out;
    }
    33% {
        transform: translate(0, 0);
        animation-timing-function: ease-in-out;
    }
    40% {
        transform: translate(0, 0);
        animation-timing-function: ease-in-out;
    }
    70% {
        transform: translate(0, 14%);
        animation-timing-function: ease-in-out;
    }
}
.apps-stage-art-mountain {
    z-index: 3;
}
.apps-stage-fan {
    top: 148px;
    left: 700px;
    width: 128px;
    z-index: 2;
    transition: all 5s ease-in;
}
.apps-stage-fan.on img {
    animation: beginRotate 3.6s ease-in, fanRotate 1.8s linear infinite;
    animation-delay: 0s, 3.6s;
}
@keyframes beginRotate {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}
@keyframes fanRotate {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}
.apps-stage-fan img {
    width: 50%;
}
.apps-stage-lights {
    top: 45px;
    left: -10px;
    width: 103%;
    z-index: 1;
    opacity: 0;
    transition: all 2s ease-in;
}
.apps-stage-lights.on {
    opacity: 1;
}
.apps-stage-nest-tick {
    width: 28px;
    height: 28px;
    position: absolute;
    top: 112px;
    left: 32px;
    z-index: 3;
    transition: transform 2s ease-in-out;
    transform: rotate(-20deg);
}
.apps-stage-nest-tick.on {
    transform: rotate(60deg);
}
.apps-stage-nest-temp {
    width: 28px;
    height: 28px;
    font-size: 12px;
    color: #4783bd;
    position: absolute;
    top: 117px;
    text-align: center;
    left: 32px;
    z-index: 3;
}
@media (max-width: 940px) {
    .apps-stage-fan {
        top: 60px;
        left: 281px;
        width: 48px;
    }
    .apps-stage-lights {
        top: 16px;
        left: -6px;
        width: 104%;
    }
    .apps-stage-nest-tick {
        top: 42px;
        left: 11px;
        width: 15px;
        height: 15px;
    }
    .apps-stage-nest-temp {
        top: 47px;
        font-size: 6px;
        left: 12px;
        width: 15px;
        height: 15px;
    }
}

.apps-stage-caption {
    margin: 48px 0 0 0;
    position: relative;
}
.apps-stage-caption .slick-slide {
    position: relative;
}
.apps-stage-caption img {
    width: 96px;
    position: absolute;
    left: 48px;
    top: 6px;
}
.apps-stage-caption h3 {
    padding: 0 274px 0 184px;
}
.apps-stage-caption h4 {
    padding: 0 274px 0 184px;
    text-align: left;
}
.apps-stage-caption .apps-stage-caption-button {
    position: absolute;
    right: 48px;
    top: 50%;
    margin-top: -24px;
    width: 148px;
    padding: 14px;
    border: 2px solid #4183C0;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 940px) {
    .apps-stage-caption {
        padding: 0 24px;
    }
    .apps-stage-caption h3 {
        padding: 0 0 0 112px;
    }
    .apps-stage-caption h4 {
        padding: 0 0 0 112px;
    }
    .apps-stage-caption img {
        width: 72px;
        left: 12px;
    }
    .apps-stage-caption .apps-stage-caption-button {
        position: static;
        display: block;
        margin: 0 0 0 112px;
    }
}

.apps-list h2,
.works-tap h2 {
    color: #224055;
}

/* ================ */
/* = How It Works = */
/* ================ */

.works-hero {
    padding-bottom: 0;
}
.works-hero-imac {
    text-align: center;
    margin: 48px 0 0;
    padding: 0;
    max-width: 100%;
    height: 600px;
    background: transparent url(/static/images/how-it-works/works-imac-short.jpg) no-repeat center center;
    background-size: cover;
}
.works-tap {

}
.works-tap .works-tap-row {
    overflow: hidden;
    text-align: center;
    margin: 0 48px;
}
.works-tap-row.works-tap-double {
    margin: 0 24px;
}
.works-tap-row.works-tap-hold {
    margin: 0 12px;
}
.works-tap-image {
    float: left;
    margin: 24px 0;
    padding: 0 10% 0 7%;
}
.works-tap-double .works-tap-image {
    float: right;
    padding: 0 0 0 7%;
}
.works-tap-hold .works-tap-image {
    padding: 0 7% 0 0;
}
.works-tap-hud {
    min-height: 378px;
}
.works-tap-hud .works-tap-image {
    position: relative;
    float: none;
}
.works-tap-hud .works-tap-image img {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0 0 0 10%;
}
.works-tap-heading {
    padding: 0 24px;
}
.works-tap-single .works-tap-heading {
    margin: 88px 0 0 0;
}
.works-tap-double .works-tap-heading {
    margin: 64px 0 0 0%;
}
.works-tap-hold .works-tap-heading {
    margin: 172px 0 0 0;
}
.works-tap-hud .works-tap-heading {
    margin: 88px 50% 0 0;
}
.works-tap-heading h4 {
    padding: 0 0;
    margin: 0 auto;
    width: 100%;
}

.works-tap-hud-on {
    opacity: 0;
    animation: hud-animation-on 3s linear infinite;
}
@keyframes hud-animation-on {
    10% {
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
}

@media (max-width: 940px) {
    .works-hero-imac {
        height: 500px;
    }
    .works-tap .works-tap-row {
        margin: 64px 0 0;
    }
    .works-tap .works-tap-hud {
        min-height: auto;
    }
    .works-tap .works-tap-hud .works-tap-image {
        height: 372px;
    }
    .works-tap .works-tap-hud .works-tap-image img {
        left: 50%;
        right: auto;
        margin-left: -50%;
        padding: 0;
    }
    .works-tap .works-tap-image {
        float: none;
        padding: 0;
    }
    .works-tap .works-tap-hud .works-tap-image {

    }
    .works-tap .works-tap-image img {
        width: 100%;
    }
    .works-tap .works-tap-heading {
        margin: 24px auto;
    }
}

.works-customize-apps {
    padding: 0;
    position: relative;
    overflow: hidden;
}
.works-customize-apps .container {
    width: 100%;
}
.works-customize-apps .feature-heading {
    margin: 0;
}
.works-customize-apps-toolbar-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 22px;
    box-shadow: 0px 6px 18px 0px rgba(0,0,0,0.18);
    background: transparent url(/static/images/how-it-works/works-toolbar-bg.png) repeat-x left top;
    background-size: auto 22px;
}
.works-customize-apps-background {
    background: transparent url(/static/images/how-it-works/el-capitan-background.jpg) no-repeat center top;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.works-customize-apps-background-overlay {
    content: '';
    display: block;
    background-color: rgba(0, 0, 0, 0.15);
    width: 100%;
    height: 100%;
}
.works-customize-apps-toolbar-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 22px;
    background: transparent url(/static/images/how-it-works/works-toolbar-left.png) no-repeat left top;
    background-size: auto 22px;
}
.works-customize-apps-toolbar-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 22px;
    background: transparent url(/static/images/how-it-works/works-toolbar-right.png) no-repeat right top;
    background-size: auto 22px;
}
.works-screenshot {
    float: right;
    margin: 12px 31px 48px 72px;
    width: 394px;
}
.works-screenshot-apps {
    background: transparent url(/static/images/how-it-works/works-screenshot-alarm.png) no-repeat center top;
    background-size: 394px 736px;
    height: 736px;
}
.works-screenshot-actions {
    background: transparent url(/static/images/how-it-works/works-screenshot-hue.png) no-repeat center top;
    background-size: 394px 851px;
    height: 946px;
}
.works-screenshot-batch {
    background: transparent url(/static/images/how-it-works/works-screenshot-batch.png) no-repeat center top;
    background-size: 394px 906px;
    height: 906px;
}
.works-customize-apps h2 {
    width: 50%;
    padding: 128px 0 0 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.99);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
.works-customize-apps h4 {
    width: 50%;
    padding: 68px 0 0 0;
    font-size: 1.7em;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
@media (max-width: 940px) {
    .works-customize-apps {
        background-size: auto 100%;
    }
    .works-customize-apps-toolbar-left {
        left: -8px;
        width: 110px;
    }
    .works-customize-apps-toolbar-right {
        width: 214px;
        background-position: left;
    }
    .works-screenshot {
        margin-right: 0;
        margin-left: 0;
    }
    .works-customize-apps h2 {
        clear: both;
        padding-top: 0;
        width: 100%;
    }
    .works-customize-apps h4 {
        width: 100%;
        clear: both;
        padding: 24px 24px 24px;
        font-size: 1.4em;
        box-sizing: border-box;
    }
    .works-customize-apps .slick-dots {
        top: inherit;
        bottom: -24px;
        left: 50%;
        margin-left: -25%;
    }
}
/* ================ */
/* = Homepage BFF = */
/* ================ */

.bff {
    text-align: center;
    margin-top: 64px;
}

.bff img {
    width: 926px;
}

/* ================== */
/* = Homepage Recap = */
/* ================== */

.homepage-section-recap {
    margin: 0;
    width: 100%;
    padding: 48px 24px;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    background-image: linear-gradient(to bottom right,#041722,#173f56,#417685);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
    color: rgb(167, 196, 210);
    font-size: 1.2em;
}

.recap-icon {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 36px;
    padding: 12px;
    margin: 6px auto;
    width: 36px;
    font-size: 0px;
}
.recap-icon img {
    width: 36px;
    height: 36px;
    margin: 0;
}
.recap h5 {
    color: #4184C0;
    padding: 0;
}

@media (max-width: 940px) {
    .recap-icon {
        margin-top: 32px;
    }
}

/* ===================== */
/* = Pre-order section = */
/* ===================== */

.homepage-section-preorder {
    margin: 0;
    width: 100%;
    padding: 96px 24px;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    background-image: linear-gradient(to top left,#041722,#173f56,#417685);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
    color: rgb(167, 196, 210);
    font-size: 1.2em;
}
.homepage-section-preorder .homepage-nav-menu-item-preorder {
    display: inline-block;
    margin: 24px auto 0;
}
.homepage-section-preorder img {
    margin: -4px 0 0 4px;
    vertical-align: middle;
    width: 155px;
    height: 17px;
}

/* =================== */
/* = Homepage Footer = */
/* =================== */

.homepage-footer-wrapper {
    background-color: #4183C0;
}

.homepage-footer {
    padding: 96px 0;
    position: relative;
    color: white;
    overflow: hidden;
}
.homepage-footer-links a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0 0 4px;
}
.footer-tagline a {
    margin-top: 92px;
    font-size: 10px;
    color: #8DB5E2;
}
.homepage-footer-links a:hover {
    color: #D9E6F1;
}
.homepage-footer-links a:active {
    color: #8DB5E2;
}
.homepage-footer .homepage-nav-logo img {
    width: 156px;
}
.homepage-footer .homepage-footer-address {
    margin-top: 12px;
}
@media (max-width: 940px) {
    .homepage-footer {
        padding: 48px 0;
    }
    .homepage-footer .three.columns {
        width: 48%;
    }
    .homepage-footer .homepage-nav-logo img {
        margin: 0;
    }
    .homepage-footer-email {
        margin-top: 48px;
    }
}
.homepage-share img {
    float: left;
    padding: 18px 12px 12px 0;
    width: 48px;
    height: 48px;
}
.homepage-share a:hover img {
    opacity: .9;
}
.homepage-share a:active img {
    opacity: .85;
}
.homepage-footer input,
.custombox-modal input {
    height: 42px;
    width: 90%;
    border-color: white;
}
.homepage-footer input:focus,
.custombox-modal input:focus {
    border-color: #254055;
}
.homepage-footer .TT-balloon-error,
.custombox-modal .TT-balloon-error {
    top: 18px;
}
.homepage-footer .TT-balloon-error label,
.custombox-modal .TT-balloon-error label {
    width: 75%;
}
@media (max-width: 940px) {
    .custombox-modal .TT-email-submit {
        width: 92px;
    }
    .custombox-modal .TT-email-submit label {
        padding-left: 1%;
        padding-right: 1%;
    }
    .custombox-modal .TT-balloon-error label {
        width: 100%;
    }
}

.footer-app-download {
    border-radius: 8px;
    display: block;
    border: 2px solid #90B6D6;
    padding: 12px 0 6px;
    margin: 12px 0 0;
    position: relative;
    text-decoration: none;
}
.footer-app-download img {
    width: 48px;
    position: absolute;
    top: 50%;
    left: 0px;
    margin: -18px 24px 0;
}
.footer-app-download-title {
    margin: 0 6px 0px 92px;
    color: white;
}
.footer-app-download-subtitle {
    margin: 0 6px 6px 92px;
    color: #D9E6F0;
    font-size: .86em;
}
.footer-app-download:hover {
    border-color: #82b1d9;
}
.footer-app-download:hover img {
    opacity: .9;
}
.footer-app-download:hover .footer-app-download-title {
    color: #D9E6F0;
}
.footer-app-download:hover .footer-app-download-subtitle {
    color: #C1D5E7;
}
.footer-app-download:active {
    border-color: #6CA5E0;
}
@media (max-width: 940px) {
    .footer-app-download-break {
        display: block;
    }
}

/* ================ */
/* = How It Works = */
/* ================ */

.works-hero {
    overflow: hidden;
}

.works-hero-icons {
    height: 48px;
    margin-top: 48px;
    overflow: hidden;
    position: relative;
}

.works-hero-icons-marquee {
    width: 500%;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;

    animation: how-it-works-marquee 95s linear infinite;
}

@keyframes how-it-works-marquee {
    100% {
        transform: translateX(-1280px);
    }
}

.works-hero-icons img.works-hero-icon {
    width: 48px;
    float: left;
    margin: 0 16px 12px 0;
    background-color: #F2F2F2;
}
.works-hero-icons-fade-left {
    position: absolute;
    left: 0;
    top: 0;
    height: 48px;
    z-index: 1;
}
.works-hero-icons-fade-right {
    position: absolute;
    right: -2px;
    top: 0;
    height: 48px;
}
.works-hero-icon:nth-child(10) {
    /*animation: how-it-works-icons 10s ease-in-out infinite;*/
}
@keyframes how-it-works-icons {
    10% {
        transform: translateY(50px);
    }
    40% {
        transform: translateY(50px);
    }
}

.narrow-break {
    display: none;
}
@media (max-width: 940px) {
    .wide-break {
        display: none;
    }
    .narrow-break {
        display: block;
    }
}

/* ============== */
/* = App Detail = */
/* ============== */

.app-detail .homepage-section-1 {
    text-align: center;
}
.app-detail-hero {
    width: 128px;
    margin: 0 0 24px;
}
.apps-detail-list {
    overflow: hidden;
}
.apps-detail-list .feature {
    min-height: 200px;
    text-align: center;
    border: 1px solid transparent;
    background-color: inherit;
    width: 19%;
    display: inline-block;
    vertical-align: top;
    margin: 0;

    box-sizing: border-box;
}
.apps-detail-list .feature.active {
    border: 1px solid #C0C0C0;
    background-color: white;
}
.app-detail-feature {
    text-align: center;
    overflow: hidden;
    clear: both;
    margin: 0 0 48px 24px;
}
.app-detail-feature.right {
    margin: 0 24px 48px 0;
}
.app-detail-feature:last-child {
    margin-bottom: 0;
}
.app-detail-feature img {
    float: right;
    width: 100%;
    margin: 0 0 0 48px;
    max-width: 500px;
}
.app-detail-feature.right img {
    float: left;
    margin: 0 48px 0 0;
}
.app-detail-feature h3 {
    margin-top: 48px;
}

@media (max-width: 940px) {
    .apps-detail-list .feature {
        width: 49%
    }
    .app-detail-feature,
    .app-detail-feature.right {
        margin-left: 0;
        margin-right: 0;
    }
    .app-detail-feature img,
    .app-detail-feature.right img {
        margin: 0 0 36px;
    }
}

/* ================ */
/* = Download App = */
/* ================ */

.download-header-image {
    width: 600px;
    margin: 48px auto 0;
    display: block;
    max-width: 100%;
}
.download-screenshot {
    margin: 48px 0;
    max-width: 100%;
}
.download-mac {
    width: 800px;
}
.download-ios {
    width: 650px;
}
.download-link {
    display: inline-block;
    margin: 0 auto;
    padding: 12px 24px;
    font-size: 21px;
    border-radius: 9px;
    background-color: #356EB2;
    color: white;
    text-decoration: none;
}
.download-link:hover {
    background-color: #3577C7;
    color: white;
}
.download-link:active {
    background-color: #224A77;
    color: white;
}
